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
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
Junyi
3413c6c6d4
fix(plugin-workflow-manual): fix assignees parsing bug ( #4125 )
2024-04-22 17:00:16 +08:00
Junyi
92b28fa411
fix(core): fix round bug in formula evaluator ( #4070 )
2024-04-17 18:40:26 +08:00
Junyi
781d7c038e
fix(evaluators): fix array flatten ( #3931 )
2024-04-05 12:41:43 +08:00
Junyi
c6615441bd
feat(core): add string template engine to evaluators ( #3546 )
...
* feat(core): add string template engine to evaluators
* refactor(plugin-workflow): simplify api
* Revert "refactor(plugin-workflow): simplify api"
This reverts commit 6ff2bb9220
.
* fix(plugin-workflow): fix test case
* refactor(core): adjust variable regular expression
2024-02-22 11:27:10 +08:00
Junyi
c02e759830
fix(core): refactor evaluate to support dash in key path ( #3517 )
...
* fix(core): refactor evaluate to support dash in key path
* fix(core): fix evaluate expression from date variable
* fix(plugin-workflow): fix test case
* fix(client): fix pre-replace logic
2024-02-19 17:07:19 +08:00
Junyi
9076a1d4e4
fix(evaluators): fix number lead key in variable path ( #1976 )
2023-06-02 20:35:11 +08:00
Junyi
4db3b283b0
fix(evaluators): fix date result in variable ( #1781 )
2023-04-28 14:50:35 +08:00
chenos
883f1e6fd1
fix: eslint ( #1759 )
...
* fix: eslint
* fix: eslint --fix
* fix: changelog
2023-04-25 13:12:14 +08:00
Junyi
52329df140
feat: (plugin-workflow) dynamic expression ( #1560 )
...
* feat(plugin-formula): add dynamic expression field
* feat(plugin-workflow): add dynamic expression for calculation
* refactor(client): allow select part of paths in variable component
* fix(client): fix types
* feat(plugin-formula): add dynamic expression config
* feat(plugin-workflow): add dynamic calculation
* refactor(plugin-formula): move expression field type to workflow plugin
* fix(plugin-workflow): fix types
* fix(plugin-workflow): fix register field in client
* fix(plugin-workflow): fix expression result value default
* fix(plugin-workflow): fix dynamic expression field error when switch collection
* fix(plugin-workflow): test component value change
* test(plugin-workflow): test component linkages
* refactor(plugin-workflow): change to expression collection template
* fix(client): fix hooks of Variable.TextArea
* fix(client): fix to import evaluators in client
* fix(evaluators): move renderReference method to plugin
* fix(plugin-workflow): fix missed component
* fix(plugin-workflow): fix dynamic expression test case
* refactor(client): change popover to double click to choose entire object
* refactor(plugin-workflow): make variable options and filter more sensible
* fix(plugin-workflow): fix form effect
* fix(plugin-workflow): fix variable filtering in collection trigger
* fix(plugin-workflow): fix types
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-07 19:52:31 -07:00
Junyi
0d0c5ff9e0
feat(plugin-workflow): add array mapping support in processor ( #1662 )
2023-04-07 16:08:25 +08:00
Junyi
7036879ea6
refactor(client): change Variable.TextArea to controlled component ( #1605 )
...
* refactor(client): change Variable.TextArea to controlled component
* fix(client): fix space and range index
* fix(client): fix ime state in Variable.TextArea
* chore(ci): trigger ci
* fix(client): fix expression validation
* fix(plugin-workflow): fix test case
* fix(client): fix caret when not focused
* fix(client): add html-sanitize
* fix(client): fix range errors on any input
* fix(client): fix start and end range
2023-04-03 08:57:19 +08:00
katherinehhh
c2885ee1d6
fix(linkage rules) : support naming, enabling and disabling, copying, and assigning null values ( #1511 )
...
* fix: condiction suport empty
* fix: condiction suport empty
* fix: condiction suport empty
* fix: condiction suport empty
* feat: detailed operations support linkage rules
* fix: button linkage failed during page change of detail block
* fix: button linkage failed during page change of detail block
* fix: linkage values not suport formula
* fix: linkage value suport empty
* fix: checkbox value linkage failed
* refactor: using evaluators package
* refactor: using evaluators package
* refactor: linkage field
* fix: relation field is limited to one level
* fix: relation field is limited to one level
* fix: linkage local
* feat: support copy linkage rules
* feat: support naming linkage rules
* feat: support naming linkage rules
* style: style improve
* fix: missing operation when copying linkage
* feat: linkage rules support disabling and enabling
* fix: linkage rule update is not updated immediately
* feat: action support linkage enabled
* feat: action support linkage enabled
* feat: action support linkage enabled
* fix: linkage rules title update exception
* feat: action support linkage enabled
* fix: linkage rules copy failed
* fix: linkage rules copy failed
* fix: linkage rules copy failed
* fix: linkage rules copy failed
* refactor: code improve
* refactor: code improve
* fix: linkage rules copy failed
* fix: linkage rules copy failed
* fix: the first input is cleared
* refactor: code improve
* refactor: code improve
* refactor: delete redundant variables
* fix: action modal automatically closes
* fix: action automatically closes
* fix: action automatically closes
* fix: details block chang page action linkage failed
* fix: details block chang page action linkage failed
* feat: syntax references
* feat: syntax references
* fix: current time
* fix: current time
* fix: action linkage
* fix: formulajs tyy catch
* fix: multi-level linkage
* chore: linkage support
* chore: linkage support
* chore: linkage code improve
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-03-30 23:40:18 +08:00
Junyi
060ccd04e7
fix(plugin-workflow): fix module import ( #1550 ) ( #1552 )
...
* fix(plugin-workflow): fix module import (#1550 )
* fix(plugin-workflow): fix module import
2023-03-08 23:00:44 +08:00
Junyi
ac039ad0e2
fix(evaluators): fix preprocessing and add test cases ( #1519 )
...
* fix(evaluators): fix preprocessing and add test cases
* fix(plugin-workflow): fix calculation test case
2023-03-01 07:55:53 -08:00
Junyi
e752686c7e
feat(plugin-formula): calculation with snapshot field ( #1498 )
...
* feat(plugin-formula): calculation with snapshot field
* fix(plugin-snapshot): fix appends calcualtion
* fix(plugin-snapshot): fix appends calcualtion
* fix(plugin-snapshot): fix appends calcualtion
2023-02-28 17:55:58 +08:00
Junyi
86d9eaf2fb
refactor(plugin-workflow): migrate evaluators ( #1485 )
...
* fix(plugin-formula): fix locale
* refactor(client): migrate variable component
* refactor(plugin-workflow): use core evaluators
* refactor(plugin-workflow): migrate calculation engines to evaluators
2023-02-22 23:45:03 +08:00
Junyi
139ca9a635
refactor(plugin-formula): combine 2 formula field type into 1 ( #1457 )
...
* fix: observer
* refactor(plugin-formula): merge 2 formula field type
* fix(plugin-formula): fix types
* fix(plugin-formula): fix type
* fix(plugin-formula): fix formulajs version
* fix(plugin-formula): change to VariableInput to avoid range error
* test(plugin-formula): add test
* fix(plugin-formula): fix test case
* fix(plugin-formula): fix test case
* fix(plugin-formula): fix test case
* refactor(plugin-formula): move components into plugin
* fix(plugin-formula): fix migration
* fix(plugin-formula): revert legacy component to fix build
* fix(plugin-formula): fix test case
* fix(plugin-formula): fix test case
* fix(plugin-formula): fix read-pretty component
* fix(plugin-formula): fix formula result component
* feat(plugin-formula): add checkbox display X
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-02-21 20:12:21 +08:00