Stamp: size the label for the font it uses, so the first job's glyph shows 9991530b4bee
refs #1
- Author
- Andy McCall @andymccall <[email protected]>
- When
- · 2026-09-28 12:25 UTC
- Signature
- ✔ signed by Andy McCall
- Hash
9991530b4beee381b95233964971965ad66ac833968f4c8f1fdbf4f1c2fb1713- Depends on
- 42fa95540468 736f6813543d
- Depended on by
- nothing yet
- In bookmarks
- api-unknown-fields cancel-landed-runs clear-waiting close-proposal-140 diffusion-pin-bookmark draft-ready image-check job-waits main oh-comment-body-file proposal-list-fast run-one-job wiki-says-so
- In tags
- v0.1.0 v0.2.0 v0.3.0 v0.3.1 v0.4.0 v0.4.1 v0.4.2 v0.5.0 v0.5.1 v0.5.2 v0.6.0 v0.6.1 v0.7.0 v0.8.0 v0.9.0 v0.9.1 v0.9.11 v0.9.15 v0.9.16 v0.9.19 v0.9.2 v0.9.20 v0.9.21 v0.9.22 v0.9.23 v0.9.24 v0.9.3 v0.9.4 v0.9.5 v0.9.6 v0.9.7 v0.9.8 v0.9.9
- Edits
- 2 atoms, 0 tree operations, 1 file
Browse the tree at this change
modified crates/hub/src/web/flow.rs +1 −1
| … | 315 unchanged lines |
||
| 316 | 316 | let mut ordered: Vec<&fdb::Job> = jobs.iter().collect(); |
|
| 317 | 317 | ordered.sort_by(|a, b| (a.depth, &a.name).cmp(&(b.depth, &b.name))); |
|
| 318 | 318 | let label = "OXYGENFLOW"; |
|
| 319 | - | let label_w = 14.0 + label.len() as f64 * 6.2 + 8.0; |
|
| 319 | + | let label_w = 18.0 + label.len() as f64 * 7.4 + 8.0; // Barlow bold 10.5px, spaced |
|
| 320 | 320 | let glyphs_w = if ordered.is_empty() { 0.0 } else { ordered.len() as f64 * 10.0 + 6.0 }; |
|
| 321 | 321 | let tail = if date.is_empty() { format!("{status} · {short}") } else { format!("{status} · {short} · {date}") }; |
|
| 322 | 322 | let right_w = 8.0 + glyphs_w + tail.chars().count() as f64 * CH + 8.0; |
|
| … | 32 unchanged lines |