Commit Graph

349 Commits (3ecbbf31a9353f8bffa71dfca41eedda8b326b23)

Author SHA1 Message Date
Steven f79554371d chore: retire share dialog 1 year ago
Steven e7a788fa71 chore: tweak memo detail page 1 year ago
Steven a4235bb4bf chore: tweak tags style 1 year ago
Steven f5461264c5 chore: fix dialog background color 1 year ago
Steven 60efd3ac32 chore: tweak memo view 1 year ago
Steven 7f5148d490 chore: clean dropdown 1 year ago
Steven 264e6e6e9c chore: tweak file name 1 year ago
Steven 1994c20c54 chore: tweak setting page 1 year ago
Steven 96140f3875 chore: tweak dark mode styles 1 year ago
Steven 914c0620c4 chore: add statistics view 1 year ago
Steven e0cacfc6d6 chore: retire auto backup for sqlite 1 year ago
Steven bcfcd59642 chore: deprecate old `MemoContent` 1 year ago
Steven 5d677c3c57 chore: implement node renderer components 1 year ago
Steven 77b75aa6c4 chore: tweak memo display 1 year ago
Zexi 035d71e07c
fix: visibility translation (#2429)
* fix: visibility translation

* refactor: remove useless file

* feat: add visibility icon
2 years ago
Steven 7b25b8c1e1 feat: update daily review 2 years ago
Steven 21c70e7993 feat: update memo relations dialog 2 years ago
Steven cfc5599334 chore: cleanup less files 2 years ago
Steven c02f3c0a7d chore: remove less files in editor 2 years ago
Steven dd83358850 chore: update some styles 2 years ago
Steven 89c24415a6 chore: update not found page 2 years ago
Steven b233eaea97 chore: update docs link 2 years ago
Steven 4424c8a231 chore: add resource service definition 2 years ago
Steven 04595a5fb1 chore: update resource icons 2 years ago
Steven 7ec5d07cb8 chore: remove fullscreen button 2 years ago
boojack 4af0d03e93
chore: add user profile page (#2175)
chore: some enhancements
2 years ago
Maciej Kasprzyk 735cfda768
fix: tag suggestions positioning (#2151) 2 years ago
Moris 8747c58c7d
feat: fixed heat map colors, updated it.json (#2106)
* Update it.json

* Add files via upload

* Add files via upload
2 years ago
boojack d1b0b0da10
chore: remove shortcuts in frontend (#2071) 2 years ago
Ajay Kumbhare 83b771d5cd
fix: disable selection of future dates in daily review section (#1983)
* #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

* chore: Disallow destructuring 't' from useTranslation

This commit adds a linting rule to disallow the destructuring of the 't' property from the result of the useTranslation function call. The no-restricted-syntax rule in the ESLint configuration has been updated to enforce this restriction. The intention is to promote alternative approaches like using the useTranslate hook for localization.

* fix: typo fixed for memoChat

* fix: copy code button toast message

Refactored the code for the "Copy Code" button to utilize i18 strings for displaying the success message. Replaced the hard-coded value with the appropriate i18 string "Code copied successfully."

* fix: #1980 disable selection of future dates in daily review section
2 years ago
boojack 220cba84ae
chore: add dev guard for memo chat (#1968) 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
Athurg Gooth 811c3e8844
fix: auto expand height of setting page (#1885) 2 years ago
boojack 847b4605f4
chore: update dark mode style (#1864) 2 years ago
boojack 6b3748e2a3
chore: update setting page styles (#1863)
* chore: update setting page styles

* chore: update
2 years ago
boojack 11a385cda6
chore: update upgrade version view (#1791) 2 years ago
boojack 32e2f1d339
chore: update page routes (#1790)
chore: update routers
2 years ago
boojack dd8c10743d
feat: memo editor dialog (#1772)
* feat: memo editor dialog

* chore: update mark

* chore: update
2 years ago
boojack a07d5d38d6
feat: memo relation part1 (#1677)
* feat: memo relation part1

* chore: update
2 years ago
boojack e3496ac1a2
refactor: memo editor components (#1625) 2 years ago
boojack edf934efbb
chore: update memo style (#1581) 2 years ago
boojack 5f8aae69e4
chore: update save button style (#1542) 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 8cdc662745
chore: update memo visibility display (#1485) 2 years ago
boojack 11cd9b21de
chore: update auth form (#1445) 2 years ago
boojack d71bfce1a0
chore: add usage into heatmap (#1443) 2 years ago
boojack 2e14561bfc
chore: update logo assets (#1407) 2 years ago