-
Notifications
You must be signed in to change notification settings - Fork 10
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
Avoid targeting YML files in "Learn more" links #17
Comments
Yes, that was not the intention. The intention to give more info about Baseline and now that we have a landing page for it, it would link to the landing page. |
Linking to the baseline landing page seems like the right default thing to do. I would also suggest making the link customizable via the component API surface. While existing consumers want to link to information about baseline, other future consumers might want to link to places to learn more about that particular feature. |
If one could link the |
We - Chrome CSS and UI DevRel - have rolled out the widget on https://chrome.dev/css-wrapped-2024/ and have received several reports from users that the "Learn More" link is totally useless. I can't say I disagree with them. Short term solutions:
Long term solutions:
|
This file helps map between web-feature IDs and MDN pages: https://github.com/web-platform-dx/web-features-explorer/blob/main/mdnDocsOverrides.json |
That's a very good point Adam. Turns out the feature is not supported on Safari for iOS, but the baseline status component doesn't show that! I think we should take that particular point out and into its own separate issue (I'll create it soon). @argyleink is your suggestion to link to caniuse something you'd want specifically for this one feature (because of the weird limited+green state)? Or something you think would be useful in all cases? |
useful in all cases for when someone wants to dig in deeper for more specifics or more browsers compared (like mobile). but maybe "Learn more" should go to MDN, and a "CanIuse" link that goes to caniuse? |
Reviewing the proposal to add a quick lookup to the Baseline landing page in web-platform-dx/web-features#1800 makes me realize that the "Learn more" link is a bit abrupt: it takes me to a YML data file when I would rather have expected to, well, learn more about the feature in a more digestable way.
Since the group also maintains a Web Features explorer, one idea could be to link to the page that describes the feature in the explorer, for example, for
appearance
, link could be to https://web-platform-dx.github.io/web-features-explorer/features/appearance/ instead of to https://github.com/web-platform-dx/web-features/blob/main/features/appearance.ymlAn alternative could be to link to a relevant page on MDN, but not all features have MDN pages.
(cc @captainbrosset)
The text was updated successfully, but these errors were encountered: