Panagiotis Papadopoulos
67c752c11b
ci: adjust build-electron action to use the newly introduced outDir "./dist" for electron-forge
2025-03-13 08:21:12 +01:00
Elian Doran
adf5bee98f
feat(admonitions): apply basic styling & configure for paragraphs
2025-03-13 09:15:11 +02:00
Panagiotis Papadopoulos
cc0931b402
build(electron-forge): set outDir to ./dist, to have the same behaviour as the Server builds
...
since we run electron-forge inside the ./build folder, we need to go up a directory (using ../dist), to have it output to ./dist
2025-03-13 08:09:53 +01:00
Panagiotis Papadopoulos
b48fbbe583
build(copy-dist): copy over desktop.ejs for electron-forge as well
...
it is required for Flatpak/Deb/RPM Linux packages
2025-03-13 07:59:12 +01:00
Panagiotis Papadopoulos
1877d26296
chore(scripts): electron-forge:prepare -> copy node_modules folder as is
...
electron-forge does not like, if we get rid of devDeps ourselves already it seems.
It *wants* to do it itself, otherwise build fails…
It does seem to correctly strip all the devDeps though, at least there's that.
2025-03-13 07:59:12 +01:00
Panagiotis Papadopoulos
4ce2c10d72
build(copy-dist): copy over the start scripts for now
2025-03-13 07:59:12 +01:00
Panagiotis Papadopoulos
11772860b6
build(electron-forge): stop copying unused .anonymize-database.sql as ressource
2025-03-13 07:59:12 +01:00
Panagiotis Papadopoulos
6b9d8f0d67
build(electron-forge): execute electron-forge commands in our "build" output context
...
since we build TS and webpack ourselves and are not using any electron-forge plugins (at least at the moment) -> we should use the "build" folder as build context for electron-forge:
in comparison to running electron-forge in the root folder of the project, this avoids electron-forge from packing the source code multiple times (e.g. once as uncompiled TS, then as compiled JS, and then (partially) a third time as webpack bundled JS files), same as some of the assets.
to achieve this, we run our usual TS/Webpack build process, but then install the npm dependencies *inside* the build folder (as otherwise electron-forge would choke on the missing node_modules it and abort building).
In theory we could avoid cd-ing into the build folder, by providing the "dir" as argument to electron-forge's CLI -- BUT that wouldn't play well with our CI, where we are passing --arch and --platform options to it, which need to come *before* the dir argument.
since we now cd into the "build" folder, we also need to adjust the path in package.json "main" again
2025-03-13 07:59:12 +01:00
Adorian Doran
10de4e798b
client/options: fix failing test
2025-03-13 06:10:09 +02:00
Adorian Doran
eb630c80d6
client/options: format code
2025-03-13 05:50:29 +02:00
Adorian Doran
5cab7eb403
client/options: reorder sections
2025-03-13 05:46:34 +02:00
Adorian Doran
04c6813b0a
client/options: relocate the "Localization" section to the "Language & Region" page
2025-03-13 05:35:43 +02:00
Adorian Doran
1369a44d9b
style/options/ETAPI: add an icon to the create token button
2025-03-13 05:25:34 +02:00
Adorian Doran
88aa9a4e79
client/options/code notes: create the "Editor" section, reorganize
2025-03-13 05:20:58 +02:00
Adorian Doran
0e748fbce0
style/options/ETAPI: update the icon of the edit token button
2025-03-13 04:30:42 +02:00
Adorian Doran
6c6d20a830
style: fix note title input overlapping with the zen mode exit button
2025-03-13 04:19:42 +02:00
Adorian Doran
69f95068f1
style(next)/shell/right pane: minor restyle
2025-03-13 04:04:08 +02:00
Adorian Doran
2066f821cb
style(next)/ribbon/image properties: improve the layout
2025-03-13 03:24:04 +02:00
perf3ct
4796c24898
Merge branch 'develop' into ai-llm-integration
2025-03-12 22:49:29 +00:00
perf3ct
6bb4bbb1af
specially handle Buffer objects into Base64 and back for Becca
2025-03-12 22:43:58 +00:00
perf3ct
67766e3e9f
create note_embedding object for becca
2025-03-12 22:37:49 +00:00
perf3ct
8d7e5c8d43
fix the maths for stats
2025-03-12 21:18:59 +00:00
perf3ct
d4cfc65b27
yes, now the failed embeddings section at least looks passable
2025-03-12 21:15:57 +00:00
perf3ct
ee7b2283de
correctly style the failed embeddings section
2025-03-12 21:13:49 +00:00
perf3ct
c914aaa4a8
do a better job of handling failed note embeddings
2025-03-12 21:04:06 +00:00
Adorian Doran
25a787f9dc
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop
2025-03-12 22:30:51 +02:00
Adorian Doran
a2b73feb25
style/image properties: add icons to buttons
2025-03-12 22:30:49 +02:00
Elian Doran
062955aa81
feat(editor): integrate styles support
2025-03-12 22:08:23 +02:00
Elian Doran
b8cbd79ae1
refactor(client): rename ckeditor config file
2025-03-12 22:08:23 +02:00
Adorian Doran
fc4712240c
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop
2025-03-12 21:42:43 +02:00
Adorian Doran
18882d0b7e
style(next)/toasts: change the dark mode colors
2025-03-12 21:42:39 +02:00
Jon Fuller
39d265a9fa
Merge branch 'develop' into ai-llm-integration
2025-03-12 11:58:30 -07:00
perf3ct
a930b79cf5
synchronize embeddings
2025-03-12 18:22:05 +00:00
perf3ct
b6df3a721c
allow user to select *where* they want to generate embeddings
2025-03-12 18:02:51 +00:00
Elian Doran
d469670a46
feat(docs): document formatting keyboard shortcuts + fix broken image
2025-03-12 19:03:33 +02:00
perf3ct
3fee82eaa5
rename files with the same name
2025-03-12 16:51:09 +00:00
perf3ct
73445d97e7
move chunking to its own folder
2025-03-12 16:33:46 +00:00
Elian Doran
e0cebf1c00
style(next): apply kbd style to content
2025-03-12 18:08:39 +02:00
Elian Doran
383408e884
style(editor): add some separators to formatting toolbar
2025-03-12 18:06:34 +02:00
Elian Doran
87d28c8c2f
style(editor): group some formatting options for floating toolbar
2025-03-12 18:04:20 +02:00
Elian Doran
bec7a526ad
feat(editor): add support for marking keyboard shortcuts
2025-03-12 17:58:12 +02:00
Adorian Doran
bb8325cf8d
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop
2025-03-12 15:08:26 +02:00
Adorian Doran
da9a029f8f
style(next)/note list: remove a no longer needed border
2025-03-12 15:08:22 +02:00
Elian Doran
c02b5468a6
feat(docs): clean up RTL and reorder
2025-03-12 14:47:42 +02:00
Elian Doran
5dd5e8da91
feat(docs): document adjusting image alignment
2025-03-12 13:36:30 +02:00
Adorian Doran
f991cee3ac
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop
2025-03-12 13:31:07 +02:00
Adorian Doran
1426e43fb8
style(next): move color variables to color scheme-related stylesheets
2025-03-12 13:31:04 +02:00
Elian Doran
61899aa32d
chore(edit-docs): ignore document.db
2025-03-12 13:14:09 +02:00
Elian Doran
e90bbe31ba
feat(docs): document the launch bar
2025-03-12 13:14:09 +02:00
Elian Doran
034998fa97
feat(docs): document vertical vs horizontal layout
2025-03-12 13:14:08 +02:00