Feature #18368
closedNotification banner
Added by Peter Amstutz about 3 years ago. Updated 7 months ago.
Description
Ability to tell the user about system maintenance. Want a banner on workbench2.
A very simple implementation could be a public config item exported by Controller where an admin can populate a message to be shown to user, e.g. "we are aware of performance issues and are investigating a fix" or "scheduled maintenance on Saturday November 29th 21:00-23:00, Arvados will be unavailable".
Display of the banner could be one of (TBD):
Box at the top of the screen, which pushes the content down until it is dismissedthis is going to difficult with the existing layout, some things are fixed number of pixels from the top- Dialog overlay that pops up when the app is loaded, which must be dismissed
Could add a menu item to the "notification" menu which brings the message back after being dismissed.
Assume data will come from a URL which will be part of the public config.
The URL body will have HTML which should be rendered inside the banner box.
Files
clipboard-202211091731-wte8s.png (320 KB) clipboard-202211091731-wte8s.png | Daniel Kutyła, 11/09/2022 04:31 PM |
Related issues
Updated by Peter Amstutz about 3 years ago
- Category changed from Workbench to Workbench2
- Subject changed from Notification banner to Notification banner
Updated by Ward Vandewege about 3 years ago
- Related to Bug #18371: Handle unreachable API server better on startup added
Updated by Moritz Gilsdorf over 2 years ago
Another use case similar to this would be to permanently display a disclaimer on specific environments. E.g. some users are not able to distinguish between our dev/test environment and upload production data. The banner could inform them permanently that this is a dev/test environment.
Updated by Peter Amstutz over 2 years ago
- Related to Idea #7469: [Workbench] Provide an interface for the sysadmin to set Dashboard banner content added
Updated by Peter Amstutz over 2 years ago
- Related to Idea #7468: [Workbench] Displays content at the top of the dashboard, set by the sysadmin added
Updated by Peter Amstutz over 2 years ago
- Related to deleted (Idea #7469: [Workbench] Provide an interface for the sysadmin to set Dashboard banner content)
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-07-20 to 2022-08-03 Sprint
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-08-03 Sprint to 2022-08-31 sprint
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-08-31 sprint to 2022-09-14 sprint
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-09-14 sprint to 2022-08-31 sprint
Updated by Peter Amstutz about 2 years ago
- Target version changed from 2022-08-31 sprint to 2022-09-14 sprint
Updated by Peter Amstutz about 2 years ago
- Target version changed from 2022-09-14 sprint to 2022-09-28 sprint
Updated by Peter Amstutz about 2 years ago
- Target version changed from 2022-09-28 sprint to 2022-10-12 sprint
Updated by Peter Amstutz about 2 years ago
- Target version changed from 2022-10-12 sprint to 2022-10-26 sprint
Updated by Peter Amstutz about 2 years ago
18368-workbench-banner-config @ 3a21e39416ea3fadc795f52b77e68b36d55436ed
- Add Workbench.BannerURL config option
Updated by Lucas Di Pentima about 2 years ago
18368-workbench-banner-config LGTM, thanks.
Updated by Peter Amstutz about 2 years ago
- Status changed from New to In Progress
Updated by Peter Amstutz about 2 years ago
- Target version changed from 2022-10-26 sprint to 2022-11-09 sprint
Updated by Peter Amstutz about 2 years ago
- Target version changed from 2022-11-09 sprint to 2022-11-23 sprint
Updated by Peter Amstutz about 2 years ago
Danny will add a screenshot, need to iterate on the design.
Updated by Daniel Kutyła about 2 years ago
Updated by Peter Amstutz about 2 years ago
Add an explicit close button [x]
slight transparency: 90% or 80% opacity
Different background color.
Consider using dialog box control, or integrating better into layout so it doesn't cover anything up.
Updated by Peter Amstutz almost 2 years ago
From discussion with Moritz:
- For now, use the plain dialog box control for the overlay.
- Load HTML from the config URL and injects it as raw HTML into the content of the box (it is the responsibility of the user for it to be well formed, we're assuming only admins are allowed to set the contents.)
- When dialog box is dismissed, record in local storage that the dialog box was displayed.
- It should record the URL, the date, and the ETag from the request headers
- On reloading the app: If the local storage says the dialog box was previously shown, check the URL and headers in local storage. If the URL, date or ETag has changed, redisplay the dialog. If not, suppress it.
- There should be a menu item (perhaps under the bell "notify" menu) which redisplays the dialog.
Updated by Peter Amstutz almost 2 years ago
- Target version changed from 2022-11-23 sprint to 2022-12-07 Sprint
Updated by Daniel Kutyła almost 2 years ago
New version: https://dev.arvados.org/projects/arvados/repository/arvados-workbench2/revisions/2cec626e679d593d5b208a0807b391ab978e0e9d
Test run: developer-tests-workbench2: #1047
Branch: 18368-notification-banner
First implementation
Updated by Peter Amstutz almost 2 years ago
ok, I finally updated the Arvados config to use BannerUUID instead of BannerURL, I took another look at the banner branch, it looks good, please merge
Updated by Daniel Kutyła almost 2 years ago
- Status changed from In Progress to Resolved
Applied in changeset arvados-workbench2|b676312f840c3f12855a4392afe90b275dd25b97.