Closed loujaybee closed 1 year ago
Hey @loujaybee, Ohh wow! This is amazing and a NEEDED ONE!! We certainly were thinking of adding this, thank you so much for pointing us to this ๐งก๐งก
This'll definitely be present in the next release along with "user preferences" to set a default IDE type within the raycast extension itself ๐
@Siddhant-K-code, I tried it with the documentation added in this PR
With showOptions=true
https://gitpod.io/?showOptions=true&useLatest=true&editor=code-desktop&workspaceClass=g1-large#https://github.com/gitpod-io/website
With showOptions=false
https://gitpod.io/?showOptions=false&useLatest=true&editor=code-desktop&workspaceClass=g1-large#https://github.com/gitpod-io/website
But as you could see, both show the same results, I effectively want to get to this page directly with showOptions=false
...instead we would want to directly get to this page....
Is this the intended behaviour for showOptions
or am I missing out on something here ๐
?
I really like this suggestion. If the extension could also always remember the options you used[^1], it'd be even more efficient!
[^1]: I imagine this could be implemented as follows: when you open a context, the extension would store the settings used as the default settings for the repository, allowing the user to change it later. When you open another branch with different settings, it would also store it, so that you can have different options even for branches - if the branch config would be the same, it would default to the repository settings and if those are not available, then to the global ones.
Aha @filiptronicek , that's exactly what we're going forward with!! The things you suggested put things into picture in an even better way ๐
Thank you so much for the feedback ๐งก
This is what I've come up with after your suggestions and ideas!
There'd be a global preference which the user would be asked to choose after login which would be the default preference for all the repositories and their contexts as well
There'd be a preference at a repository level, which they can access by say (CMD + "w") or something similar or directly from the actions menu in Raycast
There'd be a preference at a context level (for individual branches, repos and issues), which users can access and configure by say (CMD + "w") or something similar or directly from the actions menu in Raycast!
The preferences would cascade as you suggested i.e. a. If preferences are not set at a context level then preferences set at a repository level will be used
b. If preferences are not set at a repository level then preferences set at the global level will be used
Did you know through the URL you can customise the editor, class and some other stuff?
Would be cool to be able to open a workspace through the raycast extension using these URL options.
You can see some of them here: https://github.com/gitpod-io/website/pull/3377/files
Have a play, maybe it could be integrated somehow? ๐