gigascience / gigadb-website

Source code for running GigaDB
http://gigadb.org
GNU General Public License v3.0
9 stars 15 forks source link

add banner to old.gigadb.org to point to gigadb.org #1440

Open only1chunts opened 1 year ago

only1chunts commented 1 year ago

User story

As a website user
I want to know that I'm looking at the old (old.gigadb.org) or beta (beta.gigadb.org) version of GigaDB site pages So that I can be offered to view the current gigadb.org version of the page I'm on

Acceptance criteria

Given a user somehow accidentally arrives on an old.gigadb.org website page When they view the page in any browser Then a prominent banner is displayed at the top of the page saying "You are viewing an old version of the GigaDB website some functionality may not be available, please switch to the current version here. "

Given a user has navigated to beta.gigadb.org When they view the page in any browser Then they see a banner mentioning "This is an experimental, under development version of the website, if you want to see the current version, go here"

Given there is a link to the current website displayed in a banner on an old.gigadb.org's page When the user click on the link Then the user is switched to the exact same page on the current website

Given there is a link to current website displayed in a banner on a beta.gigadb.org's page When the user click on the link Then the user is switched to the exact same page on the current website

Additional Info

Follow up to #1276

Product Backlog Item Ready Checklist

Product Backlog Item Done Checklist

only1chunts commented 22 hours ago

I cant access old.gigadb.org, so do we still need this ticket? or should it be changed to adding a banner to "staging.gigadb.org"?