Skip to content

Conversation

EmandM
Copy link
Collaborator

@EmandM EmandM commented Sep 9, 2025

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

  • 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)

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

@EmandM EmandM requested a review from a team as a code owner September 9, 2025 21:41
@michalChrobot michalChrobot requested a review from a team September 9, 2025 21:42
@@ -1,5 +1,8 @@
using System;
using System.Collections.Generic;
using Unity.Netcode.Runtime;
using UnityEditor;
Copy link
Collaborator

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

@michalChrobot
Copy link
Collaborator

michalChrobot commented Sep 10, 2025

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

@michalChrobot michalChrobot requested a review from a team September 10, 2025 15:42
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity left a 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.

@EmandM EmandM added the port:1.x-needed This issue needs to be ported to 1.X branch label Sep 12, 2025
@EmandM EmandM mentioned this pull request Sep 15, 2025
6 tasks
@EmandM EmandM enabled auto-merge (squash) September 15, 2025 21:25
@EmandM EmandM added port:1.x-completed This issue was ported to 1.X branch and removed port:1.x-needed This issue needs to be ported to 1.X branch labels Sep 15, 2025
EmandM added a commit that referenced this pull request Sep 16, 2025
## 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
@EmandM EmandM merged commit 8c964aa into develop-2.0.0 Sep 17, 2025
26 checks passed
@EmandM EmandM deleted the fix/mttb-1452-add-help-urls branch September 17, 2025 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
port:1.x-completed This issue was ported to 1.X branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants