08e0e9f7c3
Set inert on editor when Settings dialog is shown
2025-04-19 13:37:23 +02:00
1ce6e61396
Upgrade vite and @vitejs/plugin-vue
2025-04-19 13:37:23 +02:00
a8dcb94347
Move vuedraggable to dev dependencies
2025-04-19 13:37:23 +02:00
88fc7da486
Add CSS variable --highlight-color
2025-04-19 13:37:23 +02:00
bffab4792a
Change description of markdown command: insertNewlineContinueMarkup
2025-04-19 13:37:23 +02:00
4a9c835a99
Increase width of buffer selector/command palette.
...
Decrease width of language selector.
2025-04-19 13:37:23 +02:00
a080b627e0
Add descriptions and categories to commands
...
Use the descriptions and categories in the Command palette and Settings dialog
2025-04-19 13:37:23 +02:00
bcaa2d3006
Increase default window size slightly, and increase size of Settings dialog
2025-04-19 13:37:23 +02:00
28fb986250
Rename Emacs mark mode -> Selection mark mode
2025-04-19 13:37:23 +02:00
c6cae17522
Rename Emacs mark mode -> Selection mark mode
2025-04-19 13:37:23 +02:00
4241a9d6ce
Rename Emacs mark mode -> Selection mark mode
2025-04-19 13:37:23 +02:00
166855c6f5
Fix tests and webapp
2025-04-19 13:37:23 +02:00
01aba1fb9f
Add command that does nothing except preventing further commands to execute for a specific keybinding (can be used to remove a default key binding)
2025-04-19 13:37:23 +02:00
89f883e5e9
Make emacs mark mode commands return true to stop other key bindings from executing
2025-04-19 13:37:23 +02:00
7a2740ef19
* Change so that keybindings are stored as lists, so that a key can be bound to ultiple commands (and commands can return false, to let another command execute).
...
* Implement ability to reorder user key bindings in settings.
2025-04-19 13:37:23 +02:00
edeb3aee4b
Fix copy
...
Change file -> files
2025-04-19 13:37:23 +02:00
15727551f3
Bump version. Add Changelog entries.
...
#build
2025-04-19 13:37:23 +02:00
addf310ae1
Add "command palette" functionality
2025-04-19 13:37:23 +02:00
85b91f0228
Run Playwright tests in parallel on CI
2025-04-19 13:37:23 +02:00
37e0272f7a
Update @codemirror/view and @codemirror/state to latest versions
2025-04-19 13:37:23 +02:00
1f3a197e93
Upgrade playwright to latest version
2025-04-19 13:37:23 +02:00
cf63ce920d
Make sure editor element is visible at the start of tests
2025-04-19 13:37:23 +02:00
ed3a35af2c
Remove unnecessary syntax
2025-04-19 13:37:23 +02:00
2859250def
Fix binding of Enter key
2025-04-19 13:37:23 +02:00
829806d265
Fix flaky tests
2025-04-19 13:37:23 +02:00
d7ceab52f9
Add wait time to make test less flaky
2025-04-19 13:37:23 +02:00
94f5534611
Revamp key bindings
...
This is a work in progress revamp of the key binding system. It implements a system, built on top of CodeMirror's key binding system, for defining key bindings.
The system uses a dumb "KeyShortcut" -> "Command" mapping with a set of default keys (which will be different if Heynote's Emacs mode is used) that can be overridden by user key bindings.
The key bindings are *displayed* in the Settings, and it's possible to set user defined key bindings in Heynote's config file, but it's not yet possible to define custom key bindings in the UI.
Previously we Heynote on a bunch of default key bindings from CodeMirror (some of which was not "block aware"). This is no longer the case, and because of this, it's quite likely that there are key bindings that was previously working that is now missing (if so, these can easily be added later).
2025-04-19 13:37:23 +02:00
9be328cbe4
Remove old unused code
2025-04-19 13:37:23 +02:00
ffec1c498d
Return true from delete block commands (to prevent any other commands to run)
2025-04-19 13:37:23 +02:00
ae4d86b9f3
Improve the way we handle SelectAll events (from the Menu shortcuts) when a text input (and not the editor) has focus
2025-04-19 13:37:23 +02:00
813522cc0e
Set tab-index="-1" for todo checkboxes
...
Otherwise they will be focusable when opening the search panel and pressing tab to cycle between the fields
2025-04-19 13:37:23 +02:00
0de4710cf3
Add "block aware" transposeChars command
2025-04-19 13:37:23 +02:00
deedf24394
Fix issue where deleteLine command could fuck up the Heynote block syntax
2025-04-19 13:37:23 +02:00
863a721bef
Update link texts
...
Signed-off-by: Jonatan Heyman <jonatan@heyman.info >
2025-04-08 14:05:50 +02:00
76df74fe67
Bump version to 2.1.4
v2.1.4
2025-04-08 13:35:06 +02:00
4e5a1139d9
Add transactionsHasAnnotation utility function
v2.1.4-beta
2025-04-07 13:34:03 +02:00
c397511bda
Bump version to 2.1.4-beta
2025-04-07 13:15:09 +02:00
3f7671503d
Don't perform editor Select All command if the editor isn't focused (e.g. the Settings modal is open).
...
Fix Editor/Editor Cache teardown/cleanup.
2025-04-07 13:12:01 +02:00
15df9e5e5c
Fix issue when pressing Ctrl/Cmd+A
in a text input inside a modal dialog
2025-04-07 13:12:01 +02:00
fa83c50f44
Add tests that checks positioning of todo checkboxes depending on font type
2025-04-07 11:50:41 +02:00
85f59661e9
Fix issue with positioning and size of todo list checkboxes in Markdown blocks
...
Use two different ways of positioning the checkbox depending on if the font is monospaced or not
2025-04-07 11:50:41 +02:00
50f3cae372
Bump version to 2.1.3
v2.1.3
2025-03-03 16:56:51 +01:00
ff68fee5ba
Update changelog
2025-03-03 16:56:17 +01:00
487c274e23
Fix issue with highlighting matched string in the buffer selector
...
broke in f1d74bb14f
2025-03-03 16:56:17 +01:00
ea16ff0c73
Update changelog
2025-03-03 13:54:22 +01:00
d3e0e6b3a2
Upgrade Github action: upload-artifact to v4 (v3 is deprecated)
v2.1.2
2025-03-03 13:16:16 +01:00
7aff5d75ef
Bump version to 2.1.2
2025-03-03 13:11:15 +01:00
f1d74bb14f
Fix escaping issue in buffer selector
...
Buffer names and paths are now properly escaped.
2025-03-03 13:06:46 +01:00
a4b187ed49
Bump version to 2.1.1
v2.1.1
2025-01-15 14:16:23 +01:00
d9056b1635
Fix "note" -> "buffer" terminology
2025-01-15 14:15:33 +01:00