Skip to content

Conversation

@joshuaellis
Copy link
Member

@joshuaellis joshuaellis commented Oct 28, 2025

Description

In #651 we added a nice fallback for if the project user couldn't be found, with the addition of https://github.com/sanity-io/ada/pull/2013 any app can summon the request access flow for a particular few type of resources. Currently quite restricted i've not made a dedicated hook for users to consume yet but inlined the work as a POC.

What to review

  • Should I have made a new hook?
  • Is calling the useWindowConnection hook in the LoginError okay? my understanding is that the hook will suspend the app until a connection is found...

Testing

Fun gif

Eric Andre GIF

@vercel
Copy link

vercel bot commented Oct 28, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
sdk-docs Ready Ready Preview Comment Oct 28, 2025 5:53pm
sdk-kitchensink-react Ready Ready Preview Comment Oct 28, 2025 5:53pm

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant