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

feat: add classname prop to hover-menu-dropdown #1620

Merged

Conversation

HendrikThePendric
Copy link
Contributor

@HendrikThePendric HendrikThePendric commented Jan 24, 2024

Implements: No issue number available

Relates to DHIS2-15367 (push-analytics)


Key features

  1. Allows providing a classname to the HoverMenuItem component

Description

Push analytics relies on clearly identifyable elements to be in the DOM to trigger a download. This PR will allow the consuming apps to provide a unique static classname on the download dropdown menu.

Note that the same is also needed for the the HoverMenuListItem component, but this already had a className prop.


@HendrikThePendric HendrikThePendric self-assigned this Jan 24, 2024
@HendrikThePendric HendrikThePendric requested a review from a team January 24, 2024 10:08
@HendrikThePendric HendrikThePendric requested review from jenniferarnesen and removed request for a team January 24, 2024 10:09
@HendrikThePendric HendrikThePendric merged commit b366191 into master Jan 25, 2024
4 checks passed
@HendrikThePendric HendrikThePendric deleted the feat/add-classname-prop-to-hover-menu-dropdown branch January 25, 2024 14:37
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 26.3.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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants