Skip to content

Conversation

@armujahid
Copy link
Contributor

@armujahid armujahid commented Oct 14, 2019

What kind of change does this PR introduce?

Refactor /app/pages/Search/index.js #2621 @Saeris @christianalfoni

What is the current behavior?

It was using cerebral for state management

What is the new behavior?

It uses Overmind 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 typecheck
  3. yarn test

Checklist

  • Documentation (N/A)
  • Testing
  • Ready to be merged
  • Added myself to contributors table (will do in a separate PR to add me as a contributor for docs and code)

@vercel vercel bot temporarily deployed to staging October 14, 2019 18:05 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/l7zivtqi4
🌍 Preview: https://codesandbox-client-git-fork-armujahid-apppagessearchindex.codesandbox1.now.sh

@armujahid armujahid changed the title refactor: /app/pages/Search/index.js refactor: /app/pages/Search/index.js 🔨 Refactor, 🧠 Overmind Oct 14, 2019
@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 amazeballs! 😄 👍

Tested:

  • Opening search
  • Search
  • Change view
  • Change environment and check
  • Change dependencies and check
  • Change tags and check
  • Open sandbox

@christianalfoni christianalfoni merged commit f24d49d into codesandbox:master Oct 15, 2019
@armujahid armujahid deleted the appPagesSearchindex branch October 16, 2019 04:52
@armujahid
Copy link
Contributor Author

Kindly mark it complete in "Components to be refactored:" section in #2621

@armujahid
Copy link
Contributor Author

armujahid commented Oct 16, 2019

Kindly also add me as a contributor for "code" and "Documentation". I have three closed PRs related to code and docs.
https://github.com/codesandbox/codesandbox-client/pulls?q=is%3Apr+armujahid+is%3Aclosed

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.

3 participants