-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENG-1210] Navigate to location after adding it #1454
Conversation
ENG-1210 Redirect users to new locations once added (as long as they're not in the settings page)
The settings page rule comes from the fact that the user may be bulk-adding new locations, and having to navigate back and forth would be a nightmare. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Ignored Deployments
|
I feel like the checkbox should be on the left side of the label |
I'm not a UI dev so I'm not too sure, there's a bug with this branch anyway - hence why it's drafted. |
Gotta give @ameer2468 the credit for this one, he did the heavy lifting, I just added a checkbox and returned a value from the backend. Nice job man, it works great 🔥 |
In the image below you can see the new checkbox, it is enabled by default. The mutation now returns the new location ID, which we pass back to the caller and navigate to (if the checkbox was selected).
This does indeed navigate to the location, but it does so before the indexer is invoked and therefore is entirely empty. @spacedriveapp/frontend, if you have any free time, please could you take a look at this?