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

editing multipitch ascents #4110

Closed skomaroff closed 1 year ago

skomaroff commented 2 years ago

When adding mulipitch ascents with the new tick flow, there is an option to tick only the first or last n pitches.

However, when editing an ascent logged this way, the dialog defaults to all pitches being ticked. I would expect that which pitches are ticked would by default be the same as in the initial ascent.

scd commented 2 years ago

Can I just paraphrase what you are asking to make sure I understand.

You want the default pitch tick type to match the main tick when you open pitch ticking.

Is this correct?

skomaroff commented 2 years ago

The initial defaults are fine, the issue is with editing an existing ascent.

When I log an ascent of a subset of multipitch route, I check the box "Log pitch fields (pitch N to M)" and then use the slider to select remove pitches from the beginning or the end. This is fine.

The issue arises if I later edit that ascent: all pitches are selected again unless I use the slider to remove them again.

To reproduce

Now the ascent has all 3 pitches although I made no changes there. One has to deselect pitch 3 before saving.

skomaroff commented 2 years ago

Hopefully this is clearer now!

scd commented 1 year ago

Fixed for next release.

skomaroff commented 1 year ago

Looks good to me!