gitoria
All repositories: gitoria
3.4 KB
// three-pane.hl — SHELL 3, e.g. an email client: folders, the list of the open folder, the opened item with its own actions// (docs/layouts/three-pane.md).// Phone: the list first (folders = the sidebar overlay from the header's toggle); a tap on an item shows it and the list// goes (`a.back` returns). 60rem+: all three side by side over the full width, each scrolling on its own.//// ThreePane { view = view // 'list' on the folder's route, 'detail' on an item's route// Sidebar { nav { a { href = "/inbox" 'aria-current' = "page" "Inbox" } } }// aside { ul { li { a { href = "/inbox/m1" "Subject" } } } }// main { a { class = "back" href = "/inbox" "Inbox" } menu { li { button { "Reply" } } } article { … } }// }String view = 'list'slot = nullStyle {'three-pane' { display = 'block' }'three-pane > aside' { display = 'block' padding = '.5rem calc(var(--layout-gutter) - .75rem) 2rem' }'three-pane > main' { display = 'block' minWidth = '0' padding = '1rem var(--layout-gutter) 3rem' }'three-pane.list > main' { display = 'none' }'three-pane.detail > aside' { display = 'none' }'three-pane > aside ul' { margin = '0' padding = '0' listStyle = 'none' }'three-pane > aside li' { margin = '0' }'three-pane > aside li a,three-pane > aside li > a:first-child' { display = 'flex' flexDirection = 'column' alignItems = 'stretch' justifyContent = 'center' gap = '.1rem' minHeight = 'var(--layout-tap)' padding = '.6rem .75rem' color = 'var(--color-text)' borderRadius = 'var(--radius-small)' }'three-pane > aside li a:hover' { textDecoration = 'none' background = 'var(--color-surface)' }'three-pane > aside li a.selected,three-pane > aside li a[aria-current="page"]' { color = 'var(--color-text-strong)' background = 'var(--color-surface)' }'three-pane > aside input,three-pane > aside select' { width = '100%' background = 'var(--color-background)' }'three-pane a.back' { display = 'inline-flex' alignItems = 'center' minHeight = 'var(--layout-tap)' marginBottom = '1rem' fontWeight = '600' }'three-pane a.back::before' { content = '"‹ "' }// the opened item's own actions: a row of buttons on a surface strip, staying in reach while the item scrolls'three-pane > main > menu' { position = 'sticky' top = 'var(--layout-header)' zIndex = '2' display = 'flex' flexWrap = 'wrap' gap = '.25rem' margin = '0 0 1.25rem' padding = '.3rem' listStyle = 'none' background = 'var(--color-background-sunken)' borderRadius = 'var(--radius-large)' }'three-pane > main > menu li' { margin = '0' }'three-pane > main > menu button' { padding = '.4rem .7rem' }'three-pane > main > menu button:hover' { background = 'var(--color-background)' }'@media (min-width: 60rem)' {'three-pane' { display = 'grid' gridTemplateColumns = 'var(--layout-sidebar) var(--layout-list) minmax(0, 1fr)' height = 'calc(100dvh - var(--layout-header))' }'three-pane > app-sidebar' { minHeight = '0' overflowY = 'auto' padding = '1rem .75rem 2rem' }'three-pane > aside,three-pane.detail > aside' { display = 'block' minHeight = '0' overflowY = 'auto' padding = '1rem .75rem 2rem' background = 'var(--color-background-sunken)' }'three-pane > main,three-pane.list > main' { display = 'block' minHeight = '0' overflowY = 'auto' padding = '1.5rem clamp(1.5rem, 4vw, 4rem) 3rem' }'three-pane > main > menu' { top = '0' }'three-pane a.back' { display = 'none' }}}View {threePane { class = view slot }}
Branches
- f1-broken-json
- f2-api-bugs
- gp-gate-ports
- heap-revert
- hl25-records
- ident-chooser-selector
- mainmain branch
- p51-public-pr-reads
- records-1112
- s25-no-session-on-login-error
- v59
- w52-person-approval
- w52b-approval-followup
- w52c-header-phone
- w53-pulls-speed-pr
- w54-repo-rename-pr
- w55-rename-org
- w56-owner-members
- w62-pr-close
- w63-force-push
- w64-org-slash
Latest commits
- dd0267edgitoria#46: fix a label in the keyed gatemre
- b1dcb580gitoria#46: statuses keyed by app + context, required = app + context, old rows still readmre
- 9678a8f3gitoria#46: contract v1.4, statuses keyed by app + contextmre
- bdcbbaa9gitoria#47: rate limits, status read route, statuses + required on the pull (merge w47-limits)mre
- 772c401fgitoria#45: W45 report, logmre
- b6b793afgitoria#45: PR page with reviews, threads, conversation, Review again (merge w45-pr-page)mre
- fb9e7554gitoria#45: browser gate: a /pulls title links to the PR pagemre
- f7198131gitoria#45: tests/pr-page.mjs gatemre
- 483141d0gitoria#45: Settings shows the Apps heading only to the ownermre
- e2eff8f6gitoria#45: the PR page /pulls/N with reviews, threads, verdicts, conversation, comment, reply, resolve and Review againmre
- 7a602839gitoria#45: raiseEvent can send to one app only; people's comments, replies and resolving in reviews.hlmre
- 5de7f578gitoria#47: rate limits per app (429, Retry-After), status read route, statuses and required on the pull, one JSON check for every write routemre
- 19edc1f5gitoria#44: contract v1.3.1, what outdated meansmre
- 7c2277ccgitoria#38: worker reports W40–W46, logmre
- 1c3fa842gitoria#45 #47: worker briefsmre
- 0a46bf7dgitoria#47: apps API contract v1.3 (status read route, statuses + required on the pull)mre
- 3373f7c3gitoria#38: push API contract v1.2.1, reviews, worker briefs and logmre
- 34143d2cgitoria#46: closing brace of appComments lost in the mergemre
- 54927c9cgitoria#46: PR statuses and required checks before merge (merge w46-status)mre
- 187e1871gitoria#46: badges without decorative bordersmre