Repository navigation
Support basic server-side notification settings - #2493
rajveermalviya wants to merge 2 commits into
Conversation
a5a085d to
0c48fef
Compare
Ruhdee
left a comment
There was a problem hiding this comment.
@rajveermalviya Thank you! LGTM, except for one small change.
| const title = 'Notifications when offline'; | ||
| await prepareNotificationSettingsPage(tester); | ||
| String? reportedError; | ||
| reportErrorToUserBriefly = (message, {details}) => reportedError = message; |
There was a problem hiding this comment.
| reportErrorToUserBriefly = (message, {details}) => reportedError = message; | |
| reportErrorToUserBriefly = (message, {details}) => reportedError = message; | |
| addTearDown(() => reportErrorToUserBriefly = defaultReportErrorToUserBriefly); |
Right now, this test is the last one in the file so the absence of a teardown doesn't cause failures.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0c48fef to
3765d6d
Compare
Fixes zulip#661. The labels are the legacy app's. The page is styled like the rest of the settings UI, pending its redesign in zulip#1375. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3765d6d to
5c62032
Compare
|
Thanks for the review @Ruhdee! Pushed an update, PTAL. |
There was a problem hiding this comment.
Thank you! The localization string name changes make sense. As for the suggestion I made earlier, it's good that you didn't apply it. It is not needed because prepareNotificationSettingsPage calls testBinding.reset, which indirectly resets the reportErrorToUserBriefly callback. Some other places in the code (like this) include redundant teardowns. This could be a future cleanup; it's not relevant to this PR.
LGTM; moving to integration review.
Fixes #661.