Skip to content

fix(explore-3d): tighten default 3D filter to tutorial + mission (#2517) - #2542

Merged
jung-thomas merged 1 commit into
DEVfrom
worktree-explore-3d-default-tutmission-2517
Sep 29, 2026
Merged

jung-thomas merged 1 commit into
DEVfrom
worktree-explore-3d-default-tutmission-2517

Conversation

@jung-thomas

Copy link
Copy Markdown
Contributor

Follow-up to #2520. Tightens the initial 3D node-type filter so the /explore/ 3D view is faster and more readable.

Why

The prior default (tutorial + concept + mission) was 5,939 of 6,319 nodes (94%) — it barely filtered, so the 3D scene was slow. Measured against DEV's live /graph/explore-data:

type nodes
tutorial 2,843
concept 2,814
mission 282
discovery-mission 152
tag 145
video 83

Tutorials have no direct tutorial↔tutorial edges (0 measured) — they connect through concepts/missions. So tutorial-only would render 2,843 disconnected points. tutorial + mission is ~3,125 nodes (~50%): missions cluster tutorials into a connected, readable graph that performs noticeably better while keeping tutorials the focus.

Change

  • THREED_DEFAULT_TYPES → ['tutorial', 'mission'] (single named constant, App.vue).
  • concept (and everything else) remains one click away in the existing filter dropdown.
  • 2D all-on default unchanged. Flag KG_EXPLORE_3D_ENABLED still default-OFF.

Testing

  • Explore Vitest suite: 62/62 pass (App.test.ts case D updated to assert the 2-type default).
  • Verified live node/edge counts against DEV before choosing the default.

🤖 Generated with Claude Code

The prior default (tutorial + concept + mission) covered 5,939 of 6,319
nodes (94%), so it barely reduced the scene and the 3D view was slow.
Tutorials have no direct tutorial-to-tutorial edges (they connect through
concepts/missions), so tutorial-only would render as disconnected points.
tutorial + mission is ~3,125 nodes (~50%): missions cluster the tutorials
into a readable, connected graph that performs well.

2D all-on default unchanged. concept remains one dropdown click away.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@jung-thomas
jung-thomas merged commit 9348ba5 into DEV Sep 29, 2026
4 checks passed
@jung-thomas
jung-thomas deleted the worktree-explore-3d-default-tutmission-2517 branch September 29, 2026 18:24
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