Skip to content

Conversation

@ganes1410
Copy link
Contributor

What kind of change does this PR introduce?

Refactor #2621 @Saeris @christianalfoni

What is the current behavior?

It was using class component with js file, and cerebral for state management

What is the new behavior?

It now uses tsx instead of js. And Overmind is used for state management with help of useOvermind hook

What steps did you take to test this? This is required before we can merge.

  1. yarn lint
  2. yarn test
  3. yarn typecheck

Checklist

  • Documentation
  • Testing
  • Ready to be merged
  • Added myself to contributors table

@lbogdan lbogdan temporarily deployed to pr2820 October 16, 2019 17:59 Inactive
@ganes1410 ganes1410 changed the title Refactor /app/pages/common/Modals/NetlifyLogs/index.js to /app/pages/common/Modals/NetlifyLogs/index.tsx Refactor /app/pages/common/Modals/NetlifyLogs/index.js to /app/pages/common/Modals/NetlifyLogs/index.tsx 🧠 Overmind | Hacktoberfest Oct 16, 2019
Copy link
Contributor

@christianalfoni christianalfoni left a comment

Choose a reason for hiding this comment

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

This looks great! 👍 😄

It did break an import, but I created a PR for you to merge in and we are good to go: ganes1410#1

Tested:

  • Open logs
  • Close logs
  • See logs being updated

@ganes1410
Copy link
Contributor Author

@christianalfoni Thanks for the help. I have merged your PR.

@MichaelDeBoey
Copy link
Contributor

Duplicate of #2727

@MichaelDeBoey MichaelDeBoey marked this as a duplicate of #2727 Nov 7, 2019
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