Closed Mat2095 closed 10 months ago
Do you mind if we split up the PR into two 😇 ? I would like to merge point 1 and 2 first.
The third one maybe requires more thought. I'm not sure yet how to manage variations, tbh.
What do you think about making the variations handling more explicit and add a variations
drop down if a sequence has variations and maybe add listVariations( id )
on manager level?
Do you mind if we split up the PR into two 😇 ? I would like to merge point 1 and 2 first.
Sure, we can do that. What do you mean by point 1 and 2 in that case?
The third one maybe requires more thought. I'm not sure yet how to manage variations, tbh.
What do you think about making the variations handling more explicit and add a
variations
drop down if a sequence has variations and maybe addlistVariations( id )
on manager level?
I thought about that as well. Other viewers switch between variations randomly, but that seems more complicated and I kindof like the idea of being able to choose the variation manually. I had no preference between having having sequence and variation in one list or splitting it into two lists, so I chose the option that seemed simpler. But if you prefer having a separate drop-down, I will do that.
Sure, we can do that. What do you mean by point 1 and 2 in that case?
Replace listGlobalSequences()
with hasGlobalSequences()
and the rename onGlobalSequenceChange ()
to onPlayGlobalSequencesChange()
.
But if you prefer having a separate drop-down, I will do that.
Okay, then I would try this approach first and so how it works out.
Okay, I've updated this PR to only refactor those two things. I'll open another PR for the variations when I'm done.
listGlobalSequences
withhasGlobalSequences
to check whether global sequences are presentonGlobalSequenceChange
toonPlayGlobalSequencesChange
to reflect the new variable-namePreviously this PR hat more changes, but it was decided to split them into two PRs:
params.sequences
toparams.sequence
since it refers to a single sequence and not multiple ones