Skip to content

Preserve Explorer State on Back Navigation #349

@rickstaa

Description

@rickstaa

Problem

When viewing a video/stream and pressing the browser Back button, the Explorer resets — filters, search, pagination, and scroll position are lost.

Expected Behavior

  • Returning via Back (or an in-app Back button) should restore the previous state:
    • Filters/search/sort
    • Pagination & scroll position
    • Cached list data (no full reload)

Why It Matters
Improves navigation flow when browsing multiple videos and avoids reloading or losing context.

Possible Solutions

  • Encode filters/pagination in URL or history.state.
  • Use client-side routing (no full page reload).
  • Cache list data (React Query, SWR, etc.).
  • Manually restore scroll position.
  • Optionally, add an in-app “Back to Results” button for consistent behavior.

Attachment

Screencast.from.2025-10-31.13-09-09.webm

Metadata

Metadata

Assignees

Labels

enhancementIncremental improvement to existing functionality.

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions