devhomegithubextension
devhomegithubextension copied to clipboard
Support restful style queries in widgets
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
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.