Skip to content

fix(desktop): preserve pane state and explicit file activation - #185

Merged
bketelsen merged 2 commits into
mainfrom
fix/desktop-panes-review
Nov 11, 2026
Merged

bketelsen merged 2 commits into
mainfrom
fix/desktop-panes-review

Conversation

@bketelsen

@bketelsen bketelsen commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Preserve Tags expansion through refresh and sorting; reject stale Tags, Properties, Tasks, and Search responses. Reveal a file before renaming it. Files uses explicit click/Enter activation, supports middle-click to a new tab, and persists expanded folders only after changes. The status bar offers Reading view, Live Preview, and Source mode directly.

Depends on frostyard/frostui#7, pinned to its tested commit. The Flatpak module sources are regenerated.

Closes #152. Closes #153. Closes #167. Closes #168. Closes #169. Closes #170. Closes #171.

Risk tier

Risk tier: 2 — desktop interaction changes. No matched risk paths (default L3). Generation checks only discard obsolete requests; all mutations still use the existing document and workspace paths.

Verification

  • mise exec -- make check, make desktop-build, and go test -race ./internal/desktop/panes ./internal/desktop/window passed.
  • Reverting pane behavior (retaining the new rebuild entry point for compilation) fails the regression tests for out-of-order requests, tag expansion, rename, activation, and allocation-free idle persistence.
  • Tests exercise the real mode menu and verify keyboard selection, Enter, and middle-click destinations.
  • frostui's complete CI gate passed, including cross-platform builds, Wasm, and race checks.

Merge order

Stacked on #184; merge that PR first, then retarget this PR to main. Preserve ancestry with merge commits, or rebase the remaining branches after a squash merge. Full order: #181 → #182 → #183 → #184 → #185 → #186 → #188 → #187 → #189 → #190.
The final branch contains the combined fixes. CI and Flatpak workflows were dispatched on that branch because PR CI is restricted to a main base.

@github-actions github-actions Bot added the level:L3 Skim label Nov 11, 2026
# Conflicts:
#	internal/desktop/window/window_test.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:L1 Read every line risk:high Touches a path in .github/risk-paths.json

Projects

None yet

1 participant