Skip to content

Show banner to upgrade to latest version when ArchiveBox is out of date #696

@pirate

Description

@pirate

Many people seem to be running older versions, which can lead to trouble when upgrading many versions at a time.

I'd like to nudge people towards upgrading more frequently by showing something in the UI.

Possibly using: https://github.com/releasepage/version.js

Conditions:

  • If user is logged in
  • If user is_superuser
  • If there is a newer stable ArchiveBox version available from Github.com/ArchiveBox/ArchiveBox
  • If user has not hidden this popup before on this device

Then:

  • Show a small popup/banner somewhere in the Web UI indicating a new version of ArchiveBox is available
  • Show the currently installed version number (linked to Github releases URL), the new version available (linked to github releases URL)
  • Limit next version available to += 1 major version at a time, e.g. if user is on 0.7.0 go to last minor version 0.7.9, then +=1 1 major version at a time to 0.8.9, then finally 0.9.3 latest version
  • link to instructions upgrading, changelog, and roadmap pages in the Docs
  • also at the end of archivebox add/schedule jobs, show hint line in CLI stderr output if upgrade is available

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first ticketsize: easystatus: backlogWork is planned someday but is not the highest priority at the momenttouches: jsPull requests that update Javascript code

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions