Commit Graph

7767 Commits

Author SHA1 Message Date
Elian Doran 52bc28def7 client: Rename section to CodeBlockOptions 2024-10-27 21:42:40 +02:00
Elian Doran e65d4cdfbf client: Rename endpoint to codeblock-themes 2024-10-27 21:40:22 +02:00
Elian Doran 96b9042559 client: Rename option to codeBlockTheme 2024-10-27 21:39:50 +02:00
Elian Doran e68d070320 client: Set up localization for syntax highlighting section 2024-10-27 21:27:35 +02:00
Elian Doran ef5f2c680b client: Rephrase theme section 2024-10-27 21:19:27 +02:00
Elian Doran 6717b1b4ae client: Rephrase section 2024-10-27 21:15:51 +02:00
Elian Doran 41e3163595 client: Fix flicker of font selection 2024-10-27 21:03:13 +02:00
Elian Doran 514653fb50 client: Fix flicker of preview 2024-10-27 20:22:23 +02:00
Elian Doran e843f1adc1 client: Fix background of preview 2024-10-27 20:19:53 +02:00
Elian Doran 83f5b47c99 client: Set up simple preview for syntax highlight 2024-10-27 20:18:44 +02:00
Elian Doran 2fdff29067 client: Apply syntax highlight in real-time 2024-10-27 20:08:12 +02:00
Elian Doran 0d270cbeb6 client: Use 3px shadow for dark theme 2024-10-27 20:01:08 +02:00
Elian Doran f947a039b9 client: Apply background to read-only code blocks as well 2024-10-27 19:58:00 +02:00
Elian Doran d2235a185b client: Improve style for code blocks 2024-10-27 19:54:05 +02:00
Elian Doran 87bc142552 client: Fix foreground color 2024-10-27 19:43:48 +02:00
Elian Doran fe4dbae079 client: Apply highlighting theme on refresh 2024-10-27 17:41:37 +02:00
Elian Doran e1ae014b74 server: Remove dashes from syntax theme name 2024-10-27 17:25:05 +02:00
Elian Doran 7952a5a81e client: Fix order of options 2024-10-27 12:54:40 +02:00
Elian Doran 60b6f7df89 client: Allow switching theme 2024-10-27 12:54:06 +02:00
Elian Doran 7354fb5b4a client,server: List syntax highlighting themes 2024-10-27 12:41:53 +02:00
Elian Doran 1fb0b74f76 client: Use same mechanism for read-only notes 2024-10-27 12:15:32 +02:00
Elian Doran 9e3b915612 client: Use translation for auto-detect 2024-10-27 11:47:36 +02:00
Elian Doran 7505db220e client: Implement auto syntax highlighting 2024-10-27 11:46:19 +02:00
Elian Doran a3932376f3 client: Add Javadoc for newly introduced methods 2024-10-27 11:32:54 +02:00
Elian Doran 3a609d54ab client: Fix highlighting for JavaScript 2024-10-27 11:21:08 +02:00
Elian Doran c4bd4eb440 client: Respect user language selection for editor 2024-10-27 11:18:36 +02:00
Elian Doran e931df721d client: Fix duplication when requesting scripts 2024-10-27 10:48:50 +02:00
Elian Doran 1e9324c303 client: Support custom language types for highlight 2024-10-27 10:39:31 +02:00
Elian Doran 6c4513fb2e client: Enable syntax highlight for read-only notes 2024-10-27 08:52:34 +02:00
Elian Doran c7e1362105 Merge branch 'develop' into feature/syntax_highlight 2024-10-26 23:39:49 +03:00
Elian Doran acf37f9327 client: Fix error when duplicating note 2024-10-26 23:39:38 +03:00
Elian Doran f80cf0aa02 Add limit to blocks highlighting 2024-10-26 23:39:18 +03:00
Elian Doran 6078620bf1 Carry over code block highlighting 2024-10-26 23:27:23 +03:00
Elian Doran 579b3f4ca0 Carry over highlighter initialization 2024-10-26 23:21:51 +03:00
Elian Doran bf28005f46 Create dedicated file for syntax highlight 2024-10-26 23:16:24 +03:00
Elian Doran c81b847b61 Set up highlight.js 2024-10-26 22:57:07 +03:00
Elian Doran 05116b3b0d client-ts: Port widgets/icon_list 2024-10-26 10:41:02 +03:00
Elian Doran 8cc271a192 client: Fix a few TypeScript build errors 2024-10-26 10:31:51 +03:00
Elian Doran 86fc59d265 Merge remote-tracking branch 'origin/develop' into feature/client_typescript_port1
; Conflicts:
;	package-lock.json
;	package.json
;	src/public/app/components/app_context.ts
;	src/public/app/services/hoisted_note.ts
;	src/public/app/services/open.ts
;	src/public/app/services/toast.ts
2024-10-26 10:20:19 +03:00
Elian Doran 84d216da54 i18n: Translate missing keys for Romanian 2024-10-25 21:06:03 +03:00
Elian Doran 391f518c01 i18n: Translate search note prefix 2024-10-25 21:04:13 +03:00
Elian Doran 2324c9a13b client: Fix HTML in some toasts 2024-10-25 20:51:50 +03:00
Elian Doran 6799c44e22 client: Fix redundant toast message 2024-10-25 20:50:13 +03:00
Elian Doran f0052d56b7 Merge pull request #520 from hasecilu/i18n/more_Spanish_translation
More Spanish translation
2024-10-25 20:49:48 +03:00
Elian Doran 53822fd47f client: Remove redundant global 2024-10-25 20:44:08 +03:00
hasecilu b02c4b54e5 i18n: Fix source strings 2024-10-25 11:32:43 -06:00
hasecilu 27f07ee604 i18n: Update Spanish translations 2024-10-25 11:32:42 -06:00
Elian Doran 03a23d15f9 client: Fix double errors if not returning a widget 2024-10-25 20:22:29 +03:00
Elian Doran 70d55097ee client: Fix crash if note tree fails to find a child note 2024-10-25 20:15:12 +03:00
Elian Doran 560467bdba client: Log uncaught promise errors 2024-10-25 19:57:40 +03:00