Commit Graph

356 Commits

Author SHA1 Message Date
nocobase[bot] faa671263c chore(versions): 😊 publish v2.1.0-alpha.24 2026-04-26 11:15:28 +00:00
nocobase[bot] 5606fd73fe chore(versions): 😊 publish v2.1.0-alpha.23 2026-04-25 01:17:32 +00:00
Zeke Zhang d6672a3903 refactor(flow): migrate flow to client-v2 (#8937)
* refactor(admin-layout): modelize layout slots

* refactor(admin-layout): decouple layout runtime

* fix(admin-layout): restore layout content export

* fix(admin-layout): address review feedback

* fix(admin-layout): avoid stale menu render

* refactor(admin-layout): remove unused imports

* refactor(admin-layout): move layout render

* refactor(admin-layout): extract layout shell

* fix(admin-layout): restore menu route sync

* fix(admin-layout): fix designer buttons

* fix(admin-layout): fix build type error

* refactor(admin-layout): update menu model rendering

* refactor(admin-layout): export AdminProvider from admin-shell

* fix(admin-layout): address review comments

* refactor(admin-layout): add CurrentRouteProvider export

* refactor(admin-layout): migrate menu toolbar to v2 (#8905)

* refactor(route-repository): centralize desktop route ops

* feat(menu): add useAPIClient import

* feat(flow-engine): support nested settings actions

* refactor(admin-layout): move menu toolbar to flow settings

* fix(admin-layout): align header menu theme

* docs(plan): update task 3 progress

* refactor(admin-layout): migrate menu drag

* docs(plan): update task status

* fix(admin-layout): use default drag icon

* docs(plan): finalize task 4

* fix(types): resolve branch type errors

* fix(admin-layout): hide menu flow entry

* fix(flow-engine): hide menu flow entry

* docs(plan): remove tracking file

* fix(client): address review feedback

* fix(client): address more review feedback

* fix(client): address latest review feedback

* fix(client): stabilize mocked flow model

* fix(client): update move position options type

* fix(client): address new review feedback

* fix(flow): declare missing type for BaseFlowEngineContext

* refactor(flow-context): change type of 'key' in t method

* refactor(collection-utils): specify return type for translation function

* refactor(admin-layout): drop header actions model (#8910)

* refactor(admin-layout): drop header actions model

* refactor(admin-layout): type actions render

* fix(import-action): correct namespace usage in import message

* refactor(admin-layout): drop content model (#8912)

* refactor(admin-layout): unify menu items (#8915)

* refactor(admin-layout): simplify menu item flow (#8924)

* refactor(admin-layout): enhance menu item creation flow

* refactor(admin-layout): hide settings option in menu creation

* refactor(admin-layout): update step title for menu item flow

* feat(locale): add menu creation and type translations

* feat(admin-layout): add AdminLayoutMenuUtils for menu management

* refactor(admin-layout): simplify menu schema creation

* refactor(admin-layout): rename menu item method for clarity

* refactor(admin-layout): rename menuCreationSessions to menuItems

* fix(admin-layout): address review feedback

* refactor(admin-layout): use NavigateFunction type for navigation

* refactor(useAdminLayoutRoutePage): change import to type

* refactor(flow): remove unused designable logic

* refactor(flow): remove unused mobile layout logic

* refactor(flow): remove currentRoute references

* refactor(flow): update refreshDesktopRoutes to return a Promise

* refactor(flow): remove unused active references and logic

* refactor(flow): migrate to use FlowContext for API and theme

* refactor(test): simplify addFieldInterfaces call

* refactor(test): enhance PageModel closeGuard flow tests

* build(package.json): add exports field for module compatibility

* fix(client): resolve flow model cycles

* fix(flow-engine): init dark theme before render

* fix(build): reorder client declaration build

* fix(admin-layout): parse link vars

* fix(admin-layout): adjust component props for link settings

* fix(client-v2): fix dayjs range types

* docs: remove outdated admin-layout link flow context plan

* refactor(client): migrate header actions source

* feat(admin-layout): implement AdminLayoutComponent

* refactor(admin-layout): restructure menu and model imports

- Moved AdminLayoutMenuModels and related exports to a new flow directory.
- Updated AdminLayoutModel to use new imports and added mobile layout handling.
- Refactored tests to align with new route paths.
- Simplified SystemSettingsProvider and introduced SystemSettingsSource.

* feat(route): add unsubscribe method and update route handling

* refactor(routes): simplify resource access in useNocoBaseRoutes

* refactor(admin-layout): clean up imports in AdminLayout files

* feat(admin-layout): add AdminLayoutModel tests and refactor

* feat(ai): migrate AI management to flow structure

* refactor(plugin): enhance Plugin class with generics

* refactor(WebSocketClient): update pingInterval default value

* refactor(RouterManager): remove unused import from react-router

* refactor(RouterManager): remove unused import from react-router

* refactor(RouterManager): enhance RouterManager with generics

* refactor(PluginManager): enhance type safety with generics

* refactor(PluginSettingsManager): enhance type safety with generics

* refactor(ApplicationModel): export ApplicationModel class

* refactor(client): share app runtime in base

* refactor(BaseApplication): simplify scope merging logic

* refactor(client): lift shared app helpers

* refactor(BaseApplication): change ws type to WebSocketClient

* refactor(client): move ai to client-v2

* refactor(PluginSettingsManager): add type annotations to renderIcon

* refactor(BaseApplication): integrate AI and header actions managers

* refactor(client): move route repo to v2

* refactor(admin-shell): update mobile layout context and provider

* refactor(mobile-layout): remove deprecated context and provider

* refactor(admin-shell): reorganize mobile layout exports

* refactor(route): migrate to new route structure and components

- Updated RouteRepository to use APIClient from @nocobase/sdk.
- Removed KeepAlive component and related files from admin-shell.
- Introduced new AdminDynamicPage and AdminShellProvider components.
- Refactored route-runtime and route-utils for better organization.
- Added tests for RoutesRequestProvider.

* refactor(ai): update exports for AIManager and tools

* refactor(plugin): move aiManager access to core Plugin

* feat(icon): add Icon component and registration functions

* refactor(page): remove redundant imports for KeepAlive

* refactor(client): migrate flow exports

* feat(components): add application error handling components

* refactor(components): reorganize default components structure

* refactor(application): simplify component rendering logic

* refactor(client): hoist shared app context

* refactor(components): remove AppComponent export

* refactor(components): remove unused default components

* refactor(pm): remove unused imports from index.tsx

* feat(client): add built-in plugins and locale support

* feat(plugin-auth): add client-v2 auth

* refactor(header): rename HeaderActionRendererLite to HeaderActionRenderer

* feat(acl): implement ACL context and role checks

* feat(rsbuild): add local and static storage paths

* feat(route): add accessible route loading mechanism

* refactor(acl): use pathnameRef for location handling

* feat(admin-layout): add AdminLayout component

* feat(flow): add FlowRoute component and update imports

* feat(globalDeps): add nocobase utils to global dependencies

* fix(packageUrls): improve caching logic in get method

* style(basic.tsx): remove unnecessary blank lines in imports

* feat(css-variable): update token usage to use theme from antd

* feat(css-variable): add CSSVariableProvider for theme variables

* fix(flow): use useParams for pageUid retrieval

* fix(auth): align v2 signin page

* feat(client-v2): init data source runtime

* docs(execution-plan): add client-v2 data source init plan

* fix(build): restore client v2 build order

* refactor(flow-compat): update DataSourceManager import

* refactor(pm): remove unused imports in PluginManager

* feat(client-v2): add settings center

* refactor(settings): improve layout responsiveness and styles

* style(settings): improve layout overflow handling

* refactor(settings): simplify rendering in AdminSettingsLayoutModel

* refactor(plugin): use dynamic imports for components

* feat(settings): integrate language codes into SystemSettingsPage

* feat: topbar

* fix: improve topbar

* refactor(preset-nocobase): split client-v2 entry

* refactor(client-v2): migrate field interfaces

* refactor(build): remove client-v2 references and simplify build logic

* refactor(flow-engine): remove async subclass retrieval method

* fix: client-v1 build error

* fix(test): update import path for injectRecordPickerPopupContext

* refactor(admin-layout): separate AdminLayoutComponentV1 import

* fix: build error

* fix: build error

* fix(client): stabilize frontend tests

* fix: runtime error

* fix(client): repair frontend test contexts

* chore(execution): remove outdated execution plans for client-v2

* test: fix test errors

* style(index): add import for antd reset CSS

* fix(block-provider): export useTableBlockContextBasicValue

* feat(topbar): add TopbarActionsBar and related tests

* fix(client-v2): persist topbar ui editor state

* test(schema-initializer): enhance component imports and tests

* fix(topbar): enhance dropdown behavior and styling

* fix(topbar): add route path handling in settings items

* fix(admin-layout): remove dynamic flows editor option

* fix: make tests pass

* feat(admin-layout): add state hydration for menu items

* fix(client): split admin menu flows

* fix(client): align useVariables test providers with router

* fix(client): avoid barrel imports for useMobileLayout

* refactor(plugin): remove unused security settings

* refactor(client-v2): simplify settings manager

* fix(client-v2): keep settings routes and navigation consistent

* fix(client-v2): relax app manager typings

* feat(client-v2): add user center action models and UI

* fix(client-v2): align user center menu

* refactor(client-v2): rename page tab api

* refactor(client-v2): remove unused pluginSettingsRouter

* refactor(client-v2): replace lodash-es with lodash

* fix(client-v2): ensure non-null assertions for managers

* refactor(client-v2): enhance Plugin options type

* refactor(client-v2): improve component type handling

* test(ColorPicker): improve hover interaction handling

* refactor(plugin): enhance plugin options and settings management

- Updated PluginOptions interface to support generic configuration types.
- Improved type safety in Plugin class and related methods.
- Refactored PluginSettingsManager to include additional methods.
- Enhanced RouterManager with new route management functions.
- Updated AppComponents to handle error payloads more effectively.
- Refined test cases for better type handling and clarity.
- General code cleanup and type assertions for better maintainability.

* refactor(client-v2): unify plugin settings manager types

* feat(auth): v2 跳转到 v1 登录页及登录后回跳修复

* fix(admin-layout): ensure header button placement works correctly

* refactor(plugin): update PluginOptions to include options field

* refactor(models): update import statements for DefaultStructure

* refactor(Application): enhance plugin manager integration

* refactor(Application): enhance type definitions and structure

* feat(admin-layout): enhance routing for legacy pages

- Implemented runtime target resolution for admin routes.
- Added tests for route resolution logic.
- Updated AdminLayout to handle legacy page navigation.
- Improved FlowRoute component to manage page UID and navigation.
- Added localization for classic page access prompts.

* test: fix tests

* refactor(Application): update type definitions and add new method

* style(admin-layout): adjust flow settings toolbar style

* fix(CurrentUserProvider): use locationRef for redirects

Co-authored-by: Copilot <copilot@github.com>

* refactor(ApplicationModel): use logical assignment for providers and router

* fix(AdminLayoutMenuItemModel): conditionally hydrate persisted state

* fix(CalendarPopupModels): update import path for models

* fix(AdminLayoutMenuModelRenderer): use theme token for padding

Co-authored-by: Copilot <copilot@github.com>

* feat(AdminLayoutMenuItemModel): add support for persisted menu instance flow

* feat(flowSettings): add flow settings preference management

* feat(AdminLayout): implement legacy menu state hydration

* fix(data-source): update getDataSource method signature

* fix(api-client): update APIClientContext initialization

Co-authored-by: Copilot <copilot@github.com>

* test(api): add fallback tests for API client and role variable

* fix(admin-layout): stabilize overflow menu dragging

Keep overflow popup toolbars visible while dragging.

Align drag overlays to popup hosts and use host-aware collision detection in v1 and v2.

* refactor(plugin-manager): drop header actions

* fix(custom-variables): support badge entry

* fix(build): raise ncc target

* fix(build): correct package check for client-v2 build

* fix(admin-layout): reuse legacy user center

* fix(admin-layout): adjust group drag

* fix(flow-engine): align drag overlay

* fix(flow-engine): update transform type in overlay logic

Co-authored-by: Copilot <copilot@github.com>

* fix(calendar-popup): move handleDateChange import

* fix(kanban): update imports to use client-v2

* fix(client-v2): scope legacy route redirect

* fix(custom-variables): cache badge parsing

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: PiEgg <marksz@teamsz.xyz>
Co-authored-by: Copilot <copilot@github.com>
2026-04-24 20:37:09 +08:00
nocobase[bot] 31f72666e0 chore(versions): 😊 publish v2.1.0-alpha.22 2026-04-24 09:55:55 +00:00
nocobase[bot] 789d5ed345 chore(versions): 😊 publish v2.1.0-alpha.21 2026-04-23 22:10:43 +00:00
nocobase[bot] d8ac1e3339 chore(versions): 😊 publish v2.1.0-alpha.20 2026-04-20 10:33:38 +00:00
nocobase[bot] 171cb7d51c chore(versions): 😊 publish v2.1.0-alpha.19 2026-04-19 04:03:09 +00:00
nocobase[bot] 4ee6379274 chore(versions): 😊 publish v2.1.0-alpha.18 2026-04-17 05:03:11 +00:00
nocobase[bot] 9359d31a88 chore(versions): 😊 publish v2.1.0-alpha.17 2026-04-17 02:32:55 +00:00
nocobase[bot] 9dde9991fe chore(versions): 😊 publish v2.1.0-alpha.16 2026-04-13 23:54:06 +00:00
nocobase[bot] e2b676a3d0 chore(versions): 😊 publish v2.1.0-alpha.15 2026-04-10 12:28:12 +00:00
nocobase[bot] 1f3e950d04 chore(versions): 😊 publish v2.1.0-alpha.14 2026-04-07 15:43:29 +00:00
nocobase[bot] d9e5a9bbe2 chore(versions): 😊 publish v2.1.0-alpha.13 2026-03-27 05:36:58 +00:00
nocobase[bot] ed428e589d chore(versions): 😊 publish v2.1.0-alpha.12 2026-03-25 13:50:52 +00:00
nocobase[bot] 6a755e319c chore(versions): 😊 publish v2.1.0-alpha.11 2026-03-25 08:35:49 +00:00
nocobase[bot] 7f6916f570 chore(versions): 😊 publish v2.1.0-alpha.10 2026-03-20 08:49:53 +00:00
nocobase[bot] 3f15414400 chore(versions): 😊 publish v2.1.0-alpha.9 2026-03-14 11:33:03 +00:00
nocobase[bot] 9892f4f29a chore(versions): 😊 publish v2.1.0-alpha.8 2026-03-12 00:40:15 +00:00
mytharcher f89393e515 chore: fix version 2026-02-28 11:24:17 +08:00
nocobase[bot] ad249d1e4f chore(versions): 😊 publish v2.1.0-beta.6 2026-02-27 11:31:07 +00:00
nocobase[bot] 51ea7505f1 chore(versions): 😊 publish v2.1.0-beta.5 2026-02-26 08:25:37 +00:00
nocobase[bot] 5b82bdabcf chore(versions): 😊 publish v2.1.0-beta.4 2026-02-25 17:52:00 +00:00
chenos 656f4eeedc Merge branch 'main' into next
# Conflicts:
#	packages/core/client-v2/package.json
#	packages/core/client/package.json
#	packages/core/sdk/package.json
#	packages/plugins/@nocobase/plugin-acl/package.json
#	packages/plugins/@nocobase/plugin-action-export/package.json
#	packages/plugins/@nocobase/plugin-action-import/package.json
#	packages/plugins/@nocobase/plugin-ai/package.json
#	packages/plugins/@nocobase/plugin-api-keys/package.json
#	packages/plugins/@nocobase/plugin-backup-restore/package.json
#	packages/plugins/@nocobase/plugin-block-iframe/package.json
#	packages/plugins/@nocobase/plugin-block-list/package.json
#	packages/plugins/@nocobase/plugin-block-template/package.json
#	packages/plugins/@nocobase/plugin-error-handler/package.json
#	packages/plugins/@nocobase/plugin-field-formula/package.json
#	packages/plugins/@nocobase/plugin-field-markdown-vditor/package.json
#	packages/plugins/@nocobase/plugin-field-sequence/package.json
#	packages/plugins/@nocobase/plugin-field-sort/package.json
#	packages/plugins/@nocobase/plugin-graph-collection-manager/package.json
#	packages/plugins/@nocobase/plugin-logger/package.json
#	packages/plugins/@nocobase/plugin-multi-app-manager/package.json
#	packages/plugins/@nocobase/plugin-snapshot-field/package.json
#	packages/plugins/@nocobase/plugin-system-settings/package.json
#	packages/plugins/@nocobase/plugin-ui-schema-storage/package.json
#	packages/plugins/@nocobase/plugin-ui-templates/package.json
#	packages/plugins/@nocobase/plugin-users/package.json
#	packages/plugins/@nocobase/plugin-verification/package.json
#	packages/plugins/@nocobase/plugin-workflow-action-trigger/package.json
#	packages/plugins/@nocobase/plugin-workflow-aggregate/package.json
#	packages/plugins/@nocobase/plugin-workflow-cc/package.json
#	packages/plugins/@nocobase/plugin-workflow-delay/package.json
#	packages/plugins/@nocobase/plugin-workflow-dynamic-calculation/package.json
#	packages/plugins/@nocobase/plugin-workflow-loop/package.json
#	packages/plugins/@nocobase/plugin-workflow-mailer/package.json
#	packages/plugins/@nocobase/plugin-workflow-manual/package.json
#	packages/plugins/@nocobase/plugin-workflow-notification/package.json
#	packages/plugins/@nocobase/plugin-workflow-parallel/package.json
#	packages/plugins/@nocobase/plugin-workflow-request/package.json
#	packages/plugins/@nocobase/plugin-workflow-sql/package.json
#	packages/plugins/@nocobase/plugin-workflow-test/package.json
#	packages/plugins/@nocobase/plugin-workflow/package.json
#	packages/presets/nocobase/package.json
2026-02-24 20:41:41 +08:00
chenos b263a83a12 chore: open source commercial plugins and update license from AGPL-3.0 to Apache-2.0 (#8682)
* feat: open-source plugin source code

* fix: fdw

* feat: update readme.md

* fix: gitignore

* fix: peerDependencies

* fix: remove zh-cn.md

* feat: update license

* fix: peerDependencies

* fix: peerDependencies

* test(ai): fix breaking test case of tools loader

* fix(verification): dep

* fix: deps

* fix: version

* feat: plugin-comments

* fix: deps

---------

Co-authored-by: Drol <cgyrock@gmail.com>
Co-authored-by: xilesun <2013xile@gmail.com>
2026-02-24 20:34:06 +08:00
nocobase[bot] da0c38c25b chore(versions): 😊 publish v2.0.2 2026-02-22 12:23:29 +00:00
nocobase[bot] e200a081c6 chore(versions): 😊 publish v2.1.0-beta.2 2026-02-22 11:49:05 +00:00
nocobase[bot] 80d6ff46af chore(versions): 😊 publish v2.0.1 2026-02-16 06:01:31 +00:00
nocobase[bot] f2fab88272 chore(versions): 😊 publish v2.0.0 2026-02-14 15:35:52 +00:00
nocobase[bot] fe9595f629 chore(versions): 😊 publish v2.1.0-beta.1 2026-02-14 14:29:45 +00:00
nocobase[bot] d924347209 chore(versions): 😊 publish v2.0.0-alpha.71 2026-02-10 05:23:48 +00:00
nocobase[bot] a6672a17a7 chore(versions): 😊 publish v2.0.0-alpha.70 2026-02-06 02:51:35 +00:00
nocobase[bot] cf7de83ae4 chore(versions): 😊 publish v2.0.0-alpha.69 2026-02-05 07:09:38 +00:00
nocobase[bot] 4fbdd9ee10 chore(versions): 😊 publish v2.0.0-alpha.68 2026-01-27 02:44:58 +00:00
nocobase[bot] 8243bb23af chore(versions): 😊 publish v2.0.0-alpha.67 2026-01-26 10:42:38 +00:00
chenos 932a1699ac fix: update version 2026-01-26 10:35:41 +08:00
chenos 8bd1b54d4a chore: update version 2026-01-25 21:29:00 +08:00
nocobase[bot] 3f301d3feb chore(versions): 😊 publish v2.0.0-alpha.66 2026-01-16 08:45:48 +00:00
nocobase[bot] d1b1eb5a67 chore(versions): 😊 publish v2.0.0-alpha.65 2026-01-16 06:33:32 +00:00
nocobase[bot] d85b5e476a chore(versions): 😊 publish v2.0.0-alpha.64 2026-01-08 10:23:32 +00:00
nocobase[bot] cb21161af4 chore(versions): 😊 publish v2.0.0-alpha.63 2026-01-07 00:25:55 +00:00
nocobase[bot] 7baeaf4c58 chore(versions): 😊 publish v2.0.0-alpha.62 2026-01-05 12:06:13 +00:00
nocobase[bot] f2617a0d15 chore(versions): 😊 publish v2.0.0-alpha.61 2026-01-01 02:01:09 +00:00
chenos 11e76f00ef fix: version 2026-01-01 09:36:26 +08:00
nocobase[bot] 37839bab5c chore(versions): 😊 publish v2.1.0-alpha.1 2025-12-31 16:31:46 +00:00
nocobase[bot] 8f93d42247 chore(versions): 😊 publish v2.0.0-alpha.60 2025-12-31 15:47:58 +00:00
nocobase[bot] e340bc68c4 chore(versions): 😊 publish v2.0.0-alpha.59 2025-12-25 01:46:32 +00:00
nocobase[bot] 9b9c1a216b chore(versions): 😊 publish v2.0.0-alpha.58 2025-12-24 07:37:44 +00:00
nocobase[bot] 5a3f46b432 chore(versions): 😊 publish v2.0.0-alpha.57 2025-12-23 17:33:27 +00:00
nocobase[bot] f5384bb61a chore(versions): 😊 publish v2.0.0-alpha.56 2025-12-18 05:21:03 +00:00
nocobase[bot] 49accd87c0 chore(versions): 😊 publish v2.0.0-alpha.55 2025-12-17 05:50:05 +00:00