Skip to content

Commit c4e4743

Browse files
committed
fix(shell-docs): drop deployed-gated styling from docs framework picker
The docs landing page and sidebar framework-selector both gated a grayed-out card state and a "soon" label on integration.deployed. That flag tracks whether a live showcase demo with tagged cells exists — a showcase concern, not a docs concern. Built-in Agent has ready docs even though no showcase package is published yet, so the card was incorrectly rendered as "coming soon" and stayed visually inert after clearing the stored framework. Every integration that ships docs should be pickable from these surfaces with the same visual weight. The deployed flag continues to drive the showcase app, router-pivot filtering, and snippet cell assertions — this change only touches the two docs-picker call sites.
1 parent a6676f8 commit c4e4743

2 files changed

Lines changed: 1 addition & 15 deletions

File tree

showcase/shell-docs/src/app/[[...slug]]/page.tsx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,7 @@ function DocsOverview() {
173173
<Link
174174
key={i.slug}
175175
href={`/${i.slug}`}
176-
className={`group relative flex items-center gap-2 p-3 rounded-lg border transition-all ${
177-
i.deployed
178-
? "border-[var(--border)] bg-[var(--bg-surface)] hover:border-[var(--accent)] hover:shadow-sm"
179-
: "border-[var(--border-dim)] bg-[var(--bg-elevated)] opacity-70"
180-
}`}
176+
className="group relative flex items-center gap-2 p-3 rounded-lg border border-[var(--border)] bg-[var(--bg-surface)] hover:border-[var(--accent)] hover:shadow-sm transition-all"
181177
>
182178
{i.logo ? (
183179
// eslint-disable-next-line @next/next/no-img-element
@@ -192,11 +188,6 @@ function DocsOverview() {
192188
<span className="flex-1 min-w-0 truncate text-sm font-medium text-[var(--text)] group-hover:text-[var(--accent)]">
193189
{i.name}
194190
</span>
195-
{!i.deployed && (
196-
<span className="text-[9px] font-mono uppercase tracking-widest text-[var(--text-faint)]">
197-
soon
198-
</span>
199-
)}
200191
{/* Marks the framework currently stored in
201192
localStorage so repeat visitors can spot "their"
202193
choice at a glance without an auto-redirect. */}

showcase/shell-docs/src/components/framework-selector.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,11 +321,6 @@ export function FrameworkSelector({
321321
<span className="flex-1 text-left truncate">
322322
{opt.name}
323323
</span>
324-
{!opt.deployed && (
325-
<span className="text-[9px] font-mono uppercase tracking-widest text-[var(--text-faint)]">
326-
soon
327-
</span>
328-
)}
329324
</button>
330325
);
331326
})}

0 commit comments

Comments
 (0)