You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/07/22 23:41:20 UTC
[GitHub] [incubator-superset] riahk opened a new pull request #10402: style: add fade transition to bottom border on navbar menu items
riahk opened a new pull request #10402:
URL: https://github.com/apache/incubator-superset/pull/10402
### SUMMARY
Update the navbar's current menu item hover state to fade in the bottom border
### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:
![navbar hover before 7:22:2020](https://user-images.githubusercontent.com/8216382/88237674-9649b500-cc34-11ea-8dea-6a8c04ba7f05.gif)
After:
![navbar hover after 7:22:2020](https://user-images.githubusercontent.com/8216382/88237780-d4df6f80-cc34-11ea-85e8-77ed5c265584.gif)
### TEST PLAN
### ADDITIONAL INFORMATION
- [ ] Has associated issue:
- [x] Changes UI
- [ ] Requires DB Migration.
- [ ] Confirm DB Migration upgrade and downgrade tested.
- [ ] Introduces new feature or API
- [ ] Removes existing feature or API
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] etr2460 commented on a change in pull request #10402: style: add fade transition to bottom border on navbar menu items
Posted by GitBox <gi...@apache.org>.
etr2460 commented on a change in pull request #10402:
URL: https://github.com/apache/incubator-superset/pull/10402#discussion_r459195709
##########
File path: superset-frontend/src/components/Menu/Menu.jsx
##########
@@ -59,6 +59,28 @@ const StyledHeader = styled.header`
flex-direction: column;
justify-content: center;
}
+
+ .navbar-nav > li > a {
+ &:after {
+ content: '';
+ position: absolute;
+ bottom: -3px;
+ left: 0;
+ width: 100%;
+ height: 3px;
+ background-color: #20a7c9;
+ opacity: 0;
+ transition: opacity 0.5s;
Review comment:
Similar to what @mistercrunch mentioned above, we also have a styling constant for animations; see here: https://github.com/apache-superset/superset-ui/blob/master/packages/superset-ui-style/src/index.ts#L125
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] codecov-commenter commented on pull request #10402: style: add fade transition to bottom border on navbar menu items
Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on pull request #10402:
URL: https://github.com/apache/incubator-superset/pull/10402#issuecomment-662755496
# [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=h1) Report
> Merging [#10402](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/3fdc141b82bb95e0f624563587c38e0fb3a6768c&el=desc) will **decrease** coverage by `6.28%`.
> The diff coverage is `n/a`.
[![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/10402/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #10402 +/- ##
==========================================
- Coverage 70.41% 64.13% -6.29%
==========================================
Files 604 543 -61
Lines 32429 30553 -1876
Branches 3298 2890 -408
==========================================
- Hits 22836 19595 -3241
- Misses 9487 10776 +1289
- Partials 106 182 +76
```
| Flag | Coverage Δ | |
|---|---|---|
| #cypress | `54.83% <ø> (-0.51%)` | :arrow_down: |
| #javascript | `?` | |
| #python | `69.77% <ø> (+0.01%)` | :arrow_up: |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
| [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [...uperset-frontend/src/dashboard/util/dnd-reorder.js](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2RuZC1yZW9yZGVyLmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
| [...rset-frontend/src/dashboard/util/getEmptyLayout.js](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2dldEVtcHR5TGF5b3V0Lmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
| [.../src/dashboard/util/getFilterScopeFromNodesTree.js](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2dldEZpbHRlclNjb3BlRnJvbU5vZGVzVHJlZS5qcw==) | `0.00% <0.00%> (-93.48%)` | :arrow_down: |
| [superset-frontend/src/views/datasetList/Button.tsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3ZpZXdzL2RhdGFzZXRMaXN0L0J1dHRvbi50c3g=) | `6.66% <0.00%> (-93.34%)` | :arrow_down: |
| [...uperset-frontend/src/utils/getClientErrorObject.ts](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3V0aWxzL2dldENsaWVudEVycm9yT2JqZWN0LnRz) | `0.00% <0.00%> (-88.89%)` | :arrow_down: |
| [.../src/dashboard/components/FilterIndicatorGroup.jsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL0ZpbHRlckluZGljYXRvckdyb3VwLmpzeA==) | `11.76% <0.00%> (-88.24%)` | :arrow_down: |
| [...c/explore/components/controls/withVerification.jsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy93aXRoVmVyaWZpY2F0aW9uLmpzeA==) | `9.09% <0.00%> (-87.88%)` | :arrow_down: |
| [...src/dashboard/components/gridComponents/Header.jsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2dyaWRDb21wb25lbnRzL0hlYWRlci5qc3g=) | `10.52% <0.00%> (-86.85%)` | :arrow_down: |
| [...rc/dashboard/components/gridComponents/Divider.jsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2dyaWRDb21wb25lbnRzL0RpdmlkZXIuanN4) | `13.33% <0.00%> (-86.67%)` | :arrow_down: |
| [...c/dashboard/components/gridComponents/Markdown.jsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2dyaWRDb21wb25lbnRzL01hcmtkb3duLmpzeA==) | `6.59% <0.00%> (-82.42%)` | :arrow_down: |
| ... and [223 more](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=footer). Last update [3fdc141...9909da3](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] rusackas commented on a change in pull request #10402: style: add fade transition to bottom border on navbar menu items
Posted by GitBox <gi...@apache.org>.
rusackas commented on a change in pull request #10402:
URL: https://github.com/apache/incubator-superset/pull/10402#discussion_r459203991
##########
File path: superset-frontend/src/components/Menu/Menu.jsx
##########
@@ -59,6 +59,28 @@ const StyledHeader = styled.header`
flex-direction: column;
justify-content: center;
}
+
+ .navbar-nav > li > a {
+ &:after {
+ content: '';
+ position: absolute;
+ bottom: -3px;
+ left: 0;
+ width: 100%;
+ height: 3px;
+ background-color: #20a7c9;
+ opacity: 0;
+ transition: opacity 0.5s;
Review comment:
```suggestion
transition: opacity ${({ theme }) => theme.transitionTiming}s;
```
that way you could do some math on it if you wanted, e.g.
`${({ theme }) => theme.transitionTiming * 2}s`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] rusackas commented on pull request #10402: style: add fade transition to bottom border on navbar menu items
Posted by GitBox <gi...@apache.org>.
rusackas commented on pull request #10402:
URL: https://github.com/apache/incubator-superset/pull/10402#issuecomment-662811396
> Welcome to the community @riahk !
>
Yeah, welcome to the party!
![woohoo](https://media2.giphy.com/media/xT5LMQ8rHYTDGFG07e/giphy.gif)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] rusackas commented on pull request #10402: style: add fade transition to bottom border on navbar menu items
Posted by GitBox <gi...@apache.org>.
rusackas commented on pull request #10402:
URL: https://github.com/apache/incubator-superset/pull/10402#issuecomment-679292071
Impacts #8976
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] rusackas merged pull request #10402: style: add fade transition to bottom border on navbar menu items
Posted by GitBox <gi...@apache.org>.
rusackas merged pull request #10402:
URL: https://github.com/apache/incubator-superset/pull/10402
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] rusackas commented on a change in pull request #10402: style: add fade transition to bottom border on navbar menu items
Posted by GitBox <gi...@apache.org>.
rusackas commented on a change in pull request #10402:
URL: https://github.com/apache/incubator-superset/pull/10402#discussion_r459203174
##########
File path: superset-frontend/src/components/Menu/Menu.jsx
##########
@@ -59,6 +59,28 @@ const StyledHeader = styled.header`
flex-direction: column;
justify-content: center;
}
+
+ .navbar-nav > li > a {
+ &:after {
+ content: '';
+ position: absolute;
+ bottom: -3px;
+ left: 0;
+ width: 100%;
+ height: 3px;
+ background-color: #20a7c9;
Review comment:
Actually, no need to import the `supersetTheme` as it's passed into all Emotion (👩🎤) components automagically. I'll add some code suggestions herein to illustrate the point.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] rusackas commented on a change in pull request #10402: style: add fade transition to bottom border on navbar menu items
Posted by GitBox <gi...@apache.org>.
rusackas commented on a change in pull request #10402:
URL: https://github.com/apache/incubator-superset/pull/10402#discussion_r459206031
##########
File path: superset-frontend/src/components/Menu/Menu.jsx
##########
@@ -59,6 +59,28 @@ const StyledHeader = styled.header`
flex-direction: column;
justify-content: center;
}
+
+ .navbar-nav > li > a {
+ &:after {
+ content: '';
+ position: absolute;
+ bottom: -3px;
+ left: 0;
+ width: 100%;
+ height: 3px;
+ background-color: #20a7c9;
Review comment:
```suggestion
background-color: ${({ theme }) => theme.colors.primary.base};
```
And actually, just so everyone reading this is aware, there's an extra benefit of doing it this way, which I haven't really demonstrated to folks....
Since the `supersetTheme` is currently applied at the top of the `App` using a `ThemeProvider`, we get to (eventually) expand this with some JS to merge a user's preferences/config onto the theme... something like so:
`<ThemeProvider theme={customizeTheme(supersetTheme, userThemePrefs)}><App /></ThemeProvider>` and/or employ any number of pre-rolled themes, e.g. `<ThemeProvider theme={supersetTheme(dark)}><App /></ThemeProvider>`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] codecov-commenter edited a comment on pull request #10402: style: add fade transition to bottom border on navbar menu items
Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #10402:
URL: https://github.com/apache/incubator-superset/pull/10402#issuecomment-662755496
# [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=h1) Report
> Merging [#10402](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/3fdc141b82bb95e0f624563587c38e0fb3a6768c&el=desc) will **decrease** coverage by `5.11%`.
> The diff coverage is `100.00%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/10402/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #10402 +/- ##
==========================================
- Coverage 70.41% 65.30% -5.12%
==========================================
Files 604 605 +1
Lines 32429 32410 -19
Branches 3298 3295 -3
==========================================
- Hits 22836 21164 -1672
- Misses 9487 11061 +1574
- Partials 106 185 +79
```
| Flag | Coverage Δ | |
|---|---|---|
| #cypress | `?` | |
| #javascript | `59.26% <100.00%> (-0.06%)` | :arrow_down: |
| #python | `69.54% <ø> (-0.21%)` | :arrow_down: |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
| [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [superset-frontend/src/components/Menu/Menu.jsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvTWVudS9NZW51LmpzeA==) | `89.47% <100.00%> (+1.23%)` | :arrow_up: |
| [superset-frontend/src/SqlLab/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
| [superset-frontend/src/explore/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvQXBwLmpzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
| [superset-frontend/src/dashboard/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
| [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
| [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
| [superset-frontend/src/setup/setupColors.js](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3NldHVwL3NldHVwQ29sb3JzLmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
| [superset-frontend/src/chart/ChartContainer.jsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L0NoYXJ0Q29udGFpbmVyLmpzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
| [superset-frontend/src/setup/setupFormatters.js](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3NldHVwL3NldHVwRm9ybWF0dGVycy5qcw==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
| [superset-frontend/src/explore/reducers/index.js](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvcmVkdWNlcnMvaW5kZXguanM=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
| ... and [174 more](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=footer). Last update [3fdc141...ae5e048](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] codecov-commenter edited a comment on pull request #10402: style: add fade transition to bottom border on navbar menu items
Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #10402:
URL: https://github.com/apache/incubator-superset/pull/10402#issuecomment-662755496
# [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=h1) Report
> Merging [#10402](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/3fdc141b82bb95e0f624563587c38e0fb3a6768c&el=desc) will **decrease** coverage by `6.09%`.
> The diff coverage is `n/a`.
[![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/10402/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #10402 +/- ##
==========================================
- Coverage 70.41% 64.32% -6.10%
==========================================
Files 604 543 -61
Lines 32429 30553 -1876
Branches 3298 2890 -408
==========================================
- Hits 22836 19653 -3183
- Misses 9487 10723 +1236
- Partials 106 177 +71
```
| Flag | Coverage Δ | |
|---|---|---|
| #cypress | `55.34% <ø> (ø)` | |
| #javascript | `?` | |
| #python | `69.77% <ø> (+0.01%)` | :arrow_up: |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
| [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [...uperset-frontend/src/dashboard/util/dnd-reorder.js](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2RuZC1yZW9yZGVyLmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
| [...rset-frontend/src/dashboard/util/getEmptyLayout.js](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2dldEVtcHR5TGF5b3V0Lmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
| [.../src/dashboard/util/getFilterScopeFromNodesTree.js](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2dldEZpbHRlclNjb3BlRnJvbU5vZGVzVHJlZS5qcw==) | `0.00% <0.00%> (-93.48%)` | :arrow_down: |
| [superset-frontend/src/views/datasetList/Button.tsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3ZpZXdzL2RhdGFzZXRMaXN0L0J1dHRvbi50c3g=) | `6.66% <0.00%> (-93.34%)` | :arrow_down: |
| [...uperset-frontend/src/utils/getClientErrorObject.ts](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3V0aWxzL2dldENsaWVudEVycm9yT2JqZWN0LnRz) | `0.00% <0.00%> (-88.89%)` | :arrow_down: |
| [.../src/dashboard/components/FilterIndicatorGroup.jsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL0ZpbHRlckluZGljYXRvckdyb3VwLmpzeA==) | `11.76% <0.00%> (-88.24%)` | :arrow_down: |
| [...c/explore/components/controls/withVerification.jsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy93aXRoVmVyaWZpY2F0aW9uLmpzeA==) | `9.09% <0.00%> (-87.88%)` | :arrow_down: |
| [...src/dashboard/components/gridComponents/Header.jsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2dyaWRDb21wb25lbnRzL0hlYWRlci5qc3g=) | `10.52% <0.00%> (-86.85%)` | :arrow_down: |
| [...rc/dashboard/components/gridComponents/Divider.jsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2dyaWRDb21wb25lbnRzL0RpdmlkZXIuanN4) | `13.33% <0.00%> (-86.67%)` | :arrow_down: |
| [...c/dashboard/components/gridComponents/Markdown.jsx](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2dyaWRDb21wb25lbnRzL01hcmtkb3duLmpzeA==) | `6.59% <0.00%> (-82.42%)` | :arrow_down: |
| ... and [221 more](https://codecov.io/gh/apache/incubator-superset/pull/10402/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=footer). Last update [3fdc141...9f0eec0](https://codecov.io/gh/apache/incubator-superset/pull/10402?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] mistercrunch commented on a change in pull request #10402: style: add fade transition to bottom border on navbar menu items
Posted by GitBox <gi...@apache.org>.
mistercrunch commented on a change in pull request #10402:
URL: https://github.com/apache/incubator-superset/pull/10402#discussion_r459189841
##########
File path: superset-frontend/src/components/Menu/Menu.jsx
##########
@@ -59,6 +59,28 @@ const StyledHeader = styled.header`
flex-direction: column;
justify-content: center;
}
+
+ .navbar-nav > li > a {
+ &:after {
+ content: '';
+ position: absolute;
+ bottom: -3px;
+ left: 0;
+ width: 100%;
+ height: 3px;
+ background-color: #20a7c9;
Review comment:
let's use the theme's colors `@superset-ui/style`, check it out here: https://github.com/apache-superset/superset-ui/blob/master/packages/superset-ui-style/src/index.ts#L23
Above you can `import styled, { supersetTheme } from '@superset-ui/style';` and use `supersetTheme.colors.primary.base `
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org