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
GitHub Actions Bot
64e53558df
Merge branch 'main' into next
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 FrontEnd Test / frontend-test (18) (push) Waiting to run
2024-08-07 02:10:15 +00:00
Katherine
9df48ef0a1
fix: acl permission check issue for 'Delete Event' action ( #5002 )
...
auto-merge / push-commit (push) Waiting to run
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / build-and-push (push) Waiting to run
deploy client docs / Build (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
* fix: delete Event action acl check
* chore: delete vent action
2024-08-07 10:09:58 +08:00
jack zhang
61e9dd5cc1
feat: plugin mobile v2 ( #4777 )
...
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
* 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
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
Katherine
1cc35e1ef5
fix: styling issues during field drag-and-drop in details/form/list block ( #4558 )
...
* fix: styling issues during field drag-and-drop in details/form/list block
* refactor: code improve
* refactor: code improve
* refactor: code improve
2024-06-05 16:50:18 +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
Zeke Zhang
f66edb5d27
feat(client): add new variable named 'URL search params' and support link action ( #4506 )
...
* 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
* fix: menu selectKeys (T-4373)
* refactor: use qs to stringify search params
* refactor: locale improve
* refactor: locale improve
* chore: fix failed tests
* 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(Link): hide linkage rules in top link (T-4410)
* fix(permission): remove URL search params variable from data scope
* chore: make more stable
* chore: make e2e test more stable
* fix(Link): reduce size for variable
* fix: clear previous context (T-4449)
* fix(calendar, map): resolve initial data scope setting error (T-4450)
* fix: correct concatenation of query string (T-4453)
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: jack zhang <1098626505@qq.com>
2024-06-04 20:57:03 +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
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
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
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
fe4be822b9
feat: add to more blocks
2024-04-15 19:46:13 +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
Zeke Zhang
17793c2ab9
feat: support Others option in popup ( #4015 )
...
* feat: support Others option in popup
* chore: hide Other records in popup for edit form
* chore: rename 'Others' to 'Other records'
* fix: in other records, the data table does not need to filter itself
* feat: optimize title for association block
* fix: template
* fix: block title
* chore: fix e2e
* fix: should use compile
* fix: remove useVisible
* test: add e2e
2024-04-12 19:14:18 +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
2d0482449d
fix(Table): fix the problem that the content of the association field is not displayed ( #3930 )
...
* test: add e2e test
* fix(Table): fix the problem that the content of the association field is not displayed
* fix(Calendar): avoid infinite loops
2024-04-05 16:02:25 +08:00
Zeke Zhang
2f40bfab2b
chore: add API comments ( #3919 )
...
* chore: add API comments
* refactor: rename
2024-04-03 23:19:54 +08:00
chenos
2be065984c
fix: source id null ( #3917 )
...
* fix: source id null
* refactor: use parentRecord instead of sourceId
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-04-03 20:41:23 +08:00
Zeke Zhang
768dfc624a
fix: get the correct sourceId ( #3897 )
...
* fix(withDynamicSchemaProps): replace recursive merge with simple merge
* refactor: add useDetailsByAssociationRecordDecoratorProps
* chore: update comment
* fix: get the correct sourceId
* test: add e2e
* refactor: extract to template
* refactor: add x-is-current
* refactor: optimize code
* Revert "refactor: optimize code"
This reverts commit b2b03c3c0c
.
* refactor: add useSourceIdCommon hook and update usage in multiple files
* fix(EditForm): refactor form block sourceId logic
* chore: add test for form block
* chore: update comment
* fix: fix filterKey assignment in useParentRequest function
* refactor: refactor useParentRequest function to use fieldCollection for filterTargetKey
* refactor: extract to useSourceKey
* refactor: optimize code
2024-04-03 16:36:20 +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
Zeke Zhang
80caec7050
feat: adjust menu of add new ( #3884 )
...
* feat: adjust menu of add new
* fix: fix known bugs
* fix: fix known bugs
* chore: fix e2e
* chore: rename
* chore: add translation
* chore: add translation
* chore: make test more stable
* test: add e2e
* refactor: extract templates
* chore: make e2e more stable
2024-04-01 17:14:19 +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
0269a1ff7d
fix(Details): block template ( #3807 )
...
* fix: add 'Details' in condition
* fix: block template
2024-03-25 16:25:41 +08:00
Zeke Zhang
286af35ff8
refactor: add blocks in a unified way ( #3668 )
...
* refactor: rename filterMenuItemChildren to filterCollections
* refactor: revert parameters to destructured object
* refactor(Details): unify details block between page and popup
* refactor(Form): refactor(Details): unify form block between page and popup
* refactor: table & list & grid card
* refactor: form
* refactor: association details
* chore: useVisible
* refactor: calendar
* chore: remove relationshipBlocks
* refactor: unify Details schema
* fix: avoid error
* chore: add translate
* chore: add tag to association fields
* fix: add block useChildren and children merge
* test: fix e2e
* test: fix e2e
* fix: fix Calendar
* fix: fix search
* test: add e2e for search
* fix: fix T-3554
* fix: fix T-3551
* feat: add no data for details block
* chore: fix unit test
* chore: fix unit test
* chore: change text
* chore: optimize text
* chore: add translation
* style: fix memu item style
* refactor: rename
* test: fix e2e
* test: fix e2e
---------
Co-authored-by: dream2023 <1098626505@qq.com>
2024-03-14 19:20:02 +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
Junyi
c2b121cda6
feat(plugin-workflow-form-trigger): add trigger button to all single record action bar ( #3563 )
...
* feat(plugin-workflow-form-trigger): add trigger button to all single record actionbar
* fix(plugin-workflow-form-trigger): fix button style and triggering
* fix(plugin-workflow): fix unused hook ref in workflow
* fix(plugin-workflow-form-trigger): fix button style
* refactor(plugin-workflow-action-trigger): change plugin name
* fix(plugin-workflow-action-trigger): fix unmigrated stuff
* fix(plugin-workflow-action-trigger): fix test case
* fix(plugin-workflow-action-trigger): fix test case
* fix(presets): fix package name
* fix(plugin-workflow-action-trigger): fix e2e test and migration
* fix(plugin-workflow-action-trigger): fix migration
* fix(plugin-workflow-action-trigger): fix migration
* fix(plugin-workflow-action-trigger): fix migration
* feat(plugin-workflow-action-trigger): add destroy to trigger
* fix(plugin-workflow-action-trigger): fix appends select
* fix(plugin-workflow-action-trigger): remove support for destroy action
* fix(plugin-workflow-action-trigger): fix collection check
* fix(plugin-workflow-action-trigger): fix test case
* fix(plugin-workflow-action-trigger): fix test case
* fix(plugin-workflow-action-trigger): fix test case
2024-03-06 14:42:20 +08:00
katherinehhh
03e47a04ea
fix: calender failed to change view for week ( #3602 )
2024-03-05 16:34:10 +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
seonghookim
be7a4845ab
feat: add Korean translation ( #3428 )
...
* ko_KR 国际化
* fix: ko
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-01-25 22:07:22 +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
Dunqing
e112a644ea
feat(plugin-calendar): add calendar plugin ( #3109 )
...
* feat: init calendar plugin
* feat: move files to plugin
* feat: handle CalendarBlockInitializer in plugin
* feat: add todo
* feat: move collection template to plugin and fix i18n
* chore: update deps
* feat: export genStyleHook
* feat: handle i18n
* chore: remove react-i18next
* docs: update info
* test: move e2e test
* test: move to client
* chore: update version
* fix: merge revert
* fix: merge revert
* fix: missing SchemaSettings.xxx
* test: fix e2e failed
* test: update
* test: fix case failed
* fix: data blocks
* fix: remove provider
* fix: missing CalendarV2
* fix: missing CalendarActionInitializers
* fix: version
* fix: error
* fix: calender block form action should support print
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-12-23 15:16:41 +08:00