Task #18368
closed
Arvados Workbench 2 - Feature #19841: New WB2 Features
Notification banner
Added by Peter Amstutz about 3 years ago.
Updated 8 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 dismissed this 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
- Subject changed from Notification banner to Notification banner
- Category changed from Workbench to Workbench2
- Description updated (diff)
- Related to Bug #18371: Handle unreachable API server better on startup added
- Description updated (diff)
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.
- Target version set to 2022-07-20
- Related to Story #7469: [Workbench] Provide an interface for the sysadmin to set Dashboard banner content added
- Related to Story #7468: [Workbench] Displays content at the top of the dashboard, set by the sysadmin added
- Related to deleted (Story #7469: [Workbench] Provide an interface for the sysadmin to set Dashboard banner content)
- Description updated (diff)
- Description updated (diff)
- Target version changed from 2022-07-20 to 2022-08-03 Sprint
- Target version changed from 2022-08-03 Sprint to 2022-08-31 sprint
- Target version changed from 2022-08-31 sprint to 2022-09-14 sprint
- Target version changed from 2022-09-14 sprint to 2022-08-31 sprint
- Assigned To set to Daniel Kutyła
- Description updated (diff)
- Target version changed from 2022-08-31 sprint to 2022-09-14 sprint
- Description updated (diff)
- Description updated (diff)
- Target version changed from 2022-09-14 sprint to 2022-09-28 sprint
- Target version changed from 2022-09-28 sprint to 2022-10-12 sprint
- Target version changed from 2022-10-12 sprint to 2022-10-26 sprint
18368-workbench-banner-config LGTM, thanks.
- Status changed from New to In Progress
- Target version changed from 2022-10-26 sprint to 2022-11-09 sprint
- Target version changed from 2022-11-09 sprint to 2022-11-23 sprint
Danny will add a screenshot, need to iterate on the design.
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.
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.
- Target version changed from 2022-11-23 sprint to 2022-12-07 Sprint
- Parent task set to #19841
- Estimated time set to 0.00 h
- % Done changed from 50 to 100
- Status changed from In Progress to Resolved
Also available in: Atom
PDF