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(components): migrate LocationIcon to DeckInfoLabel #15846

Merged
merged 4 commits into from
Aug 2, 2024

Conversation

brenthagen
Copy link
Contributor

Overview

updates and renames the location icon component to reflect helix/ODD styles

closes PLAT-370, PLAT-408, RQA-2827

Screen Shot 2024-07-30 at 6 34 17 PM Screen Shot 2024-07-30 at 6 34 22 PM Screen Shot 2024-07-30 at 6 35 10 PM Screen Shot 2024-07-30 at 6 36 01 PM Screen Shot 2024-07-30 at 6 36 22 PM

Test Plan and Hands on Testing

verified styles and updated unit tests

Changelog

  • Creates DeckInfoLabel component and migrates LocationIcon

Review requests

smoke test the various places the label appears, including deck map labels

Risk assessment

low

updates and renames the location icon component to reflect helix/ODD styles

closes PLAT-370, PLAT-408, RQA-2827
@brenthagen brenthagen requested a review from a team July 31, 2024 14:28
@brenthagen brenthagen requested review from a team as code owners July 31, 2024 14:28
@brenthagen brenthagen requested review from TamarZanzouri and removed request for a team and TamarZanzouri July 31, 2024 14:28
Comment on lines +313 to +315
).withConfig({
shouldForwardProp: p => p !== 'oddStyle' && p !== 'desktopStyle',
})`
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sfoster1 this un-forwards the non-style props and removes the console warnings Warning: React does not recognize the oddStyle prop on a DOM element.

Copy link
Member

Choose a reason for hiding this comment

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

Blessed, thank you

@brenthagen brenthagen requested review from ncdiehl11 and sfoster1 July 31, 2024 14:55
Copy link
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks for fixing this!

Comment on lines +313 to +315
).withConfig({
shouldForwardProp: p => p !== 'oddStyle' && p !== 'desktopStyle',
})`
Copy link
Member

Choose a reason for hiding this comment

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

Blessed, thank you

Copy link
Contributor

@smb2268 smb2268 left a comment

Choose a reason for hiding this comment

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

changes lgtm!

@brenthagen brenthagen merged commit 3ef9ad6 into edge Aug 2, 2024
41 checks passed
@brenthagen brenthagen deleted the components_deck-info-label branch August 2, 2024 18:36
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.

3 participants