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
edf934efbb
chore: update memo style ( #1581 )
2023-04-21 14:46:41 +08:00
Lincoln Nogueira
557278fac0
feat: improve i18n support as a whole ( #1526 )
...
* feat: improve i18n support as a whole
- Remove dayjs in favor of /helpers/datetime.ts, which uses
Intl.DateTimeFormat and Date. Dayjs is not exactly i18n friendly
and has several locale related opened issues.
- Move/refactor date/time code from /helpers/utils.ts to
/helpers/datetime.ts.
- Fix Daily Review weekday not changing according to selected date.
- Localize Daily review weekday and month.
- Load i18n listed strings from /locales/{locale}.json in a dynamic way.
This makes much easier to add new locales, by just adding a properly
named json file and listing it only in /web/src/i18n.ts and
/api/user_setting.go.
- Fallback languages are now set in /web/src/i18n.ts.
- Full language codes are now preffered, but they fallback to 2-letter
codes when not available.
- The locale dropdown is now populated dynamically from the available
locales. Locale names are populated by the browser via
Intl.DisplayNames(locale).
- /web/src/i18n.ts now exports a type TLocale from availableLocales
array. This is used only by findNearestLanguageMatch(). As I was unable
to use this type in ".d.ts" files, I switched the Locale type from
/web/src/types/i18n.d.ts to string.
- Move pretty much all hardcoded text strings to i18n strings.
- Add pt-BR translation.
- Remove site.ts and move its content to a i18n string.
- Rename zh.json to zh-Hans.json to get the correct language name on
selector dropdown.
- Remove pt_BR.json and replace with pt-BR.json.
- Some minor layout spacing fixes to accommodate larger texts.
- Improve some error messages.
* Delete .yarnrc.yml
* Delete package-lock.json
* fix: 158:28 error Insert `⏎` prettier/prettier
2023-04-15 08:56:03 +08:00
boojack
df30304d00
chore: update share memo buttons ( #1498 )
2023-04-09 11:38:30 +08:00
boojack
91a24ef9ce
chore: update memo header ( #1497 )
...
* chore: update memo header
* chore: update
2023-04-09 11:05:09 +08:00
boojack
680b8ede6c
chore: adjust header style ( #1493 )
2023-04-08 21:50:07 +08:00
boojack
8cdc662745
chore: update memo visibility display ( #1485 )
2023-04-07 08:53:20 +08:00
HappyZ
609366da6e
chore: add "copy link" for each memo ( #1474 )
2023-04-06 07:12:12 +08:00
boojack
89ab57d738
refactor: update import prefix with alias ( #1433 )
2023-04-01 16:03:14 +08:00
Dmitry Shemin
b03778fa73
feat: update RU i18n locale ( #1422 )
...
* feat: Fix i18n and RU locale
* fix: eslint issues
* change the position of deps
---------
Co-authored-by: CorrectRoadH <a778917369@gmail.com>
2023-04-01 15:35:25 +08:00
Gerald
8b20cb9fd2
fix: make creation time a link to the detail page ( #1379 )
2023-03-18 22:06:44 +08:00
boojack
a9218ed5f0
refactor: filter store ( #1331 )
2023-03-11 09:13:54 +08:00
boojack
f3f0efba1e
feat: update page router ( #1330 )
2023-03-11 08:43:45 +08:00
boojack
ccdcd3d154
feat: fold memo when content overflow ( #1327 )
...
* feat: fold memo when content overflow
* chore: update
2023-03-09 23:32:35 +08:00
boojack
f86816fea2
feat: use react-hot-toast ( #1321 )
2023-03-09 08:54:14 +08:00
boojack
dd625d8edc
chore: update links reference ( #1243 )
2023-03-04 15:06:01 +08:00
boojack
6ab58f294e
feat: update home layout ( #1242 )
2023-03-04 13:49:53 +08:00
boojack
29124f56bb
chore: update memo service ( #1138 )
...
* chore: update memo service
* chore: update
2023-02-22 20:07:55 +08:00
boojack
b92da8f123
fix: check localsetting exists ( #1076 )
2023-02-11 22:54:13 +08:00
Zeng1998
7cd474dbb7
feat: add setting for double-click of memos ( #1036 )
...
* feat: add setting for double-click of memos
* update
* update
2023-02-07 20:35:41 +08:00
boojack
96798e10b4
feat: support embed memo with iframe ( #912 )
2023-01-07 01:56:02 +08:00
boojack
0f8ce3dd16
refactor: return jsx element instead of string in marked ( #910 )
...
* refactor: return jsx element instead of string in marked
* chore: update
2023-01-07 00:13:49 +08:00
Zeng1998
92a8a4ac0c
feat: support code copy ( #901 )
...
* feat: support code copy
* update
2023-01-03 23:05:00 +08:00
boojack
ef621a444f
refactor: introducing use{Module}Store instead of service ( #768 )
...
* refactor: introducing `useEditorStore`
* refactor: update
* chore: update
2022-12-18 15:25:18 +08:00
boojack
a7374cf998
fix: generate sharing memo image ( #663 )
2022-12-03 09:41:52 +08:00
boojack
c5200ca31b
feat: dark mode for dialogs ( #643 )
2022-11-30 20:34:16 +08:00
boojack
6384f5af74
feat: dark mode for main pages ( #637 )
...
* feat: update dark mode styles for auth and explore page
* feat: dark mode for home page
2022-11-29 21:44:52 +08:00
boojack
ce795a2a7d
chore: show content image ( #602 )
2022-11-27 09:01:19 +08:00
Zeng1998
e1e5121dd7
fix: get markdown image from backend ( #581 )
2022-11-26 10:20:49 +08:00
Zeng1998
5f3cade810
feat: highlight the searched text in memo content ( #514 )
...
* feat: highlight the searched text in memo content
* update
* update
* update
* update
Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-11-25 21:59:21 +08:00
boojack
50d41c456b
chore: change memo created time ( #556 )
2022-11-24 19:55:52 +08:00
boojack
66f9bc48bb
chore: remove mark memo ( #476 )
2022-11-15 21:22:08 +08:00
boojack
de2eff474c
chore: remove memo card dialog ( #475 )
2022-11-15 21:16:53 +08:00
Zeng1998
d208731f5f
feat: visibility click filter ( #463 )
...
* feat: visibility click filter
* update
Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-11-13 21:23:40 +08:00
Zeng1998
8cc0977a01
fix: image url extraction ( #453 )
...
fix: image-url-extraction
Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-11-12 21:25:50 +08:00
Zeng1998
1e3b8315a0
chore: update MemoResources props ( #432 )
2022-11-09 22:10:31 +08:00
Zhou Yunliang
91a61e058a
feat: view all images of a memo ( #393 )
...
* feat: view all images of a memo
* fix: function arguments
* refactor: unified image preview
* refactor: image preview for resource dialog
Co-authored-by: XQ <qiaobingxue1998@163.com>
2022-11-02 12:00:28 +00:00
winwin2011
d347b7a91e
chore: pin button color ( #399 )
2022-11-02 06:42:20 +08:00
boojack
9d8c9609c3
feat: cache editing memo id ( #388 )
...
* feat: cache editing memo id
* chore: update
2022-10-31 21:39:22 +08:00
boojack
40d5686031
chore: update unpin memo ( #386 )
2022-10-31 11:27:56 +00:00
boojack
29966451b6
feat: unpin button in the corner ( #374 )
...
* feat: unpin button in corner
* chore: update
2022-10-30 05:21:24 +00:00
boojack
b68d6e2693
feat: update memo sort option setting ( #326 )
...
feat: add memo display ts
2022-10-21 11:57:57 +00:00
Zeng1998
bf5b7e747d
feat: customize memo list sorting rules ( #312 )
...
* chore: update .gitignore
* feat: 添加Memo列表按更新时间排序
* fix go-static-checks
* update
* update
* update Memo.tsx/MemoList.tsx
* handle conflict
Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-10-19 21:00:34 +08:00
boojack
086b10717f
feat: upload files by dropping ( #292 )
2022-10-14 22:59:30 +08:00
f97
2ea612e2fe
feat: add copy button to memo ( #267 )
...
* feat: copy-content
* Update web/src/less/memo-detail.less
Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-10-05 16:39:04 +08:00
steven
b959acc69d
fix: update marked test cases
2022-10-04 14:35:07 +08:00
boojack
51fb8ddb07
feat: simple markdown parser ( #252 )
...
* feat: simple markdown parser
* chore: rename test file name
* feat: add plain text link parser
* chore: update style
2022-10-02 22:49:30 +08:00
steven
8e63b8f289
chore: update interval flag type
2022-10-01 23:01:32 +08:00
Steven
77a3513a6b
chore: update memo detail page
2022-09-24 09:31:20 +08:00