Jonatan Heyman
03ec7a4867
Fix issue causing vite build not to work
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 4139bc9c9c
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
Jonatan Heyman
1701768d3d
Update (commented out) debug build step
2025-01-04 00:23:31 +01:00
Jonatan Heyman
2620dd101d
Bump version to 2.0.0
2025-01-03 17:13:11 +01:00
Jonatan Heyman
e26a777485
Add info about language selector search improvement to Changelog
2025-01-03 16:13:08 +01:00
Jonatan Heyman
c87ea672b0
Make language selector also search through the languages' filename suffixes (using the guesslang attribute)
...
This makes the "cpp" string match C++, and "cs" match C#.
2025-01-03 15:59:44 +01:00
Jonatan Heyman
ff88091e28
Bump version to 2.0.0-beta
2024-12-12 13:45:12 +01:00
Jonatan Heyman
45c5379256
Make a backup copy of buffer.txt before migrating to new note library
2024-12-12 13:41:55 +01:00
Jason
a7471fcb3b
Fix icon for nix systems
2024-12-10 01:29:44 +01:00
Jonatan Heyman
5865181d98
Change terminology Note -> Buffer
2024-12-09 14:08:29 +01:00
Jonatan Heyman
612df6c851
Add block with link to documentation to inital scratch buffer content
2024-12-09 14:04:07 +01:00
Jonatan Heyman
1f24d1a4e3
Add help info for C-N key binding
2024-12-09 14:03:29 +01:00
Jonatan Heyman
882919710e
Update Changelog's 2.0 section
2024-12-09 13:51:44 +01:00
Jonatan Heyman
3a90d2d12f
Increase wait time in test
...
Should hopefully make it work on Github actions
2024-12-09 13:38:14 +01:00
Jonatan Heyman
96ae76897f
Update Playwright to latest version
...
Should fix broken tests in Github actions.
Add workaround for platform detection when running Playwright tests on Mac which no longer works in latest version.
2024-12-09 13:11:10 +01:00
Jonatan Heyman
146e33ef3f
Set window title to name of current buffer
...
#build
2024-12-09 12:37:05 +01:00
Jonatan Heyman
b7a1b185a8
Change terminology Note -> Buffer
2024-12-09 12:37:05 +01:00
Jonatan Heyman
530a7efbf5
Pixel push
2024-12-09 12:37:05 +01:00
Jonatan Heyman
0deefa01d9
Fix so that clicking on "Create new" item in notes selector works
...
#build
2024-12-09 12:37:05 +01:00
Jonatan Heyman
3466e0d4fc
Bump version to 2.0.0-alpha.2
...
#build
2024-12-09 12:37:05 +01:00
Jonatan Heyman
fe6a410e95
Add "Create new..." item to the note selector dialog
2024-12-09 12:37:05 +01:00
Jonatan Heyman
9c057b120a
Add support for creating new empty note buffers
2024-12-09 12:37:05 +01:00
Jonatan Heyman
d54a3ba633
Add tests for creating new Note buffers
2024-12-09 12:37:05 +01:00
Jonatan Heyman
fb58bb6f36
Fix issue of Enter keystroke within New Note dialog being picked up by Editor (in web app)
2024-12-09 12:37:05 +01:00
Jonatan Heyman
42c71dad7b
Fix UI bug in web app
...
For some reason, the color of action buttons in NoteSelector was black in dark mode
2024-12-09 12:37:05 +01:00
Jonatan Heyman
45c2df5c28
Add __TESTS__ variable to web app when the tests are running
2024-12-09 12:37:05 +01:00
Jonatan Heyman
b7ffd5a2ce
Web app: Migrate existing localStorage single buffer to buffer library
2024-12-09 12:37:05 +01:00
Jonatan Heyman
3e84850147
Add code comment
2024-12-09 12:37:05 +01:00
Jonatan Heyman
2c31f0170a
Add support for mutiple notes to web app
2024-12-09 12:37:05 +01:00
Jonatan Heyman
74e4c6347b
Fix issue where Escape key wouldn't work in Note selector when there was text in the input causing no Notes to match
2024-12-09 12:37:05 +01:00