Skip to content

Split Activity page responsibilities - #17283

Merged
nwparker merged 80 commits into
mainfrom
ra/max-lines-bottom-35-activity-prototype
Aug 30, 2026
Merged

nwparker merged 80 commits into
mainfrom
ra/max-lines-bottom-35-activity-prototype

Conversation

@nwparker

@nwparker nwparker commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 0 0 0 0
Prod 16 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2040 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1752 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​288

Summary

  • Split the 2,074-line Activity prototype page into a 391-line controller/facade plus focused event derivation, thread grouping/search, portal readiness, actions, controls, list/detail, and presentation modules.
  • Preserve the exact 16-symbol public facade, top-level component fiber, hook/effect order, Activity DOM/JSX leaves, store behavior, terminal portal routing, keyboard shortcut handling, and auto-read fencing.
  • Remove the Activity page max-lines suppression and reduce the baseline from 52 to 51 entries; every new .ts module is at or below 294 lines and every new .tsx module is at or below 224 lines.

Verification

  • pnpm tc
  • pnpm tc:web
  • pnpm test src/renderer/src/components/activity — 14 files, 65 tests
  • default, native-plugin, and type-aware Oxlint on all changed Activity modules
  • pnpm run check:code-quality:changed — zero new findings
  • pnpm check:max-lines-ratchet — 51 grandfathered suppressions
  • pnpm check:runtime-electron-ratchet
  • pnpm run check:reliability-gates — 99 gates
  • git diff --check

Preservation audit

  • Exact 16-symbol public export surface.
  • Exact 43 non-suppression comments and 376 non-import literals.
  • Exact 120 original JSX elements after excluding only the two new composition boundaries and normalizing the internal row component name.
  • Exact hook call sequence for the page, portal-readiness hook, and delayed-loading hook.
  • 19-node / 42-edge Activity module graph with no cycles.

Electron validation

Validated the intended worktree through the real Activity surface with an isolated Electron profile. The rendered UI visibly exercised empty and populated states, status grouping, response previews, selected-thread detail, the closed-terminal state, auto-read/unread-count behavior, and the macOS ⌘F filter shortcut. Backing store acknowledgement matched the visible unread transition. The renderer reported zero errors; the isolated process group, ports, profile, and config were cleaned up.

…lines-bottom-20-cdp-bridge

# Conflicts:
#	src/main/browser/cdp-bridge.ts
…ax-lines-bottom-25-remote-terminal-multiplexer
…ottom-32-settings

# Conflicts:
#	src/renderer/src/components/settings/Settings.tsx
…5-activity-prototype

# Conflicts:
#	src/renderer/src/hooks/automation-dispatch-completion.ts
@nwparker
nwparker changed the base branch from ra/max-lines-bottom-34-codex-account-service to main August 30, 2026 03:24
@coderabbitai

coderabbitai Bot commented Aug 30, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 9 minutes.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ac0de90f-e411-47a7-87bb-0940d8d501f3

📥 Commits

Reviewing files that changed from the base of the PR and between 42857f7 and 97aa739.

📒 Files selected for processing (16)
  • config/max-lines-baseline.txt
  • src/renderer/src/components/activity/ActivityPrototypePage.tsx
  • src/renderer/src/components/activity/activity-event-builder.ts
  • src/renderer/src/components/activity/activity-event-cap.ts
  • src/renderer/src/components/activity/activity-filter-focus-shortcut.ts
  • src/renderer/src/components/activity/activity-prototype-page-exports.ts
  • src/renderer/src/components/activity/activity-terminal-portal-status.ts
  • src/renderer/src/components/activity/activity-thread-actions.ts
  • src/renderer/src/components/activity/activity-thread-builder.ts
  • src/renderer/src/components/activity/activity-thread-controls.tsx
  • src/renderer/src/components/activity/activity-thread-detail-pane.tsx
  • src/renderer/src/components/activity/activity-thread-grouping.ts
  • src/renderer/src/components/activity/activity-thread-list-pane.tsx
  • src/renderer/src/components/activity/activity-thread-presentation.ts
  • src/renderer/src/components/activity/activity-thread-row.tsx
  • src/renderer/src/components/activity/activity-thread-types.ts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nwparker
nwparker merged commit d903d07 into main Aug 30, 2026
4 of 20 checks passed
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* Split speech session lifecycle

* Split terminal output scheduler pipeline

* Split mobile browser pane modules

* Prune resolved max-lines suppressions

* Split pane tree equalization logic

* Extract mobile troubleshoot screen styles

* Split external automation manager

* Split main window service attachments

* Split hosted review creation checks

* Split automation dispatch event handling

* Split settings navigation metadata

* Split daemon initialization lifecycle

* Split GitLab item dialog

* Split relay dispatcher layers

* Split mobile host screen

* Retarget mobile view settings source test

* Split runtime file client layers

* Split ports panel layers

* Split runtime environments pane layers

* Split local PTY provider responsibilities

* Split CDP bridge responsibilities

* Split relay Git handler responsibilities

* Track moved relay Git fetch audit

* Split Linear item drawer responsibilities

* Split telemetry event schema responsibilities

* Split resource usage status responsibilities

* Split remote terminal multiplexer responsibilities

* Split Git worktree responsibilities

* Split Codex hook service responsibilities

* Keep mirrored hook trust type private

* Split web runtime session responsibilities

* Split GitHub project view read path

* Split Claude runtime auth responsibilities

* Split runtime RPC server responsibilities

* Split Settings page responsibilities

* Split filesystem watcher responsibilities

* refactor codex account service modules

* fix duplicate managed home path import

* Split activity page responsibilities

* Fix F3-speech for stablyai#17123

* Fix F1-cycle for stablyai#17131

* Fix F4-navtest for stablyai#17157

* Fix F2-allowlist for stablyai#17161

* Fix F7F8-codex for stablyai#17277
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