-
Notifications
You must be signed in to change notification settings - Fork 90
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
Implement sorting on the main results page #838
Conversation
✅ Deploy Preview for mozilla-perfcompare ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #838 +/- ##
==========================================
+ Coverage 93.20% 93.38% +0.17%
==========================================
Files 93 93
Lines 2562 2584 +22
Branches 508 514 +6
==========================================
+ Hits 2388 2413 +25
+ Misses 155 152 -3
Partials 19 19 ☔ View full report in Codecov by Sentry. |
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.
This looks great to me. Nothing to add here. Thanks!
03af01f
to
0a070f5
Compare
@Carla-Moz you already reviewed commits 2-4. I haven't touched them besides a rebase and conflicts, but can you please a look at commits 5 to 8 ? (Commit 1 is #839 to be reviewed indepently). Thanks! |
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.
Tested and looks ready to ship to me. Thank you for making it easy to follow.
587cdd0
to
83718c5
Compare
Updates: [Julien Wajsberg] Small adjustments on the sort functionality (#837) [esanuandra] PCF-562 Consider adding the OS version to the name of the platform in the "Platform" column (#816) [Carla Severe] Removed repetitive style references (#836) [Julien Wajsberg] Rename OSX to macOS to better reflect the newest naming for this platform (#840) [Julien Wajsberg] Extract the table filtering code to a common file (#839) [Julien Wajsberg] Implement sorting on the main results page (#838) [Chineta Adinnu] Add tooltips to revision column headers (#832) [Chineta Adinnu] Add aria expanded to revision row expand button (#826)
This implements the sorting feature on the main results page.
In the main results page the results are then processed and organized in a nested structure
test
->revision
->platform
->result item
. Therefore I was initially afraid that the sorting logic would need to be specially tailored. But instead I got the idea of doing the sort before the processing, and this seems to work just fine.deploy preview
Here is the list of commits:
summarizeVisibleRows
so that the delta value is shown can be assessed in the tests, for an easier readability in the test cases.