-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
core(lightwallet): render timing-budget audit #9925
core(lightwallet): render timing-budget audit #9925
Conversation
Hi guys @paulirish @patrickhulce, and thanks to @khempenius for implementing budgets for timing metrics! Are there any plans for a review of this PR? |
.lh-audit-group--budgets .lh-table tbody tr td:nth-child(5){ | ||
.lh-audit-group--budgets #performance-budget tbody tr td:nth-child(4), | ||
.lh-audit-group--budgets #performance-budget tbody tr td:nth-child(5), | ||
.lh-audit-group--budgets #timing-budget tbody tr td:nth-child(3){ |
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.
.lh-audit-group--budgets #timing-budget tbody tr td:nth-child(3){ | |
.lh-audit-group--budgets #timing-budget tbody tr td:nth-child(3) { |
budgetsGroupEl.classList.add('lh-audit-group--budgets'); | ||
element.appendChild(budgetsGroupEl); | ||
const budgetsGroupEl = this.renderAuditGroup(groups.budgets); | ||
let showBudgetsGroup; |
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.
might be better to have a budgetTableEls
array, push to it ~L176 (instead of append to budgetsGroupEl
), and check it's non-empty before creating budgetsGroupEl
.
Bumping this up for review. |
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.
LGTM!
Adds
timing-budget
to default config & renders table when applicable.Related Issues/PRs
Issue: #8917