Show the mode picker and the add-pane picker as menus on desktop
Phase 2b.2 of docs/plans/floating-windows.md, implemented by pipeline run 303: both use showAppChoiceMenu (a menu anchored to its button on a wide app, a bottom sheet on a phone).
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# Desktop chat pickers
|
||||
|
||||
- Mode picker now uses `showAppChoiceMenu` anchored to the mode button.
|
||||
- Add-pane picker uses the pane action-bar context, a 420px menu width, and
|
||||
autofocuses its Material search field. Phone layouts continue to use the
|
||||
helper's bottom sheet.
|
||||
- Opening Add chat pane from the desktop More menu is deferred until that menu
|
||||
closes, preventing the root-overlay teardown from hiding the anchored picker.
|
||||
- Removed the touched Cupertino picker implementations; the content remains
|
||||
Material with the existing loading, error, filtering, and selection states.
|
||||
- Focused check: `tool/memwatch/full.sh 'test/features/chat/conversation/chat_mode_control_test.dart test/features/chat/conversation/chat_add_pane_picker_test.dart'`
|
||||
— 13 passed, 0 failed, 0 skipped.
|
||||
- Analysis: `tool/analyze.sh` — clean.
|
||||
- Browser capture/review is intentionally deferred to the ui-review stage.
|
||||
Reference in New Issue
Block a user