Skip to content

Stream Deck: pr phase label renders 'Pr' instead of 'PR' (PHASE_LABELS missing the pr row) #1433

Description

@amrmelsayed

Problem (owner hardware observation, 2026-08-12)

A builder in the pr phase with no blocked gate shows 'Pr' on its key face. face.ts maps the gate id (GATE_LABELS.pr = 'PR', face.ts:96) but PHASE_LABELS (face.ts:105-113) has no pr row, so stateLabel falls through to the titleToken fallback, which title-cases the raw id: prPr.

Fix

Add pr: 'PR' to PHASE_LABELS with a test asserting stateLabel({protocolPhase: 'pr'}) === 'PR'. One line + one test, same pattern as the existing rows.

Protocol

BUGFIX. Coordinate lightly with pir-1410 (in flight; may touch face.ts for palette faces) - this merges first, 1410 rebases over it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/streamdeckStream Deck plugin — apps/streamdeck, Elgato channel (profiles, Maker Console, packaging)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions