Skip to content

fix(desktop): show session-scoped file changes in workspace panel#4026

Merged
esengine merged 1 commit into
esengine:main-v2from
warvyvr:main-v2
Jun 11, 2026
Merged

fix(desktop): show session-scoped file changes in workspace panel#4026
esengine merged 1 commit into
esengine:main-v2from
warvyvr:main-v2

Conversation

@warvyvr

@warvyvr warvyvr commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Two fixes for issue #4001:

  1. App.tsx: subscribe to onEvent turn_done and bump dockRefreshKey so WorkspacePanel/ContextPanel re-fetch after AI tool writes.

  2. WorkspacePanel.tsx:

    • Load app.WorkspaceChanges() alongside git history on refresh
    • Filter to sources: ['session'] — only files the agent actually wrote
    • Render session changes list above git history in 'changed' tab
    • Only show 'no changes' when both sources are empty

Two fixes for issue esengine#4001:

1. App.tsx: subscribe to onEvent turn_done and bump dockRefreshKey
   so WorkspacePanel/ContextPanel re-fetch after AI tool writes.

2. WorkspacePanel.tsx:
   - Load app.WorkspaceChanges() alongside git history on refresh
   - Filter to sources: ['session'] — only files the agent actually wrote
   - Render session changes list above git history in 'changed' tab
   - Only show 'no changes' when both sources are empty
@github-actions github-actions Bot added v2 Go rewrite (1.x) — main-v2 branch, active development desktop Wails desktop app (desktop/**) labels Jun 11, 2026
@esengine esengine merged commit c85b4a4 into esengine:main-v2 Jun 11, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

desktop Wails desktop app (desktop/**) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants