Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web): channel artwork choice on Latest, plus nightly or dev art on any channel #26138

Mergedmaria-rcksmerged 1 commit intomain fromrefs/pull/26138/headmerged by maria-rcks View on GitHub

maria-rckscommented

On Latest the environment identification setting was hidden, so the channel artwork could not be turned on. Dev and Nightly could only show their own art.

  • EnvironmentIdentificationMode gains nightly-artwork and dev-artwork. The default artwork still follows the running channel, so Latest stays off by default and Dev/Nightly look the same as before.
  • Settings > Appearance > Advanced always shows the row. On Latest it offers None (default), Nightly artwork, Dev artwork. On Dev it offers Dev artwork (default), Nightly artwork, Version pill, None; Nightly mirrors that.
  • Custom palette themes still fall back to the pill for every artwork mode.

Verified on a local dev server with VITE_HOSTED_APP_CHANNEL=latest and on the dev channel. On Latest, picking Nightly artwork renders the night sky header. The choice persists into Dev, which offers the extra Nightly option. An older build reading the stored nightly-artwork value still loads settings normally and shows no art. Desktop was not run; mobile does not read this setting.

Before, Latest: Advanced has no environment identification row.

Latest before: Appearance Advanced section with no environment identification row

After, Latest: the row defaults to None, with Nightly and Dev artwork choices.

Latest after: environment identification menu showing None, Nightly artwork, Dev artwork

Latest after choosing Nightly artwork: night sky art in the sidebar header

After, Dev: Nightly artwork is available next to the default Dev artwork.

Dev after: menu showing Dev artwork, Nightly artwork, Version pill, None with Nightly selected

Claude Opus 5.5 (claude-opus-5-5) in T3 Code via Claude Code.

🤖 Generated with Claude Code

    1. Approvability

      Verdict: Approved at 8261150

      Macroscope's review found this PR approvable — Adds optional Dev or Nightly artwork across release channels, including Latest, while preserving existing defaults. The change is limited to appearance settings and decorative rendering, with existing theme restrictions retained.

      You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    2. Thread transfer impact

      ✅ Thread transfer remains within every enforced ceiling.

      ProviderMetricMain baselineThis PRImpactPR ceiling
      CodexTotal thread wire5.0 KiB5.0 KiB−6 B (−0.1%)6.8 KiB✅
      CodexThread snapshot wire3.8 KiB3.8 KiB0 B (0.0%)4.9 KiB✅
      CodexLive turn WebSocket wire1.3 KiB1.2 KiB−6 B (−0.5%)2.0 KiB✅
      CodexLive turn WebSocket decoded21.6 KiB21.6 KiB0 B (0.0%)24.4 KiB✅
      CodexLive turn messages220 (0.0%)8✅
      ClaudeTotal thread wire5.1 KiB5.0 KiB−6 B (−0.1%)6.8 KiB✅
      ClaudeThread snapshot wire3.8 KiB3.8 KiB0 B (0.0%)4.9 KiB✅
      ClaudeLive turn WebSocket wire1.3 KiB1.3 KiB−6 B (−0.5%)2.0 KiB✅
      ClaudeLive turn WebSocket decoded21.9 KiB21.9 KiB0 B (0.0%)24.4 KiB✅
      ClaudeLive turn messages220 (0.0%)8✅

      Baseline: 5808469 · PR result: 8261150 · Source CI: success

      Scenario and decoded snapshot size

      10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

      • Codex decoded thread snapshot: 108.5 KiB
      • Claude decoded thread snapshot: 108.8 KiB

      Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

    3. Review in Change Stack →

      No actionable comments were generated in the recent review.

      Recent review info
      Run configuration
      Commits

      Reviewing files that changed from the base of the PR and between 5808469018fb95676af148e7a7662c23665c67a3 and 8261150647b6c9faf2050fdd6b35206417693b15.

      Files selected for processing: 8
      • apps/web/src/components/AppSidebarLayout.tsx
      • apps/web/src/components/SidebarStageBackdrop.tsx
      • apps/web/src/components/chat/ComposerPrimaryActions.tsx
      • apps/web/src/components/settings/AppearanceSettingsPanel.tsx
      • apps/web/src/components/settings/settingsSearch.ts
      • apps/web/src/components/sidebar/SidebarChrome.tsx
      • apps/web/src/hooks/useSettings.ts
      • packages/contracts/src/settings.ts

      Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

      Walkthrough

      Environment identification now supports Nightly and Dev artwork modes. The sidebar backdrop resolver, its consumers, and the appearance settings use the selected mode. Theme fallback and settings search terms are also updated.

      Changes: Environment identification

      Layer / File(s)Summary
      Mode contract and backdrop resolution
      packages/contracts/src/settings.ts, apps/web/src/components/SidebarStageBackdrop.tsx
      The mode contract adds nightly-artwork and dev-artwork. The resolver and hook accept an EnvironmentIdentificationMode and select a backdrop variant based on the mode.
      Backdrop mode consumers
      apps/web/src/components/AppSidebarLayout.tsx, apps/web/src/components/chat/ComposerPrimaryActions.tsx, apps/web/src/components/sidebar/SidebarChrome.tsx
      These components pass the selected environment identification mode to the backdrop hook or resolver.
      Appearance options and theme fallback
      apps/web/src/components/settings/AppearanceSettingsPanel.tsx, apps/web/src/hooks/useSettings.ts, apps/web/src/components/settings/settingsSearch.ts
      The appearance panel displays stage-specific choices and always renders the setting row. Theme fallback also applies to modes other than pill and none, and search terms include “latest”.
      Priority: Low

      Estimated code review effort: 2 (Simple) | ~12 minutes

      Change: Feature

      Possibly related PRs

      • pingdotgg/t3code#25651: Reorganizes the same environment-identification controls in AppearanceSettingsPanel.

      Suggested labels: size:M

      Suggested reviewers: juliusmarminge, t3dotgg

      Merge Risk: Minimal · up to 82611

      The artwork choices remain available as intended, and no issue requiring a fix before merge was established.

      Pre-merge checks: Passed 3 · Failed 1
      Failed Failed checks: 1 warning
      Check nameStatusExplanationResolution
      Description checkWarningThe description follows the template's intent and covers the problem, the change, and verification. The Problem and Change content is in the Latest-channel bullets and the opening paragraph. Verificat…Add a Scope and approval section. Link the triaged issue or the discussion that has explicit maintainer approval, including the approval comment. If no prior approval exists, explain why this change qualifies as focused configuration of an …
      Passed Passed checks: 3 passed
      Check nameStatusExplanation
      Title checkPassedThe title "feat(web): channel artwork choice on Latest, plus nightly or dev art on any channel" matches the main change. The diff adds nightly-artwork and dev-artwork modes to EnvironmentIdentificatio…
      Linked Issues checkPassedCheck skipped because no linked issues were found for this pull request.
      Out of Scope Changes checkPassedCheck skipped because no linked issues were found for this pull request.
      Full details: Title check

      Explanation

      The title "feat(web): channel artwork choice on Latest, plus nightly or dev art on any channel" matches the main change. The diff adds nightly-artwork and dev-artwork modes to EnvironmentIdentificationMode, makes the settings row always render, and passes the full mode through the sidebar and backdrop helpers. The title is specific and follows the conventional commit format. It is long at 83 characters, but it still conveys the primary change.

      Full details: Description check

      Explanation

      The description follows the template's intent and covers the problem, the change, and verification. The Problem and Change content is in the Latest-channel bullets and the opening paragraph. Verification is detailed: it names the local dev server with VITE_HOSTED_APP_CHANNEL=latest, the observed Nightly artwork rendering, the persistence into Dev, and the older-build check. It also includes before/after screenshots, as the template requires for UI changes. The Scope and approval section is missing. The template asks for a linked triaged issue or maintainer-approved discussion, or an explanation of why the change qualifies as focused configuration of an established capability. The description does not include either. The model attribution at the end satisfies the template's agent note.

      Resolution

      Add a Scope and approval section. Link the triaged issue or the discussion that has explicit maintainer approval, including the approval comment. If no prior approval exists, explain why this change qualifies as focused configuration of an established capability. Explain what the existing environment identification option already controls, and why the new options stay within that capability. The template states that adding a setting alone does not count as an approval exemption.

      Finishing Touches
      📝 Generate docstrings
      • Commit to this branch
      • Create a new PR
      🧪 Generate unit tests (beta)
      • Commit to this branch
      • Create a new PR
      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
      Comment `@coderabbitai help` to get the list of available commands.
    4. maria-rcks merged thisbbd9593

    5. maria-rcks closed this

Sign in to join this conversation.