Skip to content

fix(desktop): refresh project tree after session changes#3208

Merged
esengine merged 1 commit into
main-v2from
codex/refresh-project-tree-events
Jun 5, 2026
Merged

fix(desktop): refresh project tree after session changes#3208
esengine merged 1 commit into
main-v2from
codex/refresh-project-tree-events

Conversation

@SivanCola

Copy link
Copy Markdown
Collaborator

Summary

  • emit project-tree refresh events after session restore/delete, workspace removal, topic/project mutations, and forked sessions
  • refresh project tree metadata after successful turn snapshots so turns and last activity update without another sidebar action
  • keep auto-title refreshes from double-emitting project tree change events

Verification

  • cd desktop/frontend && npm run build
  • cd desktop && go test .

@SivanCola SivanCola requested a review from esengine as a code owner June 5, 2026 07:43
@github-actions github-actions Bot added the v2 Go rewrite (1.x) — main-v2 branch, active development label Jun 5, 2026
@SivanCola

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@esengine esengine left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

纯后端事件补发:各 mutation(Fork/Delete/Restore/RemoveWorkspace/CreateTopic/Rename/Reorder/DeleteTopic)后 emitProjectTreeChanged,侧栏免二次操作刷新;maybeAutoTitleTopic 改返回 bool 避免快照轮询重复发事件。模式统一,CI 全绿。合并。

@esengine esengine merged commit 886cab7 into main-v2 Jun 5, 2026
9 checks passed
@esengine esengine deleted the codex/refresh-project-tree-events branch June 5, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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