Skip to content

Fix profile selection and cmd-number scroll#22

Merged
sidharthmirch merged 3 commits into
mainfrom
sidharthmirch/profile-scroll
Apr 7, 2026
Merged

Fix profile selection and cmd-number scroll#22
sidharthmirch merged 3 commits into
mainfrom
sidharthmirch/profile-scroll

Conversation

@sidharthmirch

Copy link
Copy Markdown
Owner

Summary

  • auto-scroll selected model columns into view on CMD+number and rebind CMD+Shift+Space to pop the selected model to the front
  • keep chat compare model selection independent from the active model profile
  • preserve an explicit empty saved compare selection instead of falling back to ambient defaults

Testing

  • pnpm exec eslint src/core/chorus/api/ModelConfigChatAPI.ts src/ui/components/ChatInput.tsx
  • pnpm exec tsc --noEmit

sidharthmirch and others added 2 commits April 7, 2026 09:55
- CMD+1-8 now smooth-scrolls the selected model column into view
- CMD+Shift+Space now moves the selected model to the first column position
- Added data-compare-message-id attribute to compare block columns for scroll targeting

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 7, 2026 16:57
@ecc-tools

ecc-tools Bot commented Apr 7, 2026

Copy link
Copy Markdown

Analyzing 200 commits...

@ecc-tools

ecc-tools Bot commented Apr 7, 2026

Copy link
Copy Markdown

Analysis Complete

Generated ECC bundle from 2 commits | Confidence: 50%

View Pull Request #23

Repository Profile
Attribute Value
Language TypeScript
Framework Not detected
Commit Convention freeform
Test Directory separate
Changed Files (4)
Metric Value
Files changed 4
Additions 61
Deletions 27

Top hotspots

Path Status +/-
src/ui/components/MultiChat.tsx modified +50 / -15
src/core/chorus/api/ModelConfigChatAPI.ts modified +7 / -4
src/ui/components/ChatInput.tsx modified +3 / -8
src/ui/components/MultiChatDeprecationPath.tsx modified +1 / -0

Top directories

Directory Files Total changes
src/ui/components 3 77
src/core/chorus/api 1 11
Generated Instincts (14)
Domain Count
git 2
code-style 10
testing 2

After merging, import with:

/instinct-import .claude/homunculus/instincts/inherited/chorus-instincts.yaml

Files

  • .claude/ecc-tools.json
  • .claude/skills/chorus/SKILL.md
  • .agents/skills/chorus/SKILL.md
  • .agents/skills/chorus/agents/openai.yaml
  • .claude/identity.json
  • .codex/config.toml
  • .codex/AGENTS.md
  • .codex/agents/explorer.toml
  • .codex/agents/reviewer.toml
  • .codex/agents/docs-researcher.toml
  • .claude/homunculus/instincts/inherited/chorus-instincts.yaml

ECC Tools | Everything Claude Code

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves MultiChat keyboard navigation and model selection persistence by ensuring model columns scroll into view on Cmd+number shortcuts, decoupling per-chat compare selection from the active model profile, and allowing an explicitly empty compare selection to be preserved instead of falling back to ambient defaults.

Changes:

  • Auto-scroll the selected compare/tools model column into view when using Cmd+1–8.
  • Rebind Cmd/Ctrl+Shift+Space to move the currently selected model to the first column position.
  • Make per-chat compare selection independent of the active model profile and persist explicit empty selections.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/ui/components/MultiChatDeprecationPath.tsx Adds a data-compare-message-id hook to enable scroll-to-column behavior for compare columns.
src/ui/components/MultiChat.tsx Implements scroll-into-view on Cmd+number for tools/compare and updates Cmd+Shift+Space to “pop to front”.
src/ui/components/ChatInput.tsx Stops filtering compare-visible configs by active model profile; preserves empty saved compare selection when persisting.
src/core/chorus/api/ModelConfigChatAPI.ts Updates compare selection resolution to treat “saved but empty” as authoritative (no ambient fallback) and removes active-profile filtering.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sidharthmirch

Copy link
Copy Markdown
Owner Author

bug fixes for cmd+KEY and multi-model selection states

@sidharthmirch
sidharthmirch merged commit 23cfa13 into main Apr 7, 2026
1 of 4 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.

2 participants