Commit Graph

4524 Commits

Author SHA1 Message Date
Katherine
12a8f2e6ac
style: list block style improve (#4785) 2024-07-01 16:38:02 +08:00
Katherine
59c9c0e06e
fix: external data source not reloading when title field is updated (#4786) 2024-07-01 16:12:49 +08:00
xilesun
74ef97343b Merge branch 'main' into next 2024-07-01 10:24:26 +08:00
Sheldon Guo
95749f3d88
feat(client): support linkage style in table and form (#4467)
* feat: support linkage style in table and form

* fix: removed linkage rule in table column, fixed formitem style not refreshing, use colorpicker

* chore: remove unused functions and improve effect execution performance

* feat: add some e2e test for linkage style in table, extract linkage
  style logic to hooks

* feat: add some e2e test

* fix: fix some e2e test error

* test: fix e2e tests

* fix: replace deprecated api

* chore: give color picker a empty string as default value

* chore: improve some code

* refactor: remove useless code

* fix:  fix some incompatibility problem of old schema

* fix: fix some e2e test errors

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-07-01 09:13:37 +08:00
Zeke Zhang
05cf9986b0
feat: enable direct dialog opening via URL and support for page mode (#4706)
* refactor: optimize page tabs routing

* test: add e2e test for page tabs

* feat: add popup routing

* fix: resolve nested issue

* refactor: rename file utils to pagePopupUtils

* perf: enhance animation and overall performance

* fix: fix filterByTK

* fix(sourceId): resolve error when sourceId is undefined

* fix: fix List and GridCard

* fix: fix params not fresh

* fix: fix parent record

* fix: resolve the issue on block data not refreshing after popup closure

* feat: bind tab with URL in popups

* feat(sub-page): enable popup to open in page mode

* chore: optimize

* feat: support association fields

* fix: address the issue of no data in associaiton field

* fix: resolve the issue with opening nested dialog in association field

* fix: fix the issue of dialog content not refreshing

* perf: use useNavigateNoUpdate to replace useNavigate

* perf: enhance popups performance by avoiding unnecessary rendering

* fix: fix tab page

* fix: fix bulk edit action

* chore: fix unit test

* chore: fix unit tests

* fix: fix bug to pass e2e tests

* chore: fix build

* fix: fix bugs to pass e2e tests

* chore: avoid crashing

* chore: make e2e tests pass

* chore: make e2e tests pass

* chore: fix unit tests

* fix(multi-app): fix known issues

* fix(Duplicate): should no page mode

* chore: fix build

* fix(mobile): fix known issues

* fix: fix open mode of Add new

* refactor: rename 'popupUid' to 'popupuid'

* refactor: rename 'subPageUid' tp 'subpageuid'

* refactor(subpage): simplify configuration of router

* fix(variable): refresh data after value change

* test: add e2e test for sub page

* refactor: refactor and add tests

* fix: fix association field

* refactor(subPage): avoid blank page occurrences

* chore: fix unit tests

* fix: correct first-click context setting for association fields

* refactor: use Action's uid for subpage

* refactor: rename x-nb-popup-context to x-action-context and move it to Action schema

* feat: add context during the creation of actions

* chore: fix build

* chore: make e2e tests pass

* fix(addChild): fix context of Add child

* fix: avoid loss or query string

* fix: avoid including 'popups' in the path

* fix: resolve issue with popup variables and add tests

* chore(e2e): fix e2e test

* fix(sideMenu): resolve the disappearing sidebar issue and add tests

* chore(e2e): fix e2e test

* fix: should refresh block data after mutiple popups closed

* chore: fix e2e test

* fix(associationField): fix wrong context

* fix: address issue with special characters
2024-06-30 23:25:01 +08:00
hongboji
99f88ee09f
test: approvals workflow e2e (#4781) 2024-06-30 21:31:27 +08:00
Sheldon Guo
ac7e48c5f6 refactor: rewrite the UI of the code scanner. (#4677)
* feat: workbench block

* feat: mobilePage

* fix: update WorkbenchAction

* feat: support qrcode embed in markdown and scan in mobile

* fix: fix markdown button be covered problem

* fix: fix unit test error

* fix: fix unit test errors

* refactor: use react router in qrcode scanner

* feat: markdown add loading

* fix: fix blank content in print page

* refactor: change plugin dependencies to devDependencies

* feat: add some padding in markdown editor

* chore: improve some code

* feat: improve code

* fix: add QRCodeScanner

* fix: iconColor

* fix: Improve code

* feat: Improve code

* fix: version

* chore: improve some code

* chore: improve some code

* fix: i18n

* refactor: refact the UI of code scanner

* feat: add some locale

* feat: add qrbox

* feat: add image upload and fix qrbox

* feat: fix full screen problem

* fix: fix not full screen problem

* fix: add some error handling

* feat: add album locale

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-06-30 19:32:32 +08:00
shz
512557f80a
feat(plugin-workflow): add date range options to system variables (#4728)
* feat(plugin-workflow): add date range options to system variable in workflow plugin

* feat(plugin-workflow): fix according to code review

* feat(plugin-workflow): add more functions

* feat(plugin-workflow): fix according to code review

* feat(plugin-workflow): add test

* feat(plugin-workflow): support india timezone

* feat(plugin-workflow): fix test

* feat(plugin-workflow): add ts type

* feat(plugin-workflow): fix

* feat(plugin-workflow): fix
2024-06-30 16:30:31 +08:00
Sheldon Guo
ba1cdce6e9
refactor: rewrite the UI of the code scanner. (#4677)
* feat: workbench block

* feat: mobilePage

* fix: update WorkbenchAction

* feat: support qrcode embed in markdown and scan in mobile

* fix: fix markdown button be covered problem

* fix: fix unit test error

* fix: fix unit test errors

* refactor: use react router in qrcode scanner

* feat: markdown add loading

* fix: fix blank content in print page

* refactor: change plugin dependencies to devDependencies

* feat: add some padding in markdown editor

* chore: improve some code

* feat: improve code

* fix: add QRCodeScanner

* fix: iconColor

* fix: Improve code

* feat: Improve code

* fix: version

* chore: improve some code

* chore: improve some code

* fix: i18n

* refactor: refact the UI of code scanner

* feat: add some locale

* feat: add qrbox

* feat: add image upload and fix qrbox

* feat: fix full screen problem

* fix: fix not full screen problem

* fix: add some error handling

* feat: add album locale

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-06-30 10:09:46 +08:00
Junyi
86a56ef7cc
refactor(plugin-workflow): add deferred option for async workflow triggering (#4772)
* feat(plugin-workflow): add deferred option for async workflow triggering

* fix(plugin-workflow): revert type back

* fix(plugin-workflow): fix status checking
2024-06-28 11:59:22 +08:00
GitHub Actions Bot
a2039c2f0d chore(versions): 😊 publish v1.2.11-alpha 2024-06-28 03:43:02 +00:00
Zeke Zhang
bf4e100622
fix(data-scope): avoid cyclic invocation of the same API (#4773)
* fix(data-scope): avoid cyclic invocation of the same API

* refactor: optimize potentially problematic code
2024-06-28 11:37:57 +08:00
David Fecke
2141e6274d
feat(client): add searchbar and increase ux of select popover in icon-picker component (#4609)
* feat(client): add searchbar to select popover of icon-picker component

* feat(client): increase ux of icon selection in icon-picker component

* feat(client): add iconSize and searchable as props for icon-picker component

* feat(client): show antd empty component when icon search has no results

* feat(client): make icon-searchbar sticky and lock popover height

- To prevent content jumpung when searching for icons the popover need a fixed height.

* fix: styles & l10n & tests

* chore: remove it.only

* fix: test

---------

Co-authored-by: xilesun <2013xile@gmail.com>
2024-06-28 11:12:56 +08:00
chenos
a86315de61
feat(data-source-manager): filterTargetKey configuration optimization (#4766)
* feat(data-source-manager): filterTargetKey configuration optimization

* fix: bugs

* fix: improve code

* fix: error

* fix: error
2024-06-28 09:00:16 +08:00
GitHub Actions Bot
734aa1a007 chore(versions): 😊 publish v1.2.10-alpha 2024-06-27 14:03:40 +00:00
YANG QIA
04015596df
fix(i18n): incorrect namespaces of plugins (#4771) 2024-06-27 18:12:51 +08:00
Zeke Zhang
405a6eef81 chore(e2e): make e2e tests more stable 2024-06-27 16:21:12 +08:00
Junyi
3949473ad3
fix(plugin-workflow-mailer): fix payload in sync mode (#4765)
* chore(plugin-workflow-mailer): add error log

* fix(plugin-workflow-mailer): fix payload in sync mode

* fix(plugin-workflow-mailer): add trim for subject
2024-06-27 16:04:17 +08:00
Junyi
ac76fc92d8
feat(plugin-workflow): add mode column to show if sync or not (#4767)
* feat(plugin-workflow): add mode column to show if sync or not

* fix(plugin-workflow): fix trigger tag
2024-06-27 15:11:00 +08:00
GitHub Actions Bot
4a50647210 chore(versions): 😊 publish v1.2.9-alpha 2024-06-27 03:02:41 +00:00
Junyi
ca9b5b1f1e
test(plugin-workflow): check for duplicated triggering (#4762)
* test(plugin-workflow): check for duplicated triggering

* fix(plugin-workflow): fix test case
2024-06-26 22:20:12 +08:00
Katherine
4999998a38
fix: missing data on first load in cascading association field component within template block (#4758)
* fix: missing data on first load in cascading association fields within template blocks

* fix: missing data on first load in cascading association fields within template blocks

* fix: bug

* fix: bug

* fix: bug
2024-06-26 22:03:28 +08:00
chenos
4517dc1105
fix: full height (#4759)
* fix: full height

* fix: useFormHeight

* fix: useFormHeight

* fix: bug

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-06-26 21:21:24 +08:00
jack zhang
54d1d2cdc9
fix: export filter component (#4757) 2024-06-26 18:26:25 +08:00
Junyi
79c6cad59d
fix(plugin-workflow): fix ui crash with unknown type trigger or node (#4761)
* fix(plugin-workflow): fix ui crash with unknown type trigger or node

* fix(plugin-workflow): add missed locale
2024-06-26 18:23:31 +08:00
YANG QIA
80ad6994aa
fix(l10n): error when enabling plugin-localization first time (#4760)
* fix(l10n): error when enabling plugin-localization first time

* fix: tests
2024-06-26 16:02:36 +08:00
Katherine
9669d56d84
fix: error when overriding sorting field (#4752) 2024-06-26 13:18:07 +08:00
chenos
0c7d697774
fix(pm): parse package name (#4756) 2024-06-26 10:05:16 +08:00
chenos
1e4497339a fix(pm): search by keywords 2024-06-26 10:03:26 +08:00
chenos
e7cdc0daf5 chore(block-workbench): update package.json 2024-06-26 09:50:31 +08:00
chenos
72e3d0c0ac fix(block-workbench): destroy after close modal 2024-06-26 09:21:12 +08:00
YANG QIA
700e18fb1a
feat(l10n): allows to use l10n plugin resources in backend (#4751) 2024-06-26 09:18:05 +08:00
Zeke Zhang
99a0fcae1c
feat(variable): add a new variable named 'Parent popup record' (#4748)
* refactor: extract CurrentPopupRecordProvider component

* refactor: rename

* feat(variable): add a new variable named 'Parent popup record'

* chore: add translation

* fix: fix known issues

* test: add e2e tests
2024-06-26 08:59:01 +08:00
freefarmdong
53e47b55ca
fix: checkbox style is not aligned when selecting the table (#4718)
Co-authored-by: wangdong28 <wangdong28@xiaomi.com>
2024-06-25 16:41:48 +08:00
GitHub Actions Bot
3a8867eaef chore(versions): 😊 publish v1.2.8-alpha 2024-06-25 07:29:25 +00:00
Katherine
bff6dde483
fix: missing multiple selection option for to-many association fields in sub-table (#4742) 2024-06-25 15:10:28 +08:00
chenos
dac110931b
chore: update dependencies (#4747)
* chore: update dependencies
* fix: @formily/antd-v5
2024-06-25 12:44:51 +08:00
jack zhang
1f05006e7a
fix: bug (#4744) 2024-06-25 11:50:40 +08:00
jack zhang
9daf893704
fix: adjust print content (#4746)
* fix: adjust print content

* fix: bug
2024-06-25 11:42:51 +08:00
Katherine
935f9892fc
fix: double scrollbar on mobile client causing scrolling issues (#4745) 2024-06-25 10:39:42 +08:00
Katherine
f04dc51a2c
fix: tag component should support enable link (#4741)
* fix: tag component should support enable link

* test: tag component support options

* fix: bug
2024-06-25 10:36:05 +08:00
jack zhang
47a6d04c63
fix: clear plugin list cache (#4739) 2024-06-25 08:48:45 +08:00
chenos
e69d33a09c chore: update link 2024-06-24 16:45:45 +08:00
ChengLei Shao
8dd8303f21
fix(backup-restore): dump with collection that names were reserved words in mysql (#4734)
* fix(backup-restore): dump with collection that names were reserved words

* chore: test
2024-06-24 15:50:37 +08:00
Katherine
5370e95f4b
refactor: integer fields with Primary selected will auto-check Auto increment (#4313) 2024-06-24 15:15:50 +08:00
GitHub Actions Bot
927641349f chore(versions): 😊 publish v1.2.7-alpha 2024-06-24 02:04:24 +00:00
Katherine
aec77064c4
fix: variable parse issue in link action with variables in paths (#4732) 2024-06-24 08:00:15 +08:00
Junyi
78955cb560
fix(client): fix default size hint of upload component (#4731) 2024-06-23 15:58:14 +08:00
Junyi
095b50f964
fix(plugin-workflow): fix duplicating sync workflow (#4727) 2024-06-22 14:44:18 +08:00
ke
d7733ed363
chore(data-vi): remove addMigrations (#4713) 2024-06-22 14:21:07 +08:00
chenos
e2a22d4c26 fix(vditor): lang error 2024-06-22 13:25:31 +08:00
Junyi
1cba634f7d
fix(plugin-workflow): add loading for adding node (#4726)
* fix(plugin-workflow): add loading for adding node

* test(plugin-workflow): add test case

* test(plugin-workflow): skip concurrency case
2024-06-22 10:20:52 +08:00
Junyi
bda976efdf
fix(plugin-workflow): fix designable of assign fields in create/update node (#4724) 2024-06-21 16:56:19 +08:00
Katherine
fb1ed31820
fix: optimize block template description (#4721)
* fix: optimize block template description

* fix: optimize block template description

* fix: bug
2024-06-21 14:46:39 +08:00
Katherine
4671a17628
fix: subform/subtable height equaling form height when form height is set (#4717)
* fix: subform height equaling form height when form height is set

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-06-20 21:21:55 +08:00
Junyi
f7f1bdffbb
fix(client): fix undefined context (#4719) 2024-06-20 21:17:10 +08:00
Katherine
362a83804e
fix(grid): grid style (#4715)
* fix: grid style

* fix: bug
2024-06-20 14:40:54 +08:00
GitHub Actions Bot
504f8d107c chore(versions): 😊 publish v1.2.6-alpha 2024-06-20 04:40:35 +00:00
Junyi
8a629d06ad
fix(plugin-workflow): fix client warning (#4709)
* fix(plugin-workflow): fix client warning

* fix(plugin-workflow): fix build error
2024-06-20 10:59:36 +08:00
Junyi
a9f1ce7bd6
fix(plugin-workflow): fix undefined error of action trigger (#4710) 2024-06-20 10:36:43 +08:00
GitHub Actions Bot
9968eda02b chore(versions): 😊 publish v1.2.5-alpha 2024-06-19 22:58:05 +00:00
chenos
d6851545ec fix(database): db auth default retry 9 times 2024-06-19 22:02:40 +08:00
chenos
95666a97df Revert "fix(database): db auth default retry 30 times"
This reverts commit 283f1d6000.
2024-06-19 21:36:06 +08:00
Junyi
5ad3a854c5
fix(plugin-fm): fix thumbnail rule (#4707) 2024-06-19 21:22:32 +08:00
chenos
283f1d6000 fix(database): db auth default retry 30 times 2024-06-19 18:03:25 +08:00
chenos
8586992219 fix: using the global cron locale 2024-06-19 17:52:34 +08:00
Junyi
173dfbfe21
fix(plugin-workflow): fix locale key in storage (#4704) 2024-06-19 14:01:02 +08:00
chenos
2d2f1c8cc8 fix: get the APIClient instance from the app instance 2024-06-19 13:20:15 +08:00
Katherine
0e778e7e47
fix: select field set as title field (#4703)
* fix: select field set as title field

* fix: select field set as title field

* fix: select field set as title field

* fix: select field set as title field
2024-06-19 11:25:43 +08:00
Katherine
eaa06441d0
fix: refresh list automatically after closing modal following add operation (#4699) 2024-06-19 09:54:10 +08:00
Zeke Zhang
2300104586 chore: skip unstable e2e test 2024-06-19 09:31:13 +08:00
ChengLei Shao
6522720a96
fix(backup-restore): snippet name (#4700) 2024-06-19 07:51:46 +08:00
Junyi
ed89dd04c8
fix(client): fix upload progress style (#4698) 2024-06-18 23:40:56 +08:00
Zeke Zhang
6e0074fb66
fix(variable): resolve the issue of incorrect sourceKey in variable lazy loading (#4691)
* test: add e2e test

* fix(variable): resolve the issue of incorrect sourceKey in variable lazy loading

* chore: optimize e2e test

* chore: fix unit tests

* chore: make e2e more stable
2024-06-18 19:28:22 +08:00
Katherine
c4c7a3ea3e
refactor: sub-table disabled dragSort (#4696)
* refactor: sub-table disableddragSort

* refactor: sub-table disabled dragSort
2024-06-18 16:42:47 +08:00
Katherine
8a7e86fdd6
fix: height calculation for full-height tabs in approval initiation and approval block (#4686) 2024-06-18 16:42:32 +08:00
ChengLei Shao
bb82faf583
chore(data-source-main): field name exists error message (#4689)
* chore: test

* chore: throw field name exists error

* chore: error message

* chore: error locale

* fix: i18n message
2024-06-18 16:34:35 +08:00
ChengLei Shao
f61b56fe4f
chore(database): mediumtext type support (#4697) 2024-06-18 16:03:35 +08:00
ChengLei Shao
06e166f8da
fix(database): find model in hooks (#4694)
* chore: test

* fix(database): find model in hooks
2024-06-18 15:31:45 +08:00
Junyi
3838793c50
feat(plugin-field-sequence): allow to customize date format (#4685)
* feat(plugin-field-sequence): allow to customize date format

* chore(plugin-sequence): remove debug log
2024-06-18 01:11:30 +08:00
Junyi
9bef416d51
refactor(plugin-workflow-dc): move collection template to plugin and remove sort field (#4682)
* refactor(plugin-workflow-dc): move collection template to plugin and remove sort field

* fix(client): fix variable component style
2024-06-17 18:21:11 +08:00
Katherine
2b7544bdc4
refactor: workflow block && template block support setting block height (#4678)
* refactor: workflow support setting block height

* refactor: support block template

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-06-17 16:37:31 +08:00
Katherine
6b6b69ae09
fix: restore field height spacing after removing description in form (#4679) 2024-06-17 16:31:59 +08:00
GitHub Actions Bot
9de4853030 chore(versions): 😊 publish v1.2.4-alpha 2024-06-17 00:53:36 +00:00
jack zhang
c66744d4a8
fix: action modal icon and Initializer menu close when click (#4664)
* fix: action modal icon and Initializer menu close when click

* fix: bug

* fix: bug

* feat: bug

* fix: e2e bug
2024-06-15 18:03:33 +08:00
chenos
6c431caec4 fix(mock-collections): syntax error at or near "-" 2024-06-15 15:35:12 +08:00
YANG QIA
de0fb26609
fix(data-vi): custom filter conditions are not applied (#4671)
* fix(data-vi): custom filter conditions are not applied

* fix: default value
2024-06-15 13:35:27 +08:00
Katherine
d2b2ac69e6
fix: chart block actionBar style (#4666) 2024-06-14 20:27:34 +08:00
YANG QIA
5a3466a73a
feat(data-vi): allows to use json5 in chart json config (#4668) 2024-06-14 20:19:22 +08:00
xilesun
8e20aac7a7 fix(data-vi): js expressions in advanced config is not saved 2024-06-14 19:52:48 +08:00
Zeke Zhang
1fcf1320c2
fix(duplicate): resolve error on click (#4658)
* fix(duplicate): resolve error on click

* test: add e2e test
2024-06-14 15:08:56 +08:00
Katherine
ec22846bbb
style: list block (#4665) 2024-06-14 14:13:58 +08:00
ChengLei Shao
e56e52ad49
chore(action-import): validate association & select field value (#4643)
* chore: validate association value in import

* chore: validate value in select field

* fix: test
2024-06-14 12:02:03 +08:00
Katherine
8260cfc817
fix: form/detail/filter block height (#4652)
* fix: form/detail/filter block height

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-06-14 11:11:50 +08:00
ChengLei Shao
b9bc94e062
chore(test): skipping websocket-related tests currently causes vitest to hang (#4644) 2024-06-14 10:19:56 +08:00
Junyi
c747ea65c4
fix(plugin-workflow): fix incorrectly schema reaction (#4661)
* fix(plugin-workflow): fix incorrectly schema reaction

* fix(plugin-workflow): add migration
2024-06-14 08:49:36 +08:00
RakuCloud
a49d958086
Update ja_JP.json (#4650)
change "Submit": "送信" to "Submit": "保存",
2024-06-13 23:04:23 +08:00
YANG QIA
d8e80ecb41
fix(logger): fix the issue where workflow log files do not output (#4657) 2024-06-13 22:53:02 +08:00
Junyi
c2687f71e3
fix(plugin-fm): add migration for fixing new added legacy attachment field (#4649)
* fix(plugin-fm): add migration for fixing new added legacy attachment field

* fix(plugin-fm): add uischema fix

* fix: migration
2024-06-13 18:12:22 +08:00
Junyi
a38e4ada05
fix(plugin-fm): set invalid when uploading is not completed to avoid submit (#4653) 2024-06-13 18:11:39 +08:00