firefox-devtools / ux

Firefox DevTools UX Community
Mozilla Public License 2.0
103 stars 21 forks source link

WebCompat Diagnosis Sidebar #65

Open violasong opened 5 years ago

violasong commented 5 years ago

Current design:

image

First round of testing needs

Initial description

  1. image
dadaa commented 5 years ago
screenshot

This is a screenshot of current prototype.

violasong commented 5 years ago

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.

violasong commented 4 years ago
image
violasong commented 4 years ago

WebCompat sub-elements: listing the names of those elements, with disclosure UI for multiple occurrences

image
SebastianZ commented 4 years ago

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:

Sebastian

violasong commented 4 years ago

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)

SebastianZ commented 4 years ago

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

violasong commented 4 years ago

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.

violasong commented 4 years ago

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.

image
violasong commented 4 years ago

Next steps: Research and testing needed to learn:

violasong commented 4 years ago

New prototypes! https://github.com/firefox-devtools/webcompat-helper/releases

Currently undergoing user testing.

image
violasong commented 4 years ago

Initial prototype tests had positive and useful results! A bug has been filed to integrate the extension into DevTools.

violasong commented 4 years ago

Next steps

violasong commented 4 years ago

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.

image