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

refactor(components, app): move StyledText from app to components #14715

Merged
merged 11 commits into from
Mar 25, 2024

Conversation

koji
Copy link
Contributor

@koji koji commented Mar 21, 2024

Overview

move StyledText from app to components for Chip component update+unification.
https://opentrons.slack.com/archives/C06M6R72UDS/p1710857517041999?thread_ts=1710857252.462119&cid=C06M6R72UDS

Chip component uses StyledText and components has been released as a npm package.

close AUTH-228

Test Plan

  • make teardown-js && make setup-js`
  • Desktop/ODD displays text properly

Changelog

  • app/src/atom/text -> components/src/atom/StyledText
  • update all import paths of StyledText
  • fix a few typos that I founded during updating the paths

Review requests

Risk assessment

mid since this PR updated 389 files

koji added 2 commits March 21, 2024 19:00
move StyledText from app to components for Chip component unification.

close AUTH-228
@koji koji requested review from a team March 21, 2024 23:06
@koji koji marked this pull request as ready for review March 21, 2024 23:28
@koji koji requested a review from a team as a code owner March 21, 2024 23:28
@koji koji requested review from b-cooper and removed request for a team March 21, 2024 23:28
@koji koji removed the request for review from b-cooper March 22, 2024 00:59
@koji koji self-assigned this Mar 22, 2024
@koji koji added the components Affects the `components` project label Mar 22, 2024
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.

nice! I did some smoke testing in app/odd/storybook and things look good. Once this merges, I think you should post it in the app and ui channel so all frontend devs are aware. This refactor also means that PD can use StyledText instead of having its own version, so that's awesome.

@koji koji requested a review from a team March 25, 2024 13:22
@koji koji merged commit 5b6a55d into edge Mar 25, 2024
20 checks passed
@koji koji deleted the refactor_move-styled-text-into-components branch April 17, 2024 19:02
Carlos-fernandez pushed a commit that referenced this pull request May 20, 2024
…4715)

* refactor(components, app): move StyledText from app to components
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
components Affects the `components` project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants