tiny-tool-box/aseq

Starting sequence mid-flow

Closed this issue · 1 comments

ksen0 commented
  1. Refresh the page 2. Click on card3 (last in flow) 3. observe that cards 1-2 are unactive, but being animated

This is obviously an "undefined" case: it doesn't make sense to click on somethign in the middle of a flow. An obvious solution would be to either (1) ignore those clicks or (2) interpret clicks anywhere within a flow as clicks on the start of the flow. Ie, in option (2) clicking on card 3 acts exactly like clickin on card 1 already does: you always start at beginning of the flow, and always on the first side.

Definitely up for discussion

ksen0 commented

@ericHgorski Okay, a version of this still has weird behavior:

  1. Load the page a fresh
  2. Click on the middle card in the mini-flow to start the seuqnece
  3. Observe that the mini-flow starts from that middle card, and even on the second side the first card in flow is not activated

Expected/desired behavior: clicking on any card inside a mini-flow is the same behavior as clicking on first card of a mini-flow