Commit Graph

1475 Commits (7d94256a2a096313c64c731ca1ca6a07d39d50b9)

Author SHA1 Message Date
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>
1 year ago
Steven ec206104e5 chore: tweak i18n locale 1 year ago
Steven 342f341b3d chore: ignore import locale error 1 year ago
Steven 7d5f603482 chore: update compact view 1 year ago
Dubzer f0a521f5b8
feat: improve theming (#3032)
Add color-scheme and dark scrollbar styles
1 year ago
Steven 59314cdf80 chore: add compact mode to memo view 1 year ago
Steven ac0315334d chore: update i18n locales imports 1 year ago
Steven d34273b186 chore: update memo icons style 1 year ago
Steven ebcf43c997 chore: update gomark.wasm 1 year ago
jjaychen 3b089eeae3
fix: ignore "Tab" key down event when is composing in editor(#3026) (#3027) 1 year ago
Steven 9a8a1d017e chore: add comments icon 1 year ago
Steven 7e23ceb242 chore: fix frontend linter 1 year ago
Steven 898b3c3779 chore: update gomark.wasm 1 year ago
Steven 12f4d3a10d chore: tweak default page size 1 year ago
Steven 1aa75847d6 chore: upgrade gomark 1 year ago
Steven 89a270cede chore: add username to cache key 1 year ago
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
1 year ago
Zhiyuan Zheng 51a7934616
fix: firefox/safari to redirect to /explore in HomeLayout (#3001) 1 year ago
Steven 222d04fb22 chore: add fuse to get tag suggestions 1 year ago
Steven 68468927dd chore: tweak setting styles 1 year ago
Steven dfe29ec766 chore: tweak route layout 1 year ago
Steven db56e1b575 chore: fix user banner dropdown 1 year ago
Steven f2eb9f1b8f chore: fix get workspace setting 1 year ago
Steven e602aeecc1 fix: update workspace general setting 1 year ago
Steven e585578553 chore: tweak readme 1 year ago
Steven 39bf850591 fix: embed memos callback 1 year ago
Steven 9cd835b979 chore: upgrade gomark wasm 1 year ago
Steven 0afdbe3332 chore: remove animation of spoiler 1 year ago
Steven 4378816e44 chore: tweak i18n 1 year ago
Steven e7bbd850b2 chore: tweak spoiler animation 1 year ago
Steven c6162d3f38 chore: update dependencies 1 year ago
Steven ce32206677 chore: remove unused system setting 1 year ago
Steven 50a3af3b29 chore: fix get general setting 1 year ago
Steven 13b911ebf0 chore: add spoiler node 1 year ago
Steven 8e11826db1 chore: update workspace setting service 1 year ago
David Nguyen e6d0c00cf6
chore: update vi.json (#2980) 1 year ago
Kristián 03d67d5a00
feat: add mermaid support in codeblock (#2971) 1 year ago
Kazuki H a86117f613
feat: add new line if the cursor is on a character when adding a tag (#2960) 1 year ago
Søm fc1a2cf2fc
chore: update ja.json (#2966) 1 year ago
Steven d22b772232 chore: add memo actions to memo detail page 1 year ago
Steven f1ec5775a7 chore: update inbox props 1 year ago
Steven 606e574e19 chore: update enum type 1 year ago
Brilliant Hanabi ebe3678288
feat: add visibility select in ShareMemoDialog (#2941)
In ShareMemoDialog, user can change the visibility
of the memo, so that the memo can be set to public
to be viewed by anyone with the link.
1 year ago
Steven 3dddd3ec4c chore: tweak reaction store 1 year ago
Brilliant Hanabi 81aa9b107f
feat: add notice when sharing private links in MemoDetail (#2942) 1 year ago
Steven 60efd3ac32 chore: tweak memo view 1 year ago
Steven 4081a6f5ad chore: add more reactions 1 year ago
Steven c7822515a1 chore: tweak view checks 1 year ago
Steven d86f0bac8c chore: implement reaction frontend 1 year ago
Steven a4fa67cd18 chore: update dependencies 1 year ago
Kazuki H 5ac17fc012
fix: displaying archived memos (#2933)
* fix: web: Archived: Show displayTime instead of updateTime

Archiving a memo is considered "updating" it, so the time it was
archived will be displayed, instead of the time it was created.

* fix: web: Archived: Add an option to fetch more memos

Just like on other pages, add a button to fetch more memos. Otherwise,
the user would only be able to load the latest 10 memos, as defined in
DEFAULT_MEMO_LIMIT.
1 year ago
Steven a76b86f18a chore: fix highlight code 1 year ago
Steven ded8001735 chore: fix v2 routes 1 year ago
Steven 185ec2ad2a chore: update inbox service 1 year ago
Steven 25efc33b24 chore: tweak timeline styles 1 year ago
Steven e35225ff24 chore: fix resource url 1 year ago
Steven 397a7f00ef chore: add postinstall script 1 year ago
Steven ab4a670bec chore: add env example 1 year ago
Steven b056c59dea chore: add vercel.json 1 year ago
Steven 15c90871d9 chore: update request base url 1 year ago
Steven be899cd027 chore: update eslint config 1 year ago
Steven 8773a3d2c1 chore: tweak assets folder 1 year ago
Steven d2603ee67b chore: upgrade frontend dependencies 1 year ago
Steven 1e07b70d23 chore: fix export memos 1 year ago
Athurg Gooth b8a9783db5
fix: signin error notification is not shown (#2908)
fix signin error notification is not shown
1 year ago
Ikko Eltociear Ashimine 82e72813f9
chore: fix typo in About.tsx (#2899) 1 year ago
Steven 00c47a0673 chore: fix menu z-index 1 year ago
Steven 374f3f7d96 chore: fix filter initial state 1 year ago
Steven 8340e6b247 chore: upgrade gomark 1 year ago
Steven 7f5148d490 chore: clean dropdown 1 year ago
Steven c522e1450a chore: update codeblock style 1 year ago
Steven dd06278692 feat: add batch upsert tags 1 year ago
Steven fdd17ce849 chore: update memo content key 1 year ago
Elliot Chen 7cd3fcbc61
fix: wrong order of the timeline in the resource page & add webhook when create memos using Telegram bot (#2886)
* fix: wrong order in resource page timeline

* feat: add webhook when create memos using Telegram bot

* rename variables and fix typos for static checks
1 year ago
Steven e78311b3af fix: initial gomark wasm 1 year ago
Steven e3afad74ce fix: update initial wasm 1 year ago
Steven 554f93eccc fix: move initial wasm into app 1 year ago
Steven 0b4914d880 chore: update generated node types 1 year ago
Steven 8ce6a32aac feat: use gomark wasm in frontend 1 year ago
Lincoln Nogueira 52539fc130
chore: prevent visitors from breaking demo (#2869)
* chore: add en-GB language

* chore: remove en-GB contents

* chore: prevent visitors from breaking demo
- prevent disabling password login
- prevent updating `memos-demo` user
- prevent setting additional style
- prevent setting additional script
- add some error feedback to system settings UI

* Revert "chore: add en-GB language"

This reverts commit 2716377b04.
1 year ago
Steven 49e3eb107c chore: update gomark wasm 1 year ago
Lincoln Nogueira e7d5dfe515
chore: add en-GB language (#2865)
* chore: add en-GB language

* chore: remove en-GB contents
1 year ago
Steven 28c7a75ea2 chore: fix import nodes 1 year ago
Steven 59d69a05fa feat: initial gomark wasm importer 1 year ago
Steven ad2d492dec chore: move preview memo content 1 year ago
Brilliant Hanabi 1bad0543d0
feat: add notice when sharing private links (#2809)
Co-authored-by: boojack <stevenlgtm@gmail.com>
1 year ago
Noah Alderton 73337331cb
feat: export all user Memos as a .zip of Markdown files (#2854)
* Add gRPC Memos Export

* Update code style

* Add URL.revokeObjectURL

* Rename protobuf and ESLint fix

* Change MemosExport to ExportMemos
1 year ago
Wen Sun 50f7f131ea
fix: month grouping error in timeline page (#2861) 1 year ago
Steven c5a5f67fdb refactor: migrate auth service 1 year ago
Aleksandr Baryshnikov fa17dce046
feat: pre-signed URL for S3 storage (#2855)
Adds automatically background refresh of all external links if they are belongs to the current blob (S3) storage. The feature is disabled by default in order to keep backward compatibility.

The background go-routine spawns once during startup and periodically signs and updates external links if that links belongs to current S3 storage.

The original idea was to sign external links on-demand, however, with current architecture it will require duplicated code in plenty of places. If do it, the changes will be quite invasive and in the end pointless: I believe, the architecture will be eventually updated to give more scalable way for pluggable storage. For example - Upload/Download interface without hard dependency on external link. There are stubs already, but I don't feel confident enough to change significant part of the application architecture.
1 year ago
Steven 2b7bd47b44 fix: rss routes 1 year ago
Steven 8c6292925e chore: update code block styles 1 year ago
Steven 21ef5a9bc0 chore: tweak workspace service 1 year ago
Steven 1dc4f02b64 chore: update memo requests 1 year ago
Steven 8db90a040c chore: remove unused dependencies 1 year ago
Steven 932f636d84 chore: update codeblock renderer 1 year ago
Steven ed32b20c9e chore: update frontend dependencies 1 year ago
Steven 8455114eef chore: fix list memos request 1 year ago
Steven c26109cd36 chore: update list memos request 1 year ago
Steven 4b223c1e4c chore: update collapse sidebar 1 year ago