Skip to content

fix(desktop): center empty home actions#5374

Merged
ComputelessComputer merged 1 commit into
mainfrom
fix/empty-home-drag-region
May 29, 2026
Merged

fix(desktop): center empty home actions#5374
ComputelessComputer merged 1 commit into
mainfrom
fix/empty-home-drag-region

Conversation

@ComputelessComputer
Copy link
Copy Markdown
Collaborator

@ComputelessComputer ComputelessComputer commented May 29, 2026

Center the empty home actions in the full surface and make the empty background draggable while preserving action clicks.


Note

Low Risk
UI-only empty-tab layout and Tauri drag-region attributes with no auth, data, or backend impact.

Overview
The empty home tab layout is adjusted so quick actions stay vertically centered in the full tab area and the surrounding chrome can move the window.

EmptyView drops the bottom mb-12 offset and marks the outer flex container with data-tauri-drag-region. ActionItem buttons set data-tauri-drag-region="false" so New Note, Start Recording, and Settings still receive clicks inside the draggable surface.

Tests add afterEach(cleanup) and assert the drag region on the action wrapper, removal of mb-12, and non-draggable behavior on each action button.

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

Center the empty home actions in the full surface and make the empty background draggable while preserving action clicks.
@netlify
Copy link
Copy Markdown

netlify Bot commented May 29, 2026

Deploy Preview for old-char canceled.

Name Link
🔨 Latest commit 55a7a16
🔍 Latest deploy log https://app.netlify.com/projects/old-char/deploys/6a19ad3e7b0c7300081ccbc4

@ComputelessComputer ComputelessComputer merged commit 7b314fd into main May 29, 2026
10 checks passed
@ComputelessComputer ComputelessComputer deleted the fix/empty-home-drag-region branch May 29, 2026 15:38
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