Commit graph

35 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
Zeng1998
f3090b115d
feat: support local storage (#1383)
* feat: support local storage

* update

* update

* update

* update
2023-03-19 19:37:57 +08:00
boojack
ff8851fd9f
fix: golangci-lint version (#1381)
* chore: update interface declare

* chore: update args

* chore: update

* chore: update
2023-03-18 22:34:22 +08:00
boojack
29f784cc20
feat: update find resource with linked memo amount (#1354)
* feat: update find resource with linked memo amount

* chore: remove unused test
2023-03-15 00:04:52 +08:00
boojack
977e7f55e5
feat: add visibility field to resource (#1185) 2023-02-27 21:26:50 +08:00
boojack
f74d1b7bf8
chore: remove resource cache (#1059) 2023-02-10 08:43:39 +08:00
boojack
6c3ff6de63
chore: get resource blob optional (#991) 2023-01-25 16:11:02 +08:00
boojack
c5368fe8d3
chore: update resource dialog style (#982) 2023-01-21 08:46:49 +08:00
boojack
575a0610a3
chore: revert "feat: add visibility field to resource (#743)" (#751)
Revert "feat: add `visibility` field to resource (#743)"

This reverts commit b68cc08592.
2022-12-16 22:20:17 +08:00
boojack
b68cc08592
feat: add visibility field to resource (#743) 2022-12-15 21:15:16 +08:00
boojack
dc5d705f8c
feat: vacuum records manually (#420) 2022-11-06 04:21:58 +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
Steven
349c383604 chore: reorder memo resource 2022-10-14 23:14:08 +08:00
steven
0b9b89db81 chore: update VACUUM 2022-10-04 10:48:45 +08:00
steven
85dc29bfb9 feat: add linkedMemoAmount to resource 2022-10-03 09:39:49 +08:00
steven
9f8c0ce567 fix: raw data cache 2022-10-01 10:37:02 +08:00
steven
4c465bef2d feat: add memo resource apis 2022-09-30 22:58:59 +08:00
Steven
4608894e56 fix: add _foreign_keys to sqlite dsn 2022-09-18 22:48:26 +08:00
boojack
76801dfa4f
chore: vacuum db file after deleting resource (#210) 2022-09-10 23:43:19 +08:00
Steven
4743818fe7 chore: update not found handler in deleting 2022-09-03 18:54:22 +08:00
boojack
d8e10ba399 chore: use tx for stores 2022-08-07 10:17:12 +08:00
boojack
da333b0b1e chore: add store cache service 2022-08-07 08:09:43 +08:00
boojack
84564891be feat: add view resource dialog 2022-08-07 01:30:48 +08:00
boojack
7b1bad5b29 feat: update delete user api 2022-07-26 22:32:26 +08:00
boojack
011fcc7dd4 chore: rename module 2022-06-27 22:09:06 +08:00
boojack
948b53393a chore: add default ORDER BY 2022-05-22 12:35:57 +08:00
boojack
8e01eb8702 feat: store/db module with sqlite 2022-05-22 00:59:22 +08:00
boojack
bc22f69ac5 refactor: raw struct for store 2022-05-19 18:32:04 +08:00
boojack
fbf4afff8e refactor: store 2022-05-16 07:37:23 +08:00
boojack
d947a512e6 chore: typo Id to ID 2022-05-03 02:05:43 +08:00
email
516ca61b73 chore: update deploy guide doc 2022-02-06 11:26:53 +08:00
email
4535e0ce6d fix: resource api 2022-02-04 18:54:24 +08:00
email
d661134b03 refactor: backend 2022-02-03 15:32:03 +08:00
STEVEN
1fb8018f0b
chore: update err handler (#12) 2021-12-15 10:55:17 +08:00
STEVEN
aa40793a68
Add resources api (#9)
* feat: add resource api

* update delete model return variables
2021-12-14 20:08:12 +08:00