Commit Graph

71 Commits (ca336af4faa98818ec1dca422f1fb4ce958802eb)

Author SHA1 Message Date
boojack 4af0d03e93
chore: add user profile page (#2175)
chore: some enhancements
2 years ago
boojack b9b795bf0e
chore: add react use (#2157)
* chore: add react use

* chore: update
2 years ago
boojack 7189ba40d3
feat: add lazy rendering in home page (#2085) 2 years ago
boojack d1b0b0da10
chore: remove shortcuts in frontend (#2071) 2 years ago
boojack d114b630d2
feat: add prettier sort import plugin (#2058) 2 years ago
Ajay Kumbhare d000083b41
fix: hashtag filter for Unicode characters (#2017) 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
boojack 589b104671
chore: upgrade version to `v0.14.0` (#1970)
* chore: upgrade version

* chore: update

* chore: update
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
Athurg Gooth 55cf19aa2e
fix: copy-to-clipboard not works well in Safari (#1779)
* Fix copy-to-clipboard not works well in Safari

* Fix typescript type check failure

* Remove global copy inject in home page

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
Athurg Gooth 7e4d71cf58
fix: infinite loop in home page (#1773)
Fix infinite loop in home page

Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
boojack e0e59c5831
feat: display memo with updated ts (#1760) 2 years ago
CorrectRoadH d72b4e9a98
feat: filter support plain link (#1657)
* fix: unexpected empty lines when copying-pasting

* add ref

* feat: support to filter plain link

* eslint

* fix the typo

* fix the typo

* unified the import path
2 years ago
CorrectRoadH e1c809d6f1
fix: unexpected empty lines when copying-pasting (#1654) 2 years ago
João Nuno Mota b98f85d8a7
feat: add infinite scroll for memos (#1614)
Add infinite scroll for memos on home
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 f48d91539e
chore: update locale file structure (#1478) 2 years ago
boojack 89ab57d738
refactor: update import prefix with alias (#1433) 2 years ago
boojack a9218ed5f0
refactor: filter store (#1331) 2 years ago
boojack f3f0efba1e
feat: update page router (#1330) 2 years ago
boojack f86816fea2
feat: use react-hot-toast (#1321) 2 years ago
boojack 29124f56bb
chore: update memo service (#1138)
* chore: update memo service

* chore: update
3 years ago
boojack 0f8ce3dd16
refactor: return jsx element instead of string in marked (#910)
* refactor: return jsx element instead of string in marked

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

* refactor: update

* chore: update
3 years ago
Zeng1998 5f3cade810
feat: highlight the searched text in memo content (#514)
* feat: highlight the searched text in memo content

* update

* update

* update

* update

Co-authored-by: boojack <stevenlgtm@gmail.com>
3 years ago
Zeng1998 d208731f5f
feat: visibility click filter (#463)
* feat: visibility click filter

* update

Co-authored-by: boojack <stevenlgtm@gmail.com>
3 years ago
boojack bdf6d4d42a
feat: case-insensitive search (#347) 3 years ago
boojack cb2e1ae355
fix: fetch memo with filter (#346) 3 years ago
boojack e6f376ae66
fix: user setting name (#331) 3 years ago
boojack 1c2998c4d8
feat: pagination for memo list (#330) 3 years ago
boojack 2a4fc7dcc3
chore: update memo display time (#327)
* chore: update memo display time

* chore: update
3 years ago
boojack b68d6e2693
feat: update memo sort option setting (#326)
feat: add memo display ts
3 years ago
Zeng1998 bf5b7e747d
feat: customize memo list sorting rules (#312)
* chore: update .gitignore

* feat: 添加Memo列表按更新时间排序

* fix go-static-checks

* update

* update

* update Memo.tsx/MemoList.tsx

* handle conflict

Co-authored-by: boojack <stevenlgtm@gmail.com>
3 years ago
boojack 35a8817442
fix: memo list auto scroll to top (#313)
fix: editor initial content
3 years ago
Steven ffe145d436 chore: revert sidebar updates 3 years ago
h2o2o 315ab94c94
添加移动端点击自动关闭侧边栏 (#271) 3 years ago
boojack ca2557eb7e
fix: tag filter (#266) 3 years ago
steven 05e46ee4a8 fix: emoji picker style 3 years ago
boojack 51fb8ddb07
feat: simple markdown parser (#252)
* feat: simple markdown parser

* chore: rename test file name

* feat: add plain text link parser

* chore: update style
3 years ago
Steven 6c1cc1d283 chore: use conditional rendering instead of OnlyWhen 3 years ago
Steven 366afdd1e4 feat: use `i18next` 3 years ago
Steven 1591fdf61c chore: update i18n structures 3 years ago
ChasLui 7e8d1128f8
chore: update i18n (#215) 3 years ago
boojack e9ac6affef
feat: add explore page (#205) 3 years ago
Steven b884327a53 chore: update eslint rules 3 years ago
Steven 3e13fa1ce6 chore: update marked helper 3 years ago
steven 5bdf7654fc chore: update detail styles 3 years ago
Steven 57f51d1c58 feat: allow updating memo `createdTs` 3 years ago