Skip to content

Implement pixi checks with page experience audit data#4427

Merged
tharders merged 1 commit intofuturefrom
feature/pixi-page-experience-checks
Sep 2, 2020
Merged

Implement pixi checks with page experience audit data#4427
tharders merged 1 commit intofuturefrom
feature/pixi-page-experience-checks

Conversation

@tharders
Copy link
Copy Markdown
Collaborator

@tharders tharders commented Sep 2, 2020

The recommendation mapping is refactored to be more clear and also mapps the new checks.
Changed the "resourceIssues" result to "noResourceIssues" so that all basic checks return true if all is fine.

Copy link
Copy Markdown
Collaborator

@caroqliu caroqliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noResourceIssues -- I prefer positive boolean names if possible, what about resourcesLoadable?

]);

const result = [];
const result = [...fixedRecommendations];
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer intrusive interstitials recommendation to be last if possible, since a developer who runs their page several times (while acting on recommendations) will only find the manual step helpful the first time.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point.
I think we should add an order property to the recommendation markdown files and then sort them before rendering.
That would be better than having an order here.
We will do this in a separate PR.

@tharders tharders merged commit 4fdb143 into future Sep 2, 2020
@tharders tharders deleted the feature/pixi-page-experience-checks branch September 2, 2020 18:09
robinvanopstal added a commit that referenced this pull request Sep 3, 2020
* future:
  Rename noResourceIssues to resourcesLoadable (#4432)
  Implement checks with page experience audit data (#4427)
  make negative portion of pixi performance scale solid (#4426)
  ♻️ Remove unused catch (#4425)
  Pixi status banner rules (#4421)
  Update CSS for teaser (#4423)
  Update pixi upgrade-amp-optimizer recommendation text (#4422)

# Conflicts:
#	frontend/scss/components/atoms/pixi-scale.scss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants