fpdcc / ccfp-asset-dashboard

CCFP Asset Dashboard
0 stars 1 forks source link

Need ability to copy/promote assets from one phase to another #146

Closed smcalilly closed 2 years ago

smcalilly commented 2 years ago

I need some input on the best page to put this feature, and how to implement this feature. Do you have any preference/good ideas on how to do this @fgregg?

Where?

We can do this in three places:

  1. The project detail page, where we'll soon have a thumbnail map and table once we finish #149
  2. The phase detail page, where we have an existing thumbnail map and table
  3. The interface where you can add/remove assets

I could see a case being made for any of those places, but I'm curious to hear other perspectives.

Implementation details

Regardless of where we add this feature, our implementation could be one of these ways:

  1. Provide a simple "promote phase" dropdown for selecting a phase and then a button for saving it. This form would be mixed in with existing forms.
  2. Provide a "promote phase" button that opens a modal with a dropdown form. This is slightly more complex but makes the action more deliberate.
  3. Provide a "promote phase" button that redirects to a page with the dropdown form, similar to the way the Django handles a delete action or how we create/save phase funding. This makes the action very deliberate.

So I guess we'll need a dropdown form for selecting the new phase, and the question is: do we want it to be 1) a dropdown mixed in with all of the other forms (either the project detail, phase detail, or map interface), or 2) a dropdown form within a modal (on any of those pages), or 3) a dropdown form on a new page (accessible via a link/button on any of those pages)?

fgregg commented 2 years ago

My vote:

  1. The interface where you can add/remove assets

  2. Provide a simple "promote phase" dropdown for selecting a phase and then a button for saving it. This form would be mixed in with existing forms.