Commit graph

1539 commits

Author SHA1 Message Date
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
4f7a6cd6cc chore: fix default logo url 2024-03-29 23:12:30 +08:00
Steven
c7aaf791e6 chore: tweak props naming 2024-03-29 22:49:19 +08:00
Michael
239348c403
chore: update i18n with Weblate (#3162)
* Translated using Weblate (Russian)

Currently translated at 85.1% (252 of 296 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/ru/

* Translated using Weblate (Vietnamese)

Currently translated at 91.8% (272 of 296 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/vi/

---------

Co-authored-by: LibreTranslate <noreply-mt-libretranslate@weblate.org>
Co-authored-by: The Anh Nguyen <anhntdev0@gmail.com>
2024-03-29 21:32:55 +08:00
Michael
9f803aa9bb
chore: translated using Weblate (Russian) (#3161)
Translated using Weblate (Russian)

Currently translated at 85.1% (252 of 296 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/ru/

Co-authored-by: xyznetsov <invisiblesun2016@yandex.ru>
2024-03-29 21:29:49 +08:00
Steven
200a0d3e2b fix: memo relations 2024-03-29 21:27:38 +08:00
Steven
ea6628066d chore: update sidebar components 2024-03-29 09:16:55 +08:00
Steven
526f46807e chore: tweak user list display 2024-03-29 08:37:07 +08:00
Michael
bfaf06582c
chore: translated using Weblate (Portuguese (Brazil)) (#3157)
Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (296 of 296 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/pt_BR/

Co-authored-by: Lincoln Nogueira <lincolnthalles@users.noreply.github.com>
2024-03-29 08:20:56 +08:00
Steven
7331c598df fix: edit account dialog fields 2024-03-29 08:19:32 +08:00
The Anh Nguyen
f7a445ac8b
chore: update Vietnamese translation (#3155) 2024-03-29 08:07:02 +08:00
Steven
90679cc33a chore: add explore sidebar 2024-03-29 00:01:45 +08:00
Steven
192ee7acc0 chore: fix memo link 2024-03-28 22:53:22 +08:00
Michael
7d94256a2a
chore: update i18n with Weblate (#3152)
* Translated using Weblate (Chinese (Traditional))

Currently translated at 98.3% (291 of 296 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/zh_Hant/

* Translated using Weblate (Chinese (Traditional))

Currently translated at 98.3% (291 of 296 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/zh_Hant/

---------

Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
Co-authored-by: Coisini-H <2972186196@qq.com>
2024-03-28 22:51:50 +08:00
Michael
aed4c1392d
chore: update i18n with Weblate (#3151)
* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (296 of 296 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/zh_Hans/

* Translated using Weblate (Chinese (Traditional))

Currently translated at 98.3% (291 of 296 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/zh_Hant/

---------

Co-authored-by: Coisini-H <2972186196@qq.com>
2024-03-28 22:48:32 +08:00
Dubzer
a0846c2818
feat: add shortcut to edit the previous memo (#3122)
* Add shortcut to edit the previous memo

* Fix compilation

* Update web/src/components/MemoEditor/index.tsx

Co-authored-by: boojack <stevenlgtm@gmail.com>

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2024-03-27 21:46:29 +08:00
Steven
16cfef32d6 chore: tweak statistics translation 2024-03-26 23:49:37 +08:00
Steven
f637deacfc chore: tweak tag list 2024-03-26 23:43:31 +08:00
Steven
2e87da4927 chore: update frontend dependencies 2024-03-26 22:35:11 +08:00
Steven
d460e6bf41 fix: link node 2024-03-25 23:59:19 +08:00
Steven
d1e8af48c0 chore: tweak memo view styles 2024-03-23 00:58:15 +08:00
Steven
005305cd9a chore: update relative time display 2024-03-22 08:12:08 +08:00
Steven
18d16abdb5 chore: update workspace service 2024-03-21 21:39:34 +08:00
Steven
1d83c68cb5 chore: update type definitions 2024-03-21 08:12:38 +08:00
Michael
861a1e4c9b
chore: update i18n with Weblate (#3115)
* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (293 of 293 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/zh_Hans/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (293 of 293 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/zh_Hans/

---------

Co-authored-by: Coisini-H <2972186196@qq.com>
Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
2024-03-20 21:42:08 +08:00
Steven
26e5b70483 chore: upgrade frontend dependencies 2024-03-20 21:32:06 +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
76c936357b chore: fix resource link 2024-03-20 08:51:32 +08:00
Steven
96a7d0eb25 chore: tweak line height 2024-03-20 00:40:46 +08:00
Steven
ed89cb8310 chore: update memo relation definition 2024-03-19 21:53:44 +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
Michael
5dd1251d1e
chore: update i18n with Weblate (#3109)
* Translated using Weblate (Japanese)

Currently translated at 95.2% (279 of 293 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/ja/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (293 of 293 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/pt_BR/

---------

Co-authored-by: Somme4096 <somme4096@gmail.com>
Co-authored-by: Lincoln Nogueira <lincolnthalles@users.noreply.github.com>
2024-03-17 18:22:22 +08:00
sunxunle
ea104a5e54
chore: fix typo (#3106) 2024-03-17 09:52:04 +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
Michael
21af2a004d
chore: translated using Weblate (French) (#3099)
Translated using Weblate (French)

Currently translated at 100.0% (293 of 293 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/fr/

Co-authored-by: Ezmana <ezmana.land@gmail.com>
2024-03-14 17:09:29 +08:00
Steven
115b5551b3 chore: tweak default avatar 2024-03-14 09:11:57 +08:00
Steven
15be18fa85 chore: update compace mode handler 2024-03-14 09:07:18 +08:00
Steven
9ce381abb9 chore: tweak user profile 2024-03-14 00:13:56 +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
e795149186 chore: tweak memo view display 2024-03-13 22:30:59 +08:00
boojack
7c1510e7a9
chore: update i18n with Weblate (#3090)
* Translated using Weblate (Spanish)

Currently translated at 95.4% (293 of 307 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/es/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (307 of 307 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/zh_Hans/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/

---------

Co-authored-by: Hisiste <aditooliva@gmail.com>
Co-authored-by: keocheung <keocheung@outlook.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
2024-03-13 20:55:04 +08:00
Steven
e5fc107920 chore: tweak i18n locales 2024-03-13 20:51:19 +08:00
Mario Gómez
425e85f0f9
chore: fix spanish typos (#3083) 2024-03-12 21:48:02 +08:00
Michael
9ffc1515f4
chore: update i18n with Weblate (#3079)
* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (307 of 307 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/zh_Hans/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (307 of 307 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/zh_Hans/

---------

Co-authored-by: Matsuri <matsuri@vmoe.info>
Co-authored-by: keocheung <keocheung@outlook.com>
2024-03-12 13:14:56 +08:00
steven
8cdc0c7ffa chore: add delete tag action 2024-03-09 17:26:58 +08:00
zty
999a05307e
fix: body overflow styles #3056
Co-authored-by: zty <zty.dev@outlook.com>
2024-03-09 14:09:31 +08:00
steven
77bafba682 chore: update gomark.wasm 2024-03-09 12:47:20 +08:00
Michael
1540de2f44
chore: translated using Weblate (Korean) (#3060)
Translated using Weblate (Korean)

Currently translated at 95.1% (292 of 307 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/ko/

Co-authored-by: WonSeok <wonseok@duck.com>
2024-03-09 12:40:42 +08:00
Steven
ed4b48c54f chore: update gomark.wasm 2024-03-08 00:34:34 +08:00
Michael
706e749275
chore: translated using Weblate (Portuguese (Brazil)) (#3050)
Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (307 of 307 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/pt_BR/

Co-authored-by: Lincoln Nogueira <lincolnthalles@users.noreply.github.com>
2024-03-07 11:38:24 +08:00
Steven
845999292a chore: update frontend dependencies 2024-03-06 23:33:00 +08:00
Michael
240da335c1
chore(i18n): update translation files (#3042)
Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/

Co-authored-by: Hosted Weblate <hosted@weblate.org>
2024-03-05 11:44:51 +08:00
Steven
f9f277695d chore: fix comment amount 2024-03-04 23:37:38 +08:00
Dubzer
6cbfbe9c07
chore: settings page improvements (#3034)
* Don't allow to select text on buttons in settings + refactoring

* Remove redundant useMemo

* Update web/src/pages/Setting.tsx

Co-authored-by: boojack <stevenlgtm@gmail.com>

* Rename other constants too

* Rename AdminSection to ADMIN_SECTIONS

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2024-03-04 23:33:43 +08:00
Steven
ec206104e5 chore: tweak i18n locale 2024-03-04 23:23:14 +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
Dubzer
f0a521f5b8
feat: improve theming (#3032)
Add color-scheme and dark scrollbar styles
2024-03-04 09:35:40 +08:00
Steven
59314cdf80 chore: add compact mode to memo view 2024-03-04 01:11:34 +08:00
Steven
ac0315334d chore: update i18n locales imports 2024-03-04 00:05:27 +08:00
Steven
d34273b186 chore: update memo icons style 2024-03-03 16:41:03 +08:00
Steven
ebcf43c997 chore: update gomark.wasm 2024-03-03 14:56:40 +08:00
jjaychen
3b089eeae3
fix: ignore "Tab" key down event when is composing in editor(#3026) (#3027) 2024-03-03 13:04:00 +08:00
Steven
9a8a1d017e chore: add comments icon 2024-03-02 11:29:21 +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
12f4d3a10d chore: tweak default page size 2024-02-29 23:42:06 +08:00
Steven
1aa75847d6 chore: upgrade gomark 2024-02-29 01:07:53 +08:00
Steven
89a270cede chore: add username to cache key 2024-02-28 00:34:55 +08:00
Xylit
5526355621
fix: dark mode tag selection and suggestion (#3004)
* fix: use correct higlight color on selecting a tag in darkmode

* fix: take scrolling into account in tab suggestion

Issue: When editing a long memo and editing a tag somewhere where the user has
to scroll down to, the tag suggestions would be out of place (too far down)
because the scrolling wouldn't be taken into account.

Fix: Substract the suggestions div by the scroll amount.

* fix: don't show tag suggestion when on '#'

Fixes this issue like this:
1. Text #tag text
        ^ backspace here
2. Text#tag text
       ^ space
3. Text #tag text
        ^ tag suggestion opens
2024-02-27 09:16:56 +08:00
Zhiyuan Zheng
51a7934616
fix: firefox/safari to redirect to /explore in HomeLayout (#3001) 2024-02-26 13:38:24 +08:00
Steven
222d04fb22 chore: add fuse to get tag suggestions 2024-02-24 11:02:46 +08:00
Steven
68468927dd chore: tweak setting styles 2024-02-24 11:01:57 +08:00
Steven
dfe29ec766 chore: tweak route layout 2024-02-24 10:18:53 +08:00
Steven
db56e1b575 chore: fix user banner dropdown 2024-02-23 23:47:26 +08:00
Steven
f2eb9f1b8f chore: fix get workspace setting 2024-02-23 09:11:39 +08:00
Steven
e602aeecc1 fix: update workspace general setting 2024-02-23 09:08:49 +08:00
Steven
e585578553 chore: tweak readme 2024-02-23 08:25:54 +08:00
Steven
39bf850591 fix: embed memos callback 2024-02-22 23:17:15 +08:00
Steven
9cd835b979 chore: upgrade gomark wasm 2024-02-22 23:11:32 +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
Steven
c6162d3f38 chore: update dependencies 2024-02-21 21:24:31 +08:00
Steven
ce32206677 chore: remove unused system setting 2024-02-21 21:15:28 +08:00
Steven
50a3af3b29 chore: fix get general setting 2024-02-21 20:44:35 +08:00
Steven
13b911ebf0 chore: add spoiler node 2024-02-20 23:55:54 +08:00
Steven
8e11826db1 chore: update workspace setting service 2024-02-20 23:02:01 +08:00
David Nguyen
e6d0c00cf6
chore: update vi.json (#2980) 2024-02-20 17:57:06 +08:00