Closed Carla-Moz closed 2 months ago
Name | Link |
---|---|
Latest commit | 35d2e58e32f2b595ef7c9a04ddab488906d2b3ed |
Latest deploy log | https://app.netlify.com/sites/mozilla-perfcompare/deploys/66b243a195cb7b00081a62ac |
Deploy Preview | https://deploy-preview-691--mozilla-perfcompare.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 88.59%. Comparing base (
d6451de
) to head (a524b6f
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
But with these changes I see that "Download JSON" button gets a bit shorter and therefore it becomes two lines.
I guess the "Download JSON" button (or rather its container) could be flex: none
.
@julienw,
Same page updates are quicker, but no spinner. I guess we can leave it as is since the Compare/Cancel
buttons disappear when the results are resolved. However, there's no feedback when updating the framework. shrug Let me know what you think. I could have done something wrong.
@julienw, resolved your comments here. I think this is in a good shape and we can merge soon. Will make a separate PR for the styles of the row to fit all the dropdown better and for the tests.
@Carla-Moz I'm sorry about that, but I think you merged the beta branch incorrectly to your branch :/ now a lot of things are showing up in this PR...
I think you can recover by using git rebase -i upstream/beta
and manually removing the lines that don't belong to your patch (the ones coming from Beatrice and myself).
Also please please please remove all changes related to Suspense and the defer in the loaders (this means: please add defer
back, as I'm removing it in the other PR), and only focus on the framework stuff. A lot of the complexity in this patch comes from the fact you tried to solve 2 problems in one. This is also failing the tests.
If you can solve it while I'm away this afternoon I promise I'll look at it again when I come back later today.
That unfortunate. Closing this PR. Please see https://github.com/mozilla/perfcompare/pull/704 - has all the changes requested, green tests, and clean rebase
This PR closes the following issue: https://mozilla-hub.atlassian.net/browse/PCF-421
This PR is broken down into 3 commits:
framework
component inSearch
so I created a new component inResults
to reduce clutter, separate concerns, and easily manage the comps.[x] Use
useSearchParams
to change the url, refetch the data and rerender the page I also added a hidden input to keep the framework data in the url when the users change the revisions via the 'Edit entry' button.[x] Add test coverage
To Test: 1.) Open the PR's deployed link: https://deploy-preview-691--mozilla-perfcompare.netlify.app/ 2.) Select a base revision and new revision(s) in the
Compare with a base
component 3.) After Results page has finished loading, change the framework in the menu bar above the Results table.Edit entry
and change one of the revisions.Compare
Compare over time