fix(showcase): command-center throughput bars render (follow-up to #2496)#2497
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…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>
6d4f1b6 to
aa5ddc5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Follow-up to #2496 (merged). Browser verification on a real
objectstack serveconsole showed the Weekly Throughput bars rendered empty — two html-tier layout nuances:<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.<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