Skip to content

Open in Coder #3981

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
bpmct opened this issue Sep 9, 2022 · 8 comments · Fixed by #6859
Closed

Open in Coder #3981

bpmct opened this issue Sep 9, 2022 · 8 comments · Fixed by #6859
Assignees
Labels
site Area: frontend dashboard

Comments

@bpmct
Copy link
Member

bpmct commented Sep 9, 2022

Some button that links to the template create page for a given template that people can put in a README :)

Screen Shot 2022-09-12 at 10 06 22 AM

And perhaps some way for people to generate these "sharable" buttons. In Coder Classic, we had it in the images page. Perhaps as a tab in the template page?

https://railway.app/button is pretty cool too :)

@sharkymark
Copy link
Contributor

This is a popular feature with Coder v1 customers.

Why?

Devs are familiar with their Git provider as part of their daily flow. So they can jump to Coder directly from a repo they need to work on. (which takes you to a proper template)

@jsjoeio jsjoeio self-assigned this Sep 14, 2022
@jsjoeio jsjoeio added needs rfc site Area: frontend dashboard and removed needs rfc labels Sep 14, 2022
@jsjoeio jsjoeio removed their assignment Sep 26, 2022
@jsjoeio
Copy link
Contributor

jsjoeio commented Sep 26, 2022

Spoke to @kylecarbs and @bpmct offline about this. We're going to go the simple route for now. Ben can share more.

@bpmct
Copy link
Member Author

bpmct commented Sep 27, 2022

TLDR is we're going to simply provide a button for now and evaluate pre-filled params down the road.

@bpmct bpmct self-assigned this Sep 27, 2022
@github-actions
Copy link

This issue is becoming stale. In order to keep the tracker readable and actionable, I'm going close to this issue in 7 days if there isn't more activity.

@github-actions github-actions bot added the stale This issue is like stale bread. label Nov 27, 2022
@MrPeacockNLB
Copy link
Contributor

I'am really looking forward for this feature

@github-actions github-actions bot removed the stale This issue is like stale bread. label Nov 28, 2022
@coder coder deleted a comment from jsjoeio Jan 3, 2023
@coder coder deleted a comment from jsjoeio Jan 3, 2023
@coder coder deleted a comment from jsjoeio Jan 3, 2023
@coder coder deleted a comment from jsjoeio Jan 3, 2023
@coder coder deleted a comment from jsjoeio Jan 3, 2023
@coder coder deleted a comment from jsjoeio Jan 3, 2023
@coder coder deleted a comment from jsjoeio Jan 3, 2023
@coder coder deleted a comment from jsjoeio Jan 3, 2023
@bpmct bpmct removed their assignment Jan 5, 2023
@bpmct
Copy link
Member Author

bpmct commented Jan 11, 2023

Also consider a "personalize" step

@bpmct
Copy link
Member Author

bpmct commented Jan 18, 2023

How this will work (still subject to change, however):

  1. A template admin edits the template to specify what repo(s) it is compatible with (or regex-like https://github.com/*, https://gitlab.company.com/myorg/*).
  2. A template admin can embed an "Open in Coder" button on their repo or internal wiki
  3. When a user clicks the button in the repo, they can pick a compatible template and then create/use an existing workspace
  4. The workspace will attempt to clone the repo, with logic editable via the Coder agent's startup script. If the user has not linked their git provider yet, Coder will ask them to connect before they can enter their workspace.

Users can also create a workspace from a repo via the Coder dashboard:

Screen.Recording.2023-01-18.at.2.31.39.PM.mov

Down the road, Coder may have first-class support for devcontainers #5559. If the repo contains a devcontainer, Coder would be able to spin it up and launch the agent inside the container.

@bpmct bpmct changed the title Open in Coder button Open in Coder Jan 23, 2023
@bpmct bpmct self-assigned this Mar 28, 2023
@ehfd
Copy link

ehfd commented May 2, 2023

https://gitlab.com/gitlab-org/gitlab/-/issues/384217

image

Would it be possible to contribute this to GitLab so that users may use Coder without adding the button in the markdown file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site Area: frontend dashboard
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants