Skip to content

refactor(ui): replace generators with arrays - #11264

Closed
hi-ogawa wants to merge 7 commits into
mainfrom
ui-filter-arrays
Closed

hi-ogawa wants to merge 7 commits into
mainfrom
ui-filter-arrays

Conversation

@hi-ogawa

@hi-ogawa hi-ogawa commented Sep 14, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Another UI pure refactoring.

The explorer filtering/expand/collapse helpers used generators, but all use cases immediately consumed the complete result, so there's no benefit over simple array based routine and it simply made the control flow difficult to understand.

This PR proposes replacing these generators use with explicit array construction everywhere.

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 September 14, 2026 18:23
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
@netlify

netlify Bot commented Sep 14, 2026

Copy link
Copy Markdown

✅ Deploy Preview for vitest-dev ready!

Name Link
🔨 Latest commit 0ec87ca
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/6aa7be90898ed500085df20a
😎 Deploy Preview https://deploy-preview-11264--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.

@hi-ogawa hi-ogawa changed the title refactor(ui): replace explorer generators with refactor(ui): replace generators with arrays Sep 14, 2026
hi-ogawa and others added 5 commits September 14, 2026 18:42
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>

# Conflicts:
#	packages/ui/client/composables/explorer/expand.ts
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
@hi-ogawa
hi-ogawa marked this pull request as ready for review September 15, 2026 02:11
@hi-ogawa
hi-ogawa added this pull request to stack #11272 September 15, 2026 02:26
@hi-ogawa
hi-ogawa removed this pull request from stack #11272 September 15, 2026 02:28
@hi-ogawa

Copy link
Copy Markdown
Collaborator Author

@hi-ogawa hi-ogawa closed this Sep 15, 2026
@hi-ogawa
hi-ogawa deleted the ui-filter-arrays branch September 15, 2026 02:29
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant