Skip to content

Add floating Back to Top button to Overview and manual - #177

Merged
amesk merged 4 commits into
masterfrom
feat/manual-back-to-top
Oct 22, 2026
Merged

amesk merged 4 commits into
masterfrom
feat/manual-back-to-top

Conversation

@amesk

@amesk amesk commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add a floating, localized Back to Top button to both the landing-page Overview and User Manual.
  • Show it only after the reader scrolls down, keeping the initial view uncluttered.
  • Use one shared component and mount it only for the Overview and Manual views (not the emulator or Devlog).
  • Respect prefers-reduced-motion; retain keyboard focus styling and accessible labels.
  • Keep the button 8 px from the bottom edge on all screen sizes.

Implementation

The scroll behaviour lives in ManualBackToTop; App.tsx owns the single shared instance so it appears on the two long-form views without duplicates. The existing end-of-manual link remains unchanged.

Verification

  • Reviewed the current component and app-shell integration on the PR branch.
  • GitHub currently reports the PR as mergeable.
  • Automated build/tests have not been run in this environment.

@amesk amesk changed the title Add floating Back to Top button to the landing-page manual Add floating Back to Top button to Overview and manual Oct 22, 2026
@amesk
amesk merged commit c6918f9 into master Oct 22, 2026
3 checks passed
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.

1 participant