Skip to content

Conversation

@sajadhsm
Copy link
Contributor

What kind of change does this PR introduce?

Refactors code as a part of hacktoberfest mentioned in #2621.
@Saeris @christianalfoni

What is the current behavior?

/app/pages/common/Modals/DeploymentModal/index.js was using Cerebral

What is the new behavior?

/app/pages/common/Modals/DeploymentModal/index.ts now using Overmind

What steps did you take to test this? This is required before we can merge, make sure to test the flow you've updated.

  1. Replaced inject and observer with useOvermind
  2. Convert files to Typescript
  3. Removed Cube child component and used app/components/Cube instead
  4. Ran yarn test
  5. Ran yarn lint
  6. Ran yarn typecheck

Checklist

  • Documentation: N/A
  • Testing
  • Ready to be merged
  • Added myself to contributors table

@lbogdan
Copy link
Contributor

lbogdan commented Oct 24, 2019

Build for latest commit ebe6882 is at https://pr2922.build.csb.dev/s/new.

Copy link
Member

@CompuIves CompuIves left a comment

Choose a reason for hiding this comment

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

Heyo! Did you have a chance to test the functionality of this? You can do that by trying to deploy a sandbox using ZEIT.

@sajadhsm
Copy link
Contributor Author

Yeah, actually I deployed two test sandboxes and everything was OK.

@Saeris Saeris added Hacktoberfest 🔨 Refactor 🧠 Overmind Indicates that this is related to the app's State Management labels Oct 26, 2019
Copy link
Contributor

@SaraVieira SaraVieira left a comment

Choose a reason for hiding this comment

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

Hey!

Sorry for the delay :(

Looks awesome! Tested:

  • Opening deploy
  • Deploying to zeit

@SaraVieira SaraVieira merged commit ebe6882 into codesandbox:master Dec 10, 2019
@sajadhsm sajadhsm deleted the refactor-DeploymentModal branch December 10, 2019 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🧠 Overmind Indicates that this is related to the app's State Management 🔨 Refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants