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

minor: improve rule card actions dropdown #18717

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

Sachin-chaurasiya
Copy link
Member

Describe your changes:

Removed the deprecated overlay prop from the dropdown component and replaced it with the menu prop. Added an onClick option to handle item clicks and perform actions based on the selected item.
Also fixed icon size and alignments.

Screen.Recording.2024-11-21.at.1.52.50.PM.mov

Type of change:

  • Improvement

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

Copy link
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 63%
63.57% (39788/62594) 40.18% (15796/39311) 42.33% (4723/11157)

Copy link

@Sachin-chaurasiya Sachin-chaurasiya merged commit fca85cd into main Nov 21, 2024
12 of 16 checks passed
@Sachin-chaurasiya Sachin-chaurasiya deleted the minor-improve-rule-card-dropdown branch November 21, 2024 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test Add this label to run secure Github workflows on PRs UI UI specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants