2405 Commits

Author SHA1 Message Date
Zeke Zhang
b6762ebcdb
fix(embed): fix the problem that switching tabs doesn't work (#5074) 2024-08-17 17:38:52 +08:00
Katherine
ea943b303b
fix: sorting of Table block data (#5071) 2024-08-17 17:33:34 +08:00
GitHub Actions Bot
5f42cdc443 Merge branch 'main' into next 2024-08-17 09:30:13 +00:00
Katherine
2c466db7bb
fix: the selected data in the sub table is overwritten by default values (#5075) 2024-08-17 17:29:56 +08:00
GitHub Actions Bot
39bc571788 chore(versions): 😊 publish v1.2.35-alpha 2024-08-16 09:56:16 +00:00
Katherine
e232ed7582
refactor: datetime field support timezone, defaultToCurrentTime, and onUpdateToCurrentTime (#5012)
* 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

---------

Co-authored-by: Chareice <chareice@live.com>
2024-08-16 16:50:51 +08:00
Zeke Zhang
4aaab331ae
fix(mobile): fix 'Edit link' setting (#5068) 2024-08-16 12:02:11 +08:00
Katherine
de9607f602
fix: gridCard blocks cannot flip pages when using API data sources (#5066)
* fix: gridCard pagination

* fix: bug
2024-08-16 09:40:18 +08:00
GitHub Actions Bot
2243957d0d Merge branch 'main' into next 2024-08-15 12:18:35 +00:00
Katherine
809b561aee
fix: filter form action bar stye improve (#5054) 2024-08-15 20:18:17 +08:00
Zeke Zhang
c5f345ff57
fix(template): refresh parent data on submit button click in referenced template block (#5057)
* fix(template): refresh parent data on submit button click in referenced template block

* refactor: migrate e2e fiels of add-new to out

* test: add e2e test

* chore: fix e2e test
2024-08-15 19:32:43 +08:00
Katherine
b26d38be5f
fix: html rendering in markdown block (#5062) 2024-08-15 12:01:48 +08:00
Katherine
ecaf0b7e79
style: table column congirure fields bar style improve (#5055) 2024-08-14 16:56:33 +08:00
Zeke Zhang
be4ae42376
fix(inherit): fix 'Add new' button for inherited collectons (#5049)
* fix(inherit): fix 'Add new' button for inherited collectons

* test: add e2e test
2024-08-14 09:33:32 +08:00
GitHub Actions Bot
207d571756 Merge branch 'main' into next 2024-08-13 10:19:11 +00:00
Zeke Zhang
8058d22bc5
fix(inherit): correct title for inherited sub-collection association block (#5048) 2024-08-13 18:18:54 +08:00
Junyi
ea92a8b9a0
feat(client): add parse options for variable input (#5043)
* feat(client): add parse options for variable input

* docs(client): add component type doc
2024-08-12 21:59:32 +08:00
GitHub Actions Bot
7f258ac62b Merge branch 'main' into next 2024-08-12 02:16:33 +00:00
Zeke Zhang
5d825f85bc
fix(Collapse): fix issue with data scope settings being ineffective (#4914)
* fix(Collapse): fix issue with data scope settings being ineffective

* fix: fix 'Default collapse' and 'sort rules'
2024-08-12 10:16:15 +08:00
Zeke Zhang
3ecad296e7 Merge branch 'main' into next 2024-08-11 15:48:56 +08:00
Zeke Zhang
f6cb299678
fix(Table): should not error when open a popup by clicking a multi-level field (#5038) 2024-08-11 15:46:16 +08:00
GitHub Actions Bot
b860078857 Merge branch 'main' into next 2024-08-11 05:24:14 +00:00
Zeke Zhang
d6c2cfe602
fix(linkageRules): fix an exception when the condition contains a association field (#5037) 2024-08-11 13:23:56 +08:00
GitHub Actions Bot
70bb95bcaf Merge branch 'main' into next 2024-08-10 01:03:32 +00:00
chenos
c42a2040e2
fix(client): missing sort parameter (#5034) 2024-08-10 09:03:14 +08:00
GitHub Actions Bot
c90ab059c0 Merge branch 'main' into next 2024-08-09 10:13:07 +00:00
Zeke Zhang
20f0e90fe6
fix(variable): the chinaRegions field should not be a submenu (#5030)
* fix(variable): the chinaRegions field should not be a submenu

* chore: skip unstable test
2024-08-09 18:12:49 +08:00
jack zhang
00d3ffaf99
fix: extend collection cache bug (#5031) 2024-08-09 17:40:52 +08:00
jack zhang
4404f5fa13
feat: encryption field (#4975)
* feat: add @nocobase/plugin-field-encryption

* fix: bug

* fix: hook

* fix: add operators

* feat: add hidden

* fix: i18n

* fix: bug

* feat: env add ENCRYPTION_FIELD_KEY

* fix: exception handling

* fix: error message i18n

* fix: add `addFieldInterfaces()` alias

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: workflow env

* fix: bug

* fix: e2e

* fix: e2e bug

* fix: move `checkKey()` to field

* fix: move EncryptionField to database package

* fix: move encryption plugin to pro

* chore: encryption field in field type map

* fix: unit test

* fix: remove console

* fix: add more value check

* fix: bug

* fix: bug

* fix: bug

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Chareice <chareice@live.com>
2024-08-09 17:14:37 +08:00
jack zhang
aa76b78da4
fix: mobile auth (#5015)
* fix(T-5026): mobile auth

* fix: bug

* fix: plugin settings only have link type

* fix: bug
2024-08-09 15:21:34 +08:00
GitHub Actions Bot
7f2703ede2 Merge branch 'main' into next 2024-08-09 07:21:03 +00:00
Katherine
750eeadb99
style: quick add button for association field in the form, compact theme style without adaptation (#5024) 2024-08-09 15:10:15 +08:00
GitHub Actions Bot
0bfe908a66 Merge branch 'main' into next 2024-08-09 07:07:26 +00:00
Zeke Zhang
789dc49867
fix: correct foreign key value errors (#5027) 2024-08-09 15:07:08 +08:00
Junyi
acae33a89d
fix(client): show original field input component after cleared variable (#5028) 2024-08-09 14:12:49 +08:00
GitHub Actions Bot
5f9f94d008 Merge branch 'main' into next 2024-08-08 07:52:23 +00:00
Katherine
cd5d48eb80
fix: source field type filtering association fields in sql collection & view collection (#5014)
* fix: source field type filtering relationship fields in sql collection and view collection

* fix: bug

* fix: bug
2024-08-08 15:52:06 +08:00
Katherine
84119e6a06
style: action style improve (#5018)
* style: action style improve

* style: style improve

* style: style improve
2024-08-08 15:31:01 +08:00
GitHub Actions Bot
35a36d28dd Merge branch 'main' into next 2024-08-08 07:25:34 +00:00
Katherine
bd573b6ee2
fix: allowMultiple should not appear on read-only association fields (#5017) 2024-08-08 15:20:07 +08:00
Katherine
9c44e0b229
fix: bug (#5009) 2024-08-08 13:14:06 +08:00
GitHub Actions Bot
0fd0f9406b chore(versions): 😊 publish v1.2.34-alpha 2024-08-08 01:55:34 +00:00
Zeke Zhang
e6e424c8a2 feat: use the default style for the scrollbar in mobile 2024-08-07 17:30:20 +08:00
GitHub Actions Bot
cfccf93f9c chore(versions): 😊 publish v1.2.33-alpha 2024-08-07 08:53:01 +00:00
jack zhang
238b3fb08a Merge remote-tracking branch 'origin/main' into next 2024-08-07 16:50:13 +08:00
jack zhang
cbf65394d2
feat: support dynamic field component (#5006)
* feat: field component

* fix: menu e2e bug
2024-08-07 15:37:00 +08:00
GitHub Actions Bot
d386cd4595 Merge branch 'main' into next 2024-08-07 07:31:23 +00:00
chenos
607af0d399
fix: required validate rule with trim (#5004) 2024-08-07 15:14:40 +08:00
Zeke Zhang
a429b7a4b3
feat: adapt desktop blocks to mobile (#4945)
* feat: register workflow blocks to mobile page

* fix: should hide Divider in subpage

* refactor: rename 'Data blocks' to 'Desktop data blocks'

* feat: adapt blocks within subpages for mobile

* feat: adapt Filter action

* feat: isolate block templates between desktop and mobile

* refactor: export storePopupContext

* feat: support popup URL for 'Workflow todos'

* chore: update e2e tests

* chore: make e2e tests pass

* chore: add comment

* fix: make popup style of duplicate and bulk edit right

* fix(GridCard): ensure single column display in mobile

* fix: fix goBack

* refactor: make more stable

* refactor: change name for add blocks menu

* fix: fix block template for mobile

* feat: adapt Apply action of approval block to mobile

* fix(Map): use window.open to redirect to configuration page

* Revert "fix(Map): use window.open to redirect to configuration page"

This reverts commit 248ae8b68cfd78415184dfab2442081363872fb0.

* fix: redirect to the main app page when URL is starts with 'admin'

* fix(Link): make path right

* fix: refactor Popup to fix draging bug

* fix: should auto refresh when submiting in Manual popup

* fix(Action.Container): should return null when visible is false (T-4949)

* fix: increase z-index of subpage to cover Amap elements

* fix: fix tab switching not work (T-4985)

* fix(Link): should be change Link's URL of all table rows after editing URL (T-4981)

* fix: fix URL not changed after closing popup (T-4987)

* fix: make unit tests pass

* fix: make unit tests pass

* chore: get e2e tests to pass

* fix: use Popup to display data picker (T-4965)

* fix: use mobile Popup in some bloks

* refactor: use local isMobile

* fix: increase Popup's z-index to cover subpage

* fix: optimize Popup for mobile

* style: createRecordAction style improve

* refactor(AssociationField): get Component from AssociationFieldModeProvider

* refactor(InternalPopoverNester): support custom Container component

* feat: adapt PopoverNester to mobile

* chore: update unit tests

* fix: get e2e tests to pass

* chore: make e2e more stable

* refactor: move mobile-action-page in adaptor-of-desktop folder

* fix: get the z-index of popups and subpages correct

* feat: unify the styles of popups

* chore: make e2e more stable

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-08-07 14:25:40 +08:00
GitHub Actions Bot
64e53558df Merge branch 'main' into next 2024-08-07 02:10:15 +00:00