Skip to content
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

Invert the report form for the discouraged API use #1613

Closed
pavelfeldman opened this issue Feb 2, 2017 · 9 comments
Closed

Invert the report form for the discouraged API use #1613

pavelfeldman opened this issue Feb 2, 2017 · 9 comments
Assignees
Labels

Comments

@pavelfeldman
Copy link
Contributor

Context:

use_offline

Providing a sharp actionable report would please the user more than repetitive praise for something they did not do. Consider inverting the report form here and listing / penalizing for the deprecated API use.

@pavelfeldman
Copy link
Contributor Author

I see more of these:

  • Avoids Mutation Events in its own scripts
  • Avoids document.write()
  • Avoids requesting the geolocation permission on page load

.. and many more.

but I did not avoid any of these...

@ebidel
Copy link
Contributor

ebidel commented Feb 2, 2017

"Avoids" was introduced in #1598. "Does not use S..." was what we had before, but that was deemed confusing to see next to a green check. Discussion is here: #1598 (review).

Either way, I'm not sure we can make everyone happy.

@pavelfeldman
Copy link
Contributor Author

I have no problem with "Avoid" as a term when I did avoid. I just don't like it reported for about:blank. As the project scales, you'll have hundreds of violations to track and reporting them all as passed for about:blank would not be reasonable. I'm suggesting to only list violations in the dedicated violations group.

@ebidel ebidel added the report label Feb 2, 2017
@ebidel
Copy link
Contributor

ebidel commented Feb 3, 2017

How about something like this:

screen shot 2017-02-02 at 4 09 42 pm

For every section, passing all of the audits will give you an overall "pass" and hide the children. If you fail 1 or more, it'll open up and show the list.

Compared to now:

screen shot 2017-02-02 at 4 12 50 pm

@pavelfeldman
Copy link
Contributor Author

That looks better, but still seems a bit silly to say "Uses modern offline features" for the site that does not support offline at all. Just because it did not use WebSQL...

@ebidel
Copy link
Contributor

ebidel commented Feb 3, 2017

The subcategory names could probably use a rethinking, but I'm not sure the right answer without moving back to "Does not use...." headings. But I think the screenshot alleviates some of the original issue.

Our new theme of LH should be "less is more" :)

@paulirish
Copy link
Member

Things we don't want you to do.. and you didn't. \o/

...

Things we don't want you to do, but you DID! >:|

...

@ebidel
Copy link
Contributor

ebidel commented May 24, 2017

Going to close this. The new report emphasizes what the user needs to improve on and hides the passing audits by default. There's still improvements to the language that we could make (#1611).

@paulirish
Copy link
Member

Finally fixed by #2478

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants