phlask-map icon indicating copy to clipboard operation
phlask-map copied to clipboard

"Edit" Button Brings Up Crowdsourcing Edit Form with Resource Info Populated

Open marcbachan opened this issue 3 months ago • 3 comments

Description

The "edit" button from #648 needs to bring up a dialog with the crowdsourcing edit form and inherit the informaation about the resource from which it was invoked (i.e., greyed out boxes, with the editable information available for crowdsourcing edits)

Complexity

~ 50-100 LOC, depends on complexity of the inheritance logic

marcbachan avatar Nov 05 '25 00:11 marcbachan

Image here is what I have right now, so I was thinking of changing the titlie to edit instead of add when we are in editing mode

icycoldveins avatar Nov 05 '25 12:11 icycoldveins

Per discussion - we might actually want to allow editing the address in the form.

Note from @vontell that we also need to fetch the unique ID for the resource so that we can properly bucket suggestions by resource.

marcbachan avatar Nov 12 '25 00:11 marcbachan

Image

here is what I have currently I added a TODO comment for the actual submission logic since we don't have that in place yet

icycoldveins avatar Nov 17 '25 23:11 icycoldveins

@icycoldveins @AnilKumar3494 Aaron is creating a new table for this to land in the database. Ideally it's a small change here to add that, but we might want to piggyback off of this to start building out views for suggested edits in the admin dashboard now that a target table exists.

marcbachan avatar Dec 03 '25 01:12 marcbachan