Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support restful style queries in widgets #245

Open
vickyharp opened this issue Oct 12, 2023 · 1 comment
Open

Support restful style queries in widgets #245

vickyharp opened this issue Oct 12, 2023 · 1 comment
Assignees
Labels
Area-Widgets Related to in-package widgets Issue-Feature New feature or request

Comments

@vickyharp
Copy link
Member

Suggested new feature or improvement

When filtering on github.com you can get URLs which are restful style:

https://github.com/microsoft/vscode/labels/authentication

As opposed to query style:

https://github.com/microsoft/vscode/issues?q=is%3Aissue+is%3Aopen+label%3Aauthentication+

The restful style does not presently work

Scenario

This would help with copying in filters from github.com

Additional details

No response

@vickyharp vickyharp added the Issue-Feature New feature or request label Oct 12, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage New issue that the core contributors need to triage label Oct 12, 2023
@dkbennett dkbennett self-assigned this Nov 4, 2023
@dkbennett
Copy link
Member

Fixing these for the well known links like labels makes sense. Should create a GitHubUri class that handles all validation and extraction of this sort of information and then we can map the Uri parts to a well known or equivalent query and then use that.

This is basically aliasing the clean links that GitHub puts up at places so it works as expected and is valid input to the widgets. These links do have a search equivalent, so the feature request here is to detect a query alias and map it to the associated query, and allow that link as input. Doing this would also shift us to using a more unified Uri validation within an object instead of as static methods.

I'll take this one on, though I have no ETA at this time.

@cinnamon-msft cinnamon-msft added Area-Widgets Related to in-package widgets and removed Needs-Triage New issue that the core contributors need to triage labels Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Widgets Related to in-package widgets Issue-Feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants