Skip to content

feat: redesign discover command with modern list layout#814

Merged
shazron merged 2 commits intomasterfrom
feat/discover-redesign
Apr 28, 2026
Merged

feat: redesign discover command with modern list layout#814
shazron merged 2 commits intomasterfrom
feat/discover-redesign

Conversation

@shazron
Copy link
Copy Markdown
Member

@shazron shazron commented Apr 28, 2026

Summary

  • Replaces the flat table in aio discover with a modern two-line-per-entry layout: bold name · version · date on the first line, gray description indented on the second
  • Applies the same style to the --install interactive checkbox choices (bold name, gray description on second line, clean short label after selection)
  • Fixes printTable column spacing for update and rollback commands (padding was previously double-applied)

Test plan

  • npm test passes (53 tests, 100% coverage)
  • aio discover shows the new list layout with bold names and gray descriptions
  • aio discover -i shows styled checkbox choices
  • aio plugins:update and aio plugins:rollback table output is unchanged

aio discover
2026-04-29_00-06-39

aio discover -i
2026-04-29_00-08-35

🤖 Generated with Claude Code

shazron and others added 2 commits April 28, 2026 23:46
Replace the flat table with a two-line-per-entry layout: bold name,
version, and date on the first line with a ● bullet; gray description
indented on the second line. Also fixes table column spacing for
update/rollback commands via printTable padding fix.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Format checkbox choices with bold name · version · date and gray
description on a second line, matching the list output style.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 PR Reviewer

The diff makes UI improvements to the discover command (replacing printTable with direct chalk-formatted output), updates table.js spacing logic, and removes libc fields from package-lock.json. The changes are straightforward and the test updates correctly reflect the new two-line-per-plugin output format. One minor concern is the duplication of dateOptions between _install and _list methods.

LGTM! This PR looks good to merge.


💡 How to re-trigger

Comment /review or /pr-reviewer on this PR

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@shazron shazron merged commit 068d531 into master Apr 28, 2026
11 checks passed
@shazron shazron deleted the feat/discover-redesign branch April 28, 2026 16:22
hannah-taub-1 pushed a commit to hannah-taub-1/aio-cli that referenced this pull request Apr 28, 2026
* feat: redesign discover command output with modern list layout

Replace the flat table with a two-line-per-entry layout: bold name,
version, and date on the first line with a ● bullet; gray description
indented on the second line. Also fixes table column spacing for
update/rollback commands via printTable padding fix.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat: apply list design to interactive install choices

Format checkbox choices with bold name · version · date and gray
description on a second line, matching the list output style.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

3 participants