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/PreferencesModal/EditorPageSettings/PreviewSettings/index.js was using Cerebral

What is the new behavior?

/app/pages/common/Modals/PreferencesModal/EditorPageSettings/PreviewSettings/index.tsx 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. Ran yarn test
  3. Ran yarn lint
  4. Ran yarn typecheck

Checklist

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

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.

Thank you!!1

@SaraVieira
Copy link
Contributor

I approved before I saw a PR with this file had already been sumited

Sorry :(

@SaraVieira SaraVieira closed this Oct 19, 2019
@sajadhsm sajadhsm deleted the refactor-Modals-PreviewSettings branch October 19, 2019 20:58
@sajadhsm
Copy link
Contributor Author

That's OK. Sorry I didn't know there was another PR for this file too!

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

4 participants