You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to have some kind of notification systems that automatically informs users of upcoming events, maintenance periods, upcoming changes to the platform, or anything else that is noteworthy.
I imagine some kind of banner at the top that can potentially be closed by users. The way that I imagine the implementation is that we add notifications to the registry that are specific to the domain, a time period, and potentially, some other user condition (e.g. checking for the existence for certain paths or so), and which the home app then automatically checks for at start up and presents to the user.
Here is a draft for how such a registry entry could look like:
There could be an optional "condition" object, that could be used for checks. I imagine that we implement certain checks that can be made, package version, existence of a specific file etc.
The message should be accepted in (sanitized) HTML format to make it easy to customize notifications and embed images etc.
The text was updated successfully, but these errors were encountered:
This PR adds a hard-coded path for displaying a notification widget between the home controls and the app accordion. The mechanism detects if `/home/jovyan/.aiidalab/home_app_warning.md` is present, and if so, displays its contents in a `Markdown` widget.
As mentioned, the present mechanism is hard-coded in this implementation. However, a more flexible system (see #54) is soon to be discussed to expand the concept of user notifications beyond the home app and with a more general scope.
Thanks to @danielhollas for assisting with authoring a test :)
---------
Co-authored-by: Daniel Hollas <[email protected]>
It would be good to have some kind of notification systems that automatically informs users of upcoming events, maintenance periods, upcoming changes to the platform, or anything else that is noteworthy.
I imagine some kind of banner at the top that can potentially be closed by users. The way that I imagine the implementation is that we add notifications to the registry that are specific to the domain, a time period, and potentially, some other user condition (e.g. checking for the existence for certain paths or so), and which the home app then automatically checks for at start up and presents to the user.
Here is a draft for how such a registry entry could look like:
Defaults would be:
Additional notes:
The text was updated successfully, but these errors were encountered: