Commit Graph

251 Commits (f1d6a6766e4122140fccbf1e57847f8cb0bafcd6)

Author SHA1 Message Date
Steven a76f762196 chore: update memo share dialog 1 year ago
Steven 5359d5a66d chore: add container-queries tailwind plugin 1 year ago
Steven 219304e38d chore: update frontend deps 1 year ago
boojack dfaf2ee29c
chore: update pnpm scripts (#2350)
* chore: update pnpm scripts

* chore: update development guide
1 year ago
Steven 576111741b chore: downgrade zustand 1 year ago
Steven 9ac44dfbd9 chore: update mui/joy version 1 year ago
Steven 110b53b899 chore: update frontend deps 1 year ago
Steven 70f464e6f2 chore: update frontend deps 1 year ago
Athurg Gooth 255254eb69
feat: add some dev tools in the docker compose (#2309)
* Add some dev tools in the docker compose

* Merge tsc and lint
1 year ago
Steven 08a81e79dd chore: update frontend deps 1 year ago
Steven cad789e948 chore: update frontend deps 1 year ago
Steven 4de18cfab1 chore: remove unused deps 1 year ago
Steven 72ca4e74ee refactor: impl part of grpcweb 1 year ago
Steven 4e49d3cb22 chore: update frontend deps 1 year ago
Kada Liao 9a0ada6756
feat: support LaTeX with react-katex (#2209)
feat: support latex

Co-authored-by: liaoxingyi <liaoxingyi@douban.com>
1 year ago
Steven d165ad187c chore: pnpm update 1 year ago
Steven b6d1ded668 chore: adjust initial states 2 years ago
boojack c2aeec20b7
chore: upgrade deps version (#2181) 2 years ago
boojack b9b795bf0e
chore: add react use (#2157)
* chore: add react use

* chore: update
2 years ago
boojack 843850675f
chore: update image displays (#2093) 2 years ago
boojack 238f896907
feat: add system service (#2083)
* feat: add system service

* chore: update
2 years ago
boojack b5a6f1f997
chore: regenerate pnpm lock file (#2056)
* chore: regenerate pnpm lock file

* chore: update

* chore: update
2 years ago
boojack d114b630d2
feat: add prettier sort import plugin (#2058) 2 years ago
Maciej Kasprzyk 5d3ea57d82
feat: tag suggestions (#2036)
* feat: figure out how to read caret position

* feat: figure out how to read caret position

* feat: create and style Editor/TagSuggestions.txs

* feat: progress on detect when to show and hide

* feat: progress on when to show and hide and setting position

* feat: toggling and exact placement done

* fix: pnpm lock problems

* feat: filter suggestions by partially typed tag name

* style: prettier

* chore: add types package for textarea-caret

* feat: handle option click

* style: prettier

* style: reorder imports

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

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
boojack a6a1898c41
refactor: user v1 store (#2047) 2 years ago
boojack 01f4780655
chore: update detail styles (#1964) 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 31373be172
chore: remove unused packages (#1880) 2 years ago
boojack f1d85eeaec
chore: upgrade pnpm version (#1833)
* chore: upgrade pnpm version

* chore: update
2 years ago
boojack 2e34ce90a1
chore: upgrade version `0.13.1` (#1754) 2 years ago
Stephen Zhou c081030d61
chore: lock pnpm version (#1628) 2 years ago
boojack 648634d376
chore: use pnpm (#1533)
* chore: use pnpm

* chore: update
2 years ago
boojack ef02519e72
chore: regenerate yarn lock file (#1530) 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
CorrectRoadH 81d4f01b7f
feat: add e2e test (#1486)
* add i18n

* add base e2e test

* add multiple test for e2e

* extract the funciton of write memo

* change test sturct

* deteled unused dir

* use fixture

* add fixture

* restruced the project

* feat: add workflow

* feat: change playwright test position

* feat: change playwright test position

* using yarn intead of npm

* change install method

* only enable sign in test

* adjust the order of test

* change report pos

* fix style of e2e workflow

* add review test

* unify locale

* randome write content

* change report pos

* reduce unused wait time

* reduce unused folder

* stash

* merge upstream locale

* change test name

* add test item

* change action name

* add lanuage setting

* add shotscreen

* change name of test

* fix the error of import dep

* fix the error of import dep

* fix the error of filename

* fix the format of workflow

* fix the name error of test case

* feat: change the describe of test case

* feat: remove unused test

* feat: change the fixtures name

* feat: remove unused config

* feat: change docker action

* feat: change the generate method

* feat: extrace screenshot

* feat: change extra path

* feat: change extra path

* feat: screenshot and upload

* feat: change upload filename

* feat: change login method

* feat: change e2e method

* feat: change e2e test

* feat: add wait for login

---------

Co-authored-by: CorrectRoadH <a778917369@gmail.comå>
2 years ago
boojack 91a24ef9ce
chore: update memo header (#1497)
* chore: update memo header

* chore: update
2 years ago
CorrectRoadH 3c2578f666
feat: limit the num of lines for filename (#1424)
* feat: limit the linenum of  filename

* change the implement of line-clamp
2 years ago
boojack 573f07ec82
feat: support messages to ask AI (#1380) 2 years ago
boojack f86816fea2
feat: use react-hot-toast (#1321) 2 years ago
boojack 483c1d5782
feat: update responsible layout (#1306)
* feat: update responsible layout

* chore: update
2 years ago
远浅 7c5fae68fe
fix: navigate faild silently (#1300) 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
Mehmet Altuğ Akgül e062c9b4a7
feat: add Turkish Translation file (#1202)
* Created tr.json for Turkish Translation

* updated file for trLocale

* Updated for Turkish Locale

* Update i18n.ts

* Update i18n.ts

* Update package.json

* Update package.json

* Update i18n.d.ts

* Update user_setting.go

* Update package.json

* Update web/src/components/LocaleSelect.tsx

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

* Update package.json

* Update LocaleSelect.tsx

* Update LocaleSelect.tsx

* Update i18n.ts

* Update i18n.ts

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
boojack d0b8b076cf
feat: implement sign in with SSO (#1119)
* feat: implement sign in with SSO

* chore: update

* chore: update

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

* chore: update
2 years ago
boojack 4ba9767b94
fix: use input instead of textfield (#973) 2 years ago
Zeng1998 9ed503fd6d
feat: add qrcode in share dialog (#964)
* feat: add qrcode in share dialog

* update: change the color

* update: import order
2 years ago
boojack 10430a66c3
chore: debounce search text input (#943)
* chore: debounce search text input

* chore: update
2 years ago
boojack 0f057e81e9
fix: version compare (#916)
* fix: version compare

* chore: update
2 years ago
boojack e52d77b2c4
chore: restore lockfile (#840) 2 years ago
boojack 1d2953b1b1
chore: downgrade joy-ui version (#839) 2 years ago
boojack 50811c3064
chore: update `yarn.lock` (#837) 2 years ago
boojack 37b7b983d2
chore: add vite plugin legacy (#734) 2 years ago
boojack 5d8b8c37a5
chore: upgrade vite (#728)
* chore: upgrade vite

* Revert "chore: remove lazy import component (#724)"

This reverts commit 688dc2304c.
2 years ago
boojack 56716cdad4
fix: break word (#708)
* fix: break word

* chore: update
2 years ago
boojack d1007950e0
chore: remove emoji picker (#667) 2 years ago
boojack c5200ca31b
feat: dark mode for dialogs (#643) 2 years ago
boojack cf75054106
feat: add system setting to allow user signup (#407) 2 years ago
boojack eefd0444c8
feat: add highlight for code block (#291)
* feat: add highlight for code block

* chore: update test
2 years ago
steven b959acc69d fix: update marked test cases 2 years ago
steven 17c35be426 chore: add `--passWithNoTests` to jest 2 years ago
steven df5818cdc5 chore: add `jest` 2 years ago
steven c0edb72b3d chore: update react version 2 years ago
Steven a2180f177f chore: remove `vite-plugin-pwa` 2 years ago
Steven dc3052e225 chore: release `v0.4.5` 2 years ago
Steven 366afdd1e4 feat: use `i18next` 2 years ago
boojack a1066322c8
chore: add `vite-plugin-pwa` (#230) 2 years ago
f97 e7db587a9e
feat: add emoji picker in editor (#221)
* feat: add vietnamese

* feat: add emoji picker in editor

* fix failing checks

* move emoji button before upload button

* move script to body index.html

* Update web/index.html

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
Steven 721aa3c907 chore: update `v0.4.4` 2 years ago
Steven 660908e436 chore: add `react-router` 2 years ago
boojack c5b26e3310
chore: fix copy to clipboard (#214) 3 years ago
Steven b8a7df21f2 chore: release `v0.4.3` 3 years ago
Steven 12a48ae2db chore: release `v0.4.2` 3 years ago
steven 75d622f4a2 chore: update version `v0.4.1` 3 years ago
boojack d08ba56c28
chore: release `v0.3.1` (#138) 3 years ago
boojack c703f281d9 chore: update feather icon 3 years ago
boojack 2c27f5d425
chore: release `v0.3.0` (#136) 3 years ago
boojack f02ec375a6
chore: release `v0.2.2` (#127) 3 years ago
boojack 3de00cf4a8 chore: add `dayjs` to parse datetime 3 years ago
boojack 9b5a555d1f
chore: release `v0.2.1` (#120)
* chore: release `v0.2.1`

* chore: add tg group link
3 years ago
boojack 3517c6181d chore: update `vite` 3 years ago
boojack 46d7ecca88 feat: use go embed 3 years ago
boojack 91d45d6d46
chore: release `v0.2.0` (#114) 3 years ago
boojack 6f32643d7c
refactor: visitor view (#107)
* refactor: update api

* refactor: visitor view

* chore: update seed data
3 years ago
boojack 9611ff7386
chore: release v0.1.3 (#98)
* chore: update github action

* chore: release `v0.1.3`

* fix: create migration_history table

* fix: compare migration_history
3 years ago
Steven 4871ebf24e
chore: release v0.1.2 (#88)
* chore: release `v0.1.2`

* chore: update demo.png
3 years ago
STEVEN 50fee8b0f4
chore: release `v0.1.1` (#77) 3 years ago
STEVEN cd7000da70
feat: responsive view (#75)
* chore: add license

* feat: mobile view
3 years ago
STEVEN 668276f0df
chore: release v0.1.0 (#65)
* chore: update version `v0.1.0`

* fix: initial memo filter
3 years ago
boojack b52c16c43f chore: use `axios` instead of `fetch` 3 years ago
boojack c2e5a1a524 refactor: use `redux` 3 years ago
boojack 2e9152e223 fix: web build 3 years ago
boojack 48a20c2b38 chore: update setting dialog 3 years ago
email 02b37ef466 chore: re yarn 3 years ago
email 9b0cf8af49 feat: upgrade react 18 3 years ago
email 2b5ee78397 feat: layout style(1) 3 years ago
email 017bbfa6d6 feat: add lodash-es package 3 years ago
boojack 3d8997a43a feat: use tailwindcss and show export btn 3 years ago
steven 73812cd58d feat: add eslint to frontend 3 years ago
steven bdaeb3a68b web: update restful api 3 years ago
LeeShuang 06bffd0ba5 migrate frontend 3 years ago