Open violasong opened 5 years ago
This is a screenshot of current prototype.
Thanks!
It occurred to me that I've borrowed the Selected Node/Whole Document pattern for unified layout panel :D. Will have to match up the two designs.
WebCompat sub-elements: listing the names of those elements, with disclosure UI for multiple occurrences
I love seeing web compatibility info finally coming to the DevTools! As a former Firebug developer, I can say that this was one of the most missed features when the Firebug extension called CodeBurner stopped working.
A few notes from my side regarding the mockup and the prototype implementation:
clip
is deprecated and not supported in iOS Safari. Use clip-path
instead. Learn more" [Well, clip-path
has its own caveats, but that's another point.]).-ms-flow-from
is only supported in IE and Edge.")@supports
rule checking whether it's supported.display: grid
that it's only supported prefixed in IE and Edge up to version 12, but not when it's used along with display: -ms-grid
as a fallback for them.)clip
is used alone, show a hint that it's deprecated and not supported everywhere, if it's used alongside clip-path
, show only a hint for that but not the one for clip
, and if clip-path
is used alone, show a hint that it's not supported in IE versions before 10. (This point probably needs more discussion, though.)Sebastian
Hi Sebastian, thanks for all the great feedback! :D Will keep this in mind as I work on more iterations.
Regarding hints: We're investigating solutions for this. They're not currently in the WebCompat data but we may be able to add them in the future. That's a good point about not showing warnings for @support and fallback situations.
Re: Linked browsers: You'll be able to click those links to open the page in those browsers, after you've configured your browser paths in the settings.
We'll indeed be linking to MDN whenever and wherever it makes sense :). (This is a general goal for all of DevTools)
Regarding hints: We're investigating solutions for this. They're not currently in the WebCompat data but we may be able to add them in the future.
I know the web compat data currently doesn't include this information. Question is whether it should. I can open an issue there to start the discussion if you didn't discuss this internally with the MDN team yet.
Re: Linked browsers: You'll be able to click those links to open the page in those browsers, after you've configured your browser paths in the settings.
Great idea but hard to implement and for mobile devices probably impossible, I assume.
We'll indeed be linking to MDN whenever and wherever it makes sense :). (This is a general goal for all of DevTools)
Perfect! Let me know once the implementation begins and I can help creating the pages and data if needed.
Sebastian
I know the web compat data currently doesn't include this information. Question is whether it should. I can open an issue there to start the discussion if you didn't discuss this internally with the MDN team yet.
Thanks, I've started chatting with them. This is out of scope for our first testable product but would be amazing to add later.
We'll indeed be linking to MDN whenever and wherever it makes sense :). (This is a general goal for all of DevTools)
Perfect! Let me know once the implementation begins and I can help creating the pages and data if needed.
Awesome! I don't have a good understanding right now of know how much content would actually need to be created on MDN itself, but maybe @martinbalfanz has thoughts on this.
Latest version - starting to show more detail, including expanded "occurrences" sections. It's feeling a cluttery at the moment, but will keep at it. Am experimenting with ways of showing the warnings more compactly. There may be other ways to simplify as well.
Clicking on the property names would take you to MDN, so no need for lots of Learn mores.
Next steps: Research and testing needed to learn:
New prototypes! https://github.com/firefox-devtools/webcompat-helper/releases
Currently undergoing user testing.
Initial prototype tests had positive and useful results! A bug has been filed to integrate the extension into DevTools.
Next steps
An early version of this is now available in Nightly by flipping devtools.inspector.compatibility.enabled!
Shows info for current element as well as all elements.
Will work on more testing and polish. Also, need to try coloring the icons.
Current design:
First round of testing needs
Initial description