fix: window state persistence and login-item toggle desync (v0.5.4)#59
Conversation
|
Warning Review limit reached
More reviews will be available in 55 minutes and 43 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (10)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Summary
on_window_readyfires before display server is ready)Details
Window state persistence: Deferred window-state restoration via background thread + 300ms delay to ensure display server is ready. Added direct file read fallback in
restore_window_statecommand that bypasses the plugin's monitor-intersection check. Both tray and Settings "Quit" now explicitly save state before exit.Login-item toggle sync: New
get_launch_at_startupTauri command queries OS state viaapp.autolaunch().is_enabled(). Settings page now syncs toggle with real OS state on mount instead of relying solely onlocalStorage.Files changed
AUDIT_LOG.md,CHANGELOG.md,src-tauri/src/commands/system.rs,src-tauri/src/lib.rs,src-tauri/src/tray.rs,src/App.tsx,src/Settings.tsx,src/Settings.test.tsx,src/api.ts,src/types.d.ts