fix: batch note formatting to prevent typing flashes

This commit is contained in:
Valdemar Lorenzen
2026-10-20 12:41:55 +02:00
parent f6d9d04b74
commit 3dfd9f58a4
5 changed files with 63 additions and 10 deletions
+6 -1
View File
@@ -7,6 +7,11 @@
- [x] conjure notes:
- [x] add action to delete a note (currently selected note)
- [x] make images have rounded corners
- [ ] bug: text flashes when inserting characters, which is visually disturbing.
- [x] bug: text flashes when inserting characters, which is visually disturbing.
- [ ] bug: deleting at line start on a heading removes the leading `#` symbols and changes formatting, and writing e.g. `#<space>` before the heading on that line doesn't change the heading level accordingly. we should instead:
- modify heading level based on leading `#.<space>` (interpret as regex)
- when deleting (backspace) at line start, interpret as deleting newline and just move heading up.
- maybe this warrants compressing elements into a semantic representation such that the underlying text that's being edited isn't necessarily one-to-one normal markdown, but instead something that's easier and less complex to edit and navigate that also fits the visual presentation more naturally.
- this should still be converted to normal markdown when saved to the persisted files and the content of those files should then also be converted to the representation discussed when editing.
- [ ] the guidelines for centering the application when dragged are blurry on some external monitors.
- track down the cause and fix it.