SomethingSexy / platform-builder

0 stars 0 forks source link

Add Part Diagram #11

Closed SomethingSexy closed 8 years ago

SomethingSexy commented 8 years ago

How to organize parts?

Either hierarchical or maybe part group documents?

Flat parts document and then a hierarchy grouping? Be able to select multiple parts to group them into a new part? OR we just make parts completely flat, maybe you can group them for organization within the platform? When some adds an actual product it will link parts from a platform.

Properties

SomethingSexy commented 8 years ago

We will want to add a part to a driagram via api/platform/:id/part post.

Then we will take the id that gets generated and add it to the diagram parts array.

SomethingSexy commented 8 years ago

We will still need to figure out how to fetch the parts and put them in the proper state. We won't wantt fetch all parts just the ones for this platform.

Maybe when we fetch platform we will return both partIds and parts, then the reducers can handle it.