Skip to content

Conversation

@Infi-Knight
Copy link

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?

pages/common/Modals/FeedbackModal/index.js was using Cerebral

What is the new behavior?

FeedbackModal/index.tsx now uses Overmind

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

  1. Replaced inject and hooksObserver with useOvermind
  2. Use named export in FeedbackModal/index.tsx and update packages/app/src/app/pages/common/Modals/index.js accordingly.
  3. Ran yarn test
  4. Ran yarn lint

Checklist

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

@vercel vercel bot temporarily deployed to staging October 14, 2019 13:47 Inactive
@vercel
Copy link

vercel bot commented Oct 14, 2019

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/codesandbox/codesandbox-client/iqu1mus8p
🌍 Preview: https://codesandbox-cl-git-fork-infi-knight-refactor-modals-feed-46a5c5.codesandbox1.now.sh

@Saeris Saeris added Hacktoberfest 🔨 Refactor 🧠 Overmind Indicates that this is related to the app's State Management labels Oct 15, 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.

Looks great! 👍 😄

Tested:

  • Opening modal
  • Writing feedback
  • Clicking emoji
  • Sending feedback

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.

4 participants