tink
tink copied to clipboard
feat(view): add PackageSummary
Add a PackageSummary
for a consistent 3-line information-dense summary of a package. With Box
:
Without (not possible currently, I didn't include it due to the way it looks with other content around it):
Some TODOs:
- [x] Description and keywords should be cut off if too long (we don't want extra lines)
- [x] ~~I think the other thing was "wrap lines if too long", but that's completely contradictory, so scratch that~~
See https://github.com/npm/tink/pull/11#issuecomment-440055235 (@chrisforrette)
This looks great! Happy to merge this pending @chrisforrette's comments and the rest of your TODO 👍
I added a PackageSearchResult
and a fix for the TODO.
@larsgw Hey there, I'm waiting on this to land to wrap up #11. Aside from fixing the build and updating from master are there any other hold-ups to merging this?
@chrisforrette right, I didn't notice this wasn't working
@zkat do I need to do anything else before merge?
@zkat Hey Kat! Can we merge this thinger?