MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / title

Method title

ui/src/tabs/registry.tsx:69–69  ·  view source on GitHub ↗

Tab title — derived from spec each render so e.g. channel renames propagate.

(spec: Extract<ViewSpec, { kind: K }>, ctx: TitleCtx)

Source from the content-addressed store, hash-verified

67 kind: K
68 /** Tab title — derived from spec each render so e.g. channel renames propagate. */
69 title(spec: Extract<ViewSpec, { kind: K }>, ctx: TitleCtx): string
70 /** URL the active tab projects onto window.location (via replaceState). */
71 toUrl(spec: Extract<ViewSpec, { kind: K }>): string
72 /**

Callers 1

TabStripFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected