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 notice to dev server #307

Open
jluebeck opened this issue Dec 2, 2024 · 2 comments
Open

Add notice to dev server #307

jluebeck opened this issue Dec 2, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@jluebeck
Copy link
Member

jluebeck commented Dec 2, 2024

A recent study which utilized AmpliconRepository somehow cited the dev server as the source of their calls (perhaps they found it on Github?) Regardless, this is definitely a mistake and we do not want people somehow ending up there because we don't guarantee the data hosted on dev is the 'correct' version of a project (CCLE, TCGA, etc.).

Proposed solution: when landing on dev.ampliconrepository.org, a pop-up or overlay (something much more obvious than a notification banner at the top of the page) appears to tell the that they are on the dev server and they can either "Redirect to AmpliconRepository.org" or "Continue using dev server".

Even better, users must log in to even see anything on dev (only specific people can access it), but I think this is more engineering.

image

https://www.sciencedirect.com/science/article/pii/S2001037024003829#sec0010

@jluebeck jluebeck added the enhancement New feature or request label Dec 2, 2024
@jluebeck
Copy link
Member Author

jluebeck commented Dec 5, 2024

Add a banner message to dev, which is blank on prod, notifying users they are on the dev server and they should go to AmpliconRepository.org for data.

Use settings.py variable which indicates if site is dev or prod.

@jluebeck
Copy link
Member Author

jluebeck commented Jan 9, 2025

Ted to add something to config.sh that passes to settings.py a banner to warn users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant