Skip to content

Create a Chrome Extension to open from GitHub #8589

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
Tirzono opened this issue Jul 19, 2023 · 11 comments
Closed

Create a Chrome Extension to open from GitHub #8589

Tirzono opened this issue Jul 19, 2023 · 11 comments
Assignees

Comments

@Tirzono
Copy link
Contributor

Tirzono commented Jul 19, 2023

I have a feature request:

Similar to the "Open in Coder" button and similar to the Gitpod Chrome extension, it would be nice to have a Chrome extension to open the repository in Coder. That way you don't have to hardcode the Coder URL in the repository's README file and give the user the option to open a repository in their own Coder instance.

@cdr-bot cdr-bot bot added the feature label Jul 19, 2023
@github-actions github-actions bot added the stale This issue is like stale bread. label Jan 16, 2024
@MrPeacockNLB
Copy link
Contributor

We are using this approach for a long time. This works like a charm. For us is every start the git repository in github. So this is a must have for us.

@github-actions github-actions bot removed the stale This issue is like stale bread. label Jan 17, 2024
@michaelbrewer
Copy link
Contributor

I did add comment to a similar ticket: #12312 (comment)

This extension should work with Gitlab.com (and self-hosted), Github.com (and self-hosted) and if possible Bitbucket and Azure Devops :)

@michaelbrewer
Copy link
Contributor

I did a POC of this and it works well, we just need to think of how to define the URL schema in the extension

ie:

`${address}/templates/${templateName}/workspace?mode=${disableAutostart ? "manual" : "auto"}&param.git_repo=${currentHref}`

Example in action

coder-extension.mp4

@kylecarbs
Copy link
Member

@michaelbrewer this is awesome!

@kylecarbs kylecarbs changed the title Feature: Chrome extension to open from GitHub Create a Chrome Extension to open from GitHub Apr 26, 2024
@matifali
Copy link
Member

cc: @BrunoQuaresma

@BrunoQuaresma
Copy link
Collaborator

@Tirzono, we started working on this a few weeks ago. I hope what we have planned will be helpful to you.

@michaelbrewer, this is awesome. We started following a similar path, but now we may have a "better" one... we still need to validate a few things first before sharing with you all. 👀 🤞

@BrunoQuaresma BrunoQuaresma self-assigned this Jul 24, 2024
@michaelbrewer
Copy link
Contributor

Would love to test this out, and help give feedback. This would reduce the setup needed per project and also allow for template conventions (open in coder) along with enhancements like "open in coder" where it can reuse an existing workspace.

Also features like "Open branch in Coder", "Open merge request in coder" can also be realiized.

@BrunoQuaresma
Copy link
Collaborator

Yes, we plan to support opening in any branch/merge and in pull requests. It's good to see we are aligned.

@michaelbrewer
Copy link
Contributor

@BrunoQuaresma i have done some of the ground work to support this via terraform modules and also an issue to support merge requests etc..

However i would be much better for the coder agent / platform to handle this over a complicated terraform provider, as you will find some cases like gitlab you will need to perform a number of api calls to determine the branch etc.

Gitpod handles this kind of this pretty well, and i am hoping Coder can do that same natively.

@michaelbrewer
Copy link
Contributor

Either way, i am all for dropping developing any kind of internal chrome extension in favor of an official chrome extension

@bpmct
Copy link
Member

bpmct commented Aug 30, 2024

Hey folks, thanks for all the great feedback here. We have an early access version of our chrome extension here: https://chromewebstore.google.com/detail/coder/ijfjglcnedpgnkfbockocdijmlhoafpm

I'm going to close out this issue in favor of #8462 so that discussion can happen in one place.

@bpmct bpmct closed this as not planned Won't fix, can't repro, duplicate, stale Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants