Skip to content

fix: Brown badge + strand template polish (v0.3.7)#24

Merged
iamjohnnymac merged 2 commits into
mainfrom
fix/brown-badge-v0.3.6
May 19, 2026
Merged

fix: Brown badge + strand template polish (v0.3.7)#24
iamjohnnymac merged 2 commits into
mainfrom
fix/brown-badge-v0.3.6

Conversation

@iamjohnnymac

@iamjohnnymac iamjohnnymac commented May 19, 2026

Copy link
Copy Markdown
Owner

Bundled v0.3.7 from audit findings:

  1. Brown CSS override (#8b4513) so TIA-598 position 4 is brown
  2. strand.html Colour badge now uses get_color_color helper
  3. strand.html + trunkbreakout.html now render plugin extension slots (Attachments / Documents / etc.)

NetBox's badge palette doesn't include 'brown' as a recognised
colour, so .badge.text-bg-brown fell through to the default dark
surface and was unreadable. Override with #8b4513 (saddle brown)
so TIA-598 position 4 looks like a brown fibre.

CSS-only one-line addition. Spotted during the v0.3.5 visual
self-audit.
…slots (v0.3.7)

Three audit findings bundled into v0.3.7 (was going to be v0.3.6
Brown-only):

1. Brown badge CSS override (saddle brown #8b4513) - already on branch
2. strand.html line 19: {% badge object.get_color_display %} didn't
   pass bg_color, so even with v0.3.5's get_color_color() helper the
   detail page Colour rendered as grey. Now passes
   bg_color=object.get_color_color and matches list-view fidelity.
3. strand.html + trunkbreakout.html were missed in v0.3.1's plugin-
   slot pass; now load {% load plugins %} and render
   plugin_left_page / plugin_right_page / plugin_full_width_page so
   Attachments / Documents / other plugin cards appear on these
   pages too.

All spotted during the v0.3.5 visual self-audit on CT 109.
@iamjohnnymac iamjohnnymac changed the title fix: Brown strand colour badge (v0.3.6) fix: Brown badge + strand template polish (v0.3.7) May 19, 2026
@iamjohnnymac iamjohnnymac merged commit 30b6ca0 into main May 19, 2026
2 checks passed
@iamjohnnymac iamjohnnymac deleted the fix/brown-badge-v0.3.6 branch May 19, 2026 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant