Commit Graph

4706 Commits

Author SHA1 Message Date
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
Junyi
6d0d21ede2
refactor(plugin-workflow): change to (#3871) 2024-03-29 23:36:49 +08:00
katherinehhh
4adc116386
fix: kanban card modal display abnormal (#3863) 2024-03-29 22:46:06 +08:00
katherinehhh
fec3662dc9
fix: filterTargetKey only support view collection (#3872) 2024-03-29 18:24:40 +08:00
chenos
b5317af527 chore: update changelog 2024-03-29 17:43:23 +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
Junyi
1f59d4bed2
refactor(plugin-workflow): add transaction check from data source (#3857) 2024-03-29 09:09:12 +08:00
Zeke Zhang
29af40f504 style(Help): optimize style 2024-03-29 08:40:16 +08:00
YANG QIA
72c95671ae
fix(data-vi): charts size bug when changing chart type (#3859)
* fix(data-vi): charts size bug when changing chart type

* chore: remove console.log
2024-03-29 08:31:47 +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
YANG QIA
7b9acb73c4
chore: remove add-attach option from bulk update action (#3854) 2024-03-28 16:52:37 +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
YANG QIA
8ca94329ce
fix(data-vi): canvas height keeps increasing when filtering/reseting (#3849) 2024-03-28 12:56:25 +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