Skip to content

feat: hidden modules - #103

Merged
evenstensberg merged 1 commit into
masterfrom
hidden-modules
Aug 28, 2026
Merged

feat: hidden modules#103
evenstensberg merged 1 commit into
masterfrom
hidden-modules

Conversation

@evenstensberg

Copy link
Copy Markdown
Member

Summary

The modules page gains a filter: a name substring or a /regexp/, and a switch for hiding node_modules. The state is shared with the module graph, so the table and the graph show the same thing and the filter survives a walk through single modules and chunks, where the legend says how much is being held back.

Whether a module is third-party is decided by its file rather than its whole name, or a source file built by a loader from node_modules would be hidden along with the loader.

The filter bar sits above a table that used to start at the window edge, which put the gutter question on the table: .page carries it now, so the pages that bring a container-fluid and the pages that are a bare table line up on the same left edge.

What kind of change does this PR introduce?

feature

Did you add tests for your changes?

N/A

Does this PR introduce a breaking change?

No

If relevant, what needs to be documented once your changes are merged or what have you already documented?

Yes all good.

Use of AI

Claude sketched out implementation, manually verified each step.

The modules page gains a filter: a name substring or a /regexp/, and a
switch for hiding node_modules. The state is shared with the module
graph, so the table and the graph show the same thing and the filter
survives a walk through single modules and chunks, where the legend says
how much is being held back.

Whether a module is third-party is decided by its file rather than its
whole name, or a source file built by a loader from node_modules would be
hidden along with the loader.

The filter bar sits above a table that used to start at the window edge,
which put the gutter question on the table: .page carries it now, so the
pages that bring a container-fluid and the pages that are a bare table
line up on the same left edge.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@evenstensberg
evenstensberg merged commit 64d4d1b into master Aug 28, 2026
5 checks passed
@evenstensberg
evenstensberg deleted the hidden-modules branch August 28, 2026 11:16
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.

1 participant