Skip to content

refactor(renderer): organize sidebar and component ownership - #43611

Merged
nwparker merged 1 commit into
mainfrom
module-layout-v2/sidebar-components-ef2daeee
Nov 17, 2026
Merged

nwparker merged 1 commit into
mainfrom
module-layout-v2/sidebar-components-ef2daeee

Conversation

@nwparker

@nwparker nwparker commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Make the renderer folder tree show which feature owns each component, rather than keeping hundreds of unrelated files at the component and sidebar roots.

What Changed

  • Move a cohesive set of sidebar and component modules into concrete owners such as sidebar chrome, workspace actions, workspace cards, setup guidance, file actions, agent status, and feature dialogs.
  • Update callers, fixture discovery, CSS source paths, runner/resource references, and existing ratchet owner paths. Explicit file scopes preserve the exact existing 1,283 protected translation keys; the protection catalog is unchanged.
  • Use direct defining-owner imports and retire forwarding facades. Preserve implementation bodies, module initialization, React identity, and fixture/golden contents.
  • Apply the repository test policy to touched tests, preserving support code and documenting intentional alarm losses without claiming replacement coverage.

Why

Flat directories hide ownership and make related code harder to navigate. This larger cohesive batch continues the maintainer-directed module-layout cleanup.

Linked Issue

Maintainer-directed cleanup; no existing linked issue.

Visual Proof

N/A — file placement and import/reference updates preserve rendered UI and interactions.

Testing

  • I manually tested these changes locally
  • Automated tests added/updated, or explained why not below
  • Every added test fails without this change and avoids the test anti-patterns

No tests added. Existing tests move or are retired under repository policy; removed alarms have no claimed replacement coverage. Independent audits cover retained production/test/support bodies, concrete imports, initialization order, runner/fixture/resource closure, and incoming main changes. The 24 selected owning-layer test files passed (58 cases). The broad local unit selection exceeded the scoped validation window; its two development-rebuild watcher tests also fail identically in an isolated pristine-main checkout. That temporary checkout used shared dependencies and was removed. No full local unit pass is claimed. All 43 active hosted checks passed (23 skipped by existing selection), including the full unit matrix, packaging, WSL, SSH and rendered E2E jobs. Packaging and unit shard 11 passed a targeted retry without source changes. Immediately before push, ORCA_BACKGROUND_LAUNCH=1 pnpm check:changed --base=origin/main --timeout=3 passed all 41 non-unit checks; the broad unit phase timed out at three minutes (181.4 seconds total). This is scoped local evidence, with the full hosted matrix required before merge.

Risk

Level: Medium

An incorrect relative import or discovery path could prevent a component, fixture, or retained test from loading. Ratchet metadata must continue to describe the same owners and counts. Independent conservation checks and local/hosted validation cover those boundaries. No saved-data, wire-format, shortcut, process, or UI behavior changes are intended. A plain revert restores this batch.

Review

Independent source conservation, test-policy, eager-evaluation, caller/resource, and actual-parent carry reviews. Detailed evidence remains local.

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Local/remote, mobile, folder-workspace, and cross-platform behavior is preserved. WSL-related catalog references change paths only. No planning documents are committed.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • I stated the risk: what could break, for whom, and how to back it out
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

This intentionally uses a larger cohesive batch. Manual UI testing is N/A.

@nwparker
nwparker merged commit 1fadf2a into main Nov 17, 2026
109 of 112 checks passed
audichuang added a commit to audichuang/orca that referenced this pull request Nov 18, 2026
Upstream regrouped tests/e2e by feature (stablyai#43628) and moved renderer, IPC and web modules into owner
folders (stablyai#43339, stablyai#43403, stablyai#43435, stablyai#43476, stablyai#43528, stablyai#43575, stablyai#43611). Fork imports, including string
vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines). The fork's
own e2e helpers moved with tests/e2e/helpers into tests/e2e/desktop/electron-fixtures (GONE lines):
the fork specs import them there, read the fixture script from that folder, take expect from
@stablyai/playwright-test since orca-app no longer re-exports it, and the scenario context reads
upstream's file-explorer helper from tests/e2e/editor/file-explorer.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 18, 2026
…yCombo's own styles

Upstream stablyai#43611 moved ShortcutKeyCombo into components/ui, where the design-system rule forbids restyling it. The tooltip passes only keys and doubleTap, as upstream's own tooltips do.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 19, 2026
Upstream regrouped tests/e2e by feature (stablyai#43628) and moved renderer, IPC and web modules into owner
folders (stablyai#43339, stablyai#43403, stablyai#43435, stablyai#43476, stablyai#43528, stablyai#43575, stablyai#43611). Fork imports, including string
vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines). The fork's
own e2e helpers moved with tests/e2e/helpers into tests/e2e/desktop/electron-fixtures (GONE lines):
the fork specs import them there, read the fixture script from that folder, take expect from
@stablyai/playwright-test since orca-app no longer re-exports it, and the scenario context reads
upstream's file-explorer helper from tests/e2e/editor/file-explorer.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 19, 2026
…yCombo's own styles

Upstream stablyai#43611 moved ShortcutKeyCombo into components/ui, where the design-system rule forbids restyling it. The tooltip passes only keys and doubleTap, as upstream's own tooltips do.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
Upstream regrouped tests/e2e by feature (stablyai#43628) and moved renderer, IPC and web modules into owner
folders (stablyai#43339, stablyai#43403, stablyai#43435, stablyai#43476, stablyai#43528, stablyai#43575, stablyai#43611). Fork imports, including string
vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines). The fork's
own e2e helpers moved with tests/e2e/helpers into tests/e2e/desktop/electron-fixtures (GONE lines):
the fork specs import them there, read the fixture script from that folder, take expect from
@stablyai/playwright-test since orca-app no longer re-exports it, and the scenario context reads
upstream's file-explorer helper from tests/e2e/editor/file-explorer.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
…yCombo's own styles

Upstream stablyai#43611 moved ShortcutKeyCombo into components/ui, where the design-system rule forbids restyling it. The tooltip passes only keys and doubleTap, as upstream's own tooltips do.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
Upstream regrouped tests/e2e by feature (stablyai#43628) and moved renderer, IPC and web modules into owner
folders (stablyai#43339, stablyai#43403, stablyai#43435, stablyai#43476, stablyai#43528, stablyai#43575, stablyai#43611). Fork imports, including string
vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines). The fork's
own e2e helpers moved with tests/e2e/helpers into tests/e2e/desktop/electron-fixtures (GONE lines):
the fork specs import them there, read the fixture script from that folder, take expect from
@stablyai/playwright-test since orca-app no longer re-exports it, and the scenario context reads
upstream's file-explorer helper from tests/e2e/editor/file-explorer.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
…yCombo's own styles

Upstream stablyai#43611 moved ShortcutKeyCombo into components/ui, where the design-system rule forbids restyling it. The tooltip passes only keys and doubleTap, as upstream's own tooltips do.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
Upstream regrouped tests/e2e by feature (stablyai#43628) and moved renderer, IPC and web modules into owner
folders (stablyai#43339, stablyai#43403, stablyai#43435, stablyai#43476, stablyai#43528, stablyai#43575, stablyai#43611). Fork imports, including string
vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines). The fork's
own e2e helpers moved with tests/e2e/helpers into tests/e2e/desktop/electron-fixtures (GONE lines):
the fork specs import them there, read the fixture script from that folder, take expect from
@stablyai/playwright-test since orca-app no longer re-exports it, and the scenario context reads
upstream's file-explorer helper from tests/e2e/editor/file-explorer.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
…yCombo's own styles

Upstream stablyai#43611 moved ShortcutKeyCombo into components/ui, where the design-system rule forbids restyling it. The tooltip passes only keys and doubleTap, as upstream's own tooltips do.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 21, 2026
Upstream regrouped tests/e2e by feature (stablyai#43628) and moved renderer, IPC and web modules into owner
folders (stablyai#43339, stablyai#43403, stablyai#43435, stablyai#43476, stablyai#43528, stablyai#43575, stablyai#43611). Fork imports, including string
vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines). The fork's
own e2e helpers moved with tests/e2e/helpers into tests/e2e/desktop/electron-fixtures (GONE lines):
the fork specs import them there, read the fixture script from that folder, take expect from
@stablyai/playwright-test since orca-app no longer re-exports it, and the scenario context reads
upstream's file-explorer helper from tests/e2e/editor/file-explorer.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 21, 2026
…yCombo's own styles

Upstream stablyai#43611 moved ShortcutKeyCombo into components/ui, where the design-system rule forbids restyling it. The tooltip passes only keys and doubleTap, as upstream's own tooltips do.
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