Make notification settings copy/layout more user-friendly (#34120)

* Make notification settings copy/layout more user-friendly and closer to EX.

* Fix E2E tests.
This commit is contained in:
mxandreas
2026-07-15 13:05:14 +00:00
committed by GitHub
parent 7bc822fae1
commit c2139f1987
4 changed files with 3 additions and 3 deletions
@@ -532,7 +532,7 @@ test.describe("Room list", () => {
await app.viewRoomById(roomId);
await app.settings.openRoomSettings("Notifications");
await page.getByText("Off").click();
await page.getByText("Mute").click();
await app.settings.closeDialog();
const room = roomListView.getByRole("option", { name: "silent" });
Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

After

Width:  |  Height:  |  Size: 114 KiB

@@ -89,9 +89,9 @@ const RULE_DISPLAY_ORDER: string[] = [
RuleId.EncryptedMessage,
// Mentions
RuleId.ContainsDisplayName,
RuleId.ContainsUserName,
RuleId.AtRoomNotification,
RuleId.ContainsDisplayName,
// Other
RuleId.InviteToSelf,
@@ -231,7 +231,7 @@ export default class NotificationsSettingsTab extends React.Component<IProps, IS
value: RoomNotifState.Mute,
label: (
<>
{_t("common|off")}
{_t("common|mute")}
<div className="mx_NotificationSettingsTab_microCopy">
{_t("notifications|mute_description")}
</div>