Commit Graph

4531 Commits

Author SHA1 Message Date
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
Junyi
0544b8df45
feat(plugin-workflow-action-trigger): add global action events (#3883)
* feat(plugin-workflow-action-trigger): add global action events

* feat(plugin-workflow): refine trigger select component style

* fix(plugin-workflow-action-trigger): fix unexpected triggering on any action

* fix(plugin-workflow-action-trigger): fix global check logic

* fix(plugin-workflow): adjust workflow type select style

* refactor(plugin-workflow): adjust triggers description

* fix(plugin-workflow): adjust events descriptions

* fix(plugin-workflow): fix locale

* fix(plugin-workflow-action-trigger): fix workflow filter rule in binding configuration

* fix(plugin-workflow-action-trigger): fix locale

* fix(plugin-workflow-action-trigger): fix locale

* fix(plugin-workflow-action-trigger): fix binding filter condition

* fix(plugin-workflow-action-trigger): fix locale

* fix: trigger type locator

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: hongboji <j414562100@qq.com>
2024-04-03 15:39:56 +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
chenos
8076e55fc1
fix: manual-build-pro-image.yml 2024-04-03 09:46:31 +08:00
chenos
b11066434e
fix: ci 2024-04-03 09:38:09 +08:00
jack zhang
84d2a47361
fix: table fixed bug (#3901) 2024-04-03 09:25:52 +08:00
ChengLei Shao
c22fc6f5d4
fix: list data undefined error (#3905)
* fix: list data undefined error

* chore: typo
2024-04-03 09:17:20 +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
katherinehhh
a60aa65da6
fix: history block add print button, click print button to report error (#3900) 2024-04-02 14:18:47 +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
YANG QIA
aeb87a8e28
feat(data-vi): data scope for chart filter fields (#3894)
* feat(data-vi): data scope for chart filter fields

* fix: filter foreign keys
2024-04-01 20:25:34 +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
Zeke Zhang
f120249b41
fix(plugin-custom-request): fix edit button dialog (#3893)
* test: add e2e

* fix(plugin-custom-request): fix edit button dialog
2024-04-01 16:43:52 +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
YANG QIA
198a969bba
fix(data-vi): dual axes chart displays abnormally (#3881) 2024-03-30 22:24:42 +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
katherinehhh
7b073727b1
fix: setFormValueChanged undefined (#3879) 2024-03-30 18:30:46 +08:00
zhou
59144f5008 chore: update README 2024-03-30 14:22:27 +08:00
zhou
e2763b3322 feat: update agreements 2024-03-30 14:19:44 +08:00
Junyi
7a3a2c4845
fix(client): fix diabled in filter dynamic component (#3874) 2024-03-30 12:49:13 +08:00
Junyi
5645ed4d6c
fix(plugin-workflow-parallel): fix locale (#3876) 2024-03-30 10:14:36 +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