10 Commits
Author SHA1 Message Date
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
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