SkyWT
9bcd4f59a2
fix: editor IME composing event behavior ( #3267 )
...
* fix: editor IME composing event behavior
* fix: editor IME composing event behavior
* Update web/src/components/MemoEditor/hooks/useAutoComplete.ts
---------
Co-authored-by: boojack <stevenlgtm@gmail.com>
2024-04-25 08:59:26 +08:00
Steven
f9dd29ae07
chore: tweak tag store
2024-04-14 22:20:09 +08:00
Steven
1f0bfd2169
chore: update tag store
2024-04-14 22:03:56 +08:00
imikod
257b8add8c
chore: localization improvements ( #3213 )
...
* localization improvements
* typo fix
* fix linting error
2024-04-12 08:35:14 +08:00
Steven
755d5b83c6
chore: retire legacy setting api
2024-04-12 08:32:54 +08:00
Steven
3e6e56b008
refactor: update workspace store definition
2024-04-11 17:53:00 +08:00
Steven
6d842711e2
chore: fix dependencies
2024-04-10 23:34:29 +08:00
Steven
6028838f03
chore: update component name
2024-04-09 20:51:09 +08:00
Steven
bbdd40b2b0
chore: add placeholder to comment editor
2024-04-09 20:01:19 +08:00
Steven
6d10251cbd
feat: impl list syntax auto complete to editor
2024-04-08 20:42:53 +08:00
Steven
54a3c25ebd
chore: update memo resource name definition
2024-03-30 08:26:28 +08:00
Steven
d84a88e805
chore: fix linter
2024-03-30 00:05:19 +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
Steven
200a0d3e2b
fix: memo relations
2024-03-29 21:27:38 +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
7c5261b5d2
chore: tweak resource definition
2024-03-20 21:17:04 +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
jjaychen
3b089eeae3
fix: ignore "Tab" key down event when is composing in editor( #3026 ) ( #3027 )
2024-03-03 13:04:00 +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
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
39bf850591
fix: embed memos callback
2024-02-22 23:17:15 +08:00
Kazuki H
a86117f613
feat: add new line if the cursor is on a character when adding a tag ( #2960 )
2024-02-19 08:54:47 +08:00
Steven
dd06278692
feat: add batch upsert tags
2024-02-01 21:13:42 +08:00
Steven
8db90a040c
chore: remove unused dependencies
2024-01-27 20:20:36 +08:00
Steven
ed32b20c9e
chore: update frontend dependencies
2024-01-27 17:28:06 +08:00
Steven
bc2d2d0cde
feat: support set embedded content in UI
2024-01-26 22:51:57 +08:00
Steven
08ac60cc70
chore: update memo relation dialog
2024-01-25 08:59:10 +08:00
Steven
370054e040
chore: implement collapsed navigation
2024-01-21 21:02:55 +08:00
Steven
fae0b4e900
chore: update memo relation style
2024-01-21 11:22:25 +08:00
Steven
eb72609ea3
chore: update memo editor cache key
2024-01-20 20:52:11 +08:00
Steven
5172e4df7c
chore: create memo visibility when creating
2024-01-18 15:20:22 +08:00
Steven
54296f0437
chore: update filter in timeline
2024-01-18 08:06:59 +08:00
Noah Alderton
ff13d977e9
feat: add URL paste handler ( #2768 )
...
* feat: Add URL paste handler
* Check if text highlighted for URL pasting
2024-01-16 10:06:16 +08:00
Steven
ad94e8e3c6
feat: implement highlight renderer
2024-01-15 22:54:18 +08:00
Steven
fdbf2d8af2
chore: fix blockquote renderer
2024-01-15 20:41:37 +08:00
Steven
5a723f00fa
chore: split editor keydown handler
2024-01-15 20:33:42 +08:00
Noah Alderton
728a9705ea
feat: Markdown Editor Keyboard Shortcuts ( #2763 )
...
* Add bold and italic keyboard shortcut
* Add hyperlink keyboard shortcut support
2024-01-15 20:19:59 +08:00
Steven
d44e74bd1e
chore: update editor actions
2024-01-14 21:47:03 +08:00
Steven
6db7ad76da
chore: update tag selector
2024-01-13 16:26:42 +08:00
Steven
4a407668bc
chore: tweak dialog close button
2024-01-13 15:33:23 +08:00
Steven
ab1fa44f00
feat: implement markdown buttons
2024-01-13 15:09:06 +08:00
Steven
a1dda913c3
chore: fix tag selector position
2024-01-11 21:36:22 +08:00
Steven
79c13c6f83
chore: fix edit memo params
2024-01-06 09:25:17 +08:00
Steven
c58851bc97
chore: tweak accent color
2024-01-03 23:30:28 +08:00
Steven
96140f3875
chore: tweak dark mode styles
2024-01-03 23:12:50 +08:00
Steven
f74fa97b4a
chore: traverse nodes to upsert tags
2024-01-02 08:56:30 +08:00
Steven
eefce6ade3
chore: implement webhook dispatch in v2 api
2023-12-23 11:17:35 +08:00
Steven
df5aeb6d88
chore: remove v1 prefix in store name
2023-12-23 08:48:11 +08:00
Steven
b2ec0d1217
chore: add skip cache requesting
2023-12-22 20:30:28 +08:00
Steven
a3feeceace
chore: remove component v1 suffix
2023-12-22 08:29:02 +08:00
Steven
81524c38e9
chore: refactor memo module
2023-12-21 23:40:43 +08:00
Steven
abc14217f6
chore: tweak padding styles
2023-12-19 23:09:57 +08:00
Steven
a3a1bbe8de
chore: tweak responsible styles
2023-12-19 08:41:41 +08:00
Steven
5d677c3c57
chore: implement node renderer components
2023-12-17 10:49:49 +08:00
Steven
a9812592fe
chore: tweak editor border styles
2023-12-15 21:35:31 +08:00
Steven
9faee68dab
chore: code clean
2023-12-09 18:57:18 +08:00
steven
c68bfcc3b9
chore: fix user setting store
2023-12-08 09:54:32 +08:00
Athurg Gooth
ed190cd41e
fix: visibility of memo editor is empty ( #2580 )
...
Fix visibility of memo editor is empty
2023-12-06 23:17:26 +08:00
Steven
e83d483454
refactor(frontend): use auth service
2023-12-01 09:15:02 +08:00
Steven
7ef125e3af
chore: update fetch tags
2023-11-19 11:01:04 +08:00
zty
4f222bca5c
fix: keep content and query param on save when access token is invalid ( #2524 )
...
fix:
keep content on save when access token is invalid
Co-authored-by: zty <zty.dev@outlook.com>
2023-11-17 10:01:14 +08:00
Steven
0bb0407f46
chore: add overflow tips to tag
2023-11-17 08:22:47 +08:00
Athurg Gooth
6ee95a2c0c
fix: clear localStorage while draft is empty ( #2510 )
...
* Clear localStorage while draft is empty
* change == into ===
2023-11-14 10:02:16 +08:00
Mahoo Huang
f67757f606
feat: add editor auto focus preference ( #2498 )
...
* feat: add editor auto focus perference
* feat: set editor auto focus
2023-11-13 13:51:52 +08:00
Steven
5e4493b227
chore: remove debug codes
2023-11-06 23:20:26 +08:00
Steven
3266c3a58a
chore: update link styles
2023-11-05 22:26:09 +08:00
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
Steven
97190645cc
chore: update memo editor styles
2023-10-29 23:59:23 +08:00
Athurg Gooth
e41ea445c9
fix: missing relation after post comment ( #2452 )
...
fix missing relation after post comment
2023-10-27 10:12:25 +08:00
Zexi
035d71e07c
fix: visibility translation ( #2429 )
...
* fix: visibility translation
* refactor: remove useless file
* feat: add visibility icon
2023-10-23 08:06:59 +08:00
Christopher
82effea070
tweak(web): use iconbutton for editor helpers ( #2426 )
2023-10-22 22:10:27 +08:00
MotH
9aed80a4fd
feat: better tag suggestion ( #2421 )
...
Better Tag Suggestion
2023-10-22 09:15:25 +08:00
Steven
bfd2dbfee2
chore: fix update resource api
2023-10-21 12:41:55 +08:00
Steven
952539f817
chore: update memo editor dialog
2023-10-20 08:19:08 +08:00
Steven
c87b679f41
chore: add memo relation list
2023-10-19 21:26:38 +08:00
Steven
21c70e7993
feat: update memo relations dialog
2023-10-19 00:18:07 +08:00
Steven
c02f3c0a7d
chore: remove less files in editor
2023-10-14 11:55:37 +08:00
Steven
42e8d51550
chore: update i18n
2023-10-05 15:07:03 +08:00
Steven
fd7043ea40
chore: fix editor cache
2023-10-05 14:20:35 +08:00
Steven
7dc4bc5714
chore: update resource service
2023-10-03 23:44:14 +08:00
Steven
078bc164d5
chore: update memo relations view
2023-10-02 08:26:15 +08:00
Steven
e40621eb0f
chore: implement memo content views
2023-10-01 22:14:25 +08:00
Steven
6007f48b7d
chore: retire memo resource relation table
2023-09-27 00:40:16 +08:00
Zeng1998
462f10ab60
feat: optimize the logic of the checkbox button. ( #2227 )
2023-09-18 20:37:28 +08:00
boojack
b13042d644
chore: move buf generated code to gitignore ( #2236 )
2023-09-17 20:55:05 +08:00
Steven
d09e3c3658
chore: remove buf es generator
2023-09-17 20:14:45 +08:00
Steven
b233eaea97
chore: update docs link
2023-09-16 12:25:57 +08:00
Steven
fb1490c183
feat: impl resources list page
2023-09-16 11:48:53 +08:00
Steven
f0f42aea9f
chore: fix react use imports
2023-09-13 22:56:02 +08:00
Steven
36209eaef1
feat: add content cache for memo editor
2023-09-13 21:32:21 +08:00
Steven
04595a5fb1
chore: update resource icons
2023-09-13 09:12:51 +08:00
Steven
7ec5d07cb8
chore: remove fullscreen button
2023-09-10 10:48:08 +08:00
Maciej Kasprzyk
735cfda768
fix: tag suggestions positioning ( #2151 )
2023-08-18 08:41:24 +08:00
Maciej Kasprzyk
077cfeb831
feat: improve tag suggestions ( #2126 )
...
* feat: make filtering case insensitive
* fix: wrong letter case when accepting suggestion
* refactor: wrap textarea in TagSuggestions
* fix: less styles not matching common-editor-inputer
* refactor: use explanatory const names for tested value in conditional checks
* feat: style highlighted option
* feat: handle down/up arrow keys
* feat: handle enter or tab to trigger autocomplete
* fix: wrong import
* fix: tab key adding whitespace after auto-completion
* fix: starting a note with a tag
* fix: close on escape
* refactor: early version of removed wrapping and children prop
* refactor: remove unnecessary return false
* refactor: finished rewriting to not wrap editor
2023-08-16 08:54:30 +08:00
boojack
dd529f845a
fix: fetch tags in memo editor ( #2131 )
...
fix: fetch tag
2023-08-13 23:27:01 +08:00
boojack
d114b630d2
feat: add prettier sort import plugin ( #2058 )
2023-07-31 22:26:45 +08:00
Maciej Kasprzyk
5d3ea57d82
feat: tag suggestions ( #2036 )
...
* feat: figure out how to read caret position
* feat: figure out how to read caret position
* feat: create and style Editor/TagSuggestions.txs
* feat: progress on detect when to show and hide
* feat: progress on when to show and hide and setting position
* feat: toggling and exact placement done
* fix: pnpm lock problems
* feat: filter suggestions by partially typed tag name
* style: prettier
* chore: add types package for textarea-caret
* feat: handle option click
* style: prettier
* style: reorder imports
Co-authored-by: boojack <stevenlgtm@gmail.com>
---------
Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-07-30 22:55:45 +08:00
boojack
a6a1898c41
refactor: user v1 store ( #2047 )
2023-07-29 18:57:09 +08:00
Ajay Kumbhare
4ac63ba1f0
chore: disallow destructuring 't' from useTranslation ( #1973 )
2023-07-16 21:26:26 +08:00
boojack
589b104671
chore: upgrade version to v0.14.0 ( #1970 )
...
* chore: upgrade version
* chore: update
* chore: update
2023-07-16 13:48:10 +08:00
boojack
220cba84ae
chore: add dev guard for memo chat ( #1968 )
2023-07-16 13:02:52 +08:00
boojack
01f4780655
chore: update detail styles ( #1964 )
2023-07-15 22:57:57 +08:00
Ajay Kumbhare
1780225da5
feat: add typeScript support to enforce valid translation keys ( #1954 )
...
* #1952 Fix incorrect localization key for sign-up failure message
* feat: add typeScript support to enforce valid translation keys
* feat: add typeScript support to enforce valid translation keys
* fix lint errors
* fix lint error
2023-07-15 10:27:37 +08:00
Alexandr Tumaykin
6b17a27a13
feat: update russian translate and new translate message ( #1958 )
...
* feat: add russian translate and new translate message
* fix
---------
Co-authored-by: Александр Тумайкин <AATumaykin@tsum.ru>
2023-07-15 10:01:40 +08:00
SedationH
1b0efc5548
fix: use ?? in className use ( #1829 )
2023-06-15 20:05:19 +08:00
boojack
dd8c10743d
feat: memo editor dialog ( #1772 )
...
* feat: memo editor dialog
* chore: update mark
* chore: update
2023-05-30 20:23:26 +08:00
Athurg Gooth
3b1bab651a
fix: system memo visibility was replace by user's setting ( #1707 )
...
Co-authored-by: Athurg Feng <athurg@gooth.org>
2023-05-22 12:15:00 +08:00
boojack
ae1d9adf65
fix: initial system locale ( #1684 )
2023-05-20 09:39:20 +08:00
boojack
b40571095d
feat: update memo detail page ( #1682 )
...
* feat: update memo detail page
* chore: update
2023-05-20 08:39:39 +08:00
boojack
a07d5d38d6
feat: memo relation part1 ( #1677 )
...
* feat: memo relation part1
* chore: update
2023-05-18 21:29:28 +08:00
boojack
2cc5691efd
chore: update memo relation types ( #1658 )
2023-05-14 23:17:05 +08:00
boojack
e3496ac1a2
refactor: memo editor components ( #1625 )
2023-05-03 19:13:37 +08:00