Skip to content

Adds Web Vitals log to performance bar

Tim Zallmann requested to merge tz-performancebar-lcp-log into master

What does this MR do?

  • This adds the https://github.com/GoogleChrome/web-vitals library to the performance bar
  • Will be loaded only when performance bar is activated
  • Reports FID, LCP, CLS to the console.log
  • Went over the top with console styling

We can also use the performance bar log in the next step to count select2, deprecated instances, rendered hidden modals, etc.

Screenshots

Bildschirmfoto_2020-09-16_um_10.20.16

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Merge request reports

Loading