Skip to content

feat: toggle graph - #105

Merged
evenstensberg merged 1 commit into
masterfrom
toggle
Aug 28, 2026
Merged

feat: toggle graph#105
evenstensberg merged 1 commit into
masterfrom
toggle

Conversation

@evenstensberg

Copy link
Copy Markdown
Member

Summary

Both graph modules do their work as they load, so a page that requires one pays for the walk over every module, the sigma instance and the layout worker whether or not anyone wants to look at it. On a large enough build that is what takes the tab down, and forking the app to comment the graphs out was the only way around it.

The pages now reach a graph through a facade that keeps the require behind the setting, so a graph that is off is never built. The control sits under the graph, the choice is remembered in this browser, and a build of more than 5000 modules or chunks starts with the graphs off rather than teaching the setting by crashing.

Closes #38

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?

N/A

Use of AI

Claude on imp + even on watch

Both graph modules do their work as they load, so a page that requires one
pays for the walk over every module, the sigma instance and the layout
worker whether or not anyone wants to look at it. On a large enough build
that is what takes the tab down, and forking the app to comment the
graphs out was the only way around it.

The pages now reach a graph through a facade that keeps the require
behind the setting, so a graph that is off is never built. The control
sits under the graph, the choice is remembered in this browser, and a
build of more than 5000 modules or chunks starts with the graphs off
rather than teaching the setting by crashing.

Closes #38

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

[feature]Disabling the graphs

1 participant