theCrag/website — Issue #338: review bulk edit
Author: scd
Created: 2011-10-11 06:47:51+00:00
State: open

I have built the first cut of bulk edit. For example you can iterate through every area route in Ebor Gorge.

http://dev.thecrag.com/processmap/bulkedit/11772085?select=1&expand=descendants

The 'select' field allows the user to select the field groups they want to update and 'expand' field tells the process how to expand the inputted nodes (at the moment it can be children and descendants).

We should be able to define a url which allows multiple nodes to be called because the process itself is not limited to a single node.

There are ways to specify one information group without the user having to select it so it could interface to particular areas in the swiss army knife tool (eg update route history for routes with no history).

In the above example if you select one field only then the layout changes to a table format for more efficient use of space. I figure that there are two modes - edit all information for routes/areas, or edit particular pieces of information across all areas/routes (eg gearStyles).

I've done my best first cut with layout, but not particularly shit hot. First step should be to make sure functionality works (hopefully it is not too buggy). At some point in the future Brendan can have a go with fixing the layout. This is the first process which uses a mason template so changing the look and feel will be a lot easier.

relavant files are:
Application/Process/InformationSupply/BulkEdit.pm
templates/html/cids/forms/bulkedit

Have fun.