jack zhang
2a4c356bc2
fix: bug ( #4038 )
2024-04-15 11:56:12 +08:00
ChengLei Shao
ad75debeaa
fix: array operator with camel case field ( #4032 )
...
* fix: array operator with camel case field
* fix: test
* fix: test
2024-04-14 10:51:14 +08:00
Chareice
ed26c2ebea
fix: vitest config
2024-04-13 20:45:12 +08:00
Zeke Zhang
a00f4ac69b
test: fix e2e to make pass
2024-04-13 12:53:25 +08:00
xilesun
d66c2baa53
chore(versions): 😊 publish v0.21.0-alpha.7
2024-04-13 09:37:59 +08:00
katherinehhh
3fd5b05940
fix: scopeKeyOptions should be obtained in real-time ( #4029 )
...
* fix: formula field caluation error
* fix: scopeKeyOptions
* fix: bug
* fix: bug
2024-04-13 09:28:24 +08:00
Zeke Zhang
f36bc41a11
fix(addText): should use FormItemSchemaToolbar instead of BlockSchema… ( #3963 )
...
* fix(addText): should use FormItemSchemaToolbar instead of BlockSchemaToolbar
* chore: unskip
* fix: add component Slider
2024-04-13 09:14:46 +08:00
ChengLei Shao
7f936832b9
feat: register once hook in datasource manager ( #4024 )
...
* chore: datasource hook
* feat: register once hook in datasource manager
* chore: api name
* chore: test
2024-04-13 08:24:10 +08:00
jack zhang
1fad32db80
fix: vitest single bug ( #4031 )
2024-04-12 22:22:16 +08:00
jack zhang
91254bdf55
test: add frontend unit test ( #3991 )
...
* test: add unit test
* fix: build error
* fix: exclude requirejs
* fix: e2e bug
* fix: block delete refresh(T-3936)
* fix: add test utils
* fix: build bug
* fix: remove test only
* fix: kanban bug
* fix: add more unit tests
* fix: coverage bug
* fix: update
* fix: refactor
* fix: add more tests
* fix: unit test bug
* fix: refactor code
* fix: refactor nocobase test
* test: add test case
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-12 21:55:37 +08:00
Zeke Zhang
17793c2ab9
feat: support Others option in popup ( #4015 )
...
* feat: support Others option in popup
* chore: hide Other records in popup for edit form
* chore: rename 'Others' to 'Other records'
* fix: in other records, the data table does not need to filter itself
* feat: optimize title for association block
* fix: template
* fix: block title
* chore: fix e2e
* fix: should use compile
* fix: remove useVisible
* test: add e2e
2024-04-12 19:14:18 +08:00
katherinehhh
1658415402
fix(collection-manager): no refresh after override the field ( #4022 )
...
* refactor: code improve
* fix: bug
2024-04-12 17:57:38 +08:00
YANG QIA
a18dab363a
chore: add export & import warnings ( #4027 )
...
* chore: add export & import warnings
* chore: update
2024-04-12 16:22:18 +08:00
katherinehhh
bfbec4c004
refactor: third party data source support sort field grouped sorting edit ( #4023 )
...
* fix: formula field caluation error
* refactor: third party data souce support sort field grouped sorting configure
2024-04-12 16:09:05 +08:00
katherinehhh
d4b4391aba
test: association name block e2e test ( #4021 )
...
* fix: initializer use useAassociationName
* test: association table block e2e test
2024-04-12 00:24:06 +08:00
chenos
e1533ec800
fix: get api url ( #4020 )
2024-04-11 23:02:34 +08:00
Zeke Zhang
beab81818f
fix(Sub-details): the initializer button is not displayed when the field value is empty ( #4019 )
...
* test: add e2e
* fix: remove return
2024-04-11 23:02:04 +08:00
katherinehhh
0f0ccfa9da
fix: initializer use useAassociationName ( #4018 )
2024-04-11 21:56:34 +08:00
Zeke Zhang
fa815aeb3c
fix(TreeTable): add child error ( #4008 )
...
* fix(TreeTable): add new error
* test: add e2e for T-3235
* fix: parentId
2024-04-11 17:25:46 +08:00
katherinehhh
6d7ecba59e
fix: remove active field should not clear value ( #4012 )
...
* fix: remove active field
* fix: fix field value submission on field removal
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-11 17:23:31 +08:00
ChengLei Shao
fd2becd650
fix(plugin-acl): datasource roles snippet ( #4016 )
2024-04-11 15:41:24 +08:00
katherinehhh
82df150c30
refactor: tree table is not enabled by default ( #4001 )
...
* refactor: table block do not enable trees by default
* fix: bug
* fix: bug
* fix: bug
2024-04-11 14:10:30 +08:00
s1v
699fd52b8e
Update application.ts ( #4006 )
...
The runAsCLI function's options argument is an optional argument. However, there were instances where it was being treated as a regular argument, which was causing errors. I have changed it to be nullable.
2024-04-11 00:18:30 +08:00
katherinehhh
89ad13de29
fix: tag filed setting ( #4009 )
...
* fix: tag filed setting
* fix: tag filed setting
2024-04-10 21:51:07 +08:00
YANG QIA
127e2b332b
fix(users): remove phone validation due to incorrect check of foreign phone numebrs ( #4005 )
2024-04-10 17:14:44 +08:00
katherinehhh
ca49cc9dbd
fix: association block action permission verification failed ( #3994 )
...
* fix: association block action permission verification failed
* test: association block action permission test
* fix: useDataBlockProps
* fix: useDataBlockProps
* fix: useResourceName
* fix: bug
* fix: bug
* fix: bug
* fix: bug
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-10 16:38:37 +08:00
katherinehhh
e9f0e32a26
refactor: fields for table sorting cannot select sorting fields with scopekey ( #3984 )
...
* refactor: fields for table sorting cannot select sorting fields with scopeke y
* refactor: sort field
* refactor: sort field
2024-04-10 16:37:18 +08:00
Zeke Zhang
b7fc50e47e
fix(Form): invalid parentRecord ( #3998 )
...
* test: add e2e
* fix(Form): invalid parentRecord
* chore: make e2e more stable
* chore: make e2e more stable
* test: fix e2e
2024-04-10 15:22:34 +08:00
Junyi
a38ce654af
fix(plugin-workflow): adjust locale ( #3993 )
2024-04-10 15:20:43 +08:00
katherinehhh
7b2e042598
fix: sub -table support allowSelectExistingRecord setting ( #4004 )
2024-04-10 15:07:48 +08:00
Zeke Zhang
3dcbdf3592
test: fix e2e
2024-04-10 12:30:54 +08:00
ChengLei Shao
0bb5d5f5ee
chore(database): set null value when field is unique and value is empty string ( #3997 )
...
* chore(database): set null value when field is unique and value is empty string
* fix: build
2024-04-10 08:49:19 +08:00
ChengLei Shao
6595fde713
chore(gateway): report error with cause message ( #3999 )
2024-04-09 22:43:12 +08:00
ChengLei Shao
1e0501cd96
fix: restore with table name in camel case ( #3995 )
2024-04-09 19:10:29 +08:00
katherinehhh
8eee6756d4
fix: gantt collapse & expand ( #3982 )
2024-04-09 16:37:02 +08:00
Zeke Zhang
de7b75fea7
fix(BulkForm): should be required when switching to 'Changed to' ( #3965 )
...
* fix(BulkForm): should be required when switching to 'Changed to'
* fix: clear error on value is empty
* chore: optimize unit test log
2024-04-09 16:07:14 +08:00
chenos
dc8dbdd1cb
fix: move action ( #3985 )
2024-04-09 13:07:41 +08:00
katherinehhh
771fdf48fc
refactor: sort field should not has defaultValue ( #3986 )
2024-04-09 12:25:06 +08:00
YANG QIA
d46dc75125
chore: adjust and add api comments ( #3951 )
2024-04-08 19:43:00 +08:00
Zeke Zhang
cceb326239
chore: skip failed test
2024-04-08 19:07:32 +08:00
katherinehhh
bbdfad4ea3
refactor: select options configuration ( #3964 )
2024-04-08 17:40:59 +08:00
Zeke Zhang
ce0f4ddf04
fix(GridCard): set the count of columns displayed in a row ( #3960 )
...
* fix(GridCard): set the count of columns displayed in a row
* test: add e2e
* chore: fix e2e
2024-04-08 15:23:52 +08:00
Junyi
d14f8d23d7
chore: remove legacy formula plugins ( #3939 )
...
* chore: remove legacy formula plugins
* fix(plugin-formula-field): fix readme
2024-04-08 08:44:10 +08:00
chenos
6017c01f02
chore(versions): 😊 publish v0.21.0-alpha.6
2024-04-07 21:52:45 +08:00
Zeke Zhang
ef53f4abca
fix(LinkageRules): should be effective immediately ( #3958 )
...
* test: add e2e
* fix: fix bug
2024-04-07 19:49:43 +08:00
Zeke Zhang
286ddb6b38
fix(Picker): should display Allow add new data option ( #3957 )
2024-04-07 19:36:42 +08:00
Zeke Zhang
d75db22777
fix(connect-data-blocks): should immediately show in the drop-down menu ( #3953 )
...
* test: add e2e tests
* fix: should immediately show in the drop-down menu
* fix: should not lose the filtering function when dragging and connecting
2024-04-07 17:21:26 +08:00
jack zhang
606ef55db8
fix: left menu title modify ( #3956 )
2024-04-07 16:14:02 +08:00
jack zhang
89b73ba389
fix: template list provider bug ( #3950 )
2024-04-07 14:29:20 +08:00
katherinehhh
e81cfcbe98
refactor: nanoid &uuid autoFill ( #3955 )
2024-04-07 13:55:21 +08:00
ChengLei Shao
ac1e07ff52
fix: save uuid & nano id field value with sequelize validation ( #3952 )
2024-04-07 12:10:42 +08:00
chenos
b63a685f84
chore(versions): 😊 publish v0.21.0-alpha.5
2024-04-07 11:06:02 +08:00
chenos
099316fa8d
fix(client): can not find bignumber.js module
2024-04-07 11:05:46 +08:00
katherinehhh
04b6d79dcb
fix: throughCollection support fuzzy search ( #3949 )
2024-04-07 09:53:53 +08:00
chenos
31713390b5
chore(versions): 😊 publish v0.21.0-alpha.4
2024-04-07 08:33:05 +08:00
chenos
04762f4028
fix: getSourceKeyByAssocation ( #3947 )
...
* fix: getSourceKeyByAssocation
* fix: getSourceKeyByAssocation
2024-04-07 08:28:42 +08:00
Zeke Zhang
f1f9f3ec28
fix(RichText): unify style ( #3946 )
2024-04-06 19:41:52 +08:00
Zeke Zhang
10ad3f16fd
fix(connectDataBlocks): should add FilterBlockProvider to Grid ( #3944 )
...
* fix(connectDataBlocks): should add FilterBlockProvider to Grid
* chore: fix unit test
2024-04-06 18:57:32 +08:00
Zeke Zhang
1bcfc5bb8e
chore: add appVersion to Schema ( #3936 )
...
* chore: add appVersion to Schema
* refactor: rename appVersion to x-app-version
* fix: should not override existing x-app-version
* chore: fix build
2024-04-06 17:26:54 +08:00
Zeke Zhang
aae936aa01
fix: fix sourceId of templates ( #3941 )
...
* chore: add sourceId
* chore: add e2e
* fix: fix sourceId of templates
* chore: add e2e for Form
* chore: make e2e more stable
* test: skip test
2024-04-06 17:14:30 +08:00
katherinehhh
bd6ffcef83
fix(collection manager): collection manager primarykey & nanoid & uuid suport index setting ( #3943 )
...
* fix: formula field caluation error
* fix: collection manager primarykey
* fix: nanoid & uuid suport index
2024-04-06 16:26:24 +08:00
chenos
d2b808671b
chore(versions): 😊 publish v0.21.0-alpha.3
2024-04-06 13:04:57 +08:00
katherinehhh
2a41573bd7
fix: nanoid availableTypes ( #3942 )
2024-04-06 12:31:10 +08:00
katherinehhh
c7c61e005f
fix: automatically generate default values ( #3940 )
2024-04-06 11:07:29 +08:00
katherinehhh
cca2987511
fix: formula field caluation error ( #3938 )
...
* fix: formula field caluation error
* fix: bug
2024-04-06 10:56:25 +08:00
katherinehhh
d8e969b9ae
fix: formula field support format ( #3928 )
2024-04-06 08:15:22 +08:00
Zeke Zhang
b750cab942
refactor: unify tab initailizer naming ( #3932 )
...
* refactor: rename dialog to popup
* feat: add tabPaneInitializers
* refactor: rename TabPaneInitializers to popup:addTab
* refactor: rename TabPaneInitializersForCreateFormBlock to popup:addTab
* refactor: rename TabPaneInitializersForBulkEditFormBlock to popup:addTab
* chore: fix unit tests
* chore: fix e2e
2024-04-05 23:19:09 +08:00
Zeke Zhang
385ac5a488
fix: add zIndex to Lightbox overlay style ( #3934 )
2024-04-05 21:57:39 +08:00
Zeke Zhang
2d0482449d
fix(Table): fix the problem that the content of the association field is not displayed ( #3930 )
...
* test: add e2e test
* fix(Table): fix the problem that the content of the association field is not displayed
* fix(Calendar): avoid infinite loops
2024-04-05 16:02:25 +08:00
Junyi
781d7c038e
fix(evaluators): fix array flatten ( #3931 )
2024-04-05 12:41:43 +08:00
katherinehhh
a4cbec293d
refactor: main data source view collection support filterTargetKey ( #3818 )
2024-04-05 12:11:51 +08:00
katherinehhh
aa96a16d1d
fix: formula field calculation error ( #3929 )
...
* fix: formula field calculation error
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* test: foumula e2e test
2024-04-05 09:52:08 +08:00
ChengLei Shao
4ac2875d51
fix: load view collection belongs to association with source options ( #3912 )
...
* chore: view collection belongs to source field test
* chore: test
* fix: load field with source attribute
* chore: test
2024-04-05 09:49:23 +08:00
katherinehhh
e7187e536d
fix: edit form unchanged should not appear unSaveed warning when cloas modal ( #3920 )
2024-04-04 22:42:05 +08:00
Zeke Zhang
59c1aea942
fix(Collapse): fix error for chinaRegions ( #3925 )
...
* fix: fix error for chinaRegions
* fix: collapse
2024-04-04 14:47:09 +08:00
katherinehhh
4006b17a53
fix: number display format ( #3924 )
2024-04-04 10:32:15 +08:00
Zeke Zhang
e0521170d1
fix(defaultValue): should immediate effect when set default value ( #3923 )
2024-04-04 09:50:46 +08:00
katherinehhh
6e5a2c81b3
feat: action support refreshDataBlockRequest configuration ( #3882 )
...
* feat: action support refreshDataBlockRequest configuration
* feat: refreshDataBlockRequest
* fix: block templates
* fix: bug
* fix: bug
* refactor: submitted
* fix: bug
* fix: bug
* refactor: refreshDataBlockRequest
* refactor: refreshDataBlockRequest
* refactor: refreshDataBlockRequest
* refactor: refreshDataBlockRequest
* refactor: refreshDataBlockRequest
* refactor: refreshDataBlockRequest
* refactor: refreshDataBlockRequest
* refactor: refreshDataBlockRequest
* refactor: refreshDataBlockRequest
* refactor: refreshDataBlockRequest
* fix: bug
* fix: bug
* fix: bug
* fix: bug
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-04 09:30:13 +08:00
katherinehhh
fcd2b766cf
refactor: formBlockProvider & detailBlockProvider ( #3898 )
...
* refactor: formBlockProvider
* refactor: detailBlockProvider
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* refactor: code improve
2024-04-04 09:29:09 +08:00
chenos
d173aef69b
chore(versions): 😊 publish v0.21.0-alpha.2
2024-04-03 23:31:25 +08:00
chenos
daec9aec98
fix: nginx static file caching
2024-04-03 23:30:03 +08:00
Zeke Zhang
2f40bfab2b
chore: add API comments ( #3919 )
...
* chore: add API comments
* refactor: rename
2024-04-03 23:19:54 +08:00
Zeke Zhang
0a64855bfe
fix: fix Pagination ( #3921 )
2024-04-03 23:18:19 +08:00
chenos
187a587e68
fix: update plugin ( #3895 )
2024-04-03 21:15:28 +08:00
katherinehhh
fc503321ae
fix: gantt block pagination ( #3918 )
...
* fix: gantt block pagination
* fix: gantt block pagination
2024-04-03 20:48:51 +08:00
chenos
2be065984c
fix: source id null ( #3917 )
...
* fix: source id null
* refactor: use parentRecord instead of sourceId
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-03 20:41:23 +08:00
Zeke Zhang
fb43a3b479
fix(Table): fix Pagination ( #3916 )
...
* fix(Table): fix Pagination
* test: add e2e
2024-04-03 19:26:39 +08:00
Zeke Zhang
768dfc624a
fix: get the correct sourceId ( #3897 )
...
* fix(withDynamicSchemaProps): replace recursive merge with simple merge
* refactor: add useDetailsByAssociationRecordDecoratorProps
* chore: update comment
* fix: get the correct sourceId
* test: add e2e
* refactor: extract to template
* refactor: add x-is-current
* refactor: optimize code
* Revert "refactor: optimize code"
This reverts commit b2b03c3c0c
.
* refactor: add useSourceIdCommon hook and update usage in multiple files
* fix(EditForm): refactor form block sourceId logic
* chore: add test for form block
* chore: update comment
* fix: fix filterKey assignment in useParentRequest function
* refactor: refactor useParentRequest function to use fieldCollection for filterTargetKey
* refactor: extract to useSourceKey
* refactor: optimize code
2024-04-03 16:36:20 +08:00
Zeke Zhang
ac655f6866
fix(DataScope): fix no immediate effect issue after saving ( #3910 )
...
* fix(DataScope): fix immediate effect issue after saving
* test: add e2e
* refactor: extract to template
2024-04-03 16:17:18 +08:00
katherinehhh
953d9b2e6e
fix: select field options initialValue ( #3911 )
2024-04-03 16:02:12 +08:00
jack zhang
0fc1d96a48
fix: external link click ( #3908 )
2024-04-03 15:56:13 +08:00
katherinehhh
986dc85392
fix(inputNumber): loss of accuracy in inputNumber ( #3902 )
...
* fix: inputNumber loss of accuracy
* fix: bug
* test: fix test
* fix: test
* fix: test
2024-04-03 15:47:36 +08:00
YANG QIA
d23f3a3999
docs: add api comment ( #3868 )
...
* docs: add api comment
* chore: update
* fix: build
2024-04-03 12:30:33 +08:00
jack zhang
4d9fc79250
fix: vitest config bug ( #3907 )
2024-04-03 09:58:30 +08:00
jack zhang
84d2a47361
fix: table fixed bug ( #3901 )
2024-04-03 09:25:52 +08:00
jack zhang
cc75f6f4d2
fix: lazy render bug ( #3886 )
...
* fix: lazy render bug
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-03 09:13:45 +08:00
katherinehhh
6fd456faf7
fix: sort params missing ( #3906 )
2024-04-03 09:04:57 +08:00
Zeke Zhang
e572f6645e
refactor: change useProps to x-use-component-props ( #3853 )
...
* refactor: update TableV2 component props
* refactor: update Action component
* refactor: update Filter.Action
* refactor: update FormV2
* refactor: update TableV2.Selector
* refactor: update Details
* refactor: update Action.Link
* refactor: about acl
* refactor: useCustomizeUpdateActionProps
* refactor: update decrator FormV2
* refactor(plugin-data-visualization): useProps to x-use-component-props
* refactor: update Pagination
* refactor: update CalendarV2
* refactor: update TitleField
* refactor: useProps
* refactor: update AssociationFilter.Item
* feat(withDynamicSchemaProps): support function useComponentPropsStr
* refactor: update FormDataTemplates
* chore: fix unit tests
* chore: fix e2e
* refactor: update
* feat(withDynamicSchemaProps): support to use dot
* refactor: update
* refactor: update
* chore: avoid error
2024-04-02 21:38:40 +08:00
Zeke Zhang
65b5504d65
fix(withDynamicSchemaProps): change deep merge to shallow merge ( #3899 )
...
* fix(withDynamicSchemaProps): change deep merge to shallow merge to avoid error
* refactor: remove useless code
2024-04-02 14:20:18 +08:00
jack zhang
ea5565b571
fix: tar bug ( #3891 )
2024-04-01 23:04:11 +08:00
Zeke Zhang
85f33cedbe
chore: update vitest configuration
2024-04-01 22:35:28 +08:00
ChengLei Shao
ba76c77212
chore: return bigInt as string type ( #3887 )
...
* chore: test
* chore: return bigInt as string
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* chore: postgres BIGINT parser
* chore: test
2024-04-01 22:08:10 +08:00
Zeke Zhang
80caec7050
feat: adjust menu of add new ( #3884 )
...
* feat: adjust menu of add new
* fix: fix known bugs
* fix: fix known bugs
* chore: fix e2e
* chore: rename
* chore: add translation
* chore: add translation
* chore: make test more stable
* test: add e2e
* refactor: extract templates
* chore: make e2e more stable
2024-04-01 17:14:19 +08:00
katherinehhh
9c8b3f4530
fix: fieldNames missing when setting data scope ( #3892 )
...
* fix: fieldNames missing when setting data scope
* test: add e2e
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-01 16:17:51 +08:00
jack zhang
88b317f937
fix: deps check error when dev add production plugin ( #3848 )
...
* fix: deps check error when dev add production plugin
* fix: bug
2024-04-01 14:18:00 +08:00
jack zhang
28ca702ab9
fix: workflow tabs not exists ( #3889 )
2024-04-01 11:31:54 +08:00
katherinehhh
25c902b2a7
fix: association field support data scope linkage ( #3888 )
2024-04-01 10:45:13 +08:00
katherinehhh
f909f4c376
fix: templateBlockProvider support association field append ( #3866 )
...
* fix: templateBlockProvider support association field append
* fix: linkage rule for add new form
* test: linkage rule fireImmediately test
2024-04-01 10:42:56 +08:00
Chareice
1775c6a57e
chore: format
2024-03-31 19:14:15 +08:00
Chareice
3409a113dc
fix: vitest config
2024-03-31 19:13:58 +08:00
ChengLei Shao
79f14d9024
chore: main datasource api ( #3880 )
...
* chore: main datasource api
* chore: test
* chore: console.log
* chore: middleware order
* chore: test
* chore: middleware order
* chore: test
* chore: middleware options
2024-03-31 16:22:45 +08:00
Zeke Zhang
a93d2ddab2
chore: optimize e2e test
2024-03-31 10:44:06 +08:00
ChengLei Shao
6bbaea2946
feat: run vitest with coverage ( #3802 )
...
* chore: vitest coverage
* chore: vitest coverage config
* chore: vitest coverage config
* chore: vitest coverage config
* chore: report storage dir
* chore: exclude lib dir
* chore: coverage report dir
* fix: client and server coverage
* fix: bug
* fix: coverage storage dir
---------
Co-authored-by: dream2023 <1098626505@qq.com>
2024-03-31 10:07:18 +08:00
Zeke Zhang
19c6695b19
fix: avoid duplicate menu keys ( #3885 )
2024-03-31 08:46:27 +08:00
ChengLei Shao
89733247bd
fix: reject update when filter is empty object ( #3777 )
...
* fix: reject update when filter is empty object
* chore: valid filter when destroy data
* fix: test
* refactor(utils): move isValidFilter to utils
* chore: test
* chore: test
* chore: test
* fix(plugin-workflow-manual): fix test case
* fix(plugin-workflow-manual): add filter check for update form in manual node
* chore: validate filter params as middleware
* chore: action filter validate in data-source-manager
* chore: acl filter params validate test
* chore: move validate filter params middleware into core
* Update nocobase-test-e2e.yml
* chore: only run workflow's tests
* chore: only run workflow's tests
* fix: updateRecordForm
* Revert "chore: only run workflow's tests"
This reverts commit 64ce124171
.
* Revert "chore: only run workflow's tests"
This reverts commit b9057b35ec
.
---------
Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: hongboji <j414562100@qq.com>
2024-03-30 21:50:54 +08:00
ChengLei Shao
b1aa6cff5e
chore: update field with primary key attribute ( #3852 )
...
* chore: update field with primary key attribute
* chore: test
* fix: build
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* fix: test
* fix: test
* fix: test
* chore: unique index name
* fix: test
* chore: test
2024-03-30 21:24:06 +08:00
katherinehhh
2d7a427c5a
refactor: uuid & nanoid support default value configuration ( #3830 )
...
* refactor: uuid & nanoid support default value
* chore: autoFill attribute in uuid & nanoid field
* chore: test
---------
Co-authored-by: Chareice <chareice@live.com>
2024-03-30 20:45:27 +08:00
jack zhang
8a1345a5b8
feat: table performance ( #3791 )
...
* fix: table add useMemo and useCallback
* fix: memo bug
* fix: sub table bug
* fix: form item performance
* fix: settings center performance impove
* fix: bug
* fix: bug
* fix: form first value change check performance
* fix: revert first form change
* fix: css move out component
* fix: page change table should not render
* fix: pre process merge bug
* fix: assotion bug
* fix: input and useDeppMemoized performance
* fix: bug
* fix: bug
* fix: improve Action.tsx lazy show content
* fix: remove Action performance imporve
* fix: assocication read pretty not loading
* fix: cssInJs imporve
* fix: imporve kanban rerender
* fix: remove useless CurrentAppInfoProvider in plugin
* fix: divide the schema into several parts
* fix: tabs.tsx and Page.tsx divide
* fix: form-item imporve
* fix: add OverrideSchemaComponentRefresher
* fix: page and tabs bug
* fix: workflow bug
* fix: remove useDeepMemorized()
* fix: e2e bug
* fix: internal Tag and viewer
* fix: collection field read pretty mode skip
* fix: others performance
* fix: revert collection field read pretty
* fix: table column not render when value is null or undefined
* fix: table and grid add view check
* fix: kanban lazy render
* fix: remove table useWhyDidYouUpdate
* fix: table index skip loading
* fix: card drag rerender loading
* fix: e2e skip lazy render
* fix: e2e bug
* fix: action e2e bug
* fix: grid and kanban card
* fix: remove override refresher component
* fix: unit test bug
* fix: change schema component props name
* fix: e2e and unit test bug
* fix: e2e bug
* fix: not lazy render when data length less 10 (T-3784)
* chore: fix merge
* chore: fix e2e
* fix: drag bug (T-3807)
* fix: repetitive refresh (T-3729)
* fix: pre fix merge confict
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-03-30 20:31:11 +08:00
Junyi
7a3a2c4845
fix(client): fix diabled in filter dynamic component ( #3874 )
2024-03-30 12:49:13 +08:00
katherinehhh
e1dca5deab
fix(formula-field): formula field set form value change ( #3873 )
...
* fix: formula field set form value change
* test: form edit unsave change
2024-03-30 09:04:56 +08:00
katherinehhh
eb9b19ddcf
fix: formBlockProvider block display ( #3877 )
2024-03-30 09:03:17 +08:00
chenos
6e20ab1a77
chore(versions): 😊 publish v0.21.0-alpha.1
2024-03-29 17:43:20 +08:00
jack zhang
005b5a313d
fix: association parent request ( #3865 )
...
* fix: association parent request
* fix: bug
2024-03-29 15:59:41 +08:00
Zeke Zhang
d0746b1155
test: add unit test for parseHTML ( #3870 )
2024-03-29 14:52:20 +08:00
YANG QIA
868a487b2d
fix(data-vi): bug when filtering chart with assocations ( #3867 )
...
* fix(data-vi): bug when filtering chart with assocations
* fix: remote select
2024-03-29 14:13:59 +08:00
chenos
11536cb0e0
fix(client): the reference template was deleted by mistake
2024-03-29 12:14:10 +08:00
chenos
672d1d9a45
fix: using jest-dom instead of vitest-dom
2024-03-29 09:24:40 +08:00
jack zhang
a38e34cf9a
fix: table settings get collectionField ( #3837 )
...
* fix: table settings get collectionField
* fix: remove duplicate useCollectionField
* fix: bug
* refactor: tagComponentFieldSettings
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-03-29 09:12:52 +08:00
Zeke Zhang
29af40f504
style(Help): optimize style
2024-03-29 08:40:16 +08:00
chenos
0ec3ed3c54
fix(server): commands failed to load properly on Windows ( #3858 )
2024-03-29 06:46:37 +08:00
Zeke Zhang
08162e1004
fix(LinkageRules): should work properly after the block is saved as a template ( #3855 )
...
* test: add e2e
* chore: optimize e2e
* fix: use context in Form
2024-03-28 22:03:22 +08:00
katherinehhh
44e7f48f99
test: main data source e2e test ( #3816 )
...
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: main data source e2e test
* test: test
* test: test
* refactor: code improve
* test: test
2024-03-28 21:04:53 +08:00
jack zhang
467699cdf9
fix: delete field style improve ( #3820 )
2024-03-28 16:54:31 +08:00
katherinehhh
9a66301ec7
refactor: default role & default field storage ( #3844 )
...
* refactor: default role & default field storage
* refactor: verification
* refactor: verification
2024-03-28 16:47:43 +08:00
katherinehhh
0191070547
refactor: linkage rule fireImmediately ( #3847 )
2024-03-28 14:46:55 +08:00
katherinehhh
e88082232d
fix: reporting error when clicking on the print button for the detail block ( #3845 )
2024-03-28 14:42:56 +08:00
chenos
8a215e2fbe
fix(acl): available actions
2024-03-28 14:28:15 +08:00
jack zhang
1dfd97cad5
create nocobase app unit test ( #3833 )
...
* fix: unit test package bug
* fix: client esm
* fix: nocobase test e2e esm format (T-2824)
2024-03-28 11:08:08 +08:00
chenos
f2d4188ccf
feat: update docker config
2024-03-28 10:44:55 +08:00
Zeke Zhang
2468caeeb9
refactor(DataBlock): details block ( #3776 )
...
* refactor: remove useless code related 'TableField'
* refactor: add details block UI schema and hooks
* refactor: update details block schema and create new hook for details block without paging props
* refactor: add useDetailsBlockWithoutPagingDecoratorProps and useDetailsBlockWithPagingDecoratorProps
* test: add unit tests
* chore: fix build
* chore: fix import path for withDynamicSchemaProps
* fix: fix import typo in createDetailsBlockWithoutPagingUISchema test
* chore: fix unit test
* refactor: should not get collection on getting association in UISchema
* chore: fix unit test
* refactor: use x-use-component-props instead of useProps
* chore: fix Pagination
* chore: skip weird tests
* chore: remove weird test
* refactor: update details block initializers and associated schemas
* refactor: rename to useDetailsWithPaginationProps
* refactor: rename to useDetailsWithPaginationDecoratorProps
* refactor: rename to createDetailsWithPaginationUISchema
* chore: fix unit test
* refactor: rename to createDetailsUISchema
* refactor: rename to useDetailsDecoratorProps
* refactor: rename to useDetailsProps
* refactor: rename to 'blockSettings:details'
* chore: fix e2e
2024-03-28 08:48:58 +08:00
jack zhang
7566a7b357
fix: client internal method (T-3711 and T-3712 and T-3713) ( #3839 )
...
* fix: client internal method (T-3711 and T-3712 and T-3712)
* fix: bug
2024-03-27 21:03:51 +08:00
Zeke Zhang
d932546194
refactor(DataBlock): grid card block ( #3781 )
...
* refactor: migrate createGridCardBlockSchema to modules
* refactor: add grid-card block hooks and decorator props
* refactor: should not get collection on getting association in UISchema
* refactor: use x-use-component-props instead of useProps
* chore: fix build
2024-03-27 20:56:30 +08:00
Zeke Zhang
d6f38495a7
refactor(DataBlock): filter form ( #3785 )
...
* refactor: migrate to modules
* refactor: add useFilterFormBlockProps
* refactor: add useFilterFormBlockDecoratorProps hook
* chore: avoid error
* refactor: use x-use-component-props instead of useProps
* chore: fix unit test
* chore: fix build
2024-03-27 20:52:29 +08:00
Zeke Zhang
74051ff0a5
refactor(DataBlock): kanban and gantt and map and calendar ( #3792 )
...
* refactor: kanban
* refactor: gantt
* refactor: map
* refactor: calendar
* refactor: compat
* refactor: rename to createKanbanBlockUISchema
* refactor(kanban): use x-use-component-props instead of useProps
* refactor(Gantt): rename to createGanttBlockUISchema
* refactor: use x-use-component-props instead of useProps
* refactor: rename
* refactor(Map): use x-use-component-props instead of useProps
* refactor(Calendar): rename
* refactor(Calendar): should not get collection on getting association in UISchema
* refactor(Calendar): use x-use-component-props instead of useProps
* chore: add comment
* chore: fix unit test
* fix: add scopes to fix e2e
* fix(Calendar): add association property to CalendarBlockProvider decorator
* test: add e2e for Calenndar
2024-03-27 18:06:28 +08:00
Zeke Zhang
71005ff9bf
refactor(DataBlock): filter collapse block ( #3786 )
...
* refactor: filter collapse block
* refactor: rename file name
2024-03-27 18:05:07 +08:00
Zeke Zhang
16cad6972e
refactor(DataBlock): table selector ( #3784 )
...
* refactor: extract to common options
* refactor: migrate to modules
* test: add unit test
* refactor: use x-use-component-props instead of useProps
* chore: fix unit test
* chore: rename
* fix: useExpressionScope
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-03-27 17:51:13 +08:00
Zeke Zhang
76cd3474c3
refactor(DataBlock): list block ( #3779 )
...
* refactor: refactor list block initializer and record association list block initializer
* refactor: add useListBlockDecoratorProps
* chore: fix import path to avoid build error
* refactor: should not get collection on getting association in UISchema
* refactor: use x-use-component-props instead of useProps
* chore: fix unit test
2024-03-27 17:41:56 +08:00
Zeke Zhang
c6922b071d
refactor(DataBlock): form block ( #3771 )
...
* refactor: extract to createCreateFormBBlockUISchema
* refactor: extract to createEditFormBlockUISchema
* refactor: use new function to create UISchema
* refactor: add x-use-decorator-props
* fix: add withDynamicSchemaProps to FormBlockProvider
* chore: update import path for withDynamicSchemaProps
* refactor: should not get collection on getting association in UISchema
* refactor: use x-use-component-props instead of useProps
* fix: fix withDynamicSchemaProps
* chore: fix unit test
2024-03-27 17:32:26 +08:00
chenos
cfa6930d70
fix(client): disable the default onSubmit event of the form ( #3834 )
2024-03-27 16:37:33 +08:00
chenos
d04a60d386
fix: e2e-failed ( #3828 )
...
* fix: e2e-failed
* fix: ci
* fix: ci bug
* fix: ci(skip server ci)
* fix: ci [skip ci]
* fix: ci(skip server ci)
* fix: ci
* fix: ci
* fix: remove skip if
---------
Co-authored-by: dream2023 <1098626505@qq.com>
2024-03-27 12:03:00 +08:00
jack zhang
e32666b191
Optimize building tools ( #3824 )
...
* fix: build support dir
* fix: add build retry
* fix: vite warning ignore
2024-03-27 07:45:29 +08:00
chenos
b1be8381b5
fix(filter-form): htmlType=submit
2024-03-26 19:51:14 +08:00
chenos
339822241f
chore(versions): 😊 publish v0.20.0-alpha.17
2024-03-26 17:25:06 +08:00
katherinehhh
59e6b4a757
feat: read pretty input number field support display format config ( #3815 )
...
* feat: input number support display format
* feat: input number support display format
* feat: input number support display format
* feat: input number support display format
* feat: input number support display format
* feat: input number support display format
* refactor: local improve
* refactor: local improve
* refactor: code improve
* refactor: locale improve
* test: input-number
* test: input-number
* test: input-number
2024-03-26 17:23:14 +08:00
Zeke Zhang
ac5a82fde3
fix(Table): fix invalid pagination ( #3821 )
...
* fix(Table): fix invalid pagination
* test: add test
* fix: unit test bug
---------
Co-authored-by: dream2023 <1098626505@qq.com>
2024-03-26 17:15:34 +08:00
chenos
c4aa8b78c2
chore: add tsdoc ( #3788 )
...
* chore: tsdoc
* chore: tsdoc
* fix: error
* chore: code format
* chore: code format
2024-03-26 17:08:45 +08:00
Junyi
b6ae528d80
chore(test): fix agent type ( #3819 )
2024-03-26 14:51:40 +08:00
jack zhang
36372c9614
fix: embed plugin need hooks and e2e change ( #3727 )
2024-03-26 14:32:52 +08:00
Zeke Zhang
e3d8a95809
fix(associationBlock): fix association blocks for parent collection f… ( #3813 )
...
* fix(associationBlock): fix association blocks for parent collection fields
* test: add e2e
2024-03-26 11:42:46 +08:00
Zeke Zhang
b690a3afd1
chore(e2e): update retries in defineConfig
2024-03-26 11:37:27 +08:00
Zeke Zhang
1c32983c00
refactor(DataBlock): table block ( #3748 )
...
* refactor: remove useless code
* chore: remove useless code
* feat: add createTableBlockSchema
* refactor: use createTableBlockUISchema
* refactor: extract useTableBlockParams
* refactor: extract useTableBlockSourceId
* refactor: compat
* refactor: fix typo in createTableBlockUISchema file
* refactor: should not get collection on getting association in UISchema
* refactor: use x-use-component-props instead of useProps
* chore: fix unit tests
* fix: fix errors
* refactor: refactor data block source ID hooks
2024-03-25 17:35:57 +08:00
Zeke Zhang
0269a1ff7d
fix(Details): block template ( #3807 )
...
* fix: add 'Details' in condition
* fix: block template
2024-03-25 16:25:41 +08:00
ChengLei Shao
2195a31f5b
chore: cascade can replace set null action ( #3812 )
2024-03-25 16:02:52 +08:00
YANG QIA
088f3977a2
feat(data-vi): support multiple data sources ( #3743 )
...
* feat(data-vi): support multiple data sources
* chore: update
* chore: new pr
* chore: update
* chore: merge
* fix: bug
* fix: isDBInstance
* fix: fix T-3624
* fix: fix T-3625
* fix: test
* fix: fix T-3659
* fix: fix T-3660
* fix: backend tests
* fix: acl
* fix: fix T-3680
* fix: build
2024-03-25 14:54:13 +08:00
Junyi
d691e4c7e6
feat(plugin-workflow): support multiple data source in workflow ( #3739 )
...
* feat(plugin-workflow): support multiple data source in workflow
* fix(plugin-workflow): fix test cases
* test(plugin-workflow-sql): debug test case
* fix(plugin-workflow): fix collection trigger creation without config
* test(plugin-workflow-sql): debug test case
* fix: workflow e2e test
* chore(ci): disable console intercept in vitest
* chore(ci): disable console intercept in vitest
* chore(ci): disable console intercept in vitest
* chore(ci): disable console intercept in vitest
* test(plugin-workflow-sql): debug test case
* test: approval e2e
* fix: remove pro-plugins from packages
* refactor(plugin-workflow): support pass collection from props to CollectionBlockInitializer
* test(plugin-workflow): add test case
* fix(plugin-workflow): disable modification of executed workflow
* fix: e2ePageObjectModel
* fix: load data source when data source load failed (#3793 )
* chore: console.log
* fix(subTable): fix sorting rule setting (#3795 )
* fix: through collection support search (#3800 )
* fix(client): visible -> useVisible
* fix(client): fix action designer error occured in custom form (#3801 )
* fix(client): fix action designer error occured in custom form
* fix(client): fix from the source
* chore(module): remove submodule
* fix(plugin-workflow): fix client cycling import
* fix(plugin-workflow): fix collection event name
* fix(plugin-workflow): fix undefined ref
---------
Co-authored-by: hongboji <j414562100@qq.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: katherinehhh <shunai.tang@hand-china.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-03-25 14:46:22 +08:00
Zeke Zhang
f2828cd8b0
chore: add options for matching and ignoring test files in e2e and p-test commands ( #3811 )
2024-03-25 12:29:44 +08:00
katherinehhh
5e22103e33
chore: file collection template preset fields should be disabled ( #3810 )
2024-03-25 11:39:52 +08:00
katherinehhh
66229cc92b
fix: plugin manager keywords ( #3809 )
2024-03-25 09:51:57 +08:00
chenos
aa6e753b35
fix: update the locale file requires a reboot
2024-03-25 09:46:45 +08:00
katherinehhh
88d1bdbefb
fix: expand action and add new action should support drag & sort ( #3808 )
2024-03-24 19:44:39 +08:00
chenos
921696f40b
fix: useExpressionScope ( #3805 )
2024-03-24 12:51:41 +08:00
ChengLei Shao
5ee278557d
chore: set default association reference on delete action to no action ( #3722 )
...
* chore: tmp commit
* chore: build association reference
* fix: test
2024-03-24 09:37:52 +08:00
chenos
71ec7ece6a
chore(versions): 😊 publish v0.20.0-alpha.16
2024-03-23 17:54:02 +08:00
jack zhang
b879d11235
fix: hide child when useVisible() is false ( #3803 )
2024-03-23 11:14:56 +08:00
Junyi
e82a33f1f7
fix(client): fix action designer error occured in custom form ( #3801 )
...
* fix(client): fix action designer error occured in custom form
* fix(client): fix from the source
2024-03-23 10:24:51 +08:00
chenos
0d2ed3f8a0
fix(client): visible -> useVisible
2024-03-23 08:12:42 +08:00
katherinehhh
4f0907be1b
fix: through collection support search ( #3800 )
2024-03-22 23:08:17 +08:00
Zeke Zhang
cef18eb979
fix(subTable): fix sorting rule setting ( #3795 )
2024-03-22 16:42:34 +08:00
Chareice
428bf79298
chore: console.log
2024-03-22 13:59:39 +08:00
ChengLei Shao
4e145a8868
fix: load data source when data source load failed ( #3793 )
2024-03-22 12:20:12 +08:00
katherinehhh
f385c34c72
fix: filter does not allow passing empty objects ( #3780 )
2024-03-21 16:32:51 +08:00
katherinehhh
36ce29eace
fix: first character entered in foreign key input is not displayed ( #3770 )
2024-03-20 17:27:33 +08:00
chenos
bef9c8ab7b
chore(versions): 😊 publish v0.20.0-alpha.15
2024-03-20 14:47:28 +08:00
katherinehhh
77cae4779a
fix: uuid & nanoid should be disabled when editing ( #3762 )
2024-03-20 09:51:40 +08:00
Zeke Zhang
8e322ae151
test: add e2e for Disassociate
2024-03-20 09:51:06 +08:00
YANG QIA
751bd73175
fix(logger): output error cause info ( #3760 )
...
* fix(logger): output error cause info
* fix: typo
2024-03-20 09:50:04 +08:00
ChengLei Shao
5153ce9ab2
fix: uuid field ( #3736 )
...
* fix: uuid test
* chore: uuid test
* fix: test
* fix: uuid field name support edit
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-03-20 09:39:11 +08:00
chenos
54f6597b9d
feat: disassociate action ( #3759 )
...
* feat: disassociate action
* chore: compat old initializer
* chore: add translation
* chore: add translation
* fix: acl
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-03-20 09:30:10 +08:00
Chareice
02742c3c76
chore: plugin command error wrap raw error object
2024-03-19 11:01:41 +08:00
ChengLei Shao
6665aca695
fix: app stopped status ( #3723 )
2024-03-19 09:24:01 +08:00
Zeke Zhang
368036923f
fix: fix the disappearing collections when searching ( #3750 )
2024-03-19 09:00:01 +08:00
katherinehhh
23c6e146e2
fix: configure openSize for table action is only immediately valid for one row ( #3752 )
...
* fix: opensize for table action is only immediately valid for that row
* fix: opensize for table action is only immediately valid for that row
2024-03-18 19:55:03 +08:00
chenos
c75d38bb05
chore(versions): 😊 publish v0.20.0-alpha.14
2024-03-18 18:29:13 +08:00
chenos
2b1c32b34c
fix(data-source-manager): resource prefix
2024-03-18 18:28:35 +08:00
katherinehhh
2236ac5be2
refactor: url field support text type as availableTypes ( #3751 )
2024-03-18 17:58:32 +08:00
Chareice
1660a62399
chore: using text type as url field
2024-03-18 16:00:53 +08:00
chenos
220eafbda5
fix(client): plugin aliases
2024-03-18 15:55:10 +08:00
ChengLei Shao
a81fa5b8e0
chore: system logger with error stack ( #3747 )
2024-03-18 14:32:37 +08:00
Zeke Zhang
aa1823cd73
chore: adapt to plugin-custom-brand ( #3740 )
...
* chore: adapt to plugin-custom-brand
* chore: add parseHTML
* chore: adapt to plugin-custom-brand
2024-03-18 13:22:18 +08:00
chenos
3b619682ee
fix(field-interface): nested filterable
2024-03-18 09:56:28 +08:00