Skip to content

fix(showcase): command-center throughput bars render (follow-up to #2496)#2497

Merged
os-zhuang merged 1 commit into
mainfrom
fix/command-center-html-no-tailwind
Jun 30, 2026
Merged

fix(showcase): command-center throughput bars render (follow-up to #2496)#2497
os-zhuang merged 1 commit into
mainfrom
fix/command-center-html-no-tailwind

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Follow-up to #2496 (merged). Browser verification on a real objectstack serve console showed the Weekly Throughput bars rendered empty — two html-tier layout nuances:

  1. <grid columns={7}> emits responsive classes (grid-cols-1 sm:grid-cols-2 md:grid-cols-7); in the narrow card it collapses to 1 column. Use a native <div style={{display:'grid', gridTemplateColumns:'repeat(7,1fr)'}}> for a fixed 7-track grid.
  2. Bar <flex> items (display:flex, no children) collapsed to width:0, and the grid container (a flex-column child) didn't stretch. Use native block <div> bars + width:100% on the container.

Verified in a live console: header typography, KPI cards, the primary-bg card, the 7 throughput bars (now visible), and activity dots all render correctly — no Tailwind.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 30, 2026 9:29pm

Request Review

…d + width:100% (ADR-0065)

Browser verification of the command-center html page on a real objectstack serve
console showed the Weekly Throughput bars rendering empty. Two html-tier nuances:
- <grid columns={7}> emits responsive classes (grid-cols-1 sm:grid-cols-2
  md:grid-cols-7) that collapse to 1 column inside the narrow card → use a native
  <div style={{display:'grid', gridTemplateColumns:'repeat(7,1fr)'}}> for a fixed
  7-track grid;
- the bar <flex> items (display:flex, no children) collapsed to width:0 and the
  grid container (a flex-column child) didn't stretch → native block <div> bars +
  width:100% on the container.

Verified in a live console: header typography, KPI cards, the primary-bg card,
the 7 throughput bars (now visible), and the activity dots all render correctly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@xuyushun441-sys xuyushun441-sys force-pushed the fix/command-center-html-no-tailwind branch from 6d4f1b6 to aa5ddc5 Compare June 30, 2026 21:27
@os-zhuang os-zhuang merged commit cf475c8 into main Jun 30, 2026
15 checks passed
@os-zhuang os-zhuang deleted the fix/command-center-html-no-tailwind branch June 30, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant