Skip to content

Analytics: Project selection is reset when switching browser tabs #6249

@srnyx

Description

@srnyx

Please confirm the following.

What browsers are you seeing the problem on?

Chrome (including Arc, Brave, Opera, Vivaldi)

Describe the bug

I select to show ALL projects from the project table at bottom. Then after like 30 seconds, it resets this filter and goes back to showing only the top 8.

It's basically just removing the a_selected_series query parameter from the URL.

It only happens when I switch browser tabs (like go to YouTube or something) and then go back to Modrinth.

Steps to reproduce

  1. Open Anaytics: https://modrinth.com/dashboard/analytics
  2. Select any number of specific projects (happens with 1, multiple, or all, doesn't matter)
  3. Switch to a different browser tab
  4. Wait like 30 seconds
  5. Go back to the Analytics Modrinth page
  6. Observe the projects filter be reset in front of your eyes

Expected behavior

Project filter should remain and not be reset when switching browser tabs

Additional context

There are no visible warnings/errors in browser console

Metadata

Metadata

Assignees

No one assigned

    Labels

    websiteRelates to Modrinth.com web frontend

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions