You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/web/src/i18n/strings/en_EN.json
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1554,7 +1554,6 @@
1554
1554
"notification_settings_beta_caption": "Introducing a simpler way to change your notification settings. Customize your %(brand)s, just the way you like.",
@@ -60,6 +59,12 @@ export class ReleaseAnnouncementStore extends TypedEventEmitter<ReleaseAnnouncem
60
59
*/
61
60
privateindex=0;
62
61
62
+
/**
63
+
* Whether the release announcement is enabled. Useful to disable it in e2e tests.
64
+
* @private
65
+
*/
66
+
privateenabled=true;
67
+
63
68
/**
64
69
* The singleton instance of the ReleaseAnnouncementStore.
65
70
*/
@@ -94,11 +99,17 @@ export class ReleaseAnnouncementStore extends TypedEventEmitter<ReleaseAnnouncem
94
99
}
95
100
96
101
/**
97
-
* Check if the release announcement is enabled.
98
-
* @private
102
+
* Enable the release announcement. This will allow the release announcement to be shown when calling `getReleaseAnnouncement` or `nextReleaseAnnouncement`.
* Disable the release announcement. This will prevent the release announcement from being shown when calling `getReleaseAnnouncement` or `nextReleaseAnnouncement`.
110
+
*/
111
+
publicdisable(): void{
112
+
this.enabled=false;
102
113
}
103
114
104
115
/**
@@ -107,8 +118,7 @@ export class ReleaseAnnouncementStore extends TypedEventEmitter<ReleaseAnnouncem
107
118
*/
108
119
publicgetReleaseAnnouncement(): Feature|null{
109
120
// Do nothing if the release announcement is disabled
0 commit comments