Skip to content

Conversation

@Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Feb 5, 2025

https://floating-ui.com is a low-level library to implement e.g. tooltips. This PR replaces the unmaintained ember-tooltips addon with a custom Tooltip component based on floating-ui that works roughly similar. This should hopefully then unblock the @ember/string update in #10354.

Before

Bildschirmfoto 2025-02-05 um 13 04 55

After

Bildschirmfoto 2025-02-05 um 13 04 31

yes, we lost the arrow, but does that really matter? 😅

floating-ui does have an "arrow middleware", but I couldn't make it work properly in combination with flip(). since it would require more complexity for IMHO little gain I think it's fine to ship this without arrows.

@Turbo87 Turbo87 added A-frontend 🐹 C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear labels Feb 5, 2025
@Turbo87 Turbo87 requested a review from a team February 5, 2025 12:04
@0xPoe
Copy link
Member

0xPoe commented Feb 5, 2025

@Turbo87 Some tests failed.

@Turbo87
Copy link
Member Author

Turbo87 commented Feb 5, 2025

Some tests failed

should be fixed now :)

Copy link
Member

@0xPoe 0xPoe left a comment

Choose a reason for hiding this comment

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

Thanks!

@Turbo87 Turbo87 merged commit adccb80 into rust-lang:main Feb 7, 2025
11 checks passed
@Turbo87 Turbo87 deleted the floating-ui branch February 7, 2025 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-frontend 🐹 C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants