Skip to content

Proper Context Menu Panel Opening [SYNTH-47 & SYNTH-143] - #1335

Merged
BrandonPacewic merged 7 commits into
devfrom
alexey/143/move-selection-fix
Jun 23, 2026
Merged

Proper Context Menu Panel Opening [SYNTH-47 & SYNTH-143]#1335
BrandonPacewic merged 7 commits into
devfrom
alexey/143/move-selection-fix

Conversation

@AlexD717

@AlexD717 AlexD717 commented Jun 22, 2026

Copy link
Copy Markdown
Member

Task

SYNTH-47
SYNTH-143

Symptom

When right clicking on a robot and selecting either "move" or "configure" it opens the configure asset panel, but doesn't place you in the right section.

Solution

If you are trying to open a panel with parameters that is different from the current panel, we open it again with the right parameters.

Verification

  • Selecting "move" in the context menu places you into the move tab for the corresponding robot
  • Selecting "configure" in the context menu placing you into the configure tab for the corresponding robot

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.

This comment was marked as resolved.

@AlexD717
AlexD717 marked this pull request as ready for review June 23, 2026 15:35
@AlexD717
AlexD717 requested review from a team as code owners June 23, 2026 15:35

@RoushilS RoushilS left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me. Definitely a much needed improvement.

@Dhruv-0-Arora Dhruv-0-Arora left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

looks good. #1329 is waiting on this

The file upload handler is async (`await file.text()`), so state updates
from `setMatchModeConfigs` were not guaranteed to flush before the count
assertion. Moving the timeout inside `await act(async () => {...})` lets
React process all pending updates before the DOM is read.
@BrandonPacewic
BrandonPacewic force-pushed the alexey/143/move-selection-fix branch from 4c14584 to 3ddb861 Compare June 23, 2026 19:38
@BrandonPacewic
BrandonPacewic merged commit 09be61b into dev Jun 23, 2026
16 checks passed
@BrandonPacewic
BrandonPacewic deleted the alexey/143/move-selection-fix branch June 23, 2026 19:52
@PepperLola PepperLola mentioned this pull request Jul 16, 2026
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.

6 participants