Show template definition link in container form#417
Merged
Conversation
Copilot
AI
changed the title
[WIP] Add information on template definition storage
Show template definition link in container form
Jul 17, 2026
runleveldev
marked this pull request as ready for review
July 23, 2026 18:04
runleveldev
approved these changes
Jul 23, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a direct path from the “Template” selection in the new-container flow to the underlying template/image definition so users can inspect what a template contains (packages/versions), improving transparency of built-in templates.
Changes:
- Extended
COMMON_TEMPLATESentries with adefinitionURL pointing to the template’s source. - Rendered a conditional “View template definition” external link beneath the Template selector when a built-in template is selected.
Comment on lines
+507
to
+512
| <a | ||
| href={definition} | ||
| target="_blank" | ||
| rel="noopener noreferrer" | ||
| className="inline-flex w-fit items-center gap-1 text-xs text-(--color-primary,#1d4ed8) hover:underline" | ||
| > |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The new-container form's template dropdown gave no way to inspect what a template actually contains (installed packages, versions). Users had no path from a selected template to its source definition.
Changes
ContainerFormPage.tsxdefinitionsource URL to each entry inCOMMON_TEMPLATES, pointing at the image's defining source (Dockerfile directory underimages/, or themieweb/ozwell-studiorepo).Custom…).Notes
NodeJS 24 + Docker(docker-nodejs) links toimages/docker, since perimages/docker-bake.hclit reuses thedockerDockerfile with the nodejs base context — no separateimages/docker-nodejsdirectory exists. This matches the existing mapping indocs/developers/docker-images.md.mieweb/ozwell-studio) and not changed here.