88 Commits
Author SHA1 Message Date
PiEgg 111d3b8652 docs: point NocoBase 2 documentation links to nocode.docs.nocobase.com (#11163) 2026-10-25 11:48:26 -04:00
Zeke Zhangandchenos f8b6bc07af feat(client-v2): add standalone settings SPA (#10187)
* feat(client-v2): add standalone settings SPA

* style(client-v2): use primary header color

* fix(plugin-ui-layout): hide mobile menu

* style(client-v2): regroup settings action

* fix(client-v2): match settings header color

* fix(client-v2): group portal manager

* fix(client-v2): group topbar managers

* feat(multi-portal): add portal routes

* fix(app): normalize settings dev root

* feat(auth): add settings SPA sign-in

* docs(auth): add settings sign-in plan

* fix(client-v2): align settings embed layout

* fix(client-v2): normalize settings app URLs

* feat(multi-portal): unify client v2 portals

* fix(ci): repair PR validation failures

* fix(client-v2): flatten scoped settings URLs

* fix(client-v2): redirect roots to settings

* fix(cli): initialize AI portal env defaults

* fix(cli): remove portal setup from init

* fix(cli): skip unsupported portal registry sync

* fix(cli): narrow init env config types

* refactor(multi-portal): use fixed portal uids

* fix(cli): skip portal registry sync during install

* fix(plugin-multi-portal): allow reserved slugs

* fix(client-v2): normalize settings app roots

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2026-07-29 18:35:33 +08:00
YANG QIA 7b8fda4ab9 feat(client): support filtered application language resources (#10175) 2026-07-24 10:06:08 +08:00
chenos 716682fefb Merge branch 'next' into develop
# Conflicts:
#	docs/docs/ru/ai-employees/configuration/admin-configuration.md
#	docs/docs/ru/api/cli/config/index.md
#	docs/docs/ru/file-manager/_meta.json
2026-07-04 09:55:55 +08:00
nocobase[bot] 9945bb2107 Merge branch 'main' into next 2026-07-03 13:05:41 +00:00
Drol e1f66e61fc fix(cli): use rabbitmq-safe revision event names (#9989) 2026-07-03 21:04:57 +08:00
nocobase[bot] 77f98807e3 Merge branch 'next' into develop 2026-07-03 00:24:15 +00:00
Katherineandxilesun bd7bade95c feat(client): support configurable app and portal entries (#9893)
* refactor: support configurable app and portal entry actions

* fix(client): refine app and portal entry actions

* fix(client): resolve app switcher CI failures

* fix(client): refine app switcher action settings

* fix(client): support app switcher settings in legacy admin

* feat(client): support configurable portal entries

* fix(client): hide unavailable portal switcher actions

* fix(client): filter unavailable entry actions in config mode

* fix(client): keep app switcher open after deleting action

* fix(client): restore settings delete confirmation behavior

* fix(block-workbench): ignore unavailable action panel entries

* fix(block-workbench): widen horizontal action cards

* fix(client): refine entry action button settings

* fix(block-workbench): keep hidden actions configurable

* fix(flow-engine): restore toolbar popup behavior

* fix(client): keep hidden app switcher actions editable

* fix(client): isolate entry action provider failures

* fix(client): avoid repeated portal entry requests

* fix(client): show unavailable portal entries in design mode

* fix(block-workbench): improve horizontal action card layout

* fix(client): adjust app switcher popover offset

* fix(client): refine entry action panel styles

* fix(client): refresh portal entry actions

* refactor(client): decouple portal entry data from action manager

* fix(client): open admin routes in new window from portals

* feat(app-supervisor): add generic app manifests

* fix(plugin-client): expose app portal SSO metadata

* fix(plugin-client): include portal app status

* fix(plugin-client): pass app name to portal listing

---------

Co-authored-by: xilesun <2013xile@gmail.com>
2026-07-03 08:23:40 +08:00
nocobase[bot] eb564591f9 Merge branch 'next' into develop 2026-06-25 08:45:28 +00:00
nocobase[bot] f8880f71d0 Merge branch 'main' into next 2026-06-25 08:44:49 +00:00
PiEgg 6cf9e8dc7f fix(client): correct copy and typo text (#9905) 2026-06-25 16:44:11 +08:00
Zeke Zhang cdd8fe86c0 Merge branch 'next' into develop 2026-06-18 16:24:20 +08:00
Zeke Zhang ae80783c30 feat(plugin-ui-layout): add ui layout plugin (#9641)
* fix(plugin-ui-layout): compact mobile page tabs

* fix(plugin-ui-layout): label mobile tab add menu

* fix(plugin-ui-layout): align mobile page tabs

* fix(plugin-ui-layout): offset mobile page tabs

* fix(client): fit mobile table settings column

* fix(plugin-ui-layout): show mobile child titles

* fix(plugin-ui-layout): host mobile settings panel

* fix(plugin-ui-layout): persist mobile menu linkage

* fix(plugin-ui-layout): remove hidden tab space

* fix(plugin-ui-layout): sync mobile menu linkage

* feat(plugin-ui-layout): relate routes to layouts

* fix(plugin-ui-layout): refresh menu linkage

* fix(plugin-ui-layout): default route layout

* fix(plugin-ui-layout): refresh mobile menu linkage

* fix(plugin-ui-layout): clean layout route roots

* test(plugin-ui-layout): cover layout route acl

* fix(plugin-ui-layout): sync mobile editor linkage

* feat(plugin-ui-layout): add layout titles

* fix(plugin-ui-layout): reject disabled layouts

* fix(plugin-ui-layout): scope mobile routes

* fix(plugin-ui-layout): backfill layout titles

* fix(plugin-ui-layout): filter get route by layout

* fix(plugin-ui-layout): build mobile compat

* fix(plugin-ui-layout): show layout route states

* fix(plugin-ui-layout): label route permissions

* fix(plugin-ui-layout): localize permission labels

* fix(plugin-ui-layout): scope mobile route creation

* test(plugin-ui-layout): cover stale permissions

* test(plugin-ui-layout): cover permission request counts

* fix(plugin-ui-layout): scope mobile page tabs

* fix(plugin-ui-layout): scope mobile page tabs

* fix(plugin-ui-layout): load mobile routes once

* fix(plugin-ui-layout): raise mobile icon picker layer

* fix(plugin-ui-layout): sync mobile tabs setting

* fix(client): scope routes by layout

* fix(plugin-ui-layout): use layout param for mobile routes

* fix(plugin-ui-layout): rename permission labels

* fix(client): scope admin menu paths by layout

* style(plugin-ui-layout): refine mobile back button

* test(client): update route layout expectations

* fix(plugin-ui-layout): fix declaration build

* feat(plugin-ui-layout): add runtime layout API

* test(plugin-ui-layout): strengthen ACL coverage

* fix(plugin-ui-layout): rename layout tab

* fix(plugin-ui-layout): protect menu hidden snapshot

* fix(plugin-ui-layout): make layout seed atomic

* fix(plugin-ui-layout): include route ancestors

* fix(plugin-ui-layout): require runtime layout

* fix(plugin-ui-layout): handle empty mobile menu

* fix(client): handle basename for new-window links

* fix(client): block inaccessible flow routes

* fix(plugin-ui-layout): keep mobile pages alive

* fix(plugin-ui-layout): keep mobile context ready

* feat(plugin-ui-layout): scope runtime permissions

* feat(plugin-ui-layout): add layout default access

* feat(plugin-ui-layout): show layout permission table

* feat(plugin-ui-layout): grant new layout access

* feat(plugin-ui-layout): grant route menu access

* feat(plugin-ui-layout): sync legacy route access

* fix(plugin-ui-layout): guard role layout access

* fix(plugin-ui-layout): sync legacy route access

* fix(plugin-ui-layout): require scoped route access

* fix(plugin-ui-layout): add role access migration

* revert(plugin-ui-layout): remove role migration

* fix(plugin-ui-layout): keep mobile context stable

* fix(plugin-ui-layout): refresh menu stats

* fix(plugin-ui-layout): scope route permissions

* fix(plugin-ui-layout): disable inactive menu access

* fix(plugin-ui-layout): improve settings a11y

* fix(plugin-ui-layout): scope default menu access

* fix(client): show table row action text

* fix(plugin-ui-layout): mark inactive menu stats

* fix(client-v2): keep mobile grid keys stable

* fix(plugin-ui-layout): improve route permission drawer

* fix(plugin-ui-layout): keep mobile child routes

* fix(client-v2): keep popover above parent popup

* feat(preset): add ui layout plugin

* fix(plugin-ui-layout): fix route filter typing

* fix(plugin-ui-layout): preserve role filter

* fix(plugin-ui-layout): scope mobile tabs

* fix(plugin-ui-layout): remove menu stats

* fix(plugin-ui-layout): add mobile menu locale

* fix(plugin-ui-layout): fallback admin routes

* fix(plugin-ui-layout): sync legacy layout access

* fix(plugin-ui-layout): handle hidden route permissions

* fix(plugin-ui-layout): prevent layout uid edits

* fix(plugin-ui-layout): protect default admin layout

* fix(plugin-ui-layout): ignore stale mobile routes

* fix(plugin-ui-layout): navigate mobile child menus

* fix(plugin-ui-layout): add role permission readers

* fix(client-v2): scope route cache by layout

* fix(plugin-ui-layout): hide mobile child routes

* fix(plugin-ui-layout): make qr action accessible

* fix(plugin-ui-layout): grant default admin menus

* fix(plugin-ui-layout): declare runtime peers

* fix(plugin-ui-layout): reject invalid access paths

* fix(plugin-ui-layout): handle layout pagination

* fix(plugin-ui-layout): make create menu clickable

* fix(plugin-ui-layout): make icon choices accessible

* fix(client-v2): scope route layout activation

* fix(client-v2): refresh owning layout menu

* fix(plugin-ui-layout): declare external deps

* fix(plugin-ui-layout): keep mobile link basename

* fix(client-v2): honor route layout auth

* fix(client-v2): keep custom layout pages alive

* fix(client-v2): activate guarded layout routes

* fix(client-v2): scope route cache by layout

* fix(plugin-ui-layout): validate layout paths

* fix(plugin-ui-layout): batch layout route grants

* fix(plugin-ui-layout): hide route path column

* chore(plugin-ui-layout): update version to 2.1.0-beta.47

* fix(plugin-ui-layout): hide auth check control

* fix(plugin-ui-layout): rename layout permission labels

* fix(plugin-ui-layout): avoid duplicate mobile basename

* fix(plugin-ui-layout): fix declaration build

* fix(plugin-ui-layout): default layout access

* fix(plugin-ui-layout): use small layout switches

* feat(plugin-ui-layout): add public manifest

* fix(plugin-ui-layout): use uid for layouts

* fix(client-v2): stabilize flow route layout deps

* fix(plugin-ui-layout): enforce explicit route grants

* fix(plugin-ui-layout): keep failed menu saves stable

* refactor(plugin-ui-layout): split settings tabs

* refactor(plugin-ui-layout): split route perms

* feat(plugin-multi-portal): add scaffold

* fix(plugin-ui-layout): seed mobile layout

* feat(plugin-multi-portal): add portal layout schema

* feat(plugin-multi-portal): register portal layouts

* feat(plugin-multi-portal): add settings page

* feat(plugin-ui-layout): add route management

* feat(plugin-ui-layout): align route actions

* chore(plugin-ui-layout): align package version

* feat(plugin-multi-portal): add portal permissions

* feat(plugin-multi-portal): scope route permissions

* test(plugin-multi-portal): cover route chain access

* test(plugin-multi-portal): cover permission isolation

* docs(plugin-ui-layout): document layout boundaries

* feat(plugin-multi-portal): add menu permissions

* fix(plugin-multi-portal): guard settings actions

* fix(client-v2): gate datasource bootstrap

* fix(plugin-ui-layout): update imports for NocoBaseDesktopRoute

* fix(plugin-multi-portal): align portal table

* fix(plugin-multi-portal): hide route name column

* fix(plugin-multi-portal): validate portal form

* fix(plugin-multi-portal): populate layout field

* fix(plugin-multi-portal): align action buttons

* fix(plugin-multi-portal): tighten action spacing

* fix(plugin-multi-portal): remove action padding

* fix(plugin-multi-portal): derive route name

* fix(plugin-multi-portal): update display name

* fix(plugin-multi-portal): update uid prefix

* fix(plugin-multi-portal): show menu permissions in drawer

* fix(plugin-multi-portal): add default access switch

* fix(plugin-ui-layout): load mobile route permissions

* fix(plugin-multi-portal): use default delete button

* feat(plugin-multi-portal): relate routes to portals

* fix(plugin-multi-portal): support portal route scope

* fix(plugin-multi-portal): scope route ownership

* fix(plugin-multi-portal): scope route requests

* fix(plugin-multi-portal): scope menu permissions

* test(plugin-multi-portal): cover empty menu drawer

* fix(plugin-ui-layout): decouple layout access

* feat(plugin-multi-portal): add route policy model

* feat(plugin-multi-portal): initialize route policy

* feat(plugin-multi-portal): add route policy switch

* feat(plugin-multi-portal): grant portal route access

* fix(plugin-multi-portal): isolate route grants

* test(plugin-multi-portal): cover portal route bounds

* fix(plugin-ui-layout): move routes settings

* fix(plugin-ui-layout): move mobile settings

* fix(plugin-ui-layout): open mobile settings

* fix(plugin-ui-layout): open mobile in new tab

* test(preset): align multi-portal naming

* fix(preset): enable portal plugins

* fix(plugin-ui-layout): use tab route links

* fix(plugin-ui-layout): add route locale keys

* fix(plugin-multi-portal): declare package deps

* fix(plugin-ui-layout): create initial page tabs

* fix(plugin-ui-layout): refresh mobile routes by layout

* fix(plugin-multi-portal): guard portal refresh

* fix(plugin-multi-portal): filter disabled layouts

* fix(plugin-multi-portal): isolate portal routes

* fix(plugin-multi-portal): grant hidden routes

* fix(plugin-multi-portal): preserve route ownership

* fix(plugin-multi-portal): reject route collisions

* fix(plugin-multi-portal): use ui-layout entry

* fix(plugin-multi-portal): scope registered portals

* fix(plugin-ui-layout): reject invalid route layout

* fix(plugin-multi-portal): use enabled layouts

* fix(plugin-ui-layout): align routes manager

* fix(plugin-ui-layout): render routes drawer globally

* fix(plugin-ui-layout): hide disabled page tabs in routes

* fix(plugin-ui-layout): hide empty route expanders

* fix(plugin-ui-layout): move route tabs to page header

* style(plugin-ui-layout): tighten route actions

* chore(plugins): bump layout plugin versions

* fix(plugin-multi-portal): create portal-scoped routes

* fix(client-v2): stabilize layout routing

* fix(plugin-ui-layout): load managed route list

* fix(plugin-multi-portal): require explicit portal scope

* fix(plugin-ui-layout): require explicit admin routes

* fix(plugin-ui-layout): split settings permissions

* refactor(plugin-multi-portal): move to pro plugins

* fix(client-v2): type admin layout guard

* fix(plugin-ui-layout): resolve route type errors

* test(plugin-ui-layout): align route ownership tests

* fix(plugin-ui-layout): require mobile route icons

* fix(client-v2): allow settings sidebar scroll

* fix(plugin-ui-layout): refresh menu after route changes

* fix(plugin-ui-layout): avoid mobile empty flash

* fix(plugin-ui-layout): delay mobile root fallback

* fix(plugin-client): scope v1 routes list

* fix(plugin-ui-layout): hide v1 pages in routes

* fix(plugin-ui-layout): align mobile tab add button

* fix(plugin-ui-layout): compact mobile tab bar

* fix(plugin-ui-layout): refine mobile tab bar

* fix(plugin-ui-layout): show untitled tab routes

* fix(plugin-ui-layout): isolate mobile compact theme

* fix(plugin-ui-layout): isolate mobile page density

* fix(plugin-ui-layout): apply mobile page theme

* fix(plugin-ui-layout): tighten mobile page tabs

* fix(plugin-ui-layout): adjust mobile page tabs

* fix(plugin-ui-layout): use route delete modal

* fix(client-v2): prevent mobile grid columns

* fix(client-v2): preserve mobile grid sorting

* fix(plugin-ui-layout): preserve layout auth check

* fix(client-v2): open settings outside admin in new tab

* fix(client-v2): export icon picker

* fix(plugin-ui-layout): update version to 2.2.0-beta.5

* fix(client-v2): satisfy app type constraint

* chore(plugin-ui-layout): update plugin description

* fix(plugin-acl): filter route permissions

* fix(plugin-ui-layout): filter legacy routes

* chore(plugin-ui-layout): remove title migrations

* chore(plugin-ui-layout): drop legacy perms

* fix(plugin-ui-layout): import mobile theme token

* docs: update docs

* chore(plugin-ui-layout): add license
2026-06-18 16:09:20 +08:00
PiEgg 753f788aec fix(plugin-workflow): align workflow v2 migration regressions (#9800) 2026-06-17 08:48:31 +08:00
chenos 6a8deedbe9 fix: update documentation links 2026-06-16 13:15:26 +08:00
Drolandchenos 3e4d676d64 Feat/version control (#9563)
* feat(database): add tags property to collection

* feat(cli): add version commit command

* chore: add collection tags

* refactor: expose plugin-backups server api

* refactor(database): unify backup and restore options

* feat(database): support selective backup and skip full pre-drop

* chore: add database adapter option tests

* feat(backups): expose backup and restore table options

* chore: sub class of BackupManager can change file prefix

* feat(backups): add description fied in backup list

* fix: remove backup metadata on destroy

* fix: quote postgres backup table patterns

* chore: add collection tags

* feat(backups): isolate version control backup storage and cache

* feat(backups): isolate restoring from version control or backups`s storage and cache

* fix(cli): allow 2000-char version commit description

* chore(cli): rename command `version commmit` to `revision create`

* fix(plugin-backups): persist backup creator metadata

* feat(client): include command user in event payload

* chore(ai): add error handle in app:plublishEvent api

* docs: add version control operations guide

* fix(collection): mark system collections with system tags

* fix(collection): mark business collections with business tags

* refactor(database): replace collection tags with data category

* test(plugin-backups): stabilize restore manager tests

* fix(plugin-backups): stabilize restore test metadata

* chore: update collection data categories

* fix(plugin-verification): move data category to server collection

* fix(plugin-backups): qualify postgres table filters with schema

* chore: mysql client

* fix(cli): check version control plugin before revision create

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2026-06-09 10:58:00 +08:00
Zeke Zhang 80c660ce91 fix(client): remove menu hidden option (#9596) 2026-05-27 22:59:17 +08:00
nocobase[bot] bc054c8eca Merge branch 'main' into next 2026-05-27 09:18:35 +00:00
Zeke Zhang 873ea3e6f3 fix(client): remove menu hidden setting (#9595)
* fix(client): remove menu hidden setting

* fix(client): clean menu hidden locales
2026-05-27 17:17:59 +08:00
nocobase[bot] 2ee6d16557 Merge branch 'main' into next 2026-05-16 10:50:20 +00:00
gchust 0f2333d7db fix: clean flow models when remove desktop menus (#9459)
* fix: clean flow models when remove desktop menus

* fix: remove template does not clean flow models

* fix: delay

* fix: bug

* chore: improve code

* Revert association field model changes

* fix: test failing

* Revert unnecessary flow changes
2026-05-16 18:49:48 +08:00
YANG QIA c5c274889d feat(localization): add Lina AI employee for localization translation (#9434)
* refactor(localization): migrate settings page to client v2

* feat(localization): add AI translation task

* feat(ai): support employee model restrictions

* fix(ai): restore conversation model selection

* feat(localization): add AI translation task controls

* fix(localization): tune AI translation concurrency

* refactor(localization): register sources through locale manager

* fix(localization): hide passive sources from sync

* fix(localization): normalize built-in resource modules

* fix(ai): resolve client declaration type errors

* fix(localization): normalize official plugin resource modules

* docs: add AI employee localization guides

* docs: clarify localization translation recovery

* docs: sync AI localization docs across languages

* fix(localization): align page action bar

* docs: link Lina model recommendations to practice guide

* docs: localize AI employee docs

* fix(localization): resolve declaration type errors

* docs: sync AI employee feature docs

* fix(ai): guard missing employee chat settings

* fix(ai): add client v2 plugin export

* fix(client): isolate client v2 plugin modules

* Revert "fix(client): isolate client v2 plugin modules"

This reverts commit a7a65a1e40.

* fix(ai): localize built-in employee profiles

* fix(localization): format ai translation preview labels
2026-05-13 09:52:49 +08:00
nocobase[bot] 8b96c070bf Merge branch 'main' into next 2026-05-10 14:04:24 +00:00
Zeke Zhang 432fc3ac2c fix(plugin-client): filter route type by enum (#9425) 2026-05-10 22:03:51 +08:00
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
gchust 0095b42e41 revert: rollback PR #8970 (#8987) 2026-03-30 09:20:26 +08:00
gchustandCopilot 0bdeca5546 feat: improve ui build apis (#8970)
* feat: improve ui builder api

* fix: production error

* fix: permission bug

* fix: move flow schema registry into plugin-flow-engine

* chore: revert useless code change

* Update packages/core/client/src/flow/models/blocks/details/DetailsBlockModel.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: unless file change

* chore: clean code

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-27 11:45:38 +08:00
gchust c10fdefe16 Revert "fix: can't load flow engine (#8961)" (#8962)
This reverts commit ece8df4370.
2026-03-26 09:31:28 +08:00
gchust ece8df4370 fix: can't load flow engine (#8961) 2026-03-26 09:24:37 +08:00
chenos 962e8b5004 Revert "feat: improve ui building api (#8881)"
This reverts commit defc8d0ad3.
2026-03-26 08:48:01 +08:00
gchust defc8d0ad3 feat: improve ui building api (#8881)
* feat: improve flow models api and swagger doc

* fix: bug

* feat: support schema validation

* feat: split model/action manifest

* feat: add more flow models schema

* fix: schema api bug

* feat: cover most flow models

* chore: simplify schema bundle

* chore: improve schema api

* chore: improve schema

* fix: bug

* feat: support more schema

* feat: improve block model schema coverage

* chore: improve grid layout schema

* fix: incorrect schema validation when save existing models

* chore: improve schema validation

* fix: incorrect popup schema

* fix: bug

* chore: improve api

* fix: js model bugs

* docs(client): restore desktopRoutes swagger docs

* fix: js model missing manifest

* fix: bug

* fix: test error

* fix: test failing

* chore: clean code

* chore: improve code

* fix: bug

* fix: bug

* chore: improve code

* chore: improve code

* chore: improve schema validations

* chore: improve code

* fix: build error

* chore: improve performance

* chore: improve performance

* fix: bug

* fix: test bug

* chore: improve code

* fix: build error

* chore: improve test

* fix: bug

* chore: revert build config

* chore: improve skill

* chore: fix bug

* chore: improve code

* chore: improve code

* chore: improve code

* fix: build error

* fix: test failing

* fix: build error

* fix: bug

* fix: pr review

* fix: test error
2026-03-25 08:50:23 +08:00
YANG QIA dae5d50273 docs(acl): update swagger api docs (#8919) 2026-03-20 10:50:20 +08:00
Zeke Zhang b3722ce14b fix(client): avoid array filterByTk in desktop routes bulk updates (#8753)
* fix(client): update desktop routes in batch by id

* fix(plugin-client): optimize routes batch update
2026-03-05 20:35:03 +08:00
nocobase[bot] b84e66544b Merge branch 'main' into next 2026-01-28 02:39:30 +00:00
Zeke Zhang f2002ef898 fix(plugin-client): update mobile plugin check logic 2026-01-28 10:38:48 +08:00
xilesun 7b03d2a1d3 Merge remote-tracking branch 'origin/main' into next 2026-01-04 20:17:40 +08:00
YANG QIA 30f24629bc fix(acl): association update permission (#7856)
* chore: update

* fix(acl): change with associations

* test: add test cases

* fix: test cases

* chore: pre action handler & fix bug

* fix: snippet

* fix: association update

* fix: test

* fix: test

* fix: test

* fix: test

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* chore: optimize

* fix: test

* fix: task 1465

* fix: empty value
2026-01-04 20:12:09 +08:00
nocobase[bot] a15d65bad9 Merge branch 'next' into develop 2025-12-16 01:26:18 +00:00
YANG QIA 2b672fa309 fix(users): disallow assigning the root role to users (#8180)
* fix(users): disallow assigning the root role to users

* fix: plugin

* fix: test

* fix: test
2025-12-16 09:25:24 +08:00
chenos 3e6bbbda52 feat: support setting data type for Number field (options: double, float, decimal) (#8058)
* fix: test error

* fix: locale

* fix: numeric -> decimal
2025-12-03 08:29:55 +08:00
Junyi 5b9cdfcf1a chore(evaluators): change calculation engine docs url (#8040) 2025-12-02 14:09:06 +08:00
chenos a754356d20 fix: improve locales (#8017)
* feat: add locales dir

* fix: locales

* fix: locale

* fix: sync locales

* fix: locale
2025-11-30 17:46:50 +08:00
Zeke Zhang 7f635191e3 fix(menu): update flow page type and schema parameters (#7945)
* fix(menu): update flow page type and schema parameters

* feat(menu): add flow page menu schema export

* fix(routes): update page type labels for mobile

* fix(routes): update flow page label to Page (v2)

* fix(routes): update route type handling for flow pages

* fix(PageModel): update title handling and styles based on context

* fix(route): handle flowPage as valid page route
2025-11-25 07:04:48 +08:00
xilesun f38932f4d7 Merge branch 'next' into develop 2025-11-05 10:01:45 +08:00
Zeke Zhang cfd2a19959 test(plugin-client): tidy imports in fix-roles-desktop-routes test 2025-11-03 13:14:01 +08:00
Zeke Zhang 18e11cd6c1 fix(plugin-client): add desktopRoutes:updateOrCreate ACL 2025-11-02 11:43:35 +08:00
df674cee0f 2.0 (#7056)
* fix: bug

* feat: ai plugin add web search tool for gemini

* fix: chartRef

* feat: ai plugin add web search tool for openai and change client to response api

* feat(filter-form): enhance label display with hover effect

* fix(filter-form): add support for highlight

* fix: sql resource

* fix: runjs

* feat: support copy popup uid

* fix: runjs

* feat: support reuse popup

* fix: chart setting, not overwrite raw buy builder

* fix: remove navigation

* fix: open view sourceId context bug

* fix: openview ctx.collection may not be aviable

* refactor: subForm

* refactor: subFormList

* fix: bug

* style(FlowsFloatContextMenu): remove transition from toolbar styles

* fix: ctx.view not visible

* feat: multi app v2 (#7525)

* fix: app support proxy set

* fix: support ws proxy

* fix: add proxy in staticImport

* fix: clean code

* fix: support app select

* fix: support multi app migration

* fix: comment clean

* fix: logo style

* fix: fix pick block issuse

* refactor: quickEditForm

* refactor(getViewDiffAndUpdateHidden): use viewUid with index for map keys

* fix: recordPicker

* feat: chart generator

* refactor(FlowPage): use viewUid and index for map keys

* fix(core): fix package version

* fix: example

* fix: package version

* fix: plugin ai ChatButton Component can not rerende issuse

* fix: openview route mode bug

* style: plugin ai aiEmployee admin table style

* style: plugin ai aiEmployee promission table style

* fix: plugin ai ExpandChatBox cover UserPrompt

* feat: stream tool call

* feat: plugin ai make ChatButton dragable

* chore: plugin ai add document and example for ai coding system prompt

* feat: add ChartResource and refactor chart data flow

* fix: navigation should be false in open view doc

* fix: ai block picker bug

* fix: context has not bee passed in openview route mode

* feat: flowSettings.on & flowSettings.off

* style: change ai employee avatar size in chat box

* style: hide built in ai employee in chat button and shorcut list

* style: close chat button while flow setting dialog open

* fix: afterAddAsSubModel

* feat: add ChartResource methods about filter

* feat: plugin data source manager add manager action button extension

* fix(ai): form filler

* fix: edit form

* style: plugin data source manager extension action position change

* feat: acstract chart model global method runQueryAndUpdateResult

* Revert "fix: settings icon can't be hovered if element is very small"

This reverts commit 927c796812.

* style(context-menu): improve hover behavior for toolbar icons

* style(FlowsFloatContextMenu): add delay to hover behavior

* fix: plugin ai add ai empolyee shortcut trigger chat button folded

* test: chart add resource testcase

* fix: attachment in subTable

* fix: selectFieldModel

* fix: subTable

* fix: open view route mode bug

* refactor: editForm

* fix: change navigation to false when provide context in ctx.openview

* refactor: titleField

* fix: subForm field disabled

* fix: sub-list

* fix: popup settings need refresh

* feat: example

* fix: uploadFieldModel

* feat: add test flight for llm service setting

* fix: plugin data source manager move ai button

* feat: ai employee action

* fix: chart setting data flow error

* feat(code-editor): add support for HTML templates in JavaScript

* feat(code-editor): add HTML and JavaScript completion support

* feat(flow-engine): add FlowStepContext for step management

* fix: titleFieldInstance

* feat: chart setting support cancel preview

* fix: do not save sql while query.mode is builder

* refactor: remove redundant code

* Revert "feat(flow-engine): add FlowStepContext for step management"

This reverts commit 4f5ef0465b.

* fix: plugin ai fix CodeInternal props lose

* fix: double render for the js models

* fix: switch menu cause performance issue

* feat: plugin adapted web_search_prview tool for chatGPT api

* Revert "Revert "feat(flow-engine): add FlowStepContext for step management""

This reverts commit e28c5b8516.

* fix(flow-engine): use untracked for params in FlowStepContext

* refactor(flow-engine): remove unused scopes parameter

* fix(flow-engine): use untracked for defaultParams in FlowStepContext

* refactor(menu): update page titles to include versioning

* fix(JSFormActionModel): update success message to English

* style(JSEditableFieldModel): format DEFAULT_CODE for readability

* fix(runjs): only run code on manual click events

* refactor: preview file

* fix: temp remove form custom item model from filter form

* feat: isPinned

* chore: avatar flip in block && default context && display task

* fix: plugin ai gemini will never use tools

* chore: optimization form filler tool prompt for chatGPT

* style(code-editor): improve editor height handling

* fix: menu item isPinned

* fix: hide js field from filter form

* fix: js column in filter form

* chore: update add sub model docs

* chore: update

* fix: plugin ai buit in tool error

* chore: optimization chart generator tool prompt for chatGPT

* style(code-editor): adjust editor height styling

* style(code-editor): update editor height handling

* feat: upload support selection of existing file

* fix: bug

* feat(code-editor): add wrapperStyle prop for customization

* feat: plugin manager

* refactor: upload file support preview

* fix(filter-group): set default value structure

* fix(code-editor): adjust height handling for editor

* feat:  chart query config filter use FilterGroup

* fix: code editor hide right extra while no extra component active

* fix: code eidtor fix merge conflict

* fix: code eidtor fix merge error

* fix: locale

* fix: deprecated

* refactor: upload field model

* style: plugin ai scroll to bottom while ai gererating code

* fix: checko multi app is enabled before migration (#7530)

* fix(code-editor): update buttonGroupHeight handling

* fix: plugin clear work context while selete ai employee task

* style: plugin ai change code editor work context style in chat box

* fix: plugin ai lost block work context title in chat box

* fix: avatar && description\

* fix(code-editor): adjust button group height handling

* fix: default value's IME composition event binding

* chore: plugin ai i18n add chinese translation

* chore: optimize

* feat(flow-view): add zIndex management for views

* Revert "feat(flow-view): add zIndex management for views"

This reverts commit 1bce5f23f2.

* fix: chart configure  filter

* fix: chart configure  filter

* fix: chart config handle setFilter

* fix(menu): prevent icon popup from being obscured

* fix(flow-view): manage zIndex for popover types

* feat: code editor improve (#7531)

* feat: add snippets samples

* chore: update snippets

* chore: update snippets

* chore: upate runjs context

* chore: update snippets

* chore: update runjs context

* feat: update code editor

* fix: incorrect run js context

* fix: runjs context

* fix: build error

* chore: update code editor style

* fix(runjs): prevent code execution on URL triggers

* feat: plugin ai add i18n support for built in ai employee

* 2.0 upload (#7532)

* feat: 2.0 upload action model

* fix: bug

* fix: bug

* fix: bug

* fix: association field in associationFieldGroup

* fix: error in event flow code editor

* fix: chart configure filter undefined error

* fix: prevent field values from being reset when configuring the edit form

* fix: cancel chart config form validate while sql mode

* fix: z-index

* feat: plugin ai add web search reference info in chat box

* fix(filter-form): remove unused parameters in model creation

* style(filter-form): update comment for clarity

* fix: plugin ai remove wrong dependenc

* fix: bug

* chore: improve code editor

* test: ci

* fix: build

* fix: code editor auto completion hint not visible

* fix: flow-engine test failures

* fix: test

* refactor: displaySubTable

* fix: build error

* fix: test

* chore: plugin ai update LLM models info

* fix: tests failures

* chore: update snippets

* fix: plugin ai embedding model provider not resolve var from env

* fix: error

* fix: test error

* fix(tests): update route handling in tests

* fix(tests): update initialProvidersLength and remove OpenModeProvider

* fix: temp remove chart resource test

* chore: remove ctx.disptachModelEvent

* refactor: upload

* feat: improve runjs context

* fix: circle depencies in flow context

* fix: chart extenal filter refresh render

* fix: flow-engine test errors

* refactor: displayPreview

* fix: test error

* fix: test error

* test(RouterManager): add waitFor for AboutComponent check

* fix: plugin ai fix ai coding event flow linkage editor issue

* fix: build error

* chore: update version to 2.0.0-alpha

* chore: update peer dependencies version

---------

Co-authored-by: gchust <gchust@qq.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: Drol <cgyrock@gmail.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: Ziqiang <ziqianghe123@gmail.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: Jiann <lomo_hao@163.com>
2025-09-30 15:29:17 +08:00
YANG QIA 7ede3147c0 refactor: primary keys (#7465)
* refactor: primary keys

* refactor: reorganize modules

* fix: tests

* fix: tests

* fix: tests

* fix: migration

* fix: test

* fix(database): add `supportBigNumbers: true` and `bigNumberStrings: true` for MySQL options

* fix: getter

* fix: typeCast

* chore: util

* fix: parse

* fix: typeCast

* chore: optimize

* chore: optimize

* fix: formatBindParams

* fix: bug

* fix: bug

* chore: optimize

* fix: bug

* fix: migration

* feat: 53 bit id

* fix: generate

* fix: bug

* fix: bug

* fix: dependency

* chore: delete sequence and fix inherit

* fix: bug

* fix: bug
2025-09-15 23:50:39 +08:00
Zeke Zhang 3f21492f11 feat: implement useDeleteRouteSchema hook and integrate into RemoveRoute component (#7232) 2025-07-17 15:45:49 +08:00
mytharcher 8519759935 Merge branch 'next' into develop 2025-06-27 10:05:06 +08:00