286 Commits

Author SHA1 Message Date
nocobase[bot]
79a7eee889 chore(versions): 😊 publish v1.6.0-alpha.29 2025-02-27 07:22:26 +00:00
gchust
ae6b801132
feat: new block template plugin (#5920)
* feat: new block template plugin

* fix: build error

* fix: support nested template in blocks

* fix: remove undefined x-component properties from schema during template processing [skip ci]

* feat: reset action for template block

* fix: skip dnd error[skip ci]

* fix: dupliate template action[skip ci]

* fix: plugin not shown in test env

* fix: reset action not been shown

* fix: no permission error

* fix: loading error in production env

* fix: cross env dev error

* fix: blocks not shown in production env

* fix: insert template failing for the first time

* chore: merge

* fix: association record option not working correctly

* fix: setting error

* fix: setting

* fix: linkage error

* fix: association settings error

* fix: association record error

* feat: support edit form tpl

* fix: support more blocks

* fix: avoid nested template

* chore: re org codes

* chore: refactor[skip ci]

* chore: required comment for loading template [skip ci]

* refactor: simplify schema handling and add axios interceptors for template blocks[skip ci]

* fix: i18n [skip ci]

* feat: support showing template title in block

* fix: revert to template will lost the template title

* fix: delete operation removing blocks not working

* fix: template label

* fix: i18n error

* fix: form type should be shown only when current record

* feat: show template in the add new popup

* fix: form type switch should not be shown in add new block popup

* fix: missing i18n

* fix: associate fields should be shown only having current record

* fix: switching form not working in cn

* fix: incorrect form associate setting

* fix: uniq action issue

* fix: uniq fields/actions[skip ci]

* fix: style issue

* fix: error in configure actions

* fix: bulk destroy when no records selected

* fix: only show revert to template config in the block level

* fix: table refresh pagination incorrect after deletion

* fix: be able to input name of template

* fix: bulk destroy

* fix: reset setting will sync with template

* fix: block template table style

* fix: missing translatation

* fix: cache issue

* fix: blocks not shown in the popup after modifing the template

* feat: add search for template initializers

* fix: some blocks are missing template related setting

* fix: hide save as template in template configure view

* chore: revert incorrect commit

* fix: batchpatch error

* fix: mobile support

* fix: build error

* fix: limit one template one block

* feat: show revert to template for fields and actions

* fix: build error

* fix: revert to template not refreshing the ui for actions

* fix: revert to template not working for form

* fix: duplicate revert to setting setting item

* chore: rename reset to revert

* feat: disallow delete template's blocks in page

* feat: add colorTemplateBgSettingsHover for template block hover state

* fix: build error

* chore: hide convert to block template setting item for page

* fix: data template should be hidden in edit form

* fix: fields switch should be disabled

* chore: rename var [skip ci]

* fix: should not be able remove field in block

* fix: after revert settings, is able to remove block in template

* fix: revert settings

* fix: nested template block error

* refactor: cache

* fix: template key has not been validated in client side

* fix: only show template that has been configured

* feat: show template name in edit form

* chore: update package.json

* fix: duplicated fields after dnd in form

* fix: duplicated fields shown in form

* chore: hide old block template menu

* feat: support mobile block template [skip ci]

* fix: filter for type options [skip ci]

* fix: incorrect create new  button style [skip ci]

* feat: add mobile block support

* fix: can't restrict one template one block [skip ci]

* fix: template title not synced after editing template

* fix: keep block deletion should transform the template block to normal block

* fix: insert template fails for the first time

* fix: destroy error

* fix: deploy failure [skip ci]

* fix: destory error in subapp with sub domain

* fix: destroy error

* fix: popup action should be hidden in create new form [skip ci]

* fix: possible crash when converting template to block [skip ci]

* fix: some properties have not been revert in real time

* fix: fitler action condition error

* fix: useDataBlockResource error

* fix: revert settings not refresh filter action form [skip ci]

* fix: new template properties clear

* fix: custom request action can't be shown

* fix: template tab should not be removable

* fix: duplicated delete action in table column

* fix: field link popup not shown in block template page

* fix: page configure link not working correctly

* chore: revert useContextVaraible [skip ci]

* fix(popup): fix configured page not taking effect

* fix: add blocks  button shown in block settings

* fix: only loading 20 templates

* fix: add block icon has been shown [skip ci]

* fix: association not shown in block template configure page

* fix: edit association form error [skip ci]

* fix: console error [skip ci]

* fix: only current field has been refreshed after revert to template [skip ci]

* chore: remove incorrect commit file [skip ci]

* fix: some action delete action still be shown for template block [skip ci]

* fix: template block style[skip ci]

* fix: keep position when rever setting[skip ci]

* fix: revert to template error when already deleted from block [skip ci]

* fix: revert still works even the template has been deleted

* fix: popup not shown as template block [skip ci]

* fix: bulk destory can't keep blocks[skip ci]

* fix: after dnd some unique blocks may be duplicated in the client [skip ci]

* fix: duplicate fields error in form

* fix: revert setting incorrect [skip ci]

* fix: duplicated sub form

* refactor: simplify by moving template loading to backend [skip  ci]

* fix: failing to add template block [skip ci]

* fix: assign fields values in bulk update action [skip ci]

* fix: can't add fields in nester popup subform [skip ci]

* fix: sub-table sub-form not merged correctly [skip ci]

* fix: subtable not highlight unique fields correctly [skip ci]

* fix: block title will not be synced correctly [skip ci]

* fix: can't add block into template [skip ci]

* fix: revert setting not refreshed [skip ci]

* fix: block template title not correct in some cases [skip ci]

* fix: field link's popup merge[skip ci]

* fix: cannot read properties of null in some popup [skip ci]

* fix: position of ui components have not been saved after dnd [skip ci]

* fix: dnd position not saved correctly in some cases [skip ci]

* fix: dnd undefined type error [skip ci]

* fix: can't swtich form type

* fix: some form type switch error [skip ci]

* fix: hide chart block from templates [skip ci]

* feat: support hide some blocks from template [skip ci]

* fix: react error for revert submit button of edit form [skip ci]

* fix: hide workflow and approvar block from template

* fix: hide connect data block from template [skip ci]

* fix: error [skip ci]

* fix: associate record options have not been shown for create form [skip ci]

* fix: creat form popup will be shown after refresh if switch form type [skip ci]

* fix: associate record settings error [skip ci]

* fix: mobile template setting page can not open popup [skip ci]

* fix: mobile content overflow [skip ci]

* chore: update templates menu style [skip ci]

* fix: unique disassociate btn [skip ci]

* feat: save collection and component info while update template

* fix: clear template context info after remove block

* chore: update template block entry point

* fix: incorrect association field template block [skip ci]

* fix: template title only shown after refresh

* fix: tooltip can't be revert correctly after moving entry to submenu [skip ci]

* fix: incorrect behavior after adding collection submenu entries [skip ci]

* fix: edit form support

* fix: support current details [skip ci]

* fix: edit form btn not correct [skip ci]

* fix: create form action params [skip ci]

* fix: hide template menu entry in block template configure page [skip ci]

* fix: incorrect association [skip ci]

* fix: nested template [skip ci]

* fix: can't insert template in mobile [skip ci]

* fix: association title not correct for details block [skip ci]

* chore: remove incorrect submodules commit [skip ci]

* fix: create form is using post method [skip ci]

* fix: association hasone and belongsto details block error [skip ci]

* fix: edit form not able load data [skip ci]

* chore: hide tab bar in mobile template configure page [skip ci]

* fix: don't show no accessible pages for template configure page [skip ci]

* fix: not able to see template list on the first time opening popup [skip ci]

* fix: able to remove related approvals template block [skip ci]

* fix: data not loading for details hasone relationship [skip ci]

* fix: dnd position may not be saved [skip ci]

* fix: multi-step-form is able to delete template step[skip ci]

* fix: hide rever setting in multi step form step name [skip ci]

* fix: extrol wrap when adding blocks from template [skip ci]

* fix: nested schema patch [skip ci]

* fix: x-acl-action not correct[skip ci]

* fix: diassociate action should be unique [skip ci]

* fix: disassociate action not unique [skip ci]

* fix: mobile popup by url not working [skip ci]

* chore: code clean

* chore: update delete setting position [skip ci]

* chore: keep revert btn position consistant in all places [skip ci]

* chore: hide template from workflow setting page [skip ci]

* chore: update setting menu icon [skip ci]

* chore: rename provider name to avoid duplicated with core [skip ci]

* chore: move block template menu to an upper level [skip ci]

* fix: hide other block templates menu [skip ci]

* fix: hide other blocks when creating template

* fix: duplicate revert to template option

* fix: mail manager template block not shown in popup

* fix: main block not showing in popup

* chore: mark old template features as deprecated

* chore: hide deprecated templates in block template configure page

* fix: read x-virtual from null

* fix: ci test error

* fix: skip old templates e2e test cases

* fix: skip old templates e2e test cases

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2025-02-20 22:23:07 +08:00
nocobase[bot]
def75b475f chore(versions): 😊 publish v1.6.0-alpha.28 2025-02-18 11:31:06 +00:00
nocobase[bot]
c60f293620 chore(versions): 😊 publish v1.6.0-alpha.27 2025-02-16 07:05:02 +00:00
nocobase[bot]
ccc7779435 chore(versions): 😊 publish v1.6.0-alpha.26 2025-02-15 15:55:11 +00:00
nocobase[bot]
dea9965187 chore(versions): 😊 publish v1.6.0-alpha.25 2025-02-12 01:01:30 +00:00
nocobase[bot]
c0617c70ab chore(versions): 😊 publish v1.6.0-alpha.24 2025-02-11 04:02:25 +00:00
nocobase[bot]
c0ec18c0ec chore(versions): 😊 publish v1.6.0-alpha.23 2025-02-07 11:53:20 +00:00
nocobase[bot]
cd50adcf5e chore(versions): 😊 publish v1.6.0-alpha.22 2025-02-07 07:46:20 +00:00
nocobase[bot]
c71edbb4e7 chore(versions): 😊 publish v1.6.0-alpha.21 2025-02-07 01:51:40 +00:00
nocobase[bot]
c43fe72a66 chore(versions): 😊 publish v1.6.0-alpha.20 2025-02-02 04:55:59 +00:00
nocobase[bot]
4d0b1117b1 chore(versions): 😊 publish v1.6.0-alpha.19 2025-01-25 12:54:44 +00:00
nocobase[bot]
61488d95af chore(versions): 😊 publish v1.6.0-alpha.18 2025-01-24 06:10:10 +00:00
nocobase[bot]
93b8f93b74 chore(versions): 😊 publish v1.6.0-alpha.17 2025-01-19 12:54:20 +00:00
nocobase[bot]
4ba5dc0d6c chore(versions): 😊 publish v1.6.0-alpha.16 2025-01-19 06:19:56 +00:00
nocobase[bot]
8baec18988 chore(versions): 😊 publish v1.6.0-alpha.15 2025-01-19 02:05:02 +00:00
nocobase[bot]
4f523316b4 chore(versions): 😊 publish v1.6.0-alpha.14 2025-01-14 05:56:55 +00:00
nocobase[bot]
814693476d chore(versions): 😊 publish v1.6.0-alpha.13 2025-01-14 05:27:59 +00:00
nocobase[bot]
98a98b5fa0 chore(versions): 😊 publish v1.6.0-alpha.12 2025-01-10 03:51:12 +00:00
nocobase[bot]
7a91444572 chore(versions): 😊 publish v1.6.0-alpha.11 2025-01-09 10:15:45 +00:00
nocobase[bot]
fb49ba2a1c chore(versions): 😊 publish v1.6.0-alpha.10 2025-01-08 06:33:41 +00:00
nocobase[bot]
ff4f3ac955 chore(versions): 😊 publish v1.6.0-alpha.9 2025-01-06 05:23:18 +00:00
nocobase[bot]
466221f69f chore(versions): 😊 publish v1.6.0-alpha.8 2025-01-02 09:55:39 +00:00
nocobase[bot]
631cea1df9 Merge branch 'next' into develop 2024-12-25 11:33:18 +00:00
nocobase[bot]
ec8c2677b7 Merge branch 'main' into next 2024-12-25 11:32:57 +00:00
Katherine
9a93490dd2
fix: o2o association field not displaying target collection field in… (#5921)
* fix: o2o association field not  displaying target collection field in detail and form block

* fix: test
2024-12-25 19:32:31 +08:00
nocobase[bot]
0ff3d364fd chore(versions): 😊 publish v1.4.15 2024-12-24 16:46:21 +00:00
nocobase[bot]
1b866d8956 chore(versions): 😊 publish v1.5.0-beta.17 2024-12-24 16:45:11 +00:00
nocobase[bot]
2e70e75642 chore(versions): 😊 publish v1.6.0-alpha.7 2024-12-24 16:40:13 +00:00
nocobase[bot]
0485db6fd6 chore(versions): 😊 publish v1.5.0-beta.16 2024-12-24 07:36:01 +00:00
nocobase[bot]
0a377054b8 chore(versions): 😊 publish v1.5.0-beta.15 2024-12-23 04:44:40 +00:00
nocobase[bot]
7261334d9a chore(versions): 😊 publish v1.5.0-beta.14 2024-12-21 16:47:50 +00:00
nocobase[bot]
a7f50df186 chore(versions): 😊 publish v1.5.0-beta.13 2024-12-21 12:05:58 +00:00
nocobase[bot]
abd37b1e97 chore(versions): 😊 publish v1.4.14 2024-12-21 11:27:50 +00:00
nocobase[bot]
6478b1bb6d chore(versions): 😊 publish v1.4.13 2024-12-19 06:06:17 +00:00
nocobase[bot]
9ea2d8d7d4 chore(versions): 😊 publish v1.6.0-alpha.6 2024-12-19 02:21:42 +00:00
nocobase[bot]
a1fa4ac71e chore(versions): 😊 publish v1.5.0-beta.12 2024-12-18 15:36:41 +00:00
nocobase[bot]
b7906cdfbf chore(versions): 😊 publish v1.4.12 2024-12-18 11:31:48 +00:00
nocobase[bot]
fafc1b3951 chore(versions): 😊 publish v1.4.11 2024-12-18 10:19:13 +00:00
nocobase[bot]
fb55f1d17b chore(versions): 😊 publish v1.5.0-beta.11 2024-12-18 09:44:17 +00:00
nocobase[bot]
22ecd87c89 chore(versions): 😊 publish v1.5.0-beta.10 2024-12-18 04:02:51 +00:00
nocobase[bot]
c0871f57d1 Merge branch 'next' into develop 2024-12-17 03:07:36 +00:00
nocobase[bot]
7cf8b5e098 Merge branch 'main' into next 2024-12-17 03:07:14 +00:00
Katherine
0c742fc3ef
fix: missing x-data-source parameter in duplicate request template for external data source block (#5882)
* fix: issue with external data source collection duplicate failing to get data template

* fix: missing x-data-source parameter in duplicate request template for external data source block

* fix: date template with external data source

* fix: bug

* fix: data template with multi primary keys

---------

Co-authored-by: Chareice <chareice@live.com>
2024-12-17 11:06:51 +08:00
nocobase[bot]
4e0cd8a57d chore(versions): 😊 publish v1.5.0-beta.9 2024-12-15 11:45:45 +00:00
nocobase[bot]
a8bc4155dd chore(versions): 😊 publish v1.5.0-beta.8 2024-12-15 07:54:02 +00:00
nocobase[bot]
5a00386c4f chore(versions): 😊 publish v1.5.0-beta.7 2024-12-13 04:36:42 +00:00
nocobase[bot]
ca3b98ce1f chore(versions): 😊 publish v1.4.10 2024-12-12 14:04:41 +00:00
nocobase[bot]
27b326d9ba chore(versions): 😊 publish v1.4.9 2024-12-12 03:15:37 +00:00
nocobase[bot]
c804068478 chore(versions): 😊 publish v1.6.0-alpha.5 2024-12-11 14:26:08 +00:00