Skip to content

refactor: Remove keyStyle and align text output across commands#199

Merged
jarfernandez merged 1 commit intomainfrom
refactor/remove-keystyle-bold
Mar 15, 2026
Merged

refactor: Remove keyStyle and align text output across commands#199
jarfernandez merged 1 commit intomainfrom
refactor/remove-keystyle-bold

Conversation

@jarfernandez
Copy link
Copy Markdown
Owner

Summary

  • Remove keyStyle (bold) from all sub-section labels — only the header line ("Checking X of image Y") should be bold
  • labels: remove element counts from sub-headers (e.g., "Missing labels (2):" → "Missing labels:"), add bullet format to actual labels list
  • secrets: rename "Environment Variables:" → "Environment variables:" and "Files with Sensitive Patterns:" → "Files:"
  • user: fix inconsistent "User:" label styling (was keyStyle when empty, plain when set)

Test plan

  • All render unit tests updated and passing
  • Full test suite passing (go test ./...)
  • Pre-commit hooks passing (gofmt, go vet, golangci-lint, gosec)
  • Manual e2e verification: check-image labels, check-image ports, check-image user, check-image all

🤖 Generated with Claude Code

Only the header line ("Checking X of image Y") should be bold. Sub-section
labels like "Exposed ports:", "Required labels:", and "Environment variables:"
were incorrectly bold via `keyStyle`. Remove the `keyStyle` variable entirely
and use plain text for all sub-section labels, consistent with commands like
`age`, `size`, `entrypoint`, and `platform` that already used plain text.

Additional alignment fixes:
- `labels`: remove element counts from sub-headers, add bullet format to
  actual labels list
- `secrets`: rename "Environment Variables:" to "Environment variables:" and
  "Files with Sensitive Patterns:" to "Files:"
- `user`: fix inconsistent styling of "User:" label (was `keyStyle` when
  empty, plain when set)
@jarfernandez jarfernandez self-assigned this Mar 15, 2026
@jarfernandez jarfernandez merged commit 75df619 into main Mar 15, 2026
13 checks passed
@jarfernandez jarfernandez deleted the refactor/remove-keystyle-bold branch March 15, 2026 22:23
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