-
Notifications
You must be signed in to change notification settings - Fork 9
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 a mechanism for custom message in home app (for demo server) #184
Comments
We discussed to just have a generic functionality to show a warning message in a yellow box if a file with given name is in a given location (e.g. ~/.aiidalab/warning.md). This is very general, then in the AiiDAlab demo deployment, we make sure that the file is present in that location. |
The content of the md should be: Welcome to the AiiDAlab demo server! IMPORTANT DISCLAIMER: This server has limited resources and is intended for demonstration purposes only. If this is your first time here, you can start by submitting a new Quantum ESPRESSO calculation using the buttons below! |
I added a recommendation for the "fast" protocol. Welcome to the AiiDAlab demo server! IMPORTANT DISCLAIMER: This server has limited resources and is intended for demonstration purposes only. The server is reset to its initial state every few days, erasing all user data. Please do not store any important files or data here. The available resources per user are optimized for simple bulk calculations using the "fast" protocol. More complex simulations may take a long time and could block your user instance. If this is your first visit, you can get started by submitting a new Quantum ESPRESSO calculation using the buttons below! |
To clarify (for the purposes of Edan's PR), this is meant to be displayed in the home app, correct? "buttons below" in this context sounds a bit vague (since users still need to open the QeApp?). |
Hi! I think you have been tagging the wrong Edan. Cool project though! |
Oh no, I am so sorry! This is what happens when one comments on Github late at night. :-) |
related to #54 ? |
Pinging @giovannipizzi Thanks for tagging this @yakutovicha. Indeed, this could be used to cover already the demo-server AND first-time-user notifications. Perhaps we should consider integrating this into the very top of ANY app, including the home app. This will could then truly be a general user-notification system. If we do so, we may want to consider if it should be independent of other top-level warnings, such as bug reports. I think for now maybe it's best we push ahead with something simpler for the upcoming release. But we should indeed look into this sooner than later, to avoid deviations with other developments. |
Add demo message (message saying that we are in a demo, how long data is kept, …) in AiiDAlab home (initial page with ‘File manager’ ‘Terminal’ … QEapp logo [Jason and Edan] [copied above]
Make sure the default guide/tutorial is on, in the demo server. [Edan Jason Xing]
The text was updated successfully, but these errors were encountered: