homebase-app
homebase-app copied to clipboard
Proposal completion routing
Description (what needs to be done) / Expected Behavior After the proposal is created, the poll options modal should close by itself, and user should be routed directly to the proposal detail page.
Acceptance Criteria
Supporting information (Figma link, notes, etc)
When finished, please add Link to the PR or completed Figma / design asset, as a comment to the ticket.
The user cannot be directly redirected to the new proposal after being created - The backend does not return the proposal id. This is how it's working on Lite as well,
@EightRice and @fabiolalombardim , is there a different UX approach we can take here, such as a pop-up that lets the user know "Your proposal has been submitted, please visit the Proposals page to see your proposal." ?
if it's a latency issue, I would put a progress indicator in an infinite loop on the screen, while we wait for the request to return the proposal ID, and then redirect. And if it's not in the response, well we just make the backend return it. @Man-Jain