Skip to content
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: disabled caret change from left to right #11459

Merged
merged 1 commit into from
Oct 28, 2020

Conversation

kkucharc
Copy link
Contributor

@kkucharc kkucharc commented Oct 28, 2020

SUMMARY

When clicking on monitor or filter value, caret was changing from left to right while popup was showing up. Right now a caret has only right direction.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before:
Large GIF (436x264)

&
Large GIF (436x264)

After:
Large GIF (436x264)
&
Large GIF (436x264)

TEST PLAN

  1. Go to Data > Datasets
  2. Choose one of datasets
  3. Add Filters and click on it to see popup
  4. Add Percentage Metrics and Sort By options and click on them to see popup

ADDITIONAL INFORMATION

Fixes #11434

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

@codecov-io
Copy link

codecov-io commented Oct 28, 2020

Codecov Report

Merging #11459 into master will decrease coverage by 4.32%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #11459      +/-   ##
==========================================
- Coverage   66.59%   62.26%   -4.33%     
==========================================
  Files         863      863              
  Lines       40986    40978       -8     
  Branches     3694     3693       -1     
==========================================
- Hits        27295    25516    -1779     
- Misses      13594    15283    +1689     
- Partials       97      179      +82     
Flag Coverage Δ
#cypress ?
#javascript 62.87% <ø> (-0.01%) ⬇️
#python 61.91% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ntend/src/explore/components/AdhocFilterOption.jsx 57.14% <ø> (-23.51%) ⬇️
...ntend/src/explore/components/AdhocMetricOption.jsx 65.62% <ø> (-25.00%) ⬇️
superset-frontend/src/SqlLab/App.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/explore/App.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/dashboard/App.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/explore/index.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/dashboard/index.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/setup/setupColors.js 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/chart/ChartContainer.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/setup/setupFormatters.js 0.00% <0.00%> (-100.00%) ⬇️
... and 177 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eecabf9...484bf18. Read the comment docs.

@kkucharc kkucharc requested a review from rusackas October 28, 2020 18:14
Copy link
Member

@rusackas rusackas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rusackas rusackas merged commit d4d547c into apache:master Oct 28, 2020
@kkucharc kkucharc deleted the 11434-disable-caret branch October 28, 2020 18:28
@ktmud
Copy link
Member

ktmud commented Oct 28, 2020

thank you!

@mistercrunch
Copy link
Member

This works, but I thought the conversation was about fully removing the caret to align with our other label+popovers pattern.

@junlincc
Copy link
Member

junlincc commented Oct 29, 2020 via email

@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.0.0 labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/S 🚢 1.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suggestion: disable caret changing directions in adhoc filters
6 participants