Skip to content
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

Merged
merged 17 commits into from
Oct 20, 2023

Conversation

brxken128
Copy link
Contributor

@brxken128 brxken128 commented Oct 10, 2023

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?

image

@brxken128 brxken128 requested review from a team as code owners October 10, 2023 16:27
@linear
Copy link

linear bot commented Oct 10, 2023

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.

@vercel
Copy link

vercel bot commented Oct 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
spacedrive-landing ⬜️ Ignored (Inspect) Visit Preview Oct 20, 2023 8:46pm
spacedrive-web ⬜️ Ignored (Inspect) Visit Preview Oct 20, 2023 8:46pm

@brxken128 brxken128 self-assigned this Oct 10, 2023
@brxken128 brxken128 marked this pull request as ready for review October 10, 2023 17:09
@brxken128 brxken128 marked this pull request as draft October 10, 2023 17:10
@PineappleRind
Copy link
Contributor

PineappleRind commented Oct 10, 2023

I feel like the checkbox should be on the left side of the label

@brxken128
Copy link
Contributor Author

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.

@brxken128 brxken128 added this pull request to the merge queue Oct 20, 2023
@ameer2468 ameer2468 removed this pull request from the merge queue due to a manual request Oct 20, 2023
@brxken128
Copy link
Contributor Author

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 🔥

@brxken128 brxken128 added this pull request to the merge queue Oct 20, 2023
Merged via the queue into main with commit cc72f54 Oct 20, 2023
@ameer2468 ameer2468 deleted the eng-1210-navigate-to-location branch October 20, 2023 21:59
@iLynxcat iLynxcat added kind/feature A new feature kind/improvement Changes to existing features and removed Feature labels Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature A new feature kind/improvement Changes to existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants