-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Removing iconochive #9310
Removing iconochive #9310
Conversation
@danwoods could you make a table of before, after, and difference the CSS files? I think you can do this by asking chatgpt :) if it's too much work don't worry |
|
@danwoods thanks. I realize @cdrini gave some wrong instructions. I ran did this and here are the results - a bit more in line with what we'd expect:
So, in this case, you can update the bundlesizes for just these few files to be a tiny bit smaller. Thanks! |
@RayBB Updated bundlesize.config.json with new sizes. That caused the tests ( ─ static/build/page-admin.css ─ static/build/page-book.css ─ static/build/page-edit.css ─ static/build/page-form.css ─ static/build/page-home.css ─ static/build/page-plain.css ─ static/build/page-subject.css ─ static/build/page-user.css 23 checks passed, 3 checks failed ie: Saying 13.32KB > 13.32KB My assumption is there's some sub KB difference. I rounded the file sizes up to the next KB (the original issue said to add 1KB) and that allowed all tests to pass. Let me know if that's not the correct approach/thinking or if there's anything else! |
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.
Sounds like the right approach to me now we just need staff to merge!
Awesome nice work folks! 🥳 |
Closes #9262
refactor
Technical
The new file sizes are larger than the current
maxsize
s inbundlesize.config.json
.Testing
Searching for
iconochive
should return no results.Screenshot
Stakeholders
@cdrini
@scottbarnes
Additional Notes:
Stats before deletion:
Deleted mentioned files and removed references in mentioned files. Now nothing comes up when searching the codebase for “iconochive”.
Re-ran
make css
anddu -sh static/build/page-*.css
Stats after deletion:
Updated
bundlesize.config.json
references. NOTE Many of the existingmaxSize
s were much smaller than the new sizes.Clicked around. Not super familiar with the site, but nothing looked esp broken.
Ran tests. All passed.