Skip to content

feat: add highlight on dragabble area and also add cursor change#7830

Merged
urmauur merged 8 commits intojanhq:mainfrom
corevibe555:feature/option-for-thicker-title-bar
Mar 31, 2026
Merged

feat: add highlight on dragabble area and also add cursor change#7830
urmauur merged 8 commits intojanhq:mainfrom
corevibe555:feature/option-for-thicker-title-bar

Conversation

@corevibe555
Copy link
Copy Markdown
Contributor

@corevibe555 corevibe555 commented Mar 26, 2026

Describe Your Changes

  • Added a consistent top window drag strip for desktop (Linux, macOS, Windows) with a fixed height.
  • This change only appears when you hover on drag area.
  • Improved drag-area discoverability by adding hover highlight and drag cursor feedback (cursor-grab / cursor-grabbing) so users can clearly see where they can drag the window.
  • Unified cross-platform drag behavior:
    • Linux uses startDragging() on mouse down for reliable dragging.
    • macOS/Windows use data-tauri-drag-region.

Fixes Issues

Self Checklist

  • Added relevant comments, especially in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

Before and After Evidence

Before:
screenshot_2
After:
Linux:
Screenshot_1

MacOS:
macos-screenshot

@louis-jan louis-jan requested a review from urmauur March 30, 2026 02:47
@urmauur urmauur self-assigned this Mar 30, 2026
@corevibe555
Copy link
Copy Markdown
Contributor Author

@urmauur Would you please give me any feedback on this PR?
Thank you!

@urmauur
Copy link
Copy Markdown
Contributor

urmauur commented Mar 31, 2026

@urmauur Would you please give me any feedback on this PR? Thank you!

hey @corevibe555 remove hover background!

@corevibe555
Copy link
Copy Markdown
Contributor Author

@urmauur Thanks for the feedback. I removed hover background.

Comment thread web-app/src/routes/__root.tsx Outdated
@urmauur
Copy link
Copy Markdown
Contributor

urmauur commented Mar 31, 2026

LGTM

@urmauur urmauur merged commit 813260a into janhq:main Mar 31, 2026
@github-project-automation github-project-automation Bot moved this to QA in Jan Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: QA

Development

Successfully merging this pull request may close these issues.

idea: Option for thicker title bar

3 participants