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

Allow filtering the list of entrypoints #624

Merged

Conversation

chriskrogh
Copy link
Contributor

Why is this change needed?

#622

What does this change do?

  • Allows users to filter entry points from the dropdown

Screenshots

Before
Screen.Recording.2023-11-09.at.7.15.13.AM.mov
After
Screen.Recording.2023-11-10.at.10.04.19.AM.mov

Copy link

linux-foundation-easycla bot commented Nov 10, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

};

componentDidMount() {
document.addEventListener('click', this.handleClickOutside, true);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

couldn't use onBlur since clicking an option would hide the list before the click event was fired

Copy link
Member

@valscion valscion left a comment

Choose a reason for hiding this comment

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

Looks cool! I'll take a closer look at the code changes soon. In the meantime, could you add a changelog entry for this change?

@chriskrogh
Copy link
Contributor Author

Looks cool! I'll take a closer look at the code changes soon. In the meantime, could you add a changelog entry for this change?

Thanks! Done.

Copy link
Member

@valscion valscion left a comment

Choose a reason for hiding this comment

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

Thanks, this is definitely an improvement!

@valscion valscion changed the title Filter entry points Allow filtering the list of entrypoints Nov 14, 2023
@valscion valscion merged commit 4f52add into webpack-contrib:master Nov 14, 2023
6 checks passed
@valscion
Copy link
Member

Released in v4.10.0! ☺️

huozhi pushed a commit to vercel/next.js that referenced this pull request Jan 7, 2024
webpack-contrib/webpack-bundle-analyzer#624 was
merged and released in 4.10.0 and I'd like to leverage this change in
`@next/bundle-analyzer`
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.

None yet

3 participants