Commit Graph

14 Commits

Author SHA1 Message Date
Jonatan Heyman
079fa666d6
Implement web version of Heynote (#63)
* Move windows.darkMode -> window.heynote.themeMode

* Only add UpdateStatusItem if window.heynote.autoUpdate is set

* Update Vite

* Implement web version of Heynote.

Add a child vite project in ./webapp/ that is Heynote running within a browser. Imports almost all code from ../src/ and only adds a thin bridge that corresponds to the API between the Electron main process and the app code.

* Remove commented out tag

* Specify publicDir in vite config, instead of using a symlink

* Add webapp_dev npm command to package.json

* Add npm run command: webapp:build

* Add resolve alias '@' that points to project root.
Move assets file from public to assets in order to let Vite/Rollup handle bundling.
2023-12-25 14:18:44 +01:00
Jonatan Heyman
a4e9ce6893 Add currency conversion support to Math blocks 2023-03-20 11:09:56 +01:00
Jonatan Heyman
1df255032c Check for updates once every 24 hours.
Bump version.
2023-03-06 10:24:23 +01:00
Jonatan Heyman
7ce91016d6 Add auto update support 2023-03-06 01:30:37 +01:00
Jonatan Heyman
5f98323586 Add setting for turning on/off line number gutters and fold gutters 2023-01-27 17:18:31 +01:00
Jonatan Heyman
97d4f6294a Add ability to change Emacs meta key on Mac 2023-01-25 10:11:51 +01:00
Jonatan Heyman
659f853102 Tab size 2023-01-25 10:10:11 +01:00
Jonatan Heyman
924fd4b226 Replace block separators with "\n\n" when copying text.
Add Settings dialog.
Started implementing Emacs-like keymap.
2023-01-20 15:33:26 +01:00
Jonatan Heyman
14152fbede Implement persistent buffer 2023-01-19 00:20:50 +01:00
Jonatan Heyman
4a56b7d331 Remove loader animation. Fix correct background color according to theme while loading. Set correct color on BrowserWindow to prevent white flash. 2023-01-18 21:36:31 +01:00
Jonatan Heyman
fc63ad1651 Add isMac, isWindows, isLinux to a global window.platform object in the renderer 2023-01-16 15:32:45 +01:00
Jonatan Heyman
d4078d50d4 Move theme/mode related preload code into it's own module 2023-01-16 15:31:46 +01:00
Jonatan Heyman
2f842612fb Read dark/light mode from system, automatically listen for changes, and add button for toggling the mode to the status bar 2023-01-15 11:59:17 +01:00
Jonatan Heyman
9fb543fed3 Move contents of heynote-electron subdirectory into git repo root 2023-01-13 13:21:34 +01:00