Commit Graph
214 Commits
Author SHA1 Message Date
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
Ziqiang 758905a3d6 feat: add tips for run query before configuring chart options (#7685) 2025-10-29 15:26:33 +08:00
Ziqiang 461351a96a fix(chart): use sql:runById API to fetch query data on initialization (#7677) 2025-10-28 09:07:11 +08:00
Ziqiang be73d8a93d fix(plugin-data-vi): refresh chart data on global preview button click (#7678) 2025-10-28 09:05:41 +08:00
Ziqiang 54e93c738e fix(chart): fix SQL query issue when parsing variables (#7642)
* fix(chart): only parse the variables under the non-sql mode

* fix: chart does not show data result directly after running the query

* chore: update code annotation
2025-10-23 09:44:37 +08:00
Ziqiang bcf23f357f fix: fix missing orders param in chart data query' (#7636) 2025-10-22 20:35:38 +08:00
Ziqiang 666c9aa8c6 fix(plugin-data-vi): add chart type "Doughnut chart" (#7629)
* feat: update chart data flow, add auto preview

* feat: chart update i18n

* feat: chart plugin extend chart  type

* fix: revert core changes

* fix: revert core changes

* feat: chart query builder refactor, remove formily

* feat: chart add Area type

* feat: chart plugin line/bar/area add default seriesField

* fix: chart query data validate filter

* chore: chart delete useless code

* feat: add debugLog function for online debugging

* fix: chart apply event holding timeout

* feat: chart type add funnel

* feat: chart add doughnut type
2025-10-22 15:40:11 +08:00
Ziqiang f4056c41df plugin-data-vi (#7608)
* feat: update chart data flow, add auto preview

* feat: chart update i18n

* feat: chart plugin extend chart  type

* fix: revert core changes

* fix: revert core changes

* feat: chart query builder refactor, remove formily

* feat: chart add Area type

* feat: chart plugin line/bar/area add default seriesField

* fix: chart query data validate filter

* chore: chart delete useless code

* feat: add debugLog function for online debugging

* fix: chart apply event holding timeout
2025-10-16 19:45:14 +08:00
Zeke Zhang 6753632e25 feat(flow): add page active management and lifecycle methods 2025-10-16 18:50:13 +08:00
Ziqiang f0a0f80c23 Feat/plugin data vi (#7597)
* feat: update chart data flow, add auto preview

* feat: chart update i18n

* feat: chart plugin extend chart  type

* fix: revert core changes

* fix: revert core changes

* feat: chart query builder refactor, remove formily

* feat: chart add Area type

* feat: chart plugin line/bar/area add default seriesField

* fix: chart query data validate filter
2025-10-15 20:25:54 +08:00
Ziqiang e688cfccc5 feat/plugin-data-vi (#7581)
* feat: update chart data flow, add auto preview

* feat: chart update i18n

* feat: chart plugin extend chart  type

* fix: revert core changes

* fix: revert core changes
2025-10-14 11:43:56 +08:00
gchust fa25d63b8b refactor: auto flows (#7577)
* feat: add beforeRender event

* feat: refactor auto flows

* feat: add disptach event hooks

* feat: update cache for flow execution

* refactor: auto flows hook

* chore: remove applyAutoFlows

* chore: update doc

* chore: update docs for auto flow

* chore: update docs and tests

* fix: not rerender after updating step params

* chore: update docs

* fix: error fallback bug
2025-10-13 08:42:46 +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
Katherine 826328bf59 fix: date variable issue in default value of date field in chart filter block (#7291)
* fix: date variable issue in default value of date field in chart filter block

* fix: bug

* fix: bug
2025-08-05 20:30:11 +08:00
YANG QIA 1fdf0ae45b fix(data-vi): table pagination issue (#7151) 2025-07-03 16:29:19 +08:00
Katherine eb743cfccb fix: incorrect display of between date field in chart filter (#7051) 2025-06-12 10:09:27 +08:00
YANG QIA 71dcc355b8 fix(data-vi): checkbox group fields in charts should display labels instead of raw values (#7033) 2025-06-10 10:59:53 +08:00
Zeke Zhang 225d24c5fa fix: resolve the filter block parameter error problem (#6966)
* feat: store current filter conditions for use in other filter blocks

* test(e2e): correct label for date picker in defaultValue test

* test(e2e): update list block schema settings to include description in edit option
2025-06-08 15:07:48 +08:00
bugstark 5dd58a55f7 feat(data-vi): support multiplication and division in chart transformation configuration (#6788) 2025-06-04 08:12:08 +08:00
nocobase[bot] d8baf88807 Merge branch 'main' into next 2025-05-15 01:31:48 +00:00
YANG QIA aadf8878dd fix(data-vi): chart blocks do not display when added to popups triggered from block-level actions (#6864)
* fix(data-vi): chart blocks do not display when added to popups triggered from block-level actions

* chore: update
2025-05-15 09:31:21 +08:00
nocobase[bot] 8423965adf Merge branch 'main' into next 2025-05-13 03:44:51 +00:00