54 Commits

Author SHA1 Message Date
nocobase[bot]
8788fc9292 Merge branch 'next' into develop 2025-04-24 15:05:38 +00:00
gchust
b923d89fa0
feat: keep reference templates feature (#6743)
* feat: be able to create reference template

* chore: update template title

* fix: template menu position inconsitant

* chore: add reference templates into block template management view

* fix: menu not correct

* fix: incorrect label

* chore: remove useless component

* fix: build error

* fix: incorrect translate

* fix: incorrect  translate tab [skip ci]

* chore: remove edit icon[skip ci]

* fix: e2e tests failing
2025-04-24 23:05:12 +08:00
nocobase[bot]
5cf066a865 chore(versions): 😊 publish v1.7.0-beta.23 2025-04-24 11:45:11 +00:00
nocobase[bot]
eae9775fa5 Merge branch 'next' into develop 2025-04-24 07:09:26 +00:00
Katherine
2ef89513ff
refactor: remove icon from row buttons in plugin (#6760) 2025-04-24 15:09:01 +08:00
nocobase[bot]
851f35657a chore(versions): 😊 publish v1.7.0-alpha.12 2025-04-24 01:43:51 +00:00
nocobase[bot]
d7c4921d1d chore(versions): 😊 publish v1.7.0-beta.22 2025-04-24 00:00:43 +00:00
nocobase[bot]
7fb0805888 chore(versions): 😊 publish v1.7.0-beta.21 2025-04-23 10:21:44 +00:00
Zeke Zhang
6b51026941 Merge branch 'next' into develop 2025-04-23 16:08:37 +08:00
gchust
d31aa4a91c
feat: add convert template block to page block action (#6662)
* feat: add convert template block to page block action

* feat: convert template block to normal block

* fix: remove remaining template properties

* fix: list template not loading data

* fix: user menu render error

* fix: save as template and convert to block should hide in workflow config page

* fix: incorrect translation
2025-04-22 13:25:29 +08:00
nocobase[bot]
6881d10cf4 Merge branch 'next' into develop 2025-04-21 08:21:30 +00:00
gchust
c1b24c5c53
fix: block template menus not shown in mysql env (#6726) 2025-04-21 16:21:08 +08:00
nocobase[bot]
c04747988e chore(versions): 😊 publish v1.7.0-alpha.11 2025-04-19 13:25:01 +00:00
nocobase[bot]
402c3f4b3a chore(versions): 😊 publish v1.7.0-beta.20 2025-04-18 00:52:00 +00:00
nocobase[bot]
b04e877d31 chore(versions): 😊 publish v1.7.0-beta.19 2025-04-17 08:13:12 +00:00
nocobase[bot]
f1c9a14e6c chore(versions): 😊 publish v1.7.0-beta.18 2025-04-15 16:11:32 +00:00
nocobase[bot]
bc7af8b80f chore(versions): 😊 publish v1.7.0-beta.17 2025-04-14 16:52:54 +00:00
Zeke Zhang
ba83b2b1be
feat: support automatic data block refresh (#6591) (#6658)
* fix: update FilterContext to allow null parent value

* fix: refactor context usage from FilterContext to DataBlocksContext in FilterProvider and SchemaSettings

* feat: add highlight and unhighlight functionality for data blocks in SchemaSettings

* Revert "fix: refactor context usage from FilterContext to DataBlocksContext in FilterProvider and SchemaSettings"

This reverts commit a75c7002010785f1cfd2e78c4f5998d0194366bc.

* Revert "fix: update FilterContext to allow null parent value"

This reverts commit 6eb0b1989e20be8310f8dbce4e875e862123f2b3.

* feat: add AllDataBlocksProvider and integrate it into SchemaSettings and Page components

* feat: add BlocksSelector component and integrate data block refresh functionality in Action and SchemaSettings

* feat: optimize handleClick to use useMemo for better performance and refresh data blocks after onClick

* feat: add dialog visibility control in BlocksSelector for improved user experience

* fix: avoid error

* feat: add highlight and scroll tracking functionality for data blocks

* feat: add transition

* feat: add tootip

* fix: prevent closed dialog blocks from appearing in the BlocksSelector options

* fix: handle errors during block refresh to prevent crashes

* chore: fix build

* feat: add AllDataBlocksProvider to BlockTemplatePage and export from index

* feat: set width for AfterSuccess dialog to 700

* feat: wrap MobileRouter with AllDataBlocksProvider for improved data handling

* feat: export BlocksSelector component and integrate into AfterSuccess settings

* fix: ensure container visibility is managed correctly in highlightBlock and unhighlightBlock functions

* fix: remove unnecessary display property manipulation in highlightBlock and simplify unhighlightBlock logic

* chore: hide data refresh after sucess option from block template configure page

* fix: revert code format

---------

Co-authored-by: gchust <gchust@qq.com>
2025-04-14 18:34:21 +08:00
nocobase[bot]
62d857b1bc chore(versions): 😊 publish v1.7.0-beta.16 2025-04-11 16:42:25 +00:00
nocobase[bot]
95952c7a45 chore(versions): 😊 publish v1.7.0-beta.15 2025-04-10 03:29:03 +00:00
nocobase[bot]
345a3dd27c Merge branch 'next' into develop 2025-04-10 01:07:10 +00:00
gchust
f9b2720ef2
fix: save as template error if block is using a deleted ref template (#6638) 2025-04-09 22:42:53 +08:00
nocobase[bot]
eeec17265c chore(versions): 😊 publish v1.7.0-beta.14 2025-04-09 11:28:40 +00:00
Zeke Zhang
aa67992c91
feat: support automatic data block refresh (#6591)
* fix: update FilterContext to allow null parent value

* fix: refactor context usage from FilterContext to DataBlocksContext in FilterProvider and SchemaSettings

* feat: add highlight and unhighlight functionality for data blocks in SchemaSettings

* Revert "fix: refactor context usage from FilterContext to DataBlocksContext in FilterProvider and SchemaSettings"

This reverts commit a75c7002010785f1cfd2e78c4f5998d0194366bc.

* Revert "fix: update FilterContext to allow null parent value"

This reverts commit 6eb0b1989e20be8310f8dbce4e875e862123f2b3.

* feat: add AllDataBlocksProvider and integrate it into SchemaSettings and Page components

* feat: add BlocksSelector component and integrate data block refresh functionality in Action and SchemaSettings

* feat: optimize handleClick to use useMemo for better performance and refresh data blocks after onClick

* feat: add dialog visibility control in BlocksSelector for improved user experience

* fix: avoid error

* feat: add highlight and scroll tracking functionality for data blocks

* feat: add transition

* feat: add tootip

* fix: prevent closed dialog blocks from appearing in the BlocksSelector options

* fix: handle errors during block refresh to prevent crashes

* chore: fix build

* feat: add AllDataBlocksProvider to BlockTemplatePage and export from index

* feat: set width for AfterSuccess dialog to 700

* feat: wrap MobileRouter with AllDataBlocksProvider for improved data handling

* feat: export BlocksSelector component and integrate into AfterSuccess settings

* fix: ensure container visibility is managed correctly in highlightBlock and unhighlightBlock functions

* fix: remove unnecessary display property manipulation in highlightBlock and simplify unhighlightBlock logic

* chore: hide data refresh after sucess option from block template configure page

* fix: revert code format

---------

Co-authored-by: gchust <gchust@qq.com>
2025-04-09 09:51:50 +08:00
nocobase[bot]
6b29f3b41d Merge branch 'next' into develop 2025-04-08 01:27:55 +00:00
chenos
99c6ecb398 fix: add migrationRules 2025-04-08 09:27:00 +08:00
nocobase[bot]
1d698dc9dc Merge branch 'next' into develop 2025-04-07 09:50:21 +00:00
gchust
af3d5b56fd
fix: null x-component has not been cleaned correctly (#6626) 2025-04-07 17:49:56 +08:00
gchust
c6e75919ba
fix: block template configure page style (#6625)
* fix: block template configure page style

* fix: unit tests errors

* chore: update tests snapshot

* fix: inconsistant style
2025-04-06 19:27:06 +08:00
nocobase[bot]
994be1a2a1 chore(versions): 😊 publish v1.7.0-beta.13 2025-04-02 01:08:51 +00:00
nocobase[bot]
1d40bd1b8a chore(versions): 😊 publish v1.7.0-beta.12 2025-03-28 11:44:46 +00:00
nocobase[bot]
c9f37e61e5 chore(versions): 😊 publish v1.7.0-beta.11 2025-03-27 10:10:25 +00:00
nocobase[bot]
45e6e7d448 chore(versions): 😊 publish v1.7.0-beta.10 2025-03-27 06:10:23 +00:00
nocobase[bot]
b707061ef6 chore(versions): 😊 publish v1.7.0-alpha.10 2025-03-27 04:19:11 +00:00
gchust
eff252f3f5
fix: save as template duplicated options for details block (#6558) 2025-03-26 12:02:39 +08:00
gchust
380da5ec0e
fix: linkage rules have not been synced correctly from form template (#6550) 2025-03-25 18:42:58 +08:00
gchust
8ada20b172 fix: save as template not working if fields containing nest properties (#6543)
* fix: save as template not working if fields containing nest properties

* fix: hide old blocks save as template

* fix: unit tests failing

* fix: unit tests for hiding old save template option

* fix: unit test failing for save as template
2025-03-25 15:25:26 +08:00
nocobase[bot]
befdd5366c chore(versions): 😊 publish v1.7.0-beta.9 2025-03-25 05:03:40 +00:00
nocobase[bot]
ffaa71e01e chore(versions): 😊 publish v1.7.0-alpha.4 2025-03-23 05:22:57 +00:00
nocobase[bot]
45c50cdcc4 chore(versions): 😊 publish v1.7.0-alpha.3 2025-03-18 02:00:02 +00:00
nocobase[bot]
14bfb7abb7 chore(versions): 😊 publish v1.7.0-alpha.2 2025-03-14 23:14:25 +00:00
gchust
67fb0df0f8
fix: mobile saveas template not working correctly (#6420) 2025-03-11 19:27:50 +08:00
nocobase[bot]
00c2ed0808 chore(versions): 😊 publish v1.7.0-alpha.1 2025-03-11 04:10:21 +00:00
nocobase[bot]
ffd59ebfdf chore(versions): 😊 publish v1.6.0-alpha.31 2025-03-10 17:42:29 +00:00
gchust
b73f170edd
fix: save as template not shown (#6398)
* fix: save as template not shown

* fix: block template settings and route handling

* fix: incorrect l18n
2025-03-10 21:40:51 +08:00
nocobase[bot]
63887c160b chore(versions): 😊 publish v1.6.0-alpha.30 2025-03-07 08:12:39 +00:00
gchust
822b6190d2
feat: support save as template for block template (#6348)
* feat: support  save as template  for block template

* fix: incorrect nested template

* chore: ask user to convert deprecated reference template before converting
2025-03-06 09:17:39 +08:00
nocobase[bot]
79a7eee889 chore(versions): 😊 publish v1.6.0-alpha.29 2025-02-27 07:22:26 +00:00
gchust
65a0453cff
chore: update popup btn position for block template (#6317) 2025-02-27 09:32:57 +08:00
gchust
92e71407c1
fix: block's template info not loading correctly (#6306) 2025-02-26 19:49:34 +08:00