Unify chat selector menus

Use the permission selector's shared popup and choice-row primitives for model and thinking controls while preserving catalog, search, and next-turn behavior. Remove the obsolete Cupertino model chooser parameter and cover current-model dismissal.
This commit is contained in:
2026-11-11 19:40:26 +00:00
parent 3da71c3053
commit 2d0e33dd67
7 changed files with 227 additions and 137 deletions
@@ -0,0 +1,18 @@
# Chat selector menu unification
## Change
Model and thinking-level controls now use the same `showAppChoiceMenu` root
popup/bottom-sheet primitive and shared `AppChoiceMenuItem` rows as the
permission-mode selector. Their catalog/search, loading, next-turn, server
echo, refusal, retry and dismissal behavior remain in their respective
controls. The model chooser's obsolete Cupertino parameter was removed.
## Checks
- `tool/memwatch/full.sh 'test/features/chat/conversation/chat_mode_control_test.dart test/features/chat/conversation/chat_model_picker_test.dart test/features/chat/conversation/chat_effort_control_test.dart test/features/chat/conversation/chat_effort_header_test.dart'`
— 29 passed, 0 failed, including the current-model dismissal regression.
- `tool/analyze.sh` — clean.
Browser captures were not performed in this implementation stage; UI review
owns the requested full-app captures.