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(ui): forward button title to icon #301

Merged
merged 9 commits into from
Sep 9, 2024
Merged

fix(ui): forward button title to icon #301

merged 9 commits into from
Sep 9, 2024

Conversation

VoigtS
Copy link
Contributor

@VoigtS VoigtS commented Sep 4, 2024

Summary

The previous implementation always inserted the icon name into its title, disregarding the button title.

Changes Made

  • Forward the button title to the Icon if one should be displayed
  • Bump the version.

image

In this screenshot, the Icon was hovered with a custom title set on the button.

Testing Instructions

Open the storybook. Add a custom title on the button, hover over the Icon for a few seconds until the title shows up.

The previous implementation always inserted the icon name into its title, disregarding the button title
@VoigtS VoigtS requested review from franzheidl and a team as code owners September 4, 2024 13:32
Copy link

changeset-bot bot commented Sep 4, 2024

🦋 Changeset detected

Latest commit: 83c3a2a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cloudoperators/juno-ui-components Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@VoigtS VoigtS changed the title Forward button title to icon Fix: Forward button title to icon Sep 4, 2024
@VoigtS VoigtS changed the title Fix: Forward button title to icon fix: Forward button title to icon Sep 4, 2024
@VoigtS VoigtS changed the title fix: Forward button title to icon fix(ui): Forward button title to icon Sep 4, 2024
Copy link
Contributor

github-actions bot commented Sep 4, 2024

PR Preview Action v1.4.7
Preview removed because the pull request was closed.
2024-09-09 10:01 UTC

@VoigtS VoigtS changed the title fix(ui): Forward button title to icon fix(ui): forward button title to icon Sep 4, 2024
Copy link
Contributor

@barsukov barsukov left a comment

Choose a reason for hiding this comment

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

Good catch, I have one comment for this one.

@VoigtS VoigtS requested a review from barsukov September 5, 2024 09:44
edda
edda previously approved these changes Sep 6, 2024
Copy link
Contributor

@barsukov barsukov left a comment

Choose a reason for hiding this comment

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

My last little comment

@barsukov barsukov enabled auto-merge (squash) September 9, 2024 10:00
@barsukov barsukov merged commit 7f4d17a into main Sep 9, 2024
13 checks passed
@barsukov barsukov deleted the fix-icon-tooltip branch September 9, 2024 10:01
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.

3 participants