jack zhang
a5fc22c6b0
feat: tree block ( #4566 )
...
* feat: tree block
* fix: remove showSettings
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: table tree expand
* fix: bug
* fix: connection bug T-4501
* fix: template settings bug
2024-06-11 22:53:04 +08:00
chenos
1d2ac6b85e
fix: remove grid wrap ( #4612 )
2024-06-10 15:31:19 +08:00
YANG QIA
34108f1fcb
feat(data-vi): support for using url params and current role variables ( #4586 )
...
* feat(data-vi): support for using url params and current role variable
* fix: bug
2024-06-07 11:43:11 +08:00
Zeke Zhang
837f4f4158
refactor(variable): support default value setting ( #4583 )
...
* refactor(variable): support default value setting
* chore: add e2e test for URL search params variable
* fix: resolve field linkage errors
* chore: fix unit test
* test: association select data scope linkage
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-06-07 10:23:28 +08:00
chenos
22a89861f6
feat: url support preview ( #4559 )
...
* feat: url support preview
* feat: add settings for Input.Preview
* refactor: refactor CollectionField.tsx to use dynamic component
* Revert "refactor: refactor CollectionField.tsx to use dynamic component"
This reverts commit 37719eb28e5866762459da3b269288340a21b661.
* test: add e2e test
* refactor(e2e): extract template
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-06-06 14:11:10 +08:00
Katherine
ec15f9e35a
feat: iframe support variables ( #4512 )
...
* feat: support link action
* feat(client): add new variable named 'URL search params'
* chore: add translation
* fix: avoid crashing
* chore: fix failed test
* feat: link action
* feat: link action
* fix: remove filter parameters with undefined values
* feat: link action
* feat: add support for default values in filter form fields
* refactor: code improve
* refactor: locale improve
* refactor: locale improve
* test: add e2e test
* refactor: locale improve
* refactor: locale improve
* fix: resolve operation issues with variables
* refactor: code improve
* chore: enable direct selection of variables as default value
* chore: use qs to parse query string
* feat: iframe support variables
* fix: menu selectKeys (T-4373)
* feat: iframe support variables
* refactor: use qs to stringify search params
* refactor: locale improve
* refactor: locale improve
* chore: fix failed tests
* fix: bug
* fix: resolve issue where setting Data scope is not work
* chore: fix failed e2e tests
* chore: make e2e tests more stable
* chore: add translation
* chore: make e2e tests more stable
* fix: resolve the issue of error when saving data scope
* feat: trigger variable parsing after context change
* test: add unit tests
* test: add e2e test
* refactor: extract template
* chore: fix failed unit tests
* chore: fix failed e2e test
* fix: bug
* fix: bug
* fix(Link): hide linkage rules in top link (T-4410)
* fix: bug
* fix: bug
* fix: bug
* refactor: extract commonOptions
* fix: remove 'Current record' variable
* chore: fix unit tests
* fix: bug
* chore: make unit tests pass
* fix: fix build
* fix(e2e): resolve errors due to compilation issues
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: jack zhang <1098626505@qq.com>
2024-06-05 15:25:04 +08:00
Zeke Zhang
f66edb5d27
feat(client): add new variable named 'URL search params' and support link action ( #4506 )
...
* feat: support link action
* feat(client): add new variable named 'URL search params'
* chore: add translation
* fix: avoid crashing
* chore: fix failed test
* feat: link action
* feat: link action
* fix: remove filter parameters with undefined values
* feat: link action
* feat: add support for default values in filter form fields
* refactor: code improve
* refactor: locale improve
* refactor: locale improve
* test: add e2e test
* refactor: locale improve
* refactor: locale improve
* fix: resolve operation issues with variables
* refactor: code improve
* chore: enable direct selection of variables as default value
* chore: use qs to parse query string
* fix: menu selectKeys (T-4373)
* refactor: use qs to stringify search params
* refactor: locale improve
* refactor: locale improve
* chore: fix failed tests
* fix: resolve issue where setting Data scope is not work
* chore: fix failed e2e tests
* chore: make e2e tests more stable
* chore: add translation
* chore: make e2e tests more stable
* fix: resolve the issue of error when saving data scope
* feat: trigger variable parsing after context change
* test: add unit tests
* test: add e2e test
* refactor: extract template
* chore: fix failed unit tests
* chore: fix failed e2e test
* fix(Link): hide linkage rules in top link (T-4410)
* fix(permission): remove URL search params variable from data scope
* chore: make more stable
* chore: make e2e test more stable
* fix(Link): reduce size for variable
* fix: clear previous context (T-4449)
* fix(calendar, map): resolve initial data scope setting error (T-4450)
* fix: correct concatenation of query string (T-4453)
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: jack zhang <1098626505@qq.com>
2024-06-04 20:57:03 +08:00
Katherine
0b8f762d8b
feat: data block support setting block height ( #4441 )
...
* feat: data block support setting block height
* feat: form block support setting block height
* feat: form block support setting block height
* feat: detail block height
* test: fix
* fix: bug
* feat: grid card support block height
* feat: kanban support block height
* feat: kanban support block height
* feat: calender support block height
* feat: calender support block height
* feat: map support block height
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* test: skip
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* refactor: blockinitializers style improve
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* refactor: code improve
* refactor: code improve
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* refactor: code improve
* refactor: code improve
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* refactor: code improve
* refactor: code improve
* fix: test
* fix: test
* fix: test
2024-06-04 17:32:01 +08:00
Zeke Zhang
773f05dcd2
feat(client): adjust toolbar for Table Actions ( #4538 )
...
* feat(client): adjust toolbar for Table Actions
* chore: ensure backward compatibility
* chore: update e2e tests
* chore: fix fialed unit tests
* Revert "chore: update e2e tests"
This reverts commit 0a701716877cd732db2ece8f2bdb6325a8e6179e.
* chore: update e2e tests
* chore: update e2e tests
* chore: don't forget to revert me
* chore: update e2e tests
* chore: update e2e tests
* Revert "chore: don't forget to revert me"
This reverts commit 29a51dff28f917fae99d4a88b908aad12c69f5c2.
* chore: update timeout and retries in defineConfig
* chore: make e2e tests more stable
* chore: make e2e tests more stable
2024-06-02 17:42:09 +08:00
YANG QIA
98a8e687b1
feat(client): refining error fallback for different components when catching errors ( #4459 )
...
* feat(client): refining error fallback for different components when catching errors
* fix: build
* refactor: `ErrorFallback.Inline` to `ErrorFallback.Modal`
* feat: toolbar error fallback
* chore: add deprecated comment
* fix: useSchemaToolbarRender
2024-05-28 13:26:38 +08:00
Katherine
9528da51be
refactor: remove all frontend checks for isForeignKey ( #4499 )
...
* refactor: remove all frontend checks for isForeignKey
* fix: bug
2024-05-27 21:21:40 +08:00
Zeke Zhang
13362dab25
fix: optimize data scope variable in permission configuration ( #4484 )
...
* fix: optimize data scope variable in permission configuration
* test: add e2e test
* chore: fix failed e2e
* fix: optimize data scope variable in permission configuration
* chore: skip weird test
2024-05-27 12:09:28 +08:00
Katherine
a3e47832a6
refactor: form linkage rule to cancel assignment when multiple fields are selected ( #4492 )
2024-05-27 11:51:04 +08:00
Katherine
11343bc9be
fix: missing app context in modal ( #4457 )
...
* fix: useCurrentFormVariable
* test: table action row action linkage by row data
* test: detail block support linkage rule
* test: detail block support linkage rule
* test: detail block support linkage rule
* fix: missing app context in modal
2024-05-23 09:33:55 +08:00
Zeke Zhang
f6d56a9cb3
chore: avoid misoperation of date variables ( #4452 )
2024-05-22 21:21:06 +08:00
Zeke Zhang
cedb5046dd
fix(core): support selecting the first level of variables as the default value ( #4439 )
2024-05-22 08:43:32 +08:00
Katherine
3f14a9b24d
fix: table row action linkage rule defect error ( #4436 )
...
* fix: useCurrentFormVariable
* test: table action row action linkage by row data
* test: detail block support linkage rule
* test: detail block support linkage rule
* test: detail block support linkage rule
2024-05-21 21:21:08 +08:00
Katherine
304f87bee2
fix: useCurrentFormVariable ( #4428 )
...
* refactor: useCurrentFormVariable support detail block
* fix: useCurrentFormVariable
* fix: bug
2024-05-20 20:55:30 +08:00
Zeke Zhang
ef8e4aed48
fix(filter-form): fix operator not valid in block templates ( #4390 )
...
* fix(filter-form): fix operator not valid in block templates
* test: add e2e test
* test: clear data templates
* chore: fix e2e tests
* chore: stash
* chore: change import path to fix unit tests
* chore: change import path to fix unit tests
* chore: fix build
2024-05-20 16:50:34 +08:00
Katherine
a5ede09a2a
fix: custom request action should support linkage rule setting ( #4410 )
2024-05-20 15:01:10 +08:00
Zeke Zhang
49d0082b16
fix(theme-editor): form field spacing should not be affected by token.marginBlock ( #4374 )
...
* chore: add comment
* fix(plugin-theme-editor): form field spacing should not be affected by token.marginBlock
* fix: fix grid layout styling issue in Form component
* fix: fix failed test
2024-05-18 18:56:11 +08:00
jack zhang
6f4c884799
fix: block error can delete ( #4329 )
...
* fix: block error can delete
* fix: test bug
2024-05-13 21:28:02 +08:00
katherinehhh
e2922bed9e
fix: linkage rule fireImmediately should be true ( #4303 )
...
* fix: linkagerule fireImmediately
* test: test improve
* fix: bug
2024-05-10 20:33:38 +08:00
jack zhang
1e5e015b73
fix: update doc demos ( #4262 )
...
* fix: update doc demos
* fix: change docs demo
* fix: bug
* fix: build bug
* fix: add english docs
* fix: add component english doc
* fix: lang change
2024-05-09 09:21:36 +08:00
jack zhang
077efebdf0
feat: support mobile iframe block and toolbar props ( #4292 )
2024-05-08 23:51:32 +08:00
katherinehhh
2ec128c63f
feat: detail block support linkage rule ( #4221 )
...
* feat: detail block support linkage rule
* fix: bug
* fix: bug
* test: e2e test
2024-05-07 09:45:28 +08:00
katherinehhh
3651c6ccca
fix: switch date field of the linkage rule from expression to constant value display Invalid Date ( #4251 )
2024-05-06 14:01:53 +08:00
jack zhang
62b2b5c68b
chore: add copyright information to the file header ( #4028 )
...
* fix: add license code
* fix: bug
* fix: bug
* fix: upgrade
* fix: improve
* chore: add copyright information to the file header
* fix: d.ts bug
* fix: bug
* fix: e2e bug
* fix: merge main
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-30 15:51:31 +08:00
Zeke Zhang
def7530d14
chore: add e2e ( #4184 )
...
* test: schemaInitializer of map
* test: settings of map block
* refactor: extract common options
* chore: test filter blocks in page
* chore: test filter block in popup
* chore: add e2e for inherit fields
* chore: attachement field
* chore: file block
* chore: should use beforEach instead of beforAll
* chore: make e2e pass
* chore: only run map e2e
* Revert "chore: only run map e2e"
This reverts commit fbdae1a5733e38d0d29f8084019ca44b671d1032.
2024-04-27 14:06:42 +08:00
katherinehhh
0a011841d5
refactor: form data template locale improve ( #4188 )
2024-04-26 21:06:09 +08:00
Zeke Zhang
ccd2ade2aa
chore: add e2e for variables ( #4152 )
...
* chore: optimize e2e
* chore: test default value
* chore: data scope
* chore: test Assign field values
* chore: fix e2e
* refactor: extract
* chore: skip failed e2e
* chore: fix failed e2e
* chore: fix T-4133
* chore: fix e2e
2024-04-26 14:26:02 +08:00
jack zhang
229e5d1a40
client unit test ( #4150 )
...
* fix: add more unit test
2024-04-24 20:33:14 +08:00
katherinehhh
5c7004ff43
refactor: form data template locale improve ( #4148 )
2024-04-24 14:31:46 +08:00
Zeke Zhang
fd4c9cb288
chore: deprecate the current record variable from the form ( #4063 )
...
* chore: remove the current record variable from the form
* chore: fix failed e2e
* refactor(VariableInput): support for setting the react node for label
* feat: support to show tooltip
* chore: stash
* chore: add translation
* chore: add translation
* chore: fix expresion
* test: add e2e for deprecated variables
* refactor: migrate file
* chore: make e2e pass
* chore: make e2e pass
* chore: make e2e pass
* chore: adjust
* chore: natch
* chore: revert match
2024-04-23 21:18:27 +08:00
Zeke Zhang
ca29515bcd
perf(LinkageRules): solve lagging problems ( #4090 )
2024-04-18 16:52:34 +08:00
Zeke Zhang
8bff5c32a7
fix(defaultValue): fix the issue of default values disappearing after refreshing the page ( #4066 )
...
* test: add e2e
* fix(defaultValue): fix the issue of default values disappearing after refreshing the page
2024-04-17 14:07:26 +08:00
Zeke Zhang
3d857d2e69
fix(variable): missing variables and invalid translations ( #4054 )
...
* fix(variable): missing variables and invalid translations
* refactor: better
* fix: should display current record variable
* fix: template
* chore: add deps
* chore: add e2e for table view
* fix: current record variable
* chore: avoid error
* fix: bugs
* chore: fix failed e2e
* chore: fix e2e
* fix: colection name
2024-04-16 22:50:52 +08:00
Zeke Zhang
b43bf22afc
fix(variable): fix parent record variable reporting errors in data scope ( #4039 )
2024-04-15 17:51:06 +08:00
Zeke Zhang
0274e65cec
feat(Variable): add a new variable ( #4025 )
...
* feat: add DeclareVariable
* feat: add a new variable
* test: add e2e
* fix: current form variable
* chore: rename '弹窗记录' to 'Current popup record'
* fix(Details): fix data scope error
* fix(Calendar): fix data scope
* fix: varaible's data souce
* fix: data souce
2024-04-15 14:50:38 +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
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
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
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
katherinehhh
d8e969b9ae
fix: formula field support format ( #3928 )
2024-04-06 08:15:22 +08:00
Zeke Zhang
e0521170d1
fix(defaultValue): should immediate effect when set default value ( #3923 )
2024-04-04 09:50:46 +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
chenos
11536cb0e0
fix(client): the reference template was deleted by mistake
2024-03-29 12:14:10 +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
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
0269a1ff7d
fix(Details): block template ( #3807 )
...
* fix: add 'Details' in condition
* fix: block template
2024-03-25 16:25:41 +08:00