Closed Spark450 closed 1 week ago
@Spark450 Mark - Here are a couple of additional enhancements to consider for the Chip component:
Happy to discuss these in more detail (including mobile version) when your team gets closer to working on this ticket.
Hey @jim-muirhead I did some investigations to followup on our conversation earlier this week:
Thanks, Mark.
In the Figma component, the hover state seems to only consist of changing the outlined icon to a filled icon in the same color. Of course, this would seem to indicate to a user that selecting anywhere on the chip would then delete it.
In the future, we would want a separate hover state for the Delete icon and another state for the chip itself that should only trigger if a tooltip is available AND/OR an action is available.
Make sense?
Jim Muirhead Front-end Designer Digital Design & Delivery (DDD) Technology and Innovation @.*** 403.830.1207
[cid:631114e2-57de-4db3-a2bc-751ab9f2e270]
Classification: Protected A
From: Mark E @.> Sent: Wednesday, July 24, 2024 9:29 AM To: GovAlta/ui-components @.> Cc: Jim Muirhead @.>; Mention @.> Subject: Re: [GovAlta/ui-components] Chip: component updates (Issue #1943)
CAUTION: This email has been sent from an external source. Treat hyperlinks and attachments in this email with care.
Hey @jim-muirheadhttps://github.com/jim-muirhead I did some investigations to followup on our conversation earlier this week:
Screen.Shot.2024-07-23.at.3.29.29.PM.png (view on web)https://github.com/user-attachments/assets/e9a67be0-463f-4fc6-bde3-2b2a060a9fd1
— Reply to this email directly, view it on GitHubhttps://github.com/GovAlta/ui-components/issues/1943#issuecomment-2248308817, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZSBERKOPLXEYJTCNAM4OBDZN7B6XAVCNFSM6AAAAABJJBVQVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBYGMYDQOBRG4. You are receiving this because you were mentioned.Message ID: @.***>
Hi @jim-muirhead After further discussion during our backlog grooming session this week, we've decided not to extend our design system's chip component to support two events (close and an additional action). While adding more events would make the chip more versatile, it would also complicate its use for teams that only need the basic "close" functionality currently offered.
Therefore, we will continue to offer just one event on the chip component: "close." This means that if the user clicks anywhere on the chip, it will trigger the close action.
:tada: This issue has been resolved in version 1.17.0-alpha.120 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 5.0.0-alpha.12 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Acceptance Criteria:
For "deleteable" chip default close icon should be "unfilled" version of the icon