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-6305] - MUI v5 Migration SRC > Components > ConfirmationDialog #9016

Merged
merged 7 commits into from
Apr 20, 2023

Conversation

cpathipa
Copy link
Contributor

Description 📝

  • Migrate ConfirmationDialog component from JSS to tss-react.
  • Use named export instead of default

How to test 🧪

  • Validate places in the app where ConfirmationDialog is used.

How do I run relevant unit or e2e tests?

  • yarn test
  • yarn cy:run

@cypress
Copy link

cypress bot commented Apr 17, 2023

2 flaky tests on run #3067 ↗︎

0 149 3 0 Flakiness 2

Details:

Corrected change log
Project: Cloud Manager E2E Commit: 70c8fc9afa
Status: Passed Duration: 14:36 💡
Started: Apr 19, 2023 5:27 PM Ended: Apr 19, 2023 5:42 PM
Flakiness  images/machine-image-upload.spec.ts • 1 flaky test

View Output Video

Test Artifacts
machine image > uploads, updates, and deletes a machine image, end-to-end Output Screenshots Video
Flakiness  linodes/rescue-linode.spec.ts • 1 flaky test

View Output Video

Test Artifacts
rescue linode > rescue a linode Output Screenshots Video

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@@ -9,7 +9,7 @@ import * as React from 'react';
import { compose } from 'recompose';
import ActionsPanel from 'src/components/ActionsPanel';
import Button from 'src/components/Button';
import Dialog from 'src/components/ConfirmationDialog';
import { ConfirmationDialog } from 'src/components/ConfirmationDialog/ConfirmationDialog';
Copy link
Contributor

Choose a reason for hiding this comment

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

Named exports make this so much clearer, especially when we have an actual Dialog component!

@jaalah-akamai jaalah-akamai added the Add'tl Approval Needed Waiting on another approval! label Apr 18, 2023
@cpathipa cpathipa changed the title refactor: [M3-6305] - SRC > Components > ConfirmationDialog refactor: [M3-6305] - MUI v5 Migration SRC > Components > ConfirmationDialog Apr 18, 2023
Copy link
Contributor

@mjac0bs mjac0bs left a comment

Choose a reason for hiding this comment

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

Component in the UI and in Storybook looks good to me.

I'm approving pending a changelog update and (optionally, but would be nice to do) renaming the Props interface + updating the imports in the necessary files.

@mjac0bs mjac0bs added Approved Multiple approvals and ready to merge! and removed Add'tl Approval Needed Waiting on another approval! Ready for Review labels Apr 19, 2023
CHANGELOG.md Outdated Show resolved Hide resolved
@cpathipa cpathipa merged commit f3f7716 into linode:develop Apr 20, 2023
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!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants