-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[ReactQueryDevtools] Handle in a better way the "close" button #3067
Comments
I like using the logo. Do you want to contribute this? |
Yes, 😊 |
I think the general idea was to have the react-query icon that opens the devtools also have it close the devtools. one advantage of the close button is that it appears at the same spot as the open button, so you can click to open and click to close in the same spot. However, I think the react-query logo can always also close the devtools, basically giving two ways to close it: the icon and the close button. Then, you can hide the close button with:
and you could still close them with the logo. That solves the initial issue that the close button overlaps with many queries. |
added button wrapper on react query logo which onClick closes devtools window closes TanStack#3067
added button wrapper on react query logo which onClick closes devtools window closes TanStack#3067
* feat(devtools): update react query logo to close devtools added button wrapper on react query logo which onClick closes devtools window closes #3067 * feat(devtools): update test case for open and close devtools
🎉 This issue has been resolved in version 3.39.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Why not replace the close button with the logo and remove the logo inside the dev tool panel? The space taken by the logo can be used for more useful things. |
the close button is always placed where you opened the devtools, but it sometimes overlaps with queries. If we move the logo there, then the logo would overlap with the queries. the implemented solution is backwards compatible (no need to educate users that the close button is now "gone"), but you can now hide the close button via:
and only use the logo to close them again to sidestep the issue of the closebutton overlapping with queries. |
Sorry I forgot to help on this on this one. Thank you! |
…tack#3577) * feat(devtools): update react query logo to close devtools added button wrapper on react query logo which onClick closes devtools window closes TanStack#3067 * feat(devtools): update test case for open and close devtools
🎉 This issue has been resolved in version 4.0.0-beta.14 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hello,
I've got an issue with the "close" button on the interface of the dev tools.
The "close" button doesn't allow you to see what's the name of the key behind.
Two suggestions to deal with it:
Thank you 😊
The text was updated successfully, but these errors were encountered: