-
Notifications
You must be signed in to change notification settings - Fork 7
Restore panel open state #103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
69becf6 to
db1d6da
Compare
|
Warning Rate limit exceeded@mkh-user has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 20 minutes and 56 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (2)
WalkthroughDefers layout loading in Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User
participant PM as PanelManager
participant PL as PanelsLoader
participant LL as LayoutLoader
rect rgba(230,240,255,0.5)
note over PM: Old flow (before)
User->>PM: _ready()
PM->>LL: _load_layout()
PM->>PL: _load_panels()
end
rect rgba(230,255,230,0.5)
note over PM: New flow (after)
User->>PM: _ready()
PM->>PL: _load_panels()
PM->>LL: _load_layout()
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
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 |
fce8170 to
993fb4f
Compare
Type of Change
Description
Previously, the ability to save and restore opened panels was designed, but due to the loading of panels after restoration, the editor's state always returned to the first panel. In this change, the panels are loaded first, and then the last state before closing is restored.
Testing
Works fine for all panels.
Impact
Nothing
Additional Information
Nothing
Checklist
Summary by CodeRabbit
Bug Fixes
Documentation