Skip to content

feat: make image preview controller prompts more visible - #195

Merged
nextestudios merged 1 commit into
mainfrom
feature/171-image-preview-hints
Sep 27, 2026
Merged

nextestudios merged 1 commit into
mainfrom
feature/171-image-preview-hints

Conversation

@nextestudios

Copy link
Copy Markdown
Owner

Summary

  • Image preview prompts now list only what works right now: no "Anterior" on the first image, no "Próxima" on the last, "Ajustar à tela"/"Mover"/"Menos zoom" only while zoomed, "Mais zoom" only when an image is loaded. Glyphs come from the existing dynamic prompt system (feat: add dynamic controller button prompts to action bar #34), so Xbox/PlayStation/Nintendo/generic each get their own buttons.
  • After 4 s without input (AppController.PreviewHintsFadeAfter, checked from the input pump via TickControllers) the prompts fade to 30% opacity; Close stays at full strength and the header adds "qualquer botão mostra os comandos". Any input reveals them again and still performs its action (never swallowed). The footer keeps its size, so the image and error messages never move or get covered.
  • Docs: GUIDE (both languages), CHANGELOG (both), ui-redesign row, manual checks in TESTING.md.

Tested in CI

  • ImagePreviewJourneyTests::Hints_fade_after_inactivity_and_any_input_reveals_them_while_still_acting: available-only prompts at first/last image, PlayStation family on every prompt, fade exactly at the threshold, reveal + navigation on input, Back returns focus to the last image.

Manual checks (docs/TESTING.md, "Legendas da visualização de imagens (#171)")

  • Each family's glyph triggers the labelled action with real controllers; fade/reveal feel; legibility at 720p/1080p/4K from Grid and List; error message stays fully visible.

Closes #171

🤖 Generated with Claude Code

Show only the actions available right now (no previous/next at the ends,
fit only while zoomed), fade the prompts after 4 s without input while
keeping Close visible, and reveal them on any input without swallowing it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@nextestudios
nextestudios force-pushed the feature/171-image-preview-hints branch from 7b62f52 to 0d0fd2a Compare September 27, 2026 22:11
@nextestudios
nextestudios merged commit 8da12c5 into main Sep 27, 2026
1 check passed
@nextestudios
nextestudios deleted the feature/171-image-preview-hints branch September 27, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

enhancement: make image preview controller shortcuts more visible

1 participant