@bongos/core 1.19.621 → 1.19.623
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.bongos-core.json +60 -30
- package/docs/copy-inventory.md +90 -82
- package/docs/copy-registry.json +205 -111
- package/docs/module-api-changelog.md +4 -0
- package/modules/hall-ui/public/board-room.css +83 -0
- package/modules/hall-ui/public/board-room.html +70 -0
- package/modules/hall-ui/public/board-room.js +517 -0
- package/modules/hall-ui/public/board-room.states.json +104 -0
- package/modules/hall-ui/public/government.css +10 -57
- package/modules/hall-ui/public/government.html +10 -12
- package/modules/hall-ui/public/government.js +119 -367
- package/modules/hall-ui/public/palette.js +5 -2
- package/modules/hall-ui/public/shell.js +16 -0
- package/modules/lifecycle/db-tasks.js +24 -4
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/scripts/gds/fitness-checks-vocabulary.js +7 -0
- package/scripts/gds/start.js +29 -11
- package/src/bongos/auth.js +27 -0
- package/src/bongos/serve-internal.js +21 -0
- package/src/module-api.js +1 -1
- package/tests/auth_resolve_failure.mjs +6 -5
- package/tests/cross_discipline_priority_direction.mjs +196 -0
- package/tests/government_board_hash_redirect.mjs +129 -0
- package/tests/government_board_room_copy.mjs +41 -15
- package/tests/government_board_vote_ui.mjs +5 -1
- package/tests/hall_nav.mjs +5 -1
- package/tests/hall_page_gate_map.mjs +11 -0
- package/tests/hall_palette.mjs +9 -3
- package/tests/rank_tier_single_source.mjs +8 -0
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
rebuild; the ranks / permissions / assignments surface is BV1.R111, ADR 0151,
|
|
3
3
|
the three-section IA is ADR 0175). Every panel is the shell's .scroll, every
|
|
4
4
|
row the oversight family's .ov-row (oversight.css); what lives here is what
|
|
5
|
-
only this page has — the two-panel Permissions layout, the
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
only this page has — the two-panel Permissions layout, the charter library,
|
|
6
|
+
and two names a test pins. The ?v= cache-bust is stamped from this file's
|
|
7
|
+
content hash at boot (src/asset-version.js).
|
|
8
|
+
|
|
9
|
+
The Board Room's sitting card and ballot were here until ADR 0266 gave that
|
|
10
|
+
room its own page; they live in board-room.css now. */
|
|
8
11
|
|
|
9
12
|
/* Two names tests/government_board_room_copy.mjs pins by their literal markup:
|
|
10
13
|
the panel heading and its one-line lede. They carry the shell's own voice —
|
|
@@ -38,7 +41,6 @@
|
|
|
38
41
|
/* The permission key is the machine's word and the row's title: the mono face in
|
|
39
42
|
ink, wrapping anywhere so a long key never widens the panel. */
|
|
40
43
|
.gov-perm__key { font-family: var(--font-mono); font-size: 13px; color: var(--ink); overflow-wrap: anywhere; }
|
|
41
|
-
.gov-held-note { font-size: 12.5px; color: var(--ok); white-space: nowrap; }
|
|
42
44
|
|
|
43
45
|
/* The create-rank form sits under the rank list behind one full rule, with its
|
|
44
46
|
own heading in the label voice — a sub-form, not a second panel. */
|
|
@@ -54,59 +56,10 @@
|
|
|
54
56
|
color: var(--ink);
|
|
55
57
|
}
|
|
56
58
|
|
|
57
|
-
/* ---- the Board Room:
|
|
58
|
-
The card
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
constitutional apparatus stays one disclosure away with the tally on its summary. */
|
|
62
|
-
.gov-item__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
|
|
63
|
-
.gov-item__title {
|
|
64
|
-
margin: 0 0 8px;
|
|
65
|
-
min-width: 0;
|
|
66
|
-
font-family: var(--font-display);
|
|
67
|
-
font-weight: 300;
|
|
68
|
-
font-size: 21px;
|
|
69
|
-
line-height: 1.15;
|
|
70
|
-
letter-spacing: -0.03em;
|
|
71
|
-
color: var(--ink);
|
|
72
|
-
text-shadow: var(--type-halo);
|
|
73
|
-
overflow-wrap: anywhere;
|
|
74
|
-
}
|
|
75
|
-
.gov-item__title a { color: inherit; text-decoration: none; }
|
|
76
|
-
.gov-item__title a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
|
|
77
|
-
.gov-item__title .fact-pill { vertical-align: middle; margin-left: 10px; text-shadow: none; }
|
|
78
|
-
.gov-item__state { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
|
|
79
|
-
.gov-item__amend { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); max-width: var(--measure); overflow-wrap: anywhere; }
|
|
80
|
-
.gov-item__act { margin: 8px 0 4px; }
|
|
81
|
-
.gov-item__cast { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
|
|
82
|
-
.gov-item__meta { margin: var(--sp-sm) 0 0; border-top: var(--line) solid var(--rule-soft); }
|
|
83
|
-
.gov-item__summary { padding: 12px 0 0; min-height: 24px; cursor: pointer; font-size: 12.5px; color: var(--ink-soft); list-style-position: inside; }
|
|
84
|
-
.gov-item__summary:hover { color: var(--ink); }
|
|
85
|
-
.gov-item__metabody { padding: 12px 0 0; }
|
|
86
|
-
.gov-item__metabody .gov-grid-note { margin: 0 0 8px; }
|
|
87
|
-
.gov-item__metabody .gov-grid-note:last-child { margin-bottom: 0; }
|
|
88
|
-
.gov-item__metabody .ov-rows { margin-top: 12px; }
|
|
89
|
-
/* The head over the closed sittings sits on the ground between panels, so it
|
|
90
|
-
carries the air a panel would. */
|
|
91
|
-
.gov-board__divider { margin: var(--sp-md) 0 var(--sp-sm); }
|
|
92
|
-
|
|
93
|
-
/* ---- the ballot controls ------------------------------------------------------ */
|
|
94
|
-
/* The two ballot controls sit on one row; the objection disclosure takes the
|
|
95
|
-
whole row only once it is open, so its form drops under both buttons. */
|
|
96
|
-
.gov-vote { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
|
|
97
|
-
.gov-vote > .gov-grid-note { flex: 1 1 100%; margin: 0; }
|
|
98
|
-
.gov-vote__no { flex: 0 1 auto; }
|
|
99
|
-
.gov-vote__no[open] { flex: 1 1 100%; }
|
|
100
|
-
/* The disclosure IS the secondary button, so its marker must go — otherwise the
|
|
101
|
-
triangle sits inside the pill. */
|
|
102
|
-
.gov-vote__no > summary { display: inline-flex; cursor: pointer; }
|
|
103
|
-
.gov-vote__no > summary::marker { content: ''; }
|
|
104
|
-
.gov-vote__no > summary::-webkit-details-marker { display: none; }
|
|
105
|
-
.gov-vote__no > *:not(summary) { margin-top: 10px; }
|
|
106
|
-
.gov-vote__no textarea { display: block; width: 100%; max-width: var(--measure); box-sizing: border-box; }
|
|
107
|
-
.gov-vote__sections { display: flex; flex-wrap: wrap; gap: 6px 16px; }
|
|
108
|
-
.gov-vote__section { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; font-size: 13px; color: var(--ink); cursor: pointer; }
|
|
109
|
-
.gov-vote__section input { width: 16px; height: 16px; margin: 0; }
|
|
59
|
+
/* ---- the Board Room: MOVED OUT to board-room.css (ADR 0266) ----------------
|
|
60
|
+
The sitting card, the ballot controls and `.gov-held-note` went with the room
|
|
61
|
+
when it became its own page. Nothing on THIS page renders them, so they are
|
|
62
|
+
not kept here "just in case" — board-room.css is where they live. */
|
|
110
63
|
|
|
111
64
|
/* ---- the charter library ------------------------------------------------------- */
|
|
112
65
|
/* The configuration line under a charter: what an owner would type, in the
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
</section>
|
|
39
39
|
|
|
40
40
|
<section id="gov-body" hidden>
|
|
41
|
-
<!-- The
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
<!-- The IA (R15 of goal 1000069, ADR 0175): the page that answers "how
|
|
42
|
+
is this project governed". Tabs are OTBKit.makeTabs (the work.js
|
|
43
|
+
idiom) with hash deep links — #constitution, #ranks. TWO rooms
|
|
44
|
+
since ADR 0266, not three: the Board Room is its own page. -->
|
|
45
45
|
<div id="gov-tabs"></div>
|
|
46
46
|
|
|
47
47
|
<!-- §1 Constitution — what this project runs. The live view is the
|
|
@@ -58,14 +58,12 @@
|
|
|
58
58
|
<div id="gov-constitution"></div>
|
|
59
59
|
</section>
|
|
60
60
|
|
|
61
|
-
<!-- §2 Board Room —
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
<div id="gov-board"><span class="kit-skel"></span></div>
|
|
68
|
-
</section>
|
|
61
|
+
<!-- §2 Board Room — MOVED OUT to /board-room (ADR 0266). It was this
|
|
62
|
+
page's #board-room tab; it is now its own page, gated on the
|
|
63
|
+
`board.vote.cast` atom instead of this page's floor, so the room's
|
|
64
|
+
reach equals the right to vote. government.js redirects the old
|
|
65
|
+
#board-room hash there — a fragment never reaches the server, so
|
|
66
|
+
that carry-across has to be client-side. -->
|
|
69
67
|
|
|
70
68
|
<!-- §3 Permissions — the administration surface: the rank list and the
|
|
71
69
|
permission grid side by side as two panels, then assignments and
|