Commit Graph

32 Commits (861a1e4c9ba7af7318d01362cc01833d293bc95c)

Author SHA1 Message Date
Steven 7c5261b5d2 chore: tweak resource definition 1 year ago
sunxunle ea104a5e54
chore: fix typo (#3106) 1 year ago
Steven ec206104e5 chore: tweak i18n locale 1 year ago
Steven 7d5f603482 chore: update compact view 1 year ago
Steven 7e23ceb242 chore: fix frontend linter 1 year ago
Steven e35225ff24 chore: fix resource url 1 year ago
Steven dd06278692 feat: add batch upsert tags 1 year ago
Steven 4d48f50815 chore: use resource name in frontend 1 year ago
Steven 9361613f23 chore: update timeline page 1 year ago
Steven 8095d94c97 chore: deprecate marked 1 year ago
Steven 65a34ee41a chore: update home sidebar 2 years ago
Athurg Gooth 5d69d89627
feat: week from monday in heatmap for zh-Hans and ko (#2457)
* week from monday in heatmap for zh-Hans and ko

* optimize code
2 years ago
boojack b13042d644
chore: move buf generated code to gitignore (#2236) 2 years ago
Steven d09e3c3658 chore: remove buf es generator 2 years ago
Steven fb1490c183 feat: impl resources list page 2 years ago
boojack 726300394b
chore: update image checks (#2092) 2 years ago
boojack 270a529948
chore: update resource type checks (#2081) 2 years ago
boojack d114b630d2
feat: add prettier sort import plugin (#2058) 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
CorrectRoadH 39351970d0
feat: implement memo chat frontend (#1938)
* feat: implment backend function

* feat: implment frontend component

* stash

* eslint

* eslint

* eslint

* delete node

* stash

* refactor the style

* eslint

* eslint

* eslint

* fix build error

* add dep

* Update web/src/components/MemosChat/ConversationTab.tsx

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

* Update web/src/components/MemosChat/ConversationTab.tsx

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

* feat: change the name

* disable for vistor

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
boojack 7e391bd53d
chore: remove resource public id (#1912)
* chore: remove resource public id

* chore: update
2 years ago
Athurg Gooth 1c07ae2650
fix: escape on resource filename (#1892)
add escape on resource filename
2 years ago
boojack 3060dafb45
chore: update resource link template (#1537) 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 cc23f69f66
chore: update import path (#1477) 2 years ago
boojack 6ff7cfddda
fix: return external link directly (#1465)
* fix: return external link directly

* chore: update
2 years ago
boojack 1cab30f32f
feat: add public id field to resource (#1451)
* feat: add public id field to resource

* feat: support reset resource link
2 years ago
boojack 483c1d5782
feat: update responsible layout (#1306)
* feat: update responsible layout

* chore: update
2 years ago
CorrectRoadH ddf1eb0219
feat: automatically change language on first launch (#1278)
* feat: automatically change language to browser language on first launch(#1238)

* Update web/src/store/module/global.ts

* chroe: rename languageCodeCovert to convertLanguageCodeToLocale

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
boojack 4de65ab55d
fix: url encode for tag name (#1031) 2 years ago
boojack c5368fe8d3
chore: update resource dialog style (#982) 2 years ago
boojack fae0b64a08
fix: delete tag api (#950)
* fix: delete tag api

* chore: update
2 years ago