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

Hint Refactor #3486

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open

Hint Refactor #3486

wants to merge 36 commits into from

Conversation

ethanshar
Copy link
Collaborator

@ethanshar ethanshar commented Jan 21, 2025

Description

Refactor Hint component to make it more readable and maintainable

  • I changed implementation for the hint positioning so it cover more random edge cases
  • I broke into smaller components
  • I add separated logic to hooks
  • I reduced a lot of code redundancy
  • Implemented a new driver and added minimal tests (there are some limitations with testing the Hint component)

How to review
I started with breaking this refactor into several different PRs, but TBH I think it's best to just review it as new code from scratch so I submitted only the last PR

Changelog

Refactor and fix Hint component edge case position issues

Additional info

ethanshar and others added 30 commits December 23, 2024 15:45
…finitions and enhance clarity in layout handling
… and enhance clarity in hint positioning logic
…removing commented-out code and unnecessary padding logic
@ethanshar ethanshar added the Important for Next Release PR that must be included in the release version label Jan 23, 2025
@Inbal-Tish
Copy link
Collaborator

@ethanshar The hint with right targetPosition and custom content is broken:
Hint-Right-CustomContent-Reactions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Important for Next Release PR that must be included in the release version waiting-for-response
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants