diff options
author | Viktor Vorona <viktor.vorona@sonarsource.com> | 2024-11-20 17:38:49 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-11-26 20:02:50 +0000 |
commit | e7cfc7f04f41fa7dde069844cc80d710913cb63e (patch) | |
tree | 7cacc1b36353f5661dac17f4fa7f0a628a8de088 /server/sonar-webserver-webapi | |
parent | 25d891639704eee3fe00653f5f00e1519e76545e (diff) | |
download | sonarqube-e7cfc7f04f41fa7dde069844cc80d710913cb63e.tar.gz sonarqube-e7cfc7f04f41fa7dde069844cc80d710913cb63e.zip |
SONAR-23654 Mode Tour
Diffstat (limited to 'server/sonar-webserver-webapi')
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/DismissNoticeActionIT.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/DismissNoticeActionIT.java index 41d34bd5a07..39366ec4fec 100644 --- a/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/DismissNoticeActionIT.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/DismissNoticeActionIT.java @@ -79,7 +79,7 @@ public class DismissNoticeActionIT { .isInstanceOf(IllegalArgumentException.class) .hasMessage( "Value of parameter 'notice' (not_supported_value) must be one of: [educationPrinciples, sonarlintAd, issueCleanCodeGuide, qualityGateCaYCConditionsSimplification, " + - "overviewZeroNewIssuesSimplification, issueNewIssueStatusAndTransitionGuide, onboardingDismissCaycBranchSummaryGuide]"); + "overviewZeroNewIssuesSimplification, issueNewIssueStatusAndTransitionGuide, onboardingDismissCaycBranchSummaryGuide, showNewModesTour, showNewModesBanner]"); } @Test diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/user/ws/DismissNoticeAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/user/ws/DismissNoticeAction.java index cd6450fa0e2..2012a601f28 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/user/ws/DismissNoticeAction.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/user/ws/DismissNoticeAction.java @@ -45,7 +45,7 @@ public class DismissNoticeAction implements UsersWsAction { private static final String SHOW_NEW_MODES_BANNER = "showNewModesBanner"; protected static final List<String> AVAILABLE_NOTICE_KEYS = List.of(EDUCATION_PRINCIPLES, SONARLINT_AD, ISSUE_CLEAN_CODE_GUIDE, QUALITY_GATE_CAYC_CONDITIONS_SIMPLIFICATION, - OVERVIEW_ZERO_NEW_ISSUES_SIMPLIFICATION, ISSUE_NEW_ISSUE_STATUS_AND_TRANSITION_GUIDE, ONBOARDING_CAYC_BRANCH_SUMMARY_GUIDE); + OVERVIEW_ZERO_NEW_ISSUES_SIMPLIFICATION, ISSUE_NEW_ISSUE_STATUS_AND_TRANSITION_GUIDE, ONBOARDING_CAYC_BRANCH_SUMMARY_GUIDE, SHOW_NEW_MODES_TOUR, SHOW_NEW_MODES_BANNER); public static final String USER_DISMISS_CONSTANT = "user.dismissedNotices."; public static final String SUPPORT_FOR_NEW_NOTICE_MESSAGE = "Support for new notice '%s' was added."; |