Implement CommandResult.GoToPage()
originally filed by @lauren-ciha
As spec'd in https://github.com/zadjii-msft/PowerToys/issues/294
We need this for the GH extension, or really any kind of "Here's an authentication page" -> "here's the landing page" flow, so that you can immediately submit auth then go to the first page of the extension.
I'm looking forward to the implementation of this feature, as I have numerous use cases for it.
Moreover, it would also be beneficial to update the specifications to include a supporting arguments parameter for added flexibility. For instance, in my currency converter extension, I have a command list page that displays all the aliases. I would like users to be able to select a currency and be redirected to another page where they can test it. This will require passing the alias as an argument to the page they are redirected to, similar to webpage/something?alias=usd in case of HTTP.
I'm looking forward to the implementation of this feature, as I have numerous use cases for it.
Moreover, it would also be beneficial to update the specifications to include a supporting arguments parameter for added flexibility. For instance, in my currency converter extension, I have a command list page that displays all the aliases. I would like users to be able to select a currency and be redirected to another page where they can test it. This will require passing the alias as an argument to the page they are redirected to, similar to
webpage/something?alias=usdin case of HTTP.
I have a PR for it. You can check it first, feel free to give me any comments. https://github.com/microsoft/PowerToys/pull/38025
Agree with your suggestion, I also think we need a parameter for this API.
Hey, just wanted to check in on the status of this feature. I noticed the PR was closed a couple of weeks ago—just wondering if it's still something that's planned to be implemented?
oh...sorry to late reply. @Advaith3600
Due to cmdpal has a rapidly update, my PR doesn't have a proper time to merge into the main branch.
And now It have a huge conflict that I need to re-write it if I want to continue. So, I closed this PR and put this task into the pool.
If anyone want to help on this task, I'm appreciate.