webhintio / webhintio.github.io

🌍 webhint's website
https://webhint.io
Apache License 2.0
144 stars 69 forks source link

Design scan results page #74

Open ststimac opened 7 years ago

ststimac commented 7 years ago

This will have a few different iterations depending on what point in time we're at:

ststimac commented 7 years ago

@molant @sarvaje @qzhou1607 @alrra

Here is my proposal for the scan results page for the MVP. The compare/double column was kept in mind and this is scalable when we add that feature.

The icons at the top will be links to the category on the page if you have errors in that rule. Also as we add more rule categories it would fill out the top w/more icons.

scanner_results_080217-01

qzhou1607-zz commented 7 years ago

@ststimac Will errors/warnings from different resources grouped under the same rule? The result page can run pretty long, maybe we can make the errors/warnings under the same rule collapsible for easier navigation?

Also how about we use the same design here for the html report (https://github.com/sonarwhal/sonar/pull/411)? @molant @alrra

ststimac commented 7 years ago

@qzhou1607 I want to make sure I'm understanding correctly. So (using my mock-up above), everything under 'html-checker' would be collapsible? We can definitely do that.

qzhou1607-zz commented 7 years ago

@ststimac Yep, that way the user won't need to scroll all the way down if looking for a specific rule, just my two cents :).

ststimac commented 7 years ago

@qzhou1607 is the scan-result.hbs file the one I should used to build the scan results page?

(just checking before I start editing it)

qzhou1607-zz commented 7 years ago

@ststimac Yes.

molant commented 7 years ago

Good start!

I have some minor requests and questions I hope you can help with:

General:

Categories section:

Results section:

ststimac commented 7 years ago

Here some updated comps. I'm going to do a separate post answering some of the questions about how these appear on the page. Going to share with Melanie for design feedback. Everyone else feel free to chime in as well.

scanner_results_080217-01

scanner_results_080217-04

scanner_results_080217-05

melanierichards commented 7 years ago

This is so exciting!! It's looking so good, @ststimac.

  1. In the first row of the results tiles, the scan time/version are the largest numbers, when it seems like they're probably less important than the total # of errors/warnings. Maybe try inverting those type sizes? There's probably a few different ways to lay those out.
  2. When there's errors/warnings in a category, I'm thinking maybe the icon should be shades of red? OR instead of making that title red, you could make the non-error-y tiles a non-100% opacity.
  3. For PWAs, let's use something other than the lightning bolt, which might get confused with Google's AMP. There's an officially unofficial logo: https://github.com/webmaxru/progressive-web-apps-logo
  4. Perf logo looks a bit like an orange slice :P Maybe try taking out the segments, or having them be shorter and not reach the edge of the "wedge".
  5. What do the little page icons do?
  6. For the inline snippets of code (inside a sentence), might be worth making the font size a little bit smaller so it visually looks the same size as the surrounding text. This is a personal preference thing though.
  7. I think the border radius on those little inline code snippets could be a little less rounded and/or more padding around the words.
ststimac commented 7 years ago

Excellent, thank you @melanierichards :)

  1. the page icons are links to the documentation.
ststimac commented 7 years ago

Does anyone have a preference on either of the tile designs? Would like some input on that.

molant commented 7 years ago

I prefer the option used in the last 2 comps.

melanierichards commented 7 years ago

Oh whoops I didn't notice that. I agree w/ Anton.

molant commented 7 years ago

@ststimac we should look into an option to pivot between rules and urls. Right now errors are grouped by rules, but we should give the option to group them by url as well.