Skip to content

enhancement: improve controller focus visuals and focus restoration #31

Closed

Description

@nextestudios

Summary

Make focus unmistakable and always restored to a valid target after dialogs, refreshes and operations.

Motivation

Focus is the core of a controller-first UI; losing it breaks the experience.

Requirements

  • Consistent focus ring token across list, grid, menus, dialogs and keyboard.
  • Restoration rules: after closing a modal, after deleting (next/previous item), after operations that refresh the folder.
  • Scroll the focused item into view before completing a transition in virtualized lists.

Controller UX

No new bindings; behavior is visible when navigating with D-pad/stick.

Technical Notes

FileListState, AppController modal stack and MainWindow.Render.

Acceptance Criteria

  • Focus never lands on nothing after any modal closes or the list refreshes.

Testing

Unit tests for new branches and for every bug reproduced before a fix (no trivial variations, see AGENTS.md). UI automation test (see #83) once available.

Dependencies

  • None

Priority: high · Milestone: 2 · Controller-First Windows UI

Activity

  1. added
    priority: high
    type: enhancement
    type: ux
    area: input
    area: ui
    on Sep 27, 2026
  2. added
    moscow: must
    and removed
    priority: high
    on Sep 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: inputarea: uimoscow: musttype: enhancementtype: ux

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions