Repository navigation
Description
Problem
#57 defines controller actions for the image preview (previous/next, zoom, and close), but does not require those actions to be shown on screen. Users may not discover the available controls, especially when using a controller without a keyboard or mouse.
Goal
Make image-preview controller shortcuts easy to notice and understand, using the active controller's button glyphs and clear action labels.
Requirements
- Show a compact, readable hint bar or overlay in the image preview for the available actions: previous/next image, zoom in/out, fit/reset view (if supported), and close.
- Use the connected controller family's glyphs and the existing dynamic prompt system (feat: add dynamic controller button prompts to action bar #34); do not hard-code Xbox labels for PlayStation, Nintendo, or generic controllers.
- Keep the currently focused image and its content visually dominant; hints must not cover important parts of the image or obscure dialog/error messages.
- Show the hints when the preview opens and when the user interacts; let them fade or collapse after inactivity, with a clear way to show them again.
- Only display actions that are currently available. If a key/action is unsupported in the current state, hide it or explain why it is unavailable.
- Keep hint text legible at TV distance and at handheld resolutions, and preserve controller focus/navigation behavior.
Controller UX
Opening an image shows the available button prompts. During viewing, the prompts fade to a minimal state after inactivity; any controller input reveals them again. The displayed glyph and label always match the active controller and the action it triggers.
Acceptance Criteria
- With Xbox, PlayStation, Nintendo, and generic controller profiles, each displayed glyph maps to the correct image-preview action.
- Users can discover previous/next, zoom, and close without reading external instructions.
- Hints reappear after controller input and never block returning to the file list or navigating images.
- Hints remain readable in Grid-to-preview workflows at 720p, 1080p, and 4K layouts.
- Error and confirmation dialogs remain fully visible and keep the correct focus.
Testing
Controller journey checks for each supported controller family and for hint show/fade/reveal behavior. Manual review at TV and handheld sizes, including a large image and an image-loading error.
Dependencies
- Depends on feat: add in-app image preview #57 — feat: add in-app image preview.
- Reuses feat: add dynamic controller button prompts to action bar #34 — feat: add dynamic controller button prompts to action bar.
- Related to enhancement: make the action bar fully context-sensitive #35 — enhancement: make the action bar fully context-sensitive.
MoSCoW priority: Could have for 1.0. This improves discoverability and polish; the underlying preview and controller actions are already specified in #57.
Activity