gitpod-samples / Gitpod-Raycast-Extension

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

Use a dropdown for context search and move recents to the relevant views #89

Open mads-hartmann opened 7 months ago

mads-hartmann commented 7 months ago

This is an experiment where I try to solve for #79 #80 #88 by:

  1. Replacing the "/b /p /I /me" filtering when searching for contexts with a dropdown
  2. Removing the "Recent Contexts" from the repository search. Instead they're moved to the context search under the relevant dropdown view. E.g. when you have selected "Branches" it will show "Recent branches".
  3. Remove the "Start empty workspace" functionality.

So far I'm quite happy with how it works. It makes the flow easier to understand (to me) as you first select and repository and then a context within that repository. The combination of having the "Branch" filter be the default view as well as populating the list with the default and recent branches means you get really snappy results.

Here's what the repository search looks like:

Screenshot 2023-12-01 at 21 52 20

Here's the context search when branches are selected and no search query has been entered. This list loads almost instantly which gives it a nice feel:

Screenshot 2023-12-01 at 21 52 29

If you start typing a search query then it just shows the search result and not the default branch and recents anymore

Screenshot 2023-12-01 at 21 52 39

mads-hartmann commented 6 months ago

@Palanikannan1437 This is ready fore review now ☺️ Give it a go and let me know what you think.

mads-hartmann commented 5 months ago

@Palanikannan1437 Let me know if there's anything I can do to help get this merged ☺️