Skip to content

[Denys Fork] Making WithTooltip and WithPopover update position dynamically#65294

Merged
levadadenys merged 7 commits into
hbergam/tooltip-overflow-bugfrom
denys/hbergam/tooltip-overflow-but-fork
May 19, 2025
Merged

[Denys Fork] Making WithTooltip and WithPopover update position dynamically#65294
levadadenys merged 7 commits into
hbergam/tooltip-overflow-bugfrom
denys/hbergam/tooltip-overflow-but-fork

Conversation

@levadadenys

@levadadenys levadadenys commented Apr 16, 2025

Copy link
Copy Markdown
Contributor

Warning!!

The AP CSP Create Performance Task is in progress. The most critical dates are from April 3 - April 30, 2025. Please consider any risk introduced by this PR that could affect our students taking AP CSP. Code.org students taking AP CSP primarily use App Lab for their Create Task, however a small percent use Game Lab. Carefully consider whether your change has any risk of alterering, changing, or breaking anything in these two labs. Even small changes, such as a different button color, are considered significant during this time period. Reach out to the Student Learning team or Curriculum team for more details.

[Denys Fork] Making WithTooltip update position dynamically

This is a fork/subbranch of #65142

I took existing code as a base and made some polishing improvements, tooltips should now position as expected, with direction flipping when tooltip is out of screen.

Proposed deploy strategy: review/approve this pr -> merge it to #65142 -> merge Hannah's PR into staging
(all merges should be a merge commits, not squash merges. That will allow us to auto generate changelog)

2025-05-16.21.49.47.mov
2025-05-16.21.51.14.mov

Links

Testing story

Deployment strategy

Follow-up work

Privacy

Security

Caching

PR Checklist:

  • Tests provide adequate coverage
  • Privacy and Security impacts have been assessed
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@levadadenys levadadenys changed the base branch from staging to hbergam/tooltip-overflow-bug April 16, 2025 12:04
@github-actions

Copy link
Copy Markdown

🖼️ Storybook Visual Comparison Report

✅ No Storybook eyes differences detected!

@levadadenys levadadenys requested a review from a team April 16, 2025 14:49

@hannahbergam hannahbergam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi! We have a change in Pythonlab this would really benefit from this fix. Are you able to add screenshots here?

@levadadenys levadadenys changed the title [Denys Fork] Making WithTooltip update position dynamically [Denys Fork] Making WithTooltip and WithPopover update position dynamically May 16, 2025

@hannahbergam hannahbergam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for the videos!!

@levadadenys levadadenys merged commit 85906b1 into hbergam/tooltip-overflow-bug May 19, 2025
3 checks passed
@levadadenys levadadenys deleted the denys/hbergam/tooltip-overflow-but-fork branch May 19, 2025 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants