Page MenuHomePhabricator

[lib/native/web] introduce alert types
ClosedPublic

Authored by ginsu on Apr 7 2024, 8:21 PM.
Tags
None
Referenced Files
F3391263: D11567.diff
Sat, Nov 30, 3:01 AM
Unknown Object (File)
Wed, Nov 27, 1:57 AM
Unknown Object (File)
Wed, Nov 27, 1:49 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 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
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Apr 7 2024, 8:23 PM
Harbormaster failed remote builds in B28033: Diff 38879!
ginsu requested review of this revision.Apr 7 2024, 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

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

This revision is now accepted and ready to land.Apr 8 2024, 6:18 AM
lib/reducers/notif-permission-alert-info-reducer.js
7

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.