Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/app/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1163,6 +1163,10 @@ button.r-offline-pill:hover, button.r-offline-pill:focus-visible { border-color:
.r-sheet-foot { padding: 10px 14px; border-top: 1px solid color-mix(in srgb, var(--line) 55%, transparent); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* The engine badge is provenance, not a headline — quiet mono, no uppercase shout. */
.r-dataframe-badge .kicker { text-transform: none; letter-spacing: 0; font-family: var(--font-mono); font-weight: 600; font-size: 10px; }
/* Slim per-sheet header: artifact identity + engine provenance, one hairline row. */
.r-sheet-head { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); }
.r-sheet-head-title { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.r-sheet-head .grow { flex: 1; }
.r-vpill { font-family: var(--font-mono); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: transparent; border: 1px solid var(--line); color: var(--text-muted); }
.r-vpill.next { background: var(--accent-tint); border-color: var(--accent-border); color: var(--accent-ink); }
.r-cols-pill { display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--text-muted); font-family: var(--font-mono); font-size: 10.5px; font-weight: 800; white-space: nowrap; }
Expand Down
20 changes: 13 additions & 7 deletions src/ui/panels/Artifact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2836,6 +2836,19 @@ function Sheet({ roomId, me, art, proof, onError }: { roomId: string; me: Actor;
const doUndo = () => { void store.undoLastEdit(roomId, me).then((f) => { if (!f.ok) onError(f); }); };
return (
<>
{/* Slim artifact header: identity + engine provenance live UP HERE (reference-parity),
leaving the footer for actions and hints only. */}
<div className="r-sheet-head">
<span className="r-sheet-head-title">{art.title}</span>
<span className="grow" />
<span className="r-dataframe-badge">
<Package size={12} aria-hidden="true" />
<span>
<span className="kicker">versionedSync</span>
<span className="r-vpill next">v{art.version}</span>
</span>
</span>
</div>
<div className="r-art-body">
<div className="r-sheet-wrap" ref={sheetWrapRef}>
<AttentionOverlay boxes={overlayBoxes} resolver={overlayResolver} mode="live" />
Expand Down Expand Up @@ -2898,13 +2911,6 @@ function Sheet({ roomId, me, art, proof, onError }: { roomId: string; me: Actor;
</div>
</div>
<div className="r-sheet-foot fx-shfoot">
<span className="r-dataframe-badge">
<Package size={12} aria-hidden="true" />
<span>
<span className="kicker">versionedSync</span>
<span className="r-vpill next">v{art.version}</span>
</span>
</span>
<button className="r-mini-btn" disabled={!store.canUndo(roomId)} title="Undo last applied room edit (Ctrl+Z)" onClick={doUndo}><Undo2 size={12} /> Undo</button>
<span className="grow" />
<span className="mono tiny faint">click a Variance or Note cell to edit by hand</span>
Expand Down
Loading