| <!DOCTYPE html> | |
| <!-- A copy of the Board Agenda Tool's design book. BAT's copy, docs/design-book.html in | |
| apache/tooling-agenda, is the source: change it there first and copy it here, so the | |
| two tools keep one design system (REQUIREMENTS.md, N-6 and section 5). --> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width,initial-scale=1.0" /> | |
| <meta name="description" content="The Board Agenda Tool design system: tokens, information types, components, behaviour and a page-by-page redesign of the data." /> | |
| <link rel="icon" type="image/x-icon" href="https://apache.org/favicons/favicon.ico" /> | |
| <title>BAT Design Book</title> | |
| <style> | |
| @import url("https://www.apache.org/css/Montserrat-300-600-800.css"); | |
| @import url("https://www.apache.org/css/OpenSans.css"); | |
| :root { | |
| /* apache.org's own :root custom properties, which is what #555 adopted, plus | |
| three documented additions. see section 02. */ | |
| --navy: #28265e; /* --color-navy */ | |
| --violet: #7c297d; /* --color-purple, and --color-link */ | |
| --magenta:#7c297d; | |
| --stop: #d22128; /* --color-red */ | |
| --flag: #dd552c; /* --color-orange - 4.0:1 on white, so never for text */ | |
| --flag-text: #a8421d;/* addition: the same orange, darkened to pass on white */ | |
| --gold: #f7ae18; /* addition: awaiting; the ASF :root has no amber */ | |
| --gold-text: #8a6003;/* addition: the same amber, darkened to pass on white */ | |
| --go: #17614a; /* addition: approval has no colour in the ASF palette */ | |
| --ink: #17161f; | |
| --body: #34313f; | |
| --muted: #6b6779; | |
| --rule: #dcd9e0; | |
| --rule-soft:#eceaf0; | |
| --paper: #faf9f7; | |
| --surface: #ffffff; | |
| --plate: #f4f2f6; | |
| --code-bg: #f3f1f5; | |
| --tint-stop: #fdecec; | |
| --tint-flag: #fdf0e9; | |
| --tint-gold: #fdf6e2; | |
| --tint-violet: #fef4ff; /* --color-lavendar */ | |
| --tint-go: #e7f1ed; | |
| --tint-navy: #ecebf3; | |
| --display: 'Montserrat', 'Trebuchet MS', sans-serif; | |
| --text: 'Open Sans', 'Segoe UI', sans-serif; | |
| --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace; | |
| --measure: 66ch; | |
| --radius: 6px; | |
| --radius-sm: 3px; | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| :root { | |
| --navy: #8f8cd8; | |
| --violet: #b98fd8; | |
| --magenta: #e07fb0; | |
| --stop: #f2707f; | |
| --flag: #f3a35c; | |
| --flag-text: #f3a35c; | |
| --gold: #f3c96a; | |
| --gold-text: #f3c96a; | |
| --go: #4bbf9a; | |
| --ink: #f2f0f7; | |
| --body: #cdc9d8; | |
| --muted: #948fa4; | |
| --rule: #3a3646; | |
| --rule-soft: #2b2834; | |
| --paper: #141219; | |
| --surface: #1c1922; | |
| --plate: #221f2b; | |
| --code-bg: #241f2e; | |
| --tint-stop: #33191d; | |
| --tint-flag: #33251a; | |
| --tint-gold: #332c18; | |
| --tint-violet: #281f36; | |
| --tint-go: #16302a; | |
| --tint-navy: #21203a; | |
| } | |
| } | |
| :root[data-theme='dark'] { | |
| --navy: #8f8cd8; | |
| --violet: #b98fd8; | |
| --magenta: #e07fb0; | |
| --stop: #f2707f; | |
| --flag: #f3a35c; | |
| --flag-text: #f3a35c; | |
| --gold: #f3c96a; | |
| --gold-text: #f3c96a; | |
| --go: #4bbf9a; | |
| --ink: #f2f0f7; | |
| --body: #cdc9d8; | |
| --muted: #948fa4; | |
| --rule: #3a3646; | |
| --rule-soft: #2b2834; | |
| --paper: #141219; | |
| --surface: #1c1922; | |
| --plate: #221f2b; | |
| --code-bg: #241f2e; | |
| --tint-stop: #33191d; | |
| --tint-flag: #33251a; | |
| --tint-gold: #332c18; | |
| --tint-violet: #281f36; | |
| --tint-go: #16302a; | |
| --tint-navy: #21203a; | |
| } | |
| :root[data-theme='light'] { | |
| --navy: #28265e; | |
| --violet: #7c297d; | |
| --magenta:#7c297d; | |
| --stop: #d22128; | |
| --flag: #dd552c; | |
| --flag-text: #a8421d; | |
| --gold: #f7ae18; | |
| --gold-text: #8a6003; | |
| --go: #17614a; | |
| --ink: #17161f; | |
| --body: #34313f; | |
| --muted: #6b6779; | |
| --rule: #dcd9e0; | |
| --rule-soft:#eceaf0; | |
| --paper: #faf9f7; | |
| --surface: #ffffff; | |
| --plate: #f4f2f6; | |
| --code-bg: #f3f1f5; | |
| --tint-stop: #fdecec; | |
| --tint-flag: #fdf0e9; | |
| --tint-gold: #fdf6e2; | |
| --tint-violet: #fef4ff; | |
| --tint-go: #e7f1ed; | |
| --tint-navy: #ecebf3; | |
| } | |
| * { box-sizing: border-box; } | |
| body { | |
| margin: 0; | |
| background: var(--paper); | |
| color: var(--body); | |
| font-family: var(--text); | |
| font-size: 16px; | |
| line-height: 1.65; | |
| -webkit-text-size-adjust: 100%; | |
| } | |
| .ribbon { | |
| height: 6px; | |
| background: linear-gradient(90deg, #282661 0%, #662f8f 20%, #9e2165 40%, #cb2138 60%, #ea7826 80%, #f7ae18 100%); | |
| position: sticky; top: 0; z-index: 50; | |
| } | |
| .shell { | |
| display: grid; | |
| grid-template-columns: 15rem minmax(0, 1fr); | |
| gap: 3.5rem; | |
| max-width: 74rem; | |
| margin: 0 auto; | |
| padding: 0 2rem 8rem; | |
| } | |
| /* ---------- contents rail ---------- */ | |
| nav.rail { | |
| position: sticky; | |
| top: 3rem; | |
| align-self: start; | |
| padding-top: 3.25rem; | |
| font-family: var(--display); | |
| font-size: 12.5px; | |
| line-height: 1.5; | |
| max-height: calc(100vh - 5rem); | |
| overflow-y: auto; | |
| } | |
| nav.rail .rail-title { | |
| font-size: 10.5px; font-weight: 600; letter-spacing: .1em; | |
| text-transform: uppercase; color: var(--muted); | |
| padding-bottom: .6rem; margin-bottom: .6rem; border-bottom: 1px solid var(--rule); | |
| } | |
| nav.rail { counter-reset: r; } | |
| nav.rail ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .1rem; } | |
| nav.rail a { | |
| display: grid; grid-template-columns: 1.6rem 1fr; gap: .3rem; | |
| color: var(--muted); text-decoration: none; padding: .3rem .4rem; | |
| border-radius: var(--radius-sm); border-left: 2px solid transparent; | |
| } | |
| nav.rail a::before { counter-increment: r; content: counter(r, decimal-leading-zero); color: var(--rule); font-variant-numeric: tabular-nums; } | |
| nav.rail a:hover { color: var(--ink); background: var(--plate); } | |
| nav.rail a:hover::before { color: var(--navy); } | |
| main { padding-top: 3.25rem; min-width: 0; } | |
| /* ---------- masthead ---------- */ | |
| .masthead { margin-bottom: 4rem; } | |
| .eyebrow { | |
| font-family: var(--display); font-size: 11px; font-weight: 600; | |
| letter-spacing: .16em; text-transform: uppercase; color: var(--magenta); | |
| margin-bottom: 1rem; | |
| } | |
| h1 { | |
| font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.4rem); | |
| line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); | |
| margin: 0 0 1.25rem; text-wrap: balance; max-width: 16ch; | |
| } | |
| .standfirst { font-size: 1.15rem; line-height: 1.6; max-width: var(--measure); color: var(--body); margin: 0; } | |
| .standfirst strong { color: var(--ink); font-weight: 700; } | |
| /* ---------- sections ---------- */ | |
| section { margin-bottom: 4.5rem; scroll-margin-top: 3rem; } | |
| h2 { | |
| font-family: var(--display); font-weight: 600; font-size: 1.6rem; | |
| color: var(--ink); letter-spacing: -0.01em; line-height: 1.2; | |
| margin: 0 0 .35rem; text-wrap: balance; | |
| padding-top: 1.5rem; border-top: 2px solid var(--ink); | |
| display: grid; grid-template-columns: 2.6rem 1fr; gap: .5rem; | |
| } | |
| h2 .num { font-size: 1rem; font-weight: 300; color: var(--magenta); font-variant-numeric: tabular-nums; padding-top: .32rem; } | |
| .dek { max-width: var(--measure); color: var(--muted); margin: 0 0 2rem 3.1rem; font-size: .96rem; } | |
| h3 { | |
| font-family: var(--display); font-weight: 600; font-size: 1.08rem; | |
| color: var(--ink); margin: 2.5rem 0 .6rem; letter-spacing: -0.005em; text-wrap: balance; | |
| } | |
| h4 { | |
| font-family: var(--display); font-size: 11px; font-weight: 600; | |
| letter-spacing: .12em; text-transform: uppercase; color: var(--muted); | |
| margin: 1.75rem 0 .5rem; | |
| } | |
| p { max-width: var(--measure); margin: 0 0 1rem; } | |
| ul, ol { max-width: var(--measure); margin: 0 0 1rem; padding-left: 1.15rem; } | |
| li { margin-bottom: .35rem; } | |
| a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: .16em; } | |
| strong { color: var(--ink); font-weight: 700; } | |
| em { font-style: italic; } | |
| code, .mono { font-family: var(--mono); font-size: .875em; } | |
| p code, li code, td code { | |
| background: var(--code-bg); padding: .08em .34em; border-radius: var(--radius-sm); | |
| color: var(--ink); | |
| } | |
| :focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; border-radius: 2px; } | |
| /* the evidence chip: every rule that came out of the probe carries its number */ | |
| .measured { | |
| display: inline-flex; align-items: baseline; gap: .4rem; | |
| font-family: var(--display); font-size: 10.5px; font-weight: 600; | |
| letter-spacing: .07em; text-transform: uppercase; | |
| color: var(--magenta); background: var(--tint-violet); | |
| border-radius: 999px; padding: .18em .7em; white-space: nowrap; | |
| vertical-align: middle; | |
| } | |
| .note { | |
| border-left: 2px solid var(--rule); padding: .1rem 0 .1rem 1.1rem; | |
| margin: 1.25rem 0; color: var(--muted); font-size: .93rem; max-width: var(--measure); | |
| } | |
| .note strong { color: var(--ink); } | |
| /* ---------- specimen plate ---------- */ | |
| .plate { | |
| background: var(--plate); border: 1px solid var(--rule); | |
| border-radius: var(--radius); padding: 1.5rem; margin: 1.25rem 0 1.75rem; | |
| overflow-x: auto; | |
| } | |
| .plate--surface { background: var(--surface); } | |
| .plate-label { | |
| font-family: var(--display); font-size: 10px; font-weight: 600; | |
| letter-spacing: .13em; text-transform: uppercase; color: var(--muted); | |
| margin-bottom: 1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; | |
| } | |
| .plate-label .rhs { color: var(--rule); } | |
| /* ---------- tables ---------- */ | |
| .tbl-wrap { overflow-x: auto; margin: 1rem 0 1.75rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); } | |
| table.spec { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 34rem; } | |
| table.spec th { | |
| text-align: left; font-family: var(--display); font-size: 10px; font-weight: 600; | |
| letter-spacing: .1em; text-transform: uppercase; color: var(--muted); | |
| padding: .7rem .85rem; border-bottom: 1px solid var(--rule); white-space: nowrap; | |
| background: var(--plate); | |
| } | |
| table.spec td { padding: .6rem .85rem; border-bottom: 1px solid var(--rule-soft); vertical-align: top; } | |
| table.spec tr:last-child td { border-bottom: 0; } | |
| table.spec td.num, table.spec th.num { text-align: right; font-variant-numeric: tabular-nums; } | |
| table.spec td.mono { font-family: var(--mono); font-size: 13px; color: var(--ink); } | |
| table.spec .was { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--stop); } | |
| /* ---------- colour ---------- */ | |
| .ramp { display: flex; border-radius: var(--radius-sm); overflow: hidden; height: 3rem; margin-bottom: .5rem; border: 1px solid var(--rule); } | |
| .ramp span { flex: 1; } | |
| .taps { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .75rem; } | |
| .tap { border: 1px solid var(--rule); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); } | |
| .tap .chipc { height: 3rem; } | |
| .tap .meta { padding: .5rem .6rem .6rem; font-size: 12px; line-height: 1.4; } | |
| .tap .meta b { display: block; font-family: var(--display); font-size: 11.5px; font-weight: 600; color: var(--ink); letter-spacing: .02em; } | |
| .tap .meta .hex { font-family: var(--mono); font-size: 11px; color: var(--muted); } | |
| .tap .meta .use { color: var(--muted); display: block; margin-top: .15rem; } | |
| /* ---------- type specimen ---------- */ | |
| .type-row { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1.25rem; padding: .9rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; } | |
| .type-row:last-child { border-bottom: 0; } | |
| .type-row .k { font-family: var(--display); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } | |
| .type-row .k span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0; text-transform: none; color: var(--rule); margin-top: .2rem; } | |
| .t-display { font-family: var(--display); font-weight: 600; font-size: 32px; line-height: 1.15; color: var(--ink); letter-spacing: -.015em; } | |
| .t-section { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.25; color: var(--ink); } | |
| .t-sub { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ink); } | |
| .t-body { font-family: var(--text); font-size: 16px; line-height: 1.6; color: var(--body); } | |
| .t-ui { font-family: var(--text); font-size: 14px; line-height: 1.45; color: var(--body); } | |
| .t-label { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } | |
| .t-data { font-family: var(--mono); font-size: 13.5px; color: var(--ink); } | |
| .t-micro { font-family: var(--text); font-size: 12px; color: var(--muted); } | |
| /* ---------- live widgets (built in the system this book specifies) ---------- */ | |
| .w { font-family: var(--text); font-size: 14px; color: var(--body); } | |
| .chip { | |
| flex: none; | |
| display: inline-flex; align-items: center; gap: .3rem; | |
| font-family: var(--text); font-size: 12px; font-weight: 600; line-height: 1; | |
| padding: .28em .55em; border-radius: var(--radius-sm); | |
| border: 1px solid transparent; white-space: nowrap; | |
| } | |
| .chip svg { width: 12px; height: 12px; flex: none; } | |
| .chip .ct { font-variant-numeric: tabular-nums; font-weight: 700; } | |
| .chip--stop { background: var(--tint-stop); color: var(--stop); border-color: color-mix(in srgb, var(--stop) 30%, transparent); } | |
| .chip--flag { background: var(--tint-flag); color: var(--flag-text); border-color: color-mix(in srgb, var(--flag) 40%, transparent); } | |
| .chip--gold { background: var(--tint-gold); color: var(--gold-text); border-color: color-mix(in srgb, var(--gold) 45%, transparent); } | |
| .chip--note { background: var(--tint-violet); color: var(--violet); border-color: color-mix(in srgb, var(--violet) 30%, transparent); } | |
| .chip--go { background: var(--tint-go); color: var(--go); border-color: color-mix(in srgb, var(--go) 30%, transparent); } | |
| .chip--navy { background: var(--tint-navy); color: var(--navy); border-color: color-mix(in srgb, var(--navy) 25%, transparent); } | |
| .chip--yours { background: transparent; color: var(--stop); border-color: var(--stop); border-style: dashed; } | |
| .chip--quiet { background: transparent; color: var(--ink); border-color: var(--rule); } | |
| /* the word is hidden from sight on a narrow viewport, never from the accessible | |
| name, and never in comfortable mode. .is-narrow simulates it in this book. */ | |
| .chip .w { white-space: nowrap; } | |
| .is-narrow .chip .w { | |
| position: absolute; width: 1px; height: 1px; | |
| clip-path: inset(50%); overflow: hidden; white-space: nowrap; | |
| } | |
| .btn { | |
| font-family: var(--text); font-size: 14px; font-weight: 600; line-height: 1; | |
| padding: .55em .9em; border-radius: var(--radius-sm); border: 1px solid transparent; | |
| cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; | |
| min-height: 32px; | |
| } | |
| .btn--primary { background: var(--navy); color: #fff; } | |
| .btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--rule); } | |
| .btn--quiet { background: transparent; color: var(--navy); padding-inline: .3em; } | |
| .btn--danger { background: var(--surface); color: var(--stop); border-color: color-mix(in srgb, var(--stop) 45%, transparent); } | |
| :root[data-theme='dark'] .btn--primary { color: #14121b; } | |
| @media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .btn--primary { color: #14121b; } } | |
| .kbd { | |
| font-family: var(--mono); font-size: 11.5px; line-height: 1; | |
| border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 4px; | |
| padding: .25em .45em; background: var(--surface); color: var(--ink); white-space: nowrap; | |
| } | |
| /* queue row */ | |
| .qrow { | |
| display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; | |
| padding: .55rem .75rem; border-bottom: 1px solid var(--rule-soft); | |
| background: var(--surface); text-decoration: none; color: var(--body); | |
| } | |
| .qrow:last-child { border-bottom: 0; } | |
| .qrow .n { font-family: var(--mono); font-size: 12.5px; color: var(--muted); width: 2.8rem; flex: none; font-variant-numeric: tabular-nums; } | |
| .qrow .t { font-weight: 600; color: var(--ink); } | |
| .qrow .who { color: var(--muted); } | |
| .qrow .chips { display: flex; gap: .3rem; margin-left: auto; flex-wrap: wrap; } | |
| .qrow--section { background: var(--plate); font-family: var(--display); font-weight: 600; color: var(--ink); } | |
| .qlist { border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; } | |
| /* item bar */ | |
| .itembar { | |
| display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; | |
| padding: .6rem .75rem; background: var(--surface); | |
| border: 1px solid var(--rule); border-radius: var(--radius); | |
| } | |
| .itembar .title { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); } | |
| .itembar .spacer { flex: 1 1 2rem; } | |
| .iconbtn { | |
| width: 30px; height: 30px; border-radius: var(--radius-sm); border: 1px solid var(--rule); | |
| background: var(--surface); color: var(--muted); display: inline-flex; | |
| align-items: center; justify-content: center; cursor: pointer; flex: none; | |
| } | |
| .iconbtn svg { width: 15px; height: 15px; } | |
| .person { display: inline-flex; flex-direction: column; gap: .1rem; line-height: 1.35; min-width: 0; text-decoration: none; } | |
| .person .nm { color: var(--navy); font-weight: 600; } | |
| a.person:hover .nm, a.person:focus-visible .nm { text-decoration: underline; } | |
| .person .sub { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; } | |
| .person .uid { font-family: var(--mono); font-size: 12px; color: var(--muted); overflow-wrap: anywhere; } | |
| .person .st { | |
| font-family: var(--display); font-size: 9.5px; font-weight: 600; letter-spacing: .09em; | |
| text-transform: uppercase; color: var(--muted); border: 1px solid var(--rule); | |
| border-radius: var(--radius-sm); padding: .1em .35em; line-height: 1.3; | |
| } | |
| /* a fact about the row, carried by type and position - never a chip */ | |
| .office { | |
| margin-left: auto; flex: none; text-align: right; | |
| font-family: var(--display); font-size: 11px; font-weight: 600; | |
| letter-spacing: .08em; text-transform: uppercase; color: var(--muted); | |
| min-width: 7rem; | |
| } | |
| .seat { width: 11rem; flex: none; } | |
| .empty { | |
| border: 1px dashed var(--rule); border-radius: var(--radius); | |
| padding: 1.5rem; text-align: center; color: var(--muted); background: var(--surface); | |
| } | |
| .empty b { display: block; font-family: var(--display); color: var(--ink); font-size: 15px; margin-bottom: .3rem; } | |
| .grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; } | |
| .do-dont { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin: 1.25rem 0 1.75rem; } | |
| .dd { border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem; background: var(--surface); } | |
| .dd .h { font-family: var(--display); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .7rem; } | |
| .dd--do .h { color: var(--go); } | |
| .dd--dont .h { color: var(--stop); } | |
| .dd p { font-size: 13px; margin: .6rem 0 0; color: var(--muted); } | |
| footer.book { | |
| border-top: 2px solid var(--ink); padding-top: 1.5rem; margin-top: 1rem; | |
| font-size: 13px; color: var(--muted); max-width: var(--measure); | |
| } | |
| @media (max-width: 60rem) { | |
| .shell { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 1.25rem 5rem; } | |
| nav.rail { position: static; max-height: none; padding-top: 2rem; } | |
| nav.rail ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); } | |
| main { padding-top: 2rem; } | |
| h2 { grid-template-columns: 2.1rem 1fr; font-size: 1.35rem; } | |
| .dek { margin-left: 0; } | |
| .type-row { grid-template-columns: minmax(0, 1fr); gap: .3rem; } | |
| } | |
| /* ---------- part dividers ---------- */ | |
| .part { | |
| margin: 5rem 0 3.5rem; padding: 1.4rem 0 0; | |
| border-top: 6px solid var(--navy); | |
| display: grid; grid-template-columns: 2.6rem 1fr; gap: .5rem; align-items: baseline; | |
| } | |
| .part .pn { | |
| font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .12em; | |
| color: var(--navy); | |
| } | |
| .part .pt { | |
| font-family: var(--display); font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; | |
| color: var(--ink); text-transform: uppercase; | |
| } | |
| .part .pd { grid-column: 2; font-size: .92rem; color: var(--muted); max-width: var(--measure); margin-top: .2rem; } | |
| nav.rail .part-label { | |
| font-family: var(--display); font-size: 9.5px; font-weight: 600; letter-spacing: .13em; | |
| text-transform: uppercase; color: var(--navy); margin: .9rem 0 .25rem; padding-left: .4rem; | |
| } | |
| nav.rail .part-label:first-of-type { margin-top: 0; } | |
| /* ---------- state matrix ---------- */ | |
| .matrix { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: .75rem; } | |
| .mcell { border: 1px solid var(--rule); border-radius: var(--radius-sm); background: var(--surface); padding: .8rem .7rem; } | |
| .mcell .ml { | |
| font-family: var(--display); font-size: 9.5px; font-weight: 600; letter-spacing: .1em; | |
| text-transform: uppercase; color: var(--muted); margin-bottom: .55rem; | |
| } | |
| /* ---------- forms ---------- */ | |
| .field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1rem; max-width: 26rem; } | |
| .field > label { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); } | |
| .field .hint { font-size: 12px; color: var(--muted); } | |
| .field .err { font-size: 12px; color: var(--stop); display: flex; align-items: center; gap: .3rem; } | |
| .field .err svg { width: 12px; height: 12px; } | |
| .ctrl { | |
| font-family: var(--text); font-size: 14px; color: var(--ink); background: var(--surface); | |
| border: 1px solid var(--rule); border-radius: var(--radius-sm); padding: .5rem .6rem; | |
| min-height: 36px; width: 100%; | |
| } | |
| .ctrl:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); } | |
| .ctrl[aria-invalid='true'] { border-color: var(--stop); border-width: 2px; } | |
| .ctrl[disabled] { background: var(--plate); color: var(--muted); cursor: not-allowed; } | |
| .req { color: var(--stop); font-weight: 700; } | |
| /* ---------- motion ---------- */ | |
| .ease-row { display: grid; grid-template-columns: 8.5rem 1fr 5.5rem; gap: 1rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--rule-soft); } | |
| .ease-row:last-child { border-bottom: 0; } | |
| .ease-bar { height: 6px; background: var(--rule-soft); border-radius: 3px; position: relative; overflow: hidden; } | |
| .ease-bar i { position: absolute; inset: 0 auto 0 0; width: 34%; background: var(--navy); border-radius: 3px; } | |
| /* ---------- print sheet ---------- */ | |
| .sheet { | |
| background: #fff; color: #111; border: 1px solid var(--rule); border-radius: 3px; | |
| padding: 1.4rem 1.6rem; font-family: var(--text); font-size: 12px; line-height: 1.5; | |
| max-width: 30rem; box-shadow: 0 1px 0 var(--rule); | |
| } | |
| .sheet h5 { font-family: var(--display); font-size: 13px; font-weight: 600; margin: 0 0 .1rem; color: #111; } | |
| .sheet .rule { border-top: 1px solid #bbb; margin: .6rem 0; } | |
| .sheet .meta { font-size: 10px; color: #555; } | |
| .sheet .st { font-size: 10px; border: 1px solid #333; border-radius: 2px; padding: 0 .25em; } | |
| .swatch-inline { display: inline-block; width: .8em; height: .8em; border-radius: 2px; vertical-align: -.05em; border: 1px solid rgb(0 0 0 / 20%); } | |
| @media (prefers-reduced-motion: reduce) { | |
| * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <svg width="0" height="0" style="position:absolute" aria-hidden="true" focusable="false"><defs> | |
| <symbol id="i-missing" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.6"><circle cx="8" cy="8" r="6.2"/><path d="M5.8 5.8l4.4 4.4M10.2 5.8l-4.4 4.4"/></symbol> | |
| <symbol id="i-flag" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.6"><path d="M3.6 14.5V2"/><path d="M3.6 2.6h8.6l-1.9 3.1 1.9 3.1H3.6z" fill="currentColor" stroke="none"/></symbol> | |
| <symbol id="i-bell" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M4 6.6a4 4 0 1 1 8 0c0 2.6.9 3.7 1.3 4.1H2.7C3.1 10.3 4 9.2 4 6.6Z"/><path d="M6.6 13a1.6 1.6 0 0 0 2.8 0"/></symbol> | |
| <symbol id="i-approve" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.6"><rect x="2.2" y="2.2" width="11.6" height="11.6" rx="2"/><path d="M5 8.3l2.2 2.2L11 6.2"/></symbol> | |
| <symbol id="i-comment" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M2.2 3.6a1.4 1.4 0 0 1 1.4-1.4h8.8a1.4 1.4 0 0 1 1.4 1.4v6a1.4 1.4 0 0 1-1.4 1.4H6.2L3 14.1V11h-.8Z"/></symbol> | |
| <symbol id="i-action" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.6"><path d="M6.4 4h7.2M6.4 8h7.2M6.4 12h7.2"/><path d="M2.4 3.9l.9.9 1.6-1.7M2.4 7.9l.9.9 1.6-1.7M2.4 11.9l.9.9 1.6-1.7"/></symbol> | |
| <symbol id="i-progress" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.6"><path d="M1.4 8h3l1.8-4.6 2.6 9.2L10.9 8h3.7"/></symbol> | |
| <symbol id="i-read" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.6"><path d="M2.6 8.4l3 3 7.8-7.8"/></symbol> | |
| <symbol id="i-pending" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M11.6 2.6a1.6 1.6 0 0 1 2.3 2.3L6.4 12.4l-3 .8.8-3Z"/><path d="M2.3 14.4h11.4"/></symbol> | |
| <symbol id="i-clock" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.6"><circle cx="8" cy="8" r="6.2"/><path d="M8 4.5V8l2.4 1.5"/></symbol> | |
| <symbol id="i-idea" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M8 1.6a4.4 4.4 0 0 0-2.6 7.95c.4.3.65.75.7 1.25h3.8c.05-.5.3-.95.7-1.25A4.4 4.4 0 0 0 8 1.6Z"/><path d="M6.2 12.4h3.6"/><path d="M6.9 14.3h2.2"/></symbol> | |
| <symbol id="i-calendar" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="2.2" y="3.2" width="11.6" height="10.6" rx="1.4"/><path d="M2.2 6.4h11.6M5.4 1.9v2.4M10.6 1.9v2.4"/><circle cx="8" cy="10" r="1.1" fill="currentColor" stroke="none"/></symbol> | |
| <symbol id="i-deferred" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="2.2" y="3.2" width="11.6" height="10.6" rx="1.4"/><path d="M2.2 6.4h11.6M5.4 1.9v2.4M10.6 1.9v2.4M8 8.6v3.4M6.3 10.3h3.4"/></symbol> | |
| <symbol id="i-consent" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M2.2 4.4a1.2 1.2 0 0 1 1.2-1.2h9.2a1.2 1.2 0 0 1 1.2 1.2v4.2"/><path d="M2.2 4.4v7.2a1.2 1.2 0 0 0 1.2 1.2h4.6"/><path d="m2.6 4.1 5.4 4 5.4-4"/><path d="m10.2 11.6 1.6 1.6 2.6-3.2"/></symbol> | |
| <symbol id="i-byhand" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="6.6" cy="4.9" r="2.5"/><path d="M1.9 13.6c.5-2.5 2.4-3.9 4.7-3.9 1 0 1.9.26 2.7.72"/><path d="M12.6 8.2v3.3M12.6 13.6v.1"/></symbol> | |
| <symbol id="i-archive" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="1.9" y="2.4" width="12.2" height="3.2" rx="1"/><path d="M3.1 5.6v7a1.2 1.2 0 0 0 1.2 1.2h7.4a1.2 1.2 0 0 0 1.2-1.2v-7"/><path d="M6.4 8.4h3.2"/></symbol> | |
| <symbol id="i-publish" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M9 1.9H4.6a1.3 1.3 0 0 0-1.3 1.3v9.6a1.3 1.3 0 0 0 1.3 1.3h6.8a1.3 1.3 0 0 0 1.3-1.3V5.5Z"/><path d="M9 1.9v3.6h3.7"/><path d="M8 11.6V7.6m0 0L6.5 9.1M8 7.6l1.5 1.5"/></symbol> | |
| <symbol id="i-cleared" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M8 1.5 9.9 2.7l2.2.3.3 2.2L13.6 8l-1.2 2.8-.3 2.2-2.2.3L8 14.5l-1.9-1.2-2.2-.3-.3-2.2L2.4 8l1.2-2.8.3-2.2 2.2-.3Z"/><path d="M5.6 8.2 7.4 10l3.2-3.7"/></symbol> | |
| <symbol id="i-open" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M4.2 2.2h7.6M4.2 13.8h7.6"/><path d="M5.2 2.2v2.3L8 8l2.8-3.5V2.2"/><path d="M5.2 13.8v-2.3L8 8l2.8 3.5v2.3"/></symbol> | |
| <symbol id="i-refused" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.6"><circle cx="8" cy="8" r="6.2"/><path d="M3.6 12.4 12.4 3.6"/></symbol> | |
| <symbol id="i-unclear" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="8" cy="8" r="6.2"/><path d="M6.1 6.2a1.9 1.9 0 1 1 2.5 2.2c-.5.2-.8.6-.8 1.1v.3"/><path d="M7.8 11.9h.4"/></symbol> | |
| </defs></svg> | |
| <div class="ribbon"></div> | |
| <p style="margin:0;padding:.5rem 1rem;font:14px/1.4 system-ui,sans-serif;background:#fdf6e2;color:#8a6003">This is a copy, kept in apache/tooling-directory because Directory follows the same design system. The source is <a href="https://github.com/apache/tooling-agenda/blob/main/docs/design-book.html">docs/design-book.html in apache/tooling-agenda</a>: change the book there first, then copy it here.</p> | |
| <div class="shell"> | |
| <nav class="rail" aria-label="Contents"> | |
| <div class="rail-title">Contents</div> | |
| <div class="part-label">I · Foundations</div> | |
| <ol> | |
| <li><a href="#why">Why a book</a></li> | |
| <li><a href="#colour">Colour</a></li> | |
| <li><a href="#type">Type</a></li> | |
| <li><a href="#space">Space & surface</a></li> | |
| <li><a href="#motion">Motion</a></li> | |
| <li><a href="#icons">Iconography</a></li> | |
| </ol> | |
| <div class="part-label">II · Language</div> | |
| <ol start="7"> | |
| <li value="7"><a href="#data">Information types</a></li> | |
| <li><a href="#status">Status & the chip</a></li> | |
| <li><a href="#links">Links</a></li> | |
| <li><a href="#voice">Voice & tone</a></li> | |
| </ol> | |
| <div class="part-label">III · Components</div> | |
| <ol> | |
| <li value="11"><a href="#states">States</a></li> | |
| <li><a href="#widgets">The widget set</a></li> | |
| <li><a href="#forms">Forms & inputs</a></li> | |
| <li><a href="#feedback">Feedback</a></li> | |
| <li><a href="#tables">Data tables</a></li> | |
| </ol> | |
| <div class="part-label">IV · Behaviour</div> | |
| <ol> | |
| <li value="16"><a href="#interaction">Interaction</a></li> | |
| <li><a href="#access">Accessibility</a></li> | |
| <li><a href="#responsive">Responsive</a></li> | |
| <li><a href="#print">Print</a></li> | |
| </ol> | |
| <div class="part-label">V · Application</div> | |
| <ol> | |
| <li value="20"><a href="#pages">Every page</a></li> | |
| <li><a href="#worked">Data, worked</a></li> | |
| <li><a href="#order">Order & governance</a></li> | |
| </ol> | |
| <div class="part-label">VI · Evolution</div> | |
| <ol> | |
| <li value="23"><a href="#evolution">What implementation changed</a></li> | |
| </ol> | |
| </nav> | |
| <main> | |
| <div class="masthead"> | |
| <div class="eyebrow">Board Agenda Tool · design book</div> | |
| <h1>One decision, made once.</h1> | |
| <p class="standfirst"> | |
| BAT has <strong>26 pages, four table systems, 18 button variants, 51 icons and 27 distinct | |
| type treatments</strong>. Almost none of that variety carries meaning — it is the residue of | |
| each page being built on the day it was needed. This book fixes the vocabulary so that the | |
| next page is a composition rather than an invention. | |
| </p> | |
| <p class="standfirst" style="margin-top:1.25rem;font-size:1rem;color:var(--muted)"> | |
| Twenty-three chapters in six parts, every assertion measured against the running product. | |
| Companion to issue #555, which argues how the agenda should behave; this book is the | |
| material it is built from. Chapter 23 records what building it changed. | |
| </p> | |
| </div> | |
| <div class="part"> | |
| <span class="pn">Part I</span> | |
| <span class="pt">Foundations</span> | |
| <p class="pd">What everything else is measured in: the palette, the type scale, the spacing step, how things move, and how they are drawn.</p> | |
| </div> | |
| <section id="why"> | |
| <h2><span class="num">01</span> Why a book, and where its numbers come from</h2> | |
| <p class="dek"> | |
| Issue #555 argued how the agenda should work. This is the layer underneath: the pieces | |
| every page is built from, so that argument can be implemented without re-deciding | |
| typography on each screen. | |
| </p> | |
| <p> | |
| Everything asserted here was measured, not eyeballed. A throwaway Playwright probe walked | |
| all 31 rendered surfaces — every server-rendered page, every tab of the agenda app, and one | |
| item of each element type — and recorded the computed type, colour, icon and link | |
| treatment of each, plus what overflows a 390 px viewport and which controls fall under | |
| the 24×24 target minimum. The probe ran against the newest agenda in the | |
| fixtures, <code>2025-06-18</code>, as the Secretary, the Chair and a plain director. | |
| A second probe read every table and list on those pages column by column, counting | |
| distinct values, so that §20 and §21 could judge which data each page is actually | |
| carrying rather than how it is dressed. | |
| </p> | |
| <p>The headline findings, each of which this book answers:</p> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead> | |
| <tr><th>Measured</th><th class="num">Today</th><th>What it means</th></tr> | |
| </thead> | |
| <tbody> | |
| <tr> | |
| <td>Distinct type treatments (size / weight / family)</td> | |
| <td class="num">27</td> | |
| <td>There is no type scale. §03 defines eight roles.</td> | |
| </tr> | |
| <tr> | |
| <td>Share of all on-screen text set in a monospace face</td> | |
| <td class="num">38.7%</td> | |
| <td>Report bodies are rendered markdown typeset in the raw-text container. §07.</td> | |
| </tr> | |
| <tr> | |
| <td>Button variants rendered</td> | |
| <td class="num">18</td> | |
| <td>Four roles are enough. §12.</td> | |
| </tr> | |
| <tr> | |
| <td>Badge variants, over 1,868 badge instances</td> | |
| <td class="num">9</td> | |
| <td>Colour is overloaded, not scarce: see below. §06.</td> | |
| </tr> | |
| <tr> | |
| <td>Meanings sharing <code>bg-warning</code></td> | |
| <td class="num">3</td> | |
| <td>Flagged, awaiting pre-approval, and raises board issues are the same colour.</td> | |
| </tr> | |
| <tr> | |
| <td>Meanings sharing <code>bg-danger</code></td> | |
| <td class="num">2</td> | |
| <td>A missing report and your own uncommitted edit look identical.</td> | |
| </tr> | |
| <tr> | |
| <td>Table systems in use</td> | |
| <td class="num">4</td> | |
| <td>Jinja <code><table></code>, Grid.js (mermaid theme), sveltestrap <code><Table></code>, and a list-group acting as a table. §12.</td> | |
| </tr> | |
| <tr> | |
| <td>Link colour / decoration combinations</td> | |
| <td class="num">8</td> | |
| <td>Including a hardcoded <code>#0000ee</code> that predates the palette. §09.</td> | |
| </tr> | |
| <tr> | |
| <td><code><h1></code> elements on the agenda page</td> | |
| <td class="num">44</td> | |
| <td>All <code>class="modal-title fs-6"</code>, none in a modal; the real page title is an <code><h4></code>. §17.</td> | |
| </tr> | |
| <tr> | |
| <td><code>prefers-reduced-motion</code>, <code>prefers-contrast</code>, <code>aria-live</code> rules</td> | |
| <td class="num">0</td> | |
| <td>Nothing responds to a stated accessibility preference. §17.</td> | |
| </tr> | |
| <tr> | |
| <td>Horizontal overflow at 390 px, agenda page</td> | |
| <td class="num">289px</td> | |
| <td>The queue switcher is a 606 px non-wrapping button group. §18.</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="note"> | |
| <strong>One rule outranks everything here.</strong> Where BAT already has a convention that | |
| works, this book writes it down rather than replacing it. The queue model, the hash-as-state | |
| routing, the keyboard bindings and the pending-changes concept are all kept exactly as they | |
| are. What changes is how they look and how consistently they are expressed. | |
| </div> | |
| </section> | |
| <section id="colour"> | |
| <h2><span class="num">02</span> Colour</h2> | |
| <p class="dek"> | |
| The four brand colours <span class="mono">www.apache.org</span> names in its own | |
| <code>:root</code>, plus three additions it never needed. These are the values | |
| issue #555 adopted, and this book follows it. | |
| </p> | |
| <div class="plate plate--surface"> | |
| <div class="plate-label"><span>Brand, then additions</span><span class="rhs">apache.org/css/styles.css</span></div> | |
| <div class="ramp" role="img" aria-label="The palette from navy through purple, red and orange to amber and green"> | |
| <span style="background:#28265e"></span><span style="background:#7c297d"></span><span style="background:#d22128"></span><span style="background:#dd552c"></span><span style="background:#f7ae18"></span><span style="background:#17614a"></span> | |
| </div> | |
| <div class="taps"> | |
| <div class="tap"><div class="chipc" style="background:#28265e"></div><div class="meta"><b>Navy</b><span class="hex">#28265E</span><span class="use"><code>--color-navy</code> · structure, headings, the one primary action</span></div></div> | |
| <div class="tap"><div class="chipc" style="background:#7c297d"></div><div class="meta"><b>Purple</b><span class="hex">#7C297D</span><span class="use"><code>--color-purple</code>, also <code>--color-link</code> · comments</span></div></div> | |
| <div class="tap"><div class="chipc" style="background:#d22128"></div><div class="meta"><b>Red</b><span class="hex">#D22128</span><span class="use"><code>--color-red</code> · missing, blocking, destructive</span></div></div> | |
| <div class="tap"><div class="chipc" style="background:#dd552c"></div><div class="meta"><b>Orange</b><span class="hex">#DD552C</span><span class="use"><code>--color-orange</code> · flagged. Fills only — see below</span></div></div> | |
| <div class="tap"><div class="chipc" style="background:#a8421d"></div><div class="meta"><b>Orange, text-safe</b><span class="hex">#A8421D</span><span class="use">Addition · the brand orange is 4.0:1 on white</span></div></div> | |
| <div class="tap"><div class="chipc" style="background:#f7ae18"></div><div class="meta"><b>Amber</b><span class="hex">#F7AE18</span><span class="use">Addition · awaiting somebody: approvals, consent</span></div></div> | |
| <div class="tap"><div class="chipc" style="background:#8a6003"></div><div class="meta"><b>Amber, text-safe</b><span class="hex">#8A6003</span><span class="use">Addition · the amber is 1.9:1 on white</span></div></div> | |
| <div class="tap"><div class="chipc" style="background:#17614a"></div><div class="meta"><b>Green</b><span class="hex">#17614A</span><span class="use">Addition · approval has no colour in the ASF palette</span></div></div> | |
| <div class="tap"><div class="chipc" style="background:#fef4ff;border-bottom:1px solid var(--rule)"></div><div class="meta"><b>Lavender</b><span class="hex">#FEF4FF</span><span class="use"><code>--color-lavendar</code> · the comment chip's ground</span></div></div> | |
| </div> | |
| </div> | |
| <div class="note"> | |
| <strong>Two palettes were in play; this settles it.</strong> BAT already ships a six-stop | |
| ribbon in <code>app.css</code> whose stops (<span class="mono">#282661 #662F8F #9E2165 | |
| #CB2138 #EA7826 #F7AE18</span>) are near neighbours of these but not the same values. The | |
| named <code>:root</code> properties win, because they are what apache.org calls its brand and | |
| what #555 was reviewed against. The ribbon keeps its own gradient — it is a decorative | |
| strip, not a source of tokens — and contributes the amber, which the brand set lacks. | |
| </div> | |
| <div class="note"> | |
| <strong>The brand orange never sets text.</strong> <span class="mono">#DD552C</span> is | |
| 4.0:1 on white, under the 4.5:1 minimum. It is legal as a fill, a border or a large glyph; | |
| wherever the flagged state needs words, they are <span class="mono">#A8421D</span>. This is | |
| the single most common way an ASF-branded interface fails contrast. | |
| </div> | |
| <h3>One meaning per hue</h3> | |
| <p> | |
| The current palette is not short of colours; it is short of distinctions. Three different | |
| conditions render as <code>bg-warning</code> and two as <code>bg-danger</code>, so an | |
| agenda index cannot be read at a glance — you have to read the words to know whether the | |
| orange means “somebody flagged this” or “this needs two more approvals”. | |
| The mapping below is exhaustive: if a state is not in this table it does not get a colour. | |
| </p> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>State</th><th>Today</th><th>Becomes</th><th>Chip</th></tr></thead> | |
| <tbody> | |
| <tr><td>Report missing</td><td class="mono was">bg-danger</td><td class="mono">stop</td><td><span class="chip chip--stop"><svg aria-hidden="true"><use href="#i-missing"/></svg><span class="w">missing</span></span></td></tr> | |
| <tr><td>Flagged for discussion</td><td class="mono was">bg-warning</td><td class="mono">flag</td><td><span class="chip chip--flag"><svg aria-hidden="true"><use href="#i-flag"/></svg><span class="w">flagged</span></span></td></tr> | |
| <tr><td>Raises board issues</td><td class="mono was">bg-warning</td><td class="mono">flag</td><td><span class="chip chip--flag"><svg aria-hidden="true"><use href="#i-bell"/></svg><span class="w">board issues</span></span></td></tr> | |
| <tr><td>Awaiting pre-approval</td><td class="mono was">bg-warning</td><td class="mono">gold</td><td><span class="chip chip--gold"><svg aria-hidden="true"><use href="#i-approve"/></svg><span class="ct">2</span><span class="w">approvals</span></span></td></tr> | |
| <tr><td>Awaiting the secretary's own hand</td><td class="mono was">bg-warning</td><td class="mono">gold</td><td><span class="chip chip--gold"><svg aria-hidden="true"><use href="#i-byhand"/></svg><span class="w">needs manual follow-up</span></span></td></tr> | |
| <tr><td>Has comments</td><td class="mono was">bg-secondary</td><td class="mono">note</td><td><span class="chip chip--note"><svg aria-hidden="true"><use href="#i-comment"/></svg><span class="ct">3</span><span class="w">comments</span></span></td></tr> | |
| <tr><td>Action item attached</td><td class="mono was">bg-info</td><td class="mono">navy</td><td><span class="chip chip--navy"><svg aria-hidden="true"><use href="#i-action"/></svg><span class="w">action</span></span></td></tr> | |
| <tr><td>In progress</td><td class="mono was">bg-success</td><td class="mono">go</td><td><span class="chip chip--go"><svg aria-hidden="true"><use href="#i-progress"/></svg><span class="w">in progress</span></span></td></tr> | |
| <tr><td>Your uncommitted change</td><td class="mono was">bg-danger</td><td class="mono">stop, dashed</td><td><span class="chip chip--yours"><svg aria-hidden="true"><use href="#i-pending"/></svg><span class="w">pending</span></span></td></tr> | |
| <tr><td>A project name cleared</td><td class="mono was">—</td><td class="mono">go</td><td><span class="chip chip--go"><svg aria-hidden="true"><use href="#i-cleared"/></svg><span class="w">name cleared</span></span></td></tr> | |
| <tr><td>A project name still being searched</td><td class="mono was">—</td><td class="mono">gold</td><td><span class="chip chip--gold"><svg aria-hidden="true"><use href="#i-open"/></svg><span class="w">name search open</span></span></td></tr> | |
| <tr><td>A project name refused, or never searched</td><td class="mono was">—</td><td class="mono">stop</td><td><span class="chip chip--stop"><svg aria-hidden="true"><use href="#i-refused"/></svg><span class="w">name not cleared</span></span> <span class="chip chip--stop"><svg aria-hidden="true"><use href="#i-missing"/></svg><span class="w">no name search</span></span></td></tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <p> | |
| Two of those deserve their reasoning stated. <strong>Comments become violet</strong>: at 753 | |
| instances they are the most common badge in the product, and today they are grey — the | |
| colour of “nothing in particular” — when a comment is the single strongest | |
| signal that a report needs a human. <strong>Pending is dashed rather than filled</strong>: | |
| it is the only state that is true for you alone and invisible to everyone else, so it should | |
| not compete with facts about the agenda itself. The dashed edge says provisional without | |
| inventing a ninth hue. | |
| </p> | |
| <p> | |
| <strong>The three name-search rows spend no hue between them</strong> (2026-09, <span class="mono">#790</span>). They are one | |
| chip with several readings — what the PODLINGNAMESEARCH issue for a project name came | |
| back with — and each reading takes the hue that already says what it means: cleared is | |
| <em>go</em>, still being searched is <em>awaiting somebody</em>, and refused or never filed is | |
| the <em>stop</em> that already means a thing required is not there. A name nobody searched for | |
| is the same red as a name refused, on a glyph and a word of its own, because the board is | |
| equally unable to adopt either. The reading the resolutions do not have — a JIRA | |
| resolution neither list classifies — takes the outlined ink of §08 and quotes the | |
| resolution rather than guessing at it. | |
| </p> | |
| <h3>A chip marks an exception, not a fact</h3> | |
| <p> | |
| This is the rule that keeps the table above from growing. A chip says <em>this departs from | |
| the normal state and may need you</em>. Missing, flagged, awaiting approval, in progress: | |
| all exceptions. A person's office, a committee's type, a date, a count and a role are | |
| <strong>facts</strong>, and facts are carried by type and position — a labelled column, | |
| secondary type, a heading — never by a coloured chip. | |
| </p> | |
| <p> | |
| The test is whether the value is true of <em>every</em> row. If every row has one, it is a | |
| column. “Board Chair” against a director is a fact about that seat and belongs in | |
| an office column; “Vacant” is an exception and takes a chip. Getting this wrong is | |
| how a status vocabulary stops meaning anything: once roles are chips, a reader scanning for | |
| something wrong has to read every chip to find out it was only a job title. | |
| </p> | |
| <h3>Colour is never the only carrier — but the word may be hidden</h3> | |
| <p> | |
| Every chip is <strong>icon + count + word</strong>, and it always carries all three in the | |
| accessible name. What varies is how much of it you can see. Below the medium breakpoint the | |
| word is visually hidden — clipped, not <code>display: none</code>, so it stays in the | |
| accessible name and in the tooltip — leaving icon and count. That buys back roughly | |
| half the width of a chip row, which on a 390 px queue row is the difference between the | |
| title fitting and not. | |
| </p> | |
| <div class="plate plate--surface"> | |
| <div class="plate-label"><span>The same row, wide and narrow</span><span class="rhs">the word is clipped, never removed</span></div> | |
| <div class="w" style="display:flex;flex-direction:column;gap:1.1rem"> | |
| <div> | |
| <div class="t-label" style="margin-bottom:.4rem">Wide</div> | |
| <div style="display:flex;gap:.3rem;flex-wrap:wrap"> | |
| <span class="chip chip--note"><svg aria-hidden="true"><use href="#i-comment"/></svg><span class="ct">3</span><span class="w">comments</span></span> | |
| <span class="chip chip--flag"><svg aria-hidden="true"><use href="#i-flag"/></svg><span class="w">flagged</span></span> | |
| <span class="chip chip--gold"><svg aria-hidden="true"><use href="#i-approve"/></svg><span class="ct">2</span><span class="w">approvals</span></span> | |
| <span class="chip chip--stop"><svg aria-hidden="true"><use href="#i-missing"/></svg><span class="w">missing</span></span> | |
| </div> | |
| </div> | |
| <div class="is-narrow"> | |
| <div class="t-label" style="margin-bottom:.4rem">Narrow — same markup, same accessible name</div> | |
| <div style="display:flex;gap:.3rem;flex-wrap:wrap"> | |
| <span class="chip chip--note"><svg aria-hidden="true"><use href="#i-comment"/></svg><span class="ct">3</span><span class="w">comments</span></span> | |
| <span class="chip chip--flag"><svg aria-hidden="true"><use href="#i-flag"/></svg><span class="w">flagged</span></span> | |
| <span class="chip chip--gold"><svg aria-hidden="true"><use href="#i-approve"/></svg><span class="ct">2</span><span class="w">approvals</span></span> | |
| <span class="chip chip--stop"><svg aria-hidden="true"><use href="#i-missing"/></svg><span class="w">missing</span></span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <p> | |
| Three conditions make that safe, and it is not safe without all three. | |
| <strong>The icon is a second carrier</strong>, so hiding the word still leaves shape as well | |
| as hue — the WCAG 1.4.1 obligation is met by the glyph, not by the text. | |
| <strong>The item view always spells it out</strong>: the index is a scan, the item is the | |
| truth, and you are never more than one keystroke from the full wording. | |
| And <strong>comfortable mode forces the words back at every width</strong>, which is the | |
| same lever that expands icon-only controls in §17 — so a reader who needs the | |
| words has one switch that gives them everywhere. | |
| </p> | |
| <div class="note"> | |
| <strong>Do not extend this to controls.</strong> A chip is a read-only label in a list whose | |
| vocabulary repeats on every row, so it is learnable. A button that does something is not: | |
| icon-only controls keep their visible label except where §06 explicitly allows it. | |
| </div> | |
| <h3>Neutrals</h3> | |
| <p> | |
| Greys are biased violet toward the navy rather than pure, so that a card edge next to a navy | |
| heading reads as part of the same family. Backgrounds run | |
| <code>--paper</code> (the page) → <code>--surface</code> (cards, rows) → | |
| <code>--plate</code> (headers, wells). Three levels, no shadows: BAT is a dense reading | |
| tool, and elevation costs contrast it cannot spare. | |
| </p> | |
| <h3>Two themes, one vocabulary</h3> | |
| <p> | |
| Every value above is half of a pair. The dark theme is the other half — designed rather | |
| than inverted, which is what §17 asks for and what this page has demonstrated in its own | |
| stylesheet since it was written. It is in the product from 2026-09 (#886), as an | |
| <strong>Appearance</strong> setting beside Reading comfort: <em>Follow system</em>, | |
| <em>Light</em>, <em>Dark</em>. | |
| </p> | |
| <div class="plate plate--surface"> | |
| <div class="plate-label"><span>The same eight meanings, dark</span><span class="rhs">app.css <span class="mono">:root[data-bs-theme='dark']</span></span></div> | |
| <div class="ramp" role="img" aria-label="The dark palette from periwinkle through violet, red and orange to amber and green"> | |
| <span style="background:#8f8cd8"></span><span style="background:#b98fd8"></span><span style="background:#f2707f"></span><span style="background:#f3a35c"></span><span style="background:#f3c96a"></span><span style="background:#4bbf9a"></span> | |
| </div> | |
| <div class="taps"> | |
| <div class="tap"><div class="chipc" style="background:#8f8cd8"></div><div class="meta"><b>Navy</b><span class="hex">#8F8CD8</span><span class="use">structure, headings, the one primary action</span></div></div> | |
| <div class="tap"><div class="chipc" style="background:#b98fd8"></div><div class="meta"><b>Purple</b><span class="hex">#B98FD8</span><span class="use">comments</span></div></div> | |
| <div class="tap"><div class="chipc" style="background:#f2707f"></div><div class="meta"><b>Red</b><span class="hex">#F2707F</span><span class="use">missing, blocking, destructive</span></div></div> | |
| <div class="tap"><div class="chipc" style="background:#f3a35c"></div><div class="meta"><b>Orange</b><span class="hex">#F3A35C</span><span class="use">flagged — and its own text colour here; see the note</span></div></div> | |
| <div class="tap"><div class="chipc" style="background:#f3c96a"></div><div class="meta"><b>Amber</b><span class="hex">#F3C96A</span><span class="use">awaiting somebody: approvals, consent</span></div></div> | |
| <div class="tap"><div class="chipc" style="background:#4bbf9a"></div><div class="meta"><b>Green</b><span class="hex">#4BBF9A</span><span class="use">approval, in progress</span></div></div> | |
| <div class="tap"><div class="chipc" style="background:#141219"></div><div class="meta"><b>Paper, surface, plate</b><span class="hex">#141219 #1C1922 #221F2B</span><span class="use">the same three levels, the same violet bias</span></div></div> | |
| <div class="tap"><div class="chipc" style="background:#f2f0f7;border-bottom:1px solid var(--rule)"></div><div class="meta"><b>Ink, body, muted</b><span class="hex">#F2F0F7 #CDC9D8 #948FA4</span><span class="use">over rules of #3A3646 and #2B2834</span></div></div> | |
| </div> | |
| </div> | |
| <p> | |
| What does not change is the mapping: navy still means structure, red still means missing, and | |
| the table of states above is read the same way in both. What changes is which side of a pair | |
| is the ground. In the light theme <code>--navy</code> is a fill carrying | |
| <code>--surface</code> text; in the dark one it is a pale periwinkle carrying that same token, | |
| which is now the dark one. So a rule written against the tokens is already right in both | |
| themes, and <strong>a rule that names white or black is the one that is about to be wrong in | |
| one of them</strong> — which is what the chip borders, the counts on a chosen queue and | |
| the six hand-picked button shades all were. | |
| </p> | |
| <div class="note"> | |
| <strong>The two text-safe variants go back to the hue.</strong> | |
| <code>--flag-text</code> and <code>--gold-text</code> exist to buy contrast against | |
| <em>white</em>; against <span class="mono">#141219</span> it is the undarkened hue that has it | |
| and the darkened one that does not, so in the dark theme each resolves to its own hue. | |
| <code>--gold-text</code> (<span class="mono">#8A6003</span>; | |
| <span class="mono">--bat-amber-text</span> in the product) is new with this change — the | |
| awaiting chip had been setting its words in a hex of its own, which is the same 1.9:1 problem | |
| <code>--flag-text</code> was added for. | |
| </div> | |
| <p> | |
| Three things are deliberately the same in both. The <strong>ribbon</strong> keeps its six-stop | |
| gradient, being a decorative strip rather than a source of tokens. The <strong>mark</strong> | |
| keeps the four inks of the feather, which are not ours to re-choose. It is a gradient across | |
| all four rather than a flat fill, which is what carries it on a dark ground — the purple | |
| stop alone is 1.9:1 on <span class="mono">#221F2B</span>, and a logo is exempt from the | |
| contrast floor for exactly this reason. And <strong>paper is white</strong> whatever the screen | |
| is doing, so <code>@media print</code> is the light theme in both. | |
| </p> | |
| </section> | |
| <section id="type"> | |
| <h2><span class="num">03</span> Type</h2> | |
| <p class="dek"> | |
| Montserrat for anything that labels or structures, Open Sans for anything that is read, | |
| monospace only for text whose exact characters matter. Both faces are the ones | |
| <span class="mono">www.apache.org</span> serves; both are self-hosted. | |
| </p> | |
| <p> | |
| The measured scale has 27 entries. Below are the eight that replace them. Anything that | |
| does not fit one of these roles is not a new size — it is a role that was chosen wrongly. | |
| </p> | |
| <div class="plate plate--surface"> | |
| <div class="plate-label"><span>The scale</span><span class="rhs">8 roles</span></div> | |
| <div class="type-row"><div class="k">Display<span>Montserrat 600 / 32</span></div><div class="t-display">Meeting Agenda for 18 June 2025</div></div> | |
| <div class="type-row"><div class="k">Section<span>Montserrat 600 / 20</span></div><div class="t-section">Committee Reports</div></div> | |
| <div class="type-row"><div class="k">Subsection<span>Montserrat 600 / 16</span></div><div class="t-sub">Scheduled Reminders</div></div> | |
| <div class="type-row"><div class="k">Body<span>Open Sans 400 / 16 / 1.6</span></div><div class="t-body">The PMC is healthy and there are no board-level issues at this time.</div></div> | |
| <div class="type-row"><div class="k">UI<span>Open Sans 400 / 14 / 1.45</span></div><div class="t-ui">Reports not approved by you · 74 left to approve</div></div> | |
| <div class="type-row"><div class="k">Label<span>Montserrat 600 / 11 / .1em caps</span></div><div class="t-label">Next trigger</div></div> | |
| <div class="type-row"><div class="k">Data<span>mono 400 / 13.5</span></div><div class="t-data">r1918863 · board_agenda_2025_06_18.txt</div></div> | |
| <div class="type-row"><div class="k">Micro<span>Open Sans 400 / 12</span></div><div class="t-micro">Updated 2026-08-04 08:08 UTC by striker</div></div> | |
| </div> | |
| <h3>The one that matters: report bodies are prose</h3> | |
| <p> | |
| 38.7% of all text in BAT is currently set in <span class="mono">SFMono-Regular</span> at | |
| 14 px. That is not because BAT is full of code — it is because | |
| <code>renderMarkdown</code> defaults to <em>on</em>, and the rendered markdown is emitted | |
| into the same <code>font-monospace text-nowrap overflow-x-scroll</code> container that was | |
| built for the raw view. So a PMC's prose is typeset as if it were a diff. | |
| </p> | |
| <div class="do-dont"> | |
| <div class="dd dd--do"> | |
| <div class="h">Prose face, measured column</div> | |
| <div class="t-body" style="font-size:15px">Apache Camel had a very active quarter. Two releases went out and the PMC added three committers. There are no board-level issues.</div> | |
| <p>Rendered markdown, 16 px Open Sans, wrapped at a readable measure. Headings, lists and emphasis get real typographic weight.</p> | |
| </div> | |
| <div class="dd dd--dont"> | |
| <div class="h">Raw face, no wrap</div> | |
| <div class="t-data" style="font-size:13px">Apache Camel had a very active quarter. Two releases went out and the PMC added three…</div> | |
| <p>Correct only for the <em>raw</em> toggle, a diff, or minutes: text where column position and exact characters carry meaning, including the 78-character marker.</p> | |
| </div> | |
| </div> | |
| <p> | |
| The switch is the existing <code>renderMarkdown</code> flag, unchanged. What changes is that | |
| the two branches stop sharing a container: rendered markdown gets a prose container, raw text | |
| keeps the monospace scroller. | |
| </p> | |
| <div class="note"> | |
| <strong>A resolution is prose too.</strong> The raw face is right for the source view, a diff | |
| and the minutes — text where column position and exact characters carry meaning. A | |
| resolution is none of those: it is clauses, and a director reads it one paragraph per clause | |
| at the width of the pane. It was drawn in the fixed-width box only because | |
| <code>supportsMarkdown</code> was written as report-or-discussion. | |
| <br><br> | |
| It is also the element whose <em>source</em> view has the clearest job, which is why the two | |
| are allowed to look as different as they do: the raw view is the wording that will be moved, | |
| voted on and copied into the minutes word for word, and the marker over it says so in those | |
| terms rather than in a report's. | |
| </div> | |
| <h4>Measure</h4> | |
| <p> | |
| Running prose wraps at <strong>66 ch</strong>. Report bodies, minutes and documentation | |
| all obey it. Tables, raw text and diffs are exempt and scroll inside their own container | |
| instead — the page body never scrolls sideways. | |
| </p> | |
| <h4>Numerals</h4> | |
| <p> | |
| Anything that lines up in a column — element numbers, counts, sizes, revisions, dates in a | |
| table — sets <code>font-variant-numeric: tabular-nums</code>. The agenda's element-number | |
| gutter is already a fixed 44 px; tabular figures are what make that gutter actually align. | |
| </p> | |
| </section> | |
| <section id="space"> | |
| <h2><span class="num">04</span> Space & surface</h2> | |
| <p class="dek"> | |
| A 4 px base step, three surface levels, and two radii. Density is the point: this is a | |
| tool people read 74 reports in, not a marketing page. | |
| </p> | |
| <div class="grid2"> | |
| <div> | |
| <h4>Spacing steps</h4> | |
| <p style="font-size:14px"> | |
| <code>4 · 8 · 12 · 16 · 24 · 32 · 48 · 64</code><br> | |
| Row padding 8/12. Card padding 16. Gap between cards 16. Section break 32. | |
| </p> | |
| </div> | |
| <div> | |
| <h4>Radius</h4> | |
| <p style="font-size:14px"> | |
| <code>3px</code> on controls, chips, inputs and table wrappers.<br> | |
| <code>6px</code> on cards and panels.<br> | |
| Nothing else. No pills except a count bubble. | |
| </p> | |
| </div> | |
| <div> | |
| <h4>Borders, not shadows</h4> | |
| <p style="font-size:14px"> | |
| 1 px <code>--rule</code> for structural edges, <code>--rule-soft</code> between rows. | |
| Shadows are reserved for genuinely floating layers: modals and the sidebar toggle. | |
| </p> | |
| </div> | |
| <div> | |
| <h4>Layout with gap</h4> | |
| <p style="font-size:14px"> | |
| Sibling groups are laid out with flex or grid and <code>gap</code>. No per-element | |
| margins that collapse or double — which is what produced the current | |
| <code>mb-2</code>/<code>mb-3</code>/<code>mt-2</code> drift across otherwise identical cards. | |
| </p> | |
| </div> | |
| </div> | |
| <div class="note"> | |
| <strong>Delete the universal reset.</strong> <code>app.css</code> opens with | |
| <code>* { margin: 0; padding: 0 }</code>, which loads <em>after</em> Bootstrap and erases its | |
| entire spacing scale — then re-adds margins for <code>h2</code>, <code>h3</code>, | |
| <code>p</code>, <code>ul</code> and <code>form</code> by hand. Every spacing surprise in the | |
| product starts here. The reset should be scoped or dropped before anything else in this book | |
| is implemented. | |
| </div> | |
| </section> | |
| <section id="motion"> | |
| <h2><span class="num">05</span> Motion</h2> | |
| <p class="dek"> | |
| BAT has four transitions, all of them <code>transition: all</code>, and no easing vocabulary. | |
| Motion here has one job: explain where something went. | |
| </p> | |
| <p> | |
| This is a tool people operate at speed — 74 stops in a queue, arrow key held down. Motion | |
| that delays a state change is a tax paid on every one of those stops. So the rule is narrow: | |
| <strong>animate to explain a spatial relationship, never to decorate a state change.</strong> | |
| A drawer slides because it came from an edge. A chip does not fade in because its report | |
| became flagged. | |
| </p> | |
| <div class="plate plate--surface"> | |
| <div class="plate-label"><span>Durations & easing</span><span class="rhs">three, and no others</span></div> | |
| <div class="ease-row"><span class="t-label">Instant · 0ms</span><div class="ease-bar"><i style="width:100%"></i></div><span class="t-micro">state, selection</span></div> | |
| <div class="ease-row"><span class="t-label">Quick · 120ms</span><div class="ease-bar"><i style="width:62%"></i></div><span class="t-micro">hover, focus</span></div> | |
| <div class="ease-row"><span class="t-label">Move · 200ms</span><div class="ease-bar"><i style="width:40%"></i></div><span class="t-micro">drawer, sheet, disclosure</span></div> | |
| </div> | |
| <ul> | |
| <li><strong>Instant</strong> for anything that reflects data: a chip appearing, a row leaving | |
| a queue, a count changing. The state is the message; a transition only delays it.</li> | |
| <li><strong>Quick, 120 ms, <code>ease-out</code></strong> for pointer feedback — | |
| hover and focus. Named properties only (<code>background-color</code>, | |
| <code>border-color</code>), never <code>all</code>.</li> | |
| <li><strong>Move, 200 ms, <code>cubic-bezier(.2,0,0,1)</code></strong> for things that | |
| travel: the sidebar drawer, the presentation sheet, a disclosure opening. Transform and | |
| opacity only, so it stays off the layout path.</li> | |
| </ul> | |
| <div class="note"> | |
| <strong><code>transition: all</code> is banned.</strong> All four in the product are | |
| <code>all</code>, which animates properties nobody intended — including | |
| <code>width</code> on the sidebar, which forces layout on every frame of a hover. Name the | |
| property. <code>.no-transition</code>, the existing escape hatch, then has nothing to escape. | |
| </div> | |
| <p> | |
| Every rule above sits inside <code>@media (prefers-reduced-motion: no-preference)</code>, not | |
| outside it with a reduce override bolted on. The reduced case is the default and the | |
| animation is the enhancement — which is also the honest reading of a governance tool | |
| whose users may be reading it in a meeting they are also chairing. | |
| </p> | |
| </section> | |
| <section id="icons"> | |
| <h2><span class="num">06</span> Iconography</h2> | |
| <p class="dek"> | |
| 51 icons are in use. Several mean the same thing in different places, and a few mean | |
| different things under the same glyph. One glyph, one meaning. | |
| </p> | |
| <h3>The drawing rules</h3> | |
| <ul> | |
| <li>16×16 viewbox, 1.5–1.6 px stroke, round caps and joins, no fills except | |
| where a shape is solid by nature (the flag).</li> | |
| <li><code>currentColor</code> always, so an icon inherits the chip or button it sits in and | |
| needs no per-context variant.</li> | |
| <li>Rendered at 12 px inside a chip, 15 px inside an icon button, 16 px inline | |
| with UI text. No other sizes.</li> | |
| <li><code>aria-hidden="true"</code> when a word is beside it; an accessible name on the | |
| control when it is not.</li> | |
| </ul> | |
| <h3>Glyphs with a fixed meaning</h3> | |
| <p> | |
| A glyph that stands for a kind of thing means that kind of thing everywhere. Two are settled, | |
| and they are the two that appear beside a name: | |
| </p> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>Glyph</th><th>Means</th><th>Where</th></tr></thead> | |
| <tbody> | |
| <tr> | |
| <td class="mono">bi-person</td> | |
| <td>A person the record names</td> | |
| <td>A report's author, an action item's assignee, an office's holder | |
| (<code>bi-person-dash</code> when nobody holds it).</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">bi-people</td> | |
| <td>A committee, the body rather than anyone in it</td> | |
| <td>The directory link on a committee's own item, and the project an action item is filed | |
| against where the row's title does not name one. Both read “the PMC”.</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <h3>What is wrong today</h3> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>Problem</th><th>Detail</th><th>Fix</th></tr></thead> | |
| <tbody> | |
| <tr> | |
| <td>Three checkbox glyphs</td> | |
| <td class="mono">bi-check2-square · bi-check-square · bi-card-checklist</td> | |
| <td>Tasklist, approvals and the agenda each get a distinct concept, not a variant of the same tick.</td> | |
| </tr> | |
| <tr> | |
| <td>Two speech glyphs</td> | |
| <td class="mono">bi-chat-left-text · bi-chat-left-quote</td> | |
| <td>Comments keep the first; a chair's prompt is not a comment and takes a different family.</td> | |
| </tr> | |
| <tr> | |
| <td>Icon-only controls with no name</td> | |
| <td class="mono">bi-gear ×16 · bi-eye ×1</td> | |
| <td>Every icon-only control gets an <code>aria-label</code> and a tooltip. No exceptions.</td> | |
| </tr> | |
| <tr> | |
| <td>Two speedometers for two different admin pages</td> | |
| <td class="mono">bi-speedometer ×2</td> | |
| <td>Page performance and database performance are different things and read as one.</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="note"> | |
| <strong>Bootstrap Icons draw through <code>::before</code> content.</strong> That is why | |
| <code>hide-on-collapse</code>'s <code>visibility: hidden</code> produces an unreliable | |
| accessible name in the sidebar (§18) rather than a cleanly absent one. Inline | |
| <code><svg></code> with <code><use></code> from one sprite avoids the whole class | |
| of problem, and is what the specimens in this book are drawn with. | |
| </div> | |
| <div class="note"> | |
| <strong>A decorative icon is <code>aria-hidden="true"</code>, always.</strong> The same | |
| <code>::before</code> glyph is read as text where it is not hidden, so a button labelled | |
| “Approve” announces the glyph and then the word, and its accessible name is | |
| neither. It is not only screen readers that suffer: an end-to-end test asking for the button | |
| <em>named</em> Approve does not find it, which is how this was caught. The word beside the | |
| icon is the name — whether it is visible or hidden by <code>.bat-btn-word</code> — | |
| and where there is no word, an <code>aria-label</code> is. | |
| </div> | |
| </section> | |
| <div class="part"> | |
| <span class="pn">Part II</span> | |
| <span class="pt">Language</span> | |
| <p class="pd">The recurring things BAT talks about, and the one way each of them is said.</p> | |
| </div> | |
| <section id="data"> | |
| <h2><span class="num">07</span> Information types</h2> | |
| <p class="dek"> | |
| BAT shows the same eleven kinds of thing over and over. Each gets exactly one rendering, | |
| everywhere it appears. | |
| </p> | |
| <h3>Person</h3> | |
| <p> | |
| Today a person's standing in the Foundation is encoded in <em>font weight alone</em>: | |
| bold for a member, italic for emeritus, light for a non-member, lighter for deceased. | |
| That is invisible in a table of forty names, and it is the definition of a distinction that | |
| cannot survive a screenshot, a printout, or a low-vision reader. | |
| </p> | |
| <p> | |
| A person gets <strong>two renderings, and which one you use depends on whether the row is | |
| about them</strong>. Collapsing to a single treatment is what would break the visual | |
| language: a two-line block is right where the person is the subject, and doubles the height | |
| of a twenty-row table where they are merely an attribute of something else. | |
| </p> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>Rendering</th><th>Use when</th><th>Where</th></tr></thead> | |
| <tbody> | |
| <tr> | |
| <td><strong>Person block</strong><br><span class="t-micro">two lines, contact, status</span></td> | |
| <td>The person <em>is</em> the row</td> | |
| <td>Officers & Directors, Users, the profile header, a committee's member list</td> | |
| </tr> | |
| <tr> | |
| <td><strong>Person inline</strong><br><span class="t-micro">one line, name only, linked</span></td> | |
| <td>The person is an <em>attribute</em> of the row's real subject</td> | |
| <td>The Chair column on Committees, an agenda item's author, a comment's author, the presenter in the rail, a revision's author</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <p>Never more than one person block in a row. If two people belong to one row, both are inline.</p> | |
| <div class="plate plate--surface"> | |
| <div class="plate-label"><span>Person block, then person inline</span><span class="rhs">macros/user.jinja</span></div> | |
| <div class="w" style="display:flex;flex-direction:column;gap:1rem"> | |
| <a class="person" href="#0"><span class="nm">Heiðrós Halldórsson</span><span class="sub"><span class="uid">halldor</span><span class="st">Member</span></span></a> | |
| <a class="person" href="#0"><span class="nm">Đồng Lễ</span><span class="sub"><span class="uid">dle</span><span class="st">Emeritus</span></span></a> | |
| <div style="border-top:1px solid var(--rule);padding-top:.9rem;margin-top:.2rem"> | |
| <span class="t-ui">Chair <a href="#0" style="font-weight:600">Jessica Orn</a></span> | |
| </div> | |
| </div> | |
| </div> | |
| <p> | |
| The second line is the <strong>uid, as plain text</strong>. It is the identity people actually | |
| use for each other — in commit logs, in agenda authorship, in conversation — and it | |
| disambiguates the two Michaels without needing a photo. The whole block is one link, to the | |
| person's BAT profile. | |
| </p> | |
| <div class="note"> | |
| <strong>No <code>mailto:</code>.</strong> Contact belongs on the profile, where | |
| <code>User.emails</code> already lists the real LDAP addresses and the whimsy link sits | |
| beside them. Putting an address on every row of every list spends 26 characters of mono on | |
| an action nobody performs from a list — you do not email a report's author from the | |
| index — and it would have to be <code>User.asf_email</code>, a derived | |
| <code>f"{uid}@apache.org"</code> that nothing verifies. The uid is a fact; the derived | |
| address is a guess. | |
| </div> | |
| <div class="note"> | |
| <strong>One link, so the row may be one too.</strong> The block has a single target, so a row | |
| containing a person block can itself be the anchor — which is what keeps the agenda | |
| queue's whole-row click working. Where the uid is the subject rather than a route to someone | |
| (an ID column, the author in an agenda title), it stays bare and unlinked. | |
| </div> | |
| <h4>A person named in prose</h4> | |
| <p> | |
| A name in the body of a report, a discussion item or a resolution is the <strong>inline | |
| rendering</strong> — there is no row for it to be the subject of. It is dotted-underlined, | |
| which already means <em>carries more than it shows, and is not a control</em>, because a | |
| paragraph has no column header to say that a name is anything. | |
| </p> | |
| <p> | |
| The block is what opens over it on hover or focus. Same three facts, same order, because a | |
| person is one thing wherever they appear: prose has no room for two lines, and that is a | |
| constraint on where it is drawn rather than on what it says. | |
| </p> | |
| <div class="plate plate--surface"> | |
| <div class="plate-label"><span>In prose, then the block it opens</span><span class="rhs">linkify_users · PersonCard.svelte</span></div> | |
| <div class="w" style="display:flex;flex-direction:column;gap:1rem"> | |
| <div style="font-family:var(--mono);font-size:13px"> | |
| WHEREAS, <span style="font-weight:600;text-decoration:underline dotted var(--rule);text-underline-offset:.2em">Heiðrós Halldórsson</span> | |
| reported the matter, and <span style="text-decoration:underline dotted var(--rule);text-underline-offset:.2em">Đồng Lễ</span> reviewed it. | |
| </div> | |
| <a class="person" href="#0" style="border:1px solid var(--rule);border-radius:6px;padding:.5rem .75rem;align-self:flex-start"><span class="nm">Heiðrós Halldórsson</span><span class="sub"><span class="uid">halldor</span><span class="st">Member</span></span></a> | |
| </div> | |
| </div> | |
| <div class="note"> | |
| <strong>Weight marks a member, and never alone.</strong> Only membership is set in bold in | |
| prose: the question a board report is read with is whether this is a member of the Foundation, | |
| and four weights in one paragraph answers a question nobody asked. The standing is also in the | |
| anchor's accessible name (“Heiðrós Halldórsson, Member”) and in the | |
| block, so it survives a screenshot, a printout and a screen reader — which is what the | |
| old font-weight-only encoding did not. | |
| </div> | |
| <div class="note"> | |
| <strong>The raw view keeps the file's shape.</strong> Reading an item as raw source is reading | |
| the record as typed, in a monospace box where column position carries meaning. A member keeps | |
| the weight there, because weight is the one thing that can be added without moving a character. | |
| Nothing else may be: no link, no icon, no marker. | |
| </div> | |
| <div class="note"> | |
| <strong>A resolution's directory line is a person, address and all.</strong> An appointment | |
| resolution lists people as <code>* Name <uid@apache.org></code>. The whole pair renders | |
| as the inline person — the bullet stays, the address goes. It is | |
| <code>f"{uid}@apache.org"</code>, the derived guess the <em>No <code>mailto:</code></em> rule | |
| above is about, and it was reaching the screen as a live <code>mailto:</code> link. What it | |
| identified is still identified: the uid is in the link's target and in the block that opens | |
| over it. A uid the directory does not know keeps its line untouched, because there the address is | |
| the only identification the line has. The raw view keeps the line as typed either way — | |
| that view is the answer to <em>what exactly goes into the minutes</em>. | |
| </div> | |
| <h4>A project named in prose</h4> | |
| <p> | |
| The sibling of the person above, and it answers a different question. A person always | |
| resolves to one page. A project resolves to two, and which of them it is is the most | |
| useful thing this rendering says: a project reporting at <em>this</em> meeting is forty | |
| items away on the page the reader is already on, and one that is not is somewhere else | |
| entirely. | |
| </p> | |
| <div class="spec"> | |
| <div class="spec-label">Two destinations, one vocabulary<span class="spec-file">linkify_projects · Directory.project_regex</span></div> | |
| <table> | |
| <tr><th>The named project</th><th>Links to</th><th>Reads as</th></tr> | |
| <tr> | |
| <td>has an element on this agenda</td> | |
| <td><code>#<element-id></code>, same page</td> | |
| <td>navy, solid underline</td> | |
| </tr> | |
| <tr> | |
| <td>exists, but is not on this agenda</td> | |
| <td><code>/committees/<id></code>, a new tab</td> | |
| <td>navy, dashed underline</td> | |
| </tr> | |
| <tr> | |
| <td>is neither</td> | |
| <td>nothing — it stays text</td> | |
| <td>—</td> | |
| </tr> | |
| </table> | |
| </div> | |
| <p> | |
| <strong>A bare name is not a project.</strong> Many of the committees the Foundation carries | |
| are named for ordinary English words — <em>Ant</em>, <em>Beam</em>, <em>Camel</em>, | |
| <em>Commons</em>, <em>Storm</em>, <em>Attic</em> — and others for ordinary | |
| phrases: <em>Data Privacy</em>, <em>Legal Affairs</em>, <em>Community Development</em>. | |
| A board writes all of them without meaning the project. So something adjacent has to say | |
| that it is one: <code>Apache X</code>, or <code>X PMC</code>, <code>X project</code>, | |
| <code>X committee</code>, <code>X report</code>. This is narrower than the directory and | |
| misses "Camel is behind on reports"; the trade is that a link which goes somewhere wrong | |
| is worse than a mention that goes nowhere, and this rule can be told to a reader in one | |
| sentence. Case is the directory's own, so <em>the arbustum project</em> is prose. | |
| </p> | |
| <p> | |
| <strong>Three underlines, one per kind, and none of them a colour.</strong> A person is | |
| dotted and takes the colour of the sentence, because a name carries more than it shows | |
| and opens a card over itself rather than going anywhere. A project is navy and underlined, | |
| which is §09's rule for a link in prose, because a project goes somewhere. Solid | |
| stays in the meeting, dashed leaves it. Not the outward arrow §09 asks of an external | |
| link: that mark means <em>leaving BAT</em>, which a committee page is not — and a | |
| report body is <code>white-space: pre-wrap</code>, so a glyph added after a name moves | |
| every character after it on the line. One of the fixture agendas names the Travel | |
| Assistance Committee inside a column of figures. | |
| </p> | |
| <p> | |
| <strong>Once per item, and never itself.</strong> A resolution naming its project eight | |
| times is one fact, so only the first mention is a link. And an item that <em>is</em> that | |
| project's report does not link the name at all: the reader is already there. That test is | |
| made against the anchor the agenda offers rather than against the element's own | |
| <code>project</code>, which is parsed from a different part of the file and agrees with | |
| the element's id only while the two are consistent. | |
| </p> | |
| <h3>The other ten</h3> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>Type</th><th>Rendering</th><th>Rule</th></tr></thead> | |
| <tbody> | |
| <tr> | |
| <td>Committee / project</td> | |
| <td>Name as link, UI face</td> | |
| <td>The project logo appears only on the committee's own page, never in a list.</td> | |
| </tr> | |
| <tr> | |
| <td>Date & time</td> | |
| <td class="mono">Wed 18 Jun 2025, 21:00 UTC</td> | |
| <td>Absolute, always with the zone. The existing <code>data-date</code> upgrade to the viewer's zone stays; relative time (“in 3 days”) is secondary and never replaces the absolute value.</td> | |
| </tr> | |
| <tr> | |
| <td>Agenda element</td> | |
| <td><span class="mono">7A</span> Camel <span style="color:var(--muted)">[Zula Purdy]</span></td> | |
| <td>Number in a fixed 44 px tabular gutter; author in brackets, omitted entirely when there is none — which is why 23 missing reports show no author at all.</td> | |
| </tr> | |
| <tr> | |
| <td>Element id</td> | |
| <td class="mono">#camel</td> | |
| <td>Mono, because it is a URL fragment the reader may type. The public id is title-derived and unstable; the internal id never appears in the interface.</td> | |
| </tr> | |
| <tr> | |
| <td>Revision</td> | |
| <td class="mono">r1918863 · striker · 2026-08-04 08:08 UTC</td> | |
| <td>In a list of revisions: middot separators, not pipes; revision number a link, the rest micro type. Where one revision is being explained rather than listed - the agenda header, whose reader has an age and no way to tell what it is the age of - it is a sentence instead, in the reader's own zone, with no link on the number because the line it sits in is the link: <span class="mono">Last change r1918863 (4 Aug 2026, 10:08 GMT+2) by striker</span>. A column of those would be unreadable, and one of the above on its own explains nothing.</td> | |
| </tr> | |
| <tr> | |
| <td>Count / quantity</td> | |
| <td class="mono">74 left to approve</td> | |
| <td>Tabular. Say what remains, not a position in a list — the queues shrink as you work and their order is shuffled per user, so “13 of 74” is never true twice.</td> | |
| </tr> | |
| <tr> | |
| <td>Report body</td> | |
| <td>Rendered markdown, prose face</td> | |
| <td>See §03. Every body somebody reads: a report, a discussion item, a resolution. Private blocks keep their grey well; a <code><private></code> region is always visually enclosed.</td> | |
| </tr> | |
| <tr> | |
| <td>Raw text / diff</td> | |
| <td>Mono, no wrap, own scroller</td> | |
| <td>Long-line marker at 78 characters stays. Diff add/delete keep tinted rows, never colour alone — a leading <code>+</code>/<code>−</code> is always present.</td> | |
| </tr> | |
| <tr> | |
| <td>Email & mailing list</td> | |
| <td><span class="mono">private@camel.apache.org</span> + archive</td> | |
| <td>Address is a <code>mailto:</code>; the list archive is a separate, marked external link.</td> | |
| </tr> | |
| <tr> | |
| <td>Role / office</td> | |
| <td><span class="office" style="margin:0;min-width:0">Board Chair</span></td> | |
| <td>Title case in a labelled column, not <code>BOARD_CHAIR, DIRECTOR</code> shouted in a comma list, and <em>not</em> a chip — a role is a fact, and chips are for exceptions (§02). The enum name is an implementation detail.</td> | |
| </tr> | |
| <tr> | |
| <td>External resource</td> | |
| <td>Link + outward arrow</td> | |
| <td>See §09. Every link that leaves BAT is marked; 3 of 41 currently are not.</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </section> | |
| <section id="status"> | |
| <h2><span class="num">08</span> Status & the chip</h2> | |
| <p class="dek"> | |
| One component carries every exceptional state in the product, across 1,868 instances. This is | |
| its anatomy, its vocabulary, and the one rule that stops the vocabulary growing. | |
| </p> | |
| <h3>Anatomy</h3> | |
| <p> | |
| A chip is <strong>icon + count + word</strong>, in that order, and it always carries all three | |
| in the accessible name. The icon is a second non-colour carrier, which is what satisfies | |
| WCAG 1.4.1 — the word is legibility, the glyph is compliance. | |
| </p> | |
| <div class="plate plate--surface"> | |
| <div class="plate-label"><span>The sixteen, in full</span><span class="rhs">no seventeenth without a decision</span></div> | |
| <div class="w" style="display:flex;gap:.4rem;flex-wrap:wrap"> | |
| <span class="chip chip--stop"><svg aria-hidden="true"><use href="#i-missing"/></svg><span class="w">missing</span></span> | |
| <span class="chip chip--go"><svg aria-hidden="true"><use href="#i-cleared"/></svg><span class="w">name cleared</span></span> | |
| <span class="chip chip--flag"><svg aria-hidden="true"><use href="#i-flag"/></svg><span class="w">flagged</span></span> | |
| <span class="chip chip--flag"><svg aria-hidden="true"><use href="#i-bell"/></svg><span class="w">board issues</span></span> | |
| <span class="chip chip--gold"><svg aria-hidden="true"><use href="#i-approve"/></svg><span class="ct">2</span><span class="w">approvals</span></span> | |
| <span class="chip chip--gold"><svg aria-hidden="true"><use href="#i-byhand"/></svg><span class="w">needs manual follow-up</span></span> | |
| <span class="chip chip--quiet"><svg aria-hidden="true"><use href="#i-idea"/></svg><span class="w">proposed</span></span> | |
| <span class="chip chip--quiet"><svg aria-hidden="true"><use href="#i-deferred"/></svg><span class="w">deferred</span></span> | |
| <span class="chip chip--quiet"><svg aria-hidden="true"><use href="#i-calendar"/></svg><span class="w">special meeting</span></span> | |
| <span class="chip chip--quiet"><svg aria-hidden="true"><use href="#i-consent"/></svg><span class="w">adopted without a meeting</span></span> | |
| <span class="chip chip--quiet"><svg aria-hidden="true"><use href="#i-archive"/></svg><span class="w">archive agenda</span></span> | |
| <span class="chip chip--quiet"><svg aria-hidden="true"><use href="#i-publish"/></svg><span class="w">publish minutes</span></span> | |
| <span class="chip chip--note"><svg aria-hidden="true"><use href="#i-comment"/></svg><span class="ct">3</span><span class="w">comments</span></span> | |
| <span class="chip chip--navy"><svg aria-hidden="true"><use href="#i-action"/></svg><span class="w">action</span></span> | |
| <span class="chip chip--go"><svg aria-hidden="true"><use href="#i-progress"/></svg><span class="w">in progress</span></span> | |
| <span class="chip chip--yours"><svg aria-hidden="true"><use href="#i-pending"/></svg><span class="w">pending</span></span> | |
| </div> | |
| </div> | |
| <div class="note"> | |
| <strong>The fifteenth is the name search</strong> (2026-09, <span class="mono">#790</span>), and it is one chip with five | |
| readings rather than five chips: it answers a single question — what the | |
| PODLINGNAMESEARCH issue for the name a resolution establishes came back with — and the | |
| board can do something different about each answer. It spends no new hue. Cleared is | |
| <em>go</em>; still being searched is the gold that already means awaiting somebody; refused | |
| and never-filed are both the <em>stop</em> that already means a thing required is not there, | |
| because the board is equally unable to adopt either; and a JIRA resolution neither list | |
| classifies takes the outlined ink below and quotes the resolution rather than guessing at it. | |
| It sits on the resolution's queue row and in its item bar like any other state, in the slot | |
| right after <span class="mono">missing</span> whichever reading it carries — the five | |
| span two hue families, and a chip that moved along the row as the answer changed would read | |
| as a different chip. The issue the answer came from is a fact, so it goes in the item's | |
| Info card rather than on the chip. | |
| </div> | |
| <div class="plate plate--surface"> | |
| <div class="plate-label"><span>One chip, five readings</span><span class="rhs">the word and the glyph tell them apart</span></div> | |
| <div class="w" style="display:flex;gap:.4rem;flex-wrap:wrap"> | |
| <span class="chip chip--go"><svg aria-hidden="true"><use href="#i-cleared"/></svg><span class="w">name cleared</span></span> | |
| <span class="chip chip--gold"><svg aria-hidden="true"><use href="#i-open"/></svg><span class="w">name search open</span></span> | |
| <span class="chip chip--stop"><svg aria-hidden="true"><use href="#i-refused"/></svg><span class="w">name not cleared</span></span> | |
| <span class="chip chip--stop"><svg aria-hidden="true"><use href="#i-missing"/></svg><span class="w">no name search</span></span> | |
| <span class="chip chip--quiet"><svg aria-hidden="true"><use href="#i-unclear"/></svg><span class="w">name search unclear</span></span> | |
| </div> | |
| </div> | |
| <div class="note"> | |
| <strong>Why the absent one is a reading at all.</strong> The hint this replaces rendered only | |
| when a <em>cleared</em> search was found, so three different answers — refused, still | |
| running, and nobody ever filed one — all rendered as nothing at all, which reads as | |
| “nothing is wrong”. An interface that says nothing about an unanswered question is | |
| not neutral about it. The one thing this chip will not do is speak without evidence: while the | |
| searches have not been fetched, no chip renders, because JIRA being unreachable is not the same | |
| answer as a name nobody searched for. | |
| </div> | |
| <div class="note"> | |
| <strong>The five newest are the secretary's</strong> (2026-08). Three were on screen already, | |
| as Bootstrap badges outside this vocabulary and in hues that already meant something else: | |
| <span class="mono">special meeting</span> and | |
| <span class="mono">adopted without a meeting</span> in the violet that means comments, and | |
| <span class="mono">needs manual follow-up</span> in an amber with no glyph. None of the three | |
| earns a hue of its own. The first two are facts that happen to be exceptional — nothing | |
| is wrong with either — so they join the outlined ink family below. The third is | |
| genuinely <em>awaiting somebody</em>, which is what the gold already says, so it takes the | |
| gold and a glyph of its own rather than a tenth colour. | |
| </div> | |
| <div class="note"> | |
| <strong>And the two that argue with the rule</strong>: | |
| <span class="mono">archive agenda</span> and <span class="mono">publish minutes</span>, what | |
| one meeting still owes a previous one. Every outstanding row in that group carries at least | |
| one of them, which reads at first like the definition of a column — but the test is | |
| applied to a <em>value</em>, not to a row. Neither of these is true of nearly every row: a | |
| meeting can owe the archiving, the publishing, or both, and which it is decides what pressing | |
| the button does. That is the same shape as <span class="mono">missing</span> and | |
| <span class="mono">flagged</span>, where most index rows carry some chip and no single chip is | |
| on most rows. They were muted trailing words before, which left the only verb on the row as | |
| its quietest part — on the line where the Foundation's record gets published. Outlined | |
| ink, so the pair costs no hue; the archive glyph is the one an archived agenda already carries | |
| in the status line, which is the same meaning said in the same shape. | |
| </div> | |
| <h3>The word may be hidden; the meaning may not</h3> | |
| <p> | |
| Below the medium breakpoint the word is <em>clipped</em> — not <code>display: none</code> | |
| — so it stays in the accessible name and the tooltip while the row gets its width back. | |
| On a 390 px queue row that is the difference between the title fitting and not. | |
| </p> | |
| <div class="plate plate--surface"> | |
| <div class="plate-label"><span>The same row, wide and narrow</span><span class="rhs">identical markup</span></div> | |
| <div class="w" style="display:flex;flex-direction:column;gap:1.1rem"> | |
| <div> | |
| <div class="t-label" style="margin-bottom:.4rem">Wide</div> | |
| <div style="display:flex;gap:.3rem;flex-wrap:wrap"> | |
| <span class="chip chip--note"><svg aria-hidden="true"><use href="#i-comment"/></svg><span class="ct">3</span><span class="w">comments</span></span> | |
| <span class="chip chip--flag"><svg aria-hidden="true"><use href="#i-flag"/></svg><span class="w">flagged</span></span> | |
| <span class="chip chip--gold"><svg aria-hidden="true"><use href="#i-approve"/></svg><span class="ct">2</span><span class="w">approvals</span></span> | |
| <span class="chip chip--stop"><svg aria-hidden="true"><use href="#i-missing"/></svg><span class="w">missing</span></span> | |
| </div> | |
| </div> | |
| <div class="is-narrow"> | |
| <div class="t-label" style="margin-bottom:.4rem">Narrow — same accessible name</div> | |
| <div style="display:flex;gap:.3rem;flex-wrap:wrap"> | |
| <span class="chip chip--note"><svg aria-hidden="true"><use href="#i-comment"/></svg><span class="ct">3</span><span class="w">comments</span></span> | |
| <span class="chip chip--flag"><svg aria-hidden="true"><use href="#i-flag"/></svg><span class="w">flagged</span></span> | |
| <span class="chip chip--gold"><svg aria-hidden="true"><use href="#i-approve"/></svg><span class="ct">2</span><span class="w">approvals</span></span> | |
| <span class="chip chip--stop"><svg aria-hidden="true"><use href="#i-missing"/></svg><span class="w">missing</span></span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <p> | |
| Three conditions make that safe, and it is not safe without all three. The icon is a second | |
| carrier. <strong>The item view always spells the state out</strong> — the index is a | |
| scan, the item is the truth, and you are one keystroke from it. And <strong>comfortable mode | |
| forces the words back at every width</strong> (§17), so a reader who needs them has one | |
| switch that works everywhere. | |
| </p> | |
| <div class="note"> | |
| <strong>Chips only.</strong> A chip is a read-only label whose vocabulary repeats on every | |
| row, so it is learnable. A control that does something is not: icon-only buttons keep their | |
| visible label except where §06 explicitly allows it. | |
| </div> | |
| <h3>Where chips go, and how many</h3> | |
| <ul> | |
| <li>Right-aligned in a queue row, in a fixed order — blocking states first | |
| (<span class="mono">missing</span>, then the name search's answer, whichever it is), then attention | |
| (<span class="mono">flagged</span>, <span class="mono">board issues</span>), then what is | |
| not settled yet or not going the usual way (<span class="mono">proposed</span>, <span class="mono">meeting only</span>, | |
| <span class="mono">closed</span>), then counts, then your own | |
| (<span class="mono">pending</span>). A stable order is what makes a column of chips | |
| scannable rather than a jumble.</li> | |
| <li>At most four visible; beyond that the row shows three and a | |
| <span class="mono">+2</span> that reveals the rest in the item view. Measured worst case on | |
| the fixture agenda is four.</li> | |
| <li>Never inside a heading, never inside a button, never as the only content of a table cell | |
| that has a header saying the same thing.</li> | |
| </ul> | |
| <h3>Adding the next one</h3> | |
| <p> | |
| The way <code>bg-warning</code> came to mean three things is that nobody had to ask. A new | |
| state earns a chip only if it is <em>exceptional</em> (not true of most rows), | |
| <em>actionable</em> (a reader would do something differently), and <em>not already implied</em> | |
| by a column on that page. If it fails any of the three it is a column, secondary type, or | |
| nothing. | |
| </p> | |
| <p> | |
| Earning a chip is not the same as earning a hue. Eight states — | |
| <span class="mono">proposed</span>, <span class="mono">meeting only</span>, | |
| <span class="mono">closed</span>, <span class="mono">special meeting</span>, | |
| <span class="mono">adopted without a meeting</span>, <span class="mono">archive agenda</span>, | |
| <span class="mono">publish minutes</span> and | |
| <span class="mono">name search unclear</span> — are outlined in the ink colour | |
| rather than tinted, because none of them is an alarm: they say a thing is not settled yet, or | |
| that it took a route most of its kind do not, or which piece of work is owed, or that the | |
| record does not say, rather than that somebody is late. The next of that kind joins them | |
| rather than taking a colour of its own, and the word and the glyph are what tell them apart. | |
| </p> | |
| <div class="note"> | |
| <strong>deferred</strong> is the newest of them (2026-09), and it is the one case where a | |
| chip of this family stands in another's place rather than beside it. A committee that has | |
| said when its report is coming and one that has said nothing are not the same situation, and | |
| the deferral is the report's own account of why it is absent - a row wearing | |
| <span class="mono">missing</span> as well would be asking the reader to decide which of the | |
| two it meant. It keeps missing's slot for the same reason: it is what the row says instead, | |
| and a word that moved would read as a different fact. The count beside the section heading | |
| and the Missing queue both go on counting it, because the report is still not there. | |
| </div> | |
| <div class="note"> | |
| <strong>proposed</strong> was the one before it (2026-08). An action item a director suggests | |
| ahead of the meeting used to read <span class="mono">missing</span>, which said its assignee | |
| owed a status update on something the board had not agreed to yet. Nothing is missing from a | |
| proposal: a status falls due when the meeting adopts it. | |
| </div> | |
| </section> | |
| <section id="links"> | |
| <h2><span class="num">09</span> Links</h2> | |
| <p class="dek"> | |
| Eight different link treatments are rendered today, including a hardcoded | |
| <code>#0000ee</code> that predates the palette entirely. | |
| </p> | |
| <ul> | |
| <li><strong>In prose:</strong> navy, underlined. Underline is not optional — it is the | |
| non-colour carrier.</li> | |
| <li><strong>In a table cell or a queue row:</strong> navy, underline on hover and on focus. | |
| A row of forty underlined names is noise; a cell that never underlines is undiscoverable.</li> | |
| <li><strong>Leaving BAT:</strong> always marked with a trailing outward arrow and | |
| <code>rel="noopener"</code>. 38 of 41 external links are marked today; the remaining | |
| three are inconsistency, not intent.</li> | |
| <li><strong>Dressed as a button:</strong> only when it acts on this page. A link that | |
| navigates is a link.</li> | |
| <li><strong>Visited:</strong> not distinguished. In a queue you traverse repeatedly, a | |
| visited colour would encode “you have looked at this” — which is what the | |
| <em>read</em> state already means, properly and per-user.</li> | |
| </ul> | |
| <div class="note"> | |
| <strong>Delete <code>.item-link</code>.</strong> It hardcodes <code>#0000ee</code>, the 1994 | |
| browser default, and appears 39 times. It is the clearest single marker of where the | |
| interface stopped having a palette. | |
| </div> | |
| </section> | |
| <section id="voice"> | |
| <h2><span class="num">10</span> Voice & tone</h2> | |
| <p class="dek"> | |
| BAT writes for directors, chairs and the Secretary in the middle of governing. The register is | |
| a colleague who knows the bylaws: precise, unhurried, never chatty. | |
| </p> | |
| <h3>Rules</h3> | |
| <ul> | |
| <li><strong>Name things as the board names them.</strong> Special order, resolution, roll | |
| call, pre-approval, shepherd, action item. Never invent a friendlier synonym for a term of | |
| art, and never surface an implementation word — a reader has | |
| <em>uncommitted changes</em>, not a <em>pending-changes array</em>.</li> | |
| <li><strong>A control says what happens.</strong> <em>Approve</em>, <em>Commit</em>, | |
| <em>Post report</em>, <em>Stop meeting</em>. Then the confirmation says it happened, in the | |
| same words: <em>Approved</em>, <em>Committed</em>. Not <em>Success!</em></li> | |
| <li><strong>One action, one name, everywhere it is spoken.</strong> The button, its tooltip, | |
| the dialog it opens, the confirmation and the test id are all the same words.</li> | |
| <li><strong>Sentence case everywhere</strong> except Label type, which is uppercase by | |
| styling and sentence case in the markup. Title Case On Buttons reads as a brochure.</li> | |
| <li><strong>No exclamation marks, no apologies, no emoji.</strong> The repository already | |
| forbids emoji in commits and issues; the interface is the same product.</li> | |
| <li><strong>Second person for the reader's own state</strong> — “visible only to | |
| you”, “74 left to approve” — and third person for facts about the | |
| agenda.</li> | |
| </ul> | |
| <div class="plate plate--surface"> | |
| <div class="plate-label"><span>One action, four names</span><span class="rhs">AgendaElementView.svelte</span></div> | |
| <div class="tbl-wrap" style="margin:0;border:0"> | |
| <table class="spec"> | |
| <thead><tr><th>Where</th><th>Says today</th><th>Should say</th></tr></thead> | |
| <tbody> | |
| <tr><td>Button label</td><td class="mono">Comment</td><td class="mono">Add comment</td></tr> | |
| <tr><td>Tooltip</td><td class="mono">Add a new comment</td><td>— a labelled button needs no tooltip</td></tr> | |
| <tr><td>Dialog title</td><td class="mono">Add a comment for Camel</td><td class="mono">Add comment</td></tr> | |
| <tr><td>Field placeholder</td><td class="mono">Comment</td><td>— the field has a label</td></tr> | |
| <tr><td>Element id</td><td class="mono">btn-add-comment</td><td class="mono">btn-add-comment</td></tr> | |
| <tr><td>Confirmation</td><td>— none</td><td class="mono">Comment added</td></tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| <p> | |
| Four phrasings for one action, in one component. None of them is wrong on its own, which is | |
| exactly why it happened — each was written where it was needed. The cost is that the | |
| tooltip has to restate the button, the dialog title has to restate the tooltip, and a reader | |
| is never quite sure whether <em>Comment</em> and <em>Add a comment</em> are the same thing. | |
| The id was already right; the visible words follow it. | |
| </p> | |
| <h3>Errors</h3> | |
| <p> | |
| An error says what failed, why if BAT knows, and what to do next. It never blames the reader | |
| and never surfaces a stack trace outside the admin pages. | |
| </p> | |
| <div class="do-dont"> | |
| <div class="dd dd--do"> | |
| <div class="h">Write</div> | |
| <div class="t-ui">Could not post the report — SVN rejected the commit because the agenda changed since you opened it. Reload to pick up r1918864, then post again.</div> | |
| <p>Names the operation, the cause, and the next action.</p> | |
| </div> | |
| <div class="dd dd--dont"> | |
| <div class="h">Not</div> | |
| <div class="t-ui">Error: failed to load list of PMCs</div> | |
| <p>Real string from <code>TerminateProjectModal</code>. True, and it leaves the reader with nowhere to go.</p> | |
| </div> | |
| </div> | |
| <h3>Empty states</h3> | |
| <p> | |
| An empty state names what is absent, says what would fill it, and offers the action that | |
| does. The current vocabulary is “None”, “No Notes”, “No | |
| Attendees”, “No pending changes” and Grid.js's own “No matching | |
| records found” — five ways of saying nothing, one of them written by a library. | |
| </p> | |
| <h3>Numbers and dates in prose</h3> | |
| <ul> | |
| <li>Counts as digits, always: <em>3 comments</em>, not <em>three comments</em>.</li> | |
| <li>Say what remains, not a position: <em>74 left to approve</em>. The queues shrink as you | |
| work and their order is shuffled per user, so an ordinal is never true twice.</li> | |
| <li>Dates in prose follow §07: absolute, with the zone, upgraded to the reader's own.</li> | |
| </ul> | |
| </section> | |
| <div class="part"> | |
| <span class="pn">Part III</span> | |
| <span class="pt">Components</span> | |
| <p class="pd">The parts a page is assembled from, and the states each of them must answer before it is finished.</p> | |
| </div> | |
| <section id="states"> | |
| <h2><span class="num">11</span> States</h2> | |
| <p class="dek"> | |
| Before a component is designed it answers this matrix. Most interface bugs in BAT are a state | |
| nobody drew — a disabled button with no reason, a row mid-save that looks saved. | |
| </p> | |
| <div class="plate plate--surface"> | |
| <div class="plate-label"><span>Every interactive component answers all seven</span><span class="rhs">shown on the secondary button</span></div> | |
| <div class="matrix"> | |
| <div class="mcell"><div class="ml">Default</div><button class="btn btn--secondary" type="button">Add comment</button></div> | |
| <div class="mcell"><div class="ml">Hover</div><button class="btn btn--secondary" type="button" style="background:var(--plate);border-color:var(--muted)">Add comment</button></div> | |
| <div class="mcell"><div class="ml">Focus</div><button class="btn btn--secondary" type="button" style="outline:2px solid var(--navy);outline-offset:2px">Add comment</button></div> | |
| <div class="mcell"><div class="ml">Active</div><button class="btn btn--secondary" type="button" style="background:var(--rule-soft);border-color:var(--muted);transform:translateY(1px)">Add comment</button></div> | |
| <div class="mcell"><div class="ml">Busy</div><button class="btn btn--secondary" type="button" style="color:var(--muted)"><svg style="width:13px;height:13px" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M8 1.6a6.4 6.4 0 1 0 6.4 6.4" stroke-linecap="round"/></svg>Saving</button></div> | |
| <div class="mcell"><div class="ml">Disabled</div><button class="btn btn--secondary" type="button" disabled style="opacity:.5;cursor:not-allowed">Add comment</button></div> | |
| <div class="mcell"><div class="ml">Read-only</div><span class="t-ui" style="color:var(--muted)">Add comment</span></div> | |
| </div> | |
| </div> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>State</th><th>Means</th><th>Rule</th></tr></thead> | |
| <tbody> | |
| <tr><td><strong>Default</strong></td><td>Available</td><td>—</td></tr> | |
| <tr><td><strong>Hover</strong></td><td>Pointer is over it</td><td>Never the only signal that something is interactive. Touch has no hover.</td></tr> | |
| <tr><td><strong>Focus</strong></td><td>Keyboard is on it</td><td><code>:focus-visible</code>, 2 px accent ring, 2 px offset. Never removed, never <code>outline: none</code>.</td></tr> | |
| <tr><td><strong>Active</strong></td><td>Being pressed</td><td>Instant, no transition.</td></tr> | |
| <tr><td><strong>Busy</strong></td><td>Work in flight</td><td>The control keeps its width and says what it is doing — “Saving”, not a spinner replacing the button. See §14.</td></tr> | |
| <tr><td><strong>Disabled</strong></td><td>Unavailable, and will not become available by trying</td><td><strong>Always says why</strong>, in a tooltip or beside it. A disabled control with no explanation is a dead end.</td></tr> | |
| <tr><td><strong>Read-only</strong></td><td>Real value, not editable by you</td><td>Not the same as disabled. An archived agenda is read-only; the values still matter and stay legible.</td></tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="note"> | |
| <strong>Disabled is over-used today.</strong> Commit, Drop and Preview diff are all disabled | |
| when nothing is checked; Present is disabled when the websocket is down; the whole agenda is | |
| disabled when archived. Three different reasons, none of them stated on screen. Each needs its | |
| sentence: “Select at least one change”, “Reconnecting”, “This | |
| agenda is archived”. | |
| </div> | |
| <h3>Selection is a state too</h3> | |
| <p> | |
| The agenda has three selection-like states that must not look alike: the <em>active queue</em> | |
| (a filter you chose), the <em>current element</em> (where you are), and the <em>presented | |
| element</em> (where the chair is). The third belongs to someone else and is the one that | |
| should never be confused with your own position — it keeps the accent and a play glyph, | |
| and is named in text in the rail. | |
| </p> | |
| </section> | |
| <section id="widgets"> | |
| <h2><span class="num">12</span> Widgets</h2> | |
| <p class="dek"> | |
| Thirteen components. Every screen in BAT is a composition of these; a screen that needs a | |
| fourteenth is a conversation, not a commit. | |
| </p> | |
| <h3>Queue row</h3> | |
| <p> | |
| The agenda index is not a list of links, it is a queue you step through — the active | |
| navigation mode governs both which rows are shown and where the arrow keys go next. The row | |
| is therefore the most important widget in the product: number, title, author, then status | |
| chips pushed right so they form a scannable column. | |
| </p> | |
| <div class="plate"> | |
| <div class="plate-label"><span>Queue row</span><span class="rhs">AgendaView.svelte</span></div> | |
| <div class="qlist w"> | |
| <div class="qrow qrow--section"><span class="n">6</span><span>Committee Reports</span></div> | |
| <a class="qrow" href="#0"><span class="n">6A</span><span class="t">Airflow</span><span class="who">[Todd Jackson]</span><span class="chips"><span class="chip chip--go"><svg aria-hidden="true"><use href="#i-read"/></svg><span class="w">read</span></span></span></a> | |
| <a class="qrow" href="#0"><span class="n">6B</span><span class="t">Camel</span><span class="who">[Zula Purdy]</span><span class="chips"><span class="chip chip--note"><svg aria-hidden="true"><use href="#i-comment"/></svg><span class="ct">3</span><span class="w">comments</span></span><span class="chip chip--flag"><svg aria-hidden="true"><use href="#i-flag"/></svg><span class="w">flagged</span></span></span></a> | |
| <a class="qrow" href="#0"><span class="n">6C</span><span class="t">Daffodil</span><span class="chips"><span class="chip chip--stop"><svg aria-hidden="true"><use href="#i-missing"/></svg><span class="w">missing</span></span></span></a> | |
| <a class="qrow" href="#0"><span class="n">6D</span><span class="t">Helix</span><span class="who">[Eivor Johannessen]</span><span class="chips"><span class="chip chip--gold"><svg aria-hidden="true"><use href="#i-approve"/></svg><span class="ct">2</span><span class="w">approvals</span></span><span class="chip chip--yours"><svg aria-hidden="true"><use href="#i-pending"/></svg><span class="w">pending</span></span></span></a> | |
| </div> | |
| </div> | |
| <h3>Item bar</h3> | |
| <p> | |
| An open item is up to 2,368 px tall, so controls parked at the top or bottom are off | |
| screen for most of the reading. The item bar is sticky, carries the title, the primary | |
| action for this element type, and everything else behind icons and an overflow menu. It is | |
| built to wrap: it was designed against the 694 px a 320 px presentation rail left it | |
| with a meeting running, and it keeps wrapping now the rail has gone to the bottom edge, | |
| because a narrow window and a large text size ask the same thing of it. | |
| </p> | |
| <p> | |
| The index's controls row is the same row and takes the same pin, so the rows of a queue pass | |
| under it exactly as a report passes under this one. Below 992 px the page head is pinned | |
| as well, and the two stack rather than share a coordinate: the row pins at the head's own | |
| height, in rem so that it tracks the reading size the head is built from. | |
| </p> | |
| <div class="plate"> | |
| <div class="plate-label"><span>Item bar · report, as a director</span><span class="rhs">AgendaElementView.svelte</span></div> | |
| <div class="itembar w"> | |
| <span class="title">Camel</span> | |
| <span class="chip chip--note"><svg aria-hidden="true"><use href="#i-comment"/></svg><span class="ct">3</span><span class="w">comments</span></span> | |
| <span class="spacer"></span> | |
| <button class="iconbtn" type="button" aria-label="Prior reports and decisions"><svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true"><path d="M2 8a6 6 0 1 0 1.8-4.3"/><path d="M2 2v3h3"/><path d="M8 5v3.2l2.2 1.3"/></svg></button> | |
| <button class="iconbtn" type="button" aria-label="Reporting statistics"><svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true"><path d="M2 13.5h12"/><path d="M4 13V8"/><path d="M7.3 13V4"/><path d="M10.6 13V6.5"/><path d="M13.9 13v-3"/></svg></button> | |
| <button class="iconbtn" type="button" aria-label="More actions"><svg viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><circle cx="3" cy="8" r="1.3"/><circle cx="8" cy="8" r="1.3"/><circle cx="13" cy="8" r="1.3"/></svg></button> | |
| <button class="btn btn--secondary" type="button">Add comment</button> | |
| <button class="btn btn--primary" type="button">Approve</button> | |
| </div> | |
| </div> | |
| <p> | |
| Which controls appear is driven by element type and role, and the spread is wide: one | |
| control on <em>Call to order</em> for a director, around twenty on a special order for the | |
| Secretary. That is the argument for a bar attached to the item rather than actions promoted | |
| into site chrome — the set changes with every stop in the queue. | |
| </p> | |
| <h3>Buttons</h3> | |
| <p> | |
| Four roles replace eighteen variants. One primary per view, and it is the thing the queue is | |
| asking you to do. | |
| </p> | |
| <div class="plate plate--surface"> | |
| <div class="plate-label"><span>Buttons</span><span class="rhs">4 roles, one size</span></div> | |
| <div class="w" style="display:flex;gap:.6rem;flex-wrap:wrap;align-items:center"> | |
| <button class="btn btn--primary" type="button">Approve</button> | |
| <button class="btn btn--secondary" type="button">Add comment</button> | |
| <button class="btn btn--quiet" type="button">Formatted agenda</button> | |
| <button class="btn btn--danger" type="button">Stop meeting</button> | |
| </div> | |
| </div> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>Role</th><th>Use for</th><th>Replaces</th></tr></thead> | |
| <tbody> | |
| <tr><td><strong>Primary</strong></td><td>The one action this view exists for</td><td class="mono was">btn-primary, btn-success, btn-warning, btn-info</td></tr> | |
| <tr><td><strong>Secondary</strong></td><td>Everything else that acts</td><td class="mono was">btn-outline-primary, -secondary, -info, -warning</td></tr> | |
| <tr><td><strong>Quiet</strong></td><td>Navigation dressed as a control</td><td class="mono was">btn-link btn-sm ×161</td></tr> | |
| <tr><td><strong>Destructive</strong></td><td>Deletes, terminates, stops</td><td class="mono was">btn-outline-danger, btn-danger</td></tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <h3>Data table</h3> | |
| <p> | |
| One table system, not four. Grid.js currently ships its own <em>mermaid</em> theme, which is | |
| why the committee page has a table that matches nothing around it — and it is one of the | |
| two things that push that page 136 px past a phone viewport. Keep Grid.js where sorting | |
| and search genuinely earn their weight (Users, Meetings, Emails, Past reports), but restyle | |
| it through the tokens so it is indistinguishable from a plain table. | |
| </p> | |
| <ul> | |
| <li>Header row: Label type, <code>--plate</code> ground, one hairline beneath.</li> | |
| <li>Body rows: UI type, <code>--rule-soft</code> between rows, no zebra striping.</li> | |
| <li>Numeric columns right-aligned and tabular.</li> | |
| <li>Always inside a wrapper with <code>overflow-x: auto</code>.</li> | |
| <li>Booleans render as a word or a chip, never as <code>Yes</code> against an empty cell.</li> | |
| </ul> | |
| <h3>Cards, panels, empty states</h3> | |
| <p> | |
| A card is a titled region with a Subsection heading in a <code>--plate</code> header and | |
| 16 px of body padding. Card titles are currently <code>h3.card-title.fs-4</code>, | |
| <code>h4</code> and <code>h5</code> in different files for the same role; the heading level | |
| follows the document outline (§17) and the visual size comes from the type role, never the | |
| other way round. | |
| </p> | |
| <div class="plate plate--surface"> | |
| <div class="plate-label"><span>Empty state</span><span class="rhs">say what would fill it</span></div> | |
| <div class="empty w"> | |
| <b>No scheduled reminders</b> | |
| Reminders send before a meeting. Add one to chase missing reports automatically. | |
| <div style="margin-top:.9rem"><button class="btn btn--secondary" type="button">Add reminder</button></div> | |
| </div> | |
| </div> | |
| <p> | |
| An empty state names the thing that is absent, says what would put something there, and | |
| offers the action that does it. “No scheduled reminders configured.” in muted | |
| grey does the first third of that job. | |
| </p> | |
| <h3>The rest</h3> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>Widget</th><th>Specification</th></tr></thead> | |
| <tbody> | |
| <tr><td><strong>Page header</strong></td><td>Display title, optional micro subtitle (revision, updated-at), and page-level actions right-aligned. One <code><h1></code>, which today is an <code><h4></code>.</td></tr> | |
| <tr><td><strong>Card</strong></td><td>The product's main container: hairline border, <code>--plate</code> header, <code>--surface</code> body. The header <em>names</em> the card and is set in Label type, the same as the header row of a list or table — not in body type, which gives it the height of running text without the authority of a heading. That holds whether the header is bare text or a heading element: the level follows the document outline (§17) and the size follows the role, never the other way round, so an <code><h2></code> in a card header is still an <code><h2></code> and is set as the header's label. The one exception is a header that carries the thing's own title and chips rather than a name for the container — an agenda element's card, and a meeting's card on the Secretary page — which is a heading in Subsection type and says so with <code>.card-title</code>.</td></tr> | |
| <tr><td><strong>Sidebar lockup</strong></td><td>The mark, centred, with the tool's name under it in Label type — uppercase, tracked, <code>--muted</code>. It is not the document's <code><h1></code>; the page title is. The name was three words of Section type with each initial picked out to spell <em>BAT</em>: the loudest thing in the sidebar, spelling a nickname the mark already carries, since the mark is a bat. Said quietly, it names the tool and lets the mark be the thing you see.</td></tr> | |
| <tr><td><strong>The mark</strong></td><td>A bat, on an 11:8 grid, filled with the four inks of the ASF feather (<code>#7C297D → #D22128 → #DD552C → #F79A23</code>). One wing is drawn and mirrored; wing, thumb claw, torso, head and ears all overlap, so the silhouette is one connected shape with nothing in it that depends on detail — the floor is 16 px and it is still a bat with ears. 44 px above the name, 28 px in the rail (which carried no brand at all before it), 24 px in the page head below <code>lg</code> and 20 below <code>sm</code>, where the sidebar is a drawer and the brand would otherwise be off screen with it. It is drawn rather than photographed, so each of those is a choice: what holds the sidebar's height constant when the rail closes is the box around the mark, not the mark being one size everywhere. On a navy roundel for square boxes: the favicon, where the Foundation's own icon used to make a BAT tab indistinguishable from every other apache.org page.</td></tr> | |
| <tr><td><strong>Status chip</strong></td><td>Icon + word + optional count. 12 px, tinted ground, 3 px radius. Never icon-only, never colour-only.</td></tr> | |
| <tr><td><strong>Tabs</strong></td><td>The agenda's nine panes. Underline-style, Label type. Note that every pane currently renders into the DOM at once — 141 chips exist on a page showing at most 66.</td></tr> | |
| <tr><td><strong>Alert / notification</strong></td><td>Tinted ground, hairline in the same hue, icon + text. The websocket notification stack is a live region (§17).</td></tr> | |
| <tr><td><strong>Modal</strong></td><td>Title in Subsection type as an <code><h2></code> of the dialog, body at prose measure, actions bottom-right: destructive left, primary right. <kbd class="kbd">esc</kbd> always closes.</td></tr> | |
| <tr><td><strong>Switch</strong></td><td>Knob and label are one flex row, centred on each other, with the label in UI type so it matches the buttons beside it. The label does not flip with the state: it names the setting, the knob says which way it is set. Clickable. Must not retain focus after a click — Mousetrap ignores every binding while a form control is focused, so a sticky switch silently kills arrow-key traversal.</td></tr> | |
| <tr><td><strong>Presentation strip</strong></td><td>A row on the bottom edge, visible to anyone once a meeting is running, at every width. It carries who is presenting (a person, §07 — not a chip: presenting is a fact about that row, never an exception), the current stop named in text and marked <em>go</em> with a play glyph, and a switch to follow. Below the medium breakpoint the name is clipped the way a chip word is (§18): only the chair or the vice chair can hold the presentation, so it is the half of that row a reader can infer. The order itself is behind a disclosure on it, and opens upward into a capped, scrolling panel.</td></tr> | |
| <tr><td><strong>Keyboard hint</strong></td><td><span class="kbd">esc</span>-style key caps, shown in the shortcuts overlay and inline next to the queue switcher.</td></tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </section> | |
| <section id="forms"> | |
| <h2><span class="num">13</span> Forms & inputs</h2> | |
| <p class="dek"> | |
| Ten input types are in use through sveltestrap, plus seven raw <code><input | |
| type="checkbox"></code> that bypass it. Forms in BAT commit to SVN, so the cost of a wrong | |
| one is a bad revision. | |
| </p> | |
| <div class="plate plate--surface"> | |
| <div class="plate-label"><span>Field anatomy</span><span class="rhs">label, control, hint, error</span></div> | |
| <div class="w"> | |
| <div class="field"> | |
| <label for="f1">Committee name <span class="req" aria-hidden="true">*</span></label> | |
| <input class="ctrl" id="f1" value="Apache Camel" /> | |
| <span class="hint">As it should appear in the resolution.</span> | |
| </div> | |
| <div class="field"> | |
| <label for="f2">Purpose <span class="req" aria-hidden="true">*</span></label> | |
| <textarea class="ctrl" id="f2" rows="2" aria-invalid="true" aria-describedby="f2e"></textarea> | |
| <span class="err" id="f2e"><svg aria-hidden="true"><use href="#i-missing"/></svg>Purpose must not be empty</span> | |
| </div> | |
| <div class="field"> | |
| <label for="f3">Reporting month</label> | |
| <select class="ctrl" id="f3"><option>January, April, July, October</option></select> | |
| </div> | |
| </div> | |
| </div> | |
| <h3>Rules</h3> | |
| <ul> | |
| <li><strong>Every control has a real <code><label></code></strong> tied by | |
| <code>for</code>. Placeholder text is not a label — it disappears exactly when the | |
| reader needs it, and fails contrast in every browser default.</li> | |
| <li><strong>One column.</strong> Forms sit at the prose measure. Side-by-side fields halve | |
| the reading width for no gain and break on a phone.</li> | |
| <li><strong>Required is marked on the field</strong>, not signalled by its absence. | |
| <code>required</code> plus a visible marker plus <code>aria-required</code>.</li> | |
| <li><strong>Validate on blur, re-validate on input, never on keystroke first.</strong> | |
| Telling someone their email is invalid while they type the third character is noise.</li> | |
| <li><strong>The error is beside the field</strong>, tied with | |
| <code>aria-describedby</code>, and the field carries <code>aria-invalid</code>. A summary | |
| at the top of the form as well, when more than one field failed.</li> | |
| <li><strong>Never disable the submit to enforce validation.</strong> Let it be pressed and | |
| say what is wrong — a disabled submit with no explanation is the most common | |
| dead end in the product (§11).</li> | |
| <li><strong>Destructive submits name the object.</strong> “Terminate Apache | |
| Foo”, not “Confirm”.</li> | |
| </ul> | |
| <h3>Specific to BAT</h3> | |
| <ul> | |
| <li><strong>The 78-character rule is a form constraint.</strong> | |
| <code>LongLineTextarea</code> already marks over-long lines while editing, with the same | |
| amber the read-only view uses. Keep the marker; add the count, because a reader who has | |
| gone over wants to know by how much. The 78 columns are the file's, not the field's: | |
| text the agenda writes indented has only what is left of them, 71 for a resolution, and | |
| the field, its warning and Reflow all measure against that. | |
| <li><strong>Textareas that become agenda text are monospace</strong> — they are edited | |
| against a column limit. Textareas that become prose (a comment, a note) are not.</li> | |
| <li><strong>The seven raw checkboxes</strong> in Pending Changes and elsewhere do not inherit | |
| the component's focus, sizing or label handling. They are the 16 px targets in | |
| §17. One component.</li> | |
| <li><strong>A form that commits says so.</strong> Anything that writes to SVN names the | |
| consequence in the button and confirms with the revision it produced.</li> | |
| </ul> | |
| <div class="note"> | |
| <strong><code>confirm()</code> is not a dialog.</strong> Dropping a karma role uses the | |
| browser's native <code>confirm()</code>, which cannot be styled, cannot be themed, is not | |
| keyboard-trapped consistently, and reads the page URL aloud in some screen readers. It | |
| becomes a modal like every other confirmation. | |
| </div> | |
| </section> | |
| <section id="feedback"> | |
| <h2><span class="num">14</span> Feedback</h2> | |
| <p class="dek"> | |
| Loading, empty, error and notification are one family: four answers to “why is there | |
| nothing useful here?” Today they are answered by a spinner, five different words for | |
| nothing, and a toast that vanishes in four seconds whether it said “saved” or | |
| “failed”. | |
| </p> | |
| <h3>Loading</h3> | |
| <ul> | |
| <li><strong>Under 200 ms: show nothing.</strong> A flash of spinner is worse than a | |
| pause.</li> | |
| <li><strong>In place, not instead.</strong> A control that is working keeps its size and says | |
| what it is doing (§11). Replacing a button with a bare <code><Spinner></code> | |
| — the current pattern in Pending Changes, Draft Agenda and six other components | |
| — makes the layout jump and removes the label that said what was happening.</li> | |
| <li><strong>Skeletons only for the agenda index</strong>, which has a known shape and 137 | |
| rows. Everywhere else, a labelled busy state.</li> | |
| <li><strong>Announce it.</strong> <code>aria-busy</code> on the region, and the completion | |
| goes through the live region in the notification rules below.</li> | |
| </ul> | |
| <h3>Empty</h3> | |
| <p> | |
| Name what is absent, say what would fill it, offer the action that does. And distinguish the | |
| three empties that currently look identical: | |
| </p> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>Kind</th><th>Means</th><th>Says</th></tr></thead> | |
| <tbody> | |
| <tr><td><strong>Nothing yet</strong></td><td>The collection is genuinely empty</td><td>“No scheduled reminders. Reminders send before a meeting — add one to chase missing reports automatically.”</td></tr> | |
| <tr><td><strong>Nothing matching</strong></td><td>A filter or queue excluded everything</td><td>“No reports are missing. Clear the filter to see all 137 elements.” — and offers the clear.</td></tr> | |
| <tr><td><strong>Nothing for you</strong></td><td>Exists, but not yours</td><td>“You are not shepherding any reports on this agenda.”</td></tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <p> | |
| That second case is the one <code>n s</code> lands you in with no explanation at all | |
| (§22), and the third is what Shepherd's bare “None” means today. | |
| </p> | |
| <h3>Notifications</h3> | |
| <p> | |
| <code>notify()</code> takes a status and a message and dismisses after | |
| <strong>4,000 ms regardless</strong>. A success can afford that; an error cannot, because | |
| the reader may have been looking at the report rather than the toast, and the failure of a | |
| background task is the only signal that an edit did not land. | |
| </p> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>Severity</th><th>Dismiss</th><th>Live region</th><th>Ground</th></tr></thead> | |
| <tbody> | |
| <tr><td><strong>Success</strong></td><td>After 4s</td><td><code>polite</code></td><td>Green tint</td></tr> | |
| <tr><td><strong>Info</strong></td><td>After 6s</td><td><code>polite</code></td><td>Navy tint</td></tr> | |
| <tr><td><strong>Warning</strong></td><td>Manual</td><td><code>polite</code></td><td>Amber tint</td></tr> | |
| <tr><td><strong>Error</strong></td><td>Manual, and it names the retry</td><td><code>assertive</code></td><td>Red tint</td></tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <p> | |
| There is no live region in the product at all today, so a director using a screen reader gets | |
| no announcement when a change lands or fails. One <code>aria-live</code> container, two | |
| politeness levels, and the stack keeps its existing position and dismiss control. | |
| </p> | |
| <div class="note"> | |
| <strong>A 200 does not mean it saved.</strong> Agenda edits persist in a background task that | |
| runs after the response is sent, and Quart only logs what it throws. So success is confirmed | |
| when the change arrives back over the websocket — not when the POST resolves. Until | |
| then the row is in a busy state, not a saved one. | |
| </div> | |
| <h3>Errors that are not notifications</h3> | |
| <ul> | |
| <li><strong>Field-level</strong> stays with the field (§13).</li> | |
| <li><strong>Region-level</strong> replaces the region's content with what failed and a retry | |
| — the pattern the modals already reach for with | |
| <code><Alert color="danger"></code>, but with a next step added.</li> | |
| <li><strong>Page-level</strong> is §20's error pages: what happened, what to do, and the | |
| traceback behind a disclosure for admins only.</li> | |
| <li><strong>Connection-level</strong> is the existing disconnected badge. It stays, gains a | |
| word beside the glyph, and disables only what genuinely needs the socket.</li> | |
| </ul> | |
| </section> | |
| <section id="tables"> | |
| <h2><span class="num">15</span> Data tables</h2> | |
| <p class="dek"> | |
| Four table systems are in use. This is one specification that all of them are made to obey, | |
| because the reader should not be able to tell which library drew a row. | |
| </p> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>System</th><th>Where</th><th>Disposition</th></tr></thead> | |
| <tbody> | |
| <tr><td>Jinja <code><table class="table"></code></td><td>Directory, Committees, Committee, Office</td><td>Keep. Restyle through the tokens.</td></tr> | |
| <tr><td>Grid.js, <em>mermaid</em> theme</td><td>Users, Meetings, Emails, Past reports</td><td>Keep where sort and search earn their weight — but drop the vendor theme and drive it from the tokens. It is currently the reason the committee page has a table matching nothing around it.</td></tr> | |
| <tr><td>sveltestrap <code><Table></code></td><td>Reminders, recurring items</td><td>Keep. Same tokens.</td></tr> | |
| <tr><td><code>.list-group</code> as a table</td><td>The agenda index</td><td>Not a table — it is the queue row (§12), and it should stay one.</td></tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <h3>Specification</h3> | |
| <ul> | |
| <li><strong>Header:</strong> Label type, <code>--plate</code> ground, one hairline beneath, | |
| no vertical rules.</li> | |
| <li><strong>Rows:</strong> UI type, <code>--rule-soft</code> between, no zebra striping | |
| — stripes fight the chips.</li> | |
| <li><strong>Alignment:</strong> text left, numbers right and tabular, dates left and tabular. | |
| Never centre anything but a lone icon.</li> | |
| <li><strong>Density:</strong> 8/12 px row padding, one step up in comfortable mode.</li> | |
| <li><strong>Scroll:</strong> always inside a wrapper with <code>overflow-x: auto</code>; | |
| the page body never scrolls sideways.</li> | |
| <li><strong>Row target:</strong> if the row is clickable the whole row is the link, and it is | |
| at least 44 px tall on touch.</li> | |
| </ul> | |
| <h3>Column discipline</h3> | |
| <p> | |
| The probe behind §20 counted distinct values per column, which is the cheapest test of | |
| whether a column is information. Three rules come out of it: | |
| </p> | |
| <ul> | |
| <li><strong>A column with one distinct value is not a column.</strong> Every Additional | |
| Officer reads <code>OFFICER</code>; that belongs in the section heading, not in 6 rows.</li> | |
| <li><strong>A boolean is a word or a chip, never a value against a blank.</strong> The | |
| reminders table prints <code>Yes</code> or nothing four times, and a blank reads as missing | |
| data rather than false.</li> | |
| <li><strong>Two columns describing one entity are one column.</strong> ASF ID and Name are a | |
| person (§07); Agenda date and Agenda link are one link.</li> | |
| </ul> | |
| <h3>Sorting, filtering, paging</h3> | |
| <ul> | |
| <li>Sort only where a reader has a reason to reorder. The default order is the meaningful one | |
| — constitutional order for offices, reverse chronological for meetings — and it | |
| is stated, not left to be inferred.</li> | |
| <li>Sort state is in the URL, so a sorted view can be sent to somebody. This is the same | |
| principle as the agenda's hash-as-state.</li> | |
| <li>Filters say what they excluded and offer the clear (§14).</li> | |
| <li>Page only above ~200 rows. Users and Meetings are well under it; paging them costs a | |
| click and buys nothing.</li> | |
| </ul> | |
| <div class="note"> | |
| <strong><code>table td { word-break: break-all }</code> is global</strong> and breaks names | |
| mid-letter, which is why three pages have added <code>text-wrap</code> or | |
| <code>text-break</code> on top of it. Replaced by <code>overflow-wrap: anywhere</code> on the | |
| cells that hold URLs. | |
| </div> | |
| </section> | |
| <div class="part"> | |
| <span class="pn">Part IV</span> | |
| <span class="pt">Behaviour</span> | |
| <p class="pd">How the tool responds - to a keyboard, to a stated preference, to a narrow screen, and to a printer.</p> | |
| </div> | |
| <section id="interaction"> | |
| <h2><span class="num">16</span> Interaction</h2> | |
| <p class="dek"> | |
| BAT is a keyboard tool with a mouse fallback. The queue model is its central idea and this | |
| book changes none of it — it only makes it visible. | |
| </p> | |
| <h3>Queues are modes</h3> | |
| <p> | |
| <code>navigationMode</code> does two things at once: it filters the index, and it defines | |
| what “next” means to the arrow keys. Ten queues exist. Because the switcher is | |
| rendered as a 606 px non-wrapping button group it is also the single largest cause of | |
| horizontal overflow in the product. | |
| </p> | |
| <p> | |
| It becomes a control of fixed width: four queues pinned in the row with their remaining | |
| counts, and the rest behind one menu that keeps their keystrokes. Width stops depending on | |
| how many queues exist, which is what lets more of them be added. The menu takes the name | |
| and count of whichever queue inside it is active, so the row always says where you are. | |
| Queues are ordered by how much of a director's attention they are asking for, so the four | |
| that reach the row are the four carrying work. | |
| </p> | |
| <div class="plate plate--surface"> | |
| <div class="plate-label"><span>Queue switcher</span><span class="rhs">fixed width; count is what remains</span></div> | |
| <div class="w" style="display:flex;gap:.4rem;flex-wrap:wrap;align-items:center"> | |
| <button class="btn btn--secondary" type="button">All <span style="color:var(--muted);font-weight:400">137</span></button> | |
| <button class="btn btn--primary" type="button">Not approved <span style="opacity:.75;font-weight:400">74</span></button> | |
| <button class="btn btn--secondary" type="button">Special orders <span style="color:var(--muted);font-weight:400">4</span></button> | |
| <button class="btn btn--secondary" type="button">Flagged <span style="color:var(--muted);font-weight:400">9</span></button> | |
| <button class="btn btn--secondary" type="button">More <span style="color:var(--muted);font-weight:400">7</span> ▾</button> | |
| </div> | |
| </div> | |
| <h3>Keyboard</h3> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>Key</th><th>Does</th><th>Note</th></tr></thead> | |
| <tbody> | |
| <tr><td><span class="kbd">←</span> <span class="kbd">→</span></td><td>Previous / next stop <em>in the active queue</em>, from where you are</td><td>Not the next item on the agenda — the next one this queue cares about. On the index, where you are is the item you last had open: a queue's address names the queue and not a place in it, so the walk had nowhere to start and began outside the agenda instead - before the first element going forwards, after the last going back.</td></tr> | |
| <tr><td><span class="kbd">enter</span></td><td>Open the row that has focus</td><td>Not a binding. Leaving an item puts focus on the row it came from, and a row is a link, so the key that opens a link opens the item. It is also the only way to reach a particular row's focus ring: by <span class="kbd">tab</span> the first one is fourteen presses down the page.</td></tr> | |
| <tr><td><span class="kbd">x</span> <span class="kbd">esc</span></td><td>Close the item, back to the index</td><td><span class="kbd">esc</span> is a new alias. It is the natural cancel key and costs nothing.</td></tr> | |
| <tr><td><span class="kbd">f</span> <span class="kbd">c</span> <span class="kbd">s</span></td><td>Flagged, Comments, Shepherd - queue and detail together</td><td>These opened the tab of the same name. A tab was a queue read with its detail showing, so that is what they select.</td></tr> | |
| <tr><td><span class="kbd">n</span> then a letter</td><td>Switch queue</td><td><code>n s</code> selects Shepherd even when the Shepherd queue is hidden, stranding you on an empty index with no filter selected. Gate the binding on the same condition as the button.</td></tr> | |
| <tr><td><span class="kbd">?</span></td><td>Shortcut overlay</td><td>Lists the queues and their keys, since the two are the same idea.</td></tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <p> | |
| Bindings are suppressed while a form control has focus. That is correct, and it is why the | |
| switch rule in §12 exists. | |
| </p> | |
| <h3>State that is only yours</h3> | |
| <p> | |
| Pending changes, read marks and personal notes are per-user and invisible to everyone else. | |
| They must always be distinguishable from facts about the agenda: hence the dashed pending | |
| chip, and hence read being a quiet <span class="chip chip--go"><svg aria-hidden="true"><use href="#i-read"/></svg><span class="w">read</span></span> rather than a | |
| filled success badge. | |
| </p> | |
| <p> | |
| It applies inside a tally too, and that is the case most easily got wrong. The approvals card | |
| and the consent card list people by name, and your own name joins the list the moment you press | |
| the button — it is your copy of the agenda you are reading, and nobody else can see it | |
| yet. So a name in one of those lists is not evidence that the board has it. | |
| <strong>A segment that is there only because you staged it is striped</strong>, and the sentence | |
| under the tally says so in words. Solid means committed and on the record; striped means yours, | |
| and not yet. It costs no hue: the fill stays the one that already means agreement. | |
| </p> | |
| <p> | |
| <strong>The converse is striped too, and it is the one easily missed.</strong> Staging an | |
| <em>un</em>approval takes your name off the list on your own copy — and everybody else | |
| goes on seeing a solid approval, because the record still has it. Left alone, the card would | |
| quietly drop a name the board has. So the list is <em>what the record says together with what | |
| you have staged</em>, your segment is striped either way, and the sentence under it carries the | |
| direction: “Yours is not on record until you commit it” against “Yours is | |
| still on record until you commit its removal”. The stripe means the segment is in flux; | |
| it never means which way on its own, which is why the sentence is not optional. | |
| </p> | |
| <p> | |
| A consent has only the first reading. Withdrawing one takes the staged change back rather than | |
| staging a second, so a consent is never on the record and staged for removal at once. | |
| </p> | |
| <div class="plate plate--surface"> | |
| <div class="plate-label"><span>Solid is on the record; striped is yours, not yet committed</span><span class="rhs">approvals and consent</span></div> | |
| <div style="display:flex;height:1.5rem;max-width:22rem;overflow:hidden;border-radius:3px"> | |
| <div style="flex:1;display:grid;place-items:center;background:var(--go);color:#fff;font:600 12px/1 var(--ui, system-ui)">halldor</div> | |
| <div style="flex:1;display:grid;place-items:center;background:var(--go);color:#fff;font:600 12px/1 var(--ui, system-ui)">svetlana</div> | |
| <div style="flex:1;display:grid;place-items:center;color:#fff;font:600 12px/1 var(--ui, system-ui);background:repeating-linear-gradient(45deg,var(--go),var(--go) 6px,rgb(255 255 255 / 22%) 6px,rgb(255 255 255 / 22%) 12px)">jorn</div> | |
| </div> | |
| </div> | |
| <h3>Saving</h3> | |
| <p> | |
| Agenda edits persist in a background task that runs <em>after</em> the response is sent, so a | |
| 200 does not mean the change was stored and a failure is only logged. The interface must | |
| therefore never claim success on the status code alone: it confirms on the change arriving | |
| back over the websocket, and surfaces a failure in the notification region rather than | |
| leaving an optimistic row standing. | |
| </p> | |
| </section> | |
| <section id="access"> | |
| <h2><span class="num">17</span> Accessibility</h2> | |
| <p class="dek"> | |
| Zero <code>prefers-reduced-motion</code>, <code>prefers-contrast</code> or | |
| <code>aria-live</code> rules exist today, and seven <code>aria-label</code>s across the whole | |
| product. This is the largest gap in the book. | |
| </p> | |
| <h3>Document outline</h3> | |
| <p> | |
| The agenda page has 44 <code><h1></code> elements, all carrying | |
| <code>class="modal-title fs-6"</code> and none of them in a modal, while the actual page | |
| title is an <code><h4></code>. Meanwhile real modal titles are <code><h5></code>. | |
| To a screen reader the page has no structure at all. | |
| </p> | |
| <ul> | |
| <li><code>h1</code> — the page title, once.</li> | |
| <li><code>h2</code> — a major region: a card, a tab pane, a dialog.</li> | |
| <li><code>h3</code> — a titled block inside one.</li> | |
| <li>Never choose a level for its size. Size comes from the type role.</li> | |
| </ul> | |
| <h3>Comfortable mode</h3> | |
| <p> | |
| A stated goal is that someone with poor eyesight can still work the tool. That means the | |
| layout survives being scaled, rather than a separate large-text skin: | |
| </p> | |
| <ul> | |
| <li>Every size in §03 is set in <code>rem</code>, so the browser's own text size works. Twelve | |
| hardcoded <code>px</code> font sizes break this today: nine in <code>app.css</code>, two in | |
| <code>AgendaElementView</code>, and one in <code>RollCallSectionView</code>. The browser's | |
| default font size is honoured everywhere <em>except</em> the report body, the badges and | |
| the diffs — that is, except the text you came to read.</li> | |
| <li>Content reflows to a single column at 320 px equivalent without horizontal | |
| scrolling (WCAG 1.4.10), and survives 200% text zoom (1.4.4). See §18 — today | |
| neither holds.</li> | |
| <li>A <strong>Reading comfort</strong> group in the settings modal that already exists, with | |
| three steps scaling from a root that inherits the browser's own setting: | |
| <span class="mono">Compact 0.875</span> / <span class="mono">Comfortable 1</span> / | |
| <span class="mono">Large 1.25</span>. It also opens row padding one step, restores every | |
| clipped chip word (§02), and expands icon-only controls to icon + word. It changes | |
| spacing and type only — never which controls exist.</li> | |
| <li><code>prefers-contrast: more</code> thickens rules to 2 px, drops chip tints in | |
| favour of solid borders, and removes the muted grey from secondary text — bound to | |
| the media query as well as to the switch, so a stated system preference is honoured without | |
| anyone finding the setting.</li> | |
| <li>Preferences persist in <code>localStorage</code>, not <code>sessionStorage</code>. Every | |
| preference is currently lost with the tab, which is tolerable for “which queue do I | |
| start in” and wrong for “I need larger text”.</li> | |
| </ul> | |
| <div class="note"> | |
| <strong>The keyboard model is an accessibility feature that is currently hidden.</strong> | |
| Ten queues and eleven bindings mean the entire review can be done without a pointer, and | |
| nothing on screen says so. The queue switcher prints its keystroke beside every entry, which | |
| makes the discoverability fix and the accessibility fix the same work. | |
| </div> | |
| <h3>Targets and focus</h3> | |
| <ul> | |
| <li>Interactive controls are at least 24×24 px. The measured failures are real | |
| controls, not prose links: the queue radios at 13×13 and the reminder switches at | |
| 16×16.</li> | |
| <li><code>:focus-visible</code> gets a 2 px accent ring at 2 px offset, on every | |
| control, in both themes. There are two focus-visible rules in the product today.</li> | |
| <li>Focus moves to the item bar heading when an item opens, and back to the row you came | |
| from when it closes.</li> | |
| </ul> | |
| <h3>Announcements and motion</h3> | |
| <ul> | |
| <li>The websocket notification stack is <code>aria-live="polite"</code>; errors are | |
| <code>assertive</code>. Currently a director gets no announcement at all when a change | |
| lands or fails.</li> | |
| <li>Every transition sits behind <code>prefers-reduced-motion</code>. The sidebar's | |
| <code>transition: all 0.3s</code> and its <code>translateX</code> hover are the two that | |
| matter.</li> | |
| <li><strong>Done, 2026-09 (#886).</strong> Both themes are designed, not inverted — the | |
| tokens in §02 were the mechanism, and the palette is set out there. A reader who has | |
| told their machine they want dark gets it without finding the setting, which is the same | |
| argument this list makes for <code>prefers-contrast</code> above; <em>Appearance</em> in the | |
| preferences dialog is for the reader whose answer differs from their machine's.</li> | |
| </ul> | |
| </section> | |
| <section id="responsive"> | |
| <h2><span class="num">18</span> Responsive</h2> | |
| <p class="dek"> | |
| Four pages overflow a 390 px viewport today. Each has a specific, measured cause. | |
| </p> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>Page</th><th class="num">Overflow</th><th>Cause</th><th>Fix</th></tr></thead> | |
| <tbody> | |
| <tr><td>Agenda — every item and the index</td><td class="num">289px</td><td>The 606 px non-wrapping queue button group</td><td>The wrapping switcher in §16. This is the single highest-value mobile fix in the product.</td></tr> | |
| <tr><td>Committee</td><td class="num">136px</td><td>Two Grid.js tables plus the anchor-link strip</td><td>Tables into <code>overflow-x</code> wrappers; the anchor strip wraps.</td></tr> | |
| <tr><td>Home</td><td class="num">68px</td><td>A single unbroken URL in the card body</td><td><code>overflow-wrap: anywhere</code> on link text.</td></tr> | |
| <tr><td>Committees</td><td class="num">32px</td><td>A four-column description table</td><td>Wrapper scroll; description column drops below 768 px.</td></tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <h4>The sidebar is unreachable, not merely narrow</h4> | |
| <p> | |
| Below 992 px the rail is 55 px wide, <code>.toggle-btn</code> is | |
| <code>display: none</code>, and <code>.sidebar</code> and <code>.sidebar.collapsed</code> | |
| resolve to the same width — so there is no control that expands it and nothing to | |
| expand. All nine links still lay out at their full 186 px inside that 55 px rail, | |
| clipped by <code>overflow-x: hidden</code>. The labels are not hidden; they are | |
| <em>off-cut</em>. | |
| </p> | |
| <p> | |
| <code>.hide-on-collapse</code> uses <code>visibility: hidden</code> over a Bootstrap Icons | |
| <code>::before</code> glyph, which makes what a screen reader computes for those links | |
| unreliable rather than cleanly absent. The fix is a real drawer: an off-canvas panel with a | |
| visible trigger, the labels present, and each link named in text rather than by a font glyph. | |
| </p> | |
| <h4>Zoom is the same bug</h4> | |
| <p> | |
| 200% text zoom halves the effective viewport, so it lands in exactly the overflow above with | |
| nowhere to reflow to (WCAG 1.4.4 and 1.4.10). Fixing the wrapping fixes both, which is why | |
| the queue switcher is worth more than its size suggests: it is simultaneously the mobile fix, | |
| the zoom fix, and the low-vision fix. | |
| </p> | |
| <p> | |
| Zeroing <code>.main-container</code>'s <code>margin-left</code> below the breakpoint recovers | |
| the 55 px rail — the container sits at <span class="mono">x = 55</span>, | |
| not at a negative offset — but that is only 55 of the 289, and roughly 216 px of | |
| overflow survives it. The button group has to wrap regardless. | |
| </p> | |
| <h4>Breakpoints</h4> | |
| <p> | |
| Three, matching what the layout actually needs. | |
| </p> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>Width</th><th>Layout</th><th>What changes</th></tr></thead> | |
| <tbody> | |
| <tr> | |
| <td class="mono">< 768</td> | |
| <td>Single column</td> | |
| <td>Sidebar becomes a drawer behind a visible trigger. Queue switcher wraps to a grid. Item bar wraps; the primary action stays on the first row. Chip words clip to icon + count (§02), as does the presenter's name on the presentation strip. Touch targets 44 px.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">768 – 1200</td> | |
| <td>Index or detail, one at a time</td> | |
| <td>Chip words return. Tables keep their own horizontal scroll.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">> 1200</td> | |
| <td>Index, detail</td> | |
| <td>Nothing is added. The width goes to the agenda, which is what the page is for.</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="note"> | |
| <strong><code>table td { word-break: break-all }</code> applies globally</strong> and breaks | |
| people's names mid-letter. It is replaced by <code>overflow-wrap: anywhere</code> on the | |
| cells that genuinely hold URLs — which is also the fix for the 68 px overflow on | |
| the home page. | |
| </div> | |
| </section> | |
| <section id="print"> | |
| <h2><span class="num">19</span> Print & offline</h2> | |
| <p class="dek"> | |
| The board's workflow is online end to end, and nothing in this chapter is a gap being filled. | |
| It exists for one case the online workflow does not cover: <strong>reading and marking up an | |
| agenda with no connection</strong> — on a plane, before a meeting you are preparing for | |
| away from a desk. | |
| </p> | |
| <p> | |
| So the goal is not a filing copy or a record. It is a <strong>take-away</strong>: the reports, | |
| enough status to know where to spend the attention, and room to write. There are zero | |
| <code>@media print</code> rules in BAT's own stylesheets today, so what comes out of a browser | |
| is the screen with its chrome, its queue switcher and its colour-coded chips rendered | |
| meaninglessly in grey. | |
| </p> | |
| <p> | |
| The “Formatted agenda” link is the closest thing that exists — a plain-text | |
| rendering of the whole agenda with the reader's pending changes applied. That is the right | |
| instinct for a take-away and the wrong output for this purpose: it discards every status that | |
| tells you which of 74 reports to read first, and it leaves no room to annotate. | |
| </p> | |
| <div class="note"> | |
| <strong>There is no round trip.</strong> Notes made on paper have to be typed back into | |
| personal notes or comments when you land. The print cannot fix that, but it can make it cheap: | |
| element numbers set large and unmissable, so a scribble against <span class="mono">6B</span> | |
| is one keystroke from the right item when you are back online. Designing for the return | |
| journey is most of the value here. | |
| </div> | |
| <div class="plate"> | |
| <div class="plate-label"><span>Printed queue row</span><span class="rhs">status survives without colour</span></div> | |
| <div class="sheet"> | |
| <h5>6B Camel — Zula Purdy</h5> | |
| <div class="meta">Shepherd: Todd Jackson · 3 comments · <span class="st">FLAGGED</span> <span class="st">2 OF 3 APPROVALS</span></div> | |
| <div class="rule"></div> | |
| <div>Apache Camel had a very active quarter. Two releases went out and the PMC added three committers. There are no board-level issues.</div> | |
| <div class="rule"></div> | |
| <div class="meta">board_agenda_2025_06_18.txt · r1918863 · printed 4 Aug 2026</div> | |
| </div> | |
| </div> | |
| <h3>Rules</h3> | |
| <ul> | |
| <li><strong>Room to write.</strong> This is the requirement everything else bends to: a | |
| generous outer margin, and space after each report rather than reports packed to the page. | |
| A take-away with no white space is a worse artifact than a longer one.</li> | |
| <li><strong>Status becomes an outlined label, not a tint.</strong> A take-away is almost | |
| always monochrome, so every chip prints as its word in a hairline box. Colour that survives | |
| is a bonus, never the carrier — the same rule as §02, tested by a medium that | |
| may have no colour at all.</li> | |
| <li><strong>Element numbers are set large.</strong> They are the index back into the tool | |
| (see above), so they get more weight on paper than on screen, not less.</li> | |
| <li><strong>Chrome does not print.</strong> Sidebar, ribbon, queue switcher, tab strip, | |
| notification stack, every button. If it acts, it does not print.</li> | |
| <li><strong>Report bodies print as prose</strong> at 10.5 pt with 1.4 leading, and the | |
| raw view prints monospace at its real column width — the 78-character rule is a | |
| fixed-width constraint by origin.</li> | |
| <li><strong>Page breaks respect the structure.</strong> <code>break-inside: avoid</code> on | |
| an element and its body; <code>break-after: avoid</code> on a section heading, so no | |
| agenda item is orphaned from its number.</li> | |
| <li><strong>Every page says which revision it is.</strong> Source file, revision and the date | |
| it was taken, in a running footer. The agenda moves while you are offline, and the one | |
| thing a returning reader needs to know is whether what they annotated is still current.</li> | |
| <li><strong>Links print as text.</strong> An external URL prints after its label; internal | |
| hash links print as the element number they point to, not as <code>#camel</code>.</li> | |
| <li><strong>Private blocks print</strong>, keeping their enclosing box so the boundary is | |
| unmistakable on paper — and the footer says the sheet contains board-private | |
| material, because a take-away leaves the tool's access control behind.</li> | |
| </ul> | |
| <h3>What to take, not everything</h3> | |
| <p> | |
| Printing 137 elements to read four is the wrong artifact. The take-away is generated from | |
| <em>a queue</em> (§16), which the tool already knows how to compute: print what is | |
| missing, what is flagged, what you have not approved. The queue you are in becomes the | |
| document you take, which makes this feature almost free — the selection logic already | |
| exists and is already the thing the reader was working through. | |
| </p> | |
| <div class="note"> | |
| <strong>Lowest priority in this book, and worth keeping anyway.</strong> Nothing in the | |
| current workflow depends on it, so it sits behind every other chapter. It earns its place for | |
| two reasons: the offline case is real, and print is a useful <em>honesty test</em> for | |
| everything else — whatever survives losing colour, hover, motion and interaction was | |
| information, and whatever does not was decoration. If a state cannot be printed, §02 got | |
| it wrong. | |
| </div> | |
| </section> | |
| <div class="part"> | |
| <span class="pn">Part V</span> | |
| <span class="pt">Application</span> | |
| <p class="pd">Every route in the product, what its data does wrong, and the order in which to fix it.</p> | |
| </div> | |
| <section id="pages"> | |
| <h2><span class="num">20</span> Every page</h2> | |
| <p class="dek"> | |
| All 27 user-facing routes. Consistent widgets are the floor; the column that matters is the | |
| middle one, because most of these pages show the wrong data rather than the right data badly. | |
| </p> | |
| <p> | |
| A second probe captured every table and list on the data-heavy pages and counted, per column, | |
| how many distinct values it actually holds. That is the cheapest test of whether a column is | |
| information or furniture: <strong>a column with one distinct value across every row is | |
| decoration</strong>, and several of BAT's are. Where a finding below could be an artefact of the | |
| small test fixture rather than the design, it is marked <em>(fixture)</em> and excluded from | |
| the argument. | |
| </p> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>Route</th><th>What the data does wrong</th><th>Presentation</th></tr></thead> | |
| <tbody> | |
| <tr> | |
| <td class="mono">/directory</td> | |
| <td>The Roles column repeats the person's enum set, so all six Additional Officers read <code>OFFICER</code> — one distinct value over six rows. A glossary card exists only to translate those enums, and it explains 8 of the 10 that exist. Vacancies and dual seats are invisible.</td> | |
| <td>Worked in full in §21.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/committees</td> | |
| <td>Three near-identical tables split by committee type; the type is the only thing distinguishing them and it is not a column. Chair is a name with no indication of load.</td> | |
| <td>One table, type as a chip, sortable and filterable. Description truncates to one line with the full text on the committee page. Fix the 32 px overflow.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/committees/<id></td> | |
| <td>Five cards for what is one object. <em>General</em> is a two-row borderless <code><table></code> used as a key–value list. <em>Members</em> has a <em>Notes</em> column whose only value is ever <code>Chair</code>, and a <em>Since</em> column rendering the literal string <code>None</code>. Empty report grids say <em>No matching records found</em>.</td> | |
| <td>Header block carries identity (name, logo, chair, established, site). Definition list for facts, not a table. Merge Notes into the member row as a chip. Real empty states. §21.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/offices/<id></td> | |
| <td>An entire card and table to show one fact: who the officer is.</td> | |
| <td>The officer belongs in the page header. Card only for the advisory committee, when there is one.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/users</td> | |
| <td>Emails column shows one address at full width; Roles shows enum names. ASF ID and Name are separate columns for one person.</td> | |
| <td>Person block (§07) in a single column, role as a quiet column, Emails dropped — the profile carries contact. §21.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/users/<uid></td> | |
| <td>Three cards; membership status is stated in prose <em>and</em> encoded in the uid's font weight. Committees list gives affiliation but not whether they chair it.</td> | |
| <td>Person header with status chip; roles as chips; committees as rows with a Chair chip. The drop-role <code>confirm()</code> becomes a modal.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/meetings</td> | |
| <td>Nine columns, six of them counts, presented as equal-weight numbers. You cannot see at a glance which meeting was heavy. <em>(fixture: Minutes and Last Change are constant here.)</em></td> | |
| <td>Date and status as the row's identity; the six counts become one compact composition. §21.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/meetings/<date></td> | |
| <td>The agenda app. Covered by §12 and §16.</td> | |
| <td>Wrapping queue switcher, sticky item bar, prose report bodies.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/tasklist</td> | |
| <td>Each task is built with a <code>priority</code> and a severity <code>class</code>, and <strong>neither is displayed</strong>: priority only sorts, severity only tints the card header, with no legend anywhere. The role is glued into the title as a string prefix — <code>Author: Camel</code>. Worked in §21.</td> | |
| <td>Queue rows: role as a column, severity said in words, priority as the grouping. Colour stops being the only carrier.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/meetings/<date><span class="mono">#flagged-reports</span><br><span class="mono">#commented-reports · #personal-notes · #shepherd/<uid></span></td> | |
| <td>Four tabs that are the same widget written four times: a list of agenda elements with a body under each. Each has its own copy of the title markup, its own <code>bg-*-subtle</code> tint, monospace bodies, and a one-word empty state (“None”, “No Notes”). Flagged Reports emits <code><dt></code>/<code><dd></code> inside a <code><ul></code>, which is invalid.</td> | |
| <td>One <em>element list</em> widget, four configurations. Prose bodies, real empty states, valid markup. §21.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/meetings/<date>#pending-changes</td> | |
| <td>Destructive “Drop” is rendered in warning yellow rather than as a destructive action, and sits in a footer where the three buttons are spread edge to edge with no grouping. Carries a data bug — see §22.</td> | |
| <td>Checkbox list with the diff preview inline; Drop as Destructive, Commit as the single Primary.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/meetings/<date>#meeting</td> | |
| <td>Titled “Connected” and lists websocket attendee strings. It is the Meeting tab but shows nothing about the meeting.</td> | |
| <td>Meeting facts first — start time, who is presenting, roll-call attendance and quorum — with live connections as a secondary list.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/meetings/<date>#presentation-order</td> | |
| <td>Columns of cards for drag-and-drop, with a Controls card holding a lone Save. Keyboard users have no path through it.</td> | |
| <td>Keep the columns; add move-up/move-down controls per row so the order is reachable without a pointer. Save is the Primary.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/users/<uid>/tasklist</td> | |
| <td>Same, and does not say it is somebody else's list until you read the title.</td> | |
| <td>Person block in the header so whose list it is is unmistakable.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/calendar</td> | |
| <td>Every meeting is one undifferentiated line; a meeting with an agenda and one without differ only by being a link or not.</td> | |
| <td>Queue rows: date, agenda state chip, special-meeting chip, ics action.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/</td> | |
| <td>Next and previous meeting show the same three facts; the revision line is raw <code>r1 | author | date</code>. The most useful number — what this user still has to do — is absent.</td> | |
| <td>Next meeting leads with the countdown and the viewer's own outstanding work; revision as the type in §07. Fix the 68 px overflow.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/schedules</td> | |
| <td>An 11-column table where four columns are booleans rendered as <code>Yes</code> against an empty cell, and three are wrapped in <code><small></code> to fit.</td> | |
| <td>Template and target as identity; booleans as chips; timing columns grouped. Switches grow to 24 px. §21.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/secretary</td> | |
| <td>Added after the audit (#564). One card per meeting that still owes something, holding the checklist that was a tab on that meeting's agenda — so the data it shows is that checklist's, unchanged, and the page is what it was missing: which meetings have one.</td> | |
| <td>Meeting date as identity, special-meeting as a chip because it is the exception, the outstanding count as a fact in secondary type rather than a chip on every card. The checklist's own rows are the queue row in a checklist configuration: the number becomes a state gutter — tick box, filled check, or empty where the line is not the tool's to do — the title is prose in the body face with only file names in the data face, and what is pushed right is the state in words rather than chips. Settled 2026-08; see §23.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/meetings/<date>/revisions</td> | |
| <td>A bare <code><pre></code> per revision; the commit message dominates and the author and date are prose.</td> | |
| <td>Revision type (§07) in queue rows; message in the raw face, metadata in micro type.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/meetings/<date>/revisions/<n><br><span class="mono">/svn/<file>/revisions[/<n>]</span></td> | |
| <td>Diff arrives as pre-rendered HTML with no legend.</td> | |
| <td>Diff rendering per §07: tinted rows with leading signs, hunk headers in the accent.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/agendas/<date>/draft</td> | |
| <td>Builder view.</td> | |
| <td>Queue rows; the primary action is the one that publishes.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/special-meeting</td> | |
| <td>Single form.</td> | |
| <td>Form at prose measure, one primary action.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/reports</td> | |
| <td>Not a page. It renders <code>underconstruction.html</code> with the text “Under construction. May be expanded or removed.” and nothing links to it.</td> | |
| <td>Nothing to design. Finish it or delete the route — an orphan URL that answers 200 with a placeholder is worse than a 404.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/documentation</td> | |
| <td>Rendered markdown — the only page whose heading levels are already correct.</td> | |
| <td>Prose measure. Otherwise unchanged.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/meetings/current</td> | |
| <td>Redirect.</td> | |
| <td>Unchanged.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/404, /403, /error</td> | |
| <td>A red box, the exception text as the heading, and on 403 a full traceback.</td> | |
| <td>Say what happened and what to do next. Traceback behind a disclosure, admins only.</td> | |
| </tr> | |
| <tr> | |
| <td class="mono">/admin/*</td> | |
| <td>Five pages of raw operational data.</td> | |
| <td>Same page header and data table. Out of scope for polish, in scope for consistency.</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </section> | |
| <section id="worked"> | |
| <h2><span class="num">21</span> Data, worked</h2> | |
| <p class="dek"> | |
| Five pages designed rather than described. The rest of §20 follows the same three moves: | |
| give the row one identity, turn repeated values into chips or drop them, and let the numbers | |
| have shape. | |
| </p> | |
| <h3>Officers & Directors</h3> | |
| <p> | |
| This page answers one question — <em>who holds what</em> — and currently spends most of | |
| its width not answering it. Three tables carry a Roles column derived from the | |
| <em>person</em>, not the office, so it restates what the section heading already said: all six | |
| Additional Officers read <code>OFFICER</code>, and the eight Executive Officers produce only | |
| four distinct values between them. A fourth card then exists purely to translate those enum | |
| names into English — and it covers 8 of the 10 roles that exist, so a reader who sees | |
| <code>PRESIDENT</code> in the first table finds no entry for it in the legend. | |
| </p> | |
| <p>Three things the page does not show, all of which the model already knows:</p> | |
| <ul> | |
| <li><strong>Vacancies.</strong> <code>User.is_vacant_user</code> exists, but a vacant office | |
| renders as an ordinary link to a person who is not one.</li> | |
| <li><strong>Dual seats.</strong> The Board Chair and the President are directors <em>and</em> | |
| officers. They appear in two tables with nothing connecting the two rows.</li> | |
| <li><strong>Who anyone actually is.</strong> The page renders names alone — | |
| <code>render_user_link</code> emits the public name and nothing else — so there is no | |
| uid on the page at all, and no way to tell which of two similar names you are looking at | |
| or to carry the identity anywhere else.</li> | |
| </ul> | |
| <div class="plate"> | |
| <div class="plate-label"><span>Officers & Directors, redesigned</span><span class="rhs">seat is the row, person is the payload</span></div> | |
| <div class="w" style="display:flex;flex-direction:column;gap:1.5rem"> | |
| <div> | |
| <div style="display:flex;align-items:baseline;gap:.75rem;flex-wrap:wrap;margin-bottom:.5rem"> | |
| <span class="t-sub">Board of Directors</span> | |
| <span class="t-micro">9 seats · elected 25 Mar 2025</span> | |
| </div> | |
| <div class="qlist"> | |
| <a class="qrow" href="#0"><span class="person"><span class="nm">Heiðrós Halldórsson</span><span class="sub"><span class="uid">halldor</span></span></span><span class="office">Board Chair</span></a> | |
| <a class="qrow" href="#0"><span class="person"><span class="nm">Jessica Orn</span><span class="sub"><span class="uid">jorn</span></span></span><span class="office">President</span></a> | |
| <a class="qrow" href="#0"><span class="person"><span class="nm">Layne Goodwin</span><span class="sub"><span class="uid">lgoodwin</span></span></span><span class="office">Treasurer</span></a> | |
| <a class="qrow" href="#0"><span class="person"><span class="nm">Todd Jackson</span><span class="sub"><span class="uid">tjackson</span></span></span><span class="office"></span></a> | |
| </div> | |
| </div> | |
| <div> | |
| <div style="display:flex;align-items:baseline;gap:.75rem;flex-wrap:wrap;margin-bottom:.5rem"> | |
| <span class="t-sub">Executive Officers</span> | |
| <span class="t-micro">8 offices · 1 vacant · in constitutional order</span> | |
| </div> | |
| <div class="qlist"> | |
| <a class="qrow" href="#0"><span class="seat t-label">Board Chair</span><span class="person"><span class="nm">Heiðrós Halldórsson</span><span class="sub"><span class="uid">halldor</span></span></span><span class="office">Director</span></a> | |
| <a class="qrow" href="#0"><span class="seat t-label">Vice Chair</span><span class="person"><span class="nm">Αγαθάγγελος Κεδίκογλου</span><span class="sub"><span class="uid">akedikoglou</span></span></span><span class="office"></span></a> | |
| <a class="qrow" href="#0"><span class="seat t-label">President</span><span class="person"><span class="nm">Jessica Orn</span><span class="sub"><span class="uid">jorn</span></span></span><span class="office">Director</span></a> | |
| <a class="qrow" href="#0"><span class="seat t-label">Treasurer</span><span class="person"><span class="nm">Layne Goodwin</span><span class="sub"><span class="uid">lgoodwin</span></span></span><span class="office"></span></a> | |
| <a class="qrow" href="#0"><span class="seat t-label">Secretary</span><span class="person"><span class="nm">Mike Predovic</span><span class="sub"><span class="uid">mpredovic</span></span></span><span class="office"></span></a> | |
| <div class="qrow"><span class="seat t-label">W3C Relations</span><span style="color:var(--muted);font-style:italic;flex:1">Vacant</span><span class="chips"><span class="chip chip--gold"><svg aria-hidden="true"><use href="#i-clock"/></svg><span class="w">unfilled</span></span></span></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <p> | |
| The Roles column is gone. What replaces it is not a prettier version of the same data but a | |
| different fact: <em>this officer also sits on the board</em>, which is the only part of the | |
| role set a reader of this page could not already infer. With the enum names off the screen, | |
| the glossary card has nothing to explain and becomes a short disclosure under the page | |
| header for the ASF-specific vocabulary that genuinely needs it. | |
| </p> | |
| <p> | |
| Note what that cross-reference is <em>not</em>: a chip. An office is true of nearly every row, | |
| so it is a column — right-aligned, Label type, quiet. The only chip on this page is | |
| <span class="chip chip--gold"><svg aria-hidden="true"><use href="#i-clock"/></svg><span class="w">unfilled</span></span>, because a vacant office is the one thing here | |
| that departs from the expected state. Both tables now share one shape — seat on the | |
| left, person in the middle, office on the right — which is what makes it obvious that | |
| the Chair appears in both. | |
| </p> | |
| <h3>Meetings history</h3> | |
| <p> | |
| Nine columns, six of which are counts rendered as bare numbers of equal weight, so the table | |
| reads as a wall of digits and no meeting stands out. The counts are related — reports, | |
| missing, flagged, unapproved are all shares of the same total — so they should compose | |
| rather than sit in separate columns. | |
| </p> | |
| <div class="plate"> | |
| <div class="plate-label"><span>Meetings</span><span class="rhs">counts get shape</span></div> | |
| <div class="qlist w"> | |
| <a class="qrow" href="#0"> | |
| <span style="width:8.5rem;flex:none"><span class="t-ui" style="font-weight:600;color:var(--ink)">18 Jun 2025</span></span> | |
| <span style="flex:none;width:11rem;display:flex;height:10px;border-radius:2px;overflow:hidden;border:1px solid var(--rule)"> | |
| <span style="flex:60;background:var(--go)"></span><span style="flex:18;background:var(--stop)"></span><span style="flex:8;background:var(--flag)"></span> | |
| </span> | |
| <span class="t-micro" style="font-variant-numeric:tabular-nums">86 reports · 18 missing · 8 flagged</span> | |
| <span class="chips"><span class="chip chip--go"><svg aria-hidden="true"><use href="#i-read"/></svg><span class="w">minutes published</span></span></span> | |
| </a> | |
| <a class="qrow" href="#0"> | |
| <span style="width:8.5rem;flex:none"><span class="t-ui" style="font-weight:600;color:var(--ink)">21 May 2025</span></span> | |
| <span style="flex:none;width:11rem;display:flex;height:10px;border-radius:2px;overflow:hidden;border:1px solid var(--rule)"> | |
| <span style="flex:16;background:var(--go)"></span><span style="flex:66;background:var(--stop)"></span><span style="flex:0;background:var(--flag)"></span> | |
| </span> | |
| <span class="t-micro" style="font-variant-numeric:tabular-nums">82 reports · 66 missing · 0 flagged</span> | |
| <span class="chips"><span class="chip chip--gold"><svg aria-hidden="true"><use href="#i-clock"/></svg><span class="w">minutes pending</span></span></span> | |
| </a> | |
| </div> | |
| </div> | |
| <p> | |
| One bar, three counts in micro type, one state chip. The May meeting's 66 missing reports are | |
| now visible from across the room, which in the current table they are not. | |
| </p> | |
| <h3>Committee</h3> | |
| <p> | |
| Five cards for one object, and the first of them — <em>General</em> — is a borderless | |
| two-column <code><table></code> carrying <code>d-flex</code>, used as a key–value list. | |
| Facts about a thing are a definition list, not a table; a table is for repeated records. | |
| </p> | |
| <ul> | |
| <li>Identity (name, logo, chair, established, site) moves into the page header, where the | |
| logo already appears — so the first card disappears entirely.</li> | |
| <li>The <em>Members</em> table's <em>Notes</em> column only ever holds <code>Chair</code>, | |
| rendered in a <code><code></code> element. It becomes a chip on the member's row.</li> | |
| <li>The <em>Since</em> column renders the literal string <code>None</code> when the date is | |
| unknown. An unknown date is an em dash.</li> | |
| <li>Reporting periods are three months of the year; they belong beside the reports they | |
| govern, not in a card of their own.</li> | |
| <li>Empty report grids currently say <em>No matching records found</em>, which is Grid.js's | |
| default string, not an answer. They say what the absence means: <em>this committee has not | |
| reported since the record begins</em>.</li> | |
| </ul> | |
| <h3>Users</h3> | |
| <p> | |
| Four columns for what is one person: ASF ID, Name, Emails, Roles. Under §07 a person is one | |
| thing, so ASF ID and Name become the two lines of one person block, the role moves to a quiet | |
| right-hand column instead of <code>PMC_CHAIR</code>, and the Emails column goes altogether | |
| — a list is where you find someone, the profile is where you contact them. | |
| </p> | |
| <div class="plate"> | |
| <div class="plate-label"><span>Users</span><span class="rhs">one person, one column</span></div> | |
| <div class="qlist w"> | |
| <a class="qrow" href="#0"><span class="person"><span class="nm">Alexia De Ridder</span><span class="sub"><span class="uid">alexia.deridder</span><span class="st">Member</span></span></span><span class="office">PMC Chair</span></a> | |
| <a class="qrow" href="#0"><span class="person"><span class="nm">Aline Weinhold</span><span class="sub"><span class="uid">aline</span><span class="st">Member</span></span></span><span class="office">Officer</span></a> | |
| <a class="qrow" href="#0"><span class="person"><span class="nm">Đồng Lễ</span><span class="sub"><span class="uid">dle</span><span class="st">Emeritus</span></span></span><span class="office">Secretary</span></a> | |
| </div> | |
| </div> | |
| <h3>Tasklist</h3> | |
| <p> | |
| The server already computes everything this page needs and then throws most of it away. Each | |
| task is built with a <code>priority</code> (1 for action items, 2 as author, 3 as shepherd) | |
| and a severity <code>class</code> of <code>danger</code>, <code>warning</code> or | |
| <code>info</code>. The priority is used to sort and never shown; the severity is shown only | |
| as the card header's colour, with no legend on the page. So the one thing a reader wants | |
| — <em>what must I do first</em> — is encoded entirely in hue. | |
| </p> | |
| <p> | |
| The role is also glued into the title as a string: <code>f"Author: {item.title}"</code>. That | |
| makes the role unsortable, unfilterable, and part of the text you read before you reach the | |
| subject. | |
| </p> | |
| <div class="note"> | |
| <strong>The sort is wrong, too.</strong> Tasks are ordered by | |
| <code>(priority, class, name)</code>, and <code>class</code> is sorted as a string. That | |
| gives <code>danger</code>, <code>info</code>, <code>warning</code> — so within a | |
| priority, <em>Review report</em> sorts above <em>Send reminder</em>. Alphabetical order on a | |
| severity name is not a severity order; it wants an explicit rank. | |
| </div> | |
| <div class="plate"> | |
| <div class="plate-label"><span>Tasklist</span><span class="rhs">role is a column, urgency is a word</span></div> | |
| <div class="w"> | |
| <div class="t-label" style="margin-bottom:.4rem">Needs you before 18 Jun</div> | |
| <div class="qlist"> | |
| <div class="qrow"><span class="seat t-label">Author</span><span class="t"><a href="#0">Camel</a></span><span class="t-micro">Report not yet posted</span><span class="chips"><span class="chip chip--stop"><svg aria-hidden="true"><use href="#i-clock"/></svg><span class="w">overdue</span></span></span></div> | |
| <div class="qrow"><span class="seat t-label">Assignee</span><span class="t"><a href="#0">Update the branding guide</a></span><span class="t-micro">Status update requested</span><span class="chips"><span class="chip chip--flag"><svg aria-hidden="true"><use href="#i-flag"/></svg><span class="w">needs update</span></span></span></div> | |
| <div class="qrow"><span class="seat t-label">Shepherd</span><span class="t"><a href="#0">Daffodil</a></span><span class="t-micro">Report posted, not yet reviewed</span></div> | |
| </div> | |
| </div> | |
| </div> | |
| <p> | |
| Role in the left column, subject as the link, what to do in micro type, and urgency as a chip | |
| only when it is genuinely exceptional. A task with nothing wrong carries no chip at all, | |
| which is what makes the two that do stand out. | |
| </p> | |
| <h3>Flagged, Comments, Notes, Shepherd — settled</h3> | |
| <p> | |
| These four tabs were the same thing implemented four times: a list of agenda elements, each | |
| with a body underneath. The book asked for one <strong>element list</strong> widget taking a | |
| queue, a body renderer and an empty state. What shipped went further and is better: the tabs | |
| are gone, and each is a <em>queue</em> — a filter over the one list, read expanded when | |
| you want the detail. A queue is a view, so it has an address and can be sent to someone. | |
| </p> | |
| <p> | |
| With one list there is nothing left to drift. The four <code><h1 class="modal-title | |
| fs-6"></code> element titles that supplied 44 of the page's <code><h1></code> | |
| elements are gone with the copies, as is the <code>bg-warning-subtle</code> that one of the | |
| four used where the others used <code>bg-body-secondary</code>, and the four spellings of the | |
| empty state. The comment list is a <code><dl></code> now, so its | |
| <code><dt></code>/<code><dd></code> pairing is one an assistive technology can | |
| see. The old anchors still resolve: <code>#flagged-reports</code> and its three siblings | |
| rewrite themselves to the queue address that view has now. | |
| </p> | |
| <div class="note"> | |
| <strong>What remains is one table, not four copies.</strong> A queue's name, id, tooltip, | |
| glyph, keystroke and who may see it were six arrays lined up by index, plus a key binding | |
| stating the id-to-key pairing a second time — which is how the menu once offered | |
| Flagged the key that belonged to Comments. They are one row per queue in <code>assets/src/js/libs/agenda-queues.ts</code>, so the key | |
| printed beside a name is the key that selects it. | |
| </div> | |
| <h3>Schedules</h3> | |
| <p> | |
| Eleven columns, and the strain shows: four are booleans printed as <code>Yes</code> against | |
| an otherwise empty cell, and three more are wrapped in <code><small></code> purely to | |
| make them fit. A boolean column that is blank half the time reads as missing data rather than | |
| as <em>false</em>. | |
| </p> | |
| <ul> | |
| <li><strong>Identity:</strong> template name and what it targets, as one cell.</li> | |
| <li><strong>Timing:</strong> offset, next trigger and last sent are one story — | |
| group them, with the next trigger emphasised because it is the only future fact.</li> | |
| <li><strong>Delivery:</strong> CC dev@, BCC and summary-to become chips that appear only when | |
| set, so the row shows what is switched on rather than a grid of blanks.</li> | |
| <li><strong>Enabled</strong> stays a switch, at 24 px, and a disabled row drops to muted | |
| type so the state is carried twice.</li> | |
| </ul> | |
| </section> | |
| <section id="order"> | |
| <h2><span class="num">22</span> Order of work & governance</h2> | |
| <p class="dek"> | |
| Sequenced so that each step is independently shippable and the early ones make the later | |
| ones cheaper. | |
| </p> | |
| <ol> | |
| <li><strong>Tokens and the reset.</strong> Land §02–§04 as custom properties; scope or | |
| delete <code>* { margin: 0; padding: 0 }</code>; self-host the two faces. Nothing looks | |
| different yet except spacing stops drifting.</li> | |
| <li><strong>Bugs found while measuring</strong>, in this order. They are not design work and | |
| should not wait for it: | |
| <ul style="margin-top:.5rem"> | |
| <li><strong>Committing pending changes commits the wrong ones.</strong> | |
| <code>checkedPendingChanges()</code> is | |
| <code>pendingChangesChecked.filter(c => c).map((_, i) => i)</code> — it maps | |
| over the <em>filtered</em> array, so it returns <code>0…n-1</code> rather than | |
| the positions of the checked boxes. The server indexes its stored list positionally | |
| (<code>enumerate(pending_changes.changes)</code>), so unchecking anything but a trailing | |
| run commits and reverts the wrong changes. Uncheck the first of three and you commit | |
| changes 0 and 1 — including the one you just excluded. It is only correct in the | |
| all-checked default, which is why it has survived. Same call feeds Drop and Preview | |
| diff. Nothing covers it in <code>e2e/tests</code>.</li> | |
| <li>The <code>:global(.content-box h1, h2)</code> selector-list leak, which makes bare | |
| <code>h2</code>/<code>ul</code> on any page loading that chunk take the report body's | |
| type. Prerequisite for touching the report pane.</li> | |
| <li><code>n s</code> selecting the Shepherd queue even when that queue is hidden, | |
| stranding the user on an empty index with no filter selected.</li> | |
| <li>The tasklist's severity sort ordering <code>info</code> above <code>warning</code> | |
| alphabetically (§21).</li> | |
| </ul> | |
| </li> | |
| <li><strong>Status vocabulary.</strong> The eight chips. One file, immediate legibility win | |
| across every list in the product.</li> | |
| <li><strong>Report bodies as prose.</strong> Split the markdown and raw branches into | |
| separate containers.</li> | |
| <li><strong>Queue switcher and item bar.</strong> Removes the 289 px overflow and makes | |
| the tool usable on a phone.</li> | |
| <li><strong>Document outline and focus.</strong> Heading levels, <code>aria-live</code>, | |
| <code>:focus-visible</code>, target sizes.</li> | |
| <li><strong>Comfortable mode and <code>prefers-*</code>.</strong></li> | |
| <li><strong>Tables.</strong> Tokenise Grid.js; fix the three remaining overflows.</li> | |
| <li><strong>The data itself.</strong> §20–§21, page by page. Officers & Directors, | |
| Users and Committees first: they share the person and role types, so they are one change | |
| spread over three pages rather than three changes.</li> | |
| </ol> | |
| <div class="note"> | |
| Steps 1–3 are worth doing even if nothing else in this book is adopted: they cost | |
| little, they are invisible to workflow, and they remove the ambiguity that makes every | |
| subsequent design question expensive. | |
| </div> | |
| <h3>How the system changes</h3> | |
| <p> | |
| A design system that cannot be extended gets worked around, and a system anyone can extend | |
| stops being one. Three gates, matched to what is actually at stake: | |
| </p> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>Change</th><th>Needs</th><th>Because</th></tr></thead> | |
| <tbody> | |
| <tr> | |
| <td><strong>Using the system</strong> — a new page from existing widgets, a new column, new copy</td> | |
| <td>Nothing. Build it.</td> | |
| <td>This is the system working. If composing a page requires a discussion, the book has failed.</td> | |
| </tr> | |
| <tr> | |
| <td><strong>A new configuration</strong> — a widget variant, a new empty state, a new field type</td> | |
| <td>A note in the PR saying which existing thing it extends</td> | |
| <td>Cheap to review, and the note is what stops two people inventing the same variant twice.</td> | |
| </tr> | |
| <tr> | |
| <td><strong>A new token, hue, chip, icon meaning or type role</strong></td> | |
| <td>An issue, and a change to this book in the same PR</td> | |
| <td>These are the things that decay. <code>bg-warning</code> came to mean three things because no gate existed — each addition was locally reasonable.</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <h3>Rules that keep it honest</h3> | |
| <ul> | |
| <li><strong>The book changes in the same commit as the code.</strong> A design book that | |
| documents last quarter's product is worse than none, because it is trusted.</li> | |
| <li><strong>New states earn a chip by the test in §08</strong> — exceptional, | |
| actionable, not already implied by a column. Failing any of the three means a column.</li> | |
| <li><strong>Tokens are named for meaning, not appearance.</strong> <code>--stop</code>, not | |
| <code>--red</code>; the day the red changes, every use of it is still correct.</li> | |
| <li><strong>Class names are scoped to their component, never generic.</strong> | |
| <code>.bat-chip-count</code>, not <code>.n</code>. A short generic name collides the moment two | |
| components nest, and the collision is silent — equal specificity means source order | |
| decides, so it breaks for whoever's rule happens to come second. This is the same failure as | |
| the app's <code>:global(.content-box h1, h2)</code> leak, and an earlier draft of this very | |
| page had it: the chip's count span and the queue row's element-number gutter were both | |
| <code>.n</code>, so every count inside a row silently inherited a 44.8 px fixed width | |
| and the gutter's monospace face.</li> | |
| <li><strong>Nothing new gets a hardcoded <code>px</code> font size</strong> or a | |
| <code>transition: all</code>. Both are lint rules, not conventions — stylelint is | |
| already in <code>make check</code>.</li> | |
| <li><strong>Every UI change ships its two layers of tests</strong> (vitest and Playwright), as | |
| the repository already requires. A widget without a test is a widget that will drift.</li> | |
| <li><strong>Re-run the audit.</strong> The two probes behind this book are a hundred lines of | |
| Playwright each and produce the numbers in §01 and §20. Run them once a release: | |
| the count of type treatments, button variants and chip meanings is the system's health, and | |
| a rising number is the only early warning there is.</li> | |
| </ul> | |
| </section> | |
| <div class="part"> | |
| <span class="pn">Part VI</span> | |
| <span class="pt">Evolution</span> | |
| <p class="pd">What building it changed. Kept here rather than folded silently into the chapters above, so that a decision and the thing it replaced stay visible together.</p> | |
| </div> | |
| <section id="evolution"> | |
| <h2><span class="num">23</span> What implementation changed</h2> | |
| <p class="dek"> | |
| Sixty-five things the book got wrong, left out, or stated too loosely to build from. | |
| Each is now what the product does. | |
| </p> | |
| <h3>Corrections</h3> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>The book said</th><th>What it is</th><th>Why</th></tr></thead> | |
| <tbody> | |
| <tr> | |
| <td>Four button roles, reached by restyling the six Bootstrap variants and leaving the class names as aliases (§12)</td> | |
| <td>Four roles at the call site: primary, secondary, danger, link</td> | |
| <td>Mapping by variant name rather than by what a button does was wrong. Most <code>color="warning"</code> buttons are labelled <em>Reflow</em> - a text formatting utility - so restyling warning as destructive painted about fifteen harmless buttons red. Classified by behaviour instead: Drop, Delete and Drop for this session are destructive and were not marked as such before.</td> | |
| </tr> | |
| <tr> | |
| <td>The eight type roles, offered as tokens (§03)</td> | |
| <td>The scale enforced: headings resolve to it, and Bootstrap's <code>fs-*</code> and <code>.small</code> are mapped onto it</td> | |
| <td>Defining tokens and leaving every component free to pick its own size is how 27 treatments accumulated. Offered, the count went <em>up</em> to 30; enforced, the product renders six sizes and four weights.</td> | |
| </tr> | |
| <tr> | |
| <td>Four queues pinned, a fixed number of slots (§16)</td> | |
| <td>As many as the row's width allows, measured; the remainder behind the menu, and no menu at all when they all fit</td> | |
| <td>A fixed count is a guess that is wrong at both ends: it wasted a 2400 px screen and still overflowed a phone at a large text size. The row measures its labels off screen and fits what it can, so the same control suits a phone, a tablet and a wide screen without a breakpoint for each.</td> | |
| </tr> | |
| <tr> | |
| <td>Some queues pinned, the rest behind a menu (§16, and the row above)</td> | |
| <td><strong>Being tried, not settled (#565):</strong> one control naming the queue you are in, opening all of them</td> | |
| <td>Fitting what a width allows means what a director sees is decided by the screen they happen to have: at 1280 px <em>Mine 0</em> and <em>Notes 0</em> held pinned slots while <em>Missing 20</em> was behind the menu, and on a phone nine of twelve queues were. One control is 186 px in every queue at every width and text size - measured against the widest name it could carry - and the menu it opens sets name, keystroke and count in three columns, which is the first time the keyboard model appears on screen at all. What it gives up is the ambient reading of several counts at once, which is why it is a trial rather than a replacement.</td> | |
| </tr> | |
| <tr> | |
| <td>The queue switcher wraps (§09, §18)</td> | |
| <td>Fixed width at every size: four queues pinned, the rest behind one menu</td> | |
| <td>Wrapping was never the requirement - fitting without pushing the page wider is. Wrapping only moves the cost from width to height, and it made the switcher grow every time a queue was added: at twelve it was two rows on a 1280px screen. A fixed number of slots decouples the control's size from the number of queues, and the menu holds the rest with their keystrokes intact.</td> | |
| </tr> | |
| <tr> | |
| <td>The Info card, unexamined (§12)</td> | |
| <td>Attach and Author rows gone; a person links to the person</td> | |
| <td>Attach restated the element number - measured across the agenda, an attachment id is always the item's own suffix: 5-2 is attachment 2, 6-A is attachment A. Author repeated the title. What is left is genuinely new - submitter, audience, project - plus a block of links, which the book's own item-bar specimen already draws as icon buttons rather than a table row.</td> | |
| </tr> | |
| <tr> | |
| <td>Person renderings, defined for the server-rendered pages (§07)</td> | |
| <td>The same two forms in Svelte, and a title's person is one of them</td> | |
| <td>The rule lived in macros/user.jinja and nowhere else, so the agenda - the surface that shows people most - did not follow it. A title's person is now icon plus name at UI weight, linked to their profile where the item is open (an index row is itself an anchor, and an anchor cannot contain one).</td> | |
| </tr> | |
| <tr> | |
| <td>Nothing on a vacancy (§07)</td> | |
| <td>An office nobody holds renders as a vacancy, not as a person called Vacant</td> | |
| <td>formatTitle flattened the title and the person into one string, so "Tomcat [Vacant]" read as a report by somebody named Vacant and there was no seam to hang the vacancy treatment on. The title is parts now: text, person, and whether the office is vacant.</td> | |
| </tr> | |
| <tr> | |
| <td>The Info card, unexamined (§12)</td> | |
| <td>Attach and Author rows gone; a person links to the person</td> | |
| <td>Attach restated the element number - measured across the agenda, an attachment id is always the item's own suffix: 5-2 is attachment 2, 6-A is attachment A. Author repeated the title, and the card's copy was not even a link in practice, because an author uid resolves from the directory and this fixture's is anonymised. What survives is genuinely new - submitter, audience, project - plus links, which the book's own item-bar specimen already draws as icon buttons rather than a table row.</td> | |
| </tr> | |
| <tr> | |
| <td>Person renderings, defined for the server-rendered pages only (§07)</td> | |
| <td>The same two forms in Svelte, and a title's person is one of them</td> | |
| <td>The rule lived in macros/user.jinja and nowhere else, so the agenda - the surface that shows people most - did not follow it. A title's person is icon plus name at UI weight, linked to their profile where the item is open; an index row is itself an anchor, and an anchor cannot contain one.</td> | |
| </tr> | |
| <tr> | |
| <td>Nothing on a vacancy (§07)</td> | |
| <td>An office nobody holds renders as a vacancy, not as a person called Vacant</td> | |
| <td>formatTitle flattened the title and the person into one string, so "Tomcat [Vacant]" read as a report by somebody named Vacant and there was no seam to hang the vacancy treatment on. A title is parts now: text, person, and whether the office is vacant.</td> | |
| </tr> | |
| <tr> | |
| <td>A flag chip carrying who set it</td> | |
| <td>The word is <em>flagged</em>; who flagged it is in the title, with a count when there is more than one</td> | |
| <td>A bare uid beside a title read as a name with no explanation, and made the chip a different width for every flagger - which is the one thing a column of status cannot afford. Every other chip says what it is and keeps its detail in the title.</td> | |
| </tr> | |
| <tr> | |
| <td>Missing and missed-before, the same glyph in two weights (§08)</td> | |
| <td>Same hue, different glyph: a cross now, a clock before</td> | |
| <td>Filled-means-now and outlined-means-before is a fine rule until the word clips away below the medium breakpoint, and two red circled crosses sit side by side saying the same thing twice. The icon is the carrier that survives the clip, so it has to carry the difference.</td> | |
| </tr> | |
| <tr> | |
| <td>An unlabelled switch over the report body</td> | |
| <td>No control in the view everyone reads in; a marker in the one they do not, a key, and a preference</td> | |
| <td>The rendering preference was a bare knob floating over the first line of the report whose meaning lived in a tooltip. Labelling it - <em>Raw source</em>, the label naming what turning it on does - fixed the reading of it and left the real problem: a control on every report, at the corner of the text, for something almost nobody does. So the preference decides what a session opens in, <span class="mono">r</span> flips it while you read, and rendered carries nothing at all. Raw carries a marker, which is the one place this design names the state rather than the action: a report that suddenly looks like source needs something on screen accounting for why, and the way back is that same marker. The key is printed on it, and again beside the preference - the two places a reader can find out the keyboard model exists. Pressing it does not write the preference: looking at what one badly rendered report actually says should not decide how every report looks tomorrow.</td> | |
| </tr> | |
| <tr> | |
| <td>Draft state, as a sentence in the controls</td> | |
| <td>A chip on the element; the box that sets it is in the dialog that edits the wording, the same one the dialog that adds a resolution offers</td> | |
| <td>A <code>w-100</code> wrapper took a whole line of the action row, which pushed everything after it onto a third tier - a special order's bar was a lone Edit, then this, then the icons. That a resolution is a draft is state, and state is a chip. It then spent a while as one button that kept its word, which was still a control in the row for something nobody does often: whether the wording is settled is a property of the resolution, so it is set where the wording is, and it is saved with it.</td> | |
| </tr> | |
| <tr> | |
| <td>Edit, outlined in the destructive red</td> | |
| <td>Neutral, like every other control that stages a pending change</td> | |
| <td>Red is for what cannot be undone. An edit is staged like any other change, and it sat beside a Delete that genuinely is destructive, so the pair said nothing.</td> | |
| </tr> | |
| <tr> | |
| <td>The date, with a weekday and a timezone (§20)</td> | |
| <td><span class="mono">18 Jun 2025, 21:00</span></td> | |
| <td>Every date in the product is already rendered in the reader's own zone, so the suffix restated the browser's setting - and on the agenda's own head it was part of what would not fit beside a drawer trigger, a mark and the agenda's age. The weekday goes from the page title too: the date there is specific, and which day of the week it falls on is a question a calendar answers.</td> | |
| </tr> | |
| <tr> | |
| <td>The mark, merged into this design rather than integrated with it (§12)</td> | |
| <td>The two were made against different versions of the same head, and the head is where they meet</td> | |
| <td>The mark rides in the page head below <code>lg</code>, because the sidebar is a drawer there and the brand would otherwise be off screen with it. That head had just been cut from 89 px to 65 by taking eighteen characters out of its title - and a wrapping row answers a mark it cannot fit by putting the agenda's age on a line of its own, which spent the saving again. It does not wrap below <code>md</code> now, and the title gives way instead, as it does in an element's own bar: a trigger is its size and an age is four characters, but a date can end in an ellipsis and still say which meeting this is. The mark is 20 px rather than 24 on a phone - it is drawn rather than photographed, so its size is a choice, and at 20 the silhouette still reads. | |
| <br /><br /> | |
| Also settled here: the interface carries two ambers, <code>#F7AE18</code> from the <span class="mono">www.apache.org</span> <code>:root</code> this palette comes from, and <code>#F79A23</code>, the fourth ink of the feather, which the mark is filled with. They are near neighbours and look like a typo of each other. Both are now named in the token block so that nobody reconciles them: the interface is the site's palette and the mark is the feather's.</td> | |
| </tr> | |
| <tr> | |
| <td>The element header, designed on a committee report (§12)</td> | |
| <td>Eight corrections found by opening one of every kind in turn, and then all 86 committee reports</td> | |
| <td>A header that reads well on a committee report is wrong on the shapes that are not one. An element with no author and nothing true of it - call to order, adjournment, a special order, a discussion - drew the row for those anyway, 16 px of empty band under the title on five of fourteen; it is not rendered now, and whether there is anything to draw is asked of the chips themselves rather than guessed from a copy of their conditions. An action item's person is its <em>assignee</em>, which the row called Author while the Info card two inches below called it Assignee. The comments card counted this agenda's while listing earlier months' too, so a report whose whole history is older was headed <span class="mono">Comments (0)</span> above a list of them - it says both scopes now, rather than a total that would disagree with the chip on the same screen. The President, the Treasurer, the Secretary and the Executive Vice President are offices with pages of their own, and theirs were the only reports offering no way to reach them, because the check named two section types and they sit in a third. And an action item's Edit was still the destructive red, which its sibling control had already stopped being - as was a report's, the third of three. | |
| The broader pass, all 86 committee reports at 1440 px: every one 48 px for the title row and 48 for the row you work from, no title clipped, nothing overflowing. Two things it did find. The people row was 37 px on a report with nothing true of it and 39 on the next, because a chip is two pixels taller than the line of text beside it - so the report under it moved by that much on every step of a queue seventy-four long; it has a floor now. And <em>Post</em> wore the pencil, which is what Edit, Edit item, Edit action item and the pending chip all wear: it files a report that does not exist yet, so it takes a page with a plus. Post and Edit open the same dialog on the same field - what differs is whether there is a report yet, which is why one is filled and carries its word and the other is an icon among icons.</td> | |
| </tr> | |
| <tr> | |
| <td>A control with an icon is the icon, the primary excepted by name (§12)</td> | |
| <td>Excepted by role: whichever control is the primary keeps its word. And an action item's button wears the glyph an action item wears everywhere else</td> | |
| <td>The exception was written as Approve and Unapprove, so Post - the whole point of opening a missing report - was a navy square with nothing on it, and Mark ready would have been the next one. It is the filled control that keeps its word, whichever control that is. The add-an-action-item button wore a checked box, which is also what read and approved would say; it takes the tasklist the chip and the expanded row already use. Bootstrap Icons has no tasklist-with-a-plus, and the button's own word and tooltip carry the add.</td> | |
| </tr> | |
| <tr> | |
| <td>An Info card that renders for facts it no longer shows</td> | |
| <td>Info renders when it holds one; where else the element can be read about is a row of icon links on its title row</td> | |
| <td>Author and shepherd moved to the bar and the card kept rendering for them, so a committee report showed a card called Info containing a row labelled Links containing one link. They are on the title row now - directory, mail, past reports, statistics - which is where the book's own item specimen drew them, and which the title row has the width for once it is a row of its own. They are quiet and they are links: they leave the page, and the row below is the one that acts on the agenda. A card headed <em>Comments (0)</em> was the same non-news, and is gone too.</td> | |
| </tr> | |
| <tr> | |
| <td>Agenda-level controls, in a card beside the agenda (§20)</td> | |
| <td>One right-aligned row above it - and above it means above, which took a second pass</td> | |
| <td>Add item, start meeting and the rest are page-level actions, and the book puts those on the page's own row. They had a third of the width for at most four buttons - and with a meeting running that column sat between the agenda and the presentation rail, squeezing the agenda to 575px of 1440. It is 862px now. The row was first built after the list rather than before it, which put Start meeting 6,076 px down the fixture agenda.</td> | |
| </tr> | |
| <tr> | |
| <td>The item bar carries the title (§12)</td> | |
| <td>Two lines: number and title, then who answers for it - author and shepherd</td> | |
| <td>The shepherd left the index because it meant nothing to anyone but them; the open report is the one place it does, because that is where somebody is reading what the shepherd is meant to review. The chips move to the trailing edge with the controls, so the bar reads left to right as identity, state, actions.</td> | |
| </tr> | |
| <tr> | |
| <td>View / Present, unstyled (§16)</td> | |
| <td>The same pill pair the queue switcher uses</td> | |
| <td>Present was outlined in the destructive red, which the book reserves for what cannot be undone - driving a meeting is not that. It is the same shape of choice as a queue, one of a set with the chosen one filled, so it takes the same treatment rather than looking like a different kind of control.</td> | |
| </tr> | |
| <tr> | |
| <td>Arrow keys step the queue (§16)</td> | |
| <td>So does a swipe, on a touch screen</td> | |
| <td>The queue is the product's central idea and a phone had no way to move through one: no arrow keys, and the Previous button is at the foot of a report that can be two thousand pixels long. Dragging right reveals what is to the left, so it goes back. A gesture that starts inside something scrolling sideways belongs to that thing until it reaches its edge - reports wrap today, so this is for the wide content that does scroll.</td> | |
| </tr> | |
| <tr> | |
| <td>The item bar is sticky, at the top (§12)</td> | |
| <td>At the top everywhere, under the page head where that is pinned too; on a phone the actions alone travel to the bottom edge</td> | |
| <td>Two things. The book's reasoning - controls parked at either end are off screen for most of a long report - argues for sticky, not for which edge, and on a phone the bottom edge is where a thumb reaches, so the actions go there. Only they travel; the number, title and chips stay with the element, because a strip carrying all of it costs three rows of a small screen. What stays at the top is the row that steps the queue, and below 992 px it pins at the page head's height rather than at the ribbon: sharing <code>top: 0</code> with the head, which has the higher z-index, put the row behind it, where it read as having scrolled away. Stacked, they say different things - the head which meeting, the row which queue - and the offset is in rem so that it follows the reading size the head is built from, 65 px at the default and 81 at Large. A rotated phone is what found this: 915 px wide falls below the breakpoint, and 412 tall is where losing the step arrows costs most.</td> | |
| </tr> | |
| <tr> | |
| <td>Page header: display title (§12)</td> | |
| <td>The agenda's title is its meeting date, and nothing else</td> | |
| <td>"Meeting Agenda for Wed, 18 Jun 2025, 21:00 UTC" spent eighteen characters saying where you already are - the sidebar entry is lit, the browser tab says Agenda - and those characters were what wrapped the title onto a second line on a phone. A meeting is named by its date. The head went from 89px to 65px there, and the agenda starts 24px higher.</td> | |
| </tr> | |
| <tr> | |
| <td>A missing-in-past-months notice, as a full-width alert (§12)</td> | |
| <td>A chip, in the missing hue but outlined</td> | |
| <td>A committee that skipped a month is worth noticing even when it has filed this time, but it is not an alarm about this agenda - it was a yellow slab across the meta column saying four words. Filled says a state is true now, outlined says it was true before, which is a rule that adds no ninth hue and can be reused.</td> | |
| </tr> | |
| <tr> | |
| <td>Queues and the View/Present switch, in one wrapping row (§16)</td> | |
| <td>One row that does not wrap; the queue row is the part that gives</td> | |
| <td>The queue row grows into the space left over, so in a wrapping container it pushed the mode switch onto a line of its own - a third tier of chrome under the tab strip and the status line, 83px where 46 would do. The queue row already measures what it can fit, so it is the one that should shrink.</td> | |
| </tr> | |
| <tr> | |
| <td>Author and shepherd, both in the report's title (§07)</td> | |
| <td>The author stays inline; work that is yours is a chip, and a Mine queue collects it</td> | |
| <td>Every report read <span class="mono">Airflow [Bolke de Bruin / Kanchana]</span> - two people in a bracket, one of them a review assignment that means nothing to anyone but the shepherd. The book's own test says a value true of nearly every row is a column, not a chip; "this one is mine" is true of a handful, which is what a chip is for. One predicate in the model, so the chip and the queue cannot disagree: a report you wrote or shepherd, or an action item assigned to you.</td> | |
| </tr> | |
| <tr> | |
| <td>Empty states, specified for panels only (§12)</td> | |
| <td>A queue that holds nothing says so, says what would put something in it, and offers the whole agenda</td> | |
| <td>The book wrote the rule for a panel and never applied it to the index, which is where it matters most: a filter that matches nothing rendered a blank page, with no way to tell an answer from a failure to load. Each queue has its own sentence, because "no reports are missing" and "you have made no notes" are different pieces of news.</td> | |
| </tr> | |
| <tr> | |
| <td>The item bar: primary action, then icons and an overflow menu (§12)</td> | |
| <td>Built, without the overflow menu: a control with an icon is the icon, one without keeps its word</td> | |
| <td>The menu was written for a control count that does not exist. Measured across every item on an agenda, the most a viewer ever sees at once is eight, of which two are switches - six buttons fit one row at 390 px. The controls without icons are the ones particular to an element type, Vote and Attendance and Timestamp, and those are the primary action the bar is meant to name.</td> | |
| </tr> | |
| <tr> | |
| <td>Rendering and acting, both in the controls (§12)</td> | |
| <td>Markdown sits at the top of the body; the bar holds only what acts on the element</td> | |
| <td>How a report is rendered is a reading preference, not an act on the agenda. It belongs with the thing it changes.</td> | |
| </tr> | |
| <tr> | |
| <td>A revision timestamp, rendered in full (§20)</td> | |
| <td>How long ago, in the largest unit that is not zero: <span class="mono">12m ago</span>, <span class="mono">5h ago</span>, <span class="mono">3d ago</span></td> | |
| <td>A timestamp answers "when", which nobody asked. The question about a revision is whether it is the one you already read, and an age answers it in four characters instead of twenty-five. Repainted when it would change - on the minute while the age is in minutes, on the hour once it is in hours - since an agenda is left open for the length of a meeting. The exact time is in the popover; a date that stands inside a popover trigger takes no title, since the browser would draw its own tooltip beside it.</td> | |
| </tr> | |
| <tr> | |
| <td>The age's exact time, said the way a list of revisions says it (§07, §20)</td> | |
| <td>One sentence, in the reader's own zone, in the popover and inside the link: <span class="mono">Last change r1918863 (4 Aug 2026, 10:08 GMT+2) by striker</span></td> | |
| <td>An age is four characters and says nothing about what it is the age <em>of</em>. What was meant to answer that said <span class="mono">r1918863 | striker | 2026-08-04T08:08:00+00:00</span> - three facts, no sentence, and a zone nobody reads in - and two readers asked what the time in the agenda header meant within a day of each other. A label beside it spends twelve characters of a phone's status row on something read once; a sentence in the popover spends none, and the same sentence stands inside the link where a screen reader reads it - the accessible name was "2h ago" and no more. Inside rather than over, as an <span class="mono">aria-label</span>: a name that replaces the visible text stops the control answering to the words written on it (WCAG 2.5.3), and the words written on this one are an age that repaints itself. The popover moves from the date to the link around it, because <span class="mono">focus</span> reaches a link and reaches nothing a tab stop cannot land on.</td> | |
| </tr> | |
| <tr> | |
| <td>Status items, in no stated order (§12)</td> | |
| <td>Right to left by how much each asks of you: offline, pending, who else is here, then the link out. Anything with nothing to say is absent</td> | |
| <td>The row was ordered as it was written. "nothing staged" stated that nothing had happened, which is not status; a count of zero people is. On a phone the words clip to symbol and count, as chip words already did.</td> | |
| </tr> | |
| <tr> | |
| <td>The drawer trigger, unplaced (§18)</td> | |
| <td>In the page head, beside the title</td> | |
| <td>Alone it took a row of its own: 48 px of an 844 px screen to carry one 40 px button, with the rest of that row permanently empty. The head is sticky below the drawer breakpoint, so the trigger stays reachable without spending a row on it.</td> | |
| </tr> | |
| <tr> | |
| <td>A queue is a mode, held in memory (§16)</td> | |
| <td>A queue is a view with an address: <code>#queue/flagged</code>, and <code>#queue/flagged/expanded</code> when its detail is showing</td> | |
| <td>Retiring the tabs took the addresses with them. <code>#flagged-reports</code> and <code>#commented-reports</code> were links people held in bookmarks and mail, and they led to a view that no longer rendered - a blank page rather than a redirect. Those anchors now resolve to the queue that replaced them and rewrite themselves to its address. Naming a queue in the url also makes one shareable, which the tabs allowed and the queue model had quietly dropped.</td> | |
| </tr> | |
| <tr> | |
| <td>Queues listed in no stated order (§16)</td> | |
| <td>Ordered by how much of a director's attention each is asking for</td> | |
| <td>Order did not matter while every queue was on screen. Once only the first few are, it decides what a director sees without asking, so it has to be a considered list rather than the order they were added in.</td> | |
| </tr> | |
| <tr> | |
| <td>The reading switch floats over the body and costs no height (§12)</td> | |
| <td>The pane reserves its row, but only where the control exists</td> | |
| <td>It is opaque, and what is under it is the first line of the report - on 6-CF Xerces it sat on top of a sentence, which is exactly what not paying for the height was meant to avoid. An element that does not offer the control still starts at the top.</td> | |
| </tr> | |
| <tr> | |
| <td>A chip is icon + count + word (§08)</td> | |
| <td>The word is clipped below the medium breakpoint, and restored at every width in Large</td> | |
| <td>The book had no responsive rule for the chip at all. Clipping rather than removing keeps the word in the accessible name, and the icon is the second carrier that makes it safe.</td> | |
| </tr> | |
| <tr> | |
| <td>Nothing at all about the card (§12)</td> | |
| <td>A card header is Label type on a plate ground</td> | |
| <td>The book specified the header row of a list and of a table and never the card, which is the container both of those sit inside and the most-used surface in the product. Unspecified, it kept body type in the display face at regular weight: 41 px to carry the word <em>Controls</em>, reading as neither heading nor label. The rule it should always have had is the one already written for the list header.</td> | |
| </tr> | |
| <tr> | |
| <td>A card header is Label type (the row above)</td> | |
| <td>And so is a heading inside one, which is where the rule went unenforced for fifteen headers</td> | |
| <td>Written for the header, the rule reached the headers holding bare text and stopped at the ones holding an <code><h2></code> or an <code><h4></code>, which set their own size over it: 36 px to carry the word <em>Connected</em>, against the 23 the same word costs on the card beside it. It was invisible for as long as it was, because the test that measured a card header measured one card, on one page, inside a tab pane that was mounted and hidden — so <code>getBoundingClientRect()</code> returned zero and every height passed. Building a pane only when its fragment asks for it (§20) made the card real and the measurement with it. The heading keeps its level, because that is the document outline's to decide; what it gives up is deciding its own size. #705.</td> | |
| </tr> | |
| <tr> | |
| <td>The switch, specified by behaviour only (§12)</td> | |
| <td>Label in UI type, knob and label centred by flex</td> | |
| <td>Saying where the label goes and not what size it is left it at the body default: 16 px beside 14 px buttons, with the two centres 2 px apart because Bootstrap places the input with a float and a negative margin. Both were visible to the eye before they were measured.</td> | |
| </tr> | |
| <tr> | |
| <td>Self-host the two faces (§03)</td> | |
| <td>Referenced from <span class="mono">www.apache.org</span></td> | |
| <td>Vendoring OFL-licensed binaries brings NOTICE obligations into an ASF repository. For a Foundation tool the ASF's own host is first party, and both stylesheets declare <code>font-display: swap</code>, so nothing blocks on them.</td> | |
| </tr> | |
| <tr> | |
| <td>Delete, in the row of controls (§12)</td> | |
| <td>In the dialog that edits the element, behind a second click, and honest about what it costs</td> | |
| <td>It was the one control in that row that clicking again does not take back - filled red, and on a phone a thumb's width from <em>Read</em>. Deleting an agenda item is rare, and every element that can be deleted but one has a dialog that edits it, so that is where it goes; the minutes of a previous meeting have no such dialog and keep it in the row. Two things were wrong beyond the placement. A delete that had worked reported a failure: the endpoint answers 200 with an empty body and the client read that as json, so every successful delete raised <span class="mono">Unexpected end of JSON input</span> and left the page pointing at an element that no longer existed. And the confirmation says <em>you can revert it until the agenda is committed</em>, which is true - a delete is staged like any other change - rather than borrowing the finality of a warning it has not earned.</td> | |
| </tr> | |
| <tr> | |
| <td>A key printed in the queue menu, and nowhere else (§16)</td> | |
| <td>One treatment for a key you can press, wherever it appears</td> | |
| <td>The menu's keys had a style of their own, named for the menu; the <span class="mono">esc</span> in an element's footer has no style at all and takes Bootstrap's dark <code>kbd</code>. Now that a key is printed in three places - the menu, the preferences dialog and the marker on a report showing source - it is one class, so a reader learns the shape once. The footer's <span class="mono">esc</span> is still Bootstrap's and is now the odd one out; that is a separate change to a control this one does not touch.</td> | |
| </tr> | |
| <tr> | |
| <td>The queue menu: name, keystroke and count in three columns (§16)</td> | |
| <td>Four. The mark each queue's meaning already wears, then the three</td> | |
| <td>Nine of the twelve glyphs are borrowed from where that meaning already appears - the flag on a flagged row and on the button that sets it, the bell on a board issue, the thumb on Approve - so the menu is read by shape before it is read by word, and no queue invents a mark of its own. Three are new, because their meaning has no glyph anywhere yet: the whole list, a special order, and the presentation order. That last one was the play circle for a while, which is the Present mode's own glyph two controls away - a mode you enter to drive a meeting is not the order the meeting runs in, so it is a stack with a play on it now. The keys were sized by their own letters, so <span class="mono">n m</span> was a wider box than <span class="mono">n n</span> and each began at a slightly different x: a column of keys that was not a column. Each of the four is a grid column now, so a glyph of a different width cannot shift the name beside it.</td> | |
| </tr> | |
| <tr> | |
| <td>One text-safe variant, the orange's (§02)</td> | |
| <td>Two: <code>--flag-text</code> and <code>--gold-text</code></td> | |
| <td>The amber is 1.9:1 on white, worse than the orange the exception was written for, and the awaiting chip is where its words are set. It had been setting them in a hex of its own, <span class="mono">#8A6003</span> - in the product and in this page's own stylesheet, both. Which is the shape of the problem the dark theme found everywhere: a colour that is not a token is a colour with one theme's answer baked into it. The chip borders were eight alpha values of hues written out long, the count on a chosen queue was 75% white rather than 75% of the ground the fill covered, and the six hover and active shades of the three filled button variants were hand-picked darker hexes. Each is now derived from the token, so it follows the token into the other theme.</td> | |
| </tr> | |
| <tr> | |
| <td>A <span class="mono">draft</span> chip on a resolution, a pencil, among the states that are not settled yet (§08)</td> | |
| <td><span class="mono">meeting only</span>, the envelope struck through: the resolution is excluded from action without a meeting</td> | |
| <td>The state never said anything about the wording. All it does is keep the resolution from being put to the board by mail and consented to in writing (Bylaws 5.12), so it goes to the meeting; a resolution so marked is voted on there like any other. Called a draft, it read as unfinished. The checkbox says <em>Excluded from action without a meeting</em>, and the chip says where the resolution is decided instead. The agenda file keeps its <code>draft: yes</code> line. The calendar was not used because it is already the <span class="mono">special meeting</span> chip.</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <h3>Additions</h3> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>Not in the book</th><th>What it is</th><th>Why</th></tr></thead> | |
| <tbody> | |
| <tr> | |
| <td>Sticky said of the item bar only, and nothing about where any of the moves between index and item land (§12)</td> | |
| <td>The index's controls row pins in the same place and on the same surface, and one rule governs every move between the two: <strong>the page moves only when the reader has been taken away from what they were on</strong></td> | |
| <td>The book had already made the two one row - the queue control at the same x and within a pixel of the same y in either view - and then gave only one of them the pin, so the row a reader works from stays put inside an item and scrolls away on the index. What happens on the way in and out followed from the address rather than from a decision, and an address decides badly: a queue's address names no place in it, so leaving lands on the top of the page or at whatever offset the report ended at, and entering runs a fragment navigation, which the universal <code>scroll-margin-top</code> lands 98 px down a page that was already showing the item. The rule replaces all of it. Leaving brings the row you came from under the bar when it is not already on screen, whole and clear of it, and moves nothing when it is - a row a few hundred pixels down the index is one the reader can see, and fetching it to the bar scrolls the meeting's own heading off the top. Entering or stepping brings the element's head to the ribbon when it is above the window, and moves nothing when the whole element is already on screen. Below 992 px the page head holds the top instead, the same trade the item bar already makes, and the row clears the head rather than the bar. The one case the rule cannot be kept: an open item carries a viewport of tail so its head can always reach the top, the index carries none, so the last row of a twenty-row queue comes to rest where the end of the page leaves it - on a queue that short, on screen anyway.</td> | |
| </tr> | |
| <tr> | |
| <td>What remains, said only in the switcher</td> | |
| <td>The open element carries it too: the queue you are stepping and how many are left, linking back to the list</td> | |
| <td>The book asked for a countdown (§07, §12) and the item bar shipped without one, so an element opened from a queue said neither which queue the arrow keys were stepping nor that there was an end to it. It is absent on All, which is not a queue being worked through.</td> | |
| </tr> | |
| <tr> | |
| <td>A controls row and an item bar, both on screen with an element open (§12, §16)</td> | |
| <td>Three rows, each with one job - the row you work from, what this element is, who answers for it and what is true of it - and only the first one sticky. It is the controls row: the same queue control, at the same coordinates, plus the arrows and everything that acts on the element</td> | |
| <td>The index is not on screen while an element is, so the row above it had nothing to filter and no rows to expand - two tiers of chrome above the thing you came to read. Merging them into <em>one</em> flex row was the next mistake: a row that wraps has no defined states, and on 6-CF Xerces at 1280 px it produced orphan arrows, chips and controls wrapping to the left, and no two elements looking alike. Three rows with fixed jobs are 49 / 40 / 39 px at every width from 390 to 2400. The controls row is <em>first</em>, above the element's own title, and sticky: it is the row that does not change between the index and an element, and putting it under the title would have moved it down by one. It is measured - the control is at the same x and within a pixel of the same y in both views, at 1440, 1280 and 390, which is also why it has to be a fixed width (§16, #574), why Expand now follows it rather than leading the index row (89 px of sideways shift), and why the index row carries the same inset an element's first row gets from its card. Stepping leads and the actions trail, so <em>Next</em> and <em>Approve</em> - the two a director presses seventy-four times, one of which changes the record - are at opposite ends. The arrows are chrome, not controls: no border and no fill.</td> | |
| </tr> | |
| <tr> | |
| <td>Nothing on how the step control gives way (§18)</td> | |
| <td>It does not have to: the queue control is a fixed width and the title is on a row of its own, so nothing squeezes anything. The arrows are there at every width</td> | |
| <td>Measured on four candidate layouts at three widths before the rows were separated. While the bar was one row, the tightest width was 992-1200 px - controls still in it, aside already stacked - and something had to give: the queue's name, or else the element's title, which is the one thing the row cannot lose. Three rows removed the competition. What still does not fit at 390 px is stepping in the bottom <em>strip</em>: two 44 px targets beside six controls overflowed by 68 px when they were tried, so the chevrons stay in the bar, where they cost 28 px each.</td> | |
| </tr> | |
| <tr> | |
| <td>Previous and Next at the foot of the element (§12)</td> | |
| <td>One pair, in the bar. The foot keeps only the way out</td> | |
| <td>Two pairs of the same two actions, one of them in a place you reach only by finishing a two-thousand-pixel report - which is the wrong place for the control you press to leave before you have. The arrows are in the bar on every element, including in All, where there is no queue to count down and the agenda's own order is what you are stepping.</td> | |
| </tr> | |
| <tr> | |
| <td>Status where the title happens to end</td> | |
| <td>Status holds the trailing edge of the row, and the list has a measure</td> | |
| <td>Chips began after the author's name, so 124 rows of status stepped diagonally down the page and no eye could run down it. A measure on the list is the other half: on a 2400 px screen a trailing edge is 1500 px from the title it belongs to, which is not a column worth having either. The cap is on the list rather than the row, so a row's ground ends where its content does.</td> | |
| </tr> | |
| <tr> | |
| <td>A section heading's summary, unconditioned</td> | |
| <td>In a queue the heading counts the queue: <span class="mono">(15 of 86)</span></td> | |
| <td>“86 this month; 18 are missing” sat above fifteen rows. The summary describes the section; what is on screen is the part of it this queue holds.</td> | |
| </tr> | |
| <tr> | |
| <td>Nothing about the review order</td> | |
| <td>The one queue that is not in agenda order says so, above the list</td> | |
| <td>not-approved is sorted for review and shuffled within each group, so it runs 6-AI, 6-AW, 6-BN. Unexplained that reads as a list that failed to load in order rather than as the deliberate order it is.</td> | |
| </tr> | |
| <tr> | |
| <td>One primary per view, stated but not built (§12)</td> | |
| <td>Approve is the filled control on a report, Post on a missing one; every other control in the bar is neutral</td> | |
| <td>A director's loop is approve, next, seventy-four times, and every control in the row looked the same - the action the queue is about had the same weight as Note. Once approved the pair inverts: Unapprove is an undo, and an undo is not a primary.</td> | |
| </tr> | |
| <tr> | |
| <td>The chip's responsive rule, index only (§08)</td> | |
| <td>The item bar clips chip words below 1200 px too</td> | |
| <td>A tablet is where that bar is tightest: the controls are still in it, the aside has already stacked under the report, and four chips with their words plus six controls do not fit one line beside the title - the bar grew to three rows of a 768 px-tall screen. At Large the words come back at every width, as they do on the index.</td> | |
| </tr> | |
| <tr> | |
| <td>The Bootstrap bridge</td> | |
| <td>Every Bootstrap colour resolves to a token; components it compiles as literals are overridden by name</td> | |
| <td>Bootstrap reads its utilities from <code>--bs-*-rgb</code> at runtime but compiles hexes into <code>--bs-btn-bg</code> and friends. Without the bridge the token layer is real and invisible - which is exactly what happened for several commits.</td> | |
| </tr> | |
| <tr> | |
| <td>Retiring the tabs that were filters</td> | |
| <td>Flagged Reports, Comments, Shepherd and Personal Notes are gone; a Notes queue joins the ten, and Expand shows each row's note and comments in place</td> | |
| <td>They were the same list rendered again with their own copy of the markup. The only thing they added over the queue of the same name is the detail under each row, which is a display mode rather than a place.</td> | |
| </tr> | |
| <tr> | |
| <td>The status line</td> | |
| <td>Who is connected, what you have staged and the formatted agenda sit above the tab strip; preferences move to the sidebar</td> | |
| <td>Status is what is true now, not where you are. As tab labels carrying badges they put status inside the row that says where you are. Preferences are the reader's rather than the agenda's, so they belong beside the name on every page.</td> | |
| </tr> | |
| <tr> | |
| <td>Retiring the Summary card, the pending banner and two meta cards</td> | |
| <td>Gone</td> | |
| <td>Each restated something already on screen: the queue counts, the section headings, the pending chip, the Flagged queue, the special orders section. The banner was the fourth statement of one fact.</td> | |
| </tr> | |
| <tr> | |
| <td>The sidebar as a drawer</td> | |
| <td>Below the large breakpoint it is off-canvas behind a menu button, full width for its labels</td> | |
| <td>§18 recorded that the labels were unreachable and never said what to do. A 55px rail of clipped icons is a seventh of a phone spent on nothing.</td> | |
| </tr> | |
| <tr> | |
| <td>A Special Orders queue</td> | |
| <td>Third in the switcher; matches on the element being an order rather than on the section it sits in, and Expand shows each one's resolution in place</td> | |
| <td>Retiring the Special Orders card removed the one place a director could see them all at once, which matters most for an action without a meeting - an order raised between meetings, which they are asked to consent to and which does not sit in the Special Orders section. A queue restores that without spending a column, and matching by class rather than by section is what catches the ones raised elsewhere.</td> | |
| </tr> | |
| <tr> | |
| <td>The wordmark is not a heading</td> | |
| <td>One line, Section type, a <code>div</code> rather than an <code><h1></code></td> | |
| <td>It was a second <code><h1></code>, so the one-h1 rule held only inside <code>main</code> - which is also all the test checked. Stacked over three lines it cost 101 px to say the name of the product, and the collapse it appeared to serve never runs: the whole logo block is hidden when the sidebar collapses.</td> | |
| </tr> | |
| <tr> | |
| <td>The presentation rail is a strip, not a column</td> | |
| <td>One row on the bottom edge at every width: who is presenting, the stop they are on, a switch to follow. The order is behind a disclosure on it, in a panel that is capped and scrolls</td> | |
| <td>The column listed the whole presentation order permanently, which is the agenda's own list a second time; the one thing it added was the line naming where the presenter is, readable while you have something else open. Below 992 px it became a band across the top of the agenda with no height of its own, so a hundred stops pushed the item under discussion off the bottom of a phone — during the meeting, which is when somebody is most likely to be reading on one (#661). §18 had asked for a drawer at one width and a bottom sheet at another; one treatment at every width is fewer things to get right, and the bottom edge is where the sheet was going anyway. The stop was marked <code>text-danger</code>, which §02's exhaustive table gives to a missing report; a stop in progress is <em>go</em>. The presenter was a primary badge, which said “exception” about the one fact on that row that never is one. On a phone the name is clipped as a chip word is: only the chair or the vice chair can hold the presentation, so it is the inferable half of that row, and 390 px carrying both wraps the strip to three rows - an eighth of the screen to say who is chairing the meeting you are already attending.</td> | |
| </tr> | |
| <tr> | |
| <td>Focus must not read as state</td> | |
| <td>A switch shows state by knob position and track colour only</td> | |
| <td>Bootstrap swaps the knob to its primary colour on focus, so an unchecked switch that had just been clicked stayed blue and read as still on - reported from review, and made worse by the larger target §17 asks for.</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <h3>Where the numbers stand</h3> | |
| <div class="tbl-wrap"> | |
| <table class="spec"> | |
| <thead><tr><th>Measured</th><th class="num">Before</th><th class="num">Now</th></tr></thead> | |
| <tbody> | |
| <tr><td>Distinct type sizes</td><td class="num">9</td><td class="num">6</td></tr> | |
| <tr><td>Distinct type weights</td><td class="num">6</td><td class="num">4</td></tr> | |
| <tr><td>Button colours at the call site</td><td class="num">8</td><td class="num">4</td></tr> | |
| <tr><td>Meanings sharing one Bootstrap colour</td><td class="num">5</td><td class="num">0</td></tr> | |
| <tr><td>Pages overflowing 390 px</td><td class="num">4</td><td class="num">0</td></tr> | |
| <tr><td>Text rendered in a face nobody chose</td><td class="num">100%</td><td class="num">0%</td></tr> | |
| <tr><td><code><h1></code> on the agenda page</td><td class="num">44</td><td class="num">1</td></tr> | |
| <tr><td>Chrome above the first agenda row, on a phone</td><td class="num">428px</td><td class="num">336px</td></tr> | |
| <tr><td><code>@media print</code> rules</td><td class="num">0</td><td class="num">1 block</td></tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="note"> | |
| <strong>Still open.</strong> Update | |
| Directors & Officers should appear only when <code>detect_roster_changes</code> | |
| finds some, which needs that signal exposed to the client. And the Start Meeting, | |
| Present and Follow flow has not been looked at as a whole. | |
| </div> | |
| <div class="note"> | |
| <strong>Since closed.</strong> Secretary actions were post-meeting work that a meeting | |
| triggers rather than a view of one, read a tab at a time. They are | |
| <code>/secretary</code> now: every meeting that still owes something, newest first, | |
| its checklist under its date, and the meeting gone from the page when its last line is | |
| done - so an empty page is the answer rather than the absence of one. What decides | |
| whether a meeting is on it is not the same question as whether the next agenda may be | |
| built: a resolution parked for manual follow-up does not hold up an agenda, because | |
| waiting will never finish it, and it is squarely still the secretary's to do. | |
| The meeting's own checklist stays on its agenda at | |
| <span class="mono">#secretary-actions</span>, which is where the links in mail and | |
| bookmarks point. | |
| And with it moved, the tab strip had nothing left to switch between: it is gone rather | |
| than drawn with one tab in it. That row cost <strong>42 px</strong>, and it cost 42 | |
| at every width - measured to the top of the first agenda row on the fixture agenda as | |
| the chair, at 390, 834 and 1280 px, by | |
| <span class="mono">e2e/tests/agenda-chrome.spec.ts</span>. A flat cost, which means the | |
| screen with the least room to spare paid the same as the one with the most: on a phone | |
| it is most of an agenda row. It was drawn only for the secretary, the chair and an | |
| admin, since nobody else had a second tab to switch to - so it is those three who get | |
| the row back. | |
| Four views still answer to a fragment - the checklist, presentation order, pending | |
| changes and the meeting - each reached from something that names it. #564. | |
| </div> | |
| <div class="note"> | |
| <strong>And then the checklist itself.</strong> The page was right and the rows in it were | |
| not. Every line was an <code><h3></code> in a filled grey bar in the monospace face, | |
| carrying a navy <span class="mono">needs action</span> badge - so a checklist of twelve was | |
| twelve headings at the level of the four group headings above them, prose typeset as if it | |
| were a diff, and a chip on a value true of nearly every row, which is the rule in §08 | |
| read backwards. What replaced all three is one column. The rows are a list; the state moved | |
| into a <strong>gutter</strong> that holds a tick box where the work is BAT's to do, a filled | |
| check where it is recorded done, and nothing at all where the line is not the tool's to do - | |
| those rows carry their own control instead. An empty gutter rather than a hollow ring, which | |
| read as an unselected radio button: a control, which is exactly what it is not. The gutter is | |
| a grid column rather than the first item in a flex row, so the marks stay in one line down the | |
| card however far the words wrap, which on a tablet is two and three lines a row. | |
| The controls went to the rows they belong to. Drafting the summary and the minutes, and | |
| putting a special meeting's minutes to the next agenda, are not what the primary carries out, | |
| and they stood in the footer under a button that does something else - so the row that says | |
| the work now holds the control that does it, and the primary is the only thing left there. It | |
| says what it does and to how much: <span class="mono">Carry out 5 actions</span>, counted from | |
| the ticks, where <span class="mono">Apply</span> named no consequence and read a flag the | |
| server sent once. Clearing every tick left that button live, and pressing it wrote nothing and | |
| reported success. | |
| Three things went, none of them information: the <span class="mono">Info</span> group, which | |
| was three revision logs drawn in the shape of a task with no state on them and repeated once | |
| per meeting outstanding, and which is now one labelled row of links for the page; the | |
| <span class="mono">General</span> heading, which named nothing and on a meeting that decided | |
| no resolutions was one heading over the whole card; and three of the card's four primary | |
| buttons, since only the one the card exists for is a primary (§12). | |
| The cards themselves were <code>.col</code> children of one <code>.row</code>, so the page | |
| divided its width by however many meetings owed something - five of them were five columns a | |
| fifth of the page wide. They are a grid whose column count comes from the width a checklist | |
| needs. | |
| </div> | |
| <div class="note"> | |
| <strong>And the two rows under it became one.</strong> With the strip gone, what was left | |
| above the agenda was still two tiers: the queues and Expand on one row, the page-level | |
| actions - Add item, Presentation order, Update Directors & Officers, Start meeting - | |
| right-aligned on another. They are at the trailing edge of the first row now, which is | |
| the row an open element's bar stands in place of, and which holds that element's own | |
| actions at the same edge. So opening one changes what the controls are about without | |
| changing where they are: measured in document space the two sit within a pixel of each | |
| other, where before they were a row apart. Nothing overflows at any width from 390 to | |
| 1920 px - the queue switcher already measures what it can fit, and it is the part | |
| that gives. | |
| <br /> | |
| Below 992 px the actions leave the row for the bottom edge, in the treatment | |
| §18 already puts an open element's controls in, and for the same two reasons: it is | |
| where a thumb reaches, and it is the screen that can least afford a row above the | |
| reading. They are icons there, on the bar's own rule (§06) - with the words in, four | |
| of them wrapped to two rows, which is the thing moving them off the top was for. The | |
| words are clipped rather than removed, so the accessible name is unchanged and Large | |
| brings them back. Chrome above the first agenda row, on a phone, over the two changes | |
| together: <strong>291 px → 167 px</strong>. | |
| </div> | |
| </section> | |
| <footer class="book"> | |
| <p> | |
| Board Agenda Tool design book. Derived from a Playwright audit of 31 rendered surfaces on | |
| agenda <span class="mono">2025-06-18</span>, as the Chair, the Secretary and a director. | |
| Companion to issue #555, which argues the agenda's behaviour; this book fixes the | |
| vocabulary that implements it. Typeset in Montserrat and Open Sans, the faces | |
| <span class="mono">www.apache.org</span> serves; palette tapped from the ASF ribbon. | |
| </p> | |
| </footer> | |
| </main> | |
| </div> | |
| </body> | |
| </html> |