feat(nav): discoverable sidebar — instant tooltips, shortcuts made visible, pinnable rail
Some checks are pending
Security / Security check (push) Waiting to run
Some checks are pending
Security / Security check (push) Waiting to run
The icon-only rail forced first-time users to guess (usertest: Senior, a11y, UX personas). Three changes: - Nav tooltips appear instantly and carry the page shortcut (Cmd+1..9, Ctrl on non-mac — Ctrl activators added); expanded labels show the same hint. Explicit button semantics for screen readers on every destination. - A visible 'Search & commands' row above the footer opens the existing Cmd+K palette, which nothing in the UI advertised. - Settings -> Appearance gains 'Keep the navigation expanded': pins the rail with permanent labels (persisted preference). Footer strip and pillar toggle made overflow-safe for the animating rail; responsive test scrolls the by-design scrollable destinations list. Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
parent
ca01fd2ec0
commit
c436e12601
11 changed files with 364 additions and 30 deletions
|
|
@ -41,6 +41,12 @@ void main() {
|
|||
testWidgets(
|
||||
'sidebar destination Y positions are stable across rail expansion',
|
||||
(tester) async {
|
||||
// Desktop-sized surface: the rail carries 8 destinations plus
|
||||
// the search row and footer — the 600-px default viewport
|
||||
// scrolls the last destination out of the ListView.
|
||||
tester.view.physicalSize = const Size(1280, 900);
|
||||
tester.view.devicePixelRatio = 1.0;
|
||||
addTearDown(tester.view.reset);
|
||||
// Collapsed (default).
|
||||
await tester.pumpWidget(
|
||||
const StudioApp(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue