Skip to content

Reduce page size and number of DOM elements on clippy lints page #15140

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

Merged

Conversation

GuillaumeGomez
Copy link
Member

This is the first pass of "reducing the size of the clippy lints page" I'm currently going through. This first one reduces the size page but mostly reduces the number of DOM elements.

Page size change:

  • Before this PR: 1938957
  • With this PR: 1876167
  • Reduction: -3.2%

r? @Alexendoo

changelog: Reduce page size and number of DOM elements on clippy lints page

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jun 25, 2025
@GuillaumeGomez
Copy link
Member Author

r? @samueltardieu

@rustbot rustbot assigned samueltardieu and unassigned Alexendoo Jul 4, 2025
@samueltardieu samueltardieu added this pull request to the merge queue Jul 4, 2025
@samueltardieu
Copy link
Contributor

Looks fine visually

Merged via the queue into rust-lang:master with commit da2f0ad Jul 4, 2025
8 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jul 4, 2025
@GuillaumeGomez GuillaumeGomez deleted the reduce-clippy-lints-page-size branch July 4, 2025 11:34
github-merge-queue bot pushed a commit that referenced this pull request Jul 4, 2025
Follow-up of #15140.

This time, I removed some unneeded `<span>` wrappings and some unneeded
CSS classes. As usual, no changes in the UI.

Before this PR: 1876091
With this PR: 1751097
Reduction: -6.6%

r? @samueltardieu

changelog: Reduce page size and number of DOM elements on clippy lints
page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants