-
Notifications
You must be signed in to change notification settings - Fork 438
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
fix(structure): improve and clean up form ready state #7600
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
No changes to documentation |
Component Testing Report Updated Oct 7, 2024 1:49 PM (UTC) ✅ All Tests Passed -- expand for details
|
⚡️ Editor Performance ReportUpdated Mon, 07 Oct 2024 14:02:04 GMT
Detailed information🏠 Reference resultThe performance result of
🧪 Experiment resultThe performance result of this branch
📚 Glossary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch – this makes sense to me, and I can't think of any problems this would cause.
Description
Currently, we defer marking the document as "ready" until we have loaded the timeline. This was originally done to avoid the confusion from first loading the current revision of the document and then replacing it when the selected revision is loaded from the timeline.
In a certain cases, loading the timeline can be quite slow, so the changes in this PR only waits if there's actually a selected revision (represented by
params.rev
being set)What to review
Does it make sense? Any case I'm not thinking about?
Testing
Unfortunately non-trivial to add automated tests for, but I've verfied that the current behavior is preserved if params.rev is set.
Notes for release