630 Commits

Author SHA1 Message Date
Jonatan Heyman
c397511bda Bump version to 2.1.4-beta 2025-04-07 13:15:09 +02:00
Jonatan Heyman
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
Jonatan Heyman
15df9e5e5c Fix issue when pressing Ctrl/Cmd+A in a text input inside a modal dialog 2025-04-07 13:12:01 +02:00
Jonatan Heyman
fa83c50f44 Add tests that checks positioning of todo checkboxes depending on font type 2025-04-07 11:50:41 +02:00
Jonatan Heyman
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
Jonatan Heyman
50f3cae372 Bump version to 2.1.3 v2.1.3 2025-03-03 16:56:51 +01:00
Jonatan Heyman
ff68fee5ba Update changelog 2025-03-03 16:56:17 +01:00
Jonatan Heyman
487c274e23 Fix issue with highlighting matched string in the buffer selector
broke in f1d74bb14f9ce38cb7627a3a8778f1f4009d0c18
2025-03-03 16:56:17 +01:00
Jonatan Heyman
ea16ff0c73 Update changelog 2025-03-03 13:54:22 +01:00
Jonatan Heyman
d3e0e6b3a2 Upgrade Github action: upload-artifact to v4 (v3 is deprecated) v2.1.2 2025-03-03 13:16:16 +01:00
Jonatan Heyman
7aff5d75ef Bump version to 2.1.2 2025-03-03 13:11:15 +01:00
Jonatan Heyman
f1d74bb14f Fix escaping issue in buffer selector
Buffer names and paths are now properly escaped.
2025-03-03 13:06:46 +01:00
Jonatan Heyman
a4b187ed49 Bump version to 2.1.1 v2.1.1 2025-01-15 14:16:23 +01:00
Jonatan Heyman
d9056b1635 Fix "note" -> "buffer" terminology 2025-01-15 14:15:33 +01:00
Jonatan Heyman
fd1f86eb8a Update changelog 2025-01-15 14:15:33 +01:00
Jonatan Heyman
ee06b01b60 Fix broken sub directories on Windows
Don't use hard coded path separator 🤦
2025-01-15 14:15:33 +01:00
Jonatan Heyman
da523d70e7 Also trigger website build when a release is published 2025-01-10 14:20:36 +01:00
Jonatan Heyman
3963e8fb30 Add github action workflow that triggers build of heynote.com 2025-01-10 14:16:02 +01:00
Jonatan Heyman
346805bb81 Update Changelog 2025-01-10 10:40:13 +01:00
Jonatan Heyman
ef078b4627 Bump version to 2.1.3 v2.1.0 2025-01-10 10:20:02 +01:00
Jonatan Heyman
b31310bc8b Update docs and readme 2025-01-09 21:51:26 +01:00
Jonatan Heyman
10952883fa Bump version to 2.1.0-beta.3 v2.1.0-beta.3 2025-01-09 18:36:52 +01:00
Jonatan Heyman
c82ec2b3a9 Upgrade Electron to version 33.3.1 2025-01-09 18:31:50 +01:00
Jonatan Heyman
449b0a569f Use block aware "Select All" command in context menu and app menu 2025-01-09 17:19:59 +01:00
Jonatan Heyman
3107cb5368 Add right click context menu and improve application menu
- Add right-click context menu with undo/redo/cut/copy/paste/select all options, as well as Delete block and Move block to another buffer
- Add Delete Block and Move Block to another buffer in the application menu
- Change so that we use our custom "undo" event instead of relying on the default undo event, since there were cases when the default undo didn't trigger the CodeMirror undo reliably
2025-01-09 17:19:59 +01:00
Jonatan Heyman
0cec80be7d Bump version to 2.1.0-beta.2 v2.1.0-beta.2 2025-01-09 14:28:17 +01:00
Jonatan Heyman
b23409157a Add Changelog entry 2025-01-09 14:16:20 +01:00
Jonatan Heyman
52a6c444eb Position the cursor at the beginning of the next block when a block is deleted
This also changes the behavior when blocks are moved.
Add tests for the deleteBlock command.
2025-01-09 14:16:20 +01:00
Jonatan Heyman
03ec7a4867 Fix issue causing vite build not to work v2.1.0-beta 2025-01-07 23:37:36 +01:00
Jonatan Heyman
cf51779e37 Bump version to 2.1.0-beta 2025-01-07 23:28:02 +01:00
Jonatan Heyman
6187d6d468 Add menu item to open "Move block" dialog 2025-01-07 23:17:23 +01:00
Jonatan Heyman
c9c092fc43 Add feature for moving the current block to another buffer
- The Ctrl/Cmd-S keyboard shortcut now pops up a buffer search dialog that can be used to select a buffer that the block should be moved to. 
- Update `BufferSelector` UI and logic to support moving blocks
2025-01-07 23:17:23 +01:00
Jonatan Heyman
158ac08418 Move block parsing functions into their own JS module so that they can be imported in node land when running Playwright tests 2025-01-07 19:09:16 +01:00
Jonatan Heyman
f356e3b249 Refactor editior instance creation and settings management
- Refactor settings management into separate pinia store
- Move creation of editor instances into editorCacheStore
- Read settings directly from the settingsStore instead of passing it from App to Editor to the editor instance
2025-01-07 19:09:16 +01:00
Jonatan Heyman
574dcfdc24
Listen for REDO_EVENT from main process and issue redo command when received (#292 #291) 2025-01-06 16:29:12 +01:00
Jonatan Heyman
ff980d240e Fix broken import 2025-01-06 16:20:00 +01:00
Jonatan Heyman
9bf3a5dacc * Add window.heynote.mainProcess.on() and off() which can be used in browser land to communicate with the main process. Use these methods to remove intermediate onOpenSettings() and onSettingsChange() methods from window.heynote objects.
* Convert some pesky TypeScript to JavaScript
2025-01-06 16:20:00 +01:00
Jonatan Heyman
64740192bf Move constants from electron/constants.ts into src/common/constants.js 2025-01-06 16:20:00 +01:00
Jonatan Heyman
3fbb3e324a Fix VSCode intellisense for imports using '@' alias 2025-01-06 16:20:00 +01:00
Jonatan Heyman
45b98a2c87 Fix broken syntax in 4139bc9c9c414dab409965cd1cc1724ca6d8536f 2025-01-06 15:17:12 +01:00
Jonatan Heyman
4139bc9c9c Remove unused quit function from preload script for cleanup 2025-01-06 15:06:04 +01:00
Jonatan Heyman
1bfcf5e2d2 Make sure __TESTS__ is defined when running tests 2025-01-06 15:02:11 +01:00
Jonatan Heyman
2b100398d7 Fix so that '@' alias can be used for imports also in the main process 2025-01-06 15:01:18 +01:00
Jonatan Heyman
e3765e578f Update Changelog 2025-01-04 15:12:50 +01:00
Jonatan Heyman
92243dad34 Highlight code in PHP blocks also when <?php tags are missing 2025-01-04 15:12:50 +01:00
Kc
fb2a01b4f1 Add brew instructions to docs 2025-01-04 14:22:44 +01:00
Jonatan Heyman
ad7eef1354 Update Changelog 2025-01-04 14:05:48 +01:00
Jesse Cooke
30d9817e44 Elixir language support 2025-01-04 14:01:55 +01:00
Jonatan Heyman
82494d818b fix(macos): show window on dock click when using menu bar mode
When "Show in menu bar" is enabled and the window is closed, clicking
the app icon in the dock now properly shows the window again instead
of only focusing it.
2025-01-04 12:47:00 +01:00
Yasien Dwieb
a4ca3198a9 add support for scala 2025-01-04 00:39:34 +01:00