From 9aaa52136c08bf64940bc9e7e7826a3a5270da07 Mon Sep 17 00:00:00 2001 From: ayush-chauhan233 Date: Tue, 11 Feb 2025 21:16:06 +0530 Subject: [PATCH] [MM-61683]: Ensure radio button groups are properly formed (#30013) * MM-61683: Ensure radio button groups are properly formed * MM-61683: Fix the failing i18 CI * MM-61683: Fix desktop notification translation IDs * MM-61683: Fix lint-style * MM-61683: Update name attribute inside channel notification modal Add aria-label inside RadioSettingItem Update snapshot * MM-61683: Revert creating a constant for default messages and id * MM-61683: Add legend tag inside radio setting item component * MM-61683: Update snapshot --------- Co-authored-by: Saurabh Sharma Co-authored-by: Mattermost Build --- .../channel_notifications_modal.test.tsx.snap | 66 +++-- .../channel_notifications_modal.tsx | 32 +-- .../channel_notifications_modal/utils.tsx | 252 +++++++++--------- .../modals/components/radio_setting_item.tsx | 7 +- 4 files changed, 195 insertions(+), 162 deletions(-) diff --git a/webapp/channels/src/components/channel_notifications_modal/__snapshots__/channel_notifications_modal.test.tsx.snap b/webapp/channels/src/components/channel_notifications_modal/__snapshots__/channel_notifications_modal.test.tsx.snap index 3379dbf451..e9cef16198 100644 --- a/webapp/channels/src/components/channel_notifications_modal/__snapshots__/channel_notifications_modal.test.tsx.snap +++ b/webapp/channels/src/components/channel_notifications_modal/__snapshots__/channel_notifications_modal.test.tsx.snap @@ -201,6 +201,11 @@ Object {
+ + Notify me about… +