Skip to content

Unexpected page refresh on initial load #1021

@s-jairl

Description

@s-jairl

Describe the bug
When the "/login" path is loaded for the first time (or the browser cache has expired?), the page unexpectedly refreshes after a few seconds.

To Reproduce
Steps to reproduce the behavior:

  1. Open a web browser in "private/incognito mode".
  2. Go to '/login'

Expected behavior
Visit "/login" without an additional page reload.

Screenshots
See attached video: https://github.com/user-attachments/assets/8203fd36-d620-446c-9bdf-6fb3be34e079

Desktop (please complete the following information):

  • OS: Ubuntu 24.04 LTS
  • Browser: Firefox (147.0.2) and Chromium (144.0.7559.109)

Additional context
There seems to be a correlation between the page refresh and when the service worker moves from the state "installing" to "running".

Besides being a bit annoying (affecting the "first-usage experience"), the behavior also makes automated end-to-end testing of the web app a bit trickier since the DOM is reset without user interaction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions