memos/web/src
Christopher a62f1e15a6
fix: private memos being public (#2480)
* fix(web/memo): filter out public option

Filter out the public option if we have disabled public memos

* feat(api/memo): sanity check for disabled public memos

In case something goes wrong, we check the system setting on the backend in order to valdiate if we can create a public memo

* refactor(web/memo): disable public option

Seems like a better option than removing it, as it looks werid if you are looking at a memo that is previously public

* fix(web/memo): use translation keys

* chore(web/editor): remove unsused tooltip

* revert(api/memo): sanity check

* fix(web/memo): allow admins to create public memos

* chore(web/memo): remove unused import

* fix(web/memo): check for both host and admin

* fix(web/memo): remove warning text from MemoDetail
2023-11-05 01:19:54 +08:00
..
components fix: private memos being public (#2480) 2023-11-05 01:19:54 +08:00
css chore: clean duplicated requests 2023-09-10 11:43:38 +08:00
helpers chore: update about dialog 2023-10-28 15:17:33 +08:00
hooks feat: update memo detail page 2023-09-23 20:14:07 +08:00
labs chore: fix memo container max width 2023-10-13 23:26:56 +08:00
layouts chore: fix styles 2023-10-21 01:23:21 +08:00
less fix: visibility translation (#2429) 2023-10-23 08:06:59 +08:00
locales chore: update i18n 2023-10-28 15:10:20 +08:00
pages fix: private memos being public (#2480) 2023-11-05 01:19:54 +08:00
router feat: add inbox ui 2023-10-28 02:43:46 +08:00
store fix: auto fetch more (#2472) 2023-11-03 05:16:55 +08:00
theme chore: update resource dialog style (#982) 2023-01-21 08:46:49 +08:00
types chore: update logo 2023-10-05 08:40:25 +08:00
utils feat: week from monday in heatmap for zh-Hans and ko (#2457) 2023-10-31 12:06:14 +08:00
App.tsx chore: add ar locale item 2023-10-14 00:25:01 +08:00
grpcweb.ts feat: add inbox ui 2023-10-28 02:43:46 +08:00
i18n.ts chore: add ar locale item 2023-10-14 00:25:01 +08:00
main.tsx chore: adjust initial states 2023-09-10 23:44:06 +08:00