gitpod-samples / Gitpod-Raycast-Extension

Raycast Extension for Gitpod
MIT License
15 stars 6 forks source link

Remove empty workspace option from the new workspace flow when the list is not empty #79

Open gtsiolis opened 10 months ago

gtsiolis commented 10 months ago

Let's keep the most recent used repository at the top in the happy path.

Screenshot 2023-11-28 at 13 05 08

Cc @Palanikannan1437 @henit-chobisa

Cc @mads-hartmann because we recently chatted about this

Palanikannan1437 commented 10 months ago

Where do you suggest we put this then? Open to ideas, since I use empty workspace command quite a lot

gtsiolis commented 10 months ago

I'd completely remove it as a fixed entry.

The Recent Repositories list should include it anyway if this is what you're using often.

mads-hartmann commented 10 months ago

Where do you suggest we put this then? Open to ideas, since I use empty workspace command quite a lot

@gtsiolis and @Palanikannan1437 I think this is an excellent use-case for the Favourite Repositories feature we're implementing in https://github.com/gitpod-samples/Gitpod-Raycast-Extension/pull/83. If we also implement https://github.com/gitpod-samples/Gitpod-Raycast-Extension/issues/80 then you'd get something very similar to what you have today. You could hit

  1. Open Contexts From Github
  2. Hit ⌘+1 assuming that gitpod-io/empty it as the top of your favorites list
  3. Hit henter assuming that we implement https://github.com/gitpod-samples/Gitpod-Raycast-Extension/issues/80

@Palanikannan1437 That would allow you to start empty workspaces really quickly. But rather than being a hard-coded flow specific to the empty workspace it would re-use other features which means that other users can build their own flows too ☺️