Skip to content

Hide compatibility templates from gallery - #83

Merged
temiroff merged 1 commit into
masterfrom
agent/hide-compatibility-templates
Jul 28, 2026
Merged

Hide compatibility templates from gallery#83
temiroff merged 1 commit into
masterfrom
agent/hide-compatibility-templates

Conversation

@temiroff

Copy link
Copy Markdown
Owner

What changed

  • Exclude templates with metadata.hidden: true from the Templates gallery.
  • Keep hidden templates loadable directly by slug for saved links and compatibility.
  • Document the compatibility-template visibility contract.
  • Add regression coverage proving hidden package templates are not listed.

Why

Packages may retain older or hardware-specific templates for compatibility, but those files should not compete with the current recommended workflow pair in the new-workflow gallery.

Validation

  • python -m pytest tests/test_editor_template_packages.py packages/blacknode-skills/tests -q — 37 passed
  • PYTHONPATH=python python -m unittest discover -s tests — 486 passed, 8 skipped
  • All seven blacknode-skills ROS 2 templates validate with no errors or warnings

@temiroff
temiroff marked this pull request as ready for review July 28, 2026 21:42
@temiroff
temiroff merged commit 8cb09a8 into master Jul 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant