Files
Дамян Минков b576a7f607 feat(system-wide-user-notification): show a notification configured in config.js (#17946)
* feat(branding-notification): show a deploy-specific notification once

A deployment can override extraConstants.ts to show a sticky notification
with a button that opens a link in the browser. The notification is shown
once per id; the id of the last one shown is kept in local storage.

* feat(branding-notification): keep showing it until the user hides it

Adds a "don't show again" button, with its label from the branding. Only
that button stores the id in local storage, so the notification is shown
on every join until the user clicks it.

* refactor(system-wide-user-notification): configure the notification in config.js

Renames the branding notification to the system-wide user notification
and moves its settings from a file which a branding overrides to the
systemWideUserNotification option in config.js. The texts are given by
language under labels, the way dynamic branding gives them, and are added
to the language bundles, so they fall back to English. The button labels
have defaults.

The notification is also shown on the welcome page, on web and mobile.

* refactor(system-wide-user-notification): drop the native welcome page notice

The notification is still shown in meetings on mobile. The welcome page
notice is web only.
2026-10-07 14:00:37 -05:00
..
2023-07-12 15:51:56 +03:00
2023-07-12 15:51:56 +03:00