Skip to content

fix: sync model selection dropdowns to cloud dashboard#286

Merged
khaliqgant merged 2 commits intomainfrom
claude/review-model-selection-dropdown-9bgJI
Jan 24, 2026
Merged

fix: sync model selection dropdowns to cloud dashboard#286
khaliqgant merged 2 commits intomainfrom
claude/review-model-selection-dropdown-9bgJI

Conversation

@khaliqgant
Copy link
Copy Markdown
Member

The model selection changes for Cursor and Codex (commit 4593c1c) were
only applied to packages/dashboard/ui/ (local dashboard) but not to
src/dashboard/ (cloud dashboard). This syncs those changes:

  • Add CURSOR_MODEL_OPTIONS and CODEX_MODEL_OPTIONS arrays
  • Add model dropdown selects for Cursor and Codex agents
  • Change Claude model selection from button grid to dropdown
  • Add supportsModelSelection flag to Codex and Cursor templates
  • Add selectedCursorModel and selectedCodexModel state variables
  • Update effectiveCommand to always include --model flag

The model selection changes for Cursor and Codex (commit 4593c1c) were
only applied to packages/dashboard/ui/ (local dashboard) but not to
src/dashboard/ (cloud dashboard). This syncs those changes:

- Add CURSOR_MODEL_OPTIONS and CODEX_MODEL_OPTIONS arrays
- Add model dropdown selects for Cursor and Codex agents
- Change Claude model selection from button grid to dropdown
- Add supportsModelSelection flag to Codex and Cursor templates
- Add selectedCursorModel and selectedCodexModel state variables
- Update effectiveCommand to always include --model flag
…dashboard

Consolidates the dashboard codebase to a single location:
- Moved all dashboard UI code from src/dashboard to packages/dashboard/ui
- Updated Dockerfile to build from packages/dashboard/ui
- Updated cloud server.ts dashboard path to packages/dashboard/ui/out
- Updated dashboard-server and dashboard package server.ts paths
- Updated package.json build scripts (build:dashboard, dev:next, postbuild)
- Updated .dockerignore and vitest.config.ts paths
- Added MessageComposer.tsx as shared component
- Synced App.tsx and ChannelChat.tsx with extracted MessageComposer
- Includes model selection dropdown changes for Cursor and Codex agents

This removes the duplicate dashboard code that was causing cloud to use
outdated components (e.g., missing model selection dropdowns).
@my-senior-dev-pr-review
Copy link
Copy Markdown

🤖 My Senior Dev — Analysis Complete

👤 For @khaliqgant

📁 Expert in src (661 edits) • ⚡ 139th PR this month

View your contributor analytics →


📊 174 files reviewed • 12 high risk • 8 need attention

🚨 High Risk:

  • packages/dashboard/ui/react-components/App.tsx — UI components may include sensitive functionality or authenticated actions.
  • packages/dashboard/src/server.ts — Server-side logic may have security implications.
  • src/dashboard/app/connect-repos/page.tsx — Critical for user authentication flows, requires security and functionality checks due to complete removal.
  • +5 more

⚠️ Needs Attention:

  • package.json — Changes in dependencies can have security implications.
  • packages/dashboard/ui/react-components/ChannelChat.tsx — Chat components often handle user inputs that require sanitization.
  • +1 more concerns...

🚀 Open Interactive Review →

The full interface unlocks features not available in GitHub:

  • 💬 AI Chat — Ask questions on any file, get context-aware answers
  • 🔍 Smart Hovers — See symbol definitions and usage without leaving the diff
  • 📚 Code Archeology — Understand how files evolved over time (/archeology)
  • 🎯 Learning Insights — See how this PR compares to similar changes

💬 Chat here: @my-senior-dev explain this change — or try @chaos-monkey @security-auditor @optimizer @skeptic @junior-dev

📖 View all 12 personas & slash commands

You can interact with me by mentioning @my-senior-dev in any comment:

In PR comments or on any line of code:

  • Ask questions about the code or PR
  • Request explanations of specific changes
  • Get suggestions for improvements

Slash commands:

  • /help — Show all available commands
  • /archeology — See the history and evolution of changed files
  • /profile — Performance analysis and suggestions
  • /expertise — Find who knows this code best
  • /personas — List all available AI personas

AI Personas (mention to get their perspective):

Persona Focus
@chaos-monkey 🐵 Edge cases & failure scenarios
@skeptic 🤨 Challenge assumptions
@optimizer Performance & efficiency
@security-auditor 🔒 Security vulnerabilities
@accessibility-advocate Inclusive design
@junior-dev 🌱 Simple explanations
@tech-debt-collector 💳 Code quality & shortcuts
@ux-champion 🎨 User experience
@devops-engineer 🚀 Deployment & scaling
@documentation-nazi 📚 Documentation gaps
@legacy-whisperer 🏛️ Working with existing code
@test-driven-purist Testing & TDD

For the best experience, view this PR on myseniordev.com — includes AI chat, file annotations, and interactive reviews.

@khaliqgant khaliqgant merged commit 3b21591 into main Jan 24, 2026
25 of 26 checks passed
@khaliqgant khaliqgant deleted the claude/review-model-selection-dropdown-9bgJI branch January 24, 2026 13:46
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.

2 participants