Page MenuHomePhabricator

[lib/native/web] refactor notif permission alert info reducer
ClosedPublic

Authored by ginsu on Apr 7 2024, 8:36 PM.
Tags
None
Referenced Files
F3391549: D11568.diff
Sat, Nov 30, 4:38 AM
Unknown Object (File)
Tue, Nov 26, 9:32 PM
Unknown Object (File)
Sun, Nov 24, 12:17 AM
Unknown Object (File)
Sun, Nov 3, 8:22 AM
Unknown Object (File)
Oct 12 2024, 8:50 PM
Unknown Object (File)
Oct 12 2024, 8:50 PM
Unknown Object (File)
Oct 12 2024, 8:50 PM
Unknown Object (File)
Oct 12 2024, 8:50 PM
Subscribers

Details

Summary

This diff refactors the notif permission alert info reducer => alert info reducer. Aside from just renaming the reducer, the reducer now returns an AlertStore instead of just an AlertInfo

Please note this diff + subsequent diffs won't be landed until the migration diff which will be introduced here shortly

Linear task: https://linear.app/comm/issue/ENG-7619/rename-all-the-notifpermissionalertinfo-⇒-alertinfo + https://linear.app/comm/issue/ENG-7621/refactor-reducenotifpermissionalertinfo-to-handle-a-mapping-of-alert

Depends on D11567

Test Plan

flow + confirmed the redux state using the redux dev tools and that the existing push notif permission alert still functions as expected

web:

Screenshot 2024-04-07 at 11.42.37 PM.png (288×1 px, 63 KB)

native:

Screenshot 2024-04-07 at 11.49.24 PM.png (110×644 px, 26 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Apr 7 2024, 8:38 PM
Harbormaster failed remote builds in B28034: Diff 38880!
ginsu edited the test plan for this revision. (Show Details)
ginsu edited the test plan for this revision. (Show Details)

update

ginsu edited the summary of this revision. (Show Details)
Harbormaster returned this revision to the author for changes because remote builds failed.Apr 7 2024, 8:56 PM
Harbormaster failed remote builds in B28035: Diff 38881!
ginsu requested review of this revision.Apr 7 2024, 8:56 PM

will make sure ci passes before landing

This revision is now accepted and ready to land.Apr 8 2024, 6:27 AM

rebase + confirm ci passes