We should get rid of CurrentUserPrompt::Redirect as part of the application state and emit events to the frontend instead that contain the redirect target as a payload. This decouples the data/state of the application from the current view/route.
Motivation
See above
Requirements
n/a
Open Questions
Can we still have "predictable" redirects if they're not tracked by the state anymore or will it become a mess?
Description
We should get rid of
CurrentUserPrompt::Redirect
as part of the application state and emit events to the frontend instead that contain the redirect target as a payload. This decouples the data/state of the application from the current view/route.Motivation
See above
Requirements
n/a
Open Questions
Can we still have "predictable" redirects if they're not tracked by the state anymore or will it become a mess?
Are you planning to contribute this in a PR?
Yes