Commit Graph

5666 Commits

Author SHA1 Message Date
xilesun
56089dbdf9 fix(error-handler): test 2024-11-07 21:56:11 +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
xilesun
d5a7d7c8e7 Merge branch 'main' into next 2024-11-07 21:16:09 +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
YANG QIA
e70d2d1c9e
chore(auth): optimize error message (#5612) 2024-11-07 20:41:03 +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
nocobase[bot]
a671fff804 Merge branch 'main' into next 2024-11-07 06:52:34 +00: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
YANG QIA
c4653cb784
fix(auth): issue where users can't change password when signing in with a non-password authenticator (#5609)
* fix(auth): issue where users can't change pwd when signing in with a non-password authenticator

* chore: remove logic in basic auth
2024-11-07 14:48:41 +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
Sheldon Guo
fa64909414
chore(notification-manager): update message structure to include receivers in notification log data (#5603)
* feat: include receivers in log data for notification sending

* feat: enhance message structure to include receivers in notification sending

* feat: update message structure to include receivers in notification log data
2024-11-07 09:53:57 +08:00
nocobase[bot]
493ee41f3e Merge branch 'main' into next 2024-11-06 12:33:14 +00:00
ChengLei Shao
0082fb7dec
chore: file collection unavailable action (#5604) 2024-11-06 20:32:44 +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]
4508ba564c Merge branch 'main' into next 2024-11-06 05:47:09 +00:00
ChengLei Shao
88cc322a8c
fix: import with belongs to associations (#5417)
* fix: import with belongs to associations

* chore: test
2024-11-06 13:17:27 +08:00
ChengLei Shao
9c9e32c453
fix: acl meta with multi filter target keys (#5598)
* fix: acl meta with multi filter target keys

* chore: acl meta
2024-11-06 13:16:15 +08:00
chenos
12297a3c12 fix(cli): improve path error message for paths with spaces 2024-11-06 13:14:26 +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
Sheldon Guo
0ebaf5ef65
chore(notification-manager): add receivers to notification logs (#5561) 2024-11-06 11:46:16 +08:00
Zeke Zhang
902c85ecfc Merge branch 'next' into 730 2024-11-06 11:22:26 +08:00
nocobase[bot]
47763e68fd Merge branch 'main' into next 2024-11-06 02:29:48 +00:00
ChengLei Shao
5788841df6
fix: export with i18n (#5591) 2024-11-06 10:29: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
Sheldon Guo
ee512d7c9d
feat(notification-in-app-message): support in-app messages for mobile client (#5560)
feat(notification-in-app-message): support in-app messages for mobile client
2024-11-06 09:29:05 +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
ChengLei Shao
aad8fd7bab
chore: add middleware name (#5594)
* chore: middleware name

* chore: add name to middleware

* chore: logging
2024-11-06 00:29:06 +08:00
Chareice
5b31c1006b
chore: db logging with sql benchmark 2024-11-05 21:28:45 +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
Chareice
fa81c93aa4
fix: test 2024-11-05 13:02:07 +08:00
Chareice
2f9436d539
chore: log response size 2024-11-05 12:43:37 +08:00
Chareice
0e46d78c3c
chore: trace middleware entry logs 2024-11-05 12:39:46 +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
Chareice
2bc571eb14
fix: multi app test 2024-11-05 10:55:17 +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
d7a80d0ad6 perf(plugin-charts-old): ignore old plugin context 2024-11-03 17:46:39 +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
chenos
17582e9351
fix(multi-app-manager): sub-app asynchronous quick start (#5571) 2024-11-03 17:09: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
chenos
08ce9fa923 feat: support adding commands before app initialization 2024-11-03 15:58:32 +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
617f9b8563 chore: fix build error 2024-11-03 10:15:23 +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
f7fe41aade perf(Map): extract style 2024-11-03 05:15:59 +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
nocobase[bot]
5685b545fe Merge branch 'main' into next 2024-11-01 03:36:57 +00:00
YANG QIA
e8c232db2f
fix(api-keys): fix the URL path for API keys settings page (#5562) 2024-11-01 11:36:34 +08:00
ChengLei Shao
056d46c680
chore: load collection with schema (#5541)
* chore: load collection with schema

* chore: load collection with schema

* chore: test

* chore: test

* chore: test

* chore: test

* fix: test

---------

Co-authored-by: CHENGLEI SHAO <Chareice>
2024-11-01 06:46:55 +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
ChengLei Shao
e818195dd1
fix: merge option with filter target key (#5558) 2024-10-31 21:41:10 +08:00
Zeke Zhang
d954d565e4 perf(Table): improve pagination performance 2024-10-31 21:08:52 +08:00
Zeke Zhang
c5bd4ce6af refactor(Table): use skeleton component 2024-10-31 21:07:18 +08:00
YANG QIA
809ae5c011
feat(notification-manager): add UserSelect and UserAddition components (#5553)
* feat(notification-manager): add UserSelect and UserAddition components

* refactor(notification-manager): update type of 'reason' field to 'text'

* refactor(notification-manager): update error logging in NotificationManager

* refactor: refactor notification manager exports

---------

Co-authored-by: Sheldon Guo <sheldon_66@163.com>
2024-10-31 20:16:19 +08:00
ChengLei Shao
eec0f30d40
fix: sequelize primary key field with multi filter target keys (#5556) 2024-10-31 17:38:07 +08:00
ChengLei Shao
a985bc46a8
fix: remove data source in failed status (#5554) 2024-10-31 14:42:10 +08:00
Zeke Zhang
5965852bf6 perf(PageContent): improve performance 2024-10-31 14:18:16 +08:00
Zeke Zhang
bab0661d5c Merge branch 'next' into 730 2024-10-31 13:04:16 +08:00
Zeke Zhang
38320fe489 refactor(CollectionFieldInternalField): remove useless code 2024-10-31 08:49:30 +08:00
Zeke Zhang
2e06a04f73 perf(CollectionFieldInternalField): optimize performance of default value processing 2024-10-30 23:54:48 +08:00
Zeke Zhang
8402b039d8 perf: some minor optimizations 2024-10-30 23:52:18 +08:00
Katherine
8c28fcc706
fix: restore default value when field title is cleared (#5549) 2024-10-30 22:32:37 +08:00
Zeke Zhang
e25b2f7d3b Merge branch 'next' into 730 2024-10-30 18:24:29 +08:00
Zeke Zhang
f6fd8152cc Merge branch 'main' into next 2024-10-30 18:02:02 +08:00
Zeke Zhang
62bf6b746c chore: fix build error 2024-10-30 16:58:50 +08:00
Zeke Zhang
627f22cb24 perf(MobileNavigationBarAction): improve style performance 2024-10-30 16:07:11 +08:00
Zeke Zhang
d77e3f6798 perf(MobilePageNavigationBar): improve style performance 2024-10-30 15:57:05 +08:00
Zeke Zhang
d94fdb65c0 perf(MobilePageHeader): improve style performance 2024-10-30 15:53:04 +08:00
Zeke Zhang
f3d7795a1e perf(MobilePageContentContainer): improve style performance 2024-10-30 15:49:44 +08:00
Zeke Zhang
58ed5229c1 perf(MobileTabBar): improve style performance 2024-10-30 15:45:20 +08:00
chenos
a2b464ff14
feat: numeric precision can be configured to 8 digits (#5552) 2024-10-30 15:40:31 +08:00
Zeke Zhang
f0ef02ab99 perf(Mobile): improve style performance 2024-10-30 15:39:12 +08:00
Zeke Zhang
69c0af7745 perf(MobileTabsForMobileActionPage): improve style performance 2024-10-30 15:33:18 +08:00
Zeke Zhang
0e7a85748f perf(MobileActionPage): improve style performance 2024-10-30 15:20:07 +08:00
Zeke Zhang
e84fe5e23b perf(InternalPopoverNesterUsedInMobile): improve style performance 2024-10-30 15:15:19 +08:00
Zeke Zhang
6b5e4a87d8 perf(ActionDrawerUsedInMobile): improve style performance 2024-10-30 15:08:15 +08:00
Zeke Zhang
5d2a9ace48 perf(LinkageRules): improve style performance 2024-10-30 14:44:22 +08:00
Zeke Zhang
26f100c9e4 perf(acl): improve style performance 2024-10-30 14:37:29 +08:00
Zeke Zhang
6e992554f6 perf(ArrayCollapse): improve style performance 2024-10-30 11:53:43 +08:00
Zeke Zhang
bf57391aca refactor(style): remove useless code 2024-10-30 11:47:22 +08:00
Zeke Zhang
39f12cc4db perf(MenuItem): improve style performance 2024-10-30 11:44:33 +08:00
Zeke Zhang
5918d1e14e perf(IconField): improve style performance 2024-10-30 11:37:10 +08:00
Zeke Zhang
95cabdc409 perf(Grid): improve style performance 2024-10-30 11:23:16 +08:00
Zeke Zhang
5f9bbf580d perf(BlockItem): improve style performance 2024-10-30 11:14:02 +08:00
Zeke Zhang
9e5355cbed
fix(mobile): fix the issue of preview images being covered by page (#5535)
* refactor(mobile): replace mobile BasicZIndexProvider with zIndexContext from core library

* fix(mobile): fix the issue of preview images being covered by page
2024-10-30 11:06:29 +08:00
Zeke Zhang
96450eab58 perf(ActionPage): improve style performance 2024-10-30 11:01:40 +08:00
xilesun
c4b6a004e6 Merge branch 'main' into next 2024-10-30 10:54:41 +08:00
YANG QIA
c43933e51b
fix(tree): fix errors when updating path collection (#5551)
* fix(tree): fix errors when updating path collection

* fix: update
2024-10-30 10:47:12 +08:00
Sheldon Guo
92542ca950
chore(plugin-notification-in-app-message): improve UI and add logs (#5550)
* chore: add some log to plugin-notification-in-app-message

* refactor: improve unread message count display
2024-10-30 10:33:31 +08:00
Sheldon Guo
0c034c104e
fix: fix linkage style not updating in form (#5539)
* refactor: update useDataFormItemProps hook
* refactor: update useDataFormItemProps hook to handle null values in form and subForm
2024-10-30 10:11:37 +08:00