Skip to content

Fix desktop build and streamline thread UI#334

Merged
BunsDev merged 2 commits into
mainfrom
okcode/run-desktop-build
Apr 7, 2026
Merged

Fix desktop build and streamline thread UI#334
BunsDev merged 2 commits into
mainfrom
okcode/run-desktop-build

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 7, 2026

Summary

  • Fix the desktop build/runtime cleanup by removing stale imports and dead code paths across the chat, sidebar, and widget shells.
  • Improve terminal behavior with lazy-loaded drawer rendering, a loading fallback, safer terminal history replay, and file-link handling that opens in the code viewer.
  • Tighten persistence/snapshot handling by parsing stored GitHub refs defensively and updating related tests for the new behavior.
  • Clean up image loading and connection indicator implementation details to reduce runtime edge cases.

Testing

  • bun fmt
  • bun lint
  • bun typecheck
  • Not run: bun run test

- Harden screenshot image loading cleanup
- Simplify thread snapshot hydration and sidebar props
- Fix widget notification event typing and test rename
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 7, 2026 4:45am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 7, 2026 4:45am

* Clean up merged worktrees after thread deletion

- Add merged worktree candidate detection and prune support
- Auto-remove orphaned worktrees after merged thread cleanup
- Surface cleanup state through the web client and WS contract

* Add merged worktree cleanup dialog

- Add a command-palette entry to review merged worktrees
- Let users delete on-disk worktrees or prune stale Git records
- Wire the dialog into the chat route and auto-delete flow

* Improve merged worktree cleanup feedback

- Use the active thread to choose the cleanup project
- Rename prune action for stale records
- Show an error toast when merged thread auto-delete fails

* Format worktree cleanup and prune call

- Reflow worktree cleanup dialog strings and layout
- Reformat Git worktree prune call for consistency

* Simplify merged worktree cleanup handling

- Ignore prune failures silently during worktree cleanup
- Add explicit git operation labels for merged-worktree cleanup calls
@github-actions github-actions Bot added size:XL and removed size:M labels Apr 7, 2026
@BunsDev BunsDev merged commit b8a8917 into main Apr 7, 2026
10 of 11 checks passed
BunsDev added a commit that referenced this pull request Apr 7, 2026
* Fix desktop build and runtime cleanup

- Harden screenshot image loading cleanup
- Simplify thread snapshot hydration and sidebar props
- Fix widget notification event typing and test rename

* Prune merged worktrees after thread cleanup (#335)

* Clean up merged worktrees after thread deletion

- Add merged worktree candidate detection and prune support
- Auto-remove orphaned worktrees after merged thread cleanup
- Surface cleanup state through the web client and WS contract

* Add merged worktree cleanup dialog

- Add a command-palette entry to review merged worktrees
- Let users delete on-disk worktrees or prune stale Git records
- Wire the dialog into the chat route and auto-delete flow

* Improve merged worktree cleanup feedback

- Use the active thread to choose the cleanup project
- Rename prune action for stale records
- Show an error toast when merged thread auto-delete fails

* Format worktree cleanup and prune call

- Reflow worktree cleanup dialog strings and layout
- Reformat Git worktree prune call for consistency

* Simplify merged worktree cleanup handling

- Ignore prune failures silently during worktree cleanup
- Add explicit git operation labels for merged-worktree cleanup calls
BunsDev added a commit that referenced this pull request Apr 7, 2026
* Add stale worktree pruning to sidebar

- Add a sidebar entry to open worktree cleanup
- Show merged PR links and merge age in the dialog
- Add bulk prune for stale records and cover age formatting

* Fix desktop build and streamline thread UI (#334)

* Fix desktop build and runtime cleanup

- Harden screenshot image loading cleanup
- Simplify thread snapshot hydration and sidebar props
- Fix widget notification event typing and test rename

* Prune merged worktrees after thread cleanup (#335)

* Clean up merged worktrees after thread deletion

- Add merged worktree candidate detection and prune support
- Auto-remove orphaned worktrees after merged thread cleanup
- Surface cleanup state through the web client and WS contract

* Add merged worktree cleanup dialog

- Add a command-palette entry to review merged worktrees
- Let users delete on-disk worktrees or prune stale Git records
- Wire the dialog into the chat route and auto-delete flow

* Improve merged worktree cleanup feedback

- Use the active thread to choose the cleanup project
- Rename prune action for stale records
- Show an error toast when merged thread auto-delete fails

* Format worktree cleanup and prune call

- Reflow worktree cleanup dialog strings and layout
- Reformat Git worktree prune call for consistency

* Simplify merged worktree cleanup handling

- Ignore prune failures silently during worktree cleanup
- Add explicit git operation labels for merged-worktree cleanup calls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant