Skip to content

feat(ui): improve compare types in FacetRow for CLI package#690

Merged
danielroe merged 4 commits intonpmx-dev:mainfrom
gusa4grr:feat-#631-NA-compare-types-for-CLI-pkg
Feb 2, 2026
Merged

feat(ui): improve compare types in FacetRow for CLI package#690
danielroe merged 4 commits intonpmx-dev:mainfrom
gusa4grr:feat-#631-NA-compare-types-for-CLI-pkg

Conversation

@gusa4grr
Copy link
Copy Markdown
Contributor

@gusa4grr gusa4grr commented Feb 1, 2026

  • fix tooltips in FacetRow
  • add 'muted' status option with text-fg-subtle styling
  • show types as "N/A" with muted style for binary-only packages
  • move binary detection utils to shared/utils for reuse
  • use Packument type for registry API responses

Closes #631

- fix tooltips in FacetRow
- add 'muted' status option with text-fg-subtle styling
- show types as "N/A" with muted style for binary-only packages
- move binary detection utils to shared/utils for reuse
- use Packument type for registry API responses
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Feb 2, 2026 10:00am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Feb 2, 2026 10:00am
npmx-lunaria Ignored Ignored Feb 2, 2026 10:00am

Request Review

@gusa4grr
Copy link
Copy Markdown
Contributor Author

gusa4grr commented Feb 1, 2026

image

Copy link
Copy Markdown
Member

@serhalp serhalp left a comment

Choose a reason for hiding this comment

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

awesome, thank you for this!

}

case 'types':
if (data.isBinaryOnly) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could we add a tooltip on the 'N/A' with a line explaining why it's N/A? something like "This package exposes binaries and no exports"

…compare-types-for-CLI-pkg

# Conflicts:
#	app/components/compare/FacetRow.vue
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 2, 2026

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
lunaria/files/en-US.json Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@danielroe danielroe added this pull request to the merge queue Feb 2, 2026
Merged via the queue into npmx-dev:main with commit 3ec42e0 Feb 2, 2026
13 checks passed
taskylizard pushed a commit to taskylizard/npmx.dev that referenced this pull request Feb 7, 2026
…#690)

Co-authored-by: Yevhen Husak <gusa4grr@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.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.

Adjust "types" presence for binary only packages in /compare route

3 participants