Repository navigation
Export the dashboard map as SVG - #278
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@claude please review. |
|
Claude finished @coryodaniel's task in 34s —— View job Review of #278: Export the dashboard map as SVGI read the whole diff against Overall: The change is sound and follows the CLAUDE.md layering. The logic lives in
Things to consider
Nits
|
… drawing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Fixed in 8122c87:
No change:
@claude please review. |
|
Claude finished @coryodaniel's task in 21s —— View job Re-review of #278 after 8122c87I re-read
Your replies
One issue: the legend fix doesn't fully fit
The shrink factor scales the whole Worked example for
The key still runs about 225 px (about 30%) past the right edge at 40 columns. It only fits when the overshoot is small. The fix is to scale only the text part: fixed := 7 * x.k * float64(len(entries))
text := width - fixed
if room := x.dotW*x.k - 8*x.k; width > room && room > fixed {
fs *= (room - fixed) / text
}For very small maps ( Test gap
Nits
SummaryEverything else from the first round is addressed. The legend overflow is only partly fixed and needs the change above. I found nothing else blocking. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Claude finished @coryodaniel's task in 19s —— View job Re-review of #278 after ac2e41aI read The legend fix is correct. The per-entry advance is For
Guards: Test: The test would have failed on the old code, where the key overshot by about 225 px, so it does guard the regression. Nits (non-blocking)
SummaryBoth open items from the last round are resolved. I found nothing blocking, so this looks good to merge from my side. |
|
Folded into #272. |
Stacked on #277.
eon the Constellation tab saves the map as an SVG,constellation-<org>-<YYYYMMDD-HHMM>.svg, for decks and incident write-ups.The
updateFeedsplit inmodel.gokeepsupdateunder the funlen limit after this PR added its message.🤖 Generated with Claude Code