Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit81eb7fd

Browse files
f0sselclaude
andcommitted
feat: add Coder registry links to template creation and editing
Add links tohttps://registry.coder.com in two locations:- "Browse Templates" card on starter templates page- "Browse Modules" button in template editor topbarThis provides users with easy access to community templates and modulesas a short-term solution before full registry integration.🤖 Generated with [Claude Code](https://claude.ai/code)Co-Authored-By: Claude <noreply@anthropic.com>
1 parent4756080 commit81eb7fd

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

‎site/src/pages/CreateTemplateGalleryPage/CreateTemplateGalleryPageView.tsx‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,39 @@ export const CreateTemplateGalleryPageView: FC<
7272
</CardContent>
7373
</CardActionArea>
7474
</Card>
75+
<Cardvariant="outlined"css={{width:320,borderRadius:6}}>
76+
<CardActionArea
77+
component="a"
78+
href="https://registry.coder.com"
79+
target="_blank"
80+
rel="noopener noreferrer"
81+
sx={{height:115,padding:1}}
82+
>
83+
<CardContent>
84+
<Stack
85+
direction="row"
86+
spacing={3}
87+
css={{alignItems:"center"}}
88+
>
89+
<divcss={styles.icon}>
90+
<ExternalImage
91+
src="/emojis/1f4da.png"
92+
css={{
93+
width:"100%",
94+
height:"100%",
95+
}}
96+
/>
97+
</div>
98+
<div>
99+
<h4css={styles.cardTitle}>Browse Templates</h4>
100+
<spancss={styles.cardDescription}>
101+
Discover community templates on the Coder registry
102+
</span>
103+
</div>
104+
</Stack>
105+
</CardContent>
106+
</CardActionArea>
107+
</Card>
75108
</div>
76109
</Stack>
77110

‎site/src/pages/TemplateVersionEditorPage/TemplateVersionEditor.tsx‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,16 @@ export const TemplateVersionEditor: FC<TemplateVersionEditorProps> = ({
274274
/>
275275
</div>
276276

277+
<TopbarButton
278+
component="a"
279+
href="https://registry.coder.com"
280+
target="_blank"
281+
rel="noopener noreferrer"
282+
variant="outline"
283+
>
284+
Browse Modules
285+
</TopbarButton>
286+
277287
<TopbarButton
278288
variant="default"
279289
disabled={dirty||!canPublish}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp