Skip to content

refactor(ui): make explorer tree dependencies explicit - #10942

Draft
hi-ogawa wants to merge 2 commits into
vitest-dev:mainfrom
hi-ogawa:ui-explorer-model-refactor
Draft

refactor(ui): make explorer tree dependencies explicit#10942
hi-ogawa wants to merge 2 commits into
vitest-dev:mainfrom
hi-ogawa:ui-explorer-model-refactor

Conversation

@hi-ogawa

Copy link
Copy Markdown
Collaborator

Description

Resolves #issue-number

Pure refactoring of UI code to reduce singleton access and make data flow more explicit. Mostly mechanically done by agents. Not ready to land, but just seeing the diff like this already helps picturing the flow, so draft PR.

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.
  • Please check Allow edits by maintainers to make review process faster. Note that this option is not available for repositories that are owned by Github organizations.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

hi-ogawa and others added 2 commits August 13, 2026 17:57
Keep structural state ownership in ExplorerTree and pass explicit tree context to operation modules instead of importing the global singleton. Move direct result and timing mutations behind instance methods and remove the explorer state initialization cycle.

Co-authored-by: OpenCode <noreply@opencode.ai>
Inject task and configuration access through one explorer operation context, move shared client refs to a cycle-free leaf module, and keep structural containers private to ExplorerTree.

Co-authored-by: OpenCode <noreply@opencode.ai>
@netlify

netlify Bot commented Aug 13, 2026

Copy link
Copy Markdown

Deploy Preview for vitest-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 246f69c
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/6a7d8c93f0dbed0008a04b86
😎 Deploy Preview https://deploy-preview-10942--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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