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: [M3-8649] - Move Radio to at linode/ui package #11244

Merged

Conversation

pmakode-akamai
Copy link
Contributor

@pmakode-akamai pmakode-akamai commented Nov 12, 2024

Description 📝

Moves the Radio component, story and unit tests to the @linode/ui package and updates existing imports.

Changes 🔄

  • Move Radio component to @linode/ui package
  • Move needed icons to ui/src/assets/icons directory
  • Update existing imports
  • Add vite-plugin-svgr plugin to @linode/ui package
  • Remove typecast from plugins configuration

Target release date 🗓️

N/A

How to test 🧪

  • Confirm all checks pass
  • Confirm nothing on CM breaks

As an Author I have considered 🤔

Check all that apply

  • 👀 Doing a self review
  • ❔ Our contribution guidelines
  • 🤏 Splitting feature into small PRs
  • ➕ Adding a changeset
  • 🧪 Providing/Improving test coverage
  • 🔐 Removing all sensitive information from the code and PR description
  • 🚩 Using a feature flag to protect the release
  • 👣 Providing comprehensive reproduction steps
  • 📑 Providing or updating our documentation
  • 🕛 Scheduling a pair reviewing session
  • 📱 Providing mobile support
  • ♿ Providing accessibility support

@pmakode-akamai pmakode-akamai self-assigned this Nov 12, 2024
@pmakode-akamai pmakode-akamai marked this pull request as ready for review November 12, 2024 12:28
@pmakode-akamai pmakode-akamai requested a review from a team as a code owner November 12, 2024 12:28
@pmakode-akamai pmakode-akamai requested review from carrillo-erik and harsh-akamai and removed request for a team November 12, 2024 12:28
@pmakode-akamai pmakode-akamai marked this pull request as draft November 12, 2024 12:40
Copy link

github-actions bot commented Nov 12, 2024

Coverage Report:
Base Coverage: 87.34%
Current Coverage: 87.32%

@pmakode-akamai pmakode-akamai marked this pull request as ready for review November 12, 2024 15:28
@pmakode-akamai pmakode-akamai force-pushed the M3-8649-move-radio-to-ui-package branch from 6087398 to f02f31f Compare November 13, 2024 15:25
@pmakode-akamai pmakode-akamai marked this pull request as ready for review November 13, 2024 15:42
@pmakode-akamai pmakode-akamai requested a review from a team as a code owner November 13, 2024 15:42
@pmakode-akamai pmakode-akamai requested review from cliu-akamai and removed request for a team November 13, 2024 15:42
@jcallahan-akamai jcallahan-akamai changed the title refactor: [M3-8649] - Move Radio to @linode/ui package refactor: [M3-8649] - Move Radio to at linode/ui package Nov 13, 2024
Copy link
Contributor

@coliu-akamai coliu-akamai left a comment

Choose a reason for hiding this comment

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

thanks @pmakode-akamai!

packages/manager/cypress/vite.config.ts Show resolved Hide resolved
Copy link
Contributor

@harsh-akamai harsh-akamai left a comment

Choose a reason for hiding this comment

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

Code Review ✅
Changes in Cloud ✅

Thanks @pmakode-akamai for this and the PRs blocking to this component! 🎉

@hkhalil-akamai hkhalil-akamai added Approved Multiple approvals and ready to merge! and removed Ready for Review labels Nov 14, 2024
@pmakode-akamai pmakode-akamai force-pushed the M3-8649-move-radio-to-ui-package branch from c85a903 to bb2e40d Compare November 15, 2024 06:04
@linode-gh-bot
Copy link
Collaborator

Cloud Manager UI test results

🎉 445 passing tests on test run #10 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
0 Failing445 Passing2 Skipped94m 50s

@pmakode-akamai pmakode-akamai merged commit 26258af into linode:develop Nov 15, 2024
23 checks passed
Copy link

cypress bot commented Nov 15, 2024

Cloud Manager E2E    Run #6826

Run Properties:  status check passed Passed #6826  •  git commit 26258af0f9: refactor: [M3-8649] - Move `Radio` to ` at linode/ui` package (#11244)
Project Cloud Manager E2E
Branch Review develop
Run status status check passed Passed #6826
Run duration 27m 49s
Commit git commit 26258af0f9: refactor: [M3-8649] - Move `Radio` to ` at linode/ui` package (#11244)
Committer Purvesh Makode
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 4
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 445
View all changes introduced in this branch ↗︎

hasyed-akamai pushed a commit to hasyed-akamai/manager that referenced this pull request Nov 15, 2024
…#11244)

* Migrate radio to ui package

* Add vitest imports in Radio tests

* Fix radio icons imports

* Add `vite-plugin-svgr` plugin to UI package

* Added changeset: Move `Radio` from `manager` to `ui` package

* Reordering imports

* Temporarily import `FormControlLabel` from MUI

* Remove typecast from plugin configuration in all places

* Fix: avoid imports from @linode/ui in @linode/ui

* Remove todo comments
hasyed-akamai pushed a commit to hasyed-akamai/manager that referenced this pull request Nov 15, 2024
…#11244)

* Migrate radio to ui package

* Add vitest imports in Radio tests

* Fix radio icons imports

* Add `vite-plugin-svgr` plugin to UI package

* Added changeset: Move `Radio` from `manager` to `ui` package

* Reordering imports

* Temporarily import `FormControlLabel` from MUI

* Remove typecast from plugin configuration in all places

* Fix: avoid imports from @linode/ui in @linode/ui

* Remove todo comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge! Modularization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants