fix(ui): dependency name readability#1933
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
📝 WalkthroughWalkthroughThis change updates app/components/Package/Dependencies.vue to adjust layout and truncation for dependency lists: increase gaps between name and version, set dependency name containers to larger max widths with word-wrap (e.g. max-w-[70%]/max-w-[80%] depending on section), reduce version link max width from 40% to 30%, and change optional-dependencies row alignment from items-center to items-baseline. No changes to data fetching, conditional rendering, or exported/public API declarations. Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 96973b2e-8c09-4dbe-8335-e3340fed0e48
📒 Files selected for processing (1)
app/components/Package/Dependencies.vue
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
🔗 Linked issue
closes #1925
🧭 Context
The names of dependencies become unreadable when they are very long.
The dependencies simply wrap so they remain readable even when they're long.
📚 Description
The dependency names are hard to read, and I don't think adding tooltips is the best fix. Since this is a key functional part of the package view, the names should be easily visible.
before

after
