-
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
report: clean up more clump/group/expandable crossover noise #6982
Conversation
what a beauty. |
@@ -409,12 +395,18 @@ class CategoryRenderer { | |||
} | |||
|
|||
// Render each clump. | |||
for (const [clumpId, clumpRefs] of clumps) { | |||
if (clumpRefs.length === 0) continue; | |||
for (const [clumpId, auditRefs] of clumps) { |
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.
using a loop when we have a fixed set of clumps is still kind of dumb, but manually unrolling the loop is just slightly worse, so still going with this
This should also make #6974 quite a bit easier (no need for |
6c82f88
to
bb38960
Compare
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.
nice! travis wants pwa-category-renderer updated FYI
I blame Paul's cherry picking skills :P I'll fix. |
ok, jk, that was my fault :) |
bb38960
to
744fb1a
Compare
works on top of #6930
@paulirish this is how far I think the simplification can go.
Gets rid of all
expandable
true/false business, groups and clumps that are<divs>
and others that are<details>
, etc. Clumps still use the group class names, but no longer userenderAuditGroup
to make themselves.