GitHub Actions Bot
d017a76d2a
Merge branch 'main' into next
2024-08-15 06:54:16 +00:00
Katherine
9dd2505ae3
fix: collection with non ID as the primary key will encounter an error when using gantt ( #5061 )
2024-08-15 14:53:58 +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 248ae8b68c
.
* 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
ChengLei Shao
dd08a1f5c7
chore: data source api ( #4588 )
...
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / build-and-push (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase Backend Test / sqlite-test (20, false) (push) Waiting to run
NocoBase Backend Test / sqlite-test (20, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, nocobase, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, nocobase, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, public, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, public, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, public, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, public, true) (push) Waiting to run
NocoBase Backend Test / mysql-test (20, false) (push) Waiting to run
NocoBase Backend Test / mysql-test (20, true) (push) Waiting to run
NocoBase Backend Test / mariadb-test (20, false) (push) Waiting to run
NocoBase Backend Test / mariadb-test (20, true) (push) Waiting to run
NocoBase FrontEnd Test / frontend-test (18) (push) Waiting to run
Test on Windows / build (push) Waiting to run
* refactor: support api datasource
* refactor: support api datasource
* refactor: support api datasource
* feat: url support preview (#4559 )
* feat: url support preview
* feat: add settings for Input.Preview
* refactor: refactor CollectionField.tsx to use dynamic component
* Revert "refactor: refactor CollectionField.tsx to use dynamic component"
This reverts commit 37719eb28e
.
* test: add e2e test
* refactor(e2e): extract template
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
* fix(map): amap reset (#4574 )
* chore: volta node version
* chore: data source api
* refactor: support api datasource
* chore: data source api
* chore: data source api
* chore: field options
* refactor: support api data source
* refactor: support api data source
* refactor: support api data source
* refactor: support api data source
* refactor: support api data source
* refactor: support api data source
* refactor: support api data source
* fix: load data source fields
* refactor: support api data source
* feat(data-vi): support for using url params and current role variables (#4586 )
* feat(data-vi): support for using url params and current role variable
* fix: bug
* fix(variable): should remove through collection field (#4590 )
* fix: style issues for gridCard in mobile client (#4593 )
* fix: style issiues for gridCard in mobile client
* fix: bug
* fix: bug
* fix: bug
* fix: style issues for gridCard in mobile client (#4599 )
* fix: style issiues for gridCard in mobile client
* fix: bug
* fix: bug
* fix: bug
* fix: style improve
* chore: update lerna
* chore(versions): 😊 publish v1.0.1-alpha.1
* chore: update changelog
* chore: fix typo (#4589 )
* feat(plugin-workflow-smtp-mailer): add new plugin for sending email in workflow (#4584 )
* feat(plugin-workflow-smtp-mailer): add new plugin for sending email in workflow
* refactor(plugin-workflow-mailer): change plugin name and locales
* fix(plugin-workflow-mailer): fix parameters
* fix(preset): add new plugin to preset
* fix(plugin-workflow-mailer): fix locale namespace
* fix: iframe block loses height when set to default (#4602 )
* fix: iframe block loses height when set to default
* refactor: local improve
* feat(client): allow JSON5 value in Form Input of type JSONTextArea (#4600 )
* feat(client): allow json5 value in form-item type json component
* test: fix tests
* chore: set json5 default as false
* chore: add demo
---------
Co-authored-by: xilesun <2013xile@gmail.com>
* fix: remove grid wrap (#4612 )
* refactor(plugin-workflow): change variable getter from collection fields (#4567 )
* refactor(plugin-workflow): change variable getter from collection fields
* fix(plugin-workflow): fix import
* chore(plugin-workflow-action-trigger): remove unused import
* fix(plugin-workflow): fix collection field in workflow variable
* refactor(plugin-workflow-manual): avoid tslint error
* fix(client): fix text wrap in variable input (#4605 )
* fix(client): fix text wrap in variable input
* fix(client): revert css
* feat(tree-block): support filtering child nodes (#4603 )
* feat(tree-block): support filtering child nodes
* test: add list test
* test: remove only
* fix: use isValidFilter
* fix(export): export button remaining in loading state after cancel (#4615 )
* chore: rebase
* chore: collection option
* fix: update data source fields
* chore: console.log
* refactor: support api data source
* fix: data source test
* fix: sync field in data source
* chore: unavailableActions in collection option
* chore: unavailableActions in data source collections
* chore: file collection unavailableActions
* fix: test
* chore: unavailableActions in actionInitializers
* fix: bug
* fix: destroy action
* chore: unavailableActions in plugin actionInitializers
* fix: view
* chore: unavailableActions in actionInitializers
* fix: missing removeCollection
* chore: test name
* fix: bug
* fix: bug
* chore: test
* refactor: availableTypes
* refactor: availableTypes
* chore: datasource options
* refactor: get current data source
* refactor: code improve
* fix: update collection with fields
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* chore: datasource logger
* chore: export Schema
* refactor: rawTextArea
* refactor: loadFilterTargetKeys in external data source
* chore: unavailableFunctions
* refactor: support unAvailableFunctions
* refactor: support unAvailableFunctions
* refactor: support unAvailableFunctions
* refactor: support unAvailableFunctions
* refactor: support unAvailableFunctions
* revert: unavailableFunctions
* refactor: code improve
* fix: test
* chore: operation
* chore: operation
* fix: input support json field
* refactor: blockInitializers support unavailableActions
* chore: availableActions
* chore: availableActions
* refactor: support availableActions
* refactor: support availableActions
* chore: magic model test case
* fix: unixTimestamp support integer
* fix: disassociate
* fix: input readPretty
* fix: resolve error when opening modal via URL
* style: input readPretty style improve
* chore: support simple pagination
* chore: skip test
* refactor: details support pagination
* refactor: details support pagination
* chore: useActionAvailable
* fix: bug
* test: fix test
* fix: detailsBlockInitializer useActionAvailable
* chore: fix unit test
* refactor: pagination
* refactor: pagination
* test: fix test
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: YANG QIA <2013xile@gmail.com>
Co-authored-by: Katherine <shunai.tang@hand-china.com>
Co-authored-by: GitHub Actions Bot <actions@github.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: David Fecke <david.fecke@eyecook.net>
2024-07-19 22:26:27 +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
Katherine
0e778e7e47
fix: select field set as title field ( #4703 )
...
* fix: select field set as title field
* fix: select field set as title field
* fix: select field set as title field
* fix: select field set as title field
2024-06-19 11:25:43 +08:00
jack zhang
c66744d4a8
fix: action modal icon and Initializer menu close when click ( #4664 )
...
* fix: action modal icon and Initializer menu close when click
* fix: bug
* fix: bug
* feat: bug
* fix: e2e bug
2024-06-15 18:03:33 +08:00
Zeke Zhang
1dc6a25aa4
chore(e2e): make e2e tests more stable ( #4565 )
...
* chore(e2e): make e2e tests more stable
* fix(e2e): add immediate param for clearBlockTemplates
2024-06-05 16:44:47 +08:00
Katherine
0b8f762d8b
feat: data block support setting block height ( #4441 )
...
* feat: data block support setting block height
* feat: form block support setting block height
* feat: form block support setting block height
* feat: detail block height
* test: fix
* fix: bug
* feat: grid card support block height
* feat: kanban support block height
* feat: kanban support block height
* feat: calender support block height
* feat: calender support block height
* feat: map support block height
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* test: skip
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* refactor: blockinitializers style improve
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* refactor: code improve
* refactor: code improve
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* refactor: code improve
* refactor: code improve
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* refactor: code improve
* refactor: code improve
* fix: test
* fix: test
* fix: test
2024-06-04 17:32:01 +08:00
Zeke Zhang
773f05dcd2
feat(client): adjust toolbar for Table Actions ( #4538 )
...
* feat(client): adjust toolbar for Table Actions
* chore: ensure backward compatibility
* chore: update e2e tests
* chore: fix fialed unit tests
* Revert "chore: update e2e tests"
This reverts commit 0a70171687
.
* chore: update e2e tests
* chore: update e2e tests
* chore: don't forget to revert me
* chore: update e2e tests
* chore: update e2e tests
* Revert "chore: don't forget to revert me"
This reverts commit 29a51dff28
.
* chore: update timeout and retries in defineConfig
* chore: make e2e tests more stable
* chore: make e2e tests more stable
2024-06-02 17:42:09 +08:00
Zeke Zhang
ec558e3b98
refactor: flatten and merge Actions ( #4336 )
...
* chore: remove switch
* refactor: ensure compatibility with old code
* refactor: flatten Actions
* refactor: extract options
* refactor: remove isCusomeizeCreate
* refactor: merge addNew and addRecord actions
* refactor: merge Submit and Save record actions
* refactor: extract common options
* feat: add tow props called 'currentText' and 'otherText'
* chore: fix failed tests
* refactor: add ActionInitializerItem to replace ActionInitializer
* chore: fix failed tests
* fix: fix T-4284
* fix: fix inherit
* chore: fix failed test
* chore: add Switch
* chore: add Switch for delete button
* test: e2ePageObjectModel
---------
Co-authored-by: hongboji <j414562100@qq.com>
2024-05-17 09:37:23 +08:00
jack zhang
1e5e015b73
fix: update doc demos ( #4262 )
...
* fix: update doc demos
* fix: change docs demo
* fix: bug
* fix: build bug
* fix: add english docs
* fix: add component english doc
* fix: lang change
2024-05-09 09:21:36 +08:00
katherinehhh
d787edfb47
feat: add Gantt and Kanban blocks in pop ups/drawers ( #4277 )
...
* feat: add Gantt and Kanban blocks in pop ups/drawers
* feat: add Gantt and Kanban blocks in pop ups/drawers
* fix: bug
* fix: bug
* fix: bug
* fix: bug
2024-05-08 10:16:39 +08:00
jack zhang
95fef86880
client components ( #4216 )
...
* docs: update docs components
* docs: add more component docs
* docs: add more docs
* fix: add more docs
* fix: build bug
* feat: docs
* fix: build error
* fix: docs
* fix: change x-read-pretty to x-patten
* fix: upgrade docs and types
* fix: build bug
* fix: add more docs
* fix: build bug
* fix: cascader component
* fix: bug
* fix: add more docs
* fix: add backend ci time
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-04-30 21:21:17 +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
katherinehhh
d25670f29f
refactor: gantt block ( #4059 )
...
* refactor: gantt block
* style: style improve
* fix: bug
* fix: bug
2024-04-17 11:21:03 +08:00
Zeke Zhang
fe4be822b9
feat: add to more blocks
2024-04-15 19:46:13 +08:00
Zeke Zhang
0ed17af122
test(e2e): add assertions on field values ( #4034 )
...
* chore: optimize e2e
* test(e2e): add assertions on field values
* chore: fix e2e
2024-04-15 17:50:18 +08:00
katherinehhh
82df150c30
refactor: tree table is not enabled by default ( #4001 )
...
* refactor: table block do not enable trees by default
* fix: bug
* fix: bug
* fix: bug
2024-04-11 14:10:30 +08:00
katherinehhh
8eee6756d4
fix: gantt collapse & expand ( #3982 )
2024-04-09 16:37:02 +08:00
YANG QIA
19f905d34c
chore: update class names of plugins ( #3981 )
...
* chore: update class names of plugins
* fix: build
* chore: add back sample-hello
* fix: test
2024-04-09 12:12:24 +08:00
Zeke Zhang
b750cab942
refactor: unify tab initailizer naming ( #3932 )
...
* refactor: rename dialog to popup
* feat: add tabPaneInitializers
* refactor: rename TabPaneInitializers to popup:addTab
* refactor: rename TabPaneInitializersForCreateFormBlock to popup:addTab
* refactor: rename TabPaneInitializersForBulkEditFormBlock to popup:addTab
* chore: fix unit tests
* chore: fix e2e
2024-04-05 23:19:09 +08:00
Zeke Zhang
2f40bfab2b
chore: add API comments ( #3919 )
...
* chore: add API comments
* refactor: rename
2024-04-03 23:19:54 +08:00
jack zhang
cc75f6f4d2
fix: lazy render bug ( #3886 )
...
* fix: lazy render bug
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-03 09:13:45 +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
jack zhang
8a1345a5b8
feat: table performance ( #3791 )
...
* fix: table add useMemo and useCallback
* fix: memo bug
* fix: sub table bug
* fix: form item performance
* fix: settings center performance impove
* fix: bug
* fix: bug
* fix: form first value change check performance
* fix: revert first form change
* fix: css move out component
* fix: page change table should not render
* fix: pre process merge bug
* fix: assotion bug
* fix: input and useDeppMemoized performance
* fix: bug
* fix: bug
* fix: improve Action.tsx lazy show content
* fix: remove Action performance imporve
* fix: assocication read pretty not loading
* fix: cssInJs imporve
* fix: imporve kanban rerender
* fix: remove useless CurrentAppInfoProvider in plugin
* fix: divide the schema into several parts
* fix: tabs.tsx and Page.tsx divide
* fix: form-item imporve
* fix: add OverrideSchemaComponentRefresher
* fix: page and tabs bug
* fix: workflow bug
* fix: remove useDeepMemorized()
* fix: e2e bug
* fix: internal Tag and viewer
* fix: collection field read pretty mode skip
* fix: others performance
* fix: revert collection field read pretty
* fix: table column not render when value is null or undefined
* fix: table and grid add view check
* fix: kanban lazy render
* fix: remove table useWhyDidYouUpdate
* fix: table index skip loading
* fix: card drag rerender loading
* fix: e2e skip lazy render
* fix: e2e bug
* fix: action e2e bug
* fix: grid and kanban card
* fix: remove override refresher component
* fix: unit test bug
* fix: change schema component props name
* fix: e2e and unit test bug
* fix: e2e bug
* fix: not lazy render when data length less 10 (T-3784)
* chore: fix merge
* chore: fix e2e
* fix: drag bug (T-3807)
* fix: repetitive refresh (T-3729)
* fix: pre fix merge confict
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-03-30 20:31:11 +08:00
Zeke Zhang
74051ff0a5
refactor(DataBlock): kanban and gantt and map and calendar ( #3792 )
...
* refactor: kanban
* refactor: gantt
* refactor: map
* refactor: calendar
* refactor: compat
* refactor: rename to createKanbanBlockUISchema
* refactor(kanban): use x-use-component-props instead of useProps
* refactor(Gantt): rename to createGanttBlockUISchema
* refactor: use x-use-component-props instead of useProps
* refactor: rename
* refactor(Map): use x-use-component-props instead of useProps
* refactor(Calendar): rename
* refactor(Calendar): should not get collection on getting association in UISchema
* refactor(Calendar): use x-use-component-props instead of useProps
* chore: add comment
* chore: fix unit test
* fix: add scopes to fix e2e
* fix(Calendar): add association property to CalendarBlockProvider decorator
* test: add e2e for Calenndar
2024-03-27 18:06:28 +08:00
Zeke Zhang
ba1e44c527
feat: support to set data loading mode ( #3712 )
...
* feat: add setDataLoadingModeSettingItem
* feat: support to set data loading mode
* chore: add translation
* chore: refresh the block immediately after the configuration has been changed
* feat: the data loading mode should also work for the filter buttons
* feat: support old version
* fix: data scope
* fix: fix known bugs
* fix: add setting for table selector
* test: fix e2e
2024-03-14 18:10:54 +08:00
Zeke Zhang
51de34251a
refactor(SchemaInitializers): unify naming style ( #3604 )
...
* refactor(SchemaSettings): unify naming style
* refactor(SchemaInitializers): unify naming stle
* 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
* chore: replace iframeBlockSchemaSettings to blockSettings:iframe
* chore: delete pro-packages
* feat: add CompatibleSchemaInitializer
* test: add unit tests
* chore: add @internal for CompatibleSchemaInitializer
* chore: block
* chore: field
* chore: ations
* fix: build
* chore: typo
* fix: fix unit tests
* test: fix e2e
* chore: remove igone
* refactor: page:addBlock
* refactor: popup:addNew:addBlock
* fix: fix max call stack
* refactor: popup:addRecord:addBlock
* refactor: remove blockInitializers:recordForm
* refactor: popup:tableSelector:addBlock
* refactor: popup:view:addBlock
* refactor: popup:bulkEdit:addBlock & charts:addBlock
* refactor: mobilePage:addBlock
* refactor: popup:snapshot:addBlock
* refactor: popup:workflowManual:configureUserInterface:addBlock
* fix: avoid crashing
* chore: optimize
* refactor: popup:common:addBlock
* refactor: workflowManual:popup:configureUserInterface:addBlock
* refactor: details:configureFields
* refactor: form:configureFields
* refactor: table:configureColumns
* refactor: filterForm:configureFields
* refactor: associationFilterInitializer
* refactor: assignFieldValuesForm:configureFields
* refactor: bulkEditForm:configureFields
* refactor: auditLogsTable:configureColumns
* refactor: chartFilterForm:configureFields
* refactor: kanban:configureItemFields
* refactor: workflowManual:customForm:configureFields
* refactor: detailsWithPaging:configureActions
* refactor: details:configureActions
* refactor: createForm:configureActions
* refactor: editForm:configureActions
* refactor: gridCard:configureActions
* refactor: gridCard:configureItemActions
* refactor: list:configureActions
* refactor: list:configureItemActions
* refactor: table:configureItemActions
* refactor: table:configureActions
* refactor: filterForm:configureActions
* refactor: subTable:configureActions
* refactor: bulkEditForm:configureActions
* refactor: auditLogsTable:configureItemActions
* refactor: auditLogsTable:configureActions
* refactor: calendar:configureActions
* refactor: chartFilterForm:configureActions
* refactor: gantt:configureActions
* refactor: kanban:configureActions
* refactor: map:configureActions
* refactor: workflowManual:form:configureActions
* feat: use 'createForm:configureActions' in page
* feat: use 'details:configureActions' in Calendar
* feat: register deleteEvent initializer in calendar plugin
* fix: fix delete event action
* test: fix e2e
* test: fix e2e
* chore: only run workflow's e2e
* Revert "chore: only run workflow's e2e"
This reverts commit 9e5b4af41e
.
* fix: use isInitializersSame to fix some case
2024-03-14 14:13:11 +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
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 991021ceae
.
* Revert "refactor: replace field initializers name"
This reverts commit b47b808d06
.
* Revert "refactor: replace action initializers name"
This reverts commit eab1b6e3d9
.
* Revert "refactor: replace block intializers name"
This reverts commit 50ab9da177
.
* Revert "refactor: replace to blockInitializers:customizeCreateForm"
This reverts commit 77b9f59bb1
.
* Revert "refactor: replace CreateFormBlockInitializers to blockInitializers:createForm"
This reverts commit e9a38b0b4d
.
* Revert "refactor(SchemaInitializers): unify naming stle"
This reverts commit 542390899f
.
* Revert "refactor(SchemaSettings): unify naming style"
This reverts commit 8566735922
.
* Revert "chore: replace iframeBlockSchemaSettings to blockSettings:iframe"
This reverts commit 884f6df92f
.
* 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
Zeke Zhang
d85aaa36e3
fix(z-index): avoid obscuring the pop-up and upgrade antd to v5.12.8 ( #3337 )
...
* fix(z-index): avoid obscuring the pop-up
* test: optimize
* chore: fix build
* test: fix errors
2024-01-06 18:32:25 +08:00
Zeke Zhang
2ab9f8625e
chore(e2e): make parallelism mode more stable ( #3294 )
...
* chore: make parallelism mode more stable
* refactor: optimize e2e tests
* test: make test more stable
* chore: change concurrency to 4 from 2
* refactor: inline variable
* test: fix error
* test: avoid error
* test: avoid error
* test: avoid error
* chore(e2e): remove --stop-on-error on CI runs
* Revert "refactor: inline variable"
This reverts commit 454bb04613
.
* test: make more stable
* chore: adjust timeout
* chore: update config
* test: make test more stable
* chore: update yarn.lock
* Revert "chore: update yarn.lock"
This reverts commit 1bb7a661d1
.
* test(workflow): increase local timeout
* test: optimize
* test: more stable
* test: fix errors
* test: more stable
* chore: increase retries to 2 in CI
2024-01-06 06:37:23 +08:00
katherinehhh
c102655317
refactor: gantt tooltip hover ( #3328 )
2024-01-05 14:30:45 +08:00
ChengLei Shao
261d4c4137
refactor: establish a sound testing system ( #3179 )
...
* chore: use vitest to replace jest
* chore: support vitest
* feat: vitest 1.0
* fix: test
* chore: yarn.lock
* chore: github actions
* fix: test
* fix: test
* fix: test
* fix: test
* fix: jest.fn
* fix: require
* fix: test
* fix: build
* fix: test
* fix: test
* fix: test
* fix: test
* fix: test
* fix: test
* fix: test
* fix: dynamic import
* fix: bug
* chore: yarn run test command
* chore: package.json
* chore: package.json
* chore: vite 5
* fix: fix variable test
* fix: import json
* feat: initEnv
* fix: env.APP_ENV_PATH
* chore: get package json
* fix: remove GlobalThmeProvider
* chore: update snap
* chore: test env
* chore: test env
* chore: import module
* chore: jest
* fix: load package json
* chore: test
* fix: bug
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* fix: import file in windows
* chore: import module with absolute file path
* fix: test error
* test: update snapshot
* chore: update yarn.lock
* fix: front-end tests do not include utils folder
* refactor: use vitest-dom
* fix: fix build
* fix: test error
* fix: change to vitest.config.mts
* fix: types error
* fix: types error
* fix: types error
* fix: error
* fix: test
* chore: test
* fix: test package
* feat: update dependencies
* refactor: test
* fix: error
* fix: error
* fix: __dirname is not defined in ES module scope
* fix: allow only
* fix: error
* fix: error
* fix: error
* fix: create-app
* fix: install-deps
* feat: update docs
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2023-12-21 20:39:11 +08:00
katherinehhh
2808440426
fix(kanban): kanban data on a page should be isolated ( #3232 )
...
* fix: kanban block data on a page influences each other
* test: kanban test
2023-12-19 15:27:00 +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
katherinehhh
b1610e6994
feat: kanban& gantt&bulk edit& bulk update& duplicate& print action pluggable ( #3019 )
...
* fix: bug
* test: kanban test
* test: gantt block test
* test: gantt test
* test: gantt test
* test: gantt test
* 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
* test: gantt block test
* test: gantt test
* test: gantt test
* test: gantt test
* fix: bug
* feat: improve code
* test: add tests for relation fields
* refactor: style improve
* fix: rename SchemaSettings
* fix: type bug
* refactor: useDesinger()
* fix: bug
* fix: bug
* fix: build tip
* refactor: kanban setting
* refactor: gantt setting
* refactor: bulk update setting
* refactor: bulk update setting
* refactor: bulk edit settings
* refactor: duplicate settings
* refactor: print action setting
* refactor: duplicate settings
* refactor: bulk update refactor
* refactor: bulk update refactor
* fix: designableState
* fix: bug
* fix: designable
* refactor: bulk update
* 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: gantt test
* 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
* test: bulk update test
* refactor: useSchemaToolbar
* fix: improve docs
* fix: bug
* test: duplicate action test
* test: duplicate action test
* test: duplicate action test
* test: duplicate action test
* 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
* refactor: bulk edit setting
* test: bulk edit action test
* test: bulk edit action test
* fix: dn.deepMerge
* fix: bug
* test: bulk edit action test
* test: kanban test
* refactor: bulk update version
* refactor: print action version
* 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
* test: bulk edit test
* test: bulk update action test
* fix: update docs
* test: print test
* test: kanban test
* test: kanban test
* refactor: duplicate version
* fix: merge bug
* refactor: bulk update
* fix: merge bug
* refactor: bulk edit
* refactor: import
* refactor: export action
* refactor: code improve
* refactor: kanban code improve
* fix: merge bug
* refactor: readPrettyFormActionInitializers
* test: print action test
* test: print action test
* refactor: print action
* test: action test
* refactor: gantt date change
* style: gantt style improve
* test: gantt &bulkUpdate test
* test: bulk update test
* test: duplicate action test
* test: print action test
* test: bulk edit action test
* test: gantt block test
* test: kanban block test
* test: test file name
* test: test file name
* test: bulk update action tst
* refactor: rename test file name
* refactor: bulk update action
* refactor: gantt test
* fix: block template
* fix: block template
* fix: useFieldModeOptions
* refactor: code improve
* fix: merge bug
---------
Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: Rain <958414905@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-12-16 21:59:33 +08:00