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
feat: minor reorder SQL Lab Tab controls #10257
feat: minor reorder SQL Lab Tab controls #10257
Conversation
b75ba11
to
f1eb7b8
Compare
Codecov Report
@@ Coverage Diff @@
## master #10257 +/- ##
==========================================
- Coverage 65.41% 65.41% -0.01%
==========================================
Files 598 598
Lines 32014 32003 -11
Branches 3237 3236 -1
==========================================
- Hits 20943 20934 -9
+ Misses 10890 10888 -2
Partials 181 181
Continue to review full report at Codecov.
|
f1eb7b8
to
b47a415
Compare
b47a415
to
a1aa2c8
Compare
I'm in total agreement that the status dot acting as a close button is a dangerous pattern. If closing the tab is a risk, would it be reasonable to remove the X button from the new design as well, and require that users click the ⠇menu and select "close tab" to close the tab? If that's reasonable, I think the menu (whether a ⠇or a ˅ ) would be better back on the right side of the tab. I'm a bit ambivalent about whether the status dot should be to the left or right of the title. In other words would it make sense to just remove the "X" close button from the status dot and call it a day? |
Yeah, I know that close button exists. Just a suggestion. Haven't used SQL Lab for a while and was surprised yesterday that it's not obvious how to close the preview tab.
+1 to this, was just typing the same thing. |
Generally it's probably best to align with the way browser tabs behave as the most commonly used tabs out there. Visually the Stepping back, I think the goal longer term is still to get rid of in-app tabs and push users to use browser tabs instead. |
I like to keep |
+1 on making the +1 on making all tabs visually consistent with an |
This reverts commit 6690963.
Sorry i clicked merge button accidentally. How can it get merged without code review approval? |
So let's discuss how to improve it and I will make another PR for additional comments. Thanks! |
This reverts commit 4525319.
SUMMARY
A few airbnb users reported that they accidentally clicked status icon, and they lost the active query.
This PR is to re-order the controls in each SQL Lab tab to prevent such accidents.
Thanks for @kenchendesign brought up design!
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:
After:
TEST PLAN
Integration test and manual test.
ADDITIONAL INFORMATION