Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: Enable Skipping Current User #220

Closed
wants to merge 1 commit into from

Conversation

ericmaino
Copy link

PR for issue #218

Copy link
Collaborator

@mrozbarry mrozbarry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I'm so far sold on skip, just not the skip timer part (but if you can sell me on it, I can be swayed).

@@ -605,6 +605,45 @@ export const StartTimer = (state, { timerStartedAt, timerDuration }) => [
}),
];

export const Skip = (state, { timerDuration, timerStartedAt = null }) => {
console.log("action - Next");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove this console.log

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching. Left over when I was trying to understand a few things about the system.

action: CycleMob, // eslint-disable-line no-use-before-define
props: { },
}),
effects.andThen({
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now, I think we'll remove StartTimer (and the timerStartedAt stuff). I'm willing to be wrong and have a larger discussion on it, though.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm good with that, however that leaves a few other questions to be answered

First, when Skip (or whatever we call it) is clicked does it only cycle or does it end the turn and cycle?

Second, if we land on the semantics that skip will only cycle the mob, and possibly end the existing session, if one is active, does the skip button appear all of the time? This would result in being able to cycle people before the turn.

Finally, if the decision is to leave the button all of the time, is there a better location for the button? Two thoughts I had:

  • Place the button else where
  • Place skip to left of Start, this way start/pause interchange with one another and if someone double clicks it only pauses and doesn't accidentally skip. I was thinking we might wish to make a similar change either way.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functionally, I think we can always stop the timer. If there is no timer running, then that should essentially be a no-op, so there shouldn't be any harm.

In terms of placement, I'm not picky. Move it to a few sane places, and take screenshots and let's take a peek 👀

@mrozbarry
Copy link
Collaborator

Since this has been open for a number of months and no movement, I'm going to close, but please feel free to re-open.

@mrozbarry mrozbarry closed this Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants