Skip to content

Epic(experiment): Create new projects and enable prebuilds from within the IDE #6906

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
Tracked by #7722
jankeromnes opened this issue Nov 25, 2021 · 5 comments
Closed
Tracked by #7722
Labels
component: ide meta: stale This issue/PR is stale and will be closed soon team: IDE team: webapp Issue belongs to the WebApp team type: epic type: feature request New feature or request

Comments

@jankeromnes
Copy link
Contributor

It would be great if the IDE allowed users to enable Prebuilds for their repository via a simple quick action.

I guess the IDE would need to be aware of:

  • Whether Prebuilds are already enabled or not for the current repository (and whether there is already a Gitpod Project associated to it)
  • Whether the current user is authorized to enable prebuilds (which implies the creation of a Gitpod Project, and the installation of the GitHub App or GitLab/Bitbucket Webhook)
  • Whether there is a .gitpod.yml with an init task, or if one needs to be created first
@svenefftinge
Copy link
Member

Enabling prebuild would imply creating a Gitpod project as well.

@jldec
Copy link
Contributor

jldec commented Nov 25, 2021

Enabling prebuild would imply creating a Gitpod project as well.

aah 💡

@jldec jldec changed the title Allow enabling Prebuilds from within the IDE Create new projects and enable prebuilds from within the IDE Nov 28, 2021
@jldec jldec added the team: webapp Issue belongs to the WebApp team label Nov 28, 2021
@jldec
Copy link
Contributor

jldec commented Nov 28, 2021

This feels like a joint effort, interfacing from inside the IDE to the Gitpod server/api to create a project with a repo which includes .gitpod.yml configuration.

@loujaybee
Copy link
Member

loujaybee commented Nov 29, 2021

Thanks for raising this issue @jankeromnes ! 🙏

I think this makes sense. Since prebuilds are a sort-of optimization of an existing configuration (e.g. init), without an existing configuration, a prebuild does appear (from a user perspective at least) to bring little value. I think it's important that users know about prebuilds (but from the usability tests I ran, it seems our marketing copy does a good job of letting users know that this feature exists 😆 ). So I think it makes sense to defer until the user has understood what gitpod is, and what the YAML file / configuration is before we ask them to set up a prebuild.

Important: I don't think that necessarily the prebuild must be configured from within the IDE.

I think we should also answer this question:

"Where is the best / most convenient place/way for a user to set up their YAML / configuration file? The dashboard or the IDE? And do we want to support both of those flows? Which should we push users towards as a priority, and when?"

Regarding:

Whether there is a .gitpod.yml with an init task, or if one needs to be created first

I would add to this. There are additional "tells" that a user might want to implement a prebuild, such as long times on running a command ("long" in this context is subjective, and would need to be defined). We could then consider prompting a user as to whether there are aspects of their configured commands that they could extract into a prebuild. This could be an optional prompt, that can be "dismissed". This experience would be much like slack bot prodding you to take actions like: "Hey, we see that you've not messaged in X channels in a while, do you want to leave those channels?". This prompt could then be directly within the IDE experience, or via other bumpers, such as suggestions from within the dashboard.

Configuring a prebuild doesn't have to be an interrupting action, I think it could be something we encourage users to do later in their journey when using Gitpod, and almost definitely after they have created (or use) at least one YAML.

e.g. "Hey, we noticed that X project takes a long time to build, have you considered [setting up a prebuild]?"


Example "notification" on the team page

image

Example notification on the project page:

image

@loujaybee loujaybee changed the title Create new projects and enable prebuilds from within the IDE Epic: Create new projects and enable prebuilds from within the IDE Dec 21, 2021
@loujaybee loujaybee changed the title Epic: Create new projects and enable prebuilds from within the IDE Epic(experiment): Create new projects and enable prebuilds from within the IDE Dec 21, 2021
@loujaybee loujaybee moved this to Proposed in 🚀 IDE Team Dec 21, 2021
@stale
Copy link

stale bot commented Mar 25, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Mar 25, 2022
@stale stale bot closed this as completed Apr 8, 2022
@stale stale bot moved this to Done in 🍎 WebApp Team Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: ide meta: stale This issue/PR is stale and will be closed soon team: IDE team: webapp Issue belongs to the WebApp team type: epic type: feature request New feature or request
Projects
Archived in project
Status: Scheduled
Development

No branches or pull requests

4 participants