Hub: vote for roadmap items, report a bug and suggest something from the page

Each item still to come gets a "Want it" button with its count; the Contribute
tab gets a bug report form (the #horizon-bugs template, which the telemetry
server opens as a GitHub issue and links back) and a suggestion form (to the
private queue Kira relays), and a Contributors list that shows the Discord name
of those who agreed on Kira (/contributors.json). The forms and buttons appear
once the hub's server answers; until then the page points to GitHub and Discord.
roadmap/README.md documents the intake API that Kira shares.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-25 16:14:12 +01:00
parent e458e37249
commit c1ffa17c87
9 changed files with 293 additions and 11 deletions
+24 -1
View File
@@ -645,7 +645,7 @@ code { border-radius: 0; background: var(--well); box-shadow: 0 0 0 1px var(--ou
/* Releases: a filter, then every release as a panel that opens. */
.release-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.release-filter .button[aria-pressed="true"], .hub-detail .button[aria-pressed="true"] { background: var(--face); color: var(--on-face); box-shadow: inset 0 var(--block-bevel) 0 var(--face-bevel), inset 0 calc(-1 * var(--block-lip)) 0 var(--face-lip); }
.release-filter .button[aria-pressed="true"], .hub-detail .button[aria-pressed="true"], .button.hub-vote[aria-pressed="true"] { background: var(--face); color: var(--on-face); box-shadow: inset 0 var(--block-bevel) 0 var(--face-bevel), inset 0 calc(-1 * var(--block-lip)) 0 var(--face-lip); }
.release-count { margin: 16px 0 12px; }
.release-list { display: grid; gap: 8px; }
.release-list .release + .release { margin-top: 0; }
@@ -826,3 +826,26 @@ code { border-radius: 0; background: var(--well); box-shadow: 0 0 0 1px var(--ou
.hub-rows .row > a { grid-template-columns: var(--index) minmax(0, 1fr); }
.hub-rows .row-meta { grid-column: 2; text-align: left; }
}
/* --- Hub: votes, the report and suggestion forms, the contributors ---------------------- */
.hub-vote { margin-left: auto; }
.hub-vote-count { margin-left: -2px; }
.hub-vote-count:empty { display: none; }
.hub-form { display: grid; gap: 16px; max-width: 46rem; margin-top: 8px; }
.hub-form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hub-field { display: grid; gap: 6px; font-size: var(--text-label); color: var(--ink-soft); }
.hub-field input, .hub-field textarea, .hub-field select {
width: 100%; min-height: 36px; padding: 8px 10px; font: var(--text-ui) / 1.4 var(--font); color: var(--ink);
background: var(--well); border: 0; box-shadow: 0 0 0 var(--block-outline) var(--outline);
}
.hub-field textarea { resize: vertical; }
.hub-field input:focus-visible, .hub-field textarea:focus-visible, .hub-field select:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
.hub-field input::placeholder, .hub-field textarea::placeholder { color: var(--muted); }
.hub-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hub-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.hub-form-foot [data-status] { color: var(--ink); }
.hub-form-foot .button:disabled { opacity: 0.4; cursor: default; }
.hub-form-closed { color: var(--ink-soft); }
@media (max-width: 720px) {
.hub-form-pair { grid-template-columns: minmax(0, 1fr); }
}