oxidecomputer / oxidecomputer/console

Add sled slot number to Inventory > Sleds table/sled view

Open Beginner friendly
#3,327 2 comments 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

oxidecomputer/omicron#11077 adds a slot: Option<u16> to the Sled API response message, containing the physical slot (cubby) number in the rack where that sled was last observed to be located. We should display this in the console when displaying information about a sled. Note that this is the last observed location of the sled and may occasionally be stale if the same sled is removed and reinserted, and may sometimes be null if a sled has just been inserted into the rack.

See also https://rfd.shared.oxide.computer/rfd/0200#_naming_conventions for notes on how location names are formatted in the physical marking of the rack

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 in the Inventory > Sleds table and sled detail view, then trace how the Sled API response is typed and rendered. Review the linked RFD naming conventions and verify that the last observed slot is displayed correctly, including null values and the possibility that the location is stale.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.