Commit Graph

64 Commits (5a2f18da69d3b004b67401d4dec8bf694bbeb459)

Author SHA1 Message Date
Johnny 5a2f18da69 refactor(frontend): retire redux 3 months ago
johnnyjoy 732a7d0bbf chore: add fa locale 3 months ago
RoccoSmit 35cf975e76
fix: apply system theme dynamically (#4010)
Remove appearance comparison
7 months ago
Steven b8763905ba chore: tweak naming 12 months ago
Steven 144269fbbc chore: fix router 12 months ago
Steven ff175bbb7e refactor: update resource binary request handler 12 months ago
Steven 4338234641 chore: retire storage related functions 1 year ago
Steven 755d5b83c6 chore: retire legacy setting api 1 year ago
Steven 18d16abdb5 chore: update workspace service 1 year ago
Steven dfe29ec766 chore: tweak route layout 1 year ago
Steven e602aeecc1 fix: update workspace general setting 1 year ago
Kristián 03d67d5a00
feat: add mermaid support in codeblock (#2971) 1 year ago
Steven e3afad74ce fix: update initial wasm 1 year ago
Steven 554f93eccc fix: move initial wasm into app 1 year ago
Steven 1857362d03 fix: locale and appearance setting 1 year ago
Steven 9ffd827028 fix: appearance and locale initial value 1 year ago
Hanqin Guan 15e6542f0d
fix: server overrides user's locale/appearance (#2771) 1 year ago
Lincoln Nogueira 089e04bcfd
chore: use webp compression on logo (#2756)
- Logo size reduced from 310 KB to 36 KB.
- Point metadata image URL to local logo instead of remote
1 year ago
Steven df5aeb6d88 chore: remove v1 prefix in store name 1 year ago
Steven 919f75af1a chore: update suspense loading 1 year ago
Steven d6656db20d feat: implement part of full-screen layout 1 year ago
Athurg Gooth aff1b47072
chore: remove debug log (#2582)
Remove debug log
1 year ago
Steven e83d483454 refactor(frontend): use auth service 1 year ago
Steven d95a6ce898 chore: add ar locale item 2 years ago
Steven 771fe394fd chore: fix initial guide 2 years ago
Steven 16dad8b00d chore: update logo 2 years ago
Steven 936fe5ac9d chore: update state initial loader 2 years ago
Steven 416e07cb1f fix: inject additional style and scripts 2 years ago
Steven b6d1ded668 chore: adjust initial states 2 years ago
boojack d114b630d2
feat: add prettier sort import plugin (#2058) 2 years ago
boojack e3496ac1a2
refactor: memo editor components (#1625) 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 1ea65c0b60
chore: update logo (#1442)
* chore: update logo

* chore: update
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
boojack a9218ed5f0
refactor: filter store (#1331) 2 years ago
boojack f86816fea2
feat: use react-hot-toast (#1321) 2 years ago
M. Gschwandtner 278b4d21b4
fix: prioritize user css by moving it to the body end (#847)
Co-authored-by: M. Gschwandtner <84477901+OnlyPain-ctrl@users.noreply.github.com>
2 years ago
boojack 9f25badde3
chore: update logo format to png (#830) 2 years ago
boojack b67ed1ee13
feat: customize system profile (#774)
* feat: system setting for customized profile

* chore: update

* feat: update frontend

* chore: update
2 years ago
boojack ef621a444f
refactor: introducing `use{Module}Store` instead of service (#768)
* refactor: introducing `useEditorStore`

* refactor: update

* chore: update
2 years ago
boojack 5e978e2cfc
chore: update color scheme listener (#735) 2 years ago
boojack 4a64a4dea8
fix: html lang attr (#718) 2 years ago
boojack 4a9314c476
chore: rename `enableFoldMemo` (#671)
* chore: rename `enableFoldMemo`

* chore: update
2 years ago
boojack 4767ee3293
feat: support follow system appearance (#670) 2 years ago
boojack 14f9f29348
chore: update user setting appearance (#654) 2 years ago
boojack 7c6d7226f5
feat: update appearance selector (#645) 2 years ago
boojack c5200ca31b
feat: dark mode for dialogs (#643) 2 years ago
Wence b8f24af5ae
feat: dynamic lazy loading route with simple loading page (#632)
* feat: dynamic loading route with simple loading page

* fix: lint fix

* Update web/src/less/loading.less

Co-authored-by: boojack <stevenlgtm@gmail.com>

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
boojack 55f37664ef
chore: add theme file for joyui (#635) 2 years ago
boojack a0667abec8
chore: update data initial requests (#538) 2 years ago