We want to make sure that we're handling siweAuthActionTypes.success everywhere there's a logInActionTypes.success check to ensure we're matching the existing login behavior.
Depends on D6085
Differential D6086
[lib] Add `siweAuthActionTypes.success` check everywhere there's a `logInActionTypes.success` check atul on Dec 29 2022, 1:24 AM. Authored by Tags None Referenced Files
Subscribers None
Details We want to make sure that we're handling siweAuthActionTypes.success everywhere there's a logInActionTypes.success check to ensure we're matching the existing login behavior. Depends on D6085 Will be tested implicitly by subsequent diffs. Won't land until login/registration working end to end. Known issue: SIWE registration leads to client in correct state, subsequent SIWE login has missing threadInfos. Currently investing.
Diff Detail
Event TimelineComment Actions Sounds reasonable. But now I'm wondering if introducing new action was a good idea. Maybe dispatching the old action (possibly with a new field e.g. type) might be easier? I don't think we should change it now, though. Comment Actions My understanding is that there's usually a 1:1 relationship between endpoints and actions? There could definitely be "1 action to many endpoints" relationships in the codebase, but I didn't look too hard. Comment Actions I think that there's nothing which stops introducing 1:N relationship, but it might make the code more fragile and less readable, so let's keep this solution. |