Polish: imperial, clear-bed, keyboard nudging, empty states (#18)
Build image / build-and-push (push) Successful in 4s

Co-authored-by: Steve Dudenhoeffer <[email protected]>
This commit was merged in pull request #37.
This commit is contained in:
2026-07-19 04:44:26 +00:00
committed by steve
parent c2dd93a93d
commit 245e0cbe71
14 changed files with 268 additions and 11 deletions
+5
View File
@@ -27,3 +27,8 @@ export const OBJECT_KINDS: KindDef[] = [
export function kindDef(kind: string): KindDef | undefined {
return OBJECT_KINDS.find((k) => k.kind === kind)
}
/** A human label for an object: its name, else its kind's label, else "Object". */
export function objectDisplayName(o: { name: string; kind: string }): string {
return o.name || kindDef(o.kind)?.label || 'Object'
}