Commit Graph

76 Commits (a3a1bbe8de39d2dc7be7e6f24ea3986d87b38c84)

Author SHA1 Message Date
Steven a3a1bbe8de chore: tweak responsible styles 1 year ago
Steven 4d54463aeb chore: add mobile header 1 year ago
Steven d6656db20d feat: implement part of full-screen layout 1 year ago
Steven 5d677c3c57 chore: implement node renderer components 1 year ago
Steven a9812592fe chore: tweak editor border styles 1 year ago
Steven 77b75aa6c4 chore: tweak memo display 1 year ago
Steven 33dda9bf87 chore: fix auth status checks 1 year ago
t.yang 055a327b5e
fix: detail page user-avatar size have unexpected height (#2576)
Co-authored-by: tyangs.yang <tyangs.yang@hstong.com>
1 year ago
Steven 6d469fd997 chore: fix image size 1 year ago
Steven c288d49138 chore: fix decouple user name 1 year ago
Steven 39a0e69b04 chore: update function name 1 year ago
Steven e60e47f76f chore: update user definition 1 year ago
Christopher a62f1e15a6
fix: private memos being public (#2480)
* fix(web/memo): filter out public option

Filter out the public option if we have disabled public memos

* feat(api/memo): sanity check for disabled public memos

In case something goes wrong, we check the system setting on the backend in order to valdiate if we can create a public memo

* refactor(web/memo): disable public option

Seems like a better option than removing it, as it looks werid if you are looking at a memo that is previously public

* fix(web/memo): use translation keys

* chore(web/editor): remove unsused tooltip

* revert(api/memo): sanity check

* fix(web/memo): allow admins to create public memos

* chore(web/memo): remove unused import

* fix(web/memo): check for both host and admin

* fix(web/memo): remove warning text from MemoDetail
1 year ago
Zexi 035d71e07c
fix: visibility translation (#2429)
* fix: visibility translation

* refactor: remove useless file

* feat: add visibility icon
2 years ago
Steven 6f2ca6c87a chore: update find memo api 2 years ago
Steven c87b679f41 chore: add memo relation list 2 years ago
Steven 21c70e7993 feat: update memo relations dialog 2 years ago
Steven 1755c9dc79 chore: update button style 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 1cdd70e008 chore: update dark mode styles 2 years ago
Steven 42e8d51550 chore: update i18n 2 years ago
Steven fd7043ea40 chore: fix editor cache 2 years ago
Steven 8aae0d00cd chore: fix fetch comments 2 years ago
Steven 16dad8b00d chore: update logo 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 4f10198ec0 chore: add tooltip to icon buttons 2 years ago
Steven 7722c41680 chore: add edit button to memo detail page 2 years ago
Steven 0d803bf45f chore: update dark mode styles 2 years ago
Steven d4e54f343d feat: update memo detail page 2 years ago
boojack b13042d644
chore: move buf generated code to gitignore (#2236) 2 years ago
Steven 72ca4e74ee refactor: impl part of grpcweb 2 years ago
Steven f5802a7d82 chore: update access token ui 2 years ago
Steven 93f062d0b9 chore: update user v2 api 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 d114b630d2
feat: add prettier sort import plugin (#2058) 2 years ago
Gerald 95675cdf07
fix: show full content in detail page (#2041)
fix #1373 again
2 years ago
boojack 01f4780655
chore: update detail styles (#1964) 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 0292f472e0
chore: add data empty placeholder (#1913) 2 years ago
David Angel 781b1f7b3a
chore: add classnames for easy logo/server name customizations via CSS. (#1828)
Update MemoDetail.tsx
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
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