Skip to content

publish and build buttons disabled in template editor #12545

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
matifali opened this issue Mar 12, 2024 · 7 comments · Fixed by #12547
Closed

publish and build buttons disabled in template editor #12545

matifali opened this issue Mar 12, 2024 · 7 comments · Fixed by #12547
Assignees
Labels
s2 Broken use cases or features (with a workaround). Only humans may set this. site Area: frontend dashboard

Comments

@matifali
Copy link
Member

matifali commented Mar 12, 2024

Can reproduce consistently on dev.coder.com
Coder version: 5170744
This does not let you update provisioner tags on the template from the dashboard.
image

@matifali matifali added s1 Bugs that break core workflows. Only humans may set this. bug labels Mar 12, 2024
@coder-labeler coder-labeler bot added s3 Bugs that confuse, annoy, or are purely cosmetic site Area: frontend dashboard labels Mar 12, 2024
@johnstcn
Copy link
Member

johnstcn commented Mar 12, 2024

It looks like the build button is disabled until you make a change to the template source code, and the publish button is disabled until you build a successful template version.

I'm not sure it makes sense to disable the build button like this, as you may wish to run a quick "test" to validate that a template still works.

@johnstcn johnstcn added s2 Broken use cases or features (with a workaround). Only humans may set this. and removed s1 Bugs that break core workflows. Only humans may set this. s3 Bugs that confuse, annoy, or are purely cosmetic labels Mar 12, 2024
@johnstcn johnstcn self-assigned this Mar 12, 2024
@matifali matifali reopened this Mar 18, 2024
@matifali
Copy link
Member Author

Getting into this again. This happens when I am trying to edit a failed version of a template.

template_editor_build_issue.mp4

@matifali
Copy link
Member Author

cc: @BrunoQuaresma

@BrunoQuaresma
Copy link
Collaborator

@matifali sorry, I didn't understand the video very well. What is happening and what is the expected behavior?

@matifali
Copy link
Member Author

The build button is disabled and is not working. When I make any changes to the template files I should be able to hit build button and it should not be disabled.

@BrunoQuaresma

This comment was marked as off-topic.

@BrunoQuaresma
Copy link
Collaborator

Since this is related to a different cause, I'm closing this in favor of #12676

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s2 Broken use cases or features (with a workaround). Only humans may set this. site Area: frontend dashboard
Projects
None yet
3 participants