Steven
72babbb393
fix: dark mode of highlight.js
2025-05-20 23:58:22 +08:00
Steven
fa1ad7dc72
chore: update list padding
2025-05-12 22:39:25 +08:00
Johnny
87798801fc
fix: list styles
2025-05-12 09:09:09 +08:00
Steven
789a9cc5a2
fix: padding left of list
2025-04-14 23:00:36 +08:00
Johnny
2f6dc2b51f
fix: padding of list
2025-04-10 23:06:14 +08:00
Steven
4f39e00868
chore: fix lint
2025-04-01 20:06:54 +08:00
Johnny
b770042a8a
refactor: migrate eslint
2025-04-01 00:04:43 +08:00
Johnny
09c50a8419
fix: codeblock highlight
2025-03-30 23:49:51 +08:00
Anubhav Singh
a63d9b471b
feat: update ItalicNode to use repeated children instead of content ( #4566 )
...
* feat: update ItalicNode to use repeated children instead of content
* chore: update gomark dependency to latest version
---------
Co-authored-by: Anubhav Singh <anubhav@mail.techindika.com>
2025-03-28 16:15:03 +08:00
Anubhav Singh
194a49367c
fix: incorrect checkbox state after removing checked items #4549 ( #4552 )
...
Co-authored-by: Anubhav Singh <anubhav@mail.techindika.com>
2025-03-25 21:59:30 +08:00
Johnny
8acded1f23
chore: fix linter
2025-03-02 15:40:16 +08:00
Johnny
5bb4a300db
chore: bump gomark
2025-02-27 15:10:39 +08:00
MHZ
964ae16851
feat: support YouTube video thumbnail in link preview ( #4427 )
2025-02-22 20:46:58 +08:00
Johnny
5686fdfb0a
chore: handle redirect
2025-02-16 22:17:48 +08:00
Johnny
11b9c240e9
refactor: workspace setting store
2025-02-11 21:23:46 +08:00
Steven
f6ad49754a
chore: update url of memo detail page
2025-02-07 20:51:04 +08:00
johnnyjoy
505fee1abb
chore: add noreferrer to external links
2025-02-06 20:19:58 +08:00
johnnyjoy
0b85cb567e
chore(frontend): fix clsx
2025-02-01 22:04:29 +08:00
johnnyjoy
0dcd0904e8
refactor: remove resource uid
2025-02-01 12:50:15 +08:00
johnnyjoy
5e770dda52
refactor: memo name
2025-02-01 11:17:36 +08:00
johnnyjoy
cde058c72a
chore: tweak theme code
2025-01-13 19:46:06 +08:00
Query&mut NinjaStyle, &Ryder
94517490f5
fix: mermaid diagrams in dark mode ( #4289 )
...
* fix #4257 fixed ui for mermaid diagrams in dark mode
* fixed linting issues
* added dynamic color theme for mermaid diagrams
* now mermaid block uses theme according to the system as well when 'follow system' is selected
* refactored code for mermaid theme logic
* refactored mermaid code to use const instead of function call
---------
Co-authored-by: root <root@DESKTOP-G3MCU14>
2025-01-13 19:44:53 +08:00
johnnyjoy
1caaef1c5b
chore: fix memo compact mode
2025-01-10 21:47:00 +08:00
Query&mut NinjaStyle, &Ryder
972ebbae2f
fix: compact mode storage ( #4279 )
...
fix #4274 now when checkbox is toggled the memo remembers the compact state
Co-authored-by: root <root@DESKTOP-G3MCU14>
2025-01-10 20:43:46 +08:00
Chris Curry
d81174ad7c
feat: optimize filters sync ( #4260 )
...
* refactor: add bi-directional filters sync between filterStore and searchParams
* fix: tag redirection from memos detail page, https://github.com/usememos/memos/issues/4232
2025-01-04 23:42:49 +08:00
johnnyjoy
41d9c9d76e
fix: order list starts
2024-12-25 22:43:26 +08:00
RoccoSmit
54ee2bf3ab
feat: show less when memo expanded ( #4143 )
...
* Added show less action and language files
* Renaming type as suggested in pr review
2024-11-24 22:24:58 +08:00
Steven
67c1a46346
chore: remove html renderer sanitizes
2024-11-05 22:44:37 +08:00
Steven
57c00734e2
fix: frontend build
2024-11-05 21:15:13 +08:00
Steven
f373d8e88c
chore: update checkbox source
2024-10-27 10:19:06 +08:00
Steven
8635aed138
chore: update dependencies
2024-10-25 21:55:00 +08:00
johnnyjoy
2ebf3f2615
chore: fix math styles
2024-10-19 21:40:24 +08:00
Steven
68c2bd3837
chore: update memo relations
2024-10-16 23:09:20 +08:00
Steven
952428c15d
chore: update default max height
2024-10-15 20:38:17 +08:00
Steven
c4b52c68b5
fix: max height of memo content compact mode
2024-10-15 20:07:55 +08:00
RoccoSmit
6cbe957db2
fix: show future relative dates ( #3946 )
...
Show future relative dates
2024-09-22 22:24:46 +08:00
Steven
ea881338a9
chore: add gradient block to compact mode
2024-09-22 21:15:46 +08:00
Steven
ca213437e9
feat: implement nesting lists
2024-09-21 20:02:47 +08:00
Steven
fbe0251eed
feat: impl list renderer
2024-09-17 19:03:10 +08:00
ti777777
6f3d5762ca
fix: iframe rendering ( #3916 )
...
* fix iframe rendering
* fix eslint check
2024-09-12 08:54:33 +08:00
johnnyjoy
40d59fc47a
chore: fix user role checks
2024-09-02 21:04:25 +08:00
johnnyjoy
8c6682bd77
chore: regenerate apidocs
2024-09-02 20:50:59 +08:00
Michel Heusschen
2dbf92f7f1
perf: reduce bundle size by 21% with direct icon imports ( #3844 )
2024-08-28 22:55:28 +08:00
Steven
edc3b578d6
feat: implement search multi tags
2024-07-26 08:40:40 +08:00
Steven
cd38ec93ed
feat: implement memo filters
2024-07-26 00:46:48 +08:00
andrigamerita
d264f45979
fix: code blocks of unknown languages cause HTML injection ( #3711 )
...
* fix: code blocks of unknown languages cause HTML injection
A code block of unknown language (that is, a language not treated as special by Memos and not handled by highlight.js) should fall back on rendering its plaintext content. However, the content is never properly escaped before it is appended to the DOM, and thus any string that happens to contain HTML is unsafely rendered. This commit fixes the issue by ensuring that, when none of the previous cases handle the text, any HTML entities are escaped first.
* Update CodeBlock.tsx to conform to eslint
2024-07-19 08:32:58 +08:00
Steven
5704aaad08
chore: tweak embeded memo style
2024-07-17 22:48:22 +08:00
Steven
ef7e2151dc
chore: update memo relation list
2024-07-17 21:40:43 +08:00
Johnny
bcb8843245
chore: implement stringify markdown nodes endpoint ( #3688 )
2024-07-14 20:46:57 +08:00
Steven
f374169a2b
feat: implement html element renderer
2024-07-13 11:06:51 +08:00
Johnny
5a196e2f1a
feat: update gomark version ( #3679 )
2024-07-12 22:17:03 +08:00
Steven
457cf92cc1
feat(api): implement get resource by uid
2024-07-11 23:43:44 +08:00
Steven
1ab2c89408
feat(api): implement get memo by uid
2024-07-11 23:31:50 +08:00
Johnny
4d2b953e23
chore: add enable link preview setting to memo related settings ( #3647 )
2024-07-02 22:00:38 +08:00
Steven
e8ed437ca3
fix: purify html before render
2024-06-04 23:10:54 +08:00
Steven
0f4b7c5f4a
feat: add more memo settings
2024-05-29 23:17:53 +08:00
Steven
7d6dbb9487
fix: link hover handler
2024-05-22 23:25:04 +08:00
Steven
c25c57ab61
feat: support updating display time
2024-05-18 07:52:35 +08:00
Steven
5f207c8f0c
fix: math overflow
2024-05-10 06:21:47 +08:00
Steven
584c669068
chore: tweak max width
2024-05-09 22:10:27 +08:00
Steven
155c5baf2c
refactor: add markdown service
2024-04-29 08:00:37 +08:00
Steven
d8aeec993c
chore: replace classnames with clsx
2024-04-28 00:58:40 +08:00
Steven
1b291422e7
refactor: api version
2024-04-28 00:44:29 +08:00
Steven
647602beac
chore: update link preview
2024-04-25 21:01:13 +08:00
Steven
205bf7ed0e
chore: update link target
2024-04-24 22:02:11 +08:00
Steven
339fecbfff
chore: allow search comments
2024-04-18 21:04:10 +08:00
Dubzer
8ee56bd29f
feat: add code wrapping option on mobile devices ( #3196 )
...
* feat: add code wrapping option on mobile devices
* Minor changes
* oopsie
2024-04-10 22:03:47 +08:00
Steven
bedf3b3025
chore: tweak embedded memo styles
2024-04-02 23:32:43 +08:00
Steven
ba7dbc1fca
chore: fix task node click handler
2024-04-01 21:38:18 +08:00
Steven
c8baeb86ec
chore: fix memo links
2024-03-30 13:04:40 +08:00
The Anh Nguyen
9a88e00df0
fix: link embedded content to uid instead of name ( #3164 )
2024-03-30 12:30:09 +08:00
Steven
d84a88e805
chore: fix linter
2024-03-30 00:05:19 +08:00
Steven
5ab845d92e
chore: fix linter
2024-03-30 00:02:34 +08:00
Steven
c7aaf791e6
chore: tweak props naming
2024-03-29 22:49:19 +08:00
Steven
16cfef32d6
chore: tweak statistics translation
2024-03-26 23:49:37 +08:00
Steven
d460e6bf41
fix: link node
2024-03-25 23:59:19 +08:00
Steven
7c5261b5d2
chore: tweak resource definition
2024-03-20 21:17:04 +08:00
Steven
7cc8b951a3
refactor: update resource id naming
2024-03-20 20:39:16 +08:00
Steven
a3a4e37cb0
chore: update memo content styles
2024-03-20 09:07:54 +08:00
Steven
96a7d0eb25
chore: tweak line height
2024-03-20 00:40:46 +08:00
Steven
722e356044
chore: update memo store
2024-03-19 20:55:33 +08:00
Steven
5f2d6b22be
chore: tweak memo structure
2024-03-18 23:23:53 +08:00
Steven
86db6d0254
chore: tweak user api definition
2024-03-18 12:56:52 +08:00
Steven
f3fb5e0c60
chore: tweak route enum
2024-03-18 12:07:44 +08:00
Steven
cf207df672
chore: tweak link styles
2024-03-17 18:28:37 +08:00
Steven
335a0312f2
chore: tweak link styles
2024-03-16 23:35:36 +08:00
Mehad Nadeem
9c1e2f8137
feat: implemented link previews (frontend files) ( #3074 )
...
* feat: implmented link previews (frontend files)
* chore: updated frontend side for Link Previews
* chore: updated frontend gen types with the renamed (server) service file
* fix: passing errors
* chore: switched to using generated type instead of separate fields
* fix: passing linter error
* chore: updated Link.tsx
* chore: using `useResponsiveWidth` to render for different devices
* chore: refactored Link.tsx
2024-03-16 22:51:16 +08:00
Steven
0f48cfbb4e
chore: tweak padding styles
2024-03-15 08:52:11 +08:00
Steven
ab136e3310
chore: tweak styles
2024-03-15 00:12:22 +08:00
Steven
15be18fa85
chore: update compace mode handler
2024-03-14 09:07:18 +08:00
Steven
2516431b20
chore: tweak memo content styles
2024-03-14 00:01:33 +08:00
Steven
ded4da07a3
feat: use @github/relative-time-element to display time
2024-03-13 23:47:34 +08:00
Steven
342f341b3d
chore: ignore import locale error
2024-03-04 13:16:55 +08:00
Steven
7d5f603482
chore: update compact view
2024-03-04 11:21:48 +08:00
Steven
7e23ceb242
chore: fix frontend linter
2024-03-01 19:39:24 +08:00
Steven
898b3c3779
chore: update gomark.wasm
2024-03-01 19:31:00 +08:00
Steven
e602aeecc1
fix: update workspace general setting
2024-02-23 09:08:49 +08:00
Steven
0afdbe3332
chore: remove animation of spoiler
2024-02-22 19:25:24 +08:00
Steven
4378816e44
chore: tweak i18n
2024-02-21 23:02:18 +08:00
Steven
e7bbd850b2
chore: tweak spoiler animation
2024-02-21 21:31:34 +08:00