Commit Graph

2664 Commits

Author SHA1 Message Date
Junyi
06e7617691
refactor(client): move getFilterTargetKey api to collection (#5617)
* refactor(client): move getFilterTargetKey api to collection

* test(client): add test case

* fix(client): fix type error when build
2024-11-08 18:31:02 +08:00
nocobase[bot]
4a62b6798f Merge branch 'main' into next 2024-11-08 10:25:46 +00:00
Junyi
b186a5eb3d
fix(client): support file collection as target of one-to-many association (#5619)
* fix(client): support file collecion as target of one-to-many association

* fix(client): fix load collection
2024-11-08 18:25:26 +08:00
Zeke Zhang
06c86ddbd1 perf(wip): add custom RecursionField component 2024-11-08 18:23:40 +08:00
Zeke Zhang
a0d131bd39 Revert "Revert "perf(CollectionField): use custom RecursionField component to avoid unnecessary re-renders""
This reverts commit b3a4201a82.
2024-11-08 15:14:33 +08:00
Zeke Zhang
35ce179bf1 Merge branch 'next' into 730 2024-11-08 15:07:38 +08:00
Junyi
a223f4448e
feat(plugin-workflow): branch presetting (#5570)
* fix(client): fix core component bug and warnings

* feat(plugin-workflow): add preset and branching config before add node

* refactor(plugin-workflow): fix AddNodeContext and adjust styles

* fix(plugin-workflow): fix default config value in preset form

* fix(plugin-workflow): fix e2e cases

* fix(plugin-workflow-parallel): fix e2e test cases

* fix(plugin-workflow): fix e2e test cases
2024-11-08 13:43:39 +08:00
ChengLei Shao
c728146160
refactor: collections api (#5610)
* chore: test

* chore: list meta

* chore: list meta api

* fix: test
2024-11-08 12:44:13 +08:00
nocobase[bot]
d1b4ccc1aa chore(versions): 😊 publish v1.3.47-beta 2024-11-08 02:25:17 +00:00
Zeke Zhang
091f189a1b Merge branch 'next' into 730 2024-11-08 09:56:25 +08:00
Zeke Zhang
627d3aa548 perf(Page): reduce white screen time 2024-11-08 09:24:39 +08:00
nocobase[bot]
3733676d6e chore(versions): 😊 publish v1.4.0-alpha.6 2024-11-08 01:15:45 +00:00
nocobase[bot]
b3ea409d6c chore(versions): 😊 publish v1.4.0-alpha.5 2024-11-08 00:48:42 +00:00
nocobase[bot]
6c8a2ae3b5 chore(versions): 😊 publish v1.4.0-alpha.4 2024-11-08 00:26:17 +00:00
nocobase[bot]
3801a2e145 chore(versions): 😊 publish v1.4.0-alpha.3 2024-11-07 14:57:03 +00:00
Zeke Zhang
cdb18cb9c8 Merge branch 'main' into next 2024-11-07 22:42:24 +08:00
Zeke Zhang
3f34343890 refactor: remove useless code 2024-11-07 22:40:34 +08:00
Zeke Zhang
8c7f8c32e0 refactor(MenuEditor): remove useless code 2024-11-07 22:34:54 +08:00
Zeke Zhang
5f6df64bb2 Merge branch 'next' into 730 2024-11-07 22:00:42 +08:00
Zeke Zhang
5fb6962ec5
fix(defaultValue): fix errors in special cases (#5607)
* fix(defaultValue): fix errors in special cases

* test: add e2e test

* chore: make unit tests pass

* chore: make e2e more stable

* chore: fix e2e
2024-11-07 21:18:59 +08:00
ChengLei Shao
ef1ded8ff2
fix: import with date field (#5606)
* fix: import with dateOnly and datetimeNoTz field

* fix: import with date field

* fix: export datetime filed

* fix: test

* fix: test

* fix: test

* fix: unixtimestamp import

* chore: test
2024-11-07 21:05:58 +08:00
Zeke Zhang
3d512adade
feat(Table): add 'Hide column' configuration option (#5597)
* chore(deps): bump antd from 5.12.8 to 5.13.3

* chore: update yarn.lock

* chore: fix unit tests

* chore: make e2e tests pass

* feat(Table): add 'Hide column' configuration option

* test: add e2e test

* chore: fix build

* Revert "chore: make e2e tests pass"

This reverts commit a84a22c140.

* Revert "chore: fix unit tests"

This reverts commit 436b001c9b.

* Revert "chore: update yarn.lock"

This reverts commit 0b960251c4.

* Revert "chore(deps): bump antd from 5.12.8 to 5.13.3"

This reverts commit b165d557f6.

* chore: make e2e more stable
2024-11-07 20:47:14 +08:00
Katherine
89269ec7a4
fix: table scrollbar issue in non-config mode (#5599)
* fix: unnecessary scrollbar in non-config mode with few columns

* fix: bug

* refactor: table column
2024-11-07 17:30:53 +08:00
katherinehhh
03f5899902 Merge branch 'main' into next 2024-11-07 16:58:38 +08:00
Katherine
666c92d524
fix: issue with fuzzy search support for association fields with string-type title field (#5611) 2024-11-07 15:21:13 +08:00
Katherine
49968f8636
refactor: adjust collection categories to be loaded from the main data source and remove from global (#5602) 2024-11-07 14:52:18 +08:00
gchust
9b379c90d8
Revert "chore: use rspack as the client-side build tool for the plugin (#5575)" (#5608)
This reverts commit 388353dc5a.
2024-11-07 11:40:08 +08:00
chenos
388353dc5a
chore: use rspack as the client-side build tool for the plugin (#5575)
* fix: change plugin build tool to rspack

* fix: bug

* fix: bug

* fix: bug

* feat: upgrade rspack

* feat: upgrade  rspack

* fix: rspack config

* fix: some plugins can't be loaded

* chore: update rspack

* chore: revert rspack version due to tests failing

* chore: update rspack to 1.0.14

* fix: missing tsconfig in rspack config

* fix: pro plugins build error

* fix: incorrect dependecies docs link

---------

Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: gchust <gchust@qq.com>
2024-11-07 10:06:41 +08:00
nocobase[bot]
a2d9b52ec5 chore(versions): 😊 publish v1.4.0-alpha.2 2024-11-06 09:44:44 +00:00
nocobase[bot]
a6ac4a6384 chore(versions): 😊 publish v1.3.46-beta 2024-11-06 09:03:46 +00:00
nocobase[bot]
c004720ca6 chore(versions): 😊 publish v1.3.45-beta 2024-11-06 07:38:51 +00:00
chenos
04bb931424 fix: add disabled, multiple, value, and onChange props to QRCodeUploader 2024-11-06 15:18:08 +08:00
nocobase[bot]
e2dd54f338 chore(versions): 😊 publish v1.4.0-alpha.1 2024-11-06 06:59:06 +00:00
nocobase[bot]
1ca1a570c9 chore(versions): 😊 publish v1.4.0-alpha.0 2024-11-06 06:15:07 +00:00
chenos
b3f85cda5c fix: cannot find module 2024-11-06 14:02:06 +08:00
nocobase[bot]
b4b3e6716a Merge branch 'main' into next 2024-11-06 04:26:15 +00:00
Katherine
f8ca0da8b3
fix: validate association field permissions when checking association collection field permissions (#5569) 2024-11-06 12:04:58 +08:00
Zeke Zhang
902c85ecfc Merge branch 'next' into 730 2024-11-06 11:22:26 +08:00
Junyi
45976f37b2
feat(plugin-notification-manager): support handlebars in notification message (#5559)
* feat(plugin-notification-manager): support handlebars in message

* fix(plugin-notification-manager): fix parsing null template

* fix(plugin-notification-manager): fix compile
2024-11-06 09:59:27 +08:00
Zeke Zhang
a6f16acf1c
fix(kanban): fix incorrect appends parameter issue (#5592)
* refactor(kanban): optimize get appends function

* fix(kanban): fix incorrect appends parameter issue

* chore: remove useless code
2024-11-06 09:28:20 +08:00
Katherine
ee1dd2375f
feat: table block support size settings (#5563)
* feat: table block support size settings

* fix: bug

* fix: bug

* fix: test
2024-11-06 09:11:45 +08:00
Zeke Zhang
69541c499d perf(RequestSchemaComponent): remove loading 2024-11-06 08:46:42 +08:00
Zeke Zhang
56062b45a8 perf(RemoteCollectionManagerProvider): remove loading 2024-11-06 08:17:49 +08:00
Zeke Zhang
bae499a9ea perf(useCurrentAppInfo): remove loading 2024-11-06 07:38:10 +08:00
Zeke Zhang
33341c02f9 perf(CollectionHistoryProvider): remove loading 2024-11-06 07:22:09 +08:00
Zeke Zhang
0cb80753ad Merge branch 'next' into 730 2024-11-05 20:19:29 +08:00
nocobase[bot]
8d20967b0a chore(versions): 😊 publish v1.3.44-beta 2024-11-05 07:41:24 +00:00
nocobase[bot]
cf08c5c290 Merge branch 'main' into next 2024-11-05 07:38:29 +00:00
YANG QIA
9fd136b331
feat(client): allows to redirect to specific url after signout (#5583) 2024-11-05 15:38:09 +08:00
Katherine
a97aa1c2c1
fix: resolve error when configuring fields after adding a new data source (#5576) 2024-11-05 14:25:54 +08:00
Katherine
567524dd5e
style: increase button spacing between rows in compact theme (#5589) 2024-11-05 11:59:43 +08:00
Zeke Zhang
7d8818271c Merge branch 'next' into 730 2024-11-05 11:06:51 +08:00
katherinehhh
30dc9faf24 Merge branch 'main' into next 2024-11-05 10:50:00 +08:00
Zeke Zhang
7f6f133223 perf(SystemSettingsProvider): remove loading 2024-11-05 10:44:54 +08:00
Zeke Zhang
667b967339 fix: fix the issue of redirecting to the homepage after refreshing the page 2024-11-05 10:28:20 +08:00
chenos
f92717e1cd chore: support running multiple application processes simultaneously in development mode 2024-11-05 10:23:40 +08:00
Katherine
2f1a9100a0
refactor: remove search box when adding block to page (#5577)
* refactor:  remove search box  when adding block to page

* fix: bug
2024-11-05 10:11:00 +08:00
Katherine
812a2cb24a
fix: filter issue when setting single-select field as title field in association select (#5581) 2024-11-05 10:10:13 +08:00
Zeke Zhang
e3735eaab5 refactor: remove useless code 2024-11-05 09:54:40 +08:00
nocobase[bot]
dc3a216c2a chore(versions): 😊 publish v1.3.43-beta 2024-11-04 23:54:28 +00:00
Zeke Zhang
8958992e55 perf(CurrentUserProvider): remove loading 2024-11-04 21:43:13 +08:00
Zeke Zhang
ff5d8a5f96 perf: add skeleton component for other blocks 2024-11-04 18:13:24 +08:00
Zeke Zhang
f395e814f2 perf(react-router-hooks): improve performance 2024-11-04 17:06:55 +08:00
Feng
eeca3c7bc1
feat: table component support popup (#5580) 2024-11-04 16:10:47 +08:00
Katherine
fdf8aa6f44
fix: search field should be searched based on the translated text (#5572) 2024-11-03 19:42:55 +08:00
Zeke Zhang
c838ac70ad perf(RouteSchemaComponent): prevent unnecessary re-renders 2024-11-03 19:37:52 +08:00
Zeke Zhang
15a68eef66 perf(MenuEditor): prevent unnecessary re-renders 2024-11-03 19:34:35 +08:00
Zeke Zhang
7efab73f0d fix(InternalAdminLayout): fix the issue of missing left sidebar menu 2024-11-03 19:13:52 +08:00
Zeke Zhang
023aa0ce4f perf(MenuEditor): optimize router context 2024-11-03 18:16:06 +08:00
Zeke Zhang
d786145fc2 perf(CollectionHistoryProvider): optimize location context 2024-11-03 17:57:32 +08:00
Zeke Zhang
a1152f1ad1 refactor(ErrorBoundary): optimize code 2024-11-03 17:33:55 +08:00
Zeke Zhang
d58668f36e perf(withSkeletonComponent): use useDeferredValue 2024-11-03 17:20:12 +08:00
Zeke Zhang
def498c203 chore(SchemaSettingsDropdown): make menu visibility more stable 2024-11-03 16:35:47 +08:00
Zeke Zhang
4115f54519 perf(Details): add skeleton component 2024-11-03 16:33:11 +08:00
Zeke Zhang
8106424180 perf(useTableBlockProps): avoid unnecessary re-renders 2024-11-03 15:34:32 +08:00
Zeke Zhang
bca6d965ee perf(ActionContextProvider): add useMemo for context value 2024-11-03 14:01:34 +08:00
Zeke Zhang
728b641a20 perf(useBlockCollection): avoid unnecessary re-renders 2024-11-03 13:37:41 +08:00
Zeke Zhang
63c6206192 perf(useDataBlockRequest): prevent unnecessary re-renders 2024-11-03 13:27:15 +08:00
Zeke Zhang
583ab0b54b perf(TableBlockProvider): prevent unnecessary re-renders by splitting context 2024-11-03 12:55:23 +08:00
Zeke Zhang
063c2f7160 perf(useResourceName): avoid unnecessary re-renders 2024-11-03 11:39:02 +08:00
Zeke Zhang
2a56a91295 fix: fix unit tests 2024-11-03 10:00:43 +08:00
Zeke Zhang
ca4ad2877b fix: fix e2e error 2024-11-03 08:23:34 +08:00
Zeke Zhang
b3a4201a82 Revert "perf(CollectionField): use custom RecursionField component to avoid unnecessary re-renders"
This reverts commit 203ecc1334.
2024-11-03 06:11:05 +08:00
Zeke Zhang
203ecc1334 perf(CollectionField): use custom RecursionField component to avoid unnecessary re-renders 2024-11-03 04:54:42 +08:00
Katherine
14f843ef79
fix: issue with adding data to sub-table after deletion (#5568) 2024-11-02 22:09:36 +08:00
Katherine
0b762cf89f
fix: issue with adding data to sub-table after deletion (#5566) 2024-11-02 19:19:54 +08:00
katherinehhh
582f1d7ef8 fix: bug 2024-11-02 19:18:35 +08:00
Zeke Zhang
977c0f4c81 Merge branch 'next' into 730 2024-11-02 13:50:40 +08:00
Zeke Zhang
41c41128c2 fix(Action): make e2e tests pass 2024-11-02 13:48:54 +08:00
Zeke Zhang
4d709fa9e9 fix(filterBlocks): make e2e tests pass 2024-11-02 12:15:45 +08:00
Zeke Zhang
fee1c2999c refactor: remove deprecated API 2024-11-01 16:55:09 +08:00
Zeke Zhang
a5f93b95fb chore: make unit tests pass 2024-11-01 16:17:09 +08:00
Katherine
231b7d641b
chore: add support for Layout parameters (labelAlign, labelWidth, labelWrap) (#5521)
* chore:  support layout settings

* refactor: locale improve

* fix: test

* fix: bug

* refactor: label width

* fix: bug

* refactor: locale improve

* fix: bug

* style: style improve

* fix: test
2024-11-01 16:06:18 +08:00
Zeke Zhang
fcbe4496ce Merge branch 'next' into 730 2024-11-01 15:50:25 +08:00
Katherine
c639e7d403
feat: configure fields support serach and filter fields (#5471)
* feat: configure fields support serach and filter fields

* feat: configure fields support serach and filter fields

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: test

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-11-01 14:28:46 +08:00
Zeke Zhang
a97c5f1e06 fix: fix add tab 2024-11-01 00:23:34 +08:00
Zeke Zhang
f6de620be5 perf(PageTabs): cache rendered content to prevent re-rendering 2024-11-01 00:19:22 +08:00
Zeke Zhang
79472624b5 style(TableSkeleton): optimize style 2024-10-31 23:12:01 +08:00
Zeke Zhang
058a698fea perf(TableSkeleton): improve skeleton component performance 2024-10-31 22:49:03 +08:00
Zeke Zhang
d954d565e4 perf(Table): improve pagination performance 2024-10-31 21:08:52 +08:00