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

feat: add template description#1489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
coadler merged 6 commits intomainfromcolin/template-desc
May 16, 2022
Merged

feat: add template description#1489

coadler merged 6 commits intomainfromcolin/template-desc
May 16, 2022

Conversation

coadler
Copy link
Contributor

@coadlercoadler commentedMay 16, 2022
edited
Loading

Resolves#206

@coadlercoadler requested a review froma team as acode ownerMay 16, 2022 20:16
@coadlercoadler self-assigned thisMay 16, 2022
Copy link
Member

@kylecarbskylecarbs left a comment

Choose a reason for hiding this comment

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

What do you think about lowering the length to something like 128? I was thinking we'd display this in the table view for templates,coder templates ls, and ideally in the CLI when a user is selecting a template to create a workspace.

I want us to add parsing of a README.md to template versions. Then we can display markdown of the latest build in a template page, and make it really slick!

@coadler
Copy link
ContributorAuthor

Aha, that makes more sense. I was thinking you'd put the big markdown in the template, but I think that actually makes more sense on the template version like you said! I'll update that now.

kylecarbs reacted with hooray emoji

@kylecarbs
Copy link
Member

Yeah, it'd be nice to source-control it just like you would template stuff. It'd be cool to view the markdown in GitHub just like you could in our UI.

coadler reacted with thumbs up emoji

@@ -62,6 +62,7 @@ export interface CreateParameterRequest {
// From codersdk/organizations.go:38:6
export interface CreateTemplateRequest {
readonly name: string
readonly description: string
Copy link
Contributor

Choose a reason for hiding this comment

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

isdescription required?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

It is not

@@ -219,6 +220,7 @@ export interface Template {
readonlyprovisioner:string
readonlyactive_version_id:string
readonlyworkspace_owner_count:number
readonlydescription:string
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks! Here too?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

The backend will alwaysreturn a description, but it can be an empty string.

presleyp reacted with thumbs up emoji
@coadlercoadlerenabled auto-merge (squash)May 16, 2022 20:53
@coadlercoadler merged commite925818 intomainMay 16, 2022
@coadlercoadler deleted the colin/template-desc branchMay 16, 2022 20:56
kylecarbs pushed a commit that referenced this pull requestJun 10, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@presleyppresleyppresleyp approved these changes

@kylecarbskylecarbskylecarbs approved these changes

Assignees

@coadlercoadler

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Description field support for templates
3 participants
@coadler@kylecarbs@presleyp

[8]ページ先頭

©2009-2025 Movatter.jp