oxidecomputer / oxidecomputer/console

Instance list popover menu disappears on request complete

Open
#1,900 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
228
Forks
22
Avg merge
19h 42m
Merged PRs (30d)
32

Description

When stopping multiple instances in a row the open | close state of the instance context menu gets reset when a request completes and the instance status updates. This occurs with both stop and start, but stop is a little easier to see due to the long request times for starting.

To reproduce:

  1. Start two instances
  2. Open the context menu and click stop
  3. Before the request completes, open the context menu for the second instance
  4. When the request completes, the second instance's context menu will close without user interaction

(slow down the video to see it easier)
Screencast from 2024-01-22 11-08-18.webm

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with two instances, opening the second context menu while the first stop request is pending. Trace the instance status update and context-menu state handling, then verify that the second menu remains open after the request completes for both start and stop actions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.