Commit Graph

390 Commits

Author SHA1 Message Date
Jonatan Heyman
800b4506ae Create artifact of all files in release/ for windows build (so that we can inspect it and write a more specific glob)
#build
2023-01-15 13:09:42 +01:00
Jonatan Heyman
d2e1f9d4a0 Set icon for windows build
#build
2023-01-15 13:01:41 +01:00
Jonatan Heyman
1a0d73adeb Set allowJs:true in tsconfig.json
#build
2023-01-15 12:55:12 +01:00
Jonatan Heyman
96bd5f1f95 Change menu.js file to typescript file
#build
2023-01-15 12:49:43 +01:00
Jonatan Heyman
56c5c6b23f Try to make a windows #build 2023-01-15 12:46:44 +01:00
Jonatan Heyman
35260cf066 Manually create app menu (without the Close window menu item) 2023-01-15 12:45:06 +01:00
Jonatan Heyman
d17bade1d6 Pixel push dark/light mode icons 2023-01-15 12:28:34 +01:00
Jonatan Heyman
249a6bbe11 Use CSS media query for dark mode specific CSS 2023-01-15 12:06:17 +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
fbac07d338 Set tab size to 4 2023-01-15 10:53:09 +01:00
Jonatan Heyman
7595d3fc86 Add ability to toggle dark/light theme 2023-01-15 02:37:12 +01:00
Jonatan Heyman
fc59c84764 Tweaked icon colors 2023-01-15 01:25:33 +01:00
Jonatan Heyman
c80d5682d1 Tweak background color 2023-01-15 01:25:17 +01:00
Jonatan Heyman
672052dd7b Minor CSS tweaks 2023-01-14 23:40:28 +01:00
Jonatan Heyman
2b3a7817c8 Tweak colors of dark theme 2023-01-14 23:33:07 +01:00
Jonatan Heyman
856a9b16fd Set theme as a data property in App component 2023-01-14 23:32:53 +01:00
Jonatan Heyman
db9ed4e1db Move CSS related to blocks from styles.css into theme(s) 2023-01-14 20:04:30 +01:00
Jonatan Heyman
98f681bdb9 Reformat with tabsize 4 2023-01-14 19:51:40 +01:00
Jonatan Heyman
6dee4f81f2 Integrate Editor into Vue app
Add status bar that shows the current line number, column and block language
2023-01-14 19:51:24 +01:00
Jonatan Heyman
51e89ad55c Set padding-top on .cm-content class instead of using .block-start element for the padding. This fixes an issue with being able to scroll the editor when there is only a single line in the document.
Use 1px border for line between blocks. This way we can make sure blocks always overlap slightly, and we don't have to care about fractional pixel rounding errors.
2023-01-14 15:04:53 +01:00
Jonatan Heyman
52f1ac71da Optimize the Lezer external tokenizer for block content 2023-01-14 13:08:24 +01:00
Jonatan Heyman
ab1a80199e Add commented out code that makes the build fail, but still manages to produce a x86 build (can be used for testing purposes) 2023-01-13 15:31:22 +01:00
Jonatan Heyman
f20c09ce19 Handle the fact that the syntax tree is being parsed in a separate thread, which can lead to broken UI on slow environments 2023-01-13 15:27:26 +01:00
Jonatan Heyman
8867937567 Use ensureSyntaxTree to not get visually broken blocks when syntax tree parsing is slow.
Update @codemirror/language to latest version.

Force a #build in order to get a Mac x86 verion built which is slower on rosetta to hopefully check that the problem is fixed.
2023-01-13 14:39:35 +01:00
Jonatan Heyman
95c8f5ef2b Lower artifact retention days to 1 2023-01-13 14:16:50 +01:00
Jonatan Heyman
d818f75250 Upload built mac artifact
#build
2023-01-13 14:15:13 +01:00
Jonatan Heyman
1dcf55d676 Testing if #build keyword works 2023-01-13 13:56:30 +01:00
Jonatan Heyman
60af13cd11 Only run github release action if latest commit message contains "#_build" (without the "_") 2023-01-13 13:55:10 +01:00
Jonatan Heyman
ac9cb9ac92 Only run build action on Mac 2023-01-13 13:35:55 +01:00
Jonatan Heyman
bfdaf0618c Disable ubuntu build 2023-01-13 13:32:34 +01:00
Jonatan Heyman
af5287cc13 Add github action for automatically building the app 2023-01-13 13:29:44 +01:00
Jonatan Heyman
9fb543fed3 Move contents of heynote-electron subdirectory into git repo root 2023-01-13 13:21:34 +01:00
Jonatan Heyman
f759856c45 Set version to 1.0.0-dev 2023-01-13 13:18:42 +01:00
Jonatan Heyman
c2036e7e6b Allow running both an instance of a Heynote production build, and a dev instance 2023-01-13 01:57:50 +01:00
Jonatan Heyman
3d20ac30be Add @electron/asar to dev dependencies 2023-01-13 01:47:33 +01:00
Jonatan Heyman
f70098fde9 Remove built files 2023-01-13 01:45:22 +01:00
Jonatan Heyman
1852ea7a03 Fix Electron build stuff.
Add icon.
Upgrade som packages.
2023-01-13 01:45:14 +01:00
Jonatan Heyman
77d457bdee Fix so that language detection web worker works both in development and release build 2023-01-13 01:43:20 +01:00
Jonatan Heyman
6ff9d2ca4a Add a welcome message to the fixture text 2023-01-13 01:42:23 +01:00
Jonatan Heyman
c7a00dd8da Hide loading screen when app is loaded 2023-01-13 01:42:02 +01:00
Jonatan Heyman
d1b61ce899 Don't auto open developer tools 2023-01-13 01:40:35 +01:00
Jonatan Heyman
a8bbc8a9a0 Remove built files 2023-01-13 01:39:59 +01:00
Jonatan Heyman
2c19a749c8 Remove /public/ from URL path 2023-01-12 19:09:50 +01:00
Jonatan Heyman
7a39cb44a4 Add npm script task for building the heynote lezer grammar 2023-01-12 18:58:06 +01:00
Jonatan Heyman
fc8c4a55a0 Move editor into Electron shell 2023-01-12 18:55:55 +01:00
Jonatan Heyman
ce531aa854 Fix wrong height of last block background layer 2023-01-12 18:01:54 +01:00
Jonatan Heyman
e880387128 Add some padding before the first line 2023-01-12 18:01:21 +01:00
Jonatan Heyman
8e4a486681 Change default theme to light 2023-01-12 17:32:11 +01:00
Jonatan Heyman
8649222fa8 Add relevance threshold to language auto detection, and some debug logging 2023-01-12 17:31:47 +01:00
Jonatan Heyman
185dc25078 Design pixel push 2023-01-12 17:05:22 +01:00