place.hud.defs
The shapes HUD's workspace methods share: canvases, their members and tiles, tabs, and the live events.
Details · defs
| Kind | defs |
|---|---|
| Authority | hud.place |
| Commit rev | 3n3jbje7dhbju |
| Indexed |
#actor
objectA person, by DID and handle.
#allowedApp
objectA frame app a person allows to save entries.
Properties
Its place.hud.app record.
#by
objectWho caused a change.
#canvasView
objectA canvas, apart from its tiles.
Properties
The canvas's id: 12 hex digits, its space's key where it is kept in one.
minLength: 12maxLength: 12
link
refIts link, while anyone with the link can view it.
members
arrayThe canvas's owner, its space's authority.
The canvas's info, a place.hud.canvas record, as kept: its name, createdAt and updatedAt.
storage
reftileCount
integerHow many tiles it holds.
minimum: 0
viewer
ref#canvasViewerState
objectThe person asking, in a canvas.
#canvasesEvent
objectThe person's workspace changed: a canvas made, renamed, shared, deleted, opened, closed or reordered, an invitation, where canvases are kept. Read getWorkspace again.
#contrastProblem
objectA text of a palette that reads at under 4.5:1 on a surface it is drawn on.
#launcher
objectA query a bundled view offers a workspace's New tile: its app, the domain whose icon it shows, its title, and the query to call, its params made the person's.
Properties
The app's name, as an account's profile names the domain of its method (Bluesky for bsky.app).
maxLength: 64
The domain of the app, from its method's NSID: its icon is /icon/<domain>.
maxLength: 253
The query's params, as an object.
The service the query is called at, as did:…#fragment.
maxLength: 2048
maxLength: 120
#member
objectA member of a canvas: its owner, or someone it invited.
Properties
#palette
objectA theme's colours, each named for what it colours rather than its hue, as a hex colour #rrggbb. Every text reads at 4.5:1 or better on what it is drawn on.
Properties
What marks rather than acts: links, the tab one is on, the row a search picks.
maxLength: 7
Behind what the accent marks: the row a search picks.
maxLength: 7
What waits or runs, and an agent's work.
maxLength: 7
A tile's body, and the page's chrome: what is drawn on the canvas.
maxLength: 7
Lines between parts, and a card's hairline.
maxLength: 7
A stronger edge, for a field or a column that has focus nearby.
maxLength: 7
The grey behind the tiles.
maxLength: 7
What failed, is removed, or is dangerous.
maxLength: 7
What is done: a pull merged.
maxLength: 7
What closed or was skipped.
maxLength: 7
A notice's surface: what a reader should know, and the toast that says what an agent did.
maxLength: 7
A notice's text.
maxLength: 7
Text on the main buttons.
maxLength: 7
Text on a state's pill, drawn in success, danger, done, attention or neutral.
maxLength: 7
A surface a little apart from the background: a header.
maxLength: 7
The main buttons, and the edge of what has focus.
maxLength: 7
A surface further apart: a hovered row, a field.
maxLength: 7
What is open, passed, or added.
maxLength: 7
The body's text.
maxLength: 7
Text said more quietly still: hints, placeholders.
maxLength: 7
Text said quietly: times, counts.
maxLength: 7
#presenceEvent
objectWho is on an open canvas: as a stream opens it, and as anyone comes or goes, by whom.
Properties
by
refA canvas's id: 12 hex digits, its space's key where it is kept in one.
minLength: 12maxLength: 12
Who has it open now, each once.
#storage
objectWhere a canvas is kept.
#tab
objectA canvas open as a tab.
Properties
#tabRef
objectA tab, by its canvas.
Properties
A canvas's id: 12 hex digits, its space's key where it is kept in one.
minLength: 12maxLength: 12
#theme
objectA theme the workspace is drawn in: one of HUD's, by key, or a person's place.hud.theme record, by uri; never both. Light and dark are HUD's own look in that scheme, as each platform draws it, so they have no palette; every other theme is a palette, drawn over its scheme's look.
Properties
Whether it is light or dark: what its palette falls back on, and how a platform draws what the theme does not colour, as scrollbars and system controls.
maxLength: 16knownValues: light | dark
key
stringOne of HUD's themes, as setTheme names it.
maxLength: 64knownValues: light | dark | amber | blueprint | dusk | frost | paper | phosphor
What it is called, as the workspace lists it.
maxLength: 640maxGraphemes: 64
uri
string · at-uriA person's theme: its place.hud.theme record, as setTheme names it.
#tileEvent
objectA tile of an open canvas changed. One change may move others, each its own event: a column's head taken off, the next in its stack heads it.
Properties
by
refA canvas's id: 12 hex digits, its space's key where it is kept in one.
minLength: 12maxLength: 12
The tile's id.
minLength: 12maxLength: 12
add: a tile added; update: its place, width, stack or title changed; remove: taken off.
knownValues: add | update | remove
tile
refThe tile as it now is; none once removed.
#tileView
objectA tile: one of HUD's read tools and its arguments, never its result, as a column of the strip, or stacked in one.
Properties
The member who added it, in whose repo its record is.
icon
string · uriThe icon of the app whose data it shows: its favicon, from this server's /icon/<domain>, the domain the NSID's first two segments reversed (app.bsky → bsky.app), of the collection a record tile shows or the method a query tile calls. None where it names no NSID; it answers 404 where the app has no icon.
The tile's id: 12 hex digits, its record's key.
minLength: 12maxLength: 12
The tile, a place.hud.tile record, as kept: its tool and arguments (or argumentsJson), title, order, width, stack, by, createdAt and from.
uri
string · at-uriThe tile's record, in its canvas's space, where the canvas is kept in one; none for one kept on the HUD server.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
place.hud.workspace
spaceA canvas of a HUD workspace, keyed by the canvas's id (12 hex digits), with its owner as its authority: its info, one place.hud.canvas record keyed self in the owner's repo in the space, and its tiles, each a place.hud.tile record keyed by the tile's id in the repo of the member who added it. A canvas no one else is in is a personal space, which its owner alone reads.
-
place.hud.getWorkspace
queryThe signed-in person's workspace.
-
A tile of a HUD canvas, in the repo of the member who added it in the canvas's space (place.hud.workspace), keyed by the tile's id (12 hex digits): one of HUD's read tools and its arguments, never its result, as a column of the canvas's strip of columns, or in a column's stack.
-
A HUD canvas's info, in its owner's repo in the canvas's space (place.hud.workspace): one record, keyed self. Its id is the space's key, its owner the space's authority.
-
A canvas and its tiles.