Page MenuHomePhabricator

[lib/native/web] introduce alert types
ClosedPublic

Authored by ginsu on Apr 7 2024, 8:21 PM.
Tags
None
Referenced Files
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
Unknown Object (File)
Oct 12 2024, 8:49 PM
Unknown Object (File)
Oct 3 2024, 6:34 AM
Unknown Object (File)
Oct 3 2024, 5:43 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.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 ↗(On Diff #38879)

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 ↗(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.