Commit Graph

1578 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Zeke Zhang
a93d2ddab2 chore: optimize e2e test 2024-03-31 10:44:06 +08:00
Zeke Zhang
19c6695b19
fix: avoid duplicate menu keys (#3885) 2024-03-31 08:46:27 +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
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
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
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