Skip to content

feat: dashboard activity tracker and pattern management#314

Merged
CalebisGross merged 1 commit intomainfrom
feat/dashboard-activity-patterns
Mar 21, 2026
Merged

feat: dashboard activity tracker and pattern management#314
CalebisGross merged 1 commit intomainfrom
feat/dashboard-activity-patterns

Conversation

@CalebisGross
Copy link
Copy Markdown
Collaborator

Summary

Backend:

  • GET /api/v1/activity now returns window_minutes so the dashboard knows the decay window
  • New PATCH /api/v1/patterns/{id} endpoint to archive/restore individual patterns
  • New ActivityWindowMinutes() accessor on the retrieval agent

Frontend (Activity Drawer):

  • New "Active Concepts" section at the top of the drawer showing live decay bars
  • Each concept shows name, a color-coded progress bar (green → yellow → pink as time decays), and minutes remaining
  • Auto-refreshes every 10s while the drawer is open, stops when closed
  • Caps at 15 concepts to keep it scannable

Frontend (Pattern Management):

  • Archive button on each pattern card in the Explore > Patterns tab
  • Click archives the pattern via PATCH API, card fades out with animation
  • Toast notification on success/failure

Test plan

  • All existing tests pass
  • make build && make check clean
  • Full go test ./... green

Partial fix for #309

🤖 Generated with Claude Code

Backend:
- Add window_minutes to GET /api/v1/activity response
- Add PATCH /api/v1/patterns/{id} endpoint for archiving patterns
- Add ActivityWindowMinutes() to retrieval agent

Frontend:
- Activity drawer: new "Active Concepts" section with live decay bars
  (auto-refreshes every 10s while drawer is open, color-coded by remaining time)
- Pattern cards: archive button with fade-out animation and toast notification

Partial fix for #309

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@CalebisGross CalebisGross merged commit 57d17b9 into main Mar 21, 2026
@CalebisGross CalebisGross deleted the feat/dashboard-activity-patterns branch March 21, 2026 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant