Skip to content

Conversation

@rabanspiegel
Copy link
Contributor

@rabanspiegel rabanspiegel commented Jan 27, 2026

Summary

  • Toggling kanban while in editor now closes editor first (and vice versa)
  • Going home or switching projects resets view state to default
  • Consolidated inline toggle handlers into proper callbacks

Test plan

  • Open editor, click kanban button → should switch to kanban
  • Open kanban, click editor button → should switch to editor
  • From editor, click home → should return to home view
  • Switch projects while in editor → should reset to default view

Note

Ensures UI modes don’t conflict and cleans up state on navigation.

  • Editor/Kanban exclusivity: Centralized handleToggleKanban and new handleToggleEditor so toggling one closes the other; updated bindings in AppKeyboardShortcuts and Titlebar.
  • View state resets: Clear showEditorMode/showKanban when going home, activating a project, and only when switching tasks across different projects.
  • Git IPC hardening (src/main/ipc/gitIpc.ts): git:get-branch-status now validates path, early-exits for non-repos, improves default branch detection and ahead/behind computation, and adds clearer logging.

Written by Cursor Bugbot for commit fd4117c. This will update automatically on new commits. Configure here.

Toggling kanban from editor (or vice versa) now properly switches
between views instead of stacking them. Also resets view state when
navigating home or switching projects.
@vercel
Copy link

vercel bot commented Jan 27, 2026

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

Project Deployment Review Updated (UTC)
docs Ready Ready Preview, Comment Jan 27, 2026 11:25pm

Request Review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Log path and reason without stack trace for expected failures.
Only reset editor/kanban state when actually switching to a different
project, not when using next/prev task shortcuts within the same project.
@rabanspiegel rabanspiegel merged commit c64067d into main Jan 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants