mirror of
https://github.com/nocobase/nocobase.git
synced 2026-08-29 02:03:53 +08:00
e2162c1673
* 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
NocoBase Documentation
--lang
yarn docs dev --lang=en
yarn docs build --lang=en
yarn docs preview --lang=en
yarn docs build --lang=all
--check-dead-links
yarn docs build --lang=en --check-dead-links
eject rspress components
Customize the theme by ejecting the components. After ejecting, you can find the components in ./src/components and modify them as you like.
yarn eject <ComponentName>
demo preview
use @docs/* to import the demo components, which will be replaced with the actual path during build.
import { HelloModel } from '@docs/cn/flow-engine/_demos/HelloModel';
Then use the demo component in the markdown file:
```tsx file="./_demos/flow-model-renderer.tsx" preview