GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — refactor(web): give Skeleton shape and tone props by juliusmarminge · Pull Request #12997 · pingdotgg/t3code

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Sep 22, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

A skeleton's width and height are its content, so those stay on className
(layout, which the lint allows). Its radius and tint are not: expose
shape="block|rounded|card|pill" and tone="subtle" and migrate the 25 sites.
The one status-dot placeholder drops its background ring; it is a loading
placeholder and does not need to mimic the dot's outline.

Lowers the no-restyle ceiling from 1004 to 978.

Part of the components/ui className cleanup (audit and guardrail: #12982). Each layer of stack #12993 lowers the shadcn/no-restyle ceiling; CI fails if the count rises.

Written by Claude Fable 5 in Claude Code.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • UI Improvements
    • Updated loading placeholders across diff panels, user profiles, cloud environments, source control, and usage pages for more consistent shapes and tones.
    • Standardized square, rounded, card, and pill-shaped placeholders while preserving existing layouts and dimensions.
    • Improved visual consistency across loading states without changing displayed content or functionality.
  • Chores
    • Updated styling checks to reflect the latest baseline.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@juliusmarminge
juliusmarminge added this pull request to stack #12993 September 22, 2026 04:58
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Sep 22, 2026
@github-actions

github-actions Bot commented Sep 22, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ No successful main baseline artifact is available yet. This run establishes the initial measurement.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire — 13.5 KiB — 15.1 KiB ✅
Codex Thread snapshot wire — 7.1 KiB — 7.3 KiB ✅
Codex Live turn WebSocket wire — 6.5 KiB — 7.8 KiB ✅
Codex Live turn WebSocket decoded — 56.3 KiB — 66.4 KiB ✅
Codex Live turn messages — 10 — 21 ✅
Claude Total thread wire — 13.5 KiB — 15.1 KiB ✅
Claude Thread snapshot wire — 7.1 KiB — 7.3 KiB ✅
Claude Live turn WebSocket wire — 6.4 KiB — 7.8 KiB ✅
Claude Live turn WebSocket decoded — 57.0 KiB — 66.4 KiB ✅
Claude Live turn messages — 9 — 21 ✅

Baseline: unavailable · PR result: dfee61d · 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: 114.0 KiB
  • Claude decoded thread snapshot: 114.6 KiB

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Sep 22, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: pingdotgg/t3code/.coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: 7d41fccc-f011-42a9-80dc-39c7d63da08a

📥 Commits

Reviewing files that changed from the base of the PR and between 7e7dcbda8ec58d6a65e637f34f3e26959837cf73 and 8b52648040c67ee58d76d6ae3f17a52dc8f43cf4.

📒 Files selected for processing (1)
  • scripts/lint-restyle-ceiling.ts

Limit details: You’ve used all 10 included reviews currently available.


📝 Walkthrough

Walkthrough

The shared Skeleton component now supports shape and tone variants. Loading skeleton consumers use these variants instead of local rounding and background classes. The lint finding ceiling decreases from 1005 to 979.

Changes

Skeleton variants and consumers

Layer / File(s) Summary
Skeleton variant contract
apps/web/src/components/ui/skeleton.tsx
Adds CVA-based shape and tone variants. Skeleton accepts both props.
Loading skeleton migration
apps/web/src/components/DiffPanelShell.tsx, apps/web/src/components/clerk/MobileClientsUserProfilePage.tsx, apps/web/src/components/cloud/CloudEnvironmentConnectList.tsx, apps/web/src/components/settings/SourceControlSettings.tsx, apps/web/src/components/usage/UsagePage.tsx
Loading skeletons use shared shape and tone props while preserving existing dimensions and layout.

Lint threshold update

Layer / File(s) Summary
Lint finding ceiling
scripts/lint-restyle-ceiling.ts
Reduces RESTYLE_CEILING from 1005 to 979.

Priority: ⬇️ Low

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

Change: Refactor

Merge Risk: ⚪ Minimal · up to 8b526

This styling refactor presents no evidenced user-facing, data, security, or runtime risk and is ready to merge with normal checks.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 12.50% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 8 functions across 7 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly and concisely describes the main change: adding shape and tone props to the web Skeleton component.
Description check ✅ Passed The description clearly explains the Skeleton refactor, migration scope, rationale, and lint-ceiling change. It does not use the template headings, checklist, or provide UI screenshots, but the core i…
  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@macroscopeapp

macroscopeapp Bot commented Sep 22, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 8b52648

Macroscope's review found this PR approvable — This is a bounded Skeleton styling refactor that preserves existing defaults and changes only loading-placeholder appearance across a few UI states. The accompanying CI ceiling is tightened rather than weakened, with no production, schema, authentication, billing, or infrastructure impact.

No code changes detected at dfee61d. Prior analysis still applies.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge force-pushed the restyle/skeleton-shape branch from 7e7dcbd to 8b52648 Compare September 22, 2026 05:11
macroscopeapp[bot]
macroscopeapp Bot approved these changes Sep 22, 2026
View reviewed changes
@juliusmarminge
juliusmarminge force-pushed the restyle/skeleton-shape branch from 8b52648 to 9b66e8d Compare September 22, 2026 05:17
@juliusmarminge
juliusmarminge force-pushed the restyle/skeleton-shape branch from 9b66e8d to 6c22afc Compare September 22, 2026 05:18
@juliusmarminge
juliusmarminge force-pushed the restyle/skeleton-shape branch 2 times, most recently from 9f3465a to 1ee4b4b Compare September 22, 2026 05:57
@juliusmarminge @claude
refactor(web): give Skeleton shape and tone props
dfee61d
A skeleton's width and height are its content, so those stay on className
(layout, which the lint allows). Its radius and tint are not: expose
shape="block|rounded|card|pill" and tone="subtle" and migrate the 25 sites.
The one status-dot placeholder drops its background ring; it is a loading
placeholder and does not need to mimic the dot's outline.

Lowers the no-restyle ceiling from 1004 to 978.

Co-Authored-By: Claude Fable 5 <[email protected]>
@juliusmarminge
juliusmarminge force-pushed the restyle/skeleton-shape branch from 1ee4b4b to dfee61d Compare September 22, 2026 05:58
@juliusmarminge

juliusmarminge commented Sep 22, 2026

Copy link
Copy Markdown
Member Author

Superseded by the reworked stack (#12993 v2). After review feedback the layers were rebuilt to add fewer props and take more opinions in the base; see the new stack for the replacement.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge closed this Sep 22, 2026
@juliusmarminge
juliusmarminge deleted the restyle/skeleton-shape branch September 22, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:M 30-99 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@juliusmarminge
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.