]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-23649 Support new notification in my account
authorViktor Vorona <viktor.vorona@sonarsource.com>
Thu, 21 Nov 2024 10:23:15 +0000 (11:23 +0100)
committersonartech <sonartech@sonarsource.com>
Tue, 26 Nov 2024 20:02:50 +0000 (20:02 +0000)
server/sonar-web/src/main/js/apps/account/__tests__/Account-it.tsx
server/sonar-web/src/main/js/types/notifications.ts
sonar-core/src/main/resources/org/sonar/l10n/core.properties

index 4d979dfc1b041549412b717d1d850bd124ae5966..c58397fa3ead31b5ded7f673f9c0d92960d7e5b9 100644 (file)
@@ -515,6 +515,9 @@ describe('notifications page', () => {
     expect(globalUI.checkbox(NotificationGlobalType.CeReportTaskFailure).get()).not.toBeChecked();
     expect(globalUI.checkbox(NotificationGlobalType.NewAlerts).get()).not.toBeChecked();
     expect(globalUI.checkbox(NotificationGlobalType.MyNewIssues).get()).not.toBeChecked();
+    expect(
+      globalUI.checkbox(NotificationGlobalType.QualityGateConditionsMismatch).get(),
+    ).not.toBeChecked();
 
     /*
      * Update notifications
index f2b4be006c12bd69a25984afc1e21c2e1477c0c6..9e25685f10329cc80b2466b71e636c7929074c80 100644 (file)
@@ -23,6 +23,7 @@ export enum NotificationGlobalType {
   ChangesOnMyIssue = 'ChangesOnMyIssue',
   NewAlerts = 'NewAlerts',
   MyNewIssues = 'SQ-MyNewIssues',
+  QualityGateConditionsMismatch = 'QualityGateConditionsMismatch',
 }
 
 export enum NotificationProjectType {
index d36cc894036f977ba104542a439c74ee61326054..de02b9536b6765ea950644f498fc7ea771d13488 100644 (file)
@@ -2973,6 +2973,7 @@ notification.dispatcher.NewAlerts=Quality gate changes on all available projects
 notification.dispatcher.NewAlerts.project=Quality gate changes
 notification.dispatcher.NewFalsePositiveIssue=Issues resolved as false positive or accepted
 notification.dispatcher.SQ-MyNewIssues=My new issues
+notification.dispatcher.QualityGateConditionsMismatch=Quality gate metrics mismatch with the mode of the instance
 notification.dispatcher.CeReportTaskFailure=Background tasks in failure on my administered projects
 notification.dispatcher.CeReportTaskFailure.project=Background tasks in failure
 notification.dispatcher.description_x=Check to receive notification for {0}