fix: remove "Reset notifications" button#26641
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
3c00064 to
cdcf862
Compare
|
I have read the CLA Document and I hereby sign the CLA |
daf068d to
40d2e40
Compare
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
The notification E2E tests (tagged with SmokeNetworkAbstractions) test the notification settings flow including:
These tests do NOT test the "Reset Notifications" button being removed, so they should pass. However, since the NotificationsSettings screen is modified (button removed), running SmokeNetworkAbstractions tests ensures the settings screen still renders and functions correctly after this removal. This is a low-risk change because:
Performance Test Selection: |
Description
This PR removes the "Reset notifications" button which is not needed anymore, and it's currently broken anyway.
Translation strings are also removed.
Changelog
CHANGELOG entry: Removed "Reset notifications" button from notifications list
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Primarily removes dead/broken UI and navigation wiring; main risk is missing a remaining reference to the removed route/string, but changes are otherwise non-functional.
Overview
Removes the broken “Reset notifications” entry from notification settings by deleting the
ResetNotificationsButton, theResetNotificationsModalbottom sheet, and their associated tests/snapshots.Cleans up navigation by removing
Routes.SHEET.RESET_NOTIFICATIONSand its route typing, and deletes related i18n strings across supported languages; also stabilizesuseNotificationshook tests by properly mockingusePushNotificationsToggleand clearing mocks between tests.Written by Cursor Bugbot for commit 3be27b9. This will update automatically on new commits. Configure here.