theCrag / website

theCrag.com: Add your voice and help guide the development of the world's largest collaborative rock climbing & bouldering platform
https://www.thecrag.com/
109 stars 8 forks source link

Batch / bulk edit of ascents #2787

Open scd opened 7 years ago

scd commented 7 years ago

Adding proper bouldering types is means people what to change their historical ticks.

It would be good to be able to apply a change across many ascents and/or a bulk edit interface. I think the bulk edit is probably not worthwhile, but applying a change across multiple ticks would save users a lot of time.

brendanheywood commented 7 years ago

+10 for adding bulk edit of ascents. I can't remember how many times I've opened up a large batch of ascents 1 in each tab and edited them all in parallel. I've done that for various reasons in particular dates and 'who'. Solving this via bulk edit is a much better solution rather than a more specific fix just for the boulder tick types.

lordyavin commented 6 years ago

+30

brendanheywood commented 5 years ago

+1 from @quaestor (via heart)

brendanheywood commented 5 years ago

+1 via duplicate https://github.com/theCrag/website/issues/1835

johnpitcairn commented 5 years ago

A couple of years ago I thought that perhaps exporting the logbook, editing (search & replace in excel or by script or whatever) then re-importing might be a good way to accomplish things like updating tick types.

That would just need the import functions to be able to import its own export format.

brendanheywood commented 5 years ago

@johnpitcairn was this due to https://github.com/theCrag/website/issues/2225 / https://github.com/theCrag/website/issues/1307 (duplicates which I just fixed too) or was there something else busted?

Please test on https://brendan.thecrag.com/ and let me know if you have issues

johnpitcairn commented 5 years ago

No, at the time I wanted to be able to re-import the CSV export after I had manipulated it. That still isn't possible, is it?

brendanheywood commented 5 years ago

Possibly yes, but not really polished enough for general use https://github.com/theCrag/website/issues/2699

lordyavin commented 5 years ago

Hi @brendanheywood, would like to test the bulk edit feature but couldn't log in on the test server.

brendanheywood commented 5 years ago

There is no bulk edit feature yet.

There is a potential workaround: the logbook csv download, edit offline, and then re-import which should work but I've never tested it myself. I believed it was technically blocked by the two bugs I mentioned above (csv column names where mixed up) which were super easy and I just fixed them. But the logbook import process is really clunky as we've never invested the time to get this into shape. On top of that there is a daemon on my dev box which is broken so I can't even test it.

When you say you can't login, more specific details? I'm using it right now without issue (apart from above)

Mdemaillard commented 4 years ago

Duplicate of #2030

Only input from there still missing here: While logging multiple ascents at once, it is impossible to edit a batch of ascents once the save button is pressed. If, for example, you forget to set the date for all the ascents at the top, you need to edit every single ascent by hand to correct it.

It would be nice to have a way to edit multiple ascents. I like the way it is done for editing routes, where the overlay that appears to the right of the table containing the routes then just says "edit X routes".