-
Notifications
You must be signed in to change notification settings - Fork 458
fix: Add help urls to all components in the component menu #3663
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
@@ -1,5 +1,8 @@ | |||
using System; | |||
using System.Collections.Generic; | |||
using Unity.Netcode.Runtime; | |||
using UnityEditor; |
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.
Standards is complaining that UnityEditor is unnecessary here
Really nice idea to add those! The only thing I wonder is if we are somehow able to add a quick test that verifies that a given page/tag exists. For example "advanced-topics/physics.html#networkrigidbody2d" because sometimes I'm encountering this problem with docs in general that maybe the tag networkrigidbody2d will change and thus the link will be invalidated silently Sam did similar thing in https://github.cds.internal.unity3d.com/unity/dots/pull/14283 but it was within the editor so not exactly the same |
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 to add these.
## Purpose of this PR Adds help urls to all components that are added to the component menu. This ensures the question mark icon in the inspector view will redirect to a valid page. ### Jira ticket [MTTB-1452](https://jira.unity3d.com/browse/MTTB-1452) ### Changelog - Added: Help URLs ensure the inspector redirects to valid web pages. ## Documentation - No documentation changes or additions were necessary. ## Testing & QA (How your changes can be verified during release Playtest) [//]: # ( This section is REQUIRED and should describe how the changes were tested and how should they be tested when Playtesting for the release. It can range from "edge case covered by unit tests" to "manual testing required and new sample was added". Expectation is that PR creator does some manual testing and provides a summary of it here.) <!-- Add any performance testing results here if relevant. --> ### Functional Testing [//]: # (If checked, List manual tests that have been performed.) _Manual testing :_ - [x] `Manual testing done` _Automated tests:_ - [ ] `Covered by existing automated tests` - [x] `Covered by new automated tests` _Does the change require QA team to:_ - [ ] `Review automated tests`? - [ ] `Execute manual tests`? - [ ] `Provide feedback about the PR`? If any boxes above are checked the QA team will be automatically added as a PR reviewer. ## Backports This is a backport of #3663
Purpose of this PR
Adds help urls to all components that are added to the component menu. This ensures the question mark icon in the inspector view will redirect to a valid page.
Jira ticket
MTTB-1452
Changelog
Documentation
Testing & QA (How your changes can be verified during release Playtest)
Functional Testing
Manual testing :
Manual testing done
Automated tests:
Covered by existing automated tests
Covered by new automated tests
Does the change require QA team to:
Review automated tests
?Execute manual tests
?Provide feedback about the PR
?If any boxes above are checked the QA team will be automatically added as a PR reviewer.
Backports
Backported by #3676