boojack
4af0d03e93
chore: add user profile page ( #2175 )
...
chore: some enhancements
2 years ago
boojack
8c312e647d
chore: remove auto collapse setting ( #2169 )
2 years ago
boojack
d3bd3ddab0
chore: update some detail styles ( #2168 )
...
* chore: update some detail styls
* chore: update
2 years ago
boojack
9f8a0a8dd3
fix: lazy rendering checks ( #2130 )
2 years ago
boojack
843850675f
chore: update image displays ( #2093 )
2 years ago
boojack
7189ba40d3
feat: add lazy rendering in home page ( #2085 )
2 years ago
boojack
d114b630d2
feat: add prettier sort import plugin ( #2058 )
2 years ago
boojack
a6a1898c41
refactor: user v1 store ( #2047 )
2 years ago
Gerald
95675cdf07
fix: show full content in detail page ( #2041 )
...
fix #1373 again
2 years ago
Alexandr Tumaykin
f91f09adea
feat: use username instead of uid ( #1977 )
...
* #1916 replace userId to username
* resolve
---------
Co-authored-by: Александр Тумайкин <AATumaykin@tsum.ru>
2 years ago
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
2 years ago
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>
2 years ago
boojack
0292f472e0
chore: add data empty placeholder ( #1913 )
2 years ago
boojack
db8b8f0d58
chore: remove unused kit components ( #1871 )
2 years ago
boojack
dd8c10743d
feat: memo editor dialog ( #1772 )
...
* feat: memo editor dialog
* chore: update mark
* chore: update
2 years ago
boojack
e0e59c5831
feat: display memo with updated ts ( #1760 )
2 years ago
boojack
2e34ce90a1
chore: upgrade version `0.13.1` ( #1754 )
2 years ago
boojack
ae1d9adf65
fix: initial system locale ( #1684 )
2 years ago
boojack
b40571095d
feat: update memo detail page ( #1682 )
...
* feat: update memo detail page
* chore: update
2 years ago
boojack
a07d5d38d6
feat: memo relation part1 ( #1677 )
...
* feat: memo relation part1
* chore: update
2 years ago
boojack
edf934efbb
chore: update memo style ( #1581 )
2 years ago
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
2 years ago
boojack
df30304d00
chore: update share memo buttons ( #1498 )
2 years ago
boojack
91a24ef9ce
chore: update memo header ( #1497 )
...
* chore: update memo header
* chore: update
2 years ago
boojack
680b8ede6c
chore: adjust header style ( #1493 )
2 years ago
boojack
8cdc662745
chore: update memo visibility display ( #1485 )
2 years ago
HappyZ
609366da6e
chore: add "copy link" for each memo ( #1474 )
2 years ago
boojack
89ab57d738
refactor: update import prefix with alias ( #1433 )
2 years ago
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>
2 years ago
Gerald
8b20cb9fd2
fix: make creation time a link to the detail page ( #1379 )
2 years ago
boojack
a9218ed5f0
refactor: filter store ( #1331 )
2 years ago
boojack
f3f0efba1e
feat: update page router ( #1330 )
2 years ago
boojack
ccdcd3d154
feat: fold memo when content overflow ( #1327 )
...
* feat: fold memo when content overflow
* chore: update
2 years ago
boojack
f86816fea2
feat: use react-hot-toast ( #1321 )
2 years ago
boojack
dd625d8edc
chore: update links reference ( #1243 )
2 years ago
boojack
6ab58f294e
feat: update home layout ( #1242 )
2 years ago
boojack
29124f56bb
chore: update memo service ( #1138 )
...
* chore: update memo service
* chore: update
3 years ago
boojack
b92da8f123
fix: check localsetting exists ( #1076 )
3 years ago
Zeng1998
7cd474dbb7
feat: add setting for double-click of memos ( #1036 )
...
* feat: add setting for double-click of memos
* update
* update
3 years ago
boojack
96798e10b4
feat: support embed memo with iframe ( #912 )
3 years ago
boojack
0f8ce3dd16
refactor: return jsx element instead of string in marked ( #910 )
...
* refactor: return jsx element instead of string in marked
* chore: update
3 years ago
Zeng1998
92a8a4ac0c
feat: support code copy ( #901 )
...
* feat: support code copy
* update
3 years ago
boojack
ef621a444f
refactor: introducing `use{Module}Store` instead of service ( #768 )
...
* refactor: introducing `useEditorStore`
* refactor: update
* chore: update
3 years ago
boojack
a7374cf998
fix: generate sharing memo image ( #663 )
3 years ago
boojack
c5200ca31b
feat: dark mode for dialogs ( #643 )
3 years ago
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
3 years ago
boojack
ce795a2a7d
chore: show content image ( #602 )
3 years ago
Zeng1998
e1e5121dd7
fix: get markdown image from backend ( #581 )
3 years ago
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>
3 years ago
boojack
50d41c456b
chore: change memo created time ( #556 )
3 years ago