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

add a way to skip rest calibration tutorial #1186

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ImUrX
Copy link
Member

@ImUrX ImUrX commented Sep 29, 2024

Adds a 10s timer that makes appear the skip button, and also doesnt show calibration tutorial for mocopi or haritora

@ImUrX ImUrX added Area: GUI Related to the GUI Type: Enhancement Adds or improves a feature labels Sep 29, 2024
const { timer, isCounting, startCountdown, abortCountdown } = useCountdown({
duration: IMU_CALIBRATION_TIME,
onCountdownEnd: () => setCalibrationStatus(CalibrationStatus.SUCCESS),
});
useDebouncedEffect(() => setSkipButton(true), [], 10000);
Copy link
Member

Choose a reason for hiding this comment

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

it looks like it should be useTimeout in this case

Copy link
Member

@loucass003 loucass003 left a comment

Choose a reason for hiding this comment

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

Aside for the one comment, this looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: GUI Related to the GUI Type: Enhancement Adds or improves a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants