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

Improve setup wizard #639

Merged
merged 20 commits into from
Mar 31, 2023
Merged

Improve setup wizard #639

merged 20 commits into from
Mar 31, 2023

Conversation

ImUrX
Copy link
Member

@ImUrX ImUrX commented Mar 23, 2023

  • Changed overlay of most buttons
  • Added progress bar on provisioning for tracker
  • Fixed some bugs like progress bars being remade every time and reset proportions on autobone having a countdown but no showing it

@ImUrX ImUrX marked this pull request as draft March 23, 2023 23:09
ImUrX and others added 4 commits March 24, 2023 14:25
Co-authored-by: Spazznyan <98095416+Spazzwanjunk@users.noreply.github.com>
Co-authored-by: ButterscotchV <bscotchvanilla@gmail.com>
@ImUrX ImUrX marked this pull request as ready for review March 25, 2023 19:34
@Eirenliel
Copy link
Member

After #636 conflicts need to be resolved + we need to take a look at the page together and maybe do some quick changes.

@ButterscotchV ButterscotchV added Type: Bug Something isn't working Priority: Normal The default priority Area: AutoBone The AutoBone feature Area: GUI Related to the GUI Type: Enhancement Adds or improves a feature Area: Translation Improvements or additions to translations labels Mar 25, 2023
ImUrX and others added 2 commits March 25, 2023 23:53
Co-authored-by: ButterscotchV <bscotchvanilla@gmail.com>
{l10n.getString('onboarding-setup_warning-cancel')}
</Button>
<Button
variant="tiertiary"
Copy link
Member

Choose a reason for hiding this comment

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

I know this is misspelled in the code for Button, but tiertiary? ;w; It should be tertiary

Copy link
Member Author

Choose a reason for hiding this comment

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

this will get fixed in another PR tbh

gui/src/components/onboarding/pages/ConnectTracker.tsx Outdated Show resolved Hide resolved
Comment on lines +9 to +77
const bones = [];

const head = new Bone();
const neck = new Bone();
head.add(neck);

const chest = new Bone();
neck.add(chest);
const waist = new Bone();
chest.add(waist);
const hip = new Bone();
waist.add(hip);

const leftShoulder = new Bone();
neck.add(leftShoulder);
const leftUpperArm = new Bone();
leftShoulder.add(leftUpperArm);
const leftLowerArm = new Bone();
leftUpperArm.add(leftLowerArm);
const leftHand = new Bone();
leftLowerArm.add(leftHand);

const rightShoulder = new Bone();
neck.add(rightShoulder);
const rightUpperArm = new Bone();
rightShoulder.add(rightUpperArm);
const rightLowerArm = new Bone();
rightUpperArm.add(rightLowerArm);
const rightHand = new Bone();
rightLowerArm.add(rightHand);

const leftUpperLeg = new Bone();
hip.add(leftUpperLeg);
const leftLowerLeg = new Bone();
leftUpperLeg.add(leftLowerLeg);
const leftFoot = new Bone();
leftLowerLeg.add(leftFoot);

const rightUpperLeg = new Bone();
hip.add(rightUpperLeg);
const rightLowerLeg = new Bone();
rightUpperLeg.add(rightLowerLeg);
const rightFoot = new Bone();
rightLowerLeg.add(rightFoot);

bones.push(
head,
neck,
chest,
waist,
hip,
leftUpperLeg,
rightUpperLeg,
leftLowerLeg,
rightLowerLeg,
leftFoot,
rightFoot,
leftLowerArm,
rightLowerArm,
leftUpperArm,
rightUpperArm,
leftHand,
rightHand,
leftShoulder,
rightShoulder
);

return new Skeleton(bones);
})();
Copy link
Member

Choose a reason for hiding this comment

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

I'd love to have this dynamically generated in the future, why is it even hardcoded as it is now? I swear SolarXR should have enough data to generate this based off it.

Copy link
Member Author

Choose a reason for hiding this comment

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

No? How can I know the hierarchy of bones dynamically?

gui/src/hooks/app.ts Outdated Show resolved Hide resolved
@ButterscotchV
Copy link
Member

I'd also like to report from some quick testing, you can still click on mounting positions even when they're invisible. As you can see in my first screenshot, I have no trackers connected. In my second screenshot, I've clicked on the invisible tracker mounting assignment position button and it shows the GUI. After clicking on one, it is no longer clickable.

image
image

Copy link
Member

@Erimelowo Erimelowo left a comment

Choose a reason for hiding this comment

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

  • In the warning popup prompting the user to do the setup when attempting to skip it, I think the "confirm" option (Skip setup) should be in purple, and the "cancel" option (Continue setup) should be in gray. It's confusing...
  • Clicking "Manual calibration" in the Body proportions tab, outside of the initial setup, brings the user to the setup wizard. Same with the Mounting calibration tab.

gui/public/i18n/en/translation.ftl Outdated Show resolved Hide resolved
ImUrX and others added 2 commits March 30, 2023 11:52
Co-authored-by: Erimel <marioluigivideo@gmail.com>
Co-authored-by: Butterscotch! <bscotchvanilla@gmail.com>
@ImUrX
Copy link
Member Author

ImUrX commented Mar 30, 2023

  • In the warning popup prompting the user to do the setup when attempting to skip it, I think the "confirm" option (Skip setup) should be in purple, and the "cancel" option (Continue setup) should be in gray. It's confusing...

No, because we don't want the user to skip it. It's designed by purpose.

@Erimelowo
Copy link
Member

Having a confirmation popup is already doing that.
The “confirm” option should always be the one that’s highlighted imo

@Eirenliel Eirenliel merged commit a2a3aa4 into SlimeVR:main Mar 31, 2023
@ImUrX ImUrX deleted the gui-improvements branch November 1, 2023 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: AutoBone The AutoBone feature Area: GUI Related to the GUI Area: Translation Improvements or additions to translations Priority: Normal The default priority Type: Bug Something isn't working Type: Enhancement Adds or improves a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants