UI updates and preroll buffer to 8 frames
Some checks failed
CI / Native Windows Build And Tests (push) Has been cancelled
CI / React UI Build (push) Has been cancelled
CI / Windows Release Package (push) Has been cancelled

This commit is contained in:
2026-05-05 20:56:53 +10:00
parent 44316b29c2
commit be315111ea
9 changed files with 763 additions and 378 deletions

View File

@@ -1,18 +1,12 @@
export function KvList({ values }) {
export function KvList({ values, variant = "cards" }) {
return (
<dl className="kv">
<dl className={variant === "rows" ? "kv-rows" : "definition-grid compact"}>
{values.map(([key, value]) => (
<FragmentRow key={key} label={key} value={value} />
<div className={variant === "rows" ? "kv-row" : "definition-card"} key={key}>
<dt>{key}</dt>
<dd>{value}</dd>
</div>
))}
</dl>
);
}
function FragmentRow({ label, value }) {
return (
<>
<dt>{label}</dt>
<dd>{value}</dd>
</>
);
}