Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

feat: show render attribution on active deck cards

[._.]/ Adam Eivy2375a2bf555e
diff --git a/client/src/components/decks/DeckCardGrid.jsx b/client/src/components/decks/DeckCardGrid.jsx
index 3d55589c5f..a847790204 100644
--- a/client/src/components/decks/DeckCardGrid.jsx
+++ b/client/src/components/decks/DeckCardGrid.jsx
@@ -183,6 +183,11 @@ export default function DeckCardGrid({
</span>
</div>
) : null}
+ {(isCurrentActive || viewedFilename === card.render?.filename) && (card.render?.mode || card.render?.model) ? (
+ <p className="w-full truncate text-center text-[10px] text-gray-500" title={renderAttribution(card.render)}>
+ {renderAttribution(card.render)}
+ </p>
+ ) : null}
<button
type="button"
onClick={() => onOpenCard(card)}
@@ -229,6 +234,11 @@ export default function DeckCardGrid({
);
}
+function renderAttribution(render) {
+ const service = render.mode ? render.mode.charAt(0).toUpperCase() + render.mode.slice(1) : null;
+ return `Rendered by ${[service, render.model].filter(Boolean).join(' · ')}`;
+}
+
// Why this card's render button will or won't do anything, in one sentence.
// Real text on the button's accessible name rather than a bare icon label,
// because the two reasons it is inert (no prompt yet, a dead local runtime) are