Repository navigation
[Docs] Add interactive demos command builder - #7641
Conversation
Greptile SummaryThe PR replaces the showroom page with a primary-navigation Demos page containing an interactive command builder, demo cards, responsive styling, automatic optional-extra selection, and metadata contract tests.
Confidence Score: 4/5The PR appears safe to merge, with non-blocking documentation usability and metadata-test coverage improvements recommended. No blocking runtime failure was established, but H1 operating instructions become undiscoverable and the new test leaves the command builder's per-physics compatibility metadata unchecked. Files Needing Attention: docs/source/setup/demos.rst; source/isaaclab/test/app/test_standalone_scripts.py Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
Card[Select demo card] --> Physics[Populate supported physics choices]
Physics --> Visualizer[Populate visualizers using per-physics overrides]
Visualizer --> Extras[Derive required optional extras]
Extras --> Command[Render uv run command]
Command --> Copy[Copy command]
Reviews (1): Last reviewed commit: "Add interactive demos command builder" | Re-trigger Greptile |
| The H1 locomotion and pick-and-place demos require interactive keyboard or mouse input. Haply teleoperation requires | ||
| Inverse3 and VerseGrip devices and a running Haply WebSocket service. Cables are a Newton-only asset; see |
There was a problem hiding this comment.
The replacement page says that the H1 demo requires keyboard or mouse input, but it removes the key bindings and selection instructions from the old page. The script's command-line help does not expose these controls, so users can launch the demo without any discoverable explanation of how to operate it. Please preserve the control map here or link to equivalent documentation.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
| expected_physics = {backend for _, backend in spec.physics_backends} | ||
| expected_visualizers = set(spec.visualizers) | ||
| assert documented_values(entry, "Physics") == expected_physics, f"{path} documents incorrect physics options" | ||
| assert documented_values(entry, "Visualizer") == expected_visualizers, ( | ||
| assert set(entry["physics"].split(",")) == expected_physics, f"{path} documents incorrect physics options" | ||
| assert set(entry["visualizers"].split(",")) == expected_visualizers, ( | ||
| f"{path} documents incorrect visualizer options" | ||
| ) |
There was a problem hiding this comment.
This test checks only the aggregate physics and visualizers attributes, but the command builder uses per-physics visualizers-* overrides to filter compatible choices. A missing, misspelled, or incorrect override could expose unsupported command combinations while this test still passes. Please validate each override against the corresponding launch matrix.
There was a problem hiding this comment.
Isaac Lab Review Bot
The interactive Demos page and command-builder integration are coherent, but replacing the Showroom page removes important per-demo operating instructions and configuration guidance that users still need.
- Design and architecture: The data-attribute-driven card and selector design is consistent with the existing environment browser. However, reducing each demo to a short card description drops H1 and pick-and-place controls, cable and heterogeneous-scene tuning options, Haply setup references, and related behavioral notes. Preserve that guidance on the new page or link to an appropriate maintained location.
- API: The generated script paths, physics and visualizer arguments, fixed-physics handling, and demo-specific arguments were traced without identifying a supported API incompatibility. The user-facing documentation contract is incomplete because required operating guidance was removed during the page replacement.
- Implementation: Static asset registration, visualizer-override dataset lookup, image paths, and the rewritten card-metadata test are internally consistent. The implementation should restore the removed per-demo instructions alongside the interactive builder.
Minor fixes needed. Posted 1 actionable finding inline.
Automated review; human maintainers own approval decisions.
| </div> | ||
| </div> | ||
|
|
||
| The H1 locomotion and pick-and-place demos require interactive keyboard or mouse input. Haply teleoperation requires |
There was a problem hiding this comment.
🟡 Warning · Design Architecture — Per-demo usage guidance dropped
The removed showroom page documented behavior this page does not carry over: H1 locomotion keyboard/mouse controls and selection error messages, pick-and-place key bindings, --num_cables/--num_segments, --num_task/--num_envs, and the haply-teleoperation setup reference. The stated intent was to replace command blocks only, so this user-facing guidance is lost silently. Re-add the per-demo notes or link to them from the builder page.
|
run-ci |
Signed-off-by: Kelly Guo <[email protected]>
# Description Rename the Showroom Demos page to Demos and move it into the primary Isaac Lab navigation between Tutorial and the 3.0 migration guide. Replace the repeated platform-specific command blocks with one interactive `uv run` command builder. Demo cards select the script, physics and visualizer dropdowns expose only supported combinations, and the builder adds required extras for Isaac Sim, OV PhysX, deformables, teleoperation, Rerun, and Viser automatically. No new dependencies are introduced. ## Type of change - Documentation update ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Screenshots Verified the rendered page locally at 1440 px and 390 px widths, including all preview images and interactive states. ## Validation - `uv run --frozen python -m pytest source/isaaclab/test/app/test_standalone_scripts.py --no-header -q` (44 passed, 386 skipped) - `uv run --isolated --extra dev -- make -C docs current-docs` (warning-free) - Headless Chrome interaction checks across 17 cards and backend-specific command combinations - `SKIP=check-changelog-fragments uv run --frozen isaaclab -f` (all remaining hooks passed) The changelog hook was run separately but compares against the stale `origin/develop` ref in this fork, so it reports unrelated upstream fragments. This branch includes the required `isaaclab` `.skip` fragment. ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the pre-commit checks applicable to this change - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove the documentation metadata matches the demo launch contracts - [x] I have added a changelog fragment for the touched package - [x] My name already exists in `CONTRIBUTORS.md` --------- Signed-off-by: Kelly Guo <[email protected]> Co-authored-by: Kelly Guo <[email protected]> (cherry picked from commit 649ef3f)
|
Backported to |
Description
Rename the Showroom Demos page to Demos and move it into the primary Isaac Lab navigation between Tutorial and the 3.0 migration guide.
Replace the repeated platform-specific command blocks with one interactive
uv runcommand builder. Demo cards select the script, physics and visualizer dropdowns expose only supported combinations, and the builder adds required extras for Isaac Sim, OV PhysX, deformables, teleoperation, Rerun, and Viser automatically.No new dependencies are introduced.
Type of change
Release backport
developScreenshots
Verified the rendered page locally at 1440 px and 390 px widths, including all preview images and interactive states.
Validation
uv run --frozen python -m pytest source/isaaclab/test/app/test_standalone_scripts.py --no-header -q(44 passed, 386 skipped)uv run --isolated --extra dev -- make -C docs current-docs(warning-free)SKIP=check-changelog-fragments uv run --frozen isaaclab -f(all remaining hooks passed)The changelog hook was run separately but compares against the stale
origin/developref in this fork, so it reports unrelated upstream fragments. This branch includes the requiredisaaclab.skipfragment.Checklist
CONTRIBUTORS.md