Page MenuHomePhabricator

[lib/native/web] introduce alert types
ClosedPublic

Authored by ginsu on Sun, Apr 7, 8:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 23, 3:07 AM
Unknown Object (File)
Mon, Apr 22, 5:23 PM
Unknown Object (File)
Sun, Apr 21, 7:10 AM
Unknown Object (File)
Tue, Apr 16, 2:04 PM
Unknown Object (File)
Sun, Apr 14, 6:43 PM
Unknown Object (File)
Sun, Apr 14, 12:23 PM
Unknown Object (File)
Sat, Apr 13, 6:44 AM
Unknown Object (File)
Fri, Apr 12, 9:41 AM
Subscribers

Details

Summary

This diff introduces the alert info + alert store types and starts to refactor + rename notifPermissionAlertInfo => alertInfo.

Please note that some of the renaming is not done yet. This is because we also need to do some refactoring to turn the notif permission alert info reducer to be the alert info reducer before we can change the variable names in some instances.

Linear task: https://linear.app/comm/issue/ENG-7620/introduce-alertinfos-alertinfostore-type

Depends on D11598

Test Plan

flow

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:23 PM
Harbormaster failed remote builds in B28033: Diff 38879!
ginsu requested review of this revision.Sun, Apr 7, 8:24 PM
ginsu edited the summary of this revision. (Show Details)
ginsu added reviewers: atul, inka.

will make sure ci passes before landing

atul added inline comments.
lib/reducers/notif-permission-alert-info-reducer.js
7 ↗(On Diff #38879)

Should we also change name of reduce* function? What about the filename?

This revision is now accepted and ready to land.Mon, Apr 8, 6:18 AM
lib/reducers/notif-permission-alert-info-reducer.js
7 ↗(On Diff #38879)

Actually makes sense that you're just handling types in this diff.

rebase before landing + make sure ci passes

This revision was automatically updated to reflect the committed changes.