Skip to content

feat: add Congress trades toggle to active chat#63

Merged
agarg5 merged 1 commit intomainfrom
feature/congress-panel-toggle
Mar 1, 2026
Merged

feat: add Congress trades toggle to active chat#63
agarg5 merged 1 commit intomainfrom
feature/congress-panel-toggle

Conversation

@agarg5
Copy link
Owner

@agarg5 agarg5 commented Mar 1, 2026

Summary

  • Politicians cards were only visible on the empty welcome screen — the only way to see them again was to clear the chat
  • Added a "Congress" toggle button next to "Clear Chat" that expands a compact row of politician cards above the input
  • Clicking a politician card sends the same trade query as from the welcome screen

Test plan

  • Start a chat conversation, verify "Congress" button appears next to "Clear Chat"
  • Click "Congress" button, verify politician cards expand with slide-down animation
  • Click a politician card, verify it sends the trade query
  • Toggle the panel closed, verify it collapses
  • Verify dark mode styling works correctly
  • Verify the welcome screen politicians still work as before when chat is empty

🤖 Generated with Claude Code

Politicians cards were only visible on the empty welcome screen. Now a
"Congress" toggle button appears next to "Clear Chat" during an active
conversation, expanding a compact row of politician cards above the input.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@agarg5
Copy link
Owner Author

agarg5 commented Mar 1, 2026

Code review

No issues found. Tests passing (251/251). Checked for bugs, regressions, and CLAUDE.md compliance.

🤖 Generated with Claude Code

@agarg5 agarg5 merged commit 2621d80 into main Mar 1, 2026
1 of 2 checks passed
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