236 Commits
Author SHA1 Message Date
hongboji 0ae5755f2b fix(i18n): align plugin translations with the central catalog (#11797)
* fix(i18n): align plugin translations with the central catalog

* fix(i18n): sync additional plugin translations to root locales

* fix(i18n): preserve Korean file manager and Russian workflow translations
2026-11-30 23:01:49 +08:00
hongboji 44acbc1cbe fix(plugin-data-visualization): resolve chart date filters against their collection (#11430) 2026-11-30 08:37:49 +08:00
nocobase[bot] 1477570b31 Merge branch 'main' into next 2026-08-06 00:46:55 +00:00
gchust 5aa8eeaa47 fix(flow-engine): restore secure variable resolution compatibility (#10294) 2026-08-06 08:46:18 +08:00
nocobase[bot] bd44b471aa Merge branch 'main' into next 2026-08-05 19:20:58 +00:00
gchust e529a881a8 fix(plugin-flow-engine): secure variable resolution
Prevent unauthorized variable resolution while preserving FlowModel-configured access.
2026-08-05 19:20:08 +00:00
Drol e2162c1673 feat(plugin-ai): add AI chat box block (#10125)
* feat(plugin-ai): add AI chat box demo block

* chore(plugin-ai): document chatbox runtime model design

* feat(plugin-ai): add chatbox runtime models

* feat(plugin-ai): add chatbox runtime context

* feat(plugin-ai): migrate chatbox consumers to runtime

* test(plugin-ai): cover global chatbox runtime behavior

* refactor(plugin-ai): remove obsolete chatbox store facades

* test(plugin-ai): complete chatbox runtime regression pass

* fix(plugin-ai): make chatbox session state reactive

* fix(plugin-ai): expose global chatbox runtime for dependents

* fix(plugin-ai): support explicit chatbox runtime injection

* docs(plugin-ai): plan conversation runtime migration

* docs(plugin-ai): design conversation runtime ownership

* feat(plugin-ai): add conversation workflow runtime models

* refactor(plugin-ai): migrate chatbox consumers to runtime models

* refactor(plugin-ai): remove conversation selector stores

* refactor(plugin-ai): align runtime model declarations

* fix(plugin-ai): remove stale conversation store export

* chore(plugin-ai): preserve demo chatbox runtime

* feat(plugin-ai): add chatbox runtime mode and sender state

* feat(plugin-ai): add production ai chat box model skeleton

* feat(plugin-ai): add ai chat box block layout shell

* feat(plugin-ai): add ai chat box settings

* feat(plugin-ai): connect ai chat box sender runtime

* feat(plugin-ai): add ai chat box conversations

* feat(plugin-ai): support chat box conversation scope

* test(plugin-ai): cover chat box action runtime integration

* feat(plugin-ai): route employee tasks to chat box blocks

* docs(plugin-ai): record ai chat box implementation validation

* fix(plugin-ai): adjust ai chat box height and layout

* fix(plugin-ai): prevent ai chat sender from overlapping messages

* fix(plugin-ai): keep chat messages above sender

* fix(plugin-ai): constrain demo chat sender layout

* fix(plugin-ai): keep block chat sender in flex flow

* fix(plugin-ai): expand chat box after adding body blocks

* Revert "fix(plugin-ai): expand chat box after adding body blocks"

This reverts commit b6a893a6477dcd7a6fd86a55df89e60ff9b11519.

* fix(plugin-ai): use common block height settings

* fix(plugin-ai): align chat messages scrollbar style

* fix(plugin-ai): preserve native chat message scrollbar

* fix(plugin-ai): preserve native chat message layout

* fix(plugin-ai): restrict chat box display blocks

* fix(plugin-ai): set chat box core minimum width

* fix(plugin-ai): avoid nested chat message horizontal scroll

* fix(plugin-ai): polish AI chat box block

* fix(plugin-ai): prevent chat sender overflow

* fix(plugin-ai): keep chat core below body blocks

* fix(plugin-ai): sync AI chat box block state

* fix(plugin-ai): register AI employee action in v1 entry

* fix(plugin-ai): preserve chat box scope for employee tasks

* fix(plugin-ai): initialize chat box employee shortcuts

* fix(plugin-ai): filter chat box conversations by scope

* fix(plugin-ai): use block runtime for chat box employee actions

* fix(plugin-ai): clean up AI chat box block

* fix(plugin-ai): resolve chat box declaration errors

* refactor(plugin-ai): centralize chat box default width

* fix(plugin-ai): initialize chat box scope

* refactor(plugin-ai): organize chat box view state

* refactor(plugin-ai): organize chat box sender state

* refactor(plugin-ai): simplify AI chat box core view

* fix(plugin-ai): preserve chat box model restrictions

* refactor(plugin-ai): align AI chat box items

* refactor(plugin-ai): align AI chat box sub models

* refactor(plugin-ai): resolve chat box scope at runtime

* fix(plugin-ai): avoid block chat conversation refresh fanout

* refactor(plugin-ai): isolate chat box unread badge rendering

* perf(plugin-ai): avoid sender input mobx updates

* fix(plugin-ai): adapt chatbox tests to runtime models

* feat(plugin-ai): support targeting AI chat box in triggerTask

* docs: sync ctx.ai chatBoxUid translations

* feat(plugin-ai): support file attachments in RunJS

* docs: sync AI file upload translations

* feat(plugin-ai): expose response loading state in RunJS

* docs: add AI Chat box block guide

* docs: link AI Chat box from interface builder

* docs: sync AI Chat box guide translations

* fix(plugin-ai): skip block shortcut flow context

* fix(plugin-ai): keep block picker active in chat box

* fix(test): stabilize frontend CI tests

* fix(plugin-ai): validate AI chat box scope

* fix(plugin-ai): ignore whitespace-only messages

* fix(plugin-ai): restrict AI file access to owners

* fix(plugin-ai): allow owners to preview AI files

* fix(plugin-ai): authorize AI file previews by owner
2026-07-29 09:00:22 +08:00
YANG QIA 440e8dc606 feat(data-visualization): support chart event cleanup (#10034)
* feat(data-visualization): support chart event cleanup

* fix(data-visualization): ignore stale chart event runs

* fix(data-visualization): skip stale chart events after cleanup
2026-07-08 23:47:37 +08:00
YANG QIA 0d47a3cd15 fix(data-visualization): reapply chart events when chart instance is ready (#10031)
* fix(data-visualization): reapply chart events when chart instance is ready

* fix(data-visualization): handle chart event binding errors
2026-07-08 15:03:27 +08:00
gchust 72320f6efa fix: unnecessary chart block auto refresh (#9970)
* fix: incorrect chart block auto refresh

* fix: refresh chart when query changes

* fix: settle debounced chart refresh callers
2026-07-03 07:14:05 +08:00
YANG QIA 69fb7e4926 feat(data-source): support external NocoBase data source (#9623)
* fix(data-source-manager): compile load collections display names

* fix(data-source-manager): disable external field configuration

* fix(file-manager): support external data source uploads

* fix(data-source): support external file uploads

* fix(data-source): support external action permissions

* feat(data-visualization): support external NocoBase chart queries

* feat(data-source): support non database query facade

* fix(data-source-manager): fix declaration build errors

* test(flow-engine): update SQL data source proxy mock

* fix(data-source): skip acl meta for non database facades

* fix(data-source-manager): normalize collection display name search

* docs: add external nocobase data source guide

* docs: update

* docs: clarify external nocobase recovery

* docs: localize external nocobase data source guide

* fix(data-visualization): fix data source capability typing

* fix(data-source-manager): rely on field action visibility schema
2026-06-10 21:03:08 +08:00
DrolandCopilot Autofix powered by AI d7a726f078 Fix missing Dara button in v2 chart settings (#9696)
* fix(plugin-data-visualization): add missing dara button

* fix(plugin-ai): add client-v2 chat APIs for dara button

* fix(plugin-data-visualization): show dara button in v2 chart settings

* fix(plugin-ai): share chat stores across client bundles

* Potential fix for pull request finding

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

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-08 16:21:13 +08:00
Jiann 8ac71613a6 fix(data-visualization): improve v2 chart block rendering (#9517)
* fix(data-visualization): improve v2 chart block rendering

* fix(data-visualization): preserve v2 chart styles

* chore(data-visualization): move v2 tests to client-v2
2026-05-22 09:29:15 +08:00
Drol 480a343256 Feat/ai employee parallel conversation (#9344)
* refactor(ai): add facade wrapper useChat for useChatMessagesStore

* refactor(ai): isolate chat session state

* feat(ai): support resuming cached chat streams

* feat(ai): resume streaming conversations on chat open

* fix(ai): restore chat hook imports and lint cleanup

* refactor(ai): move message fetch state into chat session

* fix(ai): avoid concurrent chat resume and stream

* fix(ai): show background working when chunks cache missing

* fix(ai): reuse active conversation state on reopen

* refactor(ai): add TTL to stream chunks

* refactor(ai): make streamCached instacne as AIEmployee property

* feat(ai): add read property to aiConversations

* refactor(ai): simplify WorkflowTaskList component

* refactor(ai): add conversation unread count auto refresh

* refactor(ai): optimize the number of requests in conversation component

* feat(ai): add active notifications for unread ai conversation

* feat(ai): add parallel conversations limit

* fix(ai): resume stream should not get repetitive messages

* fix(ai): should not changed steam cached length before streaming end

* fix(ai): store ToolCallInvokeStatus bucketed by sessionId

* fix(ai): sub agent message lose ToolCallInvokeStatus after refresh page

* fix(ai): should show backgroundWorkingHint component in normal streaming
2026-05-11 20:52:07 +08:00
Zeke Zhang 047f88cd24 feat(plugins): add client-v2 blocks (#9297)
* feat(plugins): add client-v2 block plugins

* fix(client-v2): address plugin review issues

* fix(client-v2): drop template plugin migration

* fix(plugin-gantt): comment out model loader registration

* fix(client-v2): drop charts plugin migration

* feat(data-visualization): migrate client v2

* chore(data-visualization): remove unused ECharts files

* feat(data-visualization): add v2 echarts

* refactor(index): export isTitleField from flow-compat

* fix(kanban): align client-v2 settings

* chore(plugin-block-multi-step-form): remove client-v2 files

* chore(plugin-block-tree): remove unused components and files

* chore(plugin-gantt): remove unused client-v2 files

* chore(map): remove Google Maps components and models

- Deleted Google Maps related components, models, and utility functions.
- This includes the Search component, Map component, and various field models.
- Cleaned up the codebase by removing unused files and simplifying the structure.

BREAKING CHANGE: This change removes all Google Maps functionality from the plugin.

* chore(kanban): remove unused models and plugin code

* chore(calendar): remove deprecated calendar models and components

* fix(chart): cast chart type options to any
2026-05-06 18:24:13 +08:00
YANG QIA 0a9645c234 fix(data-visualization): use flow data sources in chart query builder (#9276) 2026-04-28 22:34:53 +08:00
Jiann Lu a6379bbfe2 Merge remote-tracking branch 'origin/next' into develop 2026-04-23 20:08:57 +08:00
Jiann fd60e2ee48 feat: kanban block v2 (#9142)
* feat: kanban v2

* fix: add docs

* fix: complete functions

* fix: lang, ai button, page size set

* fix: card render

* fix: build error

* feat: support style and more small feats

* fix: ts error

* fix: popup template

* fix: docs
2026-04-23 20:04:32 +08:00
nocobase[bot] bbe59f0ca6 Merge branch 'next' into develop 2026-04-17 05:55:21 +00:00
YANG QIA 3d16a81c66 fix(data-visualization): use aliases in chart sort fields (#9131) 2026-04-17 13:54:21 +08:00
YANG QIA 8de558da96 fix: sql injection issue of the query method (#9071) 2026-04-09 23:02:57 +09:00
YANG QIA c7dd013a80 feat: db repo query (#8985)
* feat(db): repository.query method

* feat: having

* feat: permissions

* fix: test

* feat: query action

* feat: add data query mcp tool

* fix: query bug

* fix: improve query builder and mcp crud tool

* fix: validate query selection and having permission keys
2026-04-01 11:19:40 +08:00
YANG QIA e90272ccdc fix(data-vi): chart query variable resolution on server (#8964)
* fix(data-vi): resolve chart query variables on server

* fix(data-vi): fix query builder ref declaration

* fix(data-vi): address query builder review feedback

* fix: test

* chore: optimize

* fix: review

* fix: reviews

* fix: component
2026-03-28 23:54:21 +08:00
Jiann ad24a1f458 fix(data-visualization): respect fixed ACL params in chart queries (#8969)
Resolve chart ACL via getActionParams.\nKeep multi-space fixed filters on root queries.
2026-03-27 10:38:23 +08:00
Junyiandxilesun 84abeead9b chore(acl): sanitize association values (#8688)
* chore: acl.sanitizeAssociationValues

* refactor(acl): simplify apis

* refactor(acl): move sanitize logic back to plugin-acl

* fix(acl): fix build error

* fix(acl): fix dependencies

* fix(acl): fix cycling import

---------

Co-authored-by: xilesun <2013xile@gmail.com>
2026-02-27 11:46:34 +08:00
Ziqiang fc322894d8 fix: update chart plugin entry text i18n (#8716) 2026-02-27 09:41:42 +08:00
YANG QIA 10f7fbf222 refactor(ai): optimize the API request logic (#8714)
* refactor(ai): optimize the API request logic

* fix: build

* chore: optimize

* chore: optimize

* chore: optimize

* chore: optimize

* chore: optimize

* chore: optimize

* fix: useMemo
2026-02-26 17:33:21 +08:00
54388d2939 refactor: optimize ai features (#8427)
* fix: get infos path option

* fix(plugin-ai): user message editing not work

* feat(core/database): add blob field for langChain checkpoint saver

* fix(core/database): collection defind with `allowNull:false` occur error in mysql

* feat(plugin-ai): add checkpoint saver base on SequelizeCollectionManager

* test(plugin-ai): add test for SequelizeCollectionSaver

* feat: AI tool get context apis and envs

* chore: update docs index

* refactor: getApiInfos getVarInfos getEnvInfos api

* chore: hide inner apis from getApiInfos

* chore: update apis

* fix: ctx.logger should pipe logs into code editor preview

* fix: incorrect code editor hint

* feat: use ctx.render instead of ctx.element in snippets

* refactor: AI runtime context tool

* fix: show log when using deprecated api in runjs

* fix(plugin-ai): build package oversize

* fix: build

* fix: version

* fix: dep

* fix(plugin-ai): frontend tools not working

* fix: update AI context tools

* feat: add context tool i18n text

* fix(ai): init command

* fix(plugin-ai): parallel tools call issue

* feat: update ai docs

* docs: translate

* chore: update docs tool

* fix: ai-coding bug

* chore: remove log

* chore: optimize doc structure

* chore: update new apis info

* fix: ai doc

* feat(client): support disabling redundant default appends params for `ResourceActionProvider` (#8527)

* docs: refine examples and remove redundant comments in formatting documentation

* fix(plugin-workflow): add fault-tolerant for collection record select component (#8528)

* feat: support env.ESM_CDN_BASE_URL (#8529)

* feat: support env.ESM_CDN_BASE_URL

* fix: support load css

* fix: support example.css?v=123

* feat: improve resolveModuleUrl

* fix: remove

* fix: update docs head metadata and sitemap

* fix: double refresh after submit a form (#8531)

* feat(workflow-cc): add TaskCardCommonItemModel and update exports

* fix: cn doc

* fix: home link

* fix(plugin-ai): issues of auto call defindCollection an suggestions tools (#8532)

* fix: doc theme

* chore: git ignore

* feat: runjs doc

* feat: add example

* feat: add ctx.previewRunJS

* chore: update message

* fix: incorrect preview runjs behaviour

* feat: llm and model settings

* feat: update runjs doc

* feat: AI Debug

* refactor: simplify useRecommand

* fix: build

* refactor(plugin-ai): move tools register into core/ai

* fix: build error

* fix: build error

* fix(plugin-ai): suggestions tools adapted the new forntedn tools flow

* refactor(plugin-ai): add tools process event

* fix(plugin-ai): dashscope adapted model switch

* refactor(plugin-ai): remove redundant code

* refactor(plugin-ai): add ChatStreamProtocol to control output stream

* feat: update AI chat buttom

* feat: ai coding add tool lintAndTestJSTool

* fix: build error

* fix: build error

* refactor(plugin-ai): send tool call invoke status in chat stream

* refactor(plugin-ai): add loading status for call button in DefaultToolCard

* fix: ai build dist

* refactor(plugin-ai): rename ToolOptions property `operation` to `defaultPermission`

* fix(plugin-ai): tools auto invoke in frontend not working

* refactor(plugin-ai): skill setting page of ai employee admin adapte tools refactoring

* refactor(plugin-ai): tools lintAndTestJS adapted

* chore: update nathan's prompt

* fix(plugin-ai): incorrect response from Dashscope

* refactor: create agent

feat: invoke api

* chore: improve code

* fix: tests failing

* chore: improve code

* fix: incorrect hint for ctx.t in code editor

* fix: incorrect error lines

* chore: improve code

* feat(core/ai): load tools from ai directory

* chore(core/ai): move tools registion from pluin to sever/ai

* fix(flow-engine): remove duplicate FlowContext doc types

* chore(core/ai): rename typo definedTools to defineTools

* chore(core/ai): move list tools api from core to plugin-ai

* chore(core/ai): fix typo of defined

* fix: version

* chore(core/ai): remove  schema in aiTools:list response

* fix(plugin-ai): tools from workflow can not be add to aiEmployee

* chore: optimize tools ui

* fix(ai): fix import path error in testcase of lintAndTestJS

* fix(ai): lintAndTestJS tools execute status always `error`

* fix(ai): when tools invokeStatus is `done` should update status at time

* fix(ai): if backend tools and frontend tools in same batch frontend tools not invoke

* fix(ai): core/ai build error

* fix(ai): plugin-data-source-manager and plugin-ai build error

* chore: optimize

* feat: update ai chat panel

* feat: ai chat box support expanded and collapsed

* fix(ai): resend message after error show will lost user message

* feat: ai debug panel is allowed by default

* feat: ai debug log support export

* fix: remove model options setting

* fix: remove llm config guide

* feat: llm services support sorting

* feat(ai): emphasize output summarization when GraphRecursionError occurs in the agent stream

* chore: optimize style

* chore: i18n & change directory

* feat: ai llm and model config

# Conflicts:
#	packages/plugins/@nocobase/plugin-ai/src/locale/en-US.json
#	packages/plugins/@nocobase/plugin-ai/src/locale/zh-CN.json

* feat: llm services support enabled

* chore: optimize build

* chore: optimize import

* fix(ai): tools loader not work after build

* chore: update ai command

* feat: llm config move test flight to the footer

* feat: support add llm service in chatbox

* fix: docs command

* fix: doc dir

* fix(ai): tools loader should ignore empty file

* feat: update ai conversation list

* fix(ai): optimize SequelizeCollectionSaver

* refactor: update format model label

* fix: ai chatbox collapsed style

* fix: update model switch select model

* feat: update ai llm form items order

* fix(ai): cancel button not working while llm using tools

* chore: optimize tool desc

* fix(ai): fix duplicated tool execution when Kimi responds with repeated tool_call_ids

* feat: improve ctx.request() doc

* docs: improve ctx.getModel

* refactor(ai): move listTools api into context

* docs: improve ctx.t()

* feat: llm enabled models recommand

* feat: update llm config recommand models tips

* docs: improve importAsync and requireAsync

* docs: i18n

* feat: ai chat box collapse at top-right, expand by click chat button

* refactor: ai chat conversations

* feat: llm services realtime update

* fix: debug panel style

* refactor(ai): optimize checkpointer

* fix(ai): missing tool_call_chunks in response stream

* fix(ai): missing tool card info

* feat: improve ctx api

* feat: ai employee switch

* chore: optimize style

* chore: optimize tool card

* feat(ai): refresh tools when open chat box

* chore: optimize tool desc

* fix(ai): tools lintAndTestJS invoke error

* fix: style

* fix: style

* feat: update doc

* fix: doc

* fix: version

* feat: update enabled models options title

* docs: update doc

* feat: ai format model label

* feat: update doc

* feat: optimize debug panel using virtual list

* feat: update recommended model kimi

* fix: preview run js

* feat: update debug panel not shown while expended

* fix: ai chat box switch model when switch conversation

* fix: render doc

* fix: only fetch data when click select model, and toast error message

* chore: optimize tool desc

* fix(ai): add prefix to workflow tools for compatibility

* fix(ai): ai employee task editor using old tools api

* fix(ai): lost ai message when conversation aborted

* fix: ai triggerTask has no model

* fix: editing message

* fix: set conversation panel shown when expnaded mode

* fix: styles

* style: update ai chat box and id card style

# Conflicts:
#	packages/plugins/@nocobase/plugin-ai/src/client/ai-employees/AIEmployeeListItem.tsx

* fix: ai web search

* chore(ai): optimize chatpointer

* feat: ai web search settings by llm services

* fix: styles

* chore: optimize doc index logic

* feat(ai): add LLM provider Kimi

* feat: update local storage api use

# Conflicts:
#	packages/plugins/@nocobase/plugin-ai/src/client/llm-services/LLMServices.tsx

* feat: update llm services order

* fix: doc

* fix: version

* chore: optimize prompt

* docs: update doc

* fix: test error

* fix: doc index script

* fix: styles

* fix(ai): fix plugin-ai build issue

* chore: improve get model auto completion

* fix(ai): increase suggestions tools robustness

* chore: optimize default tool card

* fix(ai): invoke status not load from message api response

* fix(ai): lost workflow tools when built in ai employee upgrade

* feat: optimize ai chat box model name display

* feat: update ai llm providers list

* fix: ai llm services test case

* test: simplify ai llm services tests

* fix: ai trigger task without model

* fix(ai): incorrect name of tools intentRouter

* fix(ai): permission setting for customer tools not effective

* chore: improve preview runjs to include logs

* fix(ai): fix breaking lintAndTestJS test case

* fix(ai): tools loader enhance robustness

* fix(ai): incorrect resource path in tools loader test for CI

* fix(ai): legacy conversation compatibility

* fix: conversation model override missing

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

* chore: remove .yarnrc

---------

Co-authored-by: gchust <gchust@qq.com>
Co-authored-by: Drol <cgyrock@gmail.com>
Co-authored-by: Ziqiang <ziqianghe123@gmail.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Albert Ma <albertma9254@gmail.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2026-02-12 23:28:35 +08:00
chenos e54bee98f1 fix: chart model refresh 2026-01-27 13:34:34 +08:00
Ziqiang 3c1c00ef1b fix: restrict chart order field to selected fields only (#8309)
* fix: normalize option for dataset-based pie charts

* fix: restrict chart order field to selected fields only

* chore: update volta node version to 20.16

* fix: limit chart order fields to cases with aggregation only
2025-12-31 10:14:05 +08:00
Zeke Zhang 548d834715 perf(flow-engine): replace formily observer with nocobase observer (#8241)
* refactor(flowModel): remove unused imports

* refactor(flow-engine): move reactive exports to new file

* refactor(flow-engine): move observer to separate file

* refactor(observer): optimize component memoization

* refactor(filter): replace formily observer with nocobase observer

* refactor(BlockModel): replace Observer with nocobase observer

* fix(flowModel): update type check for NocoBase observer

* refactor(PageModel): define tabActive property in context

* refactor(PageModel): optimize tabActive handling logic

* fix(observer): handle optional chaining for context values

* refactor(flow): consolidate observer imports

* refactor(flow): remove unused imports in DynamicFlowsEditor

* refactor(flow): replace @formily/react observer imports with local reactive imports

* refactor: update observer imports to flow-engine

* refactor(flow): update cached pages logic and limits

* refactor(flow): update view state management logic

* refactor(flow): add inputArgs to config and use as key

* refactor(KeepAlive): increase maximum cached pages limit

* refactor(useDialog): add key prop to FlowEngineProvider

* refactor(observer): add autorun for delayed updates

* refactor(observer): improve observer component structure

* fix(observer): prevent stack overflow during updates

* refactor(flow): use context for flowSettingsEnabled

* fix(observer): update condition for active page/tab check

* refactor(observer): memoize ComponentWithDefaultScheduler

* fix(observer): update condition for active page/tab check

* test(flow-engine): update type check
2025-12-25 08:13:03 +08:00
Ziqiang 9ba16ad100 feat: improvements for ai employee (#8191)
* feat: add  margin for ai hint message box

* feat(ai-employee): add submit validation for AI employee form

* fix: delete unnecessary build-in AI employee Avery

* feat: improve and unify copywriting style

* feat(ai-employee): define default role permissions for AI employees

* fix: ai employee add error handler

* feat: ai support external data source

* feat: add ai work context variables

* fix: ai work context read from ctx

* feat: ai tool i18n text

* feat: ai chat messages add token limit

* fix: ai builder employee add dara

* fix: resolve data modeling tool issues

* fix: ai tool getDataSources type and displayName
2025-12-23 14:22:42 +08:00
mytharcher 8df828a5e7 Merge branch 'next' into develop 2025-12-20 10:48:20 +08:00
Drol 2cb45f8ab3 fix(core): always get collection fields from main in parseFilter (#8181)
* fix(core): always get collection fields from main in parseFilter

* refactor(core): add current data source`db to ctx

* chore: fix breaking testcase
2025-12-19 16:11:33 +08:00
Ziqiang 05e5ba4340 fix(chart): resolve issue about sql external data source (#8169)
* fix(chart): resolve issue about sql external data source

* feat: chart block show loading

* fix: resolve issue about empty chart block cancel configure
2025-12-16 15:46:41 +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
chenos b536219f51 fix: improve locale 2025-11-30 17:39:20 +08:00
nocobase[bot] cf9326533e Merge branch 'next' into develop 2025-11-26 16:31:57 +00:00
YANG QIA 35c82eecbb fix(data-vi): filter fields settings for external data sources do not display specific properties (#7982) 2025-11-26 23:07:40 +08:00
Zeke Zhang a78bcffb78 Merge branch 'next' into develop 2025-11-26 10:55:33 +08:00
YANG QIAandZiqiang 9d96fbf2d0 fix(data-vi): resolve issue where chart query did not support ACL data scope (#7915)
* fix(data-vi): query data scope

* fix: andMerge

* fix: parse variables

* fix(chart): resolve lint issue in server query

* test: add test case for chart query with acl

* chore: update

---------

Co-authored-by: Ziqiang <ziqianghe123@gmail.com>
2025-11-26 00:07:15 +08:00
76d5f4f07b fix(chart): support initializing selected filter fields in query (#7933)
* fix(chart): support initializing selected filter fields in query

* fix(flow-engine): add filterable check for fields

* Revert "fix(flow-engine): add filterable check for fields"

This reverts commit 39182978bb.

* fix: failing tests

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: gchust <gchust@qq.com>
2025-11-25 21:40:40 +08:00
Ziqiang 910c36b917 fix(chart): chart block not updating after save (#7920) 2025-11-21 09:27:53 +08:00
xilesun 353e55428a Merge branch 'next' into develop 2025-11-20 10:57:58 +08:00
6a1fa4d322 Russian language support has been added to plugins (#7676)
* Create ru-RU.JSON

* Rename ru-RU.JSON to ru-RU.json

* RU translation

* Update ru-RU.json

* Update ru-RU.json

* Update ru-RU.json

* Update ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Update plugin-workflow ru-RU.json

* Update plugin-worklow ru-RU.json

* Update ru-RU.json

* Update ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Update ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU

* Create ru-RU.json

* Create ru-RU.json

* Rename ru-RU to ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Update ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* Create ru-RU.json

* ru_localization_plugins

* Update package.json

* Update package.json

* Update Calendar.tsx

* Update ru-RU.json

* Add Russian locale support for date formatting

* Russian localization has been added

---------

Co-authored-by: easampl <easampl@gmail.com>
Co-authored-by: 1esnevskaya <99816385+1esnevskaya@users.noreply.github.com>
2025-11-19 22:56:00 +08:00
Ziqiang 705a20eb9d feat: add AI employee for configuring chart (#7815)
* feat: add AI employee for configuring chart

* feat: add sql datasource key

* feat: ai-employed support sql datasource

* feat: chart config panel handle onClose event

* feat: ai employee support chart events

* feat: move chart config AI button to panel Header

* fix: ai-employee exports should be written to code editor

* feat: optimize ai-employee system prompt for data visualization
2025-11-18 21:40:13 +08:00
Ziqiang fccf346281 fix: chart sql resource use debug only while preview (#7893) 2025-11-18 11:24:14 +08:00
Ziqiang c98c8eee60 feat: add chart sql datasource (#7830) 2025-11-11 15:39:57 +08:00
Ziqiang d779880b32 fix(plugin-data-visualization): update alert tips and events code template annotations (#7814)
* fix: chart add onActive public method

* fix: chart events code template use english annotations

* feat: chart config alert tips only show once

* fix: package component FilterGroup to fit antd Form
2025-11-07 23:14:14 +08:00
Ziqiang 9f5c4a3012 fix(plugin-data-vi): add chart data time format options (#7763)
* fix: chart date time format

* fix: auto show query result when error
2025-11-04 16:41:45 +08:00