Skip to content

Commit 9ec8b90

Browse files
committed
fix(showcase): remove D6 from depth stats, tighten grid spacing
1 parent 6abb87e commit 9ec8b90

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

showcase/shell-dashboard/src/app/page.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ export default function Page() {
140140
// live-status changes since depth is a function of probe states.
141141
const depthDistribution = useMemo((): DepthDistribution => {
142142
const dist: DepthDistribution = {
143-
d6: 0,
144143
d5: 0,
145144
d4: 0,
146145
d3: 0,

showcase/shell-dashboard/src/components/adaptive-stats-bar.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export interface DepthDistribution {
1919
d2: number;
2020
d1: number;
2121
d0: number;
22-
d6: number;
2322
}
2423

2524
export interface AdaptiveStatsBarProps {
@@ -157,14 +156,13 @@ function DepthSection({
157156
);
158157
}
159158

160-
/** Compact depth distribution: D6..D1 counts in a single row. */
159+
/** Compact depth distribution: D5..D1 counts in a single row. */
161160
function DepthDistributionSection({
162161
distribution,
163162
}: {
164163
distribution: DepthDistribution;
165164
}) {
166165
const levels: { key: keyof DepthDistribution; label: string }[] = [
167-
{ key: "d6", label: "D6" },
168166
{ key: "d5", label: "D5" },
169167
{ key: "d4", label: "D4" },
170168
{ key: "d3", label: "D3" },

showcase/shell-dashboard/src/components/feature-grid.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,8 +477,8 @@ export function FeatureGrid({
477477
const categoryColSpan = integrations.length + 1 + (showRefDepth ? 1 : 0);
478478

479479
return (
480-
<div className="p-8">
481-
<header className="mb-6">
480+
<div className="px-8 pt-3 pb-8">
481+
<header className="mb-3">
482482
<div className="flex items-center gap-3">
483483
<h1 className="text-xl font-semibold tracking-tight">{title}</h1>
484484
<LiveIndicator status={connection} />

0 commit comments

Comments
 (0)