Commit Graph

7990 Commits

Author SHA1 Message Date
Adorian Doran
ac89c2cb65 style(next): icon buttons: tweak the alignment of the "Create new split" button relative to the note's menu button 2025-01-30 23:08:09 +02:00
Adorian Doran
9cfd01200a style(next): icon buttons: add a style for the visible focus state 2025-01-30 22:50:35 +02:00
Adorian Doran
f2f0bf3e10 style(next): icon buttons: keep the button highlighted while the dropdown is open 2025-01-30 22:47:24 +02:00
Adorian Doran
3311f4f01c style(next): restyle icon buttons 2025-01-30 22:44:11 +02:00
Adorian Doran
b170c234ce style(next): refactor 2025-01-30 21:00:46 +02:00
Adorian Doran
349ae84c8e style(next): tweak combo box-like dropdown buttons 2025-01-30 20:57:36 +02:00
Adorian Doran
c3656e27c8 client: mark a button to by styled as a combo box-like dropdown 2025-01-30 20:46:42 +02:00
Adorian Doran
b27537a9c3 style(next): buttons: fix combo box-like dropdown buttons regression 2025-01-30 20:44:27 +02:00
Adorian Doran
c26dd283fa client: rollback some buttons as secondary buttons 2025-01-30 20:30:51 +02:00
Adorian Doran
a889170844 style(next): buttons: remove useless property 2025-01-30 00:17:03 +02:00
Adorian Doran
774249d6ad style(next): buttons: improve layout 2025-01-29 23:41:57 +02:00
Adorian Doran
700598ed63 style(next): buttons: remove the previously defined gap between buttons 2025-01-29 23:23:47 +02:00
Adorian Doran
4988468103 style(next): buttons: refactor, document 2025-01-29 23:21:44 +02:00
Adorian Doran
0fed7842cf Merge branch 'style/next/forms' of https://github.com/TriliumNext/Notes into style/next/forms 2025-01-29 23:14:38 +02:00
Adorian Doran
bd37055965 style(next): buttons: style icons 2025-01-29 23:14:27 +02:00
Panagiotis Papadopoulos
818cc30650 refactor(server/utils): isDev move to utils and replace fn with boolean
this value cannot change during runtime,
=> there is no need to have these checks
as dynamic function, instead just
export the boolean value directly
2025-01-29 22:40:43 +02:00
Panagiotis Papadopoulos
13a1b42e12 refactor(server/utils): isElectron - replace fn with boolean
this values cannot change during runtime,
=> there is no need to have these checks
as dynamic function, instead just
export the boolean value directly
2025-01-29 22:40:42 +02:00
Panagiotis Papadopoulos
5630a7b2e3 refactor(server/utils): isMac/isWin - replace fn with boolean
those values cannot change during runtime,
=> there is no need to have these checks
as dynamic function, instead just
export the boolean value directly
2025-01-29 22:40:42 +02:00
Panagiotis Papadopoulos
013b42bdd1 fix(setup): make keyboard navigation work
fixes #94
2025-01-29 22:40:42 +02:00
Panagiotis Papadopoulos
a110161b2e fix(setup): use safer text method instead of html to prevent possible XSS
see also https://api.jquery.com/html/
under "Additional Notes":
"Do not use these methods to insert strings obtained from untrusted sources such as URL query parameters, cookies, or form inputs. Doing so can introduce cross-site-scripting (XSS) vulnerabilities. Remove or escape any user input before adding content to the document. "

fixes #1072
2025-01-29 22:40:42 +02:00
Panagiotis Papadopoulos
328c53b725 chore(assets): remove manual provision of knockout
this is only used in setup.ts and there it is already packed by webpack – so no need to manually provide it as static asset anymore
2025-01-29 22:40:42 +02:00
Panagiotis Papadopoulos
06d9b998de chore(prettier): fix code style for setup.ts 2025-01-29 22:40:42 +02:00
Panagiotis Papadopoulos
e6103bf11a chore(views/setup): remove knockout src tag
-> this is now handled inside setup.ts and is handled by webpack
2025-01-29 22:40:42 +02:00
Panagiotis Papadopoulos
726683078e chore(views/setup): move syncInProgress to meta tag
makes it easier to hanlde in the setup.ts file
2025-01-29 22:40:42 +02:00
Panagiotis Papadopoulos
52814030d8 chore(client/ts): port setup.js entrypoint to TS 2025-01-29 22:40:42 +02:00
Adorian Doran
e96b9f3251 style(next): buttons: style keyboard shortcut 2025-01-29 22:20:52 +02:00
Adorian Doran
e29389296d style(next): buttons: handle visible focus 2025-01-29 22:02:25 +02:00
Adorian Doran
8718dafe88 style(next): buttons: style disabled buttons 2025-01-29 21:59:18 +02:00
Adorian Doran
2bfb253a2a style(next): buttons: handle "success" button types 2025-01-29 21:53:22 +02:00
Adorian Doran
7d88e43555 client: mark some buttons with their type (primary or secondary) 2025-01-29 21:50:35 +02:00
Adorian Doran
82074ea7eb style(next): buttons: restore a legacy CSS variable 2025-01-29 21:20:31 +02:00
Adorian Doran
16ea6186dd style(next): buttons: rename the CSS variables to avoid clashing with another button styles 2025-01-29 21:17:20 +02:00
Adorian Doran
96b25b8e5e style(next): buttons: use a more accurate CSS selectors 2025-01-29 18:51:00 +02:00
Adorian Doran
90afd01d1f style(next): restyle buttons 2025-01-29 18:24:05 +02:00
Adorian Doran
dee221e18a Merge branch 'develop' of https://github.com/TriliumNext/Notes into style/next/forms 2025-01-29 17:26:24 +02:00
Elian Doran
05b67fc486 fix(mobile): backend log not shown (fixes #1058) 2025-01-28 22:02:52 +02:00
Elian Doran
4da67443c4 feat(print): preserve highlighted text (closes #905) 2025-01-28 21:23:04 +02:00
Elian Doran
feb7ceacd8 style(next): fix strikethrough undelete button 2025-01-28 21:11:18 +02:00
Elian Doran
5c31a0afeb fix(client): quote breaking tooltips (fixes #1003) 2025-01-28 21:03:39 +02:00
Elian Doran
ab9b5a6926 feat(geo_map): move markers when panning across the world 2025-01-28 17:13:15 +02:00
Elian Doran
687be6d722 fix(client): note type chooser does not have geo map entry 2025-01-28 17:05:51 +02:00
Elian Doran
eaf548f056 style(next): fix top position of code badge 2025-01-28 17:05:51 +02:00
Elian Doran
f1cb95d95e fix(types): allow falsy values 2025-01-28 16:44:56 +02:00
Elian Doran
189a2296c4 chore(i18n): promote mind map to stable note type 2025-01-28 16:34:10 +02:00
Elian Doran
3f6dc717b6 feat(client/ts): port editability_select 2025-01-28 16:21:26 +02:00
Elian Doran
aecba70efc fix(client): broken layouts in editability and note type dropdowns 2025-01-28 16:18:36 +02:00
Elian Doran
546274a79d feat(client/ts): port note_list 2025-01-28 14:13:21 +02:00
Elian Doran
15c63f52dc feat(client/ts): port note_title 2025-01-28 14:07:56 +02:00
Panagiotis Papadopoulos
e614e775fa chore(client/ts): port mobile.js entrypoint to TS 2025-01-28 07:25:26 +01:00
Panagiotis Papadopoulos
4c30853258 chore(client/ts): port desktop.js entrypoint to TS 2025-01-28 07:25:26 +01:00