Skip to content

Keep custom sidebars fixed#5858

Merged
ComputelessComputer merged 1 commit into
mainfrom
fix/fixed-custom-sidebar-width
Jul 1, 2026
Merged

Keep custom sidebars fixed#5858
ComputelessComputer merged 1 commit into
mainfrom
fix/fixed-custom-sidebar-width

Conversation

@ComputelessComputer

@ComputelessComputer ComputelessComputer commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Disable resizing for settings, calendar, contacts, and templates sidebars while preserving the resizable timeline sidebar.


Note

Low Risk
Desktop layout-only changes with targeted tests; no auth, data, or API impact.

Overview
Settings, calendar, contacts, and templates left sidebars are no longer user-resizable; only the timeline sidebar keeps drag-to-resize, persisted layout, and the visible resize handle.

ClassicMainBody gates resizing on canResizeLeftSidebarPanel (timeline chrome only). For custom-sidebar tabs it pins the panel at 200px (createFixedLeftSidebarPanelConstraints), uses fixed chrome width, skips autoSaveId, hides/disables the handle, and ignores layout callbacks so drag state cannot change width. LeftSidebar adds pr-1 on those special modes (not on timeline) for spacing under window chrome.

Reviewed by Cursor Bugbot for commit 0223ce4. Bugbot is set up for automated code reviews on this repo. Configure here.

@netlify

netlify Bot commented Jul 1, 2026

Copy link
Copy Markdown

Deploy Preview for old-char canceled.

Name Link
🔨 Latest commit 0223ce4
🔍 Latest deploy log https://app.netlify.com/projects/old-char/deploys/6a45597c38dfc7000882f594

Comment thread apps/desktop/src/main/body.tsx Outdated
@ComputelessComputer ComputelessComputer force-pushed the fix/fixed-custom-sidebar-width branch 4 times, most recently from 2b4ed52 to bc98a96 Compare July 1, 2026 18:00

@cursor cursor Bot left a comment

Copy link
Copy Markdown

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 using default effort and found 2 potential issues.

There are 3 total unresolved issues (including 1 from previous review).

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit bc98a96. Configure here.

Comment thread apps/desktop/src/main/body.tsx Outdated
Comment thread apps/desktop/src/main/body.tsx
Disable resizing for settings, calendar, contacts, and templates sidebars while preserving the resizable timeline sidebar.
@ComputelessComputer ComputelessComputer force-pushed the fix/fixed-custom-sidebar-width branch from bc98a96 to 0223ce4 Compare July 1, 2026 18:16
@ComputelessComputer ComputelessComputer merged commit efc02b6 into main Jul 1, 2026
12 checks passed
@ComputelessComputer ComputelessComputer deleted the fix/fixed-custom-sidebar-width branch July 1, 2026 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant