Closed joewagner closed 6 months ago
When I create a project, the submit button becomes disabled while the project is being created. After that the submit button becomes active again and all of the form values from the created project remain in place. I am free to click create again for \~1-3 seconds. After a few seconds, assuming I haven't taken any additional actions, I get redirected to the project's page. This feels like a performance issue, but also an issue we can mitigate by keeping the form disabled until after the redirect happens. We could also clear the form after the project is created, and before re-enabling the submit button.
This PR was not deployed automatically as @joewagner does not have access to the Railway project.
In order to get automatic PR deploys, please add @joewagner to your team on Railway.
fixes: https://linear.app/tableland/issue/ENG-815/when-i-create-a-project-i-can-easily-submit-the-same-project-twice
note: looks like main is ahead of staging after the pagination bug fix. This PR came off the tip of main, so those changes are in here.