GYU: Account Notification Settings (#11008)
* Implement new notification settings UI * Sort new keywords at the front * Make ts-strict happier * Make ts-strict happier * chore: fixed lint issues * update beta card * Fix issue with the user settings test * chore: fixed lint issues * Add tests for notification settings * chore: fixed lint issues * fix: spurious text failures * improve tests further * make ts-strict happier * improve tests further * Reduce uncovered conditions * Correct snapshot * even more test coverage * Fix an issue with inverted rules * Update res/css/views/settings/tabs/_SettingsIndent.pcss Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com> * Fix license headers * Improve i18n * make linters happier * Improve beta labels * improve i18n * chore: fixed lint issues * fix: more lint issues * Update snapshots to match changed text * Update text as requested * Remove labs image * Update snapshots * Correct an issue with one of the tests * fix: keyword reconcilation code * Determine mute status more accurately * Address review comments * Prevent duplicate updates * Fix missing license header * slight change to avoid ts-strict complaining * fix test issue caused by previous merge --------- Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
95283d21bb
commit
f62fe2626c
25 changed files with 3797 additions and 33 deletions
|
@ -94,6 +94,7 @@ export enum LabGroup {
|
|||
export enum Features {
|
||||
VoiceBroadcast = "feature_voice_broadcast",
|
||||
VoiceBroadcastForceSmallChunks = "feature_voice_broadcast_force_small_chunks",
|
||||
NotificationSettings2 = "feature_notification_settings2",
|
||||
OidcNativeFlow = "feature_oidc_native_flow",
|
||||
}
|
||||
|
||||
|
@ -229,6 +230,28 @@ export const SETTINGS: { [setting: string]: ISetting } = {
|
|||
requiresRefresh: true,
|
||||
},
|
||||
},
|
||||
[Features.NotificationSettings2]: {
|
||||
isFeature: true,
|
||||
labsGroup: LabGroup.Experimental,
|
||||
supportedLevels: LEVELS_FEATURE,
|
||||
displayName: _td("New Notification Settings"),
|
||||
default: false,
|
||||
betaInfo: {
|
||||
title: _td("Notification Settings"),
|
||||
caption: () => (
|
||||
<>
|
||||
<p>
|
||||
{_t(
|
||||
"Introducing a simpler way to change your notification settings. Customize your %(brand)s, just the way you like.",
|
||||
{
|
||||
brand: SdkConfig.get().brand,
|
||||
},
|
||||
)}
|
||||
</p>
|
||||
</>
|
||||
),
|
||||
},
|
||||
},
|
||||
"feature_exploring_public_spaces": {
|
||||
isFeature: true,
|
||||
labsGroup: LabGroup.Spaces,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue