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

Remove no-op emoji reactions tooltip icon definition #17713

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

akabiru
Copy link
Member

@akabiru akabiru commented Jan 24, 2025

Button tooltip does not support icons, further the linked code would fail with a NoMethodError as EmojiReactions.emoji is not defined (note the plural definition) which should be singular EmojiReaction.emoji

This was just forgotten, never gets executed. See unit specs for the component: https://github.com/opf/openproject/blob/dev/spec/components/work_packages/activities_tab/journals/item_component/reactions_spec.rb

Primer ref:
https://qa.openproject-edge.com/lookbook/inspect/primer/beta/button/with_tooltip
https://github.com/opf/primer_view_components/blob/main/app/components/primer/beta/button.rb#L94

Screenshot 2025-01-24 at 12 06 26 PM

@akabiru akabiru marked this pull request as ready for review January 24, 2025 09:08
@akabiru akabiru marked this pull request as draft January 24, 2025 09:10
@akabiru akabiru self-assigned this Jan 24, 2025
Button tooltip does not support icons, futher the linked code would fail with
a NoMethodError as `EmojiReactions.emoji` is not defined (note the plural definition)
which should be singular `EmojiReaction.emoji`

This was just forgotten, never gets executed.
@akabiru akabiru force-pushed the fix/incorrect-tool-tip branch from c2ed610 to 7353d83 Compare January 24, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant