Page MenuHomePhabricator

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

Authored by ginsu on Sun, Apr 7, 8:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 27, 8:22 AM
Unknown Object (File)
Sun, Apr 21, 1:38 AM
Unknown Object (File)
Fri, Apr 19, 12:35 PM
Unknown Object (File)
Wed, Apr 17, 2:12 PM
Unknown Object (File)
Tue, Apr 16, 1:13 PM
Unknown Object (File)
Mon, Apr 15, 10:54 PM
Unknown Object (File)
Mon, Apr 15, 12:24 PM
Unknown Object (File)
Sun, Apr 14, 12:30 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.Sun, Apr 7, 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.Sun, Apr 7, 8:56 PM
Harbormaster failed remote builds in B28035: Diff 38881!
ginsu requested review of this revision.Sun, Apr 7, 8:56 PM

will make sure ci passes before landing

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

rebase + confirm ci passes