Commit Graph

64 Commits

Author SHA1 Message Date
CorrectRoadH 424f10e180
feat: request pagination for resource(#1425)
* feat: add support for resource page on frontend

* [WIP]feat: add backend support for limit and offset search

* feat: add reducer to add resource

* support fetch all resource when first search

* beautify the fetch ui

* restore file

* feat: add all resource before clear resource

* eslint

* i18n

* chore:change the nane

* chore: change the name of param

* eslint

* feat: setIsComplete to true when first loading resource fully

* fix the bug of fetch

* feat change finally to then

* feat: add await and async to clear and search

* feat: return all resource when fetch

* chore: change variable name

* Update web/src/pages/ResourcesDashboard.tsx

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

* fix missing const value

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-04-01 16:51:20 +08:00
CorrectRoadH 2ba54c9168
feat: upload file by drag and drop (#1388)
* stash: file upload

* feat: support file upload by drag

* feat: beautify the ui

* feat: support file upload

* stash

* fix: the resource is incorrectly when upload multiple files

* feat: beautify the ui

* chore: reduce unused line

* stash

* chore: deleted unused line

* chore: deleted unused line

* chore

* chore: change the function declare

* feat: support to prompt file is too large

* feat:drop prompt to cover all element

* fix: eslint

* fix: the name of i18n

* chore: refactor the import deps

* feat: beautify the ui

* Update web/src/locales/en.json

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

* chore: the import of  deps

* fix: the window size of fecting data

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-03-22 22:14:32 +08:00
boojack 573f07ec82
feat: support messages to ask AI (#1380) 2023-03-18 22:07:14 +08:00
boojack e5cbb8cd56
refactor: openAI config system setting (#1333) 2023-03-11 12:26:40 +08:00
boojack a9218ed5f0
refactor: filter store (#1331) 2023-03-11 09:13:54 +08:00
boojack f3f0efba1e
feat: update page router (#1330) 2023-03-11 08:43:45 +08:00
boojack ccdcd3d154
feat: fold memo when content overflow (#1327)
* feat: fold memo when content overflow

* chore: update
2023-03-09 23:32:35 +08:00
Aswath S 2428e6e190
feat: allow users to customize the refresh time for Daily Reviews (#1313)
* feat: Allow users to customize the refresh time for Daily Reviews

* feat: Allow users to customize the refresh time for Daily Reviews. Lint fix

* feat: Allow users to customize the refresh time for Daily Reviews. change daily review time offset to include only hour

* feat: Allow users to customize the refresh time for Daily Reviews. Retrigger to try CodeQL pass.

---------

Co-authored-by: Aswath S <aswath.s@thoughtworks.com>
2023-03-09 08:26:56 +08:00
boojack 483c1d5782
feat: update responsible layout (#1306)
* feat: update responsible layout

* chore: update
2023-03-08 09:00:10 +08:00
Wujiao233 003161ea54
feat: support set openai api host (#1292)
* Docker

* feat: support set openai api host

* fix css

* fix eslint

* use API in backend & put host check in plugin/openai

* fix go-static-checks
2023-03-06 20:10:53 +08:00
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>
2023-03-05 23:45:33 +08:00
boojack 9577f6dbe8
feat: add resource visibility to user setting (#1190) 2023-02-27 22:16:33 +08:00
boojack d6e4b5e889
chore: fix dispatch memo pinned (#1152) 2023-02-25 00:13:41 +08:00
boojack 84fb8b2288
feat: update storage setting section (#1140) 2023-02-23 23:22:34 +08:00
boojack 29124f56bb
chore: update memo service (#1138)
* chore: update memo service

* chore: update
2023-02-22 20:07:55 +08:00
Yoshino-s afaaec8492
feat(mode): add demo mode (#1121)
* feat(mode): add demo mode

* chroe: Update store/db/db.go

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

* chroe: Update store/db/db.go

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

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-02-19 13:36:45 +08:00
boojack caf054bae7
chore: add beta badge to storage (#1099)
* chore: add beta badge to storage

* chore: update
2023-02-16 21:21:39 +08:00
Zeng1998 2493bb0fb7
feat: storage service frontend (#1088) 2023-02-14 09:56:04 +08:00
Christopher 4641e89c17
feat(system): support for disabling public memos (#1003)
* feat(system): support for disabling public memos

* fix(web/editor): set visibility to private on disabled public memos

* feat(server/memo): find/check if public memos are disabled

* fix(server/memo): handle error for finding system error

* fix(server/memo): unmarshal visiblity when getting system settings

* chore(web): move side effect imports to end

* Update memo.go

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-02-13 16:07:31 +00:00
boojack 5455cb3164
chore: simplify editor (#1087) 2023-02-13 23:27:45 +08:00
Zeng1998 7cd474dbb7
feat: add setting for double-click of memos (#1036)
* feat: add setting for double-click of memos

* update

* update
2023-02-07 20:35:41 +08:00
boojack 5b0a54bfb7
chore: clean `package.json` (#993)
* chore: clean `package.json`

* chore: update
2023-01-26 00:35:50 +08:00
boojack c5368fe8d3
chore: update resource dialog style (#982) 2023-01-21 08:46:49 +08:00
boojack b6f7a85a2a
fix: reload page when sign out (#871) 2022-12-28 20:58:59 +08:00
Zeng1998 2e2657b39d
feat: add setting for power editor (#851) 2022-12-24 16:18:13 +08:00
boojack f6039f2eb9
chore: update dialog title (#834) 2022-12-23 19:49:44 +08:00
boojack 9f25badde3
chore: update logo format to png (#830) 2022-12-23 00:21:53 +08:00
boojack 7efa749c66
feat: customize system profile (#828) 2022-12-22 19:48:44 +08:00
boojack 68a77b6e1f
feat: create tag dialog (#814) 2022-12-21 23:59:03 +08:00
boojack b67ed1ee13
feat: customize system profile (#774)
* feat: system setting for customized profile

* chore: update

* feat: update frontend

* chore: update
2022-12-18 21:18:30 +08:00
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>
2022-12-18 10:09:12 +00:00
boojack ef621a444f
refactor: introducing `use{Module}Store` instead of service (#768)
* refactor: introducing `useEditorStore`

* refactor: update

* chore: update
2022-12-18 15:25:18 +08:00
boojack 4767ee3293
feat: support follow system appearance (#670) 2022-12-04 12:23:29 +08:00
boojack 14f9f29348
chore: update user setting appearance (#654) 2022-12-02 20:00:34 +08:00
boojack 7c6d7226f5
feat: update appearance selector (#645) 2022-12-01 20:57:19 +08:00
Zeng1998 ab8e3473a1
feat: support resources reuse (#620)
* feat: support resource reuse

* update

* update

* update

* update
2022-11-29 19:07:20 +08:00
boojack a0667abec8
chore: update data initial requests (#538) 2022-11-22 23:45:11 +08:00
boojack 66f9bc48bb
chore: remove mark memo (#476) 2022-11-15 21:22:08 +08:00
Zeng1998 da80d4ef62
fix: duration query string (#465) 2022-11-14 18:57:43 +08:00
Zeng1998 d208731f5f
feat: visibility click filter (#463)
* feat: visibility click filter

* update

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-11-13 21:23:40 +08:00
Stephen Zhou a90acdabb3
fix: route confusion entering from non-home page (#460)
Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-11-13 19:40:16 +08:00
Zeng1998 421f4dbf60
feat: select visibility in editor (#421)
* feat: editing visibility selection

* update

* update

* update variable name

* update

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-11-10 13:43:49 +00:00
boojack 1e01c4dc46
chore: update resource service (#364) 2022-10-29 09:24:56 +00:00
Zeng1998 e85d368f87
feat: patch resource filename (#360)
* feat: resource filename rename

* update: resource filename rename

* update: resource filename rename

* update: validation about the filename

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-10-29 07:40:09 +00:00
boojack 94df09c8c0
chore: update memo list api (#350) 2022-10-27 14:02:42 +00:00
boojack cb2e1ae355
fix: fetch memo with filter (#346) 2022-10-26 23:53:40 +00:00
boojack 1c2998c4d8
feat: pagination for memo list (#330) 2022-10-21 14:51:41 +00:00
boojack b68d6e2693
feat: update memo sort option setting (#326)
feat: add memo display ts
2022-10-21 11:57:57 +00:00
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>
2022-10-19 21:00:34 +08:00
Steven 0dd2337663 chore: update router 2022-09-21 21:30:33 +08:00