85 Commits

Author SHA1 Message Date
Katherine
435dc80a78
fix: "Select from existing data" still showing when disable “Allow mu… (#6167)
* fix: "Select from existing data" still showing when disable “Allow multiple ” in to-many subform

* fix: bug
2025-02-07 17:03:38 +08:00
nocobase[bot]
86f44e747a Merge branch 'next' into develop 2025-01-26 11:55:17 +00:00
Zeke Zhang
173e1169e1
fix: should refresh page when deleting block (#6139)
* fix: should refresh page when deleting block

* fix: bug

* chore: skip unstable test
2025-01-26 19:54:54 +08:00
nocobase[bot]
8eb3b87dc3 Merge branch 'next' into develop 2025-01-24 15:06:35 +00:00
katherinehhh
cae5d68211 Merge branch 'main' into next 2025-01-24 23:05:50 +08:00
Katherine
a00dcb78cb
refactor: optimize filter component in filter form to match filterable settings (#6110)
* fix: display checkbox field as select in filter form

* fix: bug

* chore: filterCollectionffield

* refactor: code improve

* fix: bug

* fix: bug

* fix: isTruly and isFalsy

* fix: bug

* fix: bug

* fix: bug

* fix: bug

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2025-01-24 23:00:35 +08:00
nocobase[bot]
d441e523a4 Merge branch 'next' into develop 2025-01-22 02:15:14 +00:00
katherinehhh
982936963b Merge branch 'main' into next 2025-01-22 10:13:55 +08:00
Katherine
dddd4616ca
fix: drag issue in quick popup add action for association field (#6112) 2025-01-21 20:01:37 +08:00
Katherine
8b2ec36150
feat: add schemaSetting to show file name for attachments (#5995)
* feat: add schemaSettig to show file name for attachments

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2025-01-08 17:55:48 +08:00
Katherine
5d5f455b3c
feat: supports configuring dynamic environment variables and secrets (#5966)
* feat: environments plugin

* feat: improve code

* fix: improve code

* feat: improve code

* refactor: package description

* feat: bulk import

* fix: remove

* refactor: file manager support environment variables

* refactor: file manager support environment variables

* refactor: map manager support environment variables

* refactor: support environment variables

* refactor: support environment variables

* refactor: support delete environment variables

* fix: bug

* refactor: workflow support environment variables

* refactor: email  environment variables

* refactor: support bulk import

* refactor: support bulk import

* refactor: support bulk import

* refactor: support bulk import

* refactor: code improve

* feat: env

* chore: update

* feat: environment

* fix: bug

* fix: acl snippet

* fix: acl snippets

* chore: map manager

* refactor: support line break

* refactor: support password

* chore: environment variables

* fix: bug

* fix: bug

* chore: enviroment variables

* chore: system settings

* fix: improve code

* feat: verification

* feat: map

* feat: file-manager

* feat: notification

* fix: bug

* feat: workflow

* fix: improve code

* fix: bug

* feat: data-source

* feat: auth

* fix: error

* fix: bug

* refactor: description

* refactor: locale

* refactor: locale

* refactor: locale

* refactor: code improve

* refactor: locale

* refactor: locale

* style: style improve

* fix: error

* fix: bug

* fix: bug

* refactor: environment

* fix: ellipsis

* refactor: password

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* chore: test

* fix: cache

* fix: mysql dialect options

* refactor: email config form

* fix: bug

* fix: bug

* fix: authenticator.dataValues parse

* fix: include undefined

* fix: json

* fix: json parse

* chore: enviromentProvider

* fix: acl

* fix: rowKey

* fix: update ProviderOptions.tsx

* feat: get app instance

* fix: bug

* fix: text

* fix: build error

* fix: error

* chore: migration rules options

* chore: migration rules

* refactor: code improve

* feat: env v2

* chore: environment varibales

* chore: environment serve

* fix: getVariables

* feat: improve code

* fix: bug

* chore: collection options for migration

* chore: tree collection options

* chore: migration rules

* chore: migration rules

* chore: env api

* chore: env api

* fix: optionsKeysNotAllowedInEnv

* fix: required true

* fix: improve code

* fix: app refresh

* fix: remove db.import

* fix: type error

* fix: map

* refactor: locale improve

* refactor: tx-cos

* fix: undefined

* refactor: code improve

* chore: use bookworm

* fix: npm add user

* fix: npm login

* fix: npm adduser

* fix: npm adduser

* fix: expect

* fix: expect

* fix: environmentVariables

* refactor: support bulk delete & filter

* refactor: locale improve

* feat: filter

* refactor: useGlobalVariable

* fix: scope

* fix: bug

* fix: optionsKeysNotAllowedInEnv

* fix: test error

* fix: test

* fix: test

* feat: improve code

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Chareice <chareice@live.com>
2025-01-08 09:32:49 +08:00
nocobase[bot]
cb16369459 Merge branch 'next' into develop 2025-01-03 09:04:13 +00:00
Zeke Zhang
122d33aaf5 Merge branch 'main' into next 2025-01-03 17:03:27 +08:00
ldq
c9cf85e120
feat: (Input.Preview) add oversized option and object-fit support (#5907)
- Add 'oversized' (120px) size option for preview images
- Add object-fit configuration to control image display mode
- International locale configuration

Co-authored-by: Zeke Zhang <958414905@qq.com>
2025-01-03 13:12:20 +08:00
nocobase[bot]
9f6688b436 Merge branch 'next' into develop 2024-12-23 01:40:46 +00:00
chenyongxin
5dee3427de
feat: datePickerComponentFieldSettingAddDateLimitRange (#5852)
* feat: datePickerComponentFieldSettingAddDateLimitRange

* feat: handling sub tables and sub forms
2024-12-23 09:40:24 +08:00
nocobase[bot]
cba0cd1137 Merge branch 'next' into develop 2024-12-18 03:22:08 +00:00
Zeke Zhang
14fd1924ad Merge branch 'main' into next 2024-12-18 11:21:19 +08:00
Zeke Zhang
6d3c7e037f
feat: add ellipsis configuration support for more components (#5888)
* feat: add ellipsis configuration support for more components

* chore: fix unit tests
2024-12-18 11:16:11 +08:00
nocobase[bot]
93d2345c3c Merge branch 'next' into develop 2024-12-13 07:46:39 +00:00
Zeke Zhang
1daaaa0941 chore(ellipsis): unskip e2e test 2024-12-13 15:45:54 +08:00
Katherine
e04c404b4c
feat: support selecting existing data in subform (#5849)
* feat: subform support selecting existing data

* chore: add new button in sub form

* fix: build

* fix: bug

* fix: test

* fix: test
2024-12-12 22:10:14 +08:00
nocobase[bot]
25a9165d7a Merge branch 'main' into next 2024-12-12 02:28:07 +00:00
Zeke Zhang
d5ac3eee04
fix(dataScope): fix issue with nested association field variables (#5866) 2024-12-12 10:27:42 +08:00
Zeke Zhang
cbf806c143
fix(template): fix the issue of association field data loss (#5848)
* fix(template): fix the issue of association field data loss

* chore: make e2e more stable
2024-12-10 16:24:07 +08:00
Zeke Zhang
2b38c1b79b
fix(Users & Permissions): fix issue with Roles field not displaying c… (#5846)
* fix(Users & Permissions): fix issue with Roles field not displaying content

* chore: make e2e test more stable and skip unstable test
2024-12-10 11:26:52 +08:00
Zeke Zhang
694c9b0928
fix(popup): completely solve the URL confusion issue (#5812)
* test(e2e): add test

* fix(enableLink): fix popup issue

* fix(enableLink): fix popup issue

* fix(popup): completely solve the URL confusion issue

* chore(e2e): fix e2e error

* chore(e2e): make e2e more stable
2024-12-08 00:12:01 +08:00
Zeke Zhang
6ef4e9608c fix(enableLink): fix error when enableLink is enabled 2024-12-04 22:10:25 +08:00
Zeke Zhang
0fa56d7407
perf(Table): remove Formily components to improve performance (#5738)
* perf(Table): remove Formily components to improve performance

* refactor: rename and modify comments

* fix(UIEditor): fix hover style

* fix(Table): fix style configuration option not showing

* fix(ellipsis): fix refresh issue

* fix: need to update field value

* perf(Table): improve performance of configuring top buttons

* refactor: skip style-related code when no style rules are set

* chore(e2e): fix e2e errors

* fix(e2e): fix e2e errors

* fix(workflow): fix refresh issue

* fix(workflow): fix refresh issue

* fix(Action.Container): fix refresh issue

* fix(drawer): fix refresh issue

* fix(Table): fix refresh issue

* fix(AssociationField): fix refresh issues

* fix(NocoBaseRecursionField): fix refresh code

* refactor(SchemaComponentContext): remove useless code

* refactor: rename RefreshContext to RefreshFieldSchemaContext

* refactor(useDataBlockRequestGetter): optimize comment

* refactor: rename and new refresh context

* fix(Table): fix some refresh issues

* fix(AssociationField): fix refresh issue

* refactor(Table): make code better

* fix: replace RecursionField with NocoBaseRecursionField

* refactor: remove useless code

* fix(Menu): fix draging issue

* fix: refresh entire page after drag and drop operation

* fix(Page): fix draging issue

* chore: fix build error

* fix(test): make unit tests pass

* chore(test): fix unit test

* chore(e2e): fix e2e errors

* chore(e2e): update e2e to make it pass

* chore(e2e): update e2e to make it pass

* chore(e2e): fix e2e errors

* fix(e2e): fix some e2e errors

* fix(SchemaComponent): fix onChange issue

* chore(e2e): make e2e more stable
2024-12-04 21:05:50 +08:00
Katherine
e6cf5ae535
feat: support link enabled in fields to trigger popup opening (#5747)
* feat: support link activation in fields to trigger popup opening

* refactor: withPopupWapper

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: test

* fix: test

* fix: bug

* fix: test
2024-12-02 18:42:03 +08:00
Katherine
231b7d641b
chore: add support for Layout parameters (labelAlign, labelWidth, labelWrap) (#5521)
* chore:  support layout settings

* refactor: locale improve

* fix: test

* fix: bug

* refactor: label width

* fix: bug

* refactor: locale improve

* fix: bug

* style: style improve

* fix: test
2024-11-01 16:06:18 +08:00
Katherine
45810d0658
fix: issues with deletion action , text ellipsis, and new data display in sub-table (#5523)
* fix: subtable issue

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-10-29 18:12:48 +08:00
nocobase[bot]
41564ce029 Merge branch 'main' into next 2024-10-24 04:00:32 +00:00
Zeke Zhang
4e981ed339
perf(Table): improve performance (#5438)
* perf(Table): improve performance

* perf(RecordProvider): improve performance

* perf(Table): improve performance

* refactor: migrate component to out

* perf(Action): improve performance

* perf(useInView): registor in row instead of cell

* perf(useCompile): improve performance

* fix: fix undefined error

* perf: use startTransition API

* fix: make e2e test pass

* fix: make e2e test pass

* fix: make unit test pass

* chore: fix unit test

* perf: replace antd skeleton component with custom skeleton component

* perf: split useParentObjectVariable

* perf(ColumnFieldProvider): remove observer and use useMemo

* perf(ReadPretty.JSON): remove Typography

* refactor(Map): use new API

* perf(markdown): use memoize

* fix: make unit test pass

* refactor: extract constant

* perf(ButtonLinkList): use asynchronous rendering to prevent blocking the main process

* fix(ButtonLinkList): fix render issue

* refactor: remove observer

* perf: optimize code

* refactor(EllipsisWithTooltip): extract function out

* refactor(EllipsisWithTooltip): optimize code

* perf(SelectReadPretty): improve performance

* chore: make e2e test more stable
2024-10-24 11:58:20 +08:00
Zeke Zhang
4fcf7e3815
fix(FilterBlocks): allow adding filter blocks in popup even without a… (#5502)
* fix(FilterBlocks): allow adding filter blocks in popup even without association fields

* chore: make e2e more stable
2024-10-24 11:46:17 +08:00
Katherine
c903b43a17
feat: subTable support pagination (#5450)
* refactor: subtable support pagination settings

* fix: bug

* fix: bug
2024-10-22 17:00:11 +08:00
Katherine
1649a1d692
feat: blocks support layout settings (#5429)
* feat: form and details blocks support layout settings

* refactor: kanban & list & grid card support layout

* fix: bug

* fix: bug

* fix: test

* fix: bug

* fix: style improve
2024-10-18 17:46:51 +08:00
Zeke Zhang
2bfe8bafb4 Merge branch 'main' into next 2024-10-18 12:47:39 +08:00
Zeke Zhang
988476ea3e
feat(filterForm): add 'Allow multiple selection' for association fields (#5451)
* feat(filterForm): add 'Allow multiple selection' for association fields

* test: add e2e test
2024-10-18 12:42:35 +08:00
Katherine
eff3dfdd54
feat: support configuring disassociation button in sub-tables (#5425)
* feat: support configuring disassociation button in sub-tables

* fix: bug

* refactor: locale improve

* fix: filter action test
2024-10-18 12:01:14 +08:00
Katherine
55cdfadee7
fix: undefined type in useDataBlockProps() (#5365) 2024-10-08 13:49:55 +08:00
chenos
cc0f945dbf
feat: date type fields support setting the picker type (#5345)
* refactor: date field support picker

* refactor: date field support picker

* refactor: date time field

* refactor: date time field

* refactor: locale improve

* refactor: defaultValue

* refactor: datetime field

* refactor: remove week

* fix: bug

* fix: bug

* fix:  bug

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* refactor: test

* refactor: test

* fix: bug

* fix:  bug

* fix: bug

* refactor: expiresRadio

* refactor: datepicker

* fix: bug

* fix: bug

* fix: bug

* fix: test

* refactor: change operator

* refactor: change picker

* refactor: datetime operator schema

* refactor: filterWithPicker

* refactor: support linkage rule

* fix: bug

* refactor: useFilterFormItemInitializerFields

* refactor: useFilterFormItemInitializerFields

* fix: default value for datetime

* fix: bug

* fix: filter date time

* fix: filter date time

* fix: bug

* fix: bug

* refactor: datePicker RangePicker

* refactor: datePicker RangePicker

* style: date picker style improve

* fix: bug

* fix: bug

* fix: bug

* fix: default value

* fix: bulk edit datetime field

* fix: picker support third party data source

* fix: test

* fix: bug

* chore: fix unit test

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-09-30 18:38:08 +08:00
chenos
c91c43a71b Revert "feat: date type fields support setting the picker type (#5271)"
This reverts commit dcaad79370b18ae17747e7fb1a1eb146783f88a1.
2024-09-30 08:41:51 +08:00
Katherine
dcaad79370
feat: date type fields support setting the picker type (#5271)
* refactor: date field support picker

* refactor: date field support picker

* refactor: date time field

* refactor: date time field

* refactor: locale improve

* refactor: defaultValue

* refactor: datetime field

* refactor: remove week

* fix: bug

* fix: bug

* fix:  bug

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* refactor: test

* refactor: test

* fix: bug

* fix:  bug

* fix: bug

* refactor: expiresRadio

* refactor: datepicker

* fix: bug

* fix: bug

* fix: bug

* fix: test

* refactor: change operator

* refactor: change picker

* refactor: datetime operator schema

* refactor: filterWithPicker

* refactor: support linkage rule

* fix: bug

* refactor: useFilterFormItemInitializerFields

* refactor: useFilterFormItemInitializerFields

* fix: default value for datetime

* fix: bug

* fix: filter date time

* fix: filter date time

* fix: bug

* fix: bug

* refactor: datePicker RangePicker

* refactor: datePicker RangePicker

* style: date picker style improve

* fix: bug

* fix: bug

* fix: bug

* fix: default value

* fix: bulk edit datetime field

* fix: picker support third party data source

* fix: test
2024-09-29 17:49:44 +08:00
chenos
c3e740b552
feat: public forms (#5142)
* feat: public forms plugin

* refactor: public form

* refactor: parseCollectionData

* refactor: parseToken

* refactor: handleEditPublicForm

* refactor: parseACL

* refactor: enable form

* refactor: copy link

* refactor: edable password

* refactor: qr code

* refactor: create public form

* refactor: create public form

* refactor: bulk destroy

* fix: bug

* refactor: support nester form

* refactor: show message under control

* refactor: support bulk destroy

* refactor: support bulk destroy

* refactor: adapt to mobile devices

* refactor: settings

* refactor: locale improve

* refactor: parseAcl

* refactor: parseAcl

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: dataSourceCollectionCascaderReadPretty

* fix: bug

* fix: bug

* fix: bug

* fix: collection template

* fix: style improve

* refactor: locale improve

* refactor: parseToken

* fix: bug

* style: brand style improve

* refactor: settings

* fix: bug

* fix: bug

* refactor: locale improve

* refactor: locale improve

* refactor: locale improve

* refactor: locale improve

* refactor: package.json

* refactor: create form schema

* refactor: create form schema

* fix: bug

* fix: parseToken

* fix: publicFormsSchema

* fix: publicFormsSchema

* fix: useSubmitActionProps

* fix: useSubmitActionProps

* fix: password

* fix: password

* refactor: custom request

* refactor: variable for public form

* style: style improve

* fix: bug

* style: style improve

* style: style improve

* refactor: filter

* refactor: locale improve

* refactor: locale improve

* refactor: locale improve

* fix: bug

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-09-26 17:12:16 +08:00
Zeke Zhang
cbffcf95d7 fix(ellipsis): fix undefined error 2024-09-25 09:07:49 +08:00
Zeke Zhang
cd1d568922 chore: make e2e test more stable 2024-09-24 18:20:37 +08:00
Zeke Zhang
c3afb5ee91 fix(ellipsis): optimize text style 2024-09-24 18:02:34 +08:00
Zeke Zhang
0aab9f5a75 chore(ellipsis): change title to 'Ellipsis overflow content' 2024-09-24 14:52:56 +08:00
Zeke Zhang
dc11670f54
feat(fieldSettings): add a Settings named 'Ellipsis' (#5306)
* feat(fieldSettings): add a Settings named 'Ellipsis'

* chore: add translation

* chore: fix build

* chore: fix build

* chore: skip some unit tests

* fix: fix hidden prop

* test: add e2e test

* style(Kanban): optimize text style

* chore: make e2e test more stable
2024-09-24 13:45:32 +08:00