Skip to content

(UX): Trending Page - Preserve State on navigation #3411

Description

@MikeCampbell858

Description

So when using the trending page filters for Movies (Movies is the example, same for series) the state is not preserved on navigation.

Let's say you filter to movies, and weekly.
You find a title, click into it, then navigate back.

While the scroll positioning is the same. The filter state is reset, and so I see both movies and series for daily.

This state update should apply to both filters, and either filters. IE time(daily, weekly) and type (movies, series)

expected behaviour.

When I go to the trending page (first load) the state is fine.

If I filter to series, and weekly
the filters are applied.

I click into series, that's fine.
Then when I select back (to navigate back), I would like the trending page to have the filters applied that I set before navigating to the series.

I think the easiest way to handle this would be shallow updates to the URL on filter applied. But if anyone has any better ideas, absolutely open to that too.

Note:
This should not cause any navigation.

Version

3.4.1

Steps to Reproduce

  1. Go to trending page.
  2. Filter by Movies
  3. Click into title
  4. Navigate back to the trending page (IE Back button)
  5. Filter state reset. IE both movies and series.

Screenshots

No response

Logs

Platform

smartphone

Database

SQLite (default)

Device

Moto G06

Operating System

Android 15

Browser

Brave

Additional Context

No response

Search Existing Issues

  • Yes, I have searched existing issues.

Code of Conduct

  • I agree to follow Seerr's Code of Conduct

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions