Skip to content

fix(stage): say Off once in the side panel instead of twice - #795

Merged
ng merged 1 commit into
devfrom
fix/stage-panel-duplicate-off
Oct 8, 2026
Merged

ng merged 1 commit into
devfrom
fix/stage-panel-duplicate-off

Conversation

@ng

@ng ng commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

When a side was switched off, the Stage side panel said OFF twice, on two lines with the same hand icon:

  1. The Stage's thermal status word (OFF, HOLDING, COOLING, WARMING), drawn with a Hand icon it shouldn't have had.
  2. The ownership line from HoldStatus, which reads "Off" when the controller has the side blocked as off.

The status word is now the prefix of the ownership line, so a running side reads "COOLING 🗓 ON SCHEDULE" on one line. When the side is off and the ownership line already says Off, the status word is left out. A PAUSED status (from the notices work) still shows.

The temperature control's own "Off" readout is separate and is unchanged.

Test plan

  • vitest run src/components/Stage: 88 passed, including a new test for the off side and the running side
  • tsc --noEmit and eslint clean
  • On the pod, the Stage panel for an off side shows a single "Off" line under the name

🤖 Generated with Claude Code

🛏️ Beam this PR onto a sleepypod ✨

Pick the snippet that matches your pod. Already-installed pods can't use the curl bootstraps below — sleepypod's egress firewall DROPs github.com, and the script that knows how to unblock WAN is the very file curl is trying to fetch. Use sp-update instead; it's on disk and opens WAN as its first step.

🔄 Already on a sleepypod (most common — review a PR on a running pod):

sudo sp-update fix/stage-panel-duplicate-off

🚀 Fresh pod / first install — bootstraps from GitHub, rebuilds every push:

curl -fsSL https://raw.githubusercontent.com/sleepypod/core/fix/stage-panel-duplicate-off/scripts/install \
  | sudo bash -s -- --branch fix/stage-panel-duplicate-off

🎯 Pin to this exact build (run 37852299909 · 0785725) — fresh-pod path, locked to one CI artifact for reproducible review:

curl -fsSL https://raw.githubusercontent.com/sleepypod/core/078572568021810ca33b3f368401df47f1e89b84/scripts/install \
  | sudo bash -s -- \
      --branch fix/stage-panel-duplicate-off \
      --artifact-url 'https://nightly.link/sleepypod/core/actions/runs/37852299909/sleepypod-core.zip'

🧊 Artifact: sleepypod-core · self-destructs in 30 days 💥

@vercel

vercel Bot commented Oct 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
sleepypod-demo Ignored Ignored Oct 8, 2026 10:15pm UTC

@coderabbitai

coderabbitai Bot commented Oct 8, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9d20ee9c-ee84-440e-9fcf-f3a4f39d9681
📥 Commits

Reviewing files that changed from the base of the PR and between 2c28d2e and 0785725.

📒 Files selected for processing (2)
  • src/components/Stage/StagePanel.tsx
  • src/components/Stage/tests/TempStage.test.tsx
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@ng
ng added this pull request to the merge queue Oct 8, 2026
Merged via the queue into dev with commit 0d8ae98 Oct 8, 2026
9 checks passed
@ng
ng deleted the fix/stage-panel-duplicate-off branch October 8, 2026 23:53
ng added a commit that referenced this pull request Oct 9, 2026
…rves, and shared notices (#797)

Promote `dev` at `8b52e84a01d6f5dbe2d64559d324c052a6912f1a` to `main`.

- **Stage is the Temperature default** (#793): the 3D Stage opens first, with tones and per-side activity on its timeline.
- **Curves get their own URLs** (#794): `/schedule/<days>?side=` deep-links straight into a curve's editor; curves draw as a smooth line with a tone-tinted fill; set points inside a flat hold are dropped on save (the first row after midnight and any row that would open a >12h gap are kept).
- **Shared notices** (#796): pump stall, priming and alarm banners plus a priming-complete toast, shared by the cards and the Stage; a notice that blocks a side pauses all of that side's controls (link, resume, dial, queued steps); away shows on the side card itself.
- **Stage panel** (#795): says Off once instead of twice.

## Test plan
- [x] dev CI: lint, typecheck, unit tests, build green on each merged PR
- [x] Adversarial review (Sonnet + Codex) on #794 and #796; Major findings fixed with regression tests
- [ ] After release: `sudo sp-update main` on a pod; Temperature opens on the Stage; a curve link opens its editor; priming shows the banner and pauses controls

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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.

1 participant