fix(FN-1992): show resolved agent names in chat avatars
- Resolve assistant avatar labels from the active session agent map with fallback handling - Keep the built-in KB agent label as Fusion and fall back to a truncated agent ID when needed - Apply resolved labels to both stored assistant messages and streaming assistant avatars - Add ChatView tests for resolved labels, KB-agent fallback, and streaming avatar rendering - Document the @fusion/engine prebuild prerequisite in .fusion/memory.md
This commit is contained in:
@@ -313,6 +313,7 @@ Dashboard SSE (`/api/events`) streams plugin lifecycle events as normalized `plu
|
||||
- In `TaskCard.tsx`, `isInteractiveTarget` must check `target instanceof Element` (not `HTMLElement`) so SVG elements from lucide-react icons are correctly detected as interactive when inside buttons.
|
||||
- If workspace tests fail resolving `@fusion/core` package exports from `packages/core/dist/index.js` (for example `No matching export ...` in CLI/TUI/package-level tests after adding a new core export), run `pnpm --filter @fusion/core build` before rerunning the suite so ignored `dist/` exports are refreshed.
|
||||
- If CLI tests/build-exe tests fail with `Could not resolve "@fusion/dashboard"` (or Vite reports missing `@fusion/dashboard` entry), build the dashboard package first (`pnpm --filter @fusion/dashboard build`) so `packages/dashboard/dist/index.js` exists for workspace consumers.
|
||||
- If dashboard/TUI tests fail resolving `@fusion/engine` entry exports (for example `Failed to resolve entry for package "@fusion/engine"`), build engine artifacts first (`pnpm --filter @fusion/engine build`) so `packages/engine/dist/index.js` is available for workspace imports.
|
||||
- QuickEntryBox control test IDs are reused in `ListView` integration tests; when control layout changes (for example nested menu → inline buttons), update both `QuickEntryBox.test.tsx` and `ListView.test.tsx` together to avoid cascading failures.
|
||||
- When `InlineCreateCard` layout changes, also check `Column.test.tsx` and `board-mobile.test.tsx` for references to moved/removed test IDs like `inline-create-description-actions`.
|
||||
- When adding portal-based dropdown menus to QuickEntryBox, tests may fail in isolation but pass when run together (test isolation issues). This is because tests share DOM state across describe blocks. Always verify new dropdown tests pass both in isolation (`--testNamePattern`) and when run together.
|
||||
|
||||
Reference in New Issue
Block a user