-
Notifications
You must be signed in to change notification settings - Fork 190
Add Baseline status to hovercards #428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
FYI I was getting a TypeScript error related to my use of the
I can fix it by upgrading the tsconfig to es2021, but figured that would need to be part of a separate discussion. For now I worked around it by changing it to |
|
@aeschli sure I've removed the |
Found an issue with the Actual: ![]() Expected: ![]() I fixed this by removing support strings from the |
Thanks for the PR. I think we need to improve the look of the hover.
My suggestion:
|
The mockups are good. I still don't like the extra wide baseline icons. It's a bit too large for the text size, also I find the form not very intuitive. Is the shape important to you? Can we not just add a checkmark? Or make it a bit smaller? |
BTW I adopted the custom data, but didn't make any changes to the hover. Leaving this to you. |
…e into baseline-status
Regarding the use of icons, thank you @aeschli for your feedback on the fact that they're not intuitive. @atopal, let's add this to other feedback we might have received and reflect on whether improvements are needed on the long run. For now, though (i.e., for this PR), I strongly suggest keeping the Baseline icons as they are defined now, and not deviate from them. The reason is that Baseline is an attempt at summarizing the many details of a very fragmented and nuanced web platform, into something that's as simple as 3 statuses only. This is essentially impossible to do, but we believe that doing it in the way we're doing it now still has more benefits than drawbacks if, and only if, Baseline is communicated correctly. Changing the icons to a checkmark and a warning icon would simplify what Baseline is even more, to the point that it becomes dangerous. So, Baseline messages/icons should never appear to developers as something that may steer them away from using a feature. |
The smaller baseline icon looks better. Lets go with that! |
@aeschli this is ready for another look |
@rviscomi Thanks Rick, nice work, it looks great! |
Thanks for all your help and can't wait to see it live! 🥳 |
Progress on #427
Hovercard changes:
Demo:
baseline-vscode.mov
Screenshots...
Widely available
Before:

After (dark mode):

After (light mode):

Newly available
Before:

After (dark mode):

After (light mode):

Limited availability
Before:

After (dark mode):

After (light mode):

Experimental
Before:

After (dark mode):

After (light mode):

(experimental warning removed, as it's redundant with the limited availability message)
Obsolete
Before:

After (dark mode):

After (light mode):

(obsolete warning kept)