Skip to content

Conversation

@MichaelDeBoey
Copy link
Contributor

@MichaelDeBoey MichaelDeBoey commented Nov 22, 2019

Follow-up of #2737

Things I did extra:

  • Just use a single file to not pollute the project files unnecessarily
  • Remove all react-router-dom references, since it's not used in this component
  • Type entryTarget & collectTarget
  • Simplify entryTarget's canDrop, since !props.removedAt will always be true as removedAt isn't a prop and isn't ever passed through & monitor is never null

@MichaelDeBoey MichaelDeBoey added 🔨 Refactor 🧠 Overmind Indicates that this is related to the app's State Management labels Nov 22, 2019
@lbogdan lbogdan temporarily deployed to pr3070 November 22, 2019 14:03 Inactive
@lbogdan
Copy link
Contributor

lbogdan commented Nov 22, 2019

Build for latest commit b91a538 is at https://pr3070.build.csb.dev/s/new.

@MichaelDeBoey MichaelDeBoey force-pushed the overmind/TemplateItem branch 2 times, most recently from 9add882 to c6509de Compare November 22, 2019 22:56
@lbogdan lbogdan temporarily deployed to pr3070 November 22, 2019 23:10 Inactive
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! Just a couple of issues! I tested it after fixing the two comments and works great 👍

@lbogdan lbogdan temporarily deployed to pr3070 November 28, 2019 16:41 Inactive
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:

  • Open dashboard
  • Click the "templates" on the sidebar
  • Drag and drop "templates"

Works great! 👍

@christianalfoni christianalfoni merged commit 45970c9 into codesandbox:master Dec 3, 2019
@MichaelDeBoey MichaelDeBoey deleted the overmind/TemplateItem branch December 3, 2019 11:43
CompuIves added a commit that referenced this pull request Dec 4, 2019
MichaelDeBoey added a commit to MichaelDeBoey/codesandbox-client that referenced this pull request Dec 4, 2019
christianalfoni pushed a commit that referenced this pull request Dec 4, 2019
* Revert "Revert "🔨 Switch TemplateItem to use useOvermind (#3070)""

This reverts commit 37223ea

* Fix entryTarget
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