Skip to content
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

Remove dead JS code #47574

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Remove dead JS code #47574

merged 1 commit into from
Oct 16, 2024

Conversation

gzdunek
Copy link
Contributor

@gzdunek gzdunek commented Oct 15, 2024

Removes a few unused components/hooks.

@gzdunek gzdunek added the no-changelog Indicates that a PR does not require a changelog entry label Oct 15, 2024
@gzdunek gzdunek requested a review from rudream October 15, 2024 15:20
@github-actions github-actions bot requested a review from kimlisa October 15, 2024 15:21
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did you discover that they are unused?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I accidentally found DocumentTitle. Then I started looking for other files using no-unused-modules eslint rule. I even wondered if we could enable this rule, but well, it would be a looot of work (as always hah).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I even wondered if we could enable this rule, but well, it would be a looot of work (as always hah).

As in there's a lot of other exports that are unused?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, there were over 360 errors.

@gzdunek gzdunek added this pull request to the merge queue Oct 16, 2024
github-merge-queue bot pushed a commit that referenced this pull request Oct 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Oct 16, 2024
@gzdunek gzdunek added this pull request to the merge queue Oct 16, 2024
Merged via the queue into master with commit 7b9e0d5 Oct 16, 2024
41 of 42 checks passed
@gzdunek gzdunek deleted the gzdunek/remove-more-dead-code branch October 16, 2024 12:15
mvbrock pushed a commit that referenced this pull request Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Indicates that a PR does not require a changelog entry size/sm ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants