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(app): add small size to Chip component for ODD #14717

Merged
merged 3 commits into from
Mar 25, 2024

Conversation

koji
Copy link
Contributor

@koji koji commented Mar 22, 2024

Overview

add small size to Chip component for ODD

Screenshot 2024-03-22 at 12 44 01 PM

also update view-only parameters screen's chip prop
IMG_0987

design
https://www.figma.com/file/1ot18My22DALIcjdLl5LJh/Helix-Design-System?node-id=2771%3A31729&mode=dev

Chip for Desktop (unification) will be implemented in a following PR. (when this pr is merged into edge)

close AUTH-233

Test Plan

Changelog

  • add chipSize to Chip component and update its test and storybook
  • ViewOnlyParameters.tsx

Review requests

Risk assessment

low

add small size to Chip component for ODD

AUTH-233
@koji koji requested review from ncdiehl11 and jerader March 22, 2024 16:44
@koji koji marked this pull request as ready for review March 22, 2024 16:44
@koji koji requested a review from a team as a code owner March 22, 2024 16:44
@koji koji removed the request for review from a team March 22, 2024 16:45
size="1.5rem"
data-testid="RenderResult_icon"
size={chipSize === 'medium' ? '1.5rem' : '1.25rem'}
data-testid={`RenderResult_icon_${chipSize}`}
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we use this data-testid for anything like testing or something? if no, then i think we can remove it

Copy link
Collaborator

@jerader jerader left a comment

Choose a reason for hiding this comment

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

lgtm!

@koji koji merged commit 1ff87e8 into edge Mar 25, 2024
20 checks passed
@koji koji deleted the feat_add-size-to-chip-for-odd branch March 25, 2024 13:44
Carlos-fernandez pushed a commit that referenced this pull request May 20, 2024
* feat(app): add small size to Chip component for ODD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants