Conversation
in package cards, lists of labels, and detail page but no underneath the search box
| if (supportsModernSublime && doesNotSupportNewestSublime) labels.push('ST3') | ||
| let labels = pkg.labels?.slice() ?? [] | ||
| labels = labels.sort((a) => { | ||
| if (['language syntax', 'snippets', 'linting', 'auto-complete', 'color scheme', 'theme'].includes(a)) { |
There was a problem hiding this comment.
Do you want to change the sort to have these labels in a predictable order rather than just reversed-but-at-the-front?
There was a problem hiding this comment.
Yeah I was thinking about that and couldn't decide really... I think I'd want to keep labels in the order they were applied to the package by the author, but these 6 in front of all the others.
Well, they're also the most used. But that there are 6 is almost random. And the selection is hardcoded and not based on the actual usage stats. The bold font does gets a bit chunky, let's see if I can tweak that. |
|
Can you actually simulate low-DPI, @braver? I learned that while doing the SVG charts (install and status chart); the rounding glitches are huge, e.g. you draw vertical lines for the grid and suddenly the lines have different widths or even have a slight angle. |
I don’t know that I can. All my devices and everything at the office are at least @2x so stuff just gets blurry in weird ways. |
|
On those screenshots of yours though, the line height change and alignment shift is unfortunate but the the text looks a lot sharper at 13? |













The discussion in #82 ended up going towards "just" using bold (and a slight color contrast adjustment) to highlight the hand-picked labels. We've gone a few steps way from colorful lately and I think that's a good thing after all. Also, the language icons/logos already add color. Bold does what it needs to do while also being completely inoffensive.
I considered adding LSP to that list, but it feels a bit random because that's not part of the selected labels we put under the search field. Besides, all LSP packages already have LSP- in their name, so LSP is written all over them to the point that highlighting the label feels unnecessary.
I also considered adding AI to that list, but IMO it's not that kind of label right now. We're in the middle of the hype cycle, perhaps we'll end up with more of a SublimeLinter/LSP kind of situation around interacting with LLMS and agents. Right now it can mean anything.
So, tiny little PR: