Zeke Zhang
85a751fc77
fix(defaultValue): fix the issue of not displaying the value in the default value input box ( #5400 )
...
* chore: add comment
* fix(defaultValue): fix the issue where the default value input box does not display the set value
* test: add e2e test
2024-10-13 08:55:36 +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
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
katherinehhh
c66cf82d9f
Merge branch 'main' into next
2024-08-22 16:57:20 +08:00
Katherine
a0643713db
fix: button field assignment to only update visible fields ( #5104 )
2024-08-22 15:06:02 +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
Zeke Zhang
08f25c2336
Merge branch 'main' into next
2024-08-02 14:29:01 +08:00
Zeke Zhang
638b17dee1
fix: enable date variables in filter forms ( #4916 )
...
* fix: enable date variables in filter forms
* fix: resolve error when clicking reset in filter form
2024-08-02 14:23:37 +08:00
GitHub Actions Bot
09e3cb4996
Merge branch 'main' into next
2024-07-25 02:50:03 +00:00
Zeke Zhang
96e538ab54
fix: clear default value immediately after field deletion ( #4915 )
2024-07-25 10:49:46 +08:00
jack zhang
61e9dd5cc1
feat: plugin mobile v2 ( #4777 )
...
* feat: init
* fix: mobile layout
* feat: more code
* feat: improve navigate bar
* fix: mobile title
* feat: improve code
* fix: add settings and initailzer
* fix: settings
* fix: tabbar items settings
* feat: tabbar initializer
* fix: api
* fix: styles
* feat: navbar
* feat: navigate bar tabs initializer
* feat: navigate bar tab settings
* feat: navigation bar actions
* fix: bug
* fix: bug
* fix: bug
* fix: tabbar active
* fix: bug
* fix: mobile login and layout
* fix: update version
* fix: build error
* feat: plugin settings support link
* fix: add mobile meta
* fix: desktop mode
* fix: remove old code and change collection name and mobile path
* fix: tabbar and tabs initialer layout
* fix: initializer style
* fix: adjust schema position
* fix: mobile style
* fix: delete relation resource and home page bug
* fix: support multi app
* fix: not found page
* fix: js bridge
* fix: bug
* fix: navigation bar schema flat
* fix: navigation bar action style
* fix: change version
* fix: mobile meta and real mobile test
* refactor: folder and name
* fix: navigation bar sticky and zIndex
* fix: full mobile schema
* fix: mobile readme and package.json
* fix: e2e bug
* fix: bug
* fix: tabbar style on productino
* fix: bug
* fix: rename MobileTabBar.Page
* fix: support tabbar sort
* fix: support page tabs sort
* fix: i18n
* fix: settings utils import bug
* docs: api doc
* fix: qrcode refresh
* test: unit tests
* fix: bug
* fix: unit test
* fix: build bug
* fix: e2e test
* fix: overflow scroll
* fix: bug
* fix: scroll and overflow
* fix: bug
* fix: e2e expect await
* fix: e2e bug
* fix: bug
* fix: change name
* fix: add more e2e
* fix: page header
* fix: tab support icon
* fix: bug
* fix: bug
* fix: docs
* fix(T-4811): scroll bar too long
* fix(T-4810): desktop mode
* fix: e2e
* fix(T-4812): title empty
* fix: unit test
* feat: hide Open mode option in mobile mode
* feat: change default value of Open mode on mobile
* feat: add OpenModeProvider
* feat: support page mode
* fix: fix build
* test: update unit tests
* chore: remove pro-plugins
* fix: bug
* fix(T-4812): title is required
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* refactor: remove z-index
* refactor: make better for subpages
* fix: drag bug
* fix: bug
* fix: theme bug
* fix(T-4859): create tab bar title empty
* fix(T-4857): action too long
* fix: e2e bug
* fix: remove comment
* fix: bug
* fix: theme bug
* fix: should provider modal component
* fix: bug
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-07-22 14:06:36 +08:00
Sheldon Guo
adb72738f9
fix: fix custom request linkage rules problem ( #4913 )
2024-07-21 10:23:04 +08:00
Junyi
0ba1bca5d8
feat(client): add disabled
option to props of SchemaSettingsItem ( #4817 )
...
* feat(client): add disabled option to props of SchemaSettingsItem
* docs(client): add doc and demo
* feat(client): add disabled option to SchemaInitializerItem
2024-07-05 13:28:59 +08:00
Sheldon Guo
95749f3d88
feat(client): support linkage style in table and form ( #4467 )
...
* feat: support linkage style in table and form
* fix: removed linkage rule in table column, fixed formitem style not refreshing, use colorpicker
* chore: remove unused functions and improve effect execution performance
* feat: add some e2e test for linkage style in table, extract linkage
style logic to hooks
* feat: add some e2e test
* fix: fix some e2e test error
* test: fix e2e tests
* fix: replace deprecated api
* chore: give color picker a empty string as default value
* chore: improve some code
* refactor: remove useless code
* fix: fix some incompatibility problem of old schema
* fix: fix some e2e test errors
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-07-01 09:13:37 +08:00
Zeke Zhang
05cf9986b0
feat: enable direct dialog opening via URL and support for page mode ( #4706 )
...
* refactor: optimize page tabs routing
* test: add e2e test for page tabs
* feat: add popup routing
* fix: resolve nested issue
* refactor: rename file utils to pagePopupUtils
* perf: enhance animation and overall performance
* fix: fix filterByTK
* fix(sourceId): resolve error when sourceId is undefined
* fix: fix List and GridCard
* fix: fix params not fresh
* fix: fix parent record
* fix: resolve the issue on block data not refreshing after popup closure
* feat: bind tab with URL in popups
* feat(sub-page): enable popup to open in page mode
* chore: optimize
* feat: support association fields
* fix: address the issue of no data in associaiton field
* fix: resolve the issue with opening nested dialog in association field
* fix: fix the issue of dialog content not refreshing
* perf: use useNavigateNoUpdate to replace useNavigate
* perf: enhance popups performance by avoiding unnecessary rendering
* fix: fix tab page
* fix: fix bulk edit action
* chore: fix unit test
* chore: fix unit tests
* fix: fix bug to pass e2e tests
* chore: fix build
* fix: fix bugs to pass e2e tests
* chore: avoid crashing
* chore: make e2e tests pass
* chore: make e2e tests pass
* chore: fix unit tests
* fix(multi-app): fix known issues
* fix(Duplicate): should no page mode
* chore: fix build
* fix(mobile): fix known issues
* fix: fix open mode of Add new
* refactor: rename 'popupUid' to 'popupuid'
* refactor: rename 'subPageUid' tp 'subpageuid'
* refactor(subpage): simplify configuration of router
* fix(variable): refresh data after value change
* test: add e2e test for sub page
* refactor: refactor and add tests
* fix: fix association field
* refactor(subPage): avoid blank page occurrences
* chore: fix unit tests
* fix: correct first-click context setting for association fields
* refactor: use Action's uid for subpage
* refactor: rename x-nb-popup-context to x-action-context and move it to Action schema
* feat: add context during the creation of actions
* chore: fix build
* chore: make e2e tests pass
* fix(addChild): fix context of Add child
* fix: avoid loss or query string
* fix: avoid including 'popups' in the path
* fix: resolve issue with popup variables and add tests
* chore(e2e): fix e2e test
* fix(sideMenu): resolve the disappearing sidebar issue and add tests
* chore(e2e): fix e2e test
* fix: should refresh block data after mutiple popups closed
* chore: fix e2e test
* fix(associationField): fix wrong context
* fix: address issue with special characters
2024-06-30 23:25:01 +08:00
Zeke Zhang
99a0fcae1c
feat(variable): add a new variable named 'Parent popup record' ( #4748 )
...
* refactor: extract CurrentPopupRecordProvider component
* refactor: rename
* feat(variable): add a new variable named 'Parent popup record'
* chore: add translation
* fix: fix known issues
* test: add e2e tests
2024-06-26 08:59:01 +08:00
jack zhang
a5fc22c6b0
feat: tree block ( #4566 )
...
* feat: tree block
* fix: remove showSettings
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: table tree expand
* fix: bug
* fix: connection bug T-4501
* fix: template settings bug
2024-06-11 22:53:04 +08:00
Katherine
ec15f9e35a
feat: iframe support variables ( #4512 )
...
* feat: support link action
* feat(client): add new variable named 'URL search params'
* chore: add translation
* fix: avoid crashing
* chore: fix failed test
* feat: link action
* feat: link action
* fix: remove filter parameters with undefined values
* feat: link action
* feat: add support for default values in filter form fields
* refactor: code improve
* refactor: locale improve
* refactor: locale improve
* test: add e2e test
* refactor: locale improve
* refactor: locale improve
* fix: resolve operation issues with variables
* refactor: code improve
* chore: enable direct selection of variables as default value
* chore: use qs to parse query string
* feat: iframe support variables
* fix: menu selectKeys (T-4373)
* feat: iframe support variables
* refactor: use qs to stringify search params
* refactor: locale improve
* refactor: locale improve
* chore: fix failed tests
* fix: bug
* fix: resolve issue where setting Data scope is not work
* chore: fix failed e2e tests
* chore: make e2e tests more stable
* chore: add translation
* chore: make e2e tests more stable
* fix: resolve the issue of error when saving data scope
* feat: trigger variable parsing after context change
* test: add unit tests
* test: add e2e test
* refactor: extract template
* chore: fix failed unit tests
* chore: fix failed e2e test
* fix: bug
* fix: bug
* fix(Link): hide linkage rules in top link (T-4410)
* fix: bug
* fix: bug
* fix: bug
* refactor: extract commonOptions
* fix: remove 'Current record' variable
* chore: fix unit tests
* fix: bug
* chore: make unit tests pass
* fix: fix build
* fix(e2e): resolve errors due to compilation issues
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: jack zhang <1098626505@qq.com>
2024-06-05 15:25:04 +08:00
Katherine
11343bc9be
fix: missing app context in modal ( #4457 )
...
* fix: useCurrentFormVariable
* test: table action row action linkage by row data
* test: detail block support linkage rule
* test: detail block support linkage rule
* test: detail block support linkage rule
* fix: missing app context in modal
2024-05-23 09:33:55 +08:00
Katherine
304f87bee2
fix: useCurrentFormVariable ( #4428 )
...
* refactor: useCurrentFormVariable support detail block
* fix: useCurrentFormVariable
* fix: bug
2024-05-20 20:55:30 +08:00
Zeke Zhang
ef8e4aed48
fix(filter-form): fix operator not valid in block templates ( #4390 )
...
* fix(filter-form): fix operator not valid in block templates
* test: add e2e test
* test: clear data templates
* chore: fix e2e tests
* chore: stash
* chore: change import path to fix unit tests
* chore: change import path to fix unit tests
* chore: fix build
2024-05-20 16:50:34 +08:00
Katherine
a5ede09a2a
fix: custom request action should support linkage rule setting ( #4410 )
2024-05-20 15:01:10 +08:00
katherinehhh
2ec128c63f
feat: detail block support linkage rule ( #4221 )
...
* feat: detail block support linkage rule
* fix: bug
* fix: bug
* test: e2e test
2024-05-07 09:45:28 +08:00
jack zhang
62b2b5c68b
chore: add copyright information to the file header ( #4028 )
...
* fix: add license code
* fix: bug
* fix: bug
* fix: upgrade
* fix: improve
* chore: add copyright information to the file header
* fix: d.ts bug
* fix: bug
* fix: e2e bug
* fix: merge main
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-30 15:51:31 +08:00
jack zhang
229e5d1a40
client unit test ( #4150 )
...
* fix: add more unit test
2024-04-24 20:33:14 +08:00
Zeke Zhang
fd4c9cb288
chore: deprecate the current record variable from the form ( #4063 )
...
* chore: remove the current record variable from the form
* chore: fix failed e2e
* refactor(VariableInput): support for setting the react node for label
* feat: support to show tooltip
* chore: stash
* chore: add translation
* chore: add translation
* chore: fix expresion
* test: add e2e for deprecated variables
* refactor: migrate file
* chore: make e2e pass
* chore: make e2e pass
* chore: make e2e pass
* chore: adjust
* chore: natch
* chore: revert match
2024-04-23 21:18:27 +08:00
Zeke Zhang
3d857d2e69
fix(variable): missing variables and invalid translations ( #4054 )
...
* fix(variable): missing variables and invalid translations
* refactor: better
* fix: should display current record variable
* fix: template
* chore: add deps
* chore: add e2e for table view
* fix: current record variable
* chore: avoid error
* fix: bugs
* chore: fix failed e2e
* chore: fix e2e
* fix: colection name
2024-04-16 22:50:52 +08:00
Zeke Zhang
0274e65cec
feat(Variable): add a new variable ( #4025 )
...
* feat: add DeclareVariable
* feat: add a new variable
* test: add e2e
* fix: current form variable
* chore: rename '弹窗记录' to 'Current popup record'
* fix(Details): fix data scope error
* fix(Calendar): fix data scope
* fix: varaible's data souce
* fix: data souce
2024-04-15 14:50:38 +08:00
jack zhang
91254bdf55
test: add frontend unit test ( #3991 )
...
* test: add unit test
* fix: build error
* fix: exclude requirejs
* fix: e2e bug
* fix: block delete refresh(T-3936)
* fix: add test utils
* fix: build bug
* fix: remove test only
* fix: kanban bug
* fix: add more unit tests
* fix: coverage bug
* fix: update
* fix: refactor
* fix: add more tests
* fix: unit test bug
* fix: refactor code
* fix: refactor nocobase test
* test: add test case
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-12 21:55:37 +08:00
katherinehhh
6d7ecba59e
fix: remove active field should not clear value ( #4012 )
...
* fix: remove active field
* fix: fix field value submission on field removal
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-11 17:23:31 +08:00
katherinehhh
e9f0e32a26
refactor: fields for table sorting cannot select sorting fields with scopekey ( #3984 )
...
* refactor: fields for table sorting cannot select sorting fields with scopeke y
* refactor: sort field
* refactor: sort field
2024-04-10 16:37:18 +08:00
Zeke Zhang
d75db22777
fix(connect-data-blocks): should immediately show in the drop-down menu ( #3953 )
...
* test: add e2e tests
* fix: should immediately show in the drop-down menu
* fix: should not lose the filtering function when dragging and connecting
2024-04-07 17:21:26 +08:00
Zeke Zhang
e572f6645e
refactor: change useProps to x-use-component-props ( #3853 )
...
* refactor: update TableV2 component props
* refactor: update Action component
* refactor: update Filter.Action
* refactor: update FormV2
* refactor: update TableV2.Selector
* refactor: update Details
* refactor: update Action.Link
* refactor: about acl
* refactor: useCustomizeUpdateActionProps
* refactor: update decrator FormV2
* refactor(plugin-data-visualization): useProps to x-use-component-props
* refactor: update Pagination
* refactor: update CalendarV2
* refactor: update TitleField
* refactor: useProps
* refactor: update AssociationFilter.Item
* feat(withDynamicSchemaProps): support function useComponentPropsStr
* refactor: update FormDataTemplates
* chore: fix unit tests
* chore: fix e2e
* refactor: update
* feat(withDynamicSchemaProps): support to use dot
* refactor: update
* refactor: update
* chore: avoid error
2024-04-02 21:38:40 +08:00
chenos
11536cb0e0
fix(client): the reference template was deleted by mistake
2024-03-29 12:14:10 +08:00
Zeke Zhang
0269a1ff7d
fix(Details): block template ( #3807 )
...
* fix: add 'Details' in condition
* fix: block template
2024-03-25 16:25:41 +08:00
Zeke Zhang
126f60c959
fix(variables): fix varaibles for table selector ( #3725 )
...
* fix(variables): fix varaibles for table selector
* test: add e2e
* chore: fix build
* fix: should not display current record in create form
* fix: fix known bugs
* test: fix e2e
2024-03-15 22:56:35 +08:00
jack zhang
99358ee796
fix: block template ( #3714 )
2024-03-14 14:30:02 +08:00
jack zhang
454d1d34ed
fix: add displayName ( #3628 )
...
* fix: context add displayName
* fix: observer add displayName
* fix: memo component add displayName
* fix: forwordRef component add displayName
2024-03-06 18:22:31 +08:00
jack zhang
61c24ac2fd
fix: create-nocobase-app + yarn dev error ( #3599 )
2024-03-04 21:36:22 +08:00
katherinehhh
af6113c8ef
feat: support for multiple data sources ( #3418 )
...
* refactor: collectionName display with tablePrefix
* fix: bug
* fix: schema toolbar no ddata source (T-3182)
* fix: unit test bug
* fix: useAssociationNames support data source
* chore(RecordProvider_deprecated): add collectionName
* fix: deprecated
* refactor: default value
* refactor: default value
* fix: fastRefresh=false
* style: fix action link style (T-3228)
* fix: should not diaplay Save mode for some Action (T-3217)
* chore: remove group title (T-3194)
* fix: extend collections bug
* chore: transaction
* fix: filter block only current data source (T-3226)
* fix: fix filter block in drawer (T-3224)
* fix: avoid error when editing field (T-3232)
* fix: primary key name in postgres
* chore: test
* chore: test
* refactor: forgin key support select and input
* fix: doc bug
* fix: change duplllicte divier name
* feat: throughScope
* fix: bug
* refactor: local improve
* fix: fix parent record of Add child in tree table (T-3235)
* fix: block template filter by dataSource(T-3234)
* chore: change table primary key
* refactor: index for primarykey & unique
* chore: test
* fix: should not display filter blocks option if no association field (T-3242)
* fix: dataSourceKey
* refactor: sourcekey & forginkey & targetkey limit type
* fix: bug
* chore: test
* fix: upload action
* fix: unit test
* fix: useSourceIdFromParentRecord
* fix: permissions
* fix: oho association field should has default fieldnames
* fix: useSourceIdFromParentRecord
* fix: tableSelectorProvider collection undefined
* fix: bug
* chore: validate association keys
* fix: apply mixin bug
* fix: getPrimaryKey
* fix: bug T-3253
* fix: collection unit test
* chore: validate association keys
* fix: create collection
* fix: getCollection in TableBlockProvider
* refactor: association key in data source manager
* fix: improve doc
* fix(relationshipBlocks): fix sourceId (T-3257,T-3264)
* fix: plugin acl test
* chore: correct field options
* fix: dataScope resource
* fix: improve doc
* fix: appVersion = '<0.20.0-alpha.1'
* refactor: fieldNames
* refactor: primarykey & unique & autoIncrement shuld not support edit in third dataSource
* fix: bug
* fix: gantt block params tree
* fix: style
* fix: wording & icon
* fix: bug
* fix: roles cache
* refactor: calender & express & file collection support preset fields
* fix: decode uri
* refactor: migrate files [wip] (#3584 )
* refactor: migrate blockSettings:table
* refactor: migrate fieldSettings:TableColumn
* refactor: migrate TableBlockInitializer
* fix: fix import path
* refactor: migrate TableActionInitailizers
* refactor: migrate TableColumnInitializers
* refactor: migrate TableActionColumnInitializers
* refactor: migrate TableColumnSchemaToolbar
* refactor: migrate TableSelectorInitializer
* refactor: migrate blockSettings:tableSelector
* refactor(tableSelector): migrate e2e
* refactor(form): migrate e2e
* refactor: migrate FormBlockInitializer
* refactor: migrate CreateFormBlockInitializer
* refactor: migrate RecordFormBlockInitializer
* refactor: migrate blockSettings:createForm
* refactor: rename file name
* refactor: migrate blockSettings:editForm
* refactor: migrate FormActionInitailizers
* refactor: move to a new file
* refactor: migrate formItemInitializers
* refactor: migrate FormItemSchemaToolbar
* refactor: migrate fieldSettings:FormItem
* chore: fix build
* fix: fix weird path error
* fix: rename formActionInitializers
* fix: create collection field
* refactor: throughCollection
* fix: datasources get permission
* fix: throughCollection
* fix: throughCollection
* fix: register initializer components
* refactor: targetkey & source key must be unique
* refactor: targetkey & source key must be unique index
* fix(customRequest): avoid error when clicking button
* chore: error message when add multiple primary keys
* fix: target key in hasMany
* fix: default value should not support edit in outside dataSource
* fix: test
* fix: update associations (#3586 )
* fix: source key
* fix: addAccessor
* fix: updateAssociations
* fix: bugs
* fix: remove test.only
* refactor: migrate RecordReadPrettyFormBlockInitializer
* refactor: migrate singleDataDetailsBlockSettings
* fix(users): filter bug
* refactor: migrate readPrettyFormActionInitializers
* refactor: migrate readPrettyFormItemInitializers
* refactor: migrate DetailsBlockInitializer
* refactor: migrate multiDataDetailsBlockSettings
* feat: validate association key pairs
* chore: default title
* refactor: migrate detailsActionInitializers
* refactor: migrate e2e
* refactor: migrate ListBlockInitializer
* refactor: migrate listBlockSettings
* refactor: migrate listActionInitializers
* refactor: migrate listItemActionInitializers
* fix: create collection
* fix: remove fieldsHistoryRepository.createMany
* test(e2e): fix error message for roles.name
* fix: sync indexes in postgres
* chore: test
* test: acl test
* test(e2e): fix sort error
* refactor: remove useless code
* test: kanban e2e
* fix: load user
* fix: test
* test: fix unit tests
* fix: db.sync
* test: updateRole
* fix: test
* fix: settings and initializer performance improve
* fix: update role resources
* fix: add block
* fix: fix T-3308
* test: fix e2e
* test(e2e): skip fix block
* chore: skip test in sqlite
* fix: change initializer menu key
* test(collectionManager): fix e2e
* refactor: sort field availableTypes
* fix: client core performance optimization
* refactor(GridCard): migrate e2e
* refactor: migrate GridCard
* fix: bug
* refactor: migrate utils
* refactor: migrate filter-form
* fix: change Record to CollectionRecord
* chore: acl migration
* chore: acl migration
* chore: migration of acl
* refactor: migrate Collapse
* chore: error message
* fix: update associations
* chore: update collection search to be case-insensitive
* refactor: migrate Markdown
* fix(WorkflowTodos): x-toolbar typo
* feat: admin change password
* feat: check foreign key && target key value in update associations
* chore: dataSource permission
* refactor: dataSource permission
* fix: acl support data source permission
* fix: fix T-3307
* chore: test
* refactor: locale improve
* chore: locale
* chore: sqlite test config
* chore: create user with roles test
* chore: test
* test: fix mock data to avoid duplication
* chore: test
* fix: load table with tablePrefix
* chore: move action in datasource
* chore: number field to sort field type
* test: optimize dropdown
* chore: upgrade @playwright/test to v1.42.1
* fix: fix invalid path for Windows
* test: fix e2e
* chore: kanban Sort field
* fix: kanban
* fix: kanban
* refactor: create sort in kanban
* refactor: create sort field in kanban
* refactor: locale improve
* refactor: locale improve
* fix: sync with null default value
* refactor: collectionFieldInterfaceSelect
* fix: move action
* fix: update associations
* fix: test case
* chore: test
* test: optimize e2e
* feat: remvoe Duplicate for single details block (T-3195)
* fix(fieldNames): should use primaryKey as default value (T-3322, T-3319)
* fix: use filterTargetKey as fieldNNames.value
* test: fix e2e
* test: fix e2e
* test(kanban): fix e2e
* test(blockTemplate): should clear template at end of test
* refactor: migrate fields
* refactor: migrate actions
* refactor: migrate menu
* refactor: migrate page
* refactor(SchemaSettings): unify naming style
* fix: scopeKeyOptions undefined
* refactor(SchemaInitializers): unify naming stle
* fix(bi): chart filter fields
* chore: acl snippets
* refactor: replace CreateFormBlockInitializers to blockInitializers:createForm
* refactor: replace to blockInitializers:customizeCreateForm
* refactor: replace block intializers name
* refactor: replace action initializers name
* refactor: replace field initializers name
* style: fix hover style for column action (T-3297)
* refactor: revert some codes
* chore: update comment
* fix: revert record deprected
* fix: remove pro-plugins
* fix: bug
* chore: replace iframeBlockSchemaSettings to blockSettings:iframe
* Revert "refactor: revert some codes"
This reverts commit 991021ceaeecc5d27113a51e501a4abd439edcd2.
* Revert "refactor: replace field initializers name"
This reverts commit b47b808d06305741b56302e3dad1dd256658fad4.
* Revert "refactor: replace action initializers name"
This reverts commit eab1b6e3d986d1c3dc80d75fa6230fa948e3a33e.
* Revert "refactor: replace block intializers name"
This reverts commit 50ab9da177f344d037184a17746cb1d0e037a826.
* Revert "refactor: replace to blockInitializers:customizeCreateForm"
This reverts commit 77b9f59bb14d944fd8c42006e899861196589748.
* Revert "refactor: replace CreateFormBlockInitializers to blockInitializers:createForm"
This reverts commit e9a38b0b4d9fabc571b7d9cdc8929914f5e2a367.
* Revert "refactor(SchemaInitializers): unify naming stle"
This reverts commit 542390899fa84d212a8dbbe7f77e0f19befa6ae8.
* Revert "refactor(SchemaSettings): unify naming style"
This reverts commit 8566735922c4a157efccdb3830deaedeb08c6f6a.
* Revert "chore: replace iframeBlockSchemaSettings to blockSettings:iframe"
This reverts commit 884f6df92fdc860a50500025f132904e9528002f.
* refactor: create sorting field in kanban
* refactor: create sorting field in kanban
* fix: style
* fix: bug
* fix(SideMenu): fix the problem of invalid add menu (T-3331)
* fix: translation
* feat: client en-US docs
---------
Co-authored-by: xilesun <2013xile@gmail.com>
Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Chareice <chareice@live.com>
2024-03-03 23:06:24 +08:00
katherinehhh
0e728ca5a5
fix: datatime format support preview ( #3572 )
2024-02-26 17:00:18 +08:00
katherinehhh
fda30fd519
fix: dateformat setting should support sub-table/table block ( #3297 )
...
* fix: dateformat should effect immediately in sub-table
* refactor: dateformat setting for sub-table/table block
* refactor: dateformat setting for sub-table/table block
* refactor: schemaSettingsDateFormat
2024-01-02 17:36:28 +08:00
Zeke Zhang
c129889df6
fix: fix switch role and input style ( #3226 )
...
* fix: fix switch role and input style
* refactor: remove useless code
2023-12-19 07:50:53 +08:00
Zeke Zhang
6bd0568d08
chore: upgrade antd to v5.12.2 ( #3185 )
...
* chore: upgrade antd to v5.12.2
* refactor: rename to StablePopover
* fix: fix tests
* test: fix e2e
* chore(CI): optimize E2E workflow
* chore: fix playwright
* fix: re-generate yarn.lock to fix e2e errors
* test: update locator
* fix: fix build errors
* fix: fix unit tests
* fix: fix e2e tests
* fix: should not auto close when clicking menu item
* fix: fix column width
* test: increase e2e timeout-minutes to 90
* test: fix e2e
* fix: update dockerfile
* fix: npmignore
* fix: app component false
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-12-18 15:21:57 +08:00
YANG QIA
8708765f43
fix(bi): localization ( #3159 )
...
* fix(bi): localization
* fix: bug
* fix(map): localization
* fix: antd config provider
2023-12-07 21:15:40 +08:00
jack zhang
bf1a19426a
refactor: new schema initializer and schema settings ( #2802 )
...
* fix: form
* refactor: schema-initializer
* fix: bug
* refactor: schema initializer
* refactor: rename
* fix: delete SchemaInitializerProvider
* refactor: props `insert` to hooks `useSchemaInitializerV2`
* fix: bug
* refactor: delete `SchemaInitializer.Button`
* refactor: delete old SchemaInitializer
* fix: bug
* fix: workflow
* fix: docs
* fix: bug
* fix: bug
* feat: style
* fix: remove v2
* fix: visible
* fix: bug
* fix: item hook
* feat: item hook
* fix: add search DataBlockInitializer
* fix: build bug
* fix: style bug
* fix: style bug
* fix: test bug
* fix: test bug
* fix: rerender bug
* fix: remove menu select
* fix: bug
* chore: add aria-label for SchemaInitializerButton
* refactor: rename name to camel case
* fix: menu height bug
* fix: build errors
* fix: build errors
* fix: bug
* fix: bug
* fix: performance
* test: add test for header
* fix: sidebar is not refresh (T-2422)
* feat(e2e): support to add group page and link page
* chore: make sure the page is configurable when using page.goto
* test: add tests for menu initializer
* fix: imporve code
* chore: fix build error
* chore: optimize locator of menu item
* refactor: rename testid for select
* test: make tests passing
* fix: make tests passing
* chore: upgrade vitest to v0.34.6
* chore: increase timeout of e2e
* feat: core
* fix: revert schema initializer demos
* test: menu, page tabs, page grid, table column
* fix: schema button interface
* feat: refactor: page tab settings
* feat: page settings
* fix: dumirc
* fix: export CSSVariableProvider
* feat: lazy render
* fix: form-item
* fix: general schema desinger
* feat: filter form item settings
* refactor: form-v2 schema settings
* refactor: form-v1 schema settings
* refactor: action schema settings
* fix: action bug
* fix: form-item bug
* fix: types error
* docs: schema settings doc
* docs: schema settings
* feat: schema setting item add name
* fix: visible lazy render bug
* fix: revert form item filter
* fix: test bug
* fix: test JSON.parse bug
* fix: test bug
* fix: improve styling
* fix: styling
* fix: cleanup
* fix: token.borderRadiusSM
* fix: bug
* test: add tests
* fix: style bug
* fix: add chart performance
* feat: add SchemaDesignerContext
* fix: bug
* fix: test bug
* style: create record action style improve
* fix: make test passing
* chore: mack tests passing
* chore: make tests passing
* test: fix tests
* style: style revert
* fix: bug
* fix: data selector
* fix: fix tests
* fix: fix tests
* fix: delete PluginManagerContext
* refactor: improve router and add SchemaComponentProvider & CSSVariableProvider to MainComponent
* fix: add dn and field builtin to SchemaSettingWrapper
* feat: update docs
* refactor: application providers
* fix: test bug
* fix: fix tests
* chore: make test passing
* feat: update docs
* chore: rename collection name
* feat: update docs
* chore: skip weird test
* fix: blockInitializers media to otherBlocks
* fix: cancel to skip test
* fix: bug
* test: add test
* refactor: migrate to small files
* test: add tests for form block settings
* chore: format
* fix: add chart scroll bug
* refactor: action designer improve
* refactor: formitem designer schemaSetting
* feat: schemaSettingsManager and schemaInitializerManager addItem and removeItem
* test: add tests for color field in creating block
* test: add tests for email field in creating block
* test: make tests passing
* perf: reduce fields number
* fix: sub menu bug
* test: add tests basic in editing form
* test: add tests basic in details form
* fix: improve code
* test: make tests passing
* test(plugin-mock-collections): add color for enum options
* refactor: improve code
* fix: bug
* fix: bug
* refactor: convert parameters to destructured object
* test: add tests choices
* test: add tests media
* test: add tests for datetime in creating form
* feat(plugin-mock-collection): generate faker time
* test: add tests for datetime in editing form
* test: add tests for datetime in details form
* fix: bug
* feat: improve code
* test: add tests for relation fields
* fix: rename SchemaSettings
* fix: type bug
* refactor: useDesinger()
* fix: bug
* fix: bug
* fix: build tip
* fix: designableState
* fix: bug
* fix: designable
* fix: designable
* test: add tests for relation fields
* test: add tests for relation fields
* test: add tests for relation fields
* feat: client api doc
* test: add tests for relation fields
* test: avoid errors
* test: make tests passing
* fix: bug
* test: make tests passing
* test: add tests for advanced fields
* test: increase e2e timeout-minutes to 60
* fix: bug
* fix: improve code
* feat: add schema initailizer component demos
* test: make tests passing
* fix: schema settings demos
* feat: shallowMerge & deepMerge
* test: reduce number of tests
* test: make tests passing
* feat: updates
* fix: add Initializer Internal
* demos: useSchemaSettingsRender
* test: make tests passing
* test: make tests passing
* fix: improve docs
* fix: bug
* chore: upgrade dumi theme
* test: make tests passing
* test: add tests for linkage rules
* test: add test for form data templates
* test: add tests for default value
* test: reduce number of tests
* fix: dn.deepMerge
* fix: bug
* fix: bug
* fix: toolbar
* fix: docs ssr
* test: add tests for system fields
* test: add tests for actions
* fix: bug
* test: add tests for lazy loading of variables
* test: make testing more stable
* fix: update docs
* fix: bug
---------
Co-authored-by: Rain <958414905@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-12-04 14:56:46 +08:00
被雨水过滤的空气-Rain
5b9695e720
fix: select item can not be selected in connecting data blocks ( #2993 )
2023-11-08 09:17:40 +08:00
被雨水过滤的空气-Rain
bce02ad1d7
perf: avoid page lag or stuttering ( #2964 )
...
* perf: avoid page lag or stuttering
* perf: improve performance of data scope
* chore: remove console.log
* perf: avoid crashing
* fix: make tests passing
* fix: fix title of dialog
2023-11-05 17:59:22 +08:00
Dunqing
a90d5fe6d6
feat(map-plugin): supports connecting each point into a line ( #2216 )
...
* feat(map-plugin): supports connecting each point into a line
* feat: update
* feat: support startPoint and endPoint
* fix: data refresh is incorrect when sort changed
* feat: support google map
2023-11-02 15:03:49 +08:00
被雨水过滤的空气-Rain
29bf187fbf
chore: optimize locators ( #2833 )
...
* test(e2e): better locators for designer buttons
* fix: make test passing
* refactor: remove DesignerControl
* chore: better locators
* fix: should not disable add-menu-item
* chore: better test id for block
* chore: optimize Action
* chore: remove role in BlockItem
* feat: improve locators
* chore: menu & add block
* chore: initializer
* chore: testid -> aria label
* chore: tabs
* chore: designers
* refactor: optimize schemaInitializer
* refactor: rename
* chore: add collectionName
* chore: block item
* chore: action
* fix: avoid crashting
* chore(e2e): add __E2E__
* chore: all dialog
* chore: add aria-label for block menu
* Revert "chore: add aria-label for block menu"
This reverts commit 6a840ef816ee1095484dc268b5dfa1bbe6cd8cbe.
* chore: optimize aria-label of Action
* chore: schema-initializer
* chore(e2e): increase timeout
* chore: schema settings
* chore: optimize table
* chore: workflow
* chore: plugin manager
* chore: collection manager and workflow
* chore: details of workflow
* chore: remove testid of Select
* test: fix unit-tests
* test: fix unit-tests
* test(e2e): passing tests
* test: fix unit test
* chore: should use hover
* test: passing tests
* chore: passing tests
* chore: fix CI
* chore: fix CI
* chore: increase timeout in CI
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-10-27 15:32:17 +08:00