Overzicht: smalle kolom stapelt en wrapt bruikbaar
Als de centrale kolom te smal wordt (sidebar plus smalle grafiek op 1024 of 1280px) valt Project information onder de inhoud, via een container query op de echte kolombreedte. De laatste-commit-balk wrapt (onderwerp en meta, daarna pipeline/sha/Copy/History), de branchrij blijft op één regel, en de bestandstabel toont alle drie de kolommen met ellipsis. Op een brede kolom (1920px) blijft de twee-koloms lay-out. Geen inline styles (CSP).
@@ -11,7 +11,7 @@ Het logo is de blauwe ster: [`assets/logo.svg`](assets/logo.svg).
11
11
## Wat het doet
12
12
13
13
- Repositories van een gebruiker of een groep, met bestanden, commits, branches, tags en releases.
14
- Op de project-overzichtspagina staat een commitgrafiek links van de centrale kolom, als er plek is. Elke commit staat op één regel; de lijnen lopen in verticale lanes met afgeronde 90-graden bochten, en de avatar is de commitknoop. De tekst begint in één kolom, rechts van de meest rechtse lane. Elke avatar staat in de SVG op de lane van die commit (niet via inline CSS: de CSP staat geen style-attributen toe). De grafiek wordt niet verkleind; te lange committekst krijgt een ellipsis. Past de volle grafiek (met tekstkolom) niet, dan verschijnt een smalle modus: dezelfde lanes, avatars en labels, maar zonder committekst; bij hover (of focus) toont een tooltip het bericht. In die modus valt van een branchnaam alles t/m de laatste '/' weg (de volledige naam blijft in de tooltip). Alleen als ook de smalle modus niet past, zoals op mobiel, blijft de grafiek verborgen. De lijn van de in de dropdown gekozen branch gloeit. De hoofdbranch gebruikt de BlueGit-blauw; andere branches krijgen een vaste kleur uit hun naam. De grafiek wordt in het geheugen bewaard (LRU) en bij een push ververst, zodat herhaald laden geen git-I/O op schijf doet.
14
- Op de project-overzichtspagina staat een commitgrafiek links van de centrale kolom, als er plek is. Elke commit staat op één regel; de lijnen lopen in verticale lanes met afgeronde 90-graden bochten, en de avatar is de commitknoop. De tekst begint in één kolom, rechts van de meest rechtse lane. Elke avatar staat in de SVG op de lane van die commit (niet via inline CSS: de CSP staat geen style-attributen toe). De grafiek wordt niet verkleind; te lange committekst krijgt een ellipsis. Past de volle grafiek (met tekstkolom) niet, dan verschijnt een smalle modus: dezelfde lanes, avatars en labels, maar zonder committekst; bij hover (of focus) toont een tooltip het bericht. In die modus valt van een branchnaam alles t/m de laatste '/' weg (de volledige naam blijft in de tooltip). Alleen als ook de smalle modus niet past, zoals op mobiel, blijft de grafiek verborgen. Wordt de centrale kolom te smal (sidebar plus smalle grafiek, rond 1024–1280px), dan schuift Project information onder de inhoud; de laatste-commit-balk wrapt, de branchrij blijft op één regel en de bestandstabel toont alle drie de kolommen met ellipsis. Op een brede kolom (zoals 1920px) blijft de twee-koloms lay-out. De lijn van de in de dropdown gekozen branch gloeit. De hoofdbranch gebruikt de BlueGit-blauw; andere branches krijgen een vaste kleur uit hun naam. De grafiek wordt in het geheugen bewaard (LRU) en bij een push ververst, zodat herhaald laden geen git-I/O op schijf doet.
15
15
- Merge requests met reviews, squash en het verwijderen van de bronbranch na een merge.
16
16
- Issues, met beschrijvingssjablonen in `.bluegit/issue_templates`. Merge requests gebruiken `.bluegit/merge_request_templates`. `Default.md` vult een lege beschrijving. Dezelfde namen onder `.gitlab/` zijn een terugval.
17
17
- Een ingebouwde CI-runner, Steve. Het bestand is `blue-ci-cd.yml`. Elke job draait in een eigen container. `image: bluegit/base` en de andere aliassen zijn image-presets die Steve lokaal bouwt.
@@ -11,7 +11,7 @@ Het logo is de blauwe ster: [`assets/logo.svg`](assets/logo.svg).11
## Wat het doet11
## Wat het doet12
12
13
- Repositories van een gebruiker of een groep, met bestanden, commits, branches, tags en releases.13
- Repositories van een gebruiker of een groep, met bestanden, commits, branches, tags en releases.14
- Op de project-overzichtspagina staat een commitgrafiek links van de centrale kolom, als er plek is. Elke commit staat op één regel; de lijnen lopen in verticale lanes met afgeronde 90-graden bochten, en de avatar is de commitknoop. De tekst begint in één kolom, rechts van de meest rechtse lane. Elke avatar staat in de SVG op de lane van die commit (niet via inline CSS: de CSP staat geen style-attributen toe). De grafiek wordt niet verkleind; te lange committekst krijgt een ellipsis. Past de volle grafiek (met tekstkolom) niet, dan verschijnt een smalle modus: dezelfde lanes, avatars en labels, maar zonder committekst; bij hover (of focus) toont een tooltip het bericht. In die modus valt van een branchnaam alles t/m de laatste '/' weg (de volledige naam blijft in de tooltip). Alleen als ook de smalle modus niet past, zoals op mobiel, blijft de grafiek verborgen. De lijn van de in de dropdown gekozen branch gloeit. De hoofdbranch gebruikt de BlueGit-blauw; andere branches krijgen een vaste kleur uit hun naam. De grafiek wordt in het geheugen bewaard (LRU) en bij een push ververst, zodat herhaald laden geen git-I/O op schijf doet.14
- Op de project-overzichtspagina staat een commitgrafiek links van de centrale kolom, als er plek is. Elke commit staat op één regel; de lijnen lopen in verticale lanes met afgeronde 90-graden bochten, en de avatar is de commitknoop. De tekst begint in één kolom, rechts van de meest rechtse lane. Elke avatar staat in de SVG op de lane van die commit (niet via inline CSS: de CSP staat geen style-attributen toe). De grafiek wordt niet verkleind; te lange committekst krijgt een ellipsis. Past de volle grafiek (met tekstkolom) niet, dan verschijnt een smalle modus: dezelfde lanes, avatars en labels, maar zonder committekst; bij hover (of focus) toont een tooltip het bericht. In die modus valt van een branchnaam alles t/m de laatste '/' weg (de volledige naam blijft in de tooltip). Alleen als ook de smalle modus niet past, zoals op mobiel, blijft de grafiek verborgen. Wordt de centrale kolom te smal (sidebar plus smalle grafiek, rond 1024–1280px), dan schuift Project information onder de inhoud; de laatste-commit-balk wrapt, de branchrij blijft op één regel en de bestandstabel toont alle drie de kolommen met ellipsis. Op een brede kolom (zoals 1920px) blijft de twee-koloms lay-out. De lijn van de in de dropdown gekozen branch gloeit. De hoofdbranch gebruikt de BlueGit-blauw; andere branches krijgen een vaste kleur uit hun naam. De grafiek wordt in het geheugen bewaard (LRU) en bij een push ververst, zodat herhaald laden geen git-I/O op schijf doet.15
- Merge requests met reviews, squash en het verwijderen van de bronbranch na een merge.15
- Merge requests met reviews, squash en het verwijderen van de bronbranch na een merge.16
- Issues, met beschrijvingssjablonen in `.bluegit/issue_templates`. Merge requests gebruiken `.bluegit/merge_request_templates`. `Default.md` vult een lege beschrijving. Dezelfde namen onder `.gitlab/` zijn een terugval.16
- Issues, met beschrijvingssjablonen in `.bluegit/issue_templates`. Merge requests gebruiken `.bluegit/merge_request_templates`. `Default.md` vult een lege beschrijving. Dezelfde namen onder `.gitlab/` zijn een terugval.17
- Een ingebouwde CI-runner, Steve. Het bestand is `blue-ci-cd.yml`. Elke job draait in een eigen container. `image: bluegit/base` en de andere aliassen zijn image-presets die Steve lokaal bouwt.17
- Een ingebouwde CI-runner, Steve. Het bestand is `blue-ci-cd.yml`. Elke job draait in een eigen container. `image: bluegit/base` en de andere aliassen zijn image-presets die Steve lokaal bouwt.@@ -95,6 +95,6 @@ Webhooks gaan niet naar een privénetwerk. De classificatie staat in `internal/s
95
95
96
96
## Commitgrafiek
97
97
98
De project-overzichtspagina toont een commitgrafiek links van de centrale kolom, als die ruimte breed genoeg is. Elke commit staat op één regel. Lijnen lopen in verticale lanes en buigen met afgeronde 90-graden hoeken naar een andere lane. De avatar van de auteur is de commitknoop, op de lane. De committekst staat in één linkse kolom die begint net rechts van de meest rechtse lane. Elke avatar staat in de SVG op de lane-x van die commit (`<image>` met `clipPath`, of een cirkel plus initiaal), in hetzelfde coördinatenstelsel als de lijnen. Er worden geen inline style-attributen gebruikt: `Content-Security-Policy` heeft `style-src 'self'` zonder `'unsafe-inline'`, dus paneelmaten komen uit stylesheet-klassen `.lanes-1` t/m `.lanes-40`. De lanes en het SVG worden niet geschaald (geen viewBox). De tekstkolom begint altijd rechts van de meest rechtse lane en kapt af met een ellipsis. Op brede schermen (~1400px met sidebar, of ~1160px zonder) staat de tekstkolom rechts van de meest rechtse lane. Daaronder, tot aan mobiel, is er een smalle modus zonder tekstkolom (`--graph-narrow-w`, refs + lanes): de hoofdkolom krijgt die ruimte terug. Bij hover of focus verschijnt een tooltip met onderwerp, korte sha en auteur (`data-tip` + stylesheet `::after`, plus een SVG `<title>`). In de smalle modus toont een branchlabel alleen het deel na de laatste '/' (`LeafLabel`); de volledige naam staat in `title`. Alleen op smalle (mobiele) viewports blijft de grafiek verborgen. Stylesheets en scripts worden met Cache-Control: no-cache gegeven, zodat een self-update geen oude CSS over de nieuwe tekening legt. De lane van de in de branch-dropdown gekozen branch gloeit (client-side, zonder extra request). De hoofdbranch is altijd `--blue`. Andere branches krijgen een deterministische kleur uit een palet van CSS-variabelen, op basis van de branchnaam.
98
De project-overzichtspagina toont een commitgrafiek links van de centrale kolom, als die ruimte breed genoeg is. Elke commit staat op één regel. Lijnen lopen in verticale lanes en buigen met afgeronde 90-graden hoeken naar een andere lane. De avatar van de auteur is de commitknoop, op de lane. De committekst staat in één linkse kolom die begint net rechts van de meest rechtse lane. Elke avatar staat in de SVG op de lane-x van die commit (`<image>` met `clipPath`, of een cirkel plus initiaal), in hetzelfde coördinatenstelsel als de lijnen. Er worden geen inline style-attributen gebruikt: `Content-Security-Policy` heeft `style-src 'self'` zonder `'unsafe-inline'`, dus paneelmaten komen uit stylesheet-klassen `.lanes-1` t/m `.lanes-40`. De lanes en het SVG worden niet geschaald (geen viewBox). De tekstkolom begint altijd rechts van de meest rechtse lane en kapt af met een ellipsis. Op brede schermen (~1400px met sidebar, of ~1160px zonder) staat de tekstkolom rechts van de meest rechtse lane. Daaronder, tot aan mobiel, is er een smalle modus zonder tekstkolom (`--graph-narrow-w`, refs + lanes): de hoofdkolom krijgt die ruimte terug. Bij hover of focus verschijnt een tooltip met onderwerp, korte sha en auteur (`data-tip` + stylesheet `::after`, plus een SVG `<title>`). In de smalle modus toont een branchlabel alleen het deel na de laatste '/' (`LeafLabel`); de volledige naam staat in `title`. Alleen op smalle (mobiele) viewports blijft de grafiek verborgen. De overzichtskolom (`main`, container `overview`) gebruikt een container query: als de kolom smaller is dan 900px (typisch bij sidebar plus smalle grafiek op 1024 of 1280px) valt het blok Project information onder de inhoud. De laatste-commit-balk wrapt (onderwerp en meta op de eerste regel, pipeline/sha/Copy/History op een volgende); de branchrij (dropdown + Code) blijft op één regel; `table.files` heeft `table-layout: fixed` zodat alle drie de kolommen met ellipsis in beeld blijven. Op een brede kolom (1920px) blijft de twee-koloms lay-out. Geen inline styles (CSP). Stylesheets en scripts worden met Cache-Control: no-cache gegeven, zodat een self-update geen oude CSS over de nieuwe tekening legt. De lane van de in de branch-dropdown gekozen branch gloeit (client-side, zonder extra request). De hoofdbranch is altijd `--blue`. Andere branches krijgen een deterministische kleur uit een palet van CSS-variabelen, op basis van de branchnaam.
99
99
100
100
De gelegde grafiek (recente commits over alle branches, inclusief merges en forks) staat in een begrensde LRU-cache in het geheugen, per repository (en hoofdbranch). Een herhaalde pageview doet geen git-I/O. Bij een push wist `refsChanged` de entry en vult `refreshCache` hem op de achtergrond opnieuw. Deze cache schrijft niet naar schijf en is onafhankelijk van de optionele leescache.
@@ -95,6 +95,6 @@ Webhooks gaan niet naar een privénetwerk. De classificatie staat in `internal/s95
95
96
## Commitgrafiek96
## Commitgrafiek97
97
98
De project-overzichtspagina toont een commitgrafiek links van de centrale kolom, als die ruimte breed genoeg is. Elke commit staat op één regel. Lijnen lopen in verticale lanes en buigen met afgeronde 90-graden hoeken naar een andere lane. De avatar van de auteur is de commitknoop, op de lane. De committekst staat in één linkse kolom die begint net rechts van de meest rechtse lane. Elke avatar staat in de SVG op de lane-x van die commit (`<image>` met `clipPath`, of een cirkel plus initiaal), in hetzelfde coördinatenstelsel als de lijnen. Er worden geen inline style-attributen gebruikt: `Content-Security-Policy` heeft `style-src 'self'` zonder `'unsafe-inline'`, dus paneelmaten komen uit stylesheet-klassen `.lanes-1` t/m `.lanes-40`. De lanes en het SVG worden niet geschaald (geen viewBox). De tekstkolom begint altijd rechts van de meest rechtse lane en kapt af met een ellipsis. Op brede schermen (~1400px met sidebar, of ~1160px zonder) staat de tekstkolom rechts van de meest rechtse lane. Daaronder, tot aan mobiel, is er een smalle modus zonder tekstkolom (`--graph-narrow-w`, refs + lanes): de hoofdkolom krijgt die ruimte terug. Bij hover of focus verschijnt een tooltip met onderwerp, korte sha en auteur (`data-tip` + stylesheet `::after`, plus een SVG `<title>`). In de smalle modus toont een branchlabel alleen het deel na de laatste '/' (`LeafLabel`); de volledige naam staat in `title`. Alleen op smalle (mobiele) viewports blijft de grafiek verborgen. Stylesheets en scripts worden met Cache-Control: no-cache gegeven, zodat een self-update geen oude CSS over de nieuwe tekening legt. De lane van de in de branch-dropdown gekozen branch gloeit (client-side, zonder extra request). De hoofdbranch is altijd `--blue`. Andere branches krijgen een deterministische kleur uit een palet van CSS-variabelen, op basis van de branchnaam.98
De project-overzichtspagina toont een commitgrafiek links van de centrale kolom, als die ruimte breed genoeg is. Elke commit staat op één regel. Lijnen lopen in verticale lanes en buigen met afgeronde 90-graden hoeken naar een andere lane. De avatar van de auteur is de commitknoop, op de lane. De committekst staat in één linkse kolom die begint net rechts van de meest rechtse lane. Elke avatar staat in de SVG op de lane-x van die commit (`<image>` met `clipPath`, of een cirkel plus initiaal), in hetzelfde coördinatenstelsel als de lijnen. Er worden geen inline style-attributen gebruikt: `Content-Security-Policy` heeft `style-src 'self'` zonder `'unsafe-inline'`, dus paneelmaten komen uit stylesheet-klassen `.lanes-1` t/m `.lanes-40`. De lanes en het SVG worden niet geschaald (geen viewBox). De tekstkolom begint altijd rechts van de meest rechtse lane en kapt af met een ellipsis. Op brede schermen (~1400px met sidebar, of ~1160px zonder) staat de tekstkolom rechts van de meest rechtse lane. Daaronder, tot aan mobiel, is er een smalle modus zonder tekstkolom (`--graph-narrow-w`, refs + lanes): de hoofdkolom krijgt die ruimte terug. Bij hover of focus verschijnt een tooltip met onderwerp, korte sha en auteur (`data-tip` + stylesheet `::after`, plus een SVG `<title>`). In de smalle modus toont een branchlabel alleen het deel na de laatste '/' (`LeafLabel`); de volledige naam staat in `title`. Alleen op smalle (mobiele) viewports blijft de grafiek verborgen. De overzichtskolom (`main`, container `overview`) gebruikt een container query: als de kolom smaller is dan 900px (typisch bij sidebar plus smalle grafiek op 1024 of 1280px) valt het blok Project information onder de inhoud. De laatste-commit-balk wrapt (onderwerp en meta op de eerste regel, pipeline/sha/Copy/History op een volgende); de branchrij (dropdown + Code) blijft op één regel; `table.files` heeft `table-layout: fixed` zodat alle drie de kolommen met ellipsis in beeld blijven. Op een brede kolom (1920px) blijft de twee-koloms lay-out. Geen inline styles (CSP). Stylesheets en scripts worden met Cache-Control: no-cache gegeven, zodat een self-update geen oude CSS over de nieuwe tekening legt. De lane van de in de branch-dropdown gekozen branch gloeit (client-side, zonder extra request). De hoofdbranch is altijd `--blue`. Andere branches krijgen een deterministische kleur uit een palet van CSS-variabelen, op basis van de branchnaam.99
99
100
De gelegde grafiek (recente commits over alle branches, inclusief merges en forks) staat in een begrensde LRU-cache in het geheugen, per repository (en hoofdbranch). Een herhaalde pageview doet geen git-I/O. Bij een push wist `refsChanged` de entry en vult `refreshCache` hem op de achtergrond opnieuw. Deze cache schrijft niet naar schijf en is onafhankelijk van de optionele leescache.100
De gelegde grafiek (recente commits over alle branches, inclusief merges en forks) staat in een begrensde LRU-cache in het geheugen, per repository (en hoofdbranch). Een herhaalde pageview doet geen git-I/O. Bij een push wist `refsChanged` de entry en vult `refreshCache` hem op de achtergrond opnieuw. Deze cache schrijft niet naar schijf en is onafhankelijk van de optionele leescache.@@ -373,3 +373,47 @@ func TestOverviewNarrowMarkupAndTooltips(t *testing.T) {
373
373
t.Fatalf("grafiek heeft een style-attribuut: %s", chunk)
374
374
}
375
375
}
376
377
func TestOverviewColumnStaysUsableWhenNarrow(t *testing.T) {
378
css, err := os.ReadFile("static/style.css")
379
if err != nil {
380
t.Fatal(err)
381
}
382
s := string(css)
383
for _, want := range []string{
384
"container-name: overview",
385
"@container overview (max-width: 900px)",
386
"table-layout: fixed",
387
".commitbar-actions",
388
".proj .toolbar { flex-wrap: nowrap",
389
} {
390
if !strings.Contains(s, want) {
391
t.Fatalf("style.css mist %q (overzichtskolom moet op smalle breedte bruikbaar blijven)", want)
392
}
393
}
394
if !strings.Contains(s, ".commitbar") || !strings.Contains(s, "flex-wrap: wrap") {
395
t.Fatal("commitbalk moet mogen wrappen in plaats van de tekst te pletten")
396
}
397
398
ts, client, _ := graphTestRepo(t)
399
page := read(t, mustGet(t, client, ts.URL+"/tim/grafiek"))
400
if !strings.Contains(page, `class="commitbar-actions"`) {
401
t.Fatal("commitbalk mist commitbar-actions (pipeline/sha/History horen samen te wrappen)")
402
}
403
start := strings.Index(page, `class="commitbar"`)
404
if start < 0 {
405
t.Fatal("geen commitbar")
406
}
407
endRel := strings.Index(page[start:], `class="hscroll"`)
408
if endRel < 0 {
409
endRel = 2500
410
}
411
end := start + endRel
412
if end > len(page) {
413
end = len(page)
414
}
415
chunk := page[start:end]
416
if strings.Contains(chunk, "style=") {
417
t.Fatalf("commitbar heeft een style-attribuut, CSP negeert die: %s", chunk)
418
}
419
}
@@ -373,3 +373,47 @@ func TestOverviewNarrowMarkupAndTooltips(t *testing.T) {373
t.Fatalf("grafiek heeft een style-attribuut: %s", chunk)373
t.Fatalf("grafiek heeft een style-attribuut: %s", chunk)374
}374
}375
}375
}376
377
func TestOverviewColumnStaysUsableWhenNarrow(t *testing.T) {378
css, err := os.ReadFile("static/style.css")379
if err != nil {380
t.Fatal(err)381
}382
s := string(css)383
for _, want := range []string{384
"container-name: overview",385
"@container overview (max-width: 900px)",386
"table-layout: fixed",387
".commitbar-actions",388
".proj .toolbar { flex-wrap: nowrap",389
} {390
if !strings.Contains(s, want) {391
t.Fatalf("style.css mist %q (overzichtskolom moet op smalle breedte bruikbaar blijven)", want)392
}393
}394
if !strings.Contains(s, ".commitbar") || !strings.Contains(s, "flex-wrap: wrap") {395
t.Fatal("commitbalk moet mogen wrappen in plaats van de tekst te pletten")396
}397
398
ts, client, _ := graphTestRepo(t)399
page := read(t, mustGet(t, client, ts.URL+"/tim/grafiek"))400
if !strings.Contains(page, `class="commitbar-actions"`) {401
t.Fatal("commitbalk mist commitbar-actions (pipeline/sha/History horen samen te wrappen)")402
}403
start := strings.Index(page, `class="commitbar"`)404
if start < 0 {405
t.Fatal("geen commitbar")406
}407
endRel := strings.Index(page[start:], `class="hscroll"`)408
if endRel < 0 {409
endRel = 2500410
}411
end := start + endRel412
if end > len(page) {413
end = len(page)414
}415
chunk := page[start:end]416
if strings.Contains(chunk, "style=") {417
t.Fatalf("commitbar heeft een style-attribuut, CSP negeert die: %s", chunk)418
}419
}@@ -76,6 +76,8 @@ main, main.wide {
76
76
min-width: 0;
77
77
margin: 0;
78
78
padding: var(--sp-4) var(--sp-5) var(--sp-6);
79
container-type: inline-size;
80
container-name: overview;
79
81
}
80
82
.sidenav {
81
83
width: var(--sidebar); flex: none; position: sticky; top: var(--top-h);
@@ -214,8 +216,21 @@ td, th { text-align: left; padding: var(--sp-2) var(--sp-3); border-bottom: 1px
214
216
.vis { width: 18px; height: 18px; color: var(--muted); }
215
217
.ficon { width: 16px; height: 16px; vertical-align: -2px; margin-right: 0.25rem; }
216
218
.proj { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 1.2rem; align-items: start; }
219
/* Als de echte kolom (na zijbalk en smalle grafiek) te smal is,
220
valt Project information onder de inhoud, zodat de balk en de
221
bestandstabel bruikbaar blijven. Op een brede kolom (1920) blijft
222
de twee-koloms lay-out. */
223
@container overview (max-width: 900px) {
224
.proj { grid-template-columns: minmax(0, 1fr); }
225
}
217
226
.toolbar { display: flex; justify-content: space-between; gap: 0.8rem; align-items: center; margin: 0.9rem 0; flex-wrap: wrap; }
218
227
.toolbar .left, .toolbar .right { display: flex; gap: 0.45rem; align-items: center; flex-wrap: wrap; }
228
.proj .toolbar { flex-wrap: nowrap; min-width: 0; }
229
.proj .toolbar .left { flex: 1; min-width: 0; flex-wrap: nowrap; }
230
.proj .toolbar .right { flex: none; flex-wrap: nowrap; }
231
.proj .toolbar .pathnow { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
232
.proj .clogpick { min-width: 0; max-width: 100%; }
233
.proj .clogpick select { min-width: 0; max-width: 100%; }
219
234
.branch select { width: auto; border-radius: 8px; padding: 0.35rem 0.5rem; background: #f6f8fa; }
220
235
.pathnow { color: var(--ink); }
221
236
.pathnow a { color: inherit; text-decoration: none; }
@@ -251,11 +266,23 @@ td, th { text-align: left; padding: var(--sp-2) var(--sp-3); border-bottom: 1px
251
266
.copyline { display: flex; gap: 0.4rem; }
252
267
.copyline input { flex: 1; min-width: 0; font-family: ui-monospace, monospace; font-size: 0.85rem; }
253
268
.commitbar {
254
display: flex; gap: 0.7rem; align-items: center; background: #f6f8fa;
269
display: flex; flex-wrap: wrap; gap: 0.45rem 0.7rem; align-items: center; background: #f6f8fa;
255
270
border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem 0.75rem; margin: 0.4rem 0 0.8rem;
256
271
}
257
.commitbar .grow { flex: 1; min-width: 0; }
272
.commitbar .grow { flex: 1 1 12rem; min-width: 0; }
258
273
.commitbar .subject { display: block; font-weight: 650; color: inherit; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
274
.commitbar .grow .muted,
275
.commitbar .grow .commitwho {
276
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
277
}
278
.commitbar-actions {
279
display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.7rem;
280
flex: 1 1 18rem; min-width: 0; justify-content: flex-end;
281
}
282
.commitbar-actions .headpipe,
283
.commitbar-actions .sha,
284
.commitbar-actions .iconbtn,
285
.commitbar-actions .btn { flex: none; }
259
286
.avatar {
260
287
width: 32px; height: 32px; border-radius: 50%; background: #d5e0ee; color: var(--ink);
261
288
display: grid; place-items: center; font-size: 0.85rem; font-weight: 700; flex: none;
@@ -345,9 +372,17 @@ a.avatarlink:hover { text-decoration: none; }
345
372
.commitwho a:hover { text-decoration: underline; }
346
373
ul.clean li.commitline { display: flex; gap: 0.65rem; align-items: center; }
347
374
.sha { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 0.15rem 0.4rem; }
348
table.files { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
375
table.files {
376
width: 100%; table-layout: fixed; border-collapse: collapse;
377
background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
378
}
349
379
table.files th { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
350
table.files td.msg { max-width: 280px; }
380
table.files th, table.files td { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
381
table.files th:nth-child(1), table.files td:nth-child(1) { width: 28%; }
382
table.files th:nth-child(3), table.files td:nth-child(3) { width: 8.5rem; }
383
table.files td:first-child { display: flex; align-items: center; min-width: 0; }
384
table.files td:first-child a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
385
table.files td.msg { max-width: none; }
351
386
table.files td.msg a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; text-decoration: none; }
352
387
table.tags { width: 100%; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); border-collapse: collapse; }
353
388
table.tags th, table.tags td { text-align: left; padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--line); vertical-align: top; }
@@ -76,6 +76,8 @@ main, main.wide {76
min-width: 0;76
min-width: 0;77
margin: 0;77
margin: 0;78
padding: var(--sp-4) var(--sp-5) var(--sp-6);78
padding: var(--sp-4) var(--sp-5) var(--sp-6);79
container-type: inline-size;80
container-name: overview;79
}81
}80
.sidenav {82
.sidenav {81
width: var(--sidebar); flex: none; position: sticky; top: var(--top-h);83
width: var(--sidebar); flex: none; position: sticky; top: var(--top-h);@@ -214,8 +216,21 @@ td, th { text-align: left; padding: var(--sp-2) var(--sp-3); border-bottom: 1px214
.vis { width: 18px; height: 18px; color: var(--muted); }216
.vis { width: 18px; height: 18px; color: var(--muted); }215
.ficon { width: 16px; height: 16px; vertical-align: -2px; margin-right: 0.25rem; }217
.ficon { width: 16px; height: 16px; vertical-align: -2px; margin-right: 0.25rem; }216
.proj { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 1.2rem; align-items: start; }218
.proj { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 1.2rem; align-items: start; }219
/* Als de echte kolom (na zijbalk en smalle grafiek) te smal is,220
valt Project information onder de inhoud, zodat de balk en de221
bestandstabel bruikbaar blijven. Op een brede kolom (1920) blijft222
de twee-koloms lay-out. */223
@container overview (max-width: 900px) {224
.proj { grid-template-columns: minmax(0, 1fr); }225
}217
.toolbar { display: flex; justify-content: space-between; gap: 0.8rem; align-items: center; margin: 0.9rem 0; flex-wrap: wrap; }226
.toolbar { display: flex; justify-content: space-between; gap: 0.8rem; align-items: center; margin: 0.9rem 0; flex-wrap: wrap; }218
.toolbar .left, .toolbar .right { display: flex; gap: 0.45rem; align-items: center; flex-wrap: wrap; }227
.toolbar .left, .toolbar .right { display: flex; gap: 0.45rem; align-items: center; flex-wrap: wrap; }228
.proj .toolbar { flex-wrap: nowrap; min-width: 0; }229
.proj .toolbar .left { flex: 1; min-width: 0; flex-wrap: nowrap; }230
.proj .toolbar .right { flex: none; flex-wrap: nowrap; }231
.proj .toolbar .pathnow { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }232
.proj .clogpick { min-width: 0; max-width: 100%; }233
.proj .clogpick select { min-width: 0; max-width: 100%; }219
.branch select { width: auto; border-radius: 8px; padding: 0.35rem 0.5rem; background: #f6f8fa; }234
.branch select { width: auto; border-radius: 8px; padding: 0.35rem 0.5rem; background: #f6f8fa; }220
.pathnow { color: var(--ink); }235
.pathnow { color: var(--ink); }221
.pathnow a { color: inherit; text-decoration: none; }236
.pathnow a { color: inherit; text-decoration: none; }@@ -251,11 +266,23 @@ td, th { text-align: left; padding: var(--sp-2) var(--sp-3); border-bottom: 1px251
.copyline { display: flex; gap: 0.4rem; }266
.copyline { display: flex; gap: 0.4rem; }252
.copyline input { flex: 1; min-width: 0; font-family: ui-monospace, monospace; font-size: 0.85rem; }267
.copyline input { flex: 1; min-width: 0; font-family: ui-monospace, monospace; font-size: 0.85rem; }253
.commitbar {268
.commitbar {254
display: flex; gap: 0.7rem; align-items: center; background: #f6f8fa;269
display: flex; flex-wrap: wrap; gap: 0.45rem 0.7rem; align-items: center; background: #f6f8fa;255
border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem 0.75rem; margin: 0.4rem 0 0.8rem;270
border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem 0.75rem; margin: 0.4rem 0 0.8rem;256
}271
}257
.commitbar .grow { flex: 1; min-width: 0; }272
.commitbar .grow { flex: 1 1 12rem; min-width: 0; }258
.commitbar .subject { display: block; font-weight: 650; color: inherit; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }273
.commitbar .subject { display: block; font-weight: 650; color: inherit; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }274
.commitbar .grow .muted,275
.commitbar .grow .commitwho {276
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;277
}278
.commitbar-actions {279
display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.7rem;280
flex: 1 1 18rem; min-width: 0; justify-content: flex-end;281
}282
.commitbar-actions .headpipe,283
.commitbar-actions .sha,284
.commitbar-actions .iconbtn,285
.commitbar-actions .btn { flex: none; }259
.avatar {286
.avatar {260
width: 32px; height: 32px; border-radius: 50%; background: #d5e0ee; color: var(--ink);287
width: 32px; height: 32px; border-radius: 50%; background: #d5e0ee; color: var(--ink);261
display: grid; place-items: center; font-size: 0.85rem; font-weight: 700; flex: none;288
display: grid; place-items: center; font-size: 0.85rem; font-weight: 700; flex: none;@@ -345,9 +372,17 @@ a.avatarlink:hover { text-decoration: none; }345
.commitwho a:hover { text-decoration: underline; }372
.commitwho a:hover { text-decoration: underline; }346
ul.clean li.commitline { display: flex; gap: 0.65rem; align-items: center; }373
ul.clean li.commitline { display: flex; gap: 0.65rem; align-items: center; }347
.sha { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 0.15rem 0.4rem; }374
.sha { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 0.15rem 0.4rem; }348
table.files { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }375
table.files {376
width: 100%; table-layout: fixed; border-collapse: collapse;377
background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;378
}349
table.files th { color: var(--muted); font-weight: 600; font-size: 0.92rem; }379
table.files th { color: var(--muted); font-weight: 600; font-size: 0.92rem; }350
table.files td.msg { max-width: 280px; }380
table.files th, table.files td { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }381
table.files th:nth-child(1), table.files td:nth-child(1) { width: 28%; }382
table.files th:nth-child(3), table.files td:nth-child(3) { width: 8.5rem; }383
table.files td:first-child { display: flex; align-items: center; min-width: 0; }384
table.files td:first-child a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }385
table.files td.msg { max-width: none; }351
table.files td.msg a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; text-decoration: none; }386
table.files td.msg a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; text-decoration: none; }352
table.tags { width: 100%; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); border-collapse: collapse; }387
table.tags { width: 100%; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); border-collapse: collapse; }353
table.tags th, table.tags td { text-align: left; padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--line); vertical-align: top; }388
table.tags th, table.tags td { text-align: left; padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--line); vertical-align: top; }@@ -436,6 +436,7 @@
436
436
<a class="subject" href="/{{.Repo.FullPath}}/-/commit/{{.Head.SHA}}">{{.Head.Subject}}</a>
437
437
<div class="muted">{{template "commitwho" .Head}} · {{.Head.When}}</div>
438
438
</div>
439
<div class="commitbar-actions">
439
440
{{if and .Head.PipeStatus (eq .Page "overview")}}
440
441
<span class="headpipe" data-head-pipe data-pipe="{{.Head.PipeID}}"{{if .Head.PipeLive}} data-live="/{{.Repo.FullPath}}/-/pipelines/{{.Head.PipeID}}" data-live-on="1"{{end}}>
441
442
<a class="status {{.Head.PipeStatus}}" data-pipe-status href="/{{.Repo.FullPath}}/-/pipelines/{{.Head.PipeID}}"><span class="mark"></span><span data-pipe-label>{{.Head.PipeLabel}}</span></a>
@@ -447,6 +448,7 @@
447
448
<code class="sha">{{slice .Head.SHA 0 8}}</code>
448
449
<button type="button" class="iconbtn" data-copy="{{.Head.SHA}}" aria-label="{{t "action.copy"}}">{{t "action.copy"}}</button>
449
450
<a class="btn ghost" href="/{{.Repo.FullPath}}/-/commits?rev={{.Rev}}">{{t "repo.history"}}</a>
451
</div>
450
452
</div>
451
453
{{end}}
452
454
{{end}}
@@ -436,6 +436,7 @@436
<a class="subject" href="/{{.Repo.FullPath}}/-/commit/{{.Head.SHA}}">{{.Head.Subject}}</a>436
<a class="subject" href="/{{.Repo.FullPath}}/-/commit/{{.Head.SHA}}">{{.Head.Subject}}</a>437
<div class="muted">{{template "commitwho" .Head}} · {{.Head.When}}</div>437
<div class="muted">{{template "commitwho" .Head}} · {{.Head.When}}</div>438
</div>438
</div>439
<div class="commitbar-actions">439
{{if and .Head.PipeStatus (eq .Page "overview")}}440
{{if and .Head.PipeStatus (eq .Page "overview")}}440
<span class="headpipe" data-head-pipe data-pipe="{{.Head.PipeID}}"{{if .Head.PipeLive}} data-live="/{{.Repo.FullPath}}/-/pipelines/{{.Head.PipeID}}" data-live-on="1"{{end}}>441
<span class="headpipe" data-head-pipe data-pipe="{{.Head.PipeID}}"{{if .Head.PipeLive}} data-live="/{{.Repo.FullPath}}/-/pipelines/{{.Head.PipeID}}" data-live-on="1"{{end}}>441
<a class="status {{.Head.PipeStatus}}" data-pipe-status href="/{{.Repo.FullPath}}/-/pipelines/{{.Head.PipeID}}"><span class="mark"></span><span data-pipe-label>{{.Head.PipeLabel}}</span></a>442
<a class="status {{.Head.PipeStatus}}" data-pipe-status href="/{{.Repo.FullPath}}/-/pipelines/{{.Head.PipeID}}"><span class="mark"></span><span data-pipe-label>{{.Head.PipeLabel}}</span></a>@@ -447,6 +448,7 @@447
<code class="sha">{{slice .Head.SHA 0 8}}</code>448
<code class="sha">{{slice .Head.SHA 0 8}}</code>448
<button type="button" class="iconbtn" data-copy="{{.Head.SHA}}" aria-label="{{t "action.copy"}}">{{t "action.copy"}}</button>449
<button type="button" class="iconbtn" data-copy="{{.Head.SHA}}" aria-label="{{t "action.copy"}}">{{t "action.copy"}}</button>449
<a class="btn ghost" href="/{{.Repo.FullPath}}/-/commits?rev={{.Rev}}">{{t "repo.history"}}</a>450
<a class="btn ghost" href="/{{.Repo.FullPath}}/-/commits?rev={{.Rev}}">{{t "repo.history"}}</a>451
</div>450
</div>452
</div>451
{{end}}453
{{end}}452
{{end}}454
{{end}}