Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofpackage metropolisUi.package·originates fromworld 0a0b119f-a…

pages

The pause menu's pages that are lists: the activity board, people and trust, the

byzero-proxy @ DESKTOP-DB3UJOJ·posted 11d ago
What it does

pages

The pause menu's pages that are lists: the activity board, people and trust, the

named Wardens, garages, the impound, and what the city remembers. One layout (a title, a paper sheet of rows, a
detail card for the selected row at two columns), six row painters.

  local Pages = require("~.screens.pages")
  Pages.board(data, env)      -- data: Present.board(rows, t) + { selected }
  Pages.crew(data, env)       -- data: Present.crew(rows, t) + { selected }
  Pages.roster(data, env)     -- data: Present.roster(rows, t) + { selected }
  Pages.garages(data, env)    -- data: Present.garages(rows, t) + { selected, said? }
  Pages.impound(data, env)    -- data: Present.impound(items, t) + { selected }
  Pages.journal(data, env)    -- data: Present.journal(memories, headline, t)

Every data table may carry `labels = { back, confirm? }`. env: { frame, text, glyph }.
Callback ids: "<page>:<rowId>" for a row (the app's confirm sends the selected one) and "<page>:back".

The interface is documented in the header of init.luau; this file repeats it for the asset browser.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

metropolisUi.screens.pages — the pause menu's pages that are lists: the activity board, people and trust, the named Wardens, garages, the impound, and what the city remembers. One layout (a title, a paper sheet of rows, a detail card for the selected row at two columns), six row painters. local Pages = require("~.screens.pages") Pages.board(data, env) -- data: Present.board(rows, t) + { selected } Pages.crew(data, env) -- data: Present.crew(rows, t) + { selected } Pages.roster(data, env) -- data: Present.roster(rows, t) + { selected } Pages.garages(data, env) -- data: Present.garages(rows, t) + { selected, said? } Pages.impound(data, env) -- data: Present.impound(items, t) + { selected } Pages.journal(data, env) -- data: Present.journal(memories, headline, t) Every data table may carry `labels = { back, confirm? }`. env: { frame, text, glyph }. Callback ids: "<page>:<rowId>" for a row (the app's confirm sends the selected one) and "<page>:back".

row(page: string, id: string, on: boolean, icon: any, title: string, under: string?, right: any?) → any

one row of a sheet: an icon, a title with a line under it, something on the right

argtypedescription
pagestring
idstring
onboolean
iconany
titlestring
understring?
rightany?

page(id: string, data: any, env: any, rows: { any }, detail: { any }?, kicker: string?) → any

the layout every page shares

argtypedescription
idstring
dataany
envany
rows{ any }
detail{ any }?
kickerstring?

board(data: any, env: any) → any

argtypedescription
dataany
envany

crew(data: any, env: any) → any

argtypedescription
dataany
envany

roster(data: any, env: any) → any

argtypedescription
dataany
envany

garages(data: any, env: any) → any

argtypedescription
dataany
envany

impound(data: any, env: any) → any

argtypedescription
dataany
envany

journal(data: any, env: any) → any

argtypedescription
dataany
envany

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.