Skip to content

fix(touchcontrols): rendering joysticks and moving ui logic SYNTH-183#1359

Open
Dhruv-0-Arora wants to merge 10 commits into
devfrom
darora1/183/fix-joysticks-mobile
Open

fix(touchcontrols): rendering joysticks and moving ui logic SYNTH-183#1359
Dhruv-0-Arora wants to merge 10 commits into
devfrom
darora1/183/fix-joysticks-mobile

Conversation

@Dhruv-0-Arora

@Dhruv-0-Arora Dhruv-0-Arora commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Task

Touch Controls currently do not appear when you click the button on the MainHUD because they were removed from the Synthesis.tsx for rendering likely due to a mistake during conflict resolution. This PR adds the touch controls back and also moves the joystick styling logic to react-joystick-component

SYNTH-183

Screenshot 2026-07-02 at 9 43 08 AM

Before merging, ensure the following criteria are met:

  • All acceptance criteria outlined in the ticket are met.
  • Necessary test cases have been added and updated.
  • A feature toggle or safe disable path has been added (if applicable).
  • User-facing polish:
    • Ask: "Is this ready-looking?"
  • Cross-linking between Jira and GitHub:
    • PR links to the relevant Jira issue.
    • Jira ticket has a comment referencing this PR.

…nent dependency

Signed-off-by: Dhruv Arora <dhruv.arora1@autodesk.com>
@Dhruv-0-Arora Dhruv-0-Arora self-assigned this Jun 29, 2026
@Dhruv-0-Arora Dhruv-0-Arora added the ui/ux Relating to user interface, or in general, user experience label Jun 29, 2026
@Dhruv-0-Arora Dhruv-0-Arora changed the title fix(touchcontrols): rendering joysticks and moving ui logic fix(touchcontrols): rendering joysticks and moving ui logic SYNTH-183 Jun 29, 2026
@Dhruv-0-Arora Dhruv-0-Arora marked this pull request as ready for review July 2, 2026 16:43
@Dhruv-0-Arora Dhruv-0-Arora requested review from a team as code owners July 2, 2026 16:43
Signed-off-by: Dhruv Arora <dhruv.arora1@autodesk.com>
@Dhruv-0-Arora Dhruv-0-Arora force-pushed the darora1/183/fix-joysticks-mobile branch from 68bde1e to ca411b9 Compare July 2, 2026 16:46
Comment thread fission/src/ui/panels/configuring/initial-config/InputSchemeSelection.tsx Outdated

@rutmanz rutmanz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Image Looks like they render on top of panels, which probably isn't desirable Image I also think that this button needs a verb attached if it isn't going to open a panel.

Comment thread fission/src/ui/components/TouchControls.tsx Outdated
…UD button

Signed-off-by: Dhruv Arora <dhruv.arora1@autodesk.com>
@Dhruv-0-Arora Dhruv-0-Arora requested a review from rutmanz July 2, 2026 20:31
Comment thread fission/src/ui/components/MainHUD.tsx
Comment thread fission/src/ui/panels/configuring/initial-config/InputSchemeSelection.tsx Outdated
Signed-off-by: Dhruv Arora <dhruv.arora1@autodesk.com>
@Dhruv-0-Arora Dhruv-0-Arora requested a review from rutmanz July 7, 2026 21:06
Comment thread fission/src/ui/panels/configuring/initial-config/InputSchemeSelection.tsx Outdated
Dhruv-0-Arora and others added 2 commits July 8, 2026 10:44
Co-authored-by: Zach Rutman <zarutman+git@gmail.com>
…cks-mobile

# Conflicts:
#	fission/src/ui/components/TouchControls.tsx

@PepperLola PepperLola left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good overall; I just had one suggestion and one issue. When holding down a joystick, the toggle joysticks button doesn't do anything (which is good), but it seems like it still toggles whether Fission thinks the joysticks are visible. This means that if you've pressed the toggle button an odd number of times while holding a joystick, releasing the joystick and pressing it again does nothing, but a subsequent toggle would hide them.

To test:

  • Hold joystick down to rotate robot, click toggle (nothing should happen).
  • Release joystick and press toggle button (nothing should happen again).
  • With joystick still released, press toggle (joysticks should disappear).

Comment thread fission/src/ui/components/TouchControls.tsx Outdated
Dhruv-0-Arora and others added 3 commits July 10, 2026 14:06
Co-authored-by: Julian Wright <PepperLola@users.noreply.github.com>
toggling while a joystick is held still flipped Fission's internal visibility state, desyncing it from what's shown

Signed-off-by: Dhruv Arora <dhruv.arora1@autodesk.com>
@Dhruv-0-Arora Dhruv-0-Arora requested a review from PepperLola July 10, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ui/ux Relating to user interface, or in general, user experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants