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 2022/12/01 00:06:22 UTC
[GitHub] [superset] codyml opened a new pull request, #22288: fix(native-filters): Misc spacing fixes for horizontal and horizontal overflow filter bar items
codyml opened a new pull request, #22288:
URL: https://github.com/apache/superset/pull/22288
<!---
Please write the PR title following the conventions at https://www.conventionalcommits.org/en/v1.0.0/
Example:
fix(dashboard): load charts correctly
-->
### SUMMARY
<!--- Describe the change below, including rationale and design decisions -->
This PR tightens up some styles:
- There is no longer double divider lines when a divider is the first item in the horizontal filter bar.
- The initial divider line and the other divider lines in the horizontal filter bar are now the same height.
- Text spacing in the overflow menu is now more uniform.
- The "Filters out of scope" item in horizontal overflow no longer has unbalanced top/bottom margin when it's the only item.
- "Filters out of scope" in horizontal overflow contents are now more consistently spaced.
### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
<!--- Skip this if not applicable -->
Before:
<img width="594" alt="Screen Shot 2022-11-30 at 4 24 02 PM" src="https://user-images.githubusercontent.com/13007381/204933929-add0be3f-a0bb-41f1-9690-845fd7c5490a.png">
<img width="647" alt="Screen Shot 2022-11-30 at 4 24 34 PM" src="https://user-images.githubusercontent.com/13007381/204933942-898e4627-0e44-416c-9b04-e02465b4c595.png">
<img width="384" alt="Screen Shot 2022-11-30 at 4 24 59 PM" src="https://user-images.githubusercontent.com/13007381/204933948-c7a8083d-660f-43cf-be75-49bf5009e4bb.png">
<img width="444" alt="Screen Shot 2022-11-30 at 4 25 03 PM" src="https://user-images.githubusercontent.com/13007381/204933955-e40b698c-1b54-4fe7-9ec9-4c84f3f6a0e7.png">
After:
<img width="629" alt="Screen Shot 2022-11-30 at 4 22 34 PM" src="https://user-images.githubusercontent.com/13007381/204933886-0b11581d-ec25-4f3a-ade9-79ef1886a5dd.png">
<img width="647" alt="Screen Shot 2022-11-30 at 4 22 45 PM" src="https://user-images.githubusercontent.com/13007381/204933894-a837aad4-6b42-496f-92ee-e619d78d11bf.png">
<img width="410" alt="Screen Shot 2022-11-30 at 4 23 08 PM" src="https://user-images.githubusercontent.com/13007381/204933907-11fffecf-7347-47df-b4ea-16f96fcb9c22.png">
<img width="508" alt="Screen Shot 2022-11-30 at 4 23 13 PM" src="https://user-images.githubusercontent.com/13007381/204933920-d4b42121-0929-4fc6-b532-4086c02f2052.png">
### TESTING INSTRUCTIONS
<!--- Required! What steps can be taken to manually verify the changes? -->
- Check that the above spacing/styling issues are resolved.
### ADDITIONAL INFORMATION
<!--- Check any relevant boxes with "x" -->
<!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
- [ ] Has associated issue:
- [x] Required feature flags: `HORIZONTAL_FILTER_BAR`
- [x] Changes UI
- [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351))
- [ ] Migration is atomic, supports rollback & is backwards-compatible
- [ ] Confirm DB migration upgrade and downgrade tested
- [ ] Runtime estimates and downtime expectations provided
- [ ] 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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
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] [superset] codyml commented on a diff in pull request #22288: fix(native-filters): Misc spacing fixes for horizontal and horizontal overflow filter bar items
Posted by GitBox <gi...@apache.org>.
codyml commented on code in PR #22288:
URL: https://github.com/apache/superset/pull/22288#discussion_r1037659442
##########
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/FilterDivider.tsx:
##########
@@ -124,7 +130,8 @@ const HorizontalOverflowDivider = ({
display: block;
font-size: ${theme.typography.sizes.s}px;
color: ${theme.colors.grayscale.base};
- margin: 0;
+ margin: ${theme.gridUnit * 2.5}px 0 0 0;
Review Comment:
Fixed in https://github.com/apache/superset/pull/22307!
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
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] [superset] kgabryje commented on pull request #22288: fix(native-filters): Misc spacing fixes for horizontal and horizontal overflow filter bar items
Posted by GitBox <gi...@apache.org>.
kgabryje commented on PR #22288:
URL: https://github.com/apache/superset/pull/22288#issuecomment-1333520570
/testenv up FEATURE_HORIZONTAL_FILTER_BAR=true
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
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] [superset] kgabryje commented on a diff in pull request #22288: fix(native-filters): Misc spacing fixes for horizontal and horizontal overflow filter bar items
Posted by GitBox <gi...@apache.org>.
kgabryje commented on code in PR #22288:
URL: https://github.com/apache/superset/pull/22288#discussion_r1036916081
##########
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/FilterDivider.tsx:
##########
@@ -124,7 +130,8 @@ const HorizontalOverflowDivider = ({
display: block;
font-size: ${theme.typography.sizes.s}px;
color: ${theme.colors.grayscale.base};
- margin: 0;
+ margin: ${theme.gridUnit * 2.5}px 0 0 0;
Review Comment:
I think that we should use full grid units. Can we change 2.5 to 2 or 3 (whichever looks better)
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
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] [superset] github-actions[bot] commented on pull request #22288: fix(native-filters): Misc spacing fixes for horizontal and horizontal overflow filter bar items
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #22288:
URL: https://github.com/apache/superset/pull/22288#issuecomment-1333523201
@kgabryje Ephemeral environment spinning up at http://18.237.102.21:8080. Credentials are `admin`/`admin`. Please allow several minutes for bootstrapping and startup.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
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] [superset] codecov[bot] commented on pull request #22288: fix(native-filters): Misc spacing fixes for horizontal and horizontal overflow filter bar items
Posted by GitBox <gi...@apache.org>.
codecov[bot] commented on PR #22288:
URL: https://github.com/apache/superset/pull/22288#issuecomment-1332990641
# [Codecov](https://codecov.io/gh/apache/superset/pull/22288?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#22288](https://codecov.io/gh/apache/superset/pull/22288?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (64b49d2) into [master](https://codecov.io/gh/apache/superset/commit/3ffe7828a75eeb16af88798ab6ae01bbb835d770?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (3ffe782) will **not change** coverage.
> The diff coverage is `0.00%`.
```diff
@@ Coverage Diff @@
## master #22288 +/- ##
=======================================
Coverage 66.79% 66.79%
=======================================
Files 1846 1846
Lines 70286 70286
Branches 7683 7684 +1
=======================================
Hits 46948 46948
Misses 21346 21346
Partials 1992 1992
```
| Flag | Coverage Δ | |
|---|---|---|
| javascript | `53.79% <0.00%> (ø)` | |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#carryforward-flags-in-the-pull-request-comment) to find out more.
| [Impacted Files](https://codecov.io/gh/apache/superset/pull/22288?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [...Filters/FilterBar/FilterControls/FilterControl.tsx](https://codecov.io/gh/apache/superset/pull/22288/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL25hdGl2ZUZpbHRlcnMvRmlsdGVyQmFyL0ZpbHRlckNvbnRyb2xzL0ZpbHRlckNvbnRyb2wudHN4) | `29.03% <ø> (ø)` | |
| [...ilters/FilterBar/FilterControls/FilterControls.tsx](https://codecov.io/gh/apache/superset/pull/22288/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL25hdGl2ZUZpbHRlcnMvRmlsdGVyQmFyL0ZpbHRlckNvbnRyb2xzL0ZpbHRlckNvbnRyb2xzLnRzeA==) | `70.21% <ø> (ø)` | |
| [...Filters/FilterBar/FilterControls/FilterDivider.tsx](https://codecov.io/gh/apache/superset/pull/22288/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL25hdGl2ZUZpbHRlcnMvRmlsdGVyQmFyL0ZpbHRlckNvbnRyb2xzL0ZpbHRlckRpdmlkZXIudHN4) | `84.00% <ø> (ø)` | |
| [...Filters/FilterBar/FiltersDropdownContent/index.tsx](https://codecov.io/gh/apache/superset/pull/22288/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL25hdGl2ZUZpbHRlcnMvRmlsdGVyQmFyL0ZpbHRlcnNEcm9wZG93bkNvbnRlbnQvaW5kZXgudHN4) | `25.00% <ø> (ø)` | |
| [...s/FilterBar/FiltersOutOfScopeCollapsible/index.tsx](https://codecov.io/gh/apache/superset/pull/22288/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL25hdGl2ZUZpbHRlcnMvRmlsdGVyQmFyL0ZpbHRlcnNPdXRPZlNjb3BlQ29sbGFwc2libGUvaW5kZXgudHN4) | `20.00% <0.00%> (ø)` | |
:mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
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] [superset] kgabryje merged pull request #22288: fix(native-filters): Misc spacing fixes for horizontal and horizontal overflow filter bar items
Posted by GitBox <gi...@apache.org>.
kgabryje merged PR #22288:
URL: https://github.com/apache/superset/pull/22288
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
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] [superset] github-actions[bot] commented on pull request #22288: fix(native-filters): Misc spacing fixes for horizontal and horizontal overflow filter bar items
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #22288:
URL: https://github.com/apache/superset/pull/22288#issuecomment-1333646631
Ephemeral environment shutdown and build artifacts deleted.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
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