-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
fix: Change url & add check for active item in menu #11915
Conversation
Codecov Report
@@ Coverage Diff @@
## master #11915 +/- ##
==========================================
- Coverage 67.12% 63.75% -3.38%
==========================================
Files 915 928 +13
Lines 44537 45045 +508
Branches 4235 4309 +74
==========================================
- Hits 29897 28717 -1180
- Misses 14526 16151 +1625
- Partials 114 177 +63
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the issue here is that the underline is not showing up consistently, it should show or not show the cyan underline, when hovering all the tabs and menu. my suggestion is to remove the underline completely, which is currently only showing on SQL Lab editor.
@junlincc done. Now underline is removed |
@junlincc this seems to be fixing a smaller point of a bigger regression. The global nav used to have various hover effects including a background color and a neat little animated/expanding underline. Any idea when that disappeared entirely? |
yea, antd tabs do offer underlines .... need to pull 0.37 to see how it used to look. |
There are probably a bunch of CSS selectors in Emotion styles that are going "unheard" since they're trying to apply styles to the old NavItem components rather than the new ones, if those got migrated to antD. |
Looks like the background color is still there but only on Data and SQL Lab tabs, which have the dropdown menu. only sql editor has the underline left. but even that, this behavior is not consistent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, we have other UI pizzaz to bring back, but I think this is a step in the right direction.
SUMMARY
Add underline for Saved Query menu.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before
![image](https://user-images.githubusercontent.com/8277264/101019451-acb63480-3575-11eb-9107-70620d2cb371.png)
![image](https://user-images.githubusercontent.com/8277264/101019413-9c9e5500-3575-11eb-831f-6788c17d39ca.png)
After
TEST PLAN
Log In
Navigate to SQL Lab -> Saved Queries, observer SQL Lab does not have underline border
ADDITIONAL INFORMATION