diff options
| author | Agando <roduccomm@gmail.com> | 2026-11-06 11:40:54 +0100 |
|---|---|---|
| committer | Agando <roduccomm@gmail.com> | 2026-11-06 11:40:54 +0100 |
| commit | 7bdcd58762c60c9501657b9df2983999f276f8b1 (patch) | |
| tree | 0b6f23e78869a50b2fb5a1cb4d4e535872474c05 /modules/ext/critical-ext-bundle.js | |
| parent | 1983ce5796e45b312b142554cb717db7f8978bc8 (diff) | |
fix(changelog): keep the newest commits of a build; wrap long detail URLs
Symptom: after bodies were rendered, this fix's own commit was missing from
its own entry, and a long URL inside an expanded detail was clipped at the
right edge on a 390 px screen.
Cause: items took group[:MAX_ITEMS] from a CHRONOLOGICAL list, so a 17-commit
build showed its first 14 and dropped the newest three (the count line said
"…and 3 more", hiding which three). And the injected detail CSS set no
overflow-wrap, so a 47-character URL pushed the paragraph to 320 px of
unbreakable text — the document stayed at 0 overflow only because the li
clipped it.
Fix: show group[-MAX_ITEMS:] and label the omitted ones "…and N earlier
commit(s)"; entry.commits follows the same slice. overflow-wrap:anywhere on
detail p/ul. The CSS block is now re-emitted from DETAIL_CSS behind
BEGIN/END sentinels instead of being write-once, and the first version's
sentinel-less block is stripped on sight so no page keeps two copies.
Verified: 390 px — p scrollWidth == clientWidth == 320, document overflow 0,
URL wraps; newest entry lists c759c50 and this commit; island 83 entries,
14 commit chips matching 14 shown items; CHANGELOG.md byte-identical on a
second run.
Diffstat (limited to 'modules/ext/critical-ext-bundle.js')
0 files changed, 0 insertions, 0 deletions