gchust
b923d89fa0
feat: keep reference templates feature ( #6743 )
...
* feat: be able to create reference template
* chore: update template title
* fix: template menu position inconsitant
* chore: add reference templates into block template management view
* fix: menu not correct
* fix: incorrect label
* chore: remove useless component
* fix: build error
* fix: incorrect translate
* fix: incorrect translate tab [skip ci]
* chore: remove edit icon[skip ci]
* fix: e2e tests failing
2025-04-24 23:05:12 +08:00
nocobase[bot]
ad0b48a26c
Merge branch 'main' into next
2025-04-22 03:37:11 +00:00
Zeke Zhang
e5055ef4f6
fix(styles): add relative positioning to span elements in mobile navigation bar action ( #6734 )
2025-04-22 11:36:48 +08:00
Zeke Zhang
2cf3486b56
Merge branch 'next' into develop
2025-03-06 11:58:38 +08:00
Zeke Zhang
0d0c81cc90
refactor: make the menu responsive to screen width ( #6331 )
...
* chore: convert routes
* chore: stash
* chore: stash
* feat: support to add menu item
* feat: add MenuSchemaToolbar
* refactor: extract EditMenuItem component
* feat: add hidden option
* refactor: extract HiddenMenuItem
* feat: add 'Move to' option
* feat: add insert options
* feat: remove route
* fix: children
* fix: route
* feat: enhance menu item rendering and group handling in admin layout
* feat: add container support to MenuSchemaToolbar and fix display issue in Group
* fix: add conditional check before moving routes in menu item settings
* feat(navigation): add default page navigation for admin layout
* chore(versions): 😊 publish v1.6.0-alpha.24
* feat: export AppNotFound component and integrate 404 handling in AdminDynamicPage
* fix: update admin layout route path to use item options URL
* chore(versions): 😊 publish v1.6.0-alpha.25
* refactor: rename route node retrieval functions for clarity and add legacy route compatibility
* refactor: clean up layout component by removing unused styles and improving header rendering
* refactor: simplify menu item components by removing unused schema insertion logic and optimizing imports
* refactor: add 'x-async' property to tab schema and clean up server imports
* refactor: tabs
* feat: support extending frontend filter operators (#6085 )
* feat: operator extension
* fix: bug
* refactor: code improve
* fix: jsonLogic
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
* feat: add fake schema for routing in SortableItem and remove unused fieldSchema import
* feat: adjust content padding in InternalAdminLayout for improved layout
* refactor: remove registerOperators (#6224 )
* refactor(plugin-workflow): trigger workflow action settings (#6143 )
* refactor(plugin-workflow): move bind workflow settings to plugin
* refactor(plugin-block-workbench): move component to core
* refactor(plugin-block-workbench): adjust component api
* fix(plugin-workflow-action-trigger): fix test cases
* fix(plugin-workflow): fix component scope
* fix(plugin-workflow-action-trigger): fix test cases
* chore(versions): 😊 publish v1.6.0-alpha.26
* feat: support the extension of preset fields in collections (#6183 )
* feat: support the extension of preset fields in collections
* fix: bug
* fix: bug
* fix: bug
* refactor: create collection
* fix: config
* fix: test case
* refactor: code improve
* refactor: code improve
* fix: bug
* fix: bug
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
* feat: replace SchemaComponent with RemoteSchemaComponent and add AppNotFound for empty tabs
* refactor: rename useCurrentRoute to useCurrentRouteData for clarity
* fix: redirect to first tab by default
* feat: support for the extension of optional fields for Kanban, Calendar, and Formula Field plugins (#6076 )
* feat: kanban field extention
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* feat: calender title fields
* feat: background color fields
* fix: bug
* fix: bug
* feat: formula field expression support field
* feat: preset fields
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* refactor: code improve
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* refactor: code improve
* revert: preset fields
* refactor: code improve
* refactor: code improve
* fix: bug
* fix: bug
* fix: bug
* refactor: code improve
* fix: bug
* refactor: code improve
* refactor: code improve
* fix: bug
* fix: locale
* refactor: code improve
* fix: bug
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: locale
* fix: test
* fix: bug
* fix: test
* fix: test
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
* fix: enhance access permission check and clean up unused props in Page component
* fix: adjust Action.Page style to set top position to 0
* fix: update redirect logic to point to the first page route in admin layout
* chore(versions): 😊 publish v1.6.0-alpha.27
* fix: add link handling in MenuItem to open URLs in a new tab
* fix(data-source-main): update order
* fix: integrate drag-and-drop functionality in MenuItem and Page components
* fix: add drag-and-drop support in admin layout and improve loading behavior
* fix: header style
* fix: set sider width in admin layout
* fix: refactor InternalAdminLayout for improved readability and maintainability
* fix: optimize token management in InternalAdminLayout for better styling consistency
* fix: style
* fix: avoid error
* fix: update container reference in MenuSchemaToolbarWithContainer
* fix: add icon style to MenuSchemaToolbar
* fix: remove bottom border from header in admin layout
* fix: add collapsed button render function to InternalAdminLayout
* fix: update viewport meta tag for better responsiveness
* fix: add MenuItemIcon component for conditional icon rendering in admin layout
* fix: wrap SchemaToolbar in SiderContext.Provider to prevent style issues in collapsed state
* fix: update InternalAdminLayout styles for improved menu item appearance
* fix: adjust menu item spacing and height for compact mode in admin layout
* fix: add collapse handling and page change logic in InternalAdminLayout
* fix: add header context provider and update MenuItemIcon rendering logic in InternalAdminLayout
* fix: replace Modal with App.useApp().modal in HiddenMenuItem for improved modal handling
* fix: enhance click area for links in MenuItem and streamline group navigation logic
* fix: refresh routes after adding link menu
* fix: add mobile actions popover for improved user interaction in admin layout
* fix: adjust layout width and margin for improved alignment in admin layout
* style: fix the style of the top collapsed menu button dropdown
* fix: add active background color for selected menu items in collapsed menu
* fix: improve z-index management for modal, drawer, and page components to prevent overlap with collapsed menu button
* fix: adjust position of collapsed button to prevent overlap with subpages
* fix: update collapsed button rendering to handle mobile context and prevent overlap with subpages
* fix: prevent schema data request for group pages in admin layout
* fix: handle undefined menu titles by providing a default value
* fix: add refresh functionality for desktop routes in menu permissions
* fix: adjust page header padding based on route settings and token
* fix: center text
* fix: add tooltip support for menu items in collapsed state
* fix: tooltip
* fix: improve page tab routing and deletion handling
* fix: adjust admin layout height to account for header
* fix: improve route navigation and deletion handling in admin layout
* chore: update version
* fix(routing): Add Navigate import from react-router-dom
* fix(e2e): locator
* test: remove demo and useless test case for Page component
* fix: improve page creation and routing in e2e utils
* fix: improve z-index handling for embedded pages
* feat(admin-layout): Add aria-label to menu item links for improved accessibility
* fix(mobile-ui): Adjust toolbar and navigation bar styling
* test(acl): Simplify menu item visibility test setup
* test: update e2e test templates and route handling
* fix: fix compatibility issues
* fix(admin-layout): improve default page navigation handling
* fix(acl): add optional chaining to prevent potential null/undefined error in uiButtonSchemasBlacklist check
* fix: keep alive
* fix(desktop-routes): enhance route retrieval with automatic child route inclusion
* test: add test
* fix(page): update navigation logic to use location pathname for tab routing
* fix(route): export CurrentRouteProvider for better accessibility in routing context
* refactor(layout): remove unused styles for cleaner code
* fix(layout): integrate useGlobalTheme for consistent theming and clean up unused parameters
* fix(route): improve route redirection logic
---------
Co-authored-by: nocobase[bot] <179432756+nocobase[bot]@users.noreply.github.com>
Co-authored-by: Katherine <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
2025-03-05 22:52:24 +08:00
nocobase[bot]
a47bc7529a
Merge branch 'next' into develop
2025-02-25 01:48:35 +00:00
gchust
3cbf81e5cd
chore: upgrade react types definition ( #6278 )
...
* chore: upgrade react type to 18
* chore: update ant design icons to avoid ts error
* fix: ts errors
* fix: ts error after upgrade react types
* fix: some icons ts error
* fix: improve type validation in bulk edit form item settings
* fix: lazy load component type error
* fix: some ts errors
* fix: unit test error after upgrade ant design icons
* chore: remove ts-ignore comment for startTransition
2025-02-25 09:48:13 +08:00
gchust
ae6b801132
feat: new block template plugin ( #5920 )
...
* feat: new block template plugin
* fix: build error
* fix: support nested template in blocks
* fix: remove undefined x-component properties from schema during template processing [skip ci]
* feat: reset action for template block
* fix: skip dnd error[skip ci]
* fix: dupliate template action[skip ci]
* fix: plugin not shown in test env
* fix: reset action not been shown
* fix: no permission error
* fix: loading error in production env
* fix: cross env dev error
* fix: blocks not shown in production env
* fix: insert template failing for the first time
* chore: merge
* fix: association record option not working correctly
* fix: setting error
* fix: setting
* fix: linkage error
* fix: association settings error
* fix: association record error
* feat: support edit form tpl
* fix: support more blocks
* fix: avoid nested template
* chore: re org codes
* chore: refactor[skip ci]
* chore: required comment for loading template [skip ci]
* refactor: simplify schema handling and add axios interceptors for template blocks[skip ci]
* fix: i18n [skip ci]
* feat: support showing template title in block
* fix: revert to template will lost the template title
* fix: delete operation removing blocks not working
* fix: template label
* fix: i18n error
* fix: form type should be shown only when current record
* feat: show template in the add new popup
* fix: form type switch should not be shown in add new block popup
* fix: missing i18n
* fix: associate fields should be shown only having current record
* fix: switching form not working in cn
* fix: incorrect form associate setting
* fix: uniq action issue
* fix: uniq fields/actions[skip ci]
* fix: style issue
* fix: error in configure actions
* fix: bulk destroy when no records selected
* fix: only show revert to template config in the block level
* fix: table refresh pagination incorrect after deletion
* fix: be able to input name of template
* fix: bulk destroy
* fix: reset setting will sync with template
* fix: block template table style
* fix: missing translatation
* fix: cache issue
* fix: blocks not shown in the popup after modifing the template
* feat: add search for template initializers
* fix: some blocks are missing template related setting
* fix: hide save as template in template configure view
* chore: revert incorrect commit
* fix: batchpatch error
* fix: mobile support
* fix: build error
* fix: limit one template one block
* feat: show revert to template for fields and actions
* fix: build error
* fix: revert to template not refreshing the ui for actions
* fix: revert to template not working for form
* fix: duplicate revert to setting setting item
* chore: rename reset to revert
* feat: disallow delete template's blocks in page
* feat: add colorTemplateBgSettingsHover for template block hover state
* fix: build error
* chore: hide convert to block template setting item for page
* fix: data template should be hidden in edit form
* fix: fields switch should be disabled
* chore: rename var [skip ci]
* fix: should not be able remove field in block
* fix: after revert settings, is able to remove block in template
* fix: revert settings
* fix: nested template block error
* refactor: cache
* fix: template key has not been validated in client side
* fix: only show template that has been configured
* feat: show template name in edit form
* chore: update package.json
* fix: duplicated fields after dnd in form
* fix: duplicated fields shown in form
* chore: hide old block template menu
* feat: support mobile block template [skip ci]
* fix: filter for type options [skip ci]
* fix: incorrect create new button style [skip ci]
* feat: add mobile block support
* fix: can't restrict one template one block [skip ci]
* fix: template title not synced after editing template
* fix: keep block deletion should transform the template block to normal block
* fix: insert template fails for the first time
* fix: destroy error
* fix: deploy failure [skip ci]
* fix: destory error in subapp with sub domain
* fix: destroy error
* fix: popup action should be hidden in create new form [skip ci]
* fix: possible crash when converting template to block [skip ci]
* fix: some properties have not been revert in real time
* fix: fitler action condition error
* fix: useDataBlockResource error
* fix: revert settings not refresh filter action form [skip ci]
* fix: new template properties clear
* fix: custom request action can't be shown
* fix: template tab should not be removable
* fix: duplicated delete action in table column
* fix: field link popup not shown in block template page
* fix: page configure link not working correctly
* chore: revert useContextVaraible [skip ci]
* fix(popup): fix configured page not taking effect
* fix: add blocks button shown in block settings
* fix: only loading 20 templates
* fix: add block icon has been shown [skip ci]
* fix: association not shown in block template configure page
* fix: edit association form error [skip ci]
* fix: console error [skip ci]
* fix: only current field has been refreshed after revert to template [skip ci]
* chore: remove incorrect commit file [skip ci]
* fix: some action delete action still be shown for template block [skip ci]
* fix: template block style[skip ci]
* fix: keep position when rever setting[skip ci]
* fix: revert to template error when already deleted from block [skip ci]
* fix: revert still works even the template has been deleted
* fix: popup not shown as template block [skip ci]
* fix: bulk destory can't keep blocks[skip ci]
* fix: after dnd some unique blocks may be duplicated in the client [skip ci]
* fix: duplicate fields error in form
* fix: revert setting incorrect [skip ci]
* fix: duplicated sub form
* refactor: simplify by moving template loading to backend [skip ci]
* fix: failing to add template block [skip ci]
* fix: assign fields values in bulk update action [skip ci]
* fix: can't add fields in nester popup subform [skip ci]
* fix: sub-table sub-form not merged correctly [skip ci]
* fix: subtable not highlight unique fields correctly [skip ci]
* fix: block title will not be synced correctly [skip ci]
* fix: can't add block into template [skip ci]
* fix: revert setting not refreshed [skip ci]
* fix: block template title not correct in some cases [skip ci]
* fix: field link's popup merge[skip ci]
* fix: cannot read properties of null in some popup [skip ci]
* fix: position of ui components have not been saved after dnd [skip ci]
* fix: dnd position not saved correctly in some cases [skip ci]
* fix: dnd undefined type error [skip ci]
* fix: can't swtich form type
* fix: some form type switch error [skip ci]
* fix: hide chart block from templates [skip ci]
* feat: support hide some blocks from template [skip ci]
* fix: react error for revert submit button of edit form [skip ci]
* fix: hide workflow and approvar block from template
* fix: hide connect data block from template [skip ci]
* fix: error [skip ci]
* fix: associate record options have not been shown for create form [skip ci]
* fix: creat form popup will be shown after refresh if switch form type [skip ci]
* fix: associate record settings error [skip ci]
* fix: mobile template setting page can not open popup [skip ci]
* fix: mobile content overflow [skip ci]
* chore: update templates menu style [skip ci]
* fix: unique disassociate btn [skip ci]
* feat: save collection and component info while update template
* fix: clear template context info after remove block
* chore: update template block entry point
* fix: incorrect association field template block [skip ci]
* fix: template title only shown after refresh
* fix: tooltip can't be revert correctly after moving entry to submenu [skip ci]
* fix: incorrect behavior after adding collection submenu entries [skip ci]
* fix: edit form support
* fix: support current details [skip ci]
* fix: edit form btn not correct [skip ci]
* fix: create form action params [skip ci]
* fix: hide template menu entry in block template configure page [skip ci]
* fix: incorrect association [skip ci]
* fix: nested template [skip ci]
* fix: can't insert template in mobile [skip ci]
* fix: association title not correct for details block [skip ci]
* chore: remove incorrect submodules commit [skip ci]
* fix: create form is using post method [skip ci]
* fix: association hasone and belongsto details block error [skip ci]
* fix: edit form not able load data [skip ci]
* chore: hide tab bar in mobile template configure page [skip ci]
* fix: don't show no accessible pages for template configure page [skip ci]
* fix: not able to see template list on the first time opening popup [skip ci]
* fix: able to remove related approvals template block [skip ci]
* fix: data not loading for details hasone relationship [skip ci]
* fix: dnd position may not be saved [skip ci]
* fix: multi-step-form is able to delete template step[skip ci]
* fix: hide rever setting in multi step form step name [skip ci]
* fix: extrol wrap when adding blocks from template [skip ci]
* fix: nested schema patch [skip ci]
* fix: x-acl-action not correct[skip ci]
* fix: diassociate action should be unique [skip ci]
* fix: disassociate action not unique [skip ci]
* fix: mobile popup by url not working [skip ci]
* chore: code clean
* chore: update delete setting position [skip ci]
* chore: keep revert btn position consistant in all places [skip ci]
* chore: hide template from workflow setting page [skip ci]
* chore: update setting menu icon [skip ci]
* chore: rename provider name to avoid duplicated with core [skip ci]
* chore: move block template menu to an upper level [skip ci]
* fix: hide other block templates menu [skip ci]
* fix: hide other blocks when creating template
* fix: duplicate revert to template option
* fix: mail manager template block not shown in popup
* fix: main block not showing in popup
* chore: mark old template features as deprecated
* chore: hide deprecated templates in block template configure page
* fix: read x-virtual from null
* fix: ci test error
* fix: skip old templates e2e test cases
* fix: skip old templates e2e test cases
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
2025-02-20 22:23:07 +08:00
Katherine
778d98e038
fix: merge bug ( #6118 )
...
* fix: merge bug
* fix: merge bug
2025-01-22 14:32:41 +08:00
katherinehhh
8243db5e3d
fix: merge bug
2025-01-22 14:21:42 +08:00
katherinehhh
982936963b
Merge branch 'main' into next
2025-01-22 10:13:55 +08:00
Katherine
dddd4616ca
fix: drag issue in quick popup add action for association field ( #6112 )
2025-01-21 20:01:37 +08:00
Zeke Zhang
70e592e341
fix(custom-request): fix refresh issue ( #5845 )
...
* fix(custom-request): fix the issue of not displaying immediately after adding
* test: add e2e test
* fix: fix the issue that blocks added through schema toolbar are not immediately displayed
* chore: make e2e tests more stable
2024-12-10 09:39:36 +08:00
Zeke Zhang
c0055ce826
perf(Page): improve performance ( #5515 )
...
* refactor(Tabs): remove observer and add memo
* refactor(useFilterFieldProps): use useCallback
* perf(FilterProvider): use startTransition
* perf(BlockRequestProvider): split context to improve rendering performance
* fix: make e2e tests pass
* perf(FilterBlockProvider): avoid rerender when updating state
* perf(DocumentTitleProvider): avoid rerender when updating state
* chore: set the default page title to empty string
* perf(BlockRequestProvider_deprecated): remove useless code
* perf(RecordProvider): add memo
* chore(Table): add comment
* perf: add memo to avoid rerender
* perf(InternalSchemaToolbar): improve style performance
* perf(ActionPage): improve style performance
* perf(BlockItem): improve style performance
* perf(Grid): improve style performance
* perf(IconField): improve style performance
* perf(MenuItem): improve style performance
* refactor(style): remove useless code
* perf(ArrayCollapse): improve style performance
* perf(acl): improve style performance
* perf(LinkageRules): improve style performance
* perf(ActionDrawerUsedInMobile): improve style performance
* perf(InternalPopoverNesterUsedInMobile): improve style performance
* perf(MobileActionPage): improve style performance
* perf(MobileTabsForMobileActionPage): improve style performance
* perf(Mobile): improve style performance
* perf(MobileTabBar): improve style performance
* perf(MobilePageContentContainer): improve style performance
* perf(MobilePageHeader): improve style performance
* perf(MobilePageNavigationBar): improve style performance
* perf(MobileNavigationBarAction): improve style performance
* chore: fix build error
* perf: some minor optimizations
* perf(CollectionFieldInternalField): optimize performance of default value processing
* refactor(CollectionFieldInternalField): remove useless code
* perf(PageContent): improve performance
* refactor(Table): use skeleton component
* perf(Table): improve pagination performance
* perf(TableSkeleton): improve skeleton component performance
* style(TableSkeleton): optimize style
* perf(PageTabs): cache rendered content to prevent re-rendering
* fix: fix add tab
* chore: make unit tests pass
* refactor: remove deprecated API
* fix(filterBlocks): make e2e tests pass
* fix(Action): make e2e tests pass
* perf(CollectionField): use custom RecursionField component to avoid unnecessary re-renders
* perf(Map): extract style
* Revert "perf(CollectionField): use custom RecursionField component to avoid unnecessary re-renders"
This reverts commit 203ecc1334429a8b77177337c8649ece1abdaeed.
* fix: fix e2e error
* fix: fix unit tests
* chore: fix build error
* perf(useResourceName): avoid unnecessary re-renders
* perf(TableBlockProvider): prevent unnecessary re-renders by splitting context
* perf(useDataBlockRequest): prevent unnecessary re-renders
* perf(useBlockCollection): avoid unnecessary re-renders
* perf(ActionContextProvider): add useMemo for context value
* perf(useTableBlockProps): avoid unnecessary re-renders
* perf(Details): add skeleton component
* chore(SchemaSettingsDropdown): make menu visibility more stable
* perf(withSkeletonComponent): use useDeferredValue
* refactor(ErrorBoundary): optimize code
* perf(plugin-charts-old): ignore old plugin context
* perf(CollectionHistoryProvider): optimize location context
* perf(MenuEditor): optimize router context
* fix(InternalAdminLayout): fix the issue of missing left sidebar menu
* perf(MenuEditor): prevent unnecessary re-renders
* perf(RouteSchemaComponent): prevent unnecessary re-renders
* perf(react-router-hooks): improve performance
* perf: add skeleton component for other blocks
* perf(CurrentUserProvider): remove loading
* refactor: remove useless code
* fix: fix the issue of redirecting to the homepage after refreshing the page
* perf(SystemSettingsProvider): remove loading
* perf(CollectionHistoryProvider): remove loading
* perf(useCurrentAppInfo): remove loading
* perf(RemoteCollectionManagerProvider): remove loading
* perf(RequestSchemaComponent): remove loading
* refactor(MenuEditor): remove useless code
* refactor: remove useless code
* perf(Page): reduce white screen time
* Revert "Revert "perf(CollectionField): use custom RecursionField component to avoid unnecessary re-renders""
This reverts commit b3a4201a82617534b9f5c3d16d4769f1327b3b02.
* perf(wip): add custom RecursionField component
* perf(RecursionField): complete custom RecursionField component
* perf(FilterAction): avoid unnecessary re-rendering
* perf(InputReadPretty): improve render performance
* fix(NocoBaseRecursionField): fix the issue where the page does not update
* perf(ReadPrettyInternalViewer): remove observer
* perf(Table): remove unnecessary context
* perf(NocoBaseField): customize a Field component
* chore: add comments
* fix(ButtonEditor): fix the issue where button title does not update after modification
* fix(ellipsis): fix the issue where the page does not refresh after modification
* refactor(NocoBaseField): rename and improve performance
* fix(NocoBaseField): add compile
* perf(Table): avoid rendering popup content
* chore: fix build error
* fix(popup): fix the issue where popups cannot be opened in embedded pages
* perf(CollectionField): remove ErrorBoundary
* chore(NocoBaseRecursionField): add isUseFormilyField
* perf(TemplateBlockProvider): use performance hooks
* refactor(FormV2): optimize skeleton screen effect
* perf(EditableAssociationField): remove observer
* perf(CollectionField): reduce nested component hierarchy
* refactor(SchemaSettingsSwitchItem): prevent UI refresh issues
* fix: fix field issues
* refactor(CollectionField): extract CollectionFieldInternalField component
* fix(DataSources): fix table error issue
* fix(drawer): fix drawer error
* fix(CollectionManagerSchemaComponentProvider): fix incorrect scope value
* fix(BodyRowComponent): fix issue with empty record
* fix(usePopupSettings): fix issue with popup not opening
* fix(BlockTemplates): fix table error issue
* refactor(NocoBaseRecursionField): set default value of isUseFormilyField to true
* refactor(Action): replace RecursionField with NocoBaseRecursionField
* fix(RequestSchemaComponent): fix issue with subpage not opening on mobile devices
* feat(loading): add delay for loading component
* fix(workflow): fix workflow table display issue
* chore(NocoBaseField): add compile method for default value
* fix(CollectionField): compatibility with legacy version
* fix(CollectionField): compatibility with legacy version
* fix(e2e): remove memoize function
* fix: add back dn.refresh
* refactor(CollectionField): reduce component rendering in specific cases
* Revert "fix(drawer): fix drawer error"
This reverts commit da8b43d9322aed39a1adf0ccdf24beca52a228ef.
* fix(popup): fix the issue where the second layer popup cannot be opened
* Revert "fix(popup): fix the issue where the second layer popup cannot be opened"
This reverts commit 71e9a43f361dd806affe9707254ed30882c27178.
* fix(popup): fix the issue where the second layer popup cannot be opened
* fix(popup): fix the issue where content is not displayed when reopening the popup
* fix(NocoBaseRecursionField): add default value
* refactor: revert to RecursionField version
* fix(Duplicate): fix the issue where values are not displayed
* Revert "refactor: revert to RecursionField version"
This reverts commit 087dcd4dc4d8d83f41272ac1b270dea281f49e08.
* fix(association-field): use NocoBaseRecursionField
* fix(menu): fix the issue where menu items are not displayed after adding
* fix(grid-card): make e2e pass
* fix(NocoBasePageHeader): fix the issue where title is not updated after modification
* fix(AdminLayout): fix page navigation issue
* fix(e2e): make e2e pass
* fix(e2e): fix the issue where data is not refreshed after closing the popup
* fix(e2e): fix the issue where relationship field popup variables are displayed incorrectly
* fix(e2e): fix JSON.stringify circular reference issue
* fix(e2e): make mobile e2e more stable
* fix(e2e): fix subform display issue
* fix(e2e): fix field pattern state
* chore(test): make some unit tests pass
* fix(test): make some unit tests pass
* fix(test): make unit tests pass
* perf(SortableItem): reduce unnecessary component rendering in non-configuration mode
* chore(Table): use startTransition
* perf(page): implement keep-alive effect
* chore: remove loading delay
* chore(e2e): skip one e2e
* chore: fix build error
* refactor: extract KeepAlive component and fix e2e test errors
* fix(test): make unit tests pass
* fix(KeepAlive): children should be a function
* fix(popup): avoid being affected by KeepAlive
* perf(KeepAlive): reduce lag when switching pages
* refactor(DndContext): extract InternalDndContext component
* refactor(KeepAlive): avoid memory overflow
* chore: limit maximum number of cached pages
* refactor: use useEffect instead of useLayoutEffect
* refactor(AdminLayout): extract NocoBaseLogo component
* perf: reduce lag when switching pages
* chore(KeepAlive): increase maximum number of cached pages
* perf(Grid): optimize rendering performance in non-configuration mode
* perf(Table): reduce one re-render when switching pagination
* refactor(SubTable): separate SubTable's Table component from normal Table component
* chore(test): make unit tests pass
* fix(e2e): fix the issue where table data does not refresh after form submission
* chore(e2e): update some e2e tests
* fix(Table): fix the issue where Dropdown component disappears after adding association fields
* perf(Table): optimize refresh performance
* refactor(NocoBaseField): simplify code writing
* perf(Context): improve performance
* perf(Context): improve render performance
* perf(Menu): improve menu performance
* perf: lower the priority of updating title
* perf(Page): avoid re-layout when switching pages
* perf(Table): reduce repainting time
* perf(popup): improve popup opening speed
* perf(popup): using toJSON for deep clone, faster than lodash's cloneDeep
* perf(withSkeletonComponent): defer loading state update
* perf(PopupRouteContextResetter): improve render performance
* perf(popup): improve popup closing speed
* perf(popup): improve popup closing performance
* perf(SchemaToolbar): avoid excessive style calculations
* perf(SchemaSettingsDropdown): avoid using useLayoutEffect
* perf(popup): improve popup opening speed
* fix(pageTab): fix the error when switching tab pages
* fix(popup): fix the issue of duplicate URLs caused by rapid button clicks
* refactor: extract NocoBasePageHeaderTabs
* fix(pageTabs): fix settings not refreshing after changes
* chore(test): make unit tests pass
* chore(test): update test case
* chore(SchemaInitializerSwitch): update unit test
* chore(useVariables): update unit tests
* chore(e2e): make some e2e tests pass
* chore(e2e): make e2e tests pass
* chore(e2e): update tests to make it pass
* fix(SideMenu): fix the issue where is not refresh when adding a page
* fix(Menu): fix the issue where is not refresh when changing menu
* fix(e2e): fix e2e error
* fix(e2e): fix refresh issues
* fix(e2e): fix some bugs
* fix(e2e): fix e2e error
* fix(test): fix unit tests
* fix(popup): prevent rapid clicking issues
* fix(e2e): fix e2e error
* fix(e2e): fix refresh issues
* fix(Table): do not change table pagination after switching pages
* perf(Menu): improve performance
* perf(Table): reduce row render times
* fix(KeepAlive): fix lag when switching designable
* fix(e2e): fix e2e error
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-11-27 07:19:52 +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
Katherine
fb1ed31820
fix: optimize block template description ( #4721 )
...
* fix: optimize block template description
* fix: optimize block template description
* fix: bug
2024-06-21 14:46:39 +08:00
chenos
1d2ac6b85e
fix: remove grid wrap ( #4612 )
2024-06-10 15:31:19 +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 0a701716877cd732db2ece8f2bdb6325a8e6179e.
* 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 29a51dff28f917fae99d4a88b908aad12c69f5c2.
* 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
YANG QIA
98a8e687b1
feat(client): refining error fallback for different components when catching errors ( #4459 )
...
* feat(client): refining error fallback for different components when catching errors
* fix: build
* refactor: `ErrorFallback.Inline` to `ErrorFallback.Modal`
* feat: toolbar error fallback
* chore: add deprecated comment
* fix: useSchemaToolbarRender
2024-05-28 13:26:38 +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
jack zhang
6f4c884799
fix: block error can delete ( #4329 )
...
* fix: block error can delete
* fix: test bug
2024-05-13 21:28:02 +08:00
jack zhang
077efebdf0
feat: support mobile iframe block and toolbar props ( #4292 )
2024-05-08 23:51:32 +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
YANG QIA
088f3977a2
feat(data-vi): support multiple data sources ( #3743 )
...
* feat(data-vi): support multiple data sources
* chore: update
* chore: new pr
* chore: update
* chore: merge
* fix: bug
* fix: isDBInstance
* fix: fix T-3624
* fix: fix T-3625
* fix: test
* fix: fix T-3659
* fix: fix T-3660
* fix: backend tests
* fix: acl
* fix: fix T-3680
* fix: build
2024-03-25 14:54:13 +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
chenos
1260934d2b
fix(client): cannot read properties of null (reading 'removeEventListener')
...
at http://localhost:13000/p . index.f739617tasyncis:118:3551
2024-01-20 14:48:17 +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
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
被雨水过滤的空气-Rain
166521bcdb
fix: fix auto-close dialog ( #2825 )
...
* fix: fix auto-close dialog
* chore: skip tests
2023-10-13 20:41:16 +08:00
被雨水过滤的空气-Rain
a57c93d35b
feat: support e2e ( #2624 )
...
* chore: upgrade vitest to v0.34.3
* feat: setup NocoBase
* chore: preparing test env
* test: add a test of rigster
* refactor: rename test dir to testUtils
* chore: add tests
* chore: add ci for e2e
* chore: fix ci
* chore: avoid error in CI
* chore: add some utils for test
* chore: make more stable
* chore: should not close server in CI
* chore: add comments
* chore: change output dir
* fix: should use current branch to run tests
* chore: should request systemSettings by api in e2e
* chore: should build first in e2e CI
* chore: remove key
* chore: use execa to replace execSync
* refactor: extract test suite
* chore: add gotoPage
* chore: update uid of pageSchema
* chore: update collection name
* chore: use faker.js to generate data
* refactor: extract page config
* chore: ignore for association fields in faker
* chore: add testid
* chore: optimize action designer
* chore: associationFilter.Item designer
* chore: AssiciationFilter & BlockItem
* Revert "chore: AssiciationFilter & BlockItem"
This reverts commit b418df650e106fd0c8e23035d2f75acf60dcafe4.
* Revert "chore: associationFilter.Item designer"
This reverts commit 7aa4d35c1af7f3a780b370d8b1b44aac01697be3.
* Revert "chore: optimize action designer"
This reverts commit ff717b972ffd64f7968d565a3a84ad617ff889e2.
* chore: optimize Designer
* chore: compat with older browsers
* chore: use describe to avoid hooks is not run
* chore: add no-floating-promises to eslint rules
* chore: support argv
* chore: demo
* chore: better testId
* chore: change .e2e.ts to .test.ts
* fix(SchemaInitializer): avoid error
* refactor: move e2eUtils.ts to @nocobase/test
* fix: move e2eUtils to client
* chore: remove uselesscode
* refactor: add .env.e2e.example
* chore: optimize log
* refactor: use mockPage to replace gotoPage
* chore: update env.e2e
* chore: add APP_BASE_URL
* chore: gitigore
* test: add test related of menu
* chore: add SOCKET_PATH in env
* fix(vscode): load env when using vscode plugin
2023-09-27 20:00:17 +08:00
被雨水过滤的空气-Rain
4f5ec0a581
feat(theme-editor): support to config Header's color and Settings button's color ( #2263 )
...
* feat: add color options to theme editor
* feat: add default theme
* refactor: optimize
* feat: support to change color of UI settings
* fix: fix menu background color
* fix: fix color of UI settings
* feat: support to set alpha
* refactor: migrate style to a file
* feat: support colorBgSettingsHover and colorBorderSettingsHover
* feat: adapt settings color
* fix: should be reset together
* feat: compat old theme
2023-07-21 10:38:56 +08:00
被雨水过滤的空气-Rairn
9d2a4834a5
test: add data-testid attr ( #2167 )
2023-07-03 16:02:26 +08:00
Dunqing
9c165db0f7
feat(plugin-mobile-client): support mobile-side client ( #1879 )
...
* feat: init mobile client
* feat: add plugin
* feat: ready to develop
* feat: update pm styels
* feat: add mobile center
* feat: router ready
* feat: support menu block, then menu ready
* fix: incorrect path
* feat: support TabBar
* feat: tabbar, menu support dragging
* feat: support page and header
* feat: mobile view
* fix: optional schema
* feat: improve styles
* fix: user-scalable
* feat: support pc component show in mobile
* feat: hidden divider
* fix: improve drawer props
* feat: support list block
* feat: rename to details list
* feat: page support tabs
* feat: improve designer css
* feat: complete enable/disabled header of page
* feat: some improve
* feat: improve empty data
* fix: header info cannot displayed
* chore: update deps
* fix: incorrect spacing
* fix: menu designer
* refactor: re implement
* feat: support page template
* feat: clean code
* feat: support i18n
* chore: update lock
* feat: support GirdCard in mobile
* fix: build failed
* feat: only render one column in mobile interface
* fix: back button should not display in container
* fix: switch to padding
* fix: fixedBlockDesignRItem shouldn't display in dosen't support block
* fix: update font family
* fix: remove gridcard title
* fix: dragging scope is too wide
* fix: add menu cannot direct display
* refactor: improve tabbar schema usage
* refactor: improve menu schema
* feat: should to use simple pagination
* feat: the tag should pre-wrap
* feat: improve the configuration button
* feat: improve name
* fix: clear data when modal is closed
* fix: the tag is too long
* fix: i18n
* fix: font incorrect
* feat: add map block
* fix: some maps error
* feat: support global action in page
* feat: improve border color
* feat: improve performance, the count stop early
* style: improve
* fix: incorrect font
* fix: style conflict
* chore: update version
* chore: missing dep
* feat: support setting block
* feat: improve settings block and improve
* feat: support onBackPressed
* fix: ts error
* feat: improve cannot find tab should navigate to mobile
* docs: update
* chore: update deps
* fix: showTitle state is incorrect
* feat: improve jsbridge apis
* fix: navigate to admin after signout
* chore: remove mgrid block
* fix: ts error
* fix: switch role will reload to root page
* fix: update deps
* fix: upgrade formily to 2.2.24
---------
Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-08 19:54:00 +08:00
Dunqing
3a77e4376a
feat: support List and Grid Card block ( #1753 )
...
* feat: support details block
* feat: rename to list
* fix: imports
* feat: improve list block
* feat: support title hidden
* fix: showTitle default value
* feat: support table column actions
* feat: support appendsOnDemand
* feat: reuse same schema items
* feat: shouldn't display pagination when pages only one
* feat: block order
* feat: support card list
* fix: appends on demand
* fix: remove unused code
* fix: params
* fix: improve default pageSize
* feat: improve performance
* feat: add title designer
* feat: improve huge performance
* fix: better key
* feat: improve schema perf
* feat: improve initializer
* fix: improve grid perf
* fix: avoid haven't properties
* feat: support automatic run service when params changed
* fix: revert params
* fix: grid col width
* refactor: improve CardList performance
* fix: initializer related
* feat: i18n supports
* fix: improve get schema
* fix: create new form
* fix: revert code
* feat: css improve
* fix: i18n copy
* refactor: the CardList rename to GridCard
* feat: remove AssociationFilter item
* fix: edit and view data is incorrect
* feat: remove bulk actions
* feat: improve action bar
* feat: supports configuration of columns with different screen sizes
* fix: incorrect place to save the template
* feat: keep height in all card
* fix: remove console
* fix: rename
* refactor: improve GridCard implementation
* feat: support import/export actions
* fix: remove padding when actions is empty
* fix: remove incorrect import
* fix: remove unused props
* fix: action place
* feat: improve column count
* refactor: remove appendsOnDemand, and use useAssociationNames instated it
* fix: incorrect component
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-16 09:05:47 +08:00
chenos
2c98dab24c
fix(client): improve translation
2022-05-22 22:46:30 +08:00
chenos
ef7cc8c2ff
fix: use wrapper when greater than one column
2022-05-01 00:04:59 +08:00
chenos
42438625d5
fix: add schema initializer icon
2022-04-30 22:43:36 +08:00
chenos
5c0184a397
feat: translations
2022-04-22 23:58:19 +08:00
ChengLei Shao
24ea83f0ff
Feat/create nocobase app ( #273 )
...
* create-nocobase-app template from [develop]
* change create-nocobase-app package.json config
* feat: load configuration from directory
* feat: configuration repository toObject
* feat: create application from configuration dir
* feat: application factory with plugins options
* export type
* feat: read application config & application with plugins options
* feat: release command
* fix: database release
* chore: workflow package.json
* feat: nocobase cli package
* feat: console command
* chore: load application in command
* fix: load packages from process.cwd
* feat: cli load env file
* feat: create-nocobase-app
* fix: gitignore create-nocobase-app lib
* fix: sqlite path
* feat: create plugin
* chore: plugin files template
* chore: move cli into application
* chore: create-nocobase-app
* fix: create plugin
* chore: app-client && app-server
* chore: package.json
* feat: create-nocobase-app download template from npm
* chore: create-nocobase-app template
* fix: config of plugin-users
* fix: yarn.lock
* fix: database build error
* fix: yarn.lock
* fix: resourcer config
* chore: cross-env
* chore: app-client dependents
* fix: env
* chore: v0.6.0-alpha.1
* chore: verdaccio
* chore(versions): 😊 publish v0.6.0
* chore(versions): 😊 publish v0.6.1-alpha.0
* chore(versions): 😊 publish v0.6.2-alpha.0
* chore(versions): 😊 publish v0.6.2-alpha.1
* chore: 0.6.2-alpha.2
* feat: workspaces
* chore(versions): 😊 publish v0.6.2-alpha.3
* chore(versions): 😊 publish v0.6.2-alpha.4
* chore: create-nocobase-app
* chore: create-nocobase-app lib
* fix: update tsconfig.jest.json
* chore: .env
* chore(versions): 😊 publish v0.6.2-alpha.5
* chore(versions): 😊 publish v0.6.2-alpha.6
* feat: improve code
* chore(versions): 😊 publish v0.6.2-alpha.7
* fix: cleanup
* chore(versions): 😊 publish v0.6.2-alpha.8
* chore: tsconfig for app server package
* fix: move files
* fix: move files
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-04-17 10:00:42 +08:00