HomePhabricator
Diffusion Comm c1de79d8d1b9

[lib/native/web] refactor recordNotifPermissionAlertActionType to…

Description

[lib/native/web] refactor recordNotifPermissionAlertActionType to recordAlertActionType

Summary:
This diff refactors recordNotifPermissionAlertActionType and into a more generic recordAlertActionType. I also updated the payload for this action to include the alert type so that the alert info reducer knows which alert info state in the alert store should be updated

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-7625/introduce-recordconnectfarcasteralertactiontype

Depends on D11599

Test Plan: flow + confirmed that the existing notif permission alert mechanism still works as expected

Reviewers: atul, inka

Reviewed By: atul

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D11600