Commit Graph

132 Commits (2c2955a2295fe08db3e5fa5e5d98cd48feef36b1)

Author SHA1 Message Date
Steven c87b679f41 chore: add memo relation list 2 years ago
Steven 21c70e7993 feat: update memo relations dialog 2 years ago
Steven 1489feb054 chore: update common dialog default color 2 years ago
Steven 3822c26e32 chore: update memo props 2 years ago
Steven b938c8d7b6 chore: only show comments in memo detail page 2 years ago
Steven 42e8d51550 chore: update i18n 2 years ago
Steven 077bf95425 chore: add pinned icon in status bar 2 years ago
Steven 91f7839b31 chore: update memo detail styles 2 years ago
Steven 078bc164d5 chore: update memo relations view 2 years ago
Steven e40621eb0f chore: implement memo content views 2 years ago
Steven fbbfb11916 chore: adjust memo elements 2 years ago
Steven d4e54f343d feat: update memo detail page 2 years ago
Steven bff41a8957 fix: invalid username checks 2 years ago
Steven 866937787c chore: clean duplicated requests 2 years ago
Steven 3df550927d chore: update user profile page 2 years ago
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