593 Commits

Author SHA1 Message Date
nocobase[bot]
6bc55d4f9f chore(versions): 😊 publish v1.6.4 2025-03-14 16:37:22 +00:00
nocobase[bot]
7281979cc3 chore(versions): 😊 publish v1.6.3 2025-03-13 16:32:19 +00:00
nocobase[bot]
ed98b8c7af chore(versions): 😊 publish v1.6.2 2025-03-12 08:00:54 +00:00
nocobase[bot]
00b7e0e0bd chore(versions): 😊 publish v1.6.1 2025-03-11 10:14:56 +00:00
nocobase[bot]
e7dea7fdfb chore(versions): 😊 publish v1.6.0 2025-03-11 05:29:43 +00:00
Junyi
e5507d0758
refactor(plugin-workflow): change task center api and ui (#6272)
* refactor(plugin-workflow): change task center api and ui

* fix(client): add className property for Grid.Col

* refactor(plugin-workflow): adjust tasks menu style

* fix(plugin-workflow): fix menu title

* feat(plugin-workflow): automatically update tasks number

* fix(plugin-workflow): ignore ws if not exist

* fix(plugin-workflow): fix compatibility of no user approvals

* refactor(server): revert ws api back

* fix(plugin-workflow-manual): fix migration and renamed test cases

* fix(plugin-workflow): fix acl for task resource

* refactor(client): show badge number in toolbar

* fix(plugin-workflow): fix toolbar number

* fix(client): adjust badge font size

* refactor(plugin-workflow): adjust task center style and api

* fix(plugin-workflow-manual): fix constants

* refactor(plugin-workflow-manual): change legacy workflow todo block to list style

* test(plugin-workflow-manual): migrations

* refactor(plugin-workflow): add workflow title component

* fix(plugin-workflow-manual): fix e2e test cases

* fix(plugin-workflow): fix test kit
2025-03-10 19:58:33 +08:00
nocobase[bot]
c2e2344a83 chore(versions): 😊 publish v1.6.0-beta.19 2025-03-10 06:13:38 +00:00
nocobase[bot]
39f505360d chore(versions): 😊 publish v1.6.0-beta.18 2025-03-09 23:29:10 +00:00
nocobase[bot]
06090aa0f6 chore(versions): 😊 publish v1.6.0-beta.17 2025-03-07 07:24:50 +00:00
chenyongxin
c2928d38cf
feat: add tooltip configuration to menu item and table headers (#6346)
* feat: add tooltip configuration to menu item and table headers

* feat: add tooltip to link and group menus

* feat: menu tooltip icon style adjustment

* feat: menu tooltip icon style adjustment

* fix: e2e

* refactor: optimize tooltip component usage in table columns

* feat: add tooltip editing functionality and enhance tooltip display in menu items

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2025-03-06 20:09:14 +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]
53e9ad38cd chore(versions): 😊 publish v1.6.0-beta.16 2025-03-04 03:20:25 +00:00
nocobase[bot]
08f4d7eeb0 chore(versions): 😊 publish v1.6.0-beta.15 2025-02-27 04:27:59 +00:00
nocobase[bot]
8c801015d2 chore(versions): 😊 publish v1.6.0-beta.14 2025-02-27 01:13:54 +00:00
nocobase[bot]
220721d5d5 chore(versions): 😊 publish v1.6.0-beta.13 2025-02-26 15:01:33 +00:00
nocobase[bot]
60b1bfc742 chore(versions): 😊 publish v1.6.0-beta.12 2025-02-26 00:09:44 +00:00
nocobase[bot]
b6f666e0d9 chore(versions): 😊 publish v1.6.0-beta.11 2025-02-24 12:10:09 +00:00
nocobase[bot]
5d17e0941d chore(versions): 😊 publish v1.6.0-beta.10 2025-02-24 06:02:03 +00:00
nocobase[bot]
4691a6146f chore(versions): 😊 publish v1.6.0-beta.9 2025-02-22 07:09:03 +00:00
nocobase[bot]
4087b7a58c chore(versions): 😊 publish v1.6.0-beta.8 2025-02-14 16:23:18 +00:00
nocobase[bot]
8836fcaa5b chore(versions): 😊 publish v1.6.0-beta.7 2025-02-14 05:04:34 +00:00
nocobase[bot]
aff51d3683 chore(versions): 😊 publish v1.6.0-beta.6 2025-02-13 07:00:25 +00:00
nocobase[bot]
a56fb7cacf chore(versions): 😊 publish v1.6.0-beta.5 2025-02-11 12:54:47 +00:00
nocobase[bot]
406549a002 chore(versions): 😊 publish v1.6.0-beta.4 2025-02-11 04:23:54 +00:00
Zeke Zhang
21e37f9915
fix: remove default tab title (#6178)
* fix: remove default tab title

* fix: add default tab title for route table

* chore: update migration

* fix: mobile

* fix: e2e errors
2025-02-09 08:04:28 +08:00
Sheldon Guo
feb9074e56
refactor(test): modify the test function login to be asynchronous and update the relevant test cases (#6181)
* refactor(test): modify the test function login to be asynchronous and update the relevant test cases
2025-02-08 13:53:30 +08:00
nocobase[bot]
c0ec18c0ec chore(versions): 😊 publish v1.6.0-alpha.23 2025-02-07 11:53:20 +00:00
Sheldon Guo
0144e2e510
fix(auth): use loginWithJti to update authentication-related test cases and prevent errors (#6175)
* refactor(auth): update login method to use loginWithJti for test cases
2025-02-07 17:45:48 +08:00
nocobase[bot]
cd50adcf5e chore(versions): 😊 publish v1.6.0-alpha.22 2025-02-07 07:46:20 +00:00
nocobase[bot]
c71edbb4e7 chore(versions): 😊 publish v1.6.0-alpha.21 2025-02-07 01:51:40 +00:00
nocobase[bot]
c43fe72a66 chore(versions): 😊 publish v1.6.0-alpha.20 2025-02-02 04:55:59 +00:00
nocobase[bot]
4d0b1117b1 chore(versions): 😊 publish v1.6.0-alpha.19 2025-01-25 12:54:44 +00:00
nocobase[bot]
8eb3b87dc3 Merge branch 'next' into develop 2025-01-24 15:06:35 +00:00
katherinehhh
cae5d68211 Merge branch 'main' into next 2025-01-24 23:05:50 +08:00
Katherine
a00dcb78cb
refactor: optimize filter component in filter form to match filterable settings (#6110)
* fix: display checkbox field as select in filter form

* fix: bug

* chore: filterCollectionffield

* refactor: code improve

* fix: bug

* fix: bug

* fix: isTruly and isFalsy

* fix: bug

* fix: bug

* fix: bug

* fix: bug

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2025-01-24 23:00:35 +08:00
nocobase[bot]
61488d95af chore(versions): 😊 publish v1.6.0-alpha.18 2025-01-24 06:10:10 +00:00
Zeke Zhang
97333d0c06
refactor(Menu): optimize menu interface (#5955)
* feat: define desktopRoutes collection

* feat: convert routes to schema

* feat: support to add new route

* feat: support to delete routes

* feat: adaptor Hidden option

* feat: adaptor Edit option

* fix: fix incomplete menu display issue

* feat: support to insert

* feat: adjust permission configuration page interface

* feat: add listAccessible action

* feat: routes table

* feat: edit button

* style: optimize style

* chore: add confirm text

* fix: delete corresponding schema when removing routes to ensure data consistency

* chore: add field type

* feat: create a tab when creating a page

* fix: fix tabs issue

* fix: avoid undefined error

* fix: should hide menu when it's hideInMenu is true

* fix: should refresh menu when updating it

* chore: optimize params

* fix: fix tab when adding child

* chore: should display empty

* fix: fix subapp path

* fix: fix activeKey of tab

* chore: add translation

* chore: prevent menu collapse after adding new menu item

* refactor: rename useDesktopRoutes to useNocoBaseRoutes

* fix: fix tab path

* fix: fix draging issue

* feat: support to set Hidden for Tab

* feat: implement move

* fix: draging

* chore: add migration

* fix: fix migration

* chore: fix build

* chore: fix e2e test

* fix: fix menu creation position issue

* fix: migration

* chore: add translation

* fix: fix some bugs

* fix: fix 'Move to'

* fix: compile Route name in permission management page

* fix: fix table selection issue

* chore: add comment

* fix: hidden

* fix: fix mobile route path

* fix: do not select parent node when selecting child nodes

* fix(mobile): hide menu

* fix(mobile): path

* fix(mobile): fix schema

* fix(mobile): compile tab title

* fix: fix permission configuration page selection error

* fix: fix selection issues

* fix(migration): transform old permission configuration to new permission configuration

* chore: translate fields title

* feat: support localization

* fix: fix pagination

* chore: fix build

* fix: change aclSnippet

* chore: fix unit tests

* fix: fix error

* chore: fix unit tests of server

* chore(migration): update version of migration

* chore: fix e2e tests

* chore: fix build error

* chore: make e2e tests pass

* chore: fix migration error

* fix: show ellipsis when text overflows

* fix: show ellipsis when text overflows

* chore: change 'Access' to 'View'

* fix: should use sort field to sort

* fix: fix tab drag and drop issue

* refactor: rename unnamed tab label to 'Unnamed'

* fix: fix draging issue

* refactor: add 'enableTabs' field

* refactor: optimize route fields

* refactor: optimize migration

* fix: set enableTabs to false when creating page

* refactor: change empty tab name to 'Unnamed'

* fix: fix tab path

* fix: avoid undefined error

* chore(migration): update appVersion

* fix(migration): fix page issue

* chore: fix unit test

* fix(mobile): fix incorrect path

* fix(mobile): fix enableTabs issue

* fix: disable Add child route button when enableTabs is false

* fix: fix embed issue

* fix(migration): add migration for mobile

* chore: update migration

* fix: fix tab title not updating issue

* fix: fix untranslated text issue

* fix: fix routes table style

* fix: fix group issue

* fix(mobile): fix 404 issue

* fix: should hide tabs when creating page

* fix: should translate tabs title

* fix: fix translation issue

* fix(migration): fix appVersion

* fix: fix ACL

* fix: should set paginate to true and filter out hidden items

* fix(migration): fix bug

* refactor(desktopRoutes): add enableHeader and displayTitle

* fix: fix permission issue

* fix(mobile): fix error

* fix(mobile): fix migration error

* fix(migration): compatible with older versions

* fix: make unit tests pass

* chore: ignore some failing test cases

* chore: test

* fix: test
2025-01-24 13:02:38 +08:00
nocobase[bot]
1250300fb2 chore(versions): 😊 publish v1.4.30 2025-01-23 00:13:10 +00:00
nocobase[bot]
7601386e18 chore(versions): 😊 publish v1.5.0-beta.33 2025-01-21 09:51:26 +00:00
nocobase[bot]
a326f7efae chore(versions): 😊 publish v1.4.29 2025-01-21 07:13:43 +00:00
nocobase[bot]
38f247c33d chore(versions): 😊 publish v1.4.28 2025-01-21 04:32:08 +00:00
nocobase[bot]
93b8f93b74 chore(versions): 😊 publish v1.6.0-alpha.17 2025-01-19 12:54:20 +00:00
nocobase[bot]
4ba5dc0d6c chore(versions): 😊 publish v1.6.0-alpha.16 2025-01-19 06:19:56 +00:00
nocobase[bot]
8baec18988 chore(versions): 😊 publish v1.6.0-alpha.15 2025-01-19 02:05:02 +00:00
Sheldon Guo
cc6928c7d0
feat(auth): support token security (#5948)
* feat(auth): support token security config
---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: xilesun <2013xile@gmail.com>
2025-01-18 22:18:51 +08:00
nocobase[bot]
201e9c713a chore(versions): 😊 publish v1.4.27 2025-01-18 10:09:11 +00:00
nocobase[bot]
4dcffddbcd chore(versions): 😊 publish v1.5.0-beta.32 2025-01-17 13:27:34 +00:00
nocobase[bot]
18fec90aa8 chore(versions): 😊 publish v1.5.0-beta.31 2025-01-16 16:37:04 +00:00
nocobase[bot]
d9f6ba2f81 chore(versions): 😊 publish v1.4.26 2025-01-16 13:26:47 +00:00
nocobase[bot]
c4a681203b chore(versions): 😊 publish v1.5.0-beta.30 2025-01-16 03:04:22 +00:00