-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Update PopupRoute docs and add an example
#106948
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
Update PopupRoute docs and add an example
#106948
Conversation
ffabb31 to
ab0ad6a
Compare
Piinks
left a comment
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.
Nice samples! Thanks for adding those tests to the other one that already existed! :)
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.
IT looks like this is documented on ModalRoute.barrierDismissible, can you update those docs and create a template to re-use here?
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 idea! I just updated ModalRoute docs,
I noticed docs for ModalRoute.barrierDismissible is a template itself but it has too many details that we don't need here, and turned the part we need into a smaller template and mentioned macro here.
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.
Fab!
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.
Actually, I had to revert the smaller template as it was nested, after updating the PR, the analyzer throws.
So I simply added the entire ModalRoute.barrierDismissible template to PopupRoute docs
Piinks
left a comment
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.
LGTM with nit. Thank you!
57571d3 to
de1b67b
Compare
|
Try again when the tree status has been applied to this PR. |
fixes #106650
related #106186
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.