-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Added Small Doc Enhancement in Badge #143319
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
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact "@test-exemption-reviewer" in the #hackers channel in Chat (don't just cc them here, they won't see it! Use Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
|
Isn't this a bug in the doc navigation itself, rather than in the code? |
|
test-exempt: doesn't affect generated code |
HansMuller
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.
Thanks for the fix! LGTM
|
auto label is removed for flutter/flutter/143319, due to This PR has not met approval requirements for merging. The PR author is not a member of flutter-hackers and needs 1 more review(s) in order to merge this PR.
|
Thanks for the review! I've seen similar issue in many files. Importing always solves it. |
I'm not a collaborator so will need one more LGTM ✅🏁 I'm interested in becoming one if there is an opportunity. I've landed 22 PRs in flutter/flutter, 37 in flutter/website & 2 in flutter/packages 🌱🌻 |
loic-sharma
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.
Thanks!
|
Wait, wait, those symbols aren't used in the code, only in the docs. I understand wanting to do this (I've wanted to do it myself), but taken to the limit, there will be layer violations, since some doc comments refer to symbols that are not allowed to be referenced in the code in the library that they are in. Here it is harmless, but I'm just worried about being consistent. The Dartdoc team is working on a way to specify doc-only imports, and that is the way to eventually solve this (they're basically import statements in a doc comment). |
justinmc
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.
I agree with @gspencergoog, so I think this PR should be closed. Thank you for opening the PR and getting this conversation started though. I've noticed the same thing and wondered whether or not we should be importing stuff in the docs.
I'm happy to sponsor you for contributor access by the way. See the wiki if you haven't yet.
when I sent the pr, somewhere I realised I was doing something wrong (and importing might be wrong) when I saw this issue in multiple places, thank you! my bad closing the PR. |
Thank a lot for the opportunity! I've read these and committed to following these and very happy to join the Flutter team. 💙 |
Importing navigation_rail and text_button enables the code navigation.
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.