Skip to content

feat(scan): polish TUI and plain-text scan presentation#40

Merged
saraeloop merged 1 commit intomainfrom
feat/scan-visual-polish
Apr 7, 2026
Merged

feat(scan): polish TUI and plain-text scan presentation#40
saraeloop merged 1 commit intomainfrom
feat/scan-visual-polish

Conversation

@saraeloop
Copy link
Copy Markdown
Member

Summary

Polishes the scan presentation layer across TUI and plain-text output.

Changes

Updated

  • src/interface/console-renderer.tsx
  • src/interface/plain-text-renderer.ts
  • src/interface/scan-output-presenter.ts

Tests

  • test/console-renderer.test.ts
  • test/plain-text-renderer.test.ts

Behavior

  • Adds subtle emphasis for the scanned package
  • Associates signal labels directly with each finding
  • Uses consistent risk wording across presentation surfaces
  • Clarifies finding metadata labels
  • Softens safe dependency nodes relative to root and active findings
  • Simplifies the TUI finding card layout

Verification

  • pnpm test
  • pnpm run build

- refine scan presentation in console-renderer, plain-text-renderer, and scan-output-presenter
- add subtle emphasis for the scanned package in the tree
- move signal labels into each finding block and remove detached footer badges
- align risk wording across presentation surfaces
- clarify finding metadata labels such as weekly downloads and total versions
- make safe dependency nodes visually softer than root and active findings
- simplify the TUI finding card by removing extra structure around reasons

- add/update renderer tests for:
  - root emphasis
  - per-finding signal association
  - consistent risk wording

verification:
- pnpm test
- pnpm run build
@saraeloop saraeloop self-assigned this Apr 7, 2026
@saraeloop saraeloop merged commit 5a303b8 into main Apr 7, 2026
1 check passed
@saraeloop saraeloop deleted the feat/scan-visual-polish branch April 7, 2026 20:30
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