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.

Repository @lexicons.hud.place did:plc:3tzbz4pml36u4mkresb6pdhv not from the namespace authority
Details · object
Kindobject
Authorityhud.place
Commit rev3n3jbjebdk3ju
Indexed

Object

object

Properties

The account's area.

Reference

The app's one primary action, drawn signed in.

Reference

A screen drawn beside the main column where the window has the room.

Reference

The window widths at which the navigation changes.

Reference

What the navigation lists: tabs, the app's tabs, drawn as a bottom bar, a rail or a sidebar by the window's width.

  • maxLength: 32
  • knownValues: tabs

The widths of the column a view's measure asks for.

Reference

#account

object

The account's area: its picture and its items.

Properties

items

array

What the account's area lists.

  • maxLength: 8
itemsref
Reference

Where the account's picture is read, and the tab it is drawn on.

Reference

#action

object

The 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

call

requiredref

The call it opens, drawn by a view, as a screen on the tab on show.

Reference

icon

requiredstring

Its icon.

  • maxLength: 32
  • knownValues: feed | search | compass | notification | people | settings | plus | photo | imagePlus | logOut | logIn | grid | heart | star | comment | activity | repo | issue | pull | release

label

requiredstring

Its label.

  • minLength: 1
  • maxLength: 400
  • maxGraphemes: 40

#aside

object

A screen drawn right of the main column.

Properties

call

requiredref

The screen, drawn by a view.

Reference

width

integer

Its width in CSS pixels.

  • minimum: 200
  • maximum: 480
  • default: 320

#bands

object

The window widths, in CSS pixels, at which the navigation changes.

Properties

rail

integer

From this width, a rail in place of a bottom bar.

  • minimum: 320
  • maximum: 4000
  • default: 600

sidebar

integer

From this width, a labelled sidebar; wider than rail.

  • minimum: 320
  • maximum: 4000
  • default: 1200

#call

object

A tool call, as an app's tabs and routes name one.

Properties

args

unknown

The tool's arguments.

name

requiredstring

The tool's name: query, describe_app, get_record or list_records.

  • maxLength: 64

#item

object

One 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

string

A line drawn over a host item.

  • minLength: 1
  • maxLength: 1000
  • maxGraphemes: 100

call

ref

The screen it opens, drawn by a view.

Reference

host

string

What the host does: signOut, drawn signed in; signIn, drawn signed out.

  • maxLength: 32
  • knownValues: signOut | signIn

icon

string

Its icon.

  • maxLength: 32
  • knownValues: feed | search | compass | notification | people | settings | plus | photo | imagePlus | logOut | logIn | grid | heart | star | comment | activity | repo | issue | pull | release

label

string

Its label.

  • minLength: 1
  • maxLength: 400
  • maxGraphemes: 40

#picture

object

The 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

at

requiredstring

A dotted path to the picture in the query's answer.

  • minLength: 1
  • maxLength: 1000
  • maxGraphemes: 100

call

requiredref

A query call that reads it.

Reference

handle

string

A dotted path to the account's handle in the same answer, for its row among the accounts.

  • minLength: 1
  • maxLength: 1000
  • maxGraphemes: 100

name

string

A dotted path to the account's name in the same answer, for its row among the accounts.

  • minLength: 1
  • maxLength: 1000
  • maxGraphemes: 100

tab

requiredstring

The label of the tab whose icon it becomes.

  • maxLength: 400
  • maxGraphemes: 40

#sizes

object

The widths, in CSS pixels, of the column a view's measure asks for.

Properties

content

integer

The column of a view whose measure is content.

  • minimum: 320
  • maximum: 1600
  • default: 600

wide

integer

The column of a view whose measure is wide; no narrower than content.

  • minimum: 320
  • maximum: 2400
  • default: 935

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • place.hud.ui

    object

    A 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

  • place.hud.tabFirst

    object not from the namespace authority

    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