Skip to content

Prevent automatic refresh after a new build #1199

@lbrdt

Description

@lbrdt

Official Instance

Describe the bug

When a new build is finished, new static resources are generated. So when Piped tries to sync with the newly built resources, it refreshes the page automatically without warning. Sometimes when you're watching the video. There needs to be a warning prompt to allow user to refresh when it is convenient.

To Reproduce

  1. Visit a piped instance watch some videos for it to cache its resource in the browser.
  2. Start a build wwith a new commit is merged
  3. Go to the Piped instance
  4. Try waiting a while or view a video
  5. The page refreshes on it's own

Expected behavior

A litle prompt to allow user to refresh at their convenience

Logs/Errors

No logs

Browser, and OS with Version.

Chromium Browsers
FIrefox Mobile

Additional context

It happens on both desktop and mobile browser

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions