kruscho opened a new issue, #4744:
URL: https://github.com/apache/streampipes/issues/4744

   ### Apache StreamPipes version
   
   dev (current development state)
   
   ### Affected StreamPipes components
   
   UI
   
   ### What happened?
   
   **Type:** Feature Request
   
   ### Description
   StreamPipes currently has no built-in way to display a global, 
admin-configured message banner to users. This would be useful for 
communicating maintenance windows, planned downtime, deprecation notices, or 
general announcements — including on dashboards running in Kiosk Mode, where 
users otherwise have no visibility into such messages.
   
   ### Proposed Feature
   - Displayed on **all pages** of the UI, including **Kiosk Mode** dashboards.
   - Admin can configure a **custom text message** to display in the banner.
   - Admin can configure the **banner color** (e.g. via a color picker or 
predefined severity levels like info/warning/critical).
   - Can be enabled/disabled by an admin at any time.
   
   ### Nice to Have
   - A **scheduled auto-disable timer**: the admin sets an expiry timestamp, 
after which the banner is automatically hidden without manual intervention 
(useful for time-boxed notices like "Maintenance from 22:00–23:00").
   
   ### Suggested Implementation Notes
   - Backend: a settings entity (e.g. `BannerConfig`) with fields `enabled`, 
`text`, `color`, `expiresAt` (nullable), persisted similarly to other global 
configuration entities.
   - Frontend: a shared banner component injected at the top-level app shell 
(so it renders regardless of route, including Kiosk Mode), which polls or 
subscribes to the config and hides itself once `expiresAt` has passed.
   - Admin UI: a settings page/section for configuring the banner (text field, 
color picker, optional datetime picker for expiry, enable/disable toggle).
   
   ### Motivation / Use Cases
   - Announcing planned maintenance or upgrades to all users, including those 
watching read-only Kiosk dashboards on shopfloor displays.
   - Communicating incidents or degraded service status in real time.
   - Reducing reliance on out-of-band communication (email/Slack) for 
operational notices relevant to whoever is currently looking at StreamPipes.
   
   ### Acceptance Criteria
   - [ ] Admin can enable/disable a banner from a settings page.
   - [ ] Admin can set banner text.
   - [ ] Admin can set banner color.
   - [ ] Banner is visible on all standard pages.
   - [ ] Banner is visible in Kiosk Mode.
   - [ ] (Nice to have) Admin can set an expiry timestamp after which the 
banner auto-hides.
   
   ### How to reproduce?
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional technical information
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   None


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to