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

Dropdown::ListItem::Interactive - Add support for trailing icon #2042

Merged
merged 9 commits into from
Apr 11, 2024

Conversation

didoo
Copy link
Contributor

@didoo didoo commented Apr 8, 2024

πŸ“Œ Summary

This PR introduces the support for an additional trailing icon to the Dropdown::ListItem::Interactive subcomponent

πŸ› οΈ Detailed description

In this PR I have:

  • added support for @trailingIcon in the Dropdown::ListItem::Interactive sub-component
  • added demo of combinations of @icon/@trailingIcon in showcase
  • updated integration tests for Dropdown::ListItem::Interactive
  • updated documentation

πŸ”— External links

Jira ticket: https://hashicorp.atlassian.net/browse/HDS-3205


πŸ‘€ Component checklist

πŸ’¬ Please consider using conventional comments when reviewing this PR.

@didoo didoo requested review from majedelass and a team April 8, 2024 10:27
Copy link

vercel bot commented Apr 8, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated (UTC)
hds-showcase βœ… Ready (Inspect) Visit Preview Apr 11, 2024 8:46am
hds-website βœ… Ready (Inspect) Visit Preview Apr 11, 2024 8:46am

Copy link
Member

@alex-ju alex-ju left a comment

Choose a reason for hiding this comment

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

Looking good! Will there be a follow-up PR to document @trailingIcon in website?

@didoo
Copy link
Contributor Author

didoo commented Apr 8, 2024

Looking good! Will there be a follow-up PR to document @trailingIcon in website?

Yes, I have to sync with @majedelass to understand if he has already started a branch, and if he prefers to use a distinct PR/branch or we can use directly this one.

Copy link
Contributor

@majedelass majedelass left a comment

Choose a reason for hiding this comment

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

This looks good to me πŸ‘ also figma matches this :)

(no PR created for the docs yet)

…if youre using a list item interactive that a trailing icon can be used to denote that the link is external. Also added an example to this in the example too.
@hashibot-hds hashibot-hds added the docs-website Content updates to the documentation website label Apr 9, 2024
@didoo
Copy link
Contributor Author

didoo commented Apr 9, 2024

Looking good! Will there be a follow-up PR to document @trailingIcon in website?

@alex-ju we've added the documentation updated directly in this PR.

Copy link
Member

@alex-ju alex-ju left a comment

Choose a reason for hiding this comment

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

Left a few thoughts, but good to be merged

Copy link
Contributor

@jorytindall jorytindall left a comment

Choose a reason for hiding this comment

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

One small non-blocking comment, otherwise πŸ‘

Co-authored-by: Jory Tindall <jory.tindall@hashicorp.com>
@majedelass
Copy link
Contributor

We have three approvals on this, are we ok with merging or do we require more updates?

@didoo
Copy link
Contributor Author

didoo commented Apr 10, 2024

We have three approvals on this, are we ok with merging or do we require more updates?

@majedelass OK to merge, for me

Wait from what I see it's not approved in Figma, so we should wait to merge them at the same time (more or less)
screenshot_3649

Co-authored-by: Kristin Bradley <kristin.bradley@hashicorp.com>
@majedelass majedelass merged commit df907f2 into main Apr 11, 2024
16 checks passed
@majedelass majedelass deleted the dropdown-listitem-interactive-trailingicon branch April 11, 2024 17:37
@hashibot-hds hashibot-hds mentioned this pull request Apr 11, 2024
didoo added a commit that referenced this pull request May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-website Content updates to the documentation website packages/components showcase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants