Skip to content

Fix environment browser preview image URLs (#7849) - #7850

Merged
kellyguo11 merged 1 commit into
isaac-sim:release/3.0.0from
kellyguo11:codex/backport-7849-release-3.0.0
Sep 16, 2026
Merged

kellyguo11 merged 1 commit into
isaac-sim:release/3.0.0from
kellyguo11:codex/backport-7849-release-3.0.0

Conversation

@kellyguo11

Copy link
Copy Markdown
Contributor

(cherry picked from commit 50ea058) #7849

Description

Important

Confirm the pull request base before submitting. Target develop for all
contributions. The release/3.0.0-beta2 branch is a frozen stable landing
snapshot and is not used for ongoing maintenance.

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
List any dependencies that are required for this change.

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (existing functionality will not work without user modification)
  • Documentation update

Release backport

  • Backport this pull request to the active release branch after it merges into develop

Screenshots

Please attach before and after screenshots of the change if applicable.

Checklist

Docker and GPU tests run on demand. Push the commits you want tested, then
comment run-ci on the pull request.

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have added a changelog fragment under source/<pkg>/changelog.d/ for every touched package (do not edit CHANGELOG.rst or bump extension.toml — CI handles that)
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@kellyguo11

Copy link
Copy Markdown
Contributor Author

run-ci

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Sep 16, 2026
@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Sep 16, 2026

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isaac Lab Review Bot

Centralizes environment-browser preview image URL resolution so tasks/ images use the remote image CDN while other mapped images use the documentation-local _static/ directory. Both detail previews and task cards now follow the same routing rule.

  • Design and architecture: The shared previewImageUrl helper removes the previous inconsistency between the two preview-image consumers. The tasks/ prefix is now the explicit discriminator between CDN-hosted and documentation-local assets; future mappings must follow or extend that convention.
  • API: No public Python, extension, CLI, or documentation API is changed. The affected surface is limited to browser-side image URL construction, with task objects continuing to flow through previewImageFor as before.
  • Implementation: Both changed call sites use the helper defined earlier in the same scope. The CDN base has the trailing slash required for correct relative URL resolution, while non-tasks/ paths use the same documentation-relative _static resolution pattern already used for preview videos. The remaining integration dependency is that locally routed mappings must correspond to assets under the built documentation’s _static tree.

No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.

Automated review; human maintainers own approval decisions.

@greptile-apps

greptile-apps Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The PR appears safe to merge because both currently supported preview-image path categories resolve to their actual asset locations.

Summary

This PR centralizes environment-preview image URL generation so task images resolve from NVIDIA’s image host while repository-local images resolve from the built documentation’s _static directory.

  • Uses one URL resolver for both the selected-task preview and environment cards.
  • Preserves remote routing for tasks/ images.
  • Correctly routes the Newton preview image to its local static asset.

Reviews (1) · Last reviewed commit: "Fix environment browser preview image UR..."

@kellyguo11
kellyguo11 merged commit 0378905 into isaac-sim:release/3.0.0 Sep 16, 2026
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants