Conversation
Our tray reposition logic was trying to center the tray even when it's
location was outside the monitor. See the logs from a run
center_window_on_tray: tray_rect: Rect { position: { x: 2362, y: -66 }
center_window_on_tray: tray_rect: Rect { position: { x: 2362, y: 0 }
Also our reposition loop when the window is shown was calling
center_window_on_tray with show = true, which was sending a focused
event to tauri while our main window was open, which is not needed.
✅ Deploy Preview for hoppdocs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe pull request adds monitor validation to the Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Our tray reposition logic was trying to center the tray even when it's location was outside the monitor. See the logs from a run
center_window_on_tray: tray_rect: Rect { position: { x: 2362, y: -66 }
center_window_on_tray: tray_rect: Rect { position: { x: 2362, y: 0 }
Also our reposition loop when the window is shown was calling center_window_on_tray with show = true, which was sending a focused event to tauri while our main window was open, which is not needed.
Summary by CodeRabbit