place.hud.frame
An operator's app file's frame (frame in <HUD_APPS>/<domain>.json): how a client's shell draws the app's navigation, its one primary action, the account's area, footer links and an aside around its screens. An object in a file, not a method, so it needs no auth. hud_core::operator holds a frame to this lexicon, then to its own rules: no key but these, each call drawn by a view, each icon one a shell draws.
Details · object
| Kind | object |
|---|---|
| Authority | hud.place |
| Commit rev | 3n3jbjebdk3ju |
| Indexed |
Object
objectProperties
destinations
stringWhat the navigation lists: tabs, the app's tabs, drawn as a bottom bar, a rail or a sidebar by the window's width.
maxLength: 32knownValues: tabs
#account
objectThe account's area: its picture and its items.
#action
objectThe app's one primary action: a filled button in the sidebar, an icon in the rail; not drawn in the bottom bar's band, where the screen's own bar has it.
Properties
Its icon.
maxLength: 32knownValues: feed | search | compass | notification | people | settings | plus | photo | imagePlus | logOut | logIn | grid | heart | star | comment | activity | repo | issue | pull | release
Its label.
minLength: 1maxLength: 400maxGraphemes: 40
#aside
objectA screen drawn right of the main column.
#bands
objectThe window widths, in CSS pixels, at which the navigation changes.
#call
objectA tool call, as an app's tabs and routes name one.
#item
objectOne of the account's items: a screen of the app's (label, icon and call), drawn signed in, or one the host draws (host).
Properties
about
stringA line drawn over a host item.
minLength: 1maxLength: 1000maxGraphemes: 100
host
stringWhat the host does: signOut, drawn signed in; signIn, drawn signed out.
maxLength: 32knownValues: signOut | signIn
icon
stringIts icon.
maxLength: 32knownValues: feed | search | compass | notification | people | settings | plus | photo | imagePlus | logOut | logIn | grid | heart | star | comment | activity | repo | issue | pull | release
label
stringIts label.
minLength: 1maxLength: 400maxGraphemes: 40
#link
objectA link at the navigation's foot.
#picture
objectThe account's picture: read once from a query's answer (the account's profile, called as each account the app is signed in to), it becomes the icon of a tab, and with its name and handle beside it a row of the accounts the host lists (a view's Accounts).
Properties
A dotted path to the picture in the query's answer.
minLength: 1maxLength: 1000maxGraphemes: 100
handle
stringA dotted path to the account's handle in the same answer, for its row among the accounts.
minLength: 1maxLength: 1000maxGraphemes: 100
name
stringA dotted path to the account's name in the same answer, for its row among the accounts.
minLength: 1maxLength: 1000maxGraphemes: 100
The label of the tab whose icon it becomes.
maxLength: 400maxGraphemes: 40
#sizes
objectThe widths, in CSS pixels, of the column a view's measure asks for.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
place.hud.ui
objectA view resolved on the server: its layout drawn against its data, as a tree a client draws with nothing left to interpret, sent as a tool result's _meta.ui. Nodes are told apart by their component (c), not by $type: a node's props (p) are as the def named for its component describes (#textProps for Text, #errorProps for Error), and its items as the def its component's items name. A number with a fraction (a picture's ratio, a Stat's value, a track's duration) is a JSON number, which no lexicon t
-
Where one of an operator's app file's tabs finds its root in the account's data, signed in (first, on a tab in <HUD_APPS>/<domain>.json): the screen of the first item, of a list a query answers, whose path is one of the app's screens, as Grain's Home opens the first feed the person pinned. The app's clients choose it as they draw the tab, the web shell's server for each page, so the page is that screen from its first paint; signed out, or where nothing listed has a screen, the tab's own call sta