Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add banner "Upgrade version" for self-hosted when version is older than 6 months #7745

Closed
Albane-dlv opened this issue Apr 10, 2024 · 2 comments · Fixed by #7768
Closed

Add banner "Upgrade version" for self-hosted when version is older than 6 months #7745

Albane-dlv opened this issue Apr 10, 2024 · 2 comments · Fixed by #7768

Comments

@Albane-dlv
Copy link

Albane-dlv commented Apr 10, 2024

Detailed Description

Create a banner similar to the one in the mockup below. The banner should appear as soon as the self-hosted version of WEBKNOSSOS has not updated since 6 months. It should be possible to close it, but it should appear again with every new session, until a newer version is used (sessionstore).
Text: You are using an old version of WEBKNOSSOS. Switch to webknossos.org for automatic updates and exclusive features!
Button: Learn more (Links to https://webknossos.org/self-hosted-upgrade)
banner top self hosted

Context

When users of the self-hosted version of WEBKNOSSOS haven't upgraded since 6 months, this banner should appear, motivating them to switch to webknossos.org. The button "Learn more" will lead them to a landing page where the advantages of wk.org compared to the open-source version are listed.

@philippotto
Copy link
Member

Implementation note: could be done similarly to the maintenance banner. /api/buildinfo contains commit date that could be parsed.

@fm3
Copy link
Member

fm3 commented Apr 11, 2024

Should the user be able to click this away? Do we need to store the info that they clicked it away? I guess the novelUserExperienceInfos block could be used for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants