Repository navigation
Allow saving quick command lists beyond forty - #32972
Conversation
|
No actionable comments were generated in the recent review.
|
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
-
⚙️ Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
b7945e9c-674c-4adf-a2e4-b92481ca90cb
📥 Commits
-
Reviewing files that changed from the base of the PR and between 4687e90 and 2a626735548045201c09520dc4accae4d8a4a351.
📒 Files selected for processing: 23
-
mobile/src/session/QuickCommandsList.test.tsmobile/src/session/QuickCommandsList.tsxmobile/src/session/QuickCommandsSheet.test.tsmobile/src/session/QuickCommandsSheet.tsxmobile/src/terminal/quick-commands.tssrc/cli/runtime/websocket-transport.test.tssrc/main/ipc/desktop-renderer-runtime-capabilities.tssrc/main/persistence/applying-settings/settings-update-terminal-quick-commands.test.tssrc/main/runtime/orca-runtime-test-mocks.spec.tssrc/main/runtime/orca-runtime-test-mocks/imported-values.spec.tssrc/main/runtime/orca-runtime-tests/paired-settings.spec.tssrc/main/runtime/rpc/methods/client-ui.tssrc/main/runtime/rpc/methods/terminal-quick-command-client-capabilities.test.tssrc/main/runtime/rpc/methods/terminal-quick-command-client-capabilities.tssrc/main/runtime/rpc/methods/terminal-quick-command-long-prompt-capability.test.tssrc/main/runtime/rpc/methods/terminal-quick-command-long-prompt-capability.tssrc/main/runtime/runtime-client-settings.tssrc/renderer/src/store/slices/terminal-quick-command-hosts.test.tssrc/shared/remote-runtime-client-capabilities.tssrc/shared/terminal-quick-command-capabilities.tssrc/shared/terminal-quick-commands.test.tssrc/shared/terminal-quick-commands.tssrc/shared/web-runtime-client-capabilities.ts
💤 Files with no reviewable changes: 7
-
- src/main/runtime/orca-runtime-test-mocks.spec.ts
- src/main/runtime/rpc/methods/terminal-quick-command-long-prompt-capability.ts
- src/main/runtime/orca-runtime-test-mocks/imported-values.spec.ts
- src/main/runtime/rpc/methods/terminal-quick-command-long-prompt-capability.test.ts
- mobile/src/terminal/quick-commands.ts
- mobile/src/session/QuickCommandsList.test.ts
- src/main/runtime/runtime-client-settings.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
-
2a62673 to
a749fa7
Compare
Preserve compatibility by limiting older clients to readable commands
a749fa7 to
1d58628
Compare
Problem
Saving a new quick command stopped working after 40 saved commands, including commands tied to missing projects.
Solution
Remove the 40-command limit for current clients. Older paired clients safely receive only the commands they can read, so they cannot overwrite hidden commands.
ELI5
You can now keep adding quick commands instead of hitting a small hidden limit.
What Changed
Why
The old limit blocked saves even when existing commands were no longer useful. Compatibility filtering keeps older clients safe while current clients can use full lists.
Linked Issue
Fixes #32933
Visual Proof
N/A — this removes a save restriction without changing the visual design.
Testing
Added and updated automated coverage for lists over 40 commands, persistence, concurrent additions, mobile saving, and legacy-client compatibility.
I manually tested these changes locally
Automated tests added/updated, or explained why not below
AI Disclosure
Review
Agent skill upstream boundary
Notes
Considered backwards compatibility for paired older clients; no platform-specific path or shortcut changes.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)