PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Implement CommandResult.GoToPage()

Open DHowett opened this issue 10 months ago • 2 comments

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.

DHowett avatar Mar 31 '25 15:03 DHowett

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.

Advaith3600 avatar Apr 19 '25 08:04 Advaith3600

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 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.

moooyo avatar Apr 20 '25 16:04 moooyo

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?

Advaith3600 avatar Aug 14 '25 18:08 Advaith3600

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.

moooyo avatar Aug 15 '25 08:08 moooyo