1111 Commits

Author SHA1 Message Date
Zeke Zhang
cfd5ff8b10
feat(Collapse): support to set default value (#5300)
* fix: remove configuration items that should not be displayed

* feat(Collapse): support to set default value

* fix: update UI after updating default value

* chore: fix build error

* chore: skip failed unit tests

* fix: fix the issue of default values for different fields not merging
2024-09-22 10:14:51 +08:00
猫鱼豆腐
af0c442268
feat(client): supports setting the text align in the style configuration item of the field (#5272)
* feat(client): table text align

* refactor: remove useless code

* refactor: extract schemas outside the component

* chore: make e2e tests pass

* test: add e2e tests

* chore: fix build

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-09-20 01:24:35 +08:00
katherinehhh
ba46b69ff3 Merge branch 'main' into next 2024-09-19 16:55:44 +08:00
Katherine
ccea048f65
fix: cannot select the option to delete the schedule in delete event action (#5274)
* fix: issue with deleteEven option

* fix: issue with deleteEven option

* fix: bug
2024-09-19 11:17:22 +08:00
GitHub Actions Bot
330f908cfb Merge branch 'main' into next 2024-09-18 08:11:42 +00:00
Zeke Zhang
4ba512ed17
fix(Table): prevent empty lines at the beginning (#5284)
* fix(Table): prevent empty lines at the beginning

* refactor: rename index to rowIndex
2024-09-18 16:11:16 +08:00
Katherine
28d08f619a
fix: recordpicker rowSelection (#5273) 2024-09-14 16:10:30 +08:00
GitHub Actions Bot
0d061a6c58 Merge branch 'main' into next 2024-09-14 07:42:58 +00:00
Katherine
ab719cf960
fix: column width issue with scroll.y when table has no data (#5256) 2024-09-14 15:39:18 +08:00
Katherine
2d518c755a
feat: add common handlebars helpers (#5262)
* refactor: handlebar support dateFormat

* refactor: handlebars register budibase/handlebars-helpers

* refactor: getRenderContent

* fix: bug

* refactor: support tz

* refactor: urlparse

* fix: variableDate

* fix: variableDate

* fix: test

* fix: test

* refactor: locale
2024-09-14 10:04:16 +08:00
GitHub Actions Bot
e315d42c7b Merge branch 'main' into next 2024-09-13 23:35:57 +00:00
Zeke Zhang
961e14bcef
fix(filterForm): fix date variables (#5257) 2024-09-14 07:35:38 +08:00
GitHub Actions Bot
b830604348 Merge branch 'main' into next 2024-09-11 09:21:37 +00:00
Zeke Zhang
f24972c01d
feat: do not update x-action-context when doNotUpdateContext is true (#5253) 2024-09-11 17:21:13 +08:00
Katherine
fe0d003e99
fix: markdown handlebars rendering issue with this context (#5250) 2024-09-11 11:18:20 +08:00
Katherine
24b3b08876
fix: issue with tree table nodes not expanding (#5252) 2024-09-11 10:58:26 +08:00
Katherine
0d32ba4ff5
chore: support composite record unique key (#5007)
* refactor: filterTargetkey support mutiple

* refactor: getRowKey

* fix: bug

* chore: test

* chore: test

* chore: test

* fix: bug

* fix: build

* fix: useBulkDestroyActionProps support join primary key

* fix: build

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: fieldNames

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: sourceIdValue

* fix: remoteselect

* chore: test

* chore: multi target key in has many relation repository

* chore: test

* chore: multiple relation repository

* fix: test

* refactor: target collection not support join collection

* Update update-associations.ts

---------

Co-authored-by: Chareice <chareice@live.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-09-10 21:51:37 +08:00
Katherine
5112b8e77e
refactor: secondary confirmation information supports customization (#5199)
* refactor: secondary confirmation information supports customization

* fix: bug

* fix: bug

* refactor: locale improve

* refactor: locale improve

* fix: test

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: locale improve

* fix: test

* fix: bug
2024-09-10 16:48:59 +08:00
ChengLei Shao
a7df0e3fd3
refactor: datetime field (#5084)
* refactor: date field support timezone, defaultToCurrentTime, and onUpdateToCurrentTime

* refactor: availableTypes unixTimestamp

* chore: defaultToCurrentTime

* chore: unix timestamp field

* fix: bug

* chore: field type map

* refactor: local improve

* fix: bug

* fix: bug

* chore: timezone test

* chore: test

* fix: test

* fix: test

* chore: field setter

* chore: test

* chore: date only field

* chore: test

* chore: test

* fix: bug

* fix: unixTimestamp

* fix: unixTimestamp

* chore: accuracy

* fix: bug

* fix: bug

* fix: unixTimestamp

* fix: unixTimestamp

* fix: date & datetime

* refactor:  add DateFieldInterface

* fix: bug

* chore: test

* chore: test

* chore: test

* refactor: locale improve

* refactor: local improve

* fix: bug

* refactor: unixTimestamp not support default value

* refactor: timezone

* refactor: datetimeNoTzFieldInterface

* refactor: locale improve

* refactor: locale improve

* fix: test

* fix: bug

* chore: datetime no tz field

* refactor: datetimeNoTz

* refactor: datetime

* fix: bug

* refactor: timeFormat

* style: collection fields style improve

* refactor: defaultToCurrentTime

* fix: datetime no tz

* chore: field type map

* fix: bug

* fix: bug

* refactor: createAt & updateAt

* fix: bug

* fix: no tz field with timezone

* refactor: dateonly

* fix: test

* chore: data type map

* fix: dateonly

* fix: dateonly

* fix: datetime

* refactor: locale improve

* refactor: unixtimestamp

* fix: merge bug

* fix: bug

* fix: datetime

* fix: datetime no tz

* fix: datetime no tz

* chore: mysql datetime map

* chore: test

* chore: test

* chore: test

* chore: datetimeTz field

* fix: no interface option

* refactor: update type

* refactor: update type

* fix: pg no tz field

* chore: save iso8601 format to no tz field

* fix: test

* fix: test

* refactor: gannt & calender startTime & endTime

* refactor: unixTimestamp

* chore: filter of datetime field

* chore: test

* chore: test

* fix: test

* fix: datetime no tz filter

* chore: test

* chore: test

* fix: datetime default value in mysql

* fix: sqlite test

* chore: test

* fix: test

* fix: test

* fix: $dateOn

* fix: bug

* fix: bug

* refactor: datepicker

* fix: test

* refactor: datePicker

* refactor: gantt setting

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-09-10 15:25:20 +08:00
GitHub Actions Bot
10dbed8918 Merge branch 'main' into next 2024-09-10 03:52:27 +00:00
Zeke Zhang
97d2ad6f52
feat: support for displaying deeper level association fields in data blocks (#5243)
* feat(table): add support for selecting child fields of association fields

* style: fix style

* feat(details): add support for selecting child fields of association fields

* fix: correct sourceId retrieval

* test: add tests

* chore: fix build error

* chore: remove ConfigProvider

* test: update e2e tests
2024-09-10 11:13:37 +08:00
GitHub Actions Bot
84523160b7 Merge branch 'main' into next 2024-09-09 11:42:38 +00:00
Katherine
4399856eae
fix: menu modifications do not take effect in real-time (#5207)
* fix: menu modifications do not take effect in real-time

* fix: bug
2024-09-09 19:42:12 +08:00
GitHub Actions Bot
4e3b7dd8b5 Merge branch 'main' into next 2024-09-09 09:33:21 +00:00
Katherine
db57b21e1a
refactor: support association field preloading in Handlebars templates (#5236)
* chore: update ci

* chore: update ci

* fix: support association field preloading in Handlebars templates

* fix: bug

---------

Co-authored-by: xilesun <2013xile@gmail.com>
2024-09-09 17:33:03 +08:00
GitHub Actions Bot
919bfcc4ca Merge branch 'main' into next 2024-09-08 14:15:08 +00:00
Zeke Zhang
1e7a740f66
fix(popup): fix URL anomalies caused by using popups together with Link buttons (#5219)
* fix(popup): resolve URL issues caused by popups used with Link buttons

* chore: make e2e tests pass
2024-09-08 22:14:51 +08:00
GitHub Actions Bot
d88adc395b Merge branch 'main' into next 2024-09-07 15:14:53 +00:00
Zeke Zhang
6767e59c02
feat(linkageRules): add support for linkage rules in sub-tables and sub-forms (#5159)
* refactor(linkageRules): extract common function

* refactor: extract forEachLinkageRule

* feat: bind linkage rules to fields

* feat(linkageRules): enable setting linkage rules for sub-tables and sub-forms

* feat(variable): add 'Current object' variable to linkage rules

* fix: make e2e tests pass

* fix: adapt read pretty

* fix: fix the block that does not refresh after changing linkage rules

* fix: improve styling for disabled fields
2024-09-07 22:53:23 +08:00
GitHub Actions Bot
e55a238519 Merge branch 'main' into next 2024-09-07 12:56:24 +00:00
Zeke Zhang
68c3d1d62a
fix: resolve unauthorized error on button click for normal roles (#5206)
* feat(server): add 'upgrade' action for uiSchemas

* test: add unit tests

* chore: update unit test

* refactor: rename 'upgrade' to 'initializeActionContext'

* fix: transaction

* chore: fix build

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-09-07 20:41:41 +08:00
GitHub Actions Bot
4ecdbd9fed Merge branch 'main' into next 2024-09-07 09:02:23 +00:00
chenos
954b6bdf62
feat: the default time for display is 00:00:00 (#5226) 2024-09-07 17:02:00 +08:00
GitHub Actions Bot
71cd2fe0e5 Merge branch 'main' into next 2024-09-07 02:04:29 +00:00
Junyi
18e684a957
fix(plugin-workflow): fix trigger type column showing wrong text after new workflow created (#5222)
* fix(plugin-workflow): fix trigger type column showing wrong text after new workflow created

* fix(plugin-workflow): fix bind workflow button
2024-09-07 11:04:11 +09:00
GitHub Actions Bot
1dc108a4a2 Merge branch 'main' into next 2024-09-06 16:06:28 +00:00
Zhichao Gu
efac16c6a9
feat: change all pageSize options to 5/10/20/50/100/200 (#5020)
* fix: change all pageSize options to 5/10/20/50/100/200

* fix: reset pageSize options same as list options 5/10/20/50/100/200

* fix: reset table pageSize options same as list options 5/10/20/50/100/200

* fix: list set pageSizeOption as 5/10/20/50/100/200,showSizeChanger

* fix: gridcard set pageSizeOption but showSizeChanger not set
2024-09-06 23:38:12 +08:00
nocobase[bot]
2b20c8aaf0 Merge branch 'main' into next 2024-09-06 08:32:37 +00:00
Katherine
2459991fbb
fix: issue with select linkage value type (#5180)
* fix: issue with filterItem remove

* fix: issue with select-linkage-value-type

* fix: bug

* fix: bug
2024-09-06 15:51:34 +08:00
Katherine
93a788e769
refactor: ActionPanel support popup & custom request action (#5148)
* refactor: workbench support popup action

* fix: popup action in workben

* fix: popup action in workben

* feat(WorkbenchAction): adapt popup

* refactor: workbench support custom request

* fix: workbench support custom request

* refactor: action panel

* refactor:  support layout

* refactor: support layout

* refactor: locale improve

* refactor: popup action support openMode

* refactor: layout

* fix: bug

* fix: bug

* fix: bug

* style: improve

* fix(map): resolve issue with map not displaying

* refactor: add popup action

* fix: bug

* refactor: confirm title

* style: improve

* fix: bug

* fix: resolve error when creating blocks

* chore: get unit test pass

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-09-05 23:01:41 +08:00
Zeke Zhang
1034aaa81d
fix(Collapse): resolve error when using variables in data scope (#5195)
* refactor: use common hook to reduce code size

* fix(Collapse): resolve error when using variables in data scope
2024-09-04 21:17:43 +08:00
Katherine
3c89e0342e
fix: custom request support refreshDataBlockRequest (#5188) 2024-09-04 16:54:15 +08:00
Katherine
5196b47b29
fix: issue with association select data scope linkage in sub-table (#5160)
* fix: association select data scope linkage in sub-table

* fix: association select data scope linkage in sub-table
2024-08-30 17:57:50 +08:00
Katherine
ae8f5c797f
fix: add text support handlebars (#5150) 2024-08-29 15:42:15 +08:00
Katherine
8beb8dbc3e
fix: association select data scope linkage should support edit form (#5149) 2024-08-29 11:54:20 +08:00
Katherine
e883985c4d
fix: association select data scope linkage should be supported in sub-form (#5146)
* fix: association select data scope linkage support sub-form

* fix: bug
2024-08-28 16:36:43 +08:00
Zeke Zhang
67d2f85a99
fix(defaultValue): ignores variable values that do not match the current field (#5122)
* refactor(variable): refactor parseVariable to support return more context

* fix(defaultValue): ignore no matching value

* fix: make unit tests pass

* chore: fix unit test
2024-08-28 11:53:52 +08:00
Zeke Zhang
af77f3c408
fix(template): fix error on form block submission (#5133)
* fix(template): fix error on form block submission

* fix(template): fix error on form block submission

* fix: make unit tests pass

* fix: make e2e tests pass
2024-08-28 10:52:06 +08:00
Zeke Zhang
dec3c838a3
feat: add support for opening via URL (#5098)
* feat(map): add support for opening via URL

* feat(calendar): add support for opening via URL

* feat(gantt): add support for opening via URL

* fix(duplicate,bulk-edit): resolve issues with popups

* fix: useDetailsBlockProps

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-08-27 21:58:55 +08:00
Junyi
eaf23766c7
fix(client): fix field names of variable input (#5128) 2024-08-26 15:43:26 +08:00