Commit Graph

36 Commits (bcfcd59642ea0857a9c7c015e7c59d2bd0192102)

Author SHA1 Message Date
Steven bcfcd59642 chore: deprecate old `MemoContent` 2 years ago
Zexi 8bc117bce9
feat: optimize media resource display (#2518)
* feat: optimize media resource display

* fix: type error

* Update web/src/components/MemoResourceListView.tsx

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

* Update MemoResourceListView.tsx

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
Steven 39a0e69b04 chore: update function name 2 years ago
Steven e60e47f76f chore: update user definition 2 years ago
Steven a76f762196 chore: update memo share dialog 2 years ago
Steven 34ae9b0687 chore: update default storage back to database 2 years ago
Steven d4e54f343d feat: update memo detail page 2 years ago
boojack 8c312e647d
chore: remove auto collapse setting (#2169) 2 years ago
Chris Akring 9503f73115
feat: use user avatar in ShareMemoDialog (#2102)
fix: ShareMemoDialog use user avata
2 years ago
boojack d114b630d2
feat: add prettier sort import plugin (#2058) 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
boojack a7573d5705
refactor: migrate memo to apiv1 (#1907)
* refactor: migrate memo to apiv1

* chore: update

* chore: update

* chore: update

* chore: upate

* chore: update

* chore: update
2 years ago
boojack e0e59c5831
feat: display memo with updated ts (#1760) 2 years ago
boojack b40571095d
feat: update memo detail page (#1682)
* feat: update memo detail page

* chore: update
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 8cdc662745
chore: update memo visibility display (#1485) 2 years ago
boojack d71bfce1a0
chore: add usage into heatmap (#1443) 2 years ago
boojack 1ea65c0b60
chore: update logo (#1442)
* chore: update logo

* chore: update
2 years ago
boojack 89ab57d738
refactor: update import prefix with alias (#1433) 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
CorrectRoadH eda27a60be
fix: incorrect sharing image gerneration (#1157) (#1205) 2 years ago
boojack 29124f56bb
chore: update memo service (#1138)
* chore: update memo service

* chore: update
2 years ago
boojack 5b0a54bfb7
chore: clean `package.json` (#993)
* chore: clean `package.json`

* chore: update
3 years ago
Zeng1998 12fda38520
feat: add customized logo in share dialog (#969)
* feat: add qrcode in share dialog

* update: change the color

* feat: add customized logo in share dialog

* update: import order

Co-authored-by: boojack <stevenlgtm@gmail.com>
3 years ago
Zeng1998 9ed503fd6d
feat: add qrcode in share dialog (#964)
* feat: add qrcode in share dialog

* update: change the color

* update: import order
3 years ago
Jasper Platenburg c167c21e4e
chore: added translation for copy memo link (#942) 3 years ago
boojack 8c146aed68
feat: update memo resources style (#933)
* feat: update memo resources style

* chore: update
3 years ago
boojack 96798e10b4
feat: support embed memo with iframe (#912) 3 years ago
boojack f6039f2eb9
chore: update dialog title (#834) 3 years ago
boojack 9f25badde3
chore: update logo format to png (#830) 3 years ago
Zeng1998 55695f2189
feat: `esc` key to exit multiple dialogs (#692)
* fix: `esc` key to exit multiple dialogs

* update

* update

* update

* Update web/src/components/Dialog/BaseDialog.tsx

Co-authored-by: boojack <stevenlgtm@gmail.com>
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