HomePhabricator
Diffusion Comm 8fdf7bae1900

[web] Dispatch SET_DATA_LOADED action after SIWE completes

Description

[web] Dispatch SET_DATA_LOADED action after SIWE completes

Summary:
We want to prevent siweAuthActionTypes.success from directly setting dataLoaded, so that in the new registration flow on native we can defer LoggedOutModal and RegistrationNavigator from being dismissed until after the avatar server call completes.

Instead of having siweAuthActionTypes.success directly set dataLoaded, we'll use this new action instead. A later diff will update reduceDataLoaded so that siweAuthActionTypes.success no longer affects it.

Depends on D8107

Test Plan: Tested registration (SIWE and otherwise) flows on native and web

Reviewers: atul, ginsu

Reviewed By: atul

Subscribers: tomek

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

Details

Provenance
ashoatAuthored on Jun 5 2023, 8:25 AM
Reviewer
atul
Differential Revision
D8108: [web] Dispatch SET_DATA_LOADED action after SIWE completes
Parents
rCOMMe2afd44c93a1: [lib] Introduce new SET_DATA_LOADED action
Branches
Unknown
Tags
Unknown