Skip to content

feat(workspace): add modules and adaptive thread details - #641

Merged
nixuuu merged 1 commit into
feat/workspace-file-tabsfrom
feat/workspace-modules
Nov 13, 2026
Merged

nixuuu merged 1 commit into
feat/workspace-file-tabsfrom
feat/workspace-modules

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Final integration rebase including history/fold recovery

Rebased all seven layers of stack #643 onto dev 8e78568c7e86c188039743dde6cb879c34de4a6e, including #671 provider warnings, #673 reconnect/backoff, #670 connector refresh, #674 deterministic steer recovery and #672 empty-work/history recovery. Two thread-page conflicts were resolved in their introducing stages: preserve the conversation/file tab wrapper together with history loading rows/actions, prefetch, fold synchronization/coverage, diagnostics and scroll anchors. Feed, history and fold implementation files retain the merged dev behavior. Earlier generated-descriptor conflicts were resolved through bun run gen; proto additions and field numbers are preserved. The independently confirmed five workspace fixes are unchanged. No pending Git or gh-stack rebase operation.

Verification scope on the final heads: install, explicit gen, gen:check, full typecheck, lint, format:check, production web build and focused workspace/feed tests at every stage. Commands run detached with setsid nohup and nice; heavy files run serially through check:tmp. Stage 2 integration files: thread-file-previews.test.ts, computer-relay.test.ts. Existing feed logic files: feed-rows.test.ts, work-history-gaps.test.ts. No UI/component test suite added.

All seven PRs remain ready as requested. The maintainer merges the complete stack after CI is green on every head; no merge is performed here. Device check remains pending as previously authorized. No product copy change in this integration rebase.

Everything below is historical evidence from before this final integration rebase, including earlier draft statuses and export/fingerprint measurements.

Change

Stage 2 of the approved seven-stage workspace stack, based on #640. The header's + opens Pull requests, Tasks or Connectors in a full tab. The right icon rail selects a minimal module, whose header offers a module chip, +, Open in tab and Collapse panel. Tab and panel metadata stay local to the device.

Thread details dock by default when the panel has no module. Selecting a module leaves details closed behind their header button; the floating card closes on outside click or Escape and returns focus. Narrow layouts use separate bottom sheets. The panel supports keyboard/pointer resizing and respects the available main-area width. Existing PR refresh content retention and shared reads remain in use; task output can occupy a full tab. Mobile mirrors the module/switcher/sheet model with the native viewer and editor.

Related: #613

Current-head rebase verification

Rebased onto corrected stage 1 and dev 4bb71c80142e0c1d0616502ce428ca2bf19d8cad, retaining merged thread scroll memory and default tool-group folding. Current-head install, gen:check, full typecheck, lint, format:check, production web build and iOS/Android exports passed with nice; both nightly native fingerprints match dev. Current-head CI is green, including all four test shards. Initial thread JS is 768,471 gzip bytes versus dev 756,367: cumulative +11.82 KiB, within the 15 KiB budget.

The final stack head was reviewed again in a production browser on the separate review machine in light/dark at 1440/820/390 px. The summary docks without an active module, floats when Files occupies the desktop panel, and opens as a sheet at narrow/phone widths; Escape closes it. Files panel/sheet, long names and the phone tab-switcher sheet were inspected with no horizontal page overflow. No new UI copy in the rebase; the original copy audit remains applicable. Device check pending. This PR remains a draft in stack #643; full-suite fallback and serial corrective evidence are recorded in #648.

Earlier implementation verification (historical)

  • Passed with nice: install, gen:check, typecheck, lint, format:check and production web build. Full check:tmp: 2759 passed, 166 skipped, 0 failed; temporary directory clean. No protocol/database changes and no UI test suite.
  • Both final iOS/Android exports passed. Fingerprints unchanged from the dev baseline: iOS 6ddec9ef559ee0095ac33e94ff9418a942053b17, Android 5f6eae3ab278f1cd543e9ed763f923a319b65ec9 (CANOPY_CHANNEL=nightly). No native dependency/configuration changes.
  • Device check pending: Device support remains unavailable. The maintainer authorized continuing with typecheck, both exports and unchanged fingerprints. Consolidated device review is required before merging the stack; native runtime/performance and PR scroll restoration are not claimed as verified.
  • Real browser: light/dark, 1440/1280/900/390/320 px, short and long thread/tab names; module toggles, maximize into a tab, close module → details dock, floating details placement, outside/Escape and focus restoration, collapse/restore, keyboard resize bounds and narrow sheets. Linux window-control CSS reserves were checked; Electron runtime was not launched. Two review setups were already running on the second machine, so this stage used the authorized local fallback.
  • Thread-route initial JS: 766900 bytes gzip versus 754751 baseline; cumulative +12149 bytes (11.9 KiB), within 15 KiB. Production browser, 1440×900, 100 warm Thread/Tasks switches after 10 warm-ups: p50 32.2 ms / p95 32.4 ms, budget 50 ms, zero thread API requests during the sample. The local integration run was still active; these results do not replace the final paired streaming/resource scenario. No initial editor/grammar dependency added.
  • Authenticated PR mutations were not exercised: the private fixture has no linked account. Existing gateway/integration coverage and retained PR components cover the unchanged contract; a real-account flow remains a final QA gap.

This PR stays a draft. The maintainer merges all seven stages together after complete verification.

Copy audit — docs/copy.md §8

  • Mixed thread-panel sections → Pull requests, Tasks and Connectors with a separate Thread details surface. Existing glossary terms stay intact.
  • Ambiguous panel actions → Open sidebar module, Open in tab, Close module and Collapse panel. Icon labels describe the same action as their tooltips; the chip retains an accessible full label when truncated.
  • Missing task history → a short explanation and instruction to open Tasks. Module tab limit errors explain the limit and ask to close a tab. Existing permission/offline notices remain actionable.
  • No humorous copy or inspiration references. Short/long labels and header controls were checked in both themes and at desktop/narrow/phone widths; native device coverage is pending as stated above.

@nixuuu
nixuuu added this pull request to stack #643 November 13, 2026 13:37
@nixuuu
nixuuu force-pushed the feat/workspace-modules branch 4 times, most recently from fe31c19 to 84d0d58 Compare November 13, 2026 20:27
@nixuuu
nixuuu marked this pull request as ready for review November 13, 2026 20:39
@nixuuu
nixuuu force-pushed the feat/workspace-modules branch 2 times, most recently from 1bc26c1 to cc4e85b Compare November 13, 2026 22:29
@nixuuu
nixuuu force-pushed the feat/workspace-modules branch from cc4e85b to b64ef1f Compare November 13, 2026 22:41
@nixuuu
nixuuu merged commit 98e8a7a into dev Nov 13, 2026
16 of 18 checks passed
@nixuuu
nixuuu deleted the feat/workspace-modules branch November 13, 2026 23:01
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