Skip to content

Feat/focus mode#76

Merged
johannesjo merged 5 commits intomainfrom
feat/focus-mode
Apr 19, 2026
Merged

Feat/focus mode#76
johannesjo merged 5 commits intomainfrom
feat/focus-mode

Conversation

@johannesjo
Copy link
Copy Markdown
Owner

Description

Describe what this change achieves

Issues Resolved

List any existing issues this PR resolves

Check List

  • New functionality includes testing.
  • New functionality has been documented in the README if applicable.

Temporary instrumentation to isolate which boundary drops data when
steps.json "does not always seem to be read properly". Logs:
- [steps.watch] fs.watch event + filename
- [steps.send] backend read result length
- [steps.recv] renderer IPC receipt length
- Drag uses a local preview signal; commit to store.panelSizes only on mouseup
  (autosave no longer re-serializes the full snapshot per mousemove).
- updateViewportState early-returns in focus mode; hidden panels no longer
  misclassify as "visible" via their inset:0 rects.
- Restore path: if focusMode loads with a stale activeTaskId, fall back to the
  first task (or drop focusMode if none remain) to avoid a blank strip.
- setPanelSizes wraps writes in batch() so wheel-resize-all fires one reactive
  pass instead of one per panel.
- Delete unreachable showSpacer branch; placeholder is always the trailing
  fixed panel so the spacer path never triggers.
- Explicit 'visible'/'auto' instead of undefined for focus-mode wrapper style.
@johannesjo johannesjo merged commit 8bdb7f8 into main Apr 19, 2026
2 checks passed
@johannesjo johannesjo deleted the feat/focus-mode branch April 19, 2026 20:27
johannesjo added a commit to linniksa/parallel-code that referenced this pull request Apr 19, 2026
* origin/main:
  Feat/focus mode (johannesjo#76)
  Add existing worktree import flow (johannesjo#16)

# Conflicts:
#	electron/ipc/channels.ts
#	electron/ipc/register.ts
#	electron/preload.cjs
#	src/components/EditProjectDialog.tsx
#	src/store/tasks.ts
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