-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
Make User Timing overview page more overviewy #21853
Conversation
Preview URLs External URLs (1)URL:
(this comment was updated 2022-10-31 08:44:14.283185) |
FWIW I think these pages have quite a well-defined structure, and a template even, at https://developer.mozilla.org/en-US/docs/MDN/Writing_guidelines/Page_structures/Page_types/API_landing_page_template. I think they have:
BCD I agree is problematic and I don't know what is best here. Different pages do different things. See https://github.com/mdn/content/discussions/4920 . I agree that the current page is much too chatty and a lot of it should be in "Using the...". |
Ah, thanks for the pointer!
I think I've shortened this quite a lot now so that it briefly lists what you can do with the two main interfaces. Actually, I think listing things you can to do with the interfaces at hand seems useful and more practical than listing things under "interfaces" and "Extension to other interfaces" (per the template) which seems like less practical info and like more like API design concerns.
Added a Specifications section with a link to the spec. Wasn't sure how to have generate a spec table for the whole API (and not a particular feature).
I didn't add any BCD table. Seems fine given it is well supported.
👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Florian,
This is really clean of typos. Since this PR is about improving the piece over all, I thought you might be interested in a few language improvements.
Joe
@wbamberg Fly by re #21853 (comment)
FWIW I think I've been guilty of copying the "big overview" pattern with user guide material. Sometimes it feels like it makes sense - or alternatively, that spawning a "Using guide" for a simple example feels like pointless indirection. What I find interesting about the template is that you should almost be able to generate the overview as defined from the API data used to create the sidebar. |
Will and I think that this page isn't needed, because all you really need is an overview of all the Performance APIs and a guide that explains how to use them (together, and not separately). So, I think this PR is an improvement but it is likely we will redirect this page to https://developer.mozilla.org/en-US/docs/Web/API/Performance_API once we made that main Performance API page better (#21984). I'm going ahead and merge this, so we have the improvements in, in case we decide to keep this page (or if parts of it are still useful later). |
Ah well, turns out I need 1 approving review. :) |
Oh I just saw this. Yes. I want this to be one of our infra goals. Not all the overview but lots of it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah well, turns out I need 1 approving review. :)
👍
* Make User Timing overview page more overviewy * Move examples section, add spec section * Rewrite more * Shorten intro * simplify
Description
This PR wants to make the https://developer.mozilla.org/en-US/docs/Web/API/User_Timing_API overview page better, or rather, less verbose and more overviewy.
Motivation
I'd like a better understanding what an overview page is exactly and what it should contain, so I'm re-arranging this one.
I want it to be distinct from the "Using ..." page.
Also, openwebdocs/project#62
Additional details
So, to me, the structure of an overview page is this:
It is all very short and not rich in text. I see it as a cheatsheet or as a helper to navigate through all pages for this API.
It is a bit sad we don't have any styled page components. So I think my choices are lists (done here), or tables (ugly in md). I think tables arrange content nicely sometimes (example), however I didn't feel like using them here. Let me know if you have other ideas.
Related issues and pull requests
What are your favorite overview pages?