Skip to content

reflect SKILL_RECOMMENDED event in dashboard state (#474)#484

Merged
JeremyDev87 merged 1 commit intomasterfrom
feat/tui-skill-recommended-state-474
Feb 17, 2026
Merged

reflect SKILL_RECOMMENDED event in dashboard state (#474)#484
JeremyDev87 merged 1 commit intomasterfrom
feat/tui-skill-recommended-state-474

Conversation

@JeremyDev87
Copy link
Owner

Summary

  • Add activeSkills: string[] field to DashboardState and handle SKILL_RECOMMENDED event in the reducer with deduplication
  • Reset activeSkills on MODE_CHANGED to clear stale skills when switching modes
  • Display active skills list in FocusedAgentPanel between Objective and Checklist sections

Closes #474

Changes

File Change
dashboard-types.ts Add activeSkills: string[] to DashboardState
use-dashboard-state.ts Initial state, SKILL_RECOMMENDED handler (deduplicated accumulation), MODE_CHANGED reset
use-dashboard-state.spec.ts Replace no-op test with 3 behavior tests (accumulate, deduplicate, reset on mode change)
FocusedAgentPanel.tsx Add activeSkills prop, render Skills section
FocusedAgentPanel.spec.tsx Add activeSkills prop to existing tests, add 2 new tests for Skills section
dashboard-app.tsx Pass activeSkills prop to FocusedAgentPanel (narrow + wide layouts)

Test plan

  • Reducer: SKILL_RECOMMENDED accumulates activeSkills array
  • Reducer: duplicate skill names are ignored
  • Reducer: MODE_CHANGED resets activeSkills to empty
  • UI: Skills section renders skill names when present
  • UI: "No skills" placeholder when activeSkills is empty
  • Full test suite: 3687 tests passing
  • TypeScript: tsc --noEmit clean

- Add activeSkills field to DashboardState
- Handle SKILL_RECOMMENDED in reducer with deduplication
- Reset activeSkills on MODE_CHANGED
- Display active skills in FocusedAgentPanel between Objective and Checklist
- Pass activeSkills prop through dashboard-app to FocusedAgentPanel
- Replace no-op test with 3 behavior tests, add 2 UI tests
@vercel
Copy link

vercel bot commented Feb 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Feb 17, 2026 0:40am

@JeremyDev87 JeremyDev87 self-assigned this Feb 17, 2026
@JeremyDev87 JeremyDev87 added feat tui TUI Agent Monitor labels Feb 17, 2026
@JeremyDev87 JeremyDev87 changed the title feat(tui): reflect SKILL_RECOMMENDED event in dashboard state (#474) reflect SKILL_RECOMMENDED event in dashboard state (#474) Feb 17, 2026
@JeremyDev87 JeremyDev87 merged commit 876205c into master Feb 17, 2026
25 checks passed
@JeremyDev87 JeremyDev87 deleted the feat/tui-skill-recommended-state-474 branch February 17, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat tui TUI Agent Monitor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TUI] Task 3: Reflect SKILL_RECOMMENDED event in state

1 participant