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: Wrong positioning of filter tooltips on scroll #24617

Merged

Conversation

michael-s-molina
Copy link
Member

SUMMARY

Fixes the positioning of filter tooltips on scroll. Previously, the tooltips were unanchored to their elements and ended up in wrong positions when scrolling.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before: Tooltips following the scroll

Screen.Recording.2023-07-07.at.10.54.23.mov

After: Tooltips anchored to their elements

Screen.Recording.2023-07-07.at.11.08.47.mov

TESTING INSTRUCTIONS

Check the videos for instructions.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • 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

@ktmud
Copy link
Member

ktmud commented Jul 7, 2023

Did this fix the popover of the time filter control, too?

@michael-s-molina
Copy link
Member Author

michael-s-molina commented Jul 7, 2023

Did this fix the popover of the time filter control, too

By time filter control, do you mean the one that appears in the video called time_range? If yes, then it's fixed.

@ktmud
Copy link
Member

ktmud commented Jul 7, 2023

I meant this popover. Didn't see it in the video.

image

@michael-s-molina
Copy link
Member Author

I meant this popover. Didn't see it in the video.

Oh, it's also following the scroll 🤦‍♂️ I'll add a commit to fix it

@codecov
Copy link

codecov bot commented Jul 7, 2023

Codecov Report

Merging #24617 (d85aab6) into master (781a204) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

❗ Current head d85aab6 differs from pull request most recent head f333705. Consider uploading reports for the commit f333705 to get more accurate results

@@            Coverage Diff             @@
##           master   #24617      +/-   ##
==========================================
- Coverage   69.09%   69.09%   -0.01%     
==========================================
  Files        1906     1906              
  Lines       74127    74130       +3     
  Branches     8172     8172              
==========================================
  Hits        51220    51220              
- Misses      20780    20783       +3     
  Partials     2127     2127              
Flag Coverage Δ
javascript 55.77% <0.00%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
...Filters/FilterBar/FilterControls/FilterControl.tsx 28.12% <0.00%> (-0.45%) ⬇️
...nts/controls/DateFilterControl/DateFilterLabel.tsx 60.60% <0.00%> (-1.25%) ⬇️
superset/db_engine_specs/base.py 90.98% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@michael-s-molina
Copy link
Member Author

@ktmud I'll add a follow-up to fix the popover element because it involves a shared component that is used in many use cases and may require additional context.

@michael-s-molina
Copy link
Member Author

I registered the issue here.

@michael-s-molina michael-s-molina merged commit c53b249 into apache:master Jul 7, 2023
@michael-s-molina michael-s-molina added the v3.0 Label added by the release manager to track PRs to be included in the 3.0 branch label Jul 10, 2023
michael-s-molina added a commit that referenced this pull request Jul 26, 2023
@mistercrunch mistercrunch added 🍒 3.0.0 🍒 3.0.1 🍒 3.0.2 🍒 3.0.3 🍒 3.0.4 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 3.1.0 labels Mar 8, 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 v3.0 Label added by the release manager to track PRs to be included in the 3.0 branch 🍒 3.0.0 🍒 3.0.1 🍒 3.0.2 🍒 3.0.3 🍒 3.0.4 🚢 3.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants