Commit Graph

864 Commits

Author SHA1 Message Date
Katherine
60ac758b68
refactor: the default accuracy of the UnixTimestamp field is second (#4418)
* refactor: the default accuracy of the UnixTimestamp field is second

* refactor: the default accuracy of the UnixTimestamp field is second

* fix: bug
2024-05-21 10:31:01 +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
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
Junyi
69b3cfabb0
fix(plugin-workflow-action-trigger): fix hint (#4383) 2024-05-18 12:11:21 +08:00
Zeke Zhang
ec558e3b98
refactor: flatten and merge Actions (#4336)
* chore: remove switch

* refactor: ensure compatibility with old code

* refactor: flatten Actions

* refactor: extract options

* refactor: remove isCusomeizeCreate

* refactor: merge addNew and addRecord actions

* refactor: merge Submit and Save record actions

* refactor: extract common options

* feat: add tow props called 'currentText' and 'otherText'

* chore: fix failed tests

* refactor: add ActionInitializerItem to replace ActionInitializer

* chore: fix failed tests

* fix: fix T-4284

* fix: fix inherit

* chore: fix failed test

* chore: add Switch

* chore: add Switch for delete button

* test: e2ePageObjectModel

---------

Co-authored-by: hongboji <j414562100@qq.com>
2024-05-17 09:37:23 +08:00
Katherine
779029e348
fix: accuracy loss in bigint field read pretty (#4360)
* fix: accuracy loss in bigint field read pretty

* fix: accuracy loss in bigint field read pretty

* fix: accuracy loss in bigint field read pretty

* fix: accuracy loss in bigint field read pretty

* fix: accuracy loss in bigint field read pretty

* test: intege test

* test: color test
2024-05-17 08:32:21 +08:00
Junyi
6e9ca10644
fix(plugin-workflow-request): fix value fields overflowing (#4354) 2024-05-15 18:38:28 +08:00
Katherine
c293929daa
fix: table column should support blank column occupancy (#4350)
* fix: table column

* fix: table column
2024-05-14 20:59:54 +08:00
Junyi
21ab4c5d45
fix(plugin-workflow): fix bind hint based on event type (#4349)
* fix(plugin-workflow): fix bind hint based on event type

* fix(plugin-workflow): fix bind hint based on event type
2024-05-14 17:20:23 +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
Junyi
893f27fead
feat(plugin-workflow-request): support "application/x-www-form-urlencoded" type (#4296)
* feat(plugin-workflow-request): support application/x-www-form-urlencoded type

* fix(plugin-workflow-request): avoid nullable body
2024-05-09 16:11:58 +08:00
Junyi
65f8bd48ae
fix(plugin-workflow-custom-action-trigger): fix locales (#4298) 2024-05-09 14:58:46 +08:00
katherinehhh
4522dd09f3
style: add child action style improve (#4289)
* style: add child style improve

* refactor: tree table

* fix: bug

* refactor: code improve
2024-05-09 14:25:15 +08:00
katherinehhh
8afe119ac9
fix: configure data scope in action permission reporting error (#4301) 2024-05-09 13:57:57 +08:00
katherinehhh
68a0c96fd0
feat: table column support fixed right or fixed left (#4260)
* feat: table column support fixed right or fixed left

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-05-09 10:07:55 +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
Junyi
cafaa82a94
refactor(plugin-workflow): migrate directly action trigger to custom action trigger (#4253)
* refactor(plugin-workflow): migrate directly action trigger to custom action trigger

* test(plugin-workflow-action-trigger): skip legacy test case

* chore(plugin-workflow-action-trigger): adjust locale

* chore(plugin-workflow-action-trigger): adjust locale

* chore(plugin-workflow-action-trigger): match version for migration
2024-05-09 08:34:29 +08:00
chenos
1604a4fdb6
fix: missing toolbar props (#4291) 2024-05-08 23:47:11 +08:00
katherinehhh
61ac914772
fix: association select report Maximum call stack size exceeded in sub-table (#4278) 2024-05-07 21:03:10 +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
Junyi
f3e39f6f05
fix(client): fix error log in variable component (#4248) 2024-04-30 21:58:34 +08:00
jack zhang
95fef86880
client components (#4216)
* docs: update docs components

* docs: add more component docs

* docs: add more docs

* fix: add more docs

* fix: build bug

* feat: docs

* fix: build error

* fix: docs

* fix: change x-read-pretty to x-patten

* fix: upgrade docs and types

* fix: build bug

* fix: add more docs

* fix: build bug

* fix: cascader component

* fix: bug

* fix: add more docs

* fix: add backend ci time

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-04-30 21:21:17 +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
e5152af4c2
refactor: extract to SetTheCountOfColumnsDisplayedInARow (#4211)
* refactor: extract

* chore: revert
2024-04-30 10:39:15 +08:00
katherinehhh
35825ac77b
refactor: tree collection association support sub-table & sub-detail (#4225) 2024-04-30 09:49:57 +08:00
katherinehhh
132f626fa3
test: input number separator test (#4204) 2024-04-28 11:17:43 +08:00
katherinehhh
fb41cce7b1
fix: number field shuold support separator setting (#4197) 2024-04-27 21:29:02 +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 fbdae1a573.
2024-04-27 14:06:42 +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
Junyi
f16add313d
fix(plugin-fm): fix confusing size limit hint (#4153) 2024-04-25 18:27:02 +08:00
katherinehhh
343b97de14
fix: grid schema (#4157) 2024-04-25 11:38:22 +08:00
jack zhang
229e5d1a40
client unit test (#4150)
* fix: add more unit test
2024-04-24 20:33:14 +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
785cc525c4
feat(Theme): add some tokens (#4137)
* chore: use token better

* chore: use rgba

* feat: add some custom tokens

* Revert "chore: use rgba"

This reverts commit dac660f693.

* feat: adaptor tokens

* chore: adjust details

* chore: fix unit tests

* chore: remove box shadow from buttons in the upper right corner of the page

* fix: font size
2024-04-23 21:17:20 +08:00
Junyi
b0ba197915
fix(client): fix some warnings (#4143) 2024-04-23 21:12:37 +08:00
katherinehhh
90144e32ce
style: tableActionColumn style improve (#4138) 2024-04-23 19:50:44 +08:00
katherinehhh
7f1caf018f
fix: actionBar style improve (#4123) 2024-04-23 17:09:29 +08:00
Zeke Zhang
15325101d6
perf: remove all Skeleton animation (#4113)
* perf: remove Skeleton

* chore: add lazy render

* chore: remove all animation
2024-04-22 09:03:20 +08:00
chenos
7b9e5c2cde
fix: field component (#4102)
* fix: field component

* chore: fix e2e

* fix: optimize CollectionField

* fix: add test case

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-19 22:52:55 +08:00
katherinehhh
31c5ff6624
fix: association select support add mode (#4108) 2024-04-19 22:00:55 +08:00
katherinehhh
2093bc0058
fix(linkage-rule): linkage rule support empty condiction (#4103)
* fix: linkage rule support empty condiction

* fix: linkage rule support empty condiction
2024-04-19 17:30:04 +08:00
chenos
0af40dfa3e
fix: add SanitizedCollectionProvider (#4100)
* fix: add SanitizedCollectionProvider

* fix: client unit test

* chore: add comment [skip ci]

---------

Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-19 17:19:07 +08:00
chenos
1bacd00739
fix: add ClearCollectionFieldContext (#4101)
* fix: add ClearCollectionFieldContext

* chore: add comment

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-19 16:25:29 +08:00
Zeke Zhang
ca29515bcd
perf(LinkageRules): solve lagging problems (#4090) 2024-04-18 16:52:34 +08:00
Zeke Zhang
8f17456d93
fix(subTable): should not display Allow add new data option (#4086)
* fix(subTable): should not display Allow add new data option

* chore: make e2e more stable
2024-04-18 15:07:59 +08:00
jack zhang
c9171a7117
fix: custom request role list (#4074)
* fix: custom request role list

* fix: custom request body users

* fix: support external data sources

* fix: record data

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-17 21:15:04 +05:30
katherinehhh
f808d99656
fix: deletion of operation linkage rules does not take effect in real time (#4058)
* fix: deletion of operation linkage rules does not take effect in real time

* fix: bug
2024-04-17 19:26:00 +08:00
katherinehhh
6a0777397a
fix: sub-table big field should support variable default value (#4062) 2024-04-17 10:50:07 +08:00