Skip to content

Comments

feat(ListItemBase): allow tooltip on component#780

Merged
cscheffauer merged 2 commits intomomentum-design:masterfrom
jor-row:feat/tooltips-on-list-item-base
Apr 11, 2025
Merged

feat(ListItemBase): allow tooltip on component#780
cscheffauer merged 2 commits intomomentum-design:masterfrom
jor-row:feat/tooltips-on-list-item-base

Conversation

@jor-row
Copy link
Collaborator

@jor-row jor-row commented Apr 9, 2025

Description

We need to be able to have an Item inside a Menu with a tooltip. This will allow that to happen with the help of the MdcTooltip component.

Links

https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-647080

tooltipinlist.mov

@jor-row jor-row added the validated If the pull request is validated automation. label Apr 9, 2025
Copy link
Collaborator

@cscheffauer cscheffauer left a comment

Choose a reason for hiding this comment

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

one issue, rest looking good

...rest
} = props;

const [itemId] = useState(rest.id || uuidv4);
Copy link
Collaborator

Choose a reason for hiding this comment

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

issue: uuidv4 is a function, needs to be called here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch, fixed

@cscheffauer cscheffauer merged commit 6aa4ebe into momentum-design:master Apr 11, 2025
5 checks passed
@github-actions
Copy link

🎉 This PR is included in version 26.202.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released validated If the pull request is validated automation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants