You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FIX: Display Current Schema in Chat AI Prompt Actions (#30)
* feat: move currentSchema state to global zustand store
- Add currentSchema and setCurrentSchema to project-store
- Update explorer-component to use store instead of local state
- Enables sharing schema state across components
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* feat: add reusable InfoChip component
- Create InfoChip.jsx for pill-shaped chip UI pattern
- Add CSS classes for InfoChip styling in ChatAI.css
- Supports icon, text, tooltip, and optional className prop
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* feat: use InfoChip in CircularTokenDisplay and PromptActions
- Refactor CircularTokenDisplay to use InfoChip for credit display
- Add schema chip to PromptActions using InfoChip component
- Display current schema name with tooltip next to credit balance
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* refactor: use InfoChip for "No Credits" state in CircularTokenDisplay
- Add error variant CSS class (chat-ai-info-chip-error)
- Replace inline JSX with InfoChip component for consistency
- Reduces code duplication and improves maintainability
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: reset currentSchema on explorer unmount
Add cleanup effect to reset currentSchema when IdeExplorer unmounts,
preventing stale schema data from showing in other views.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* refactor: use selector pattern for setCurrentSchema
Move setCurrentSchema to use selector pattern for consistency with
currentSchema, following the same approach used in PromptActions.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments