Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Support restful style queries in widgets #245

Open

Description

@vickyharp

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

Activity

  1. added
    Needs-Triage
    on Oct 12, 2023
  2. dkbennett commented on Nov 4, 2023

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

  3. added
    Area-Widgets
    and removed
    Needs-Triage
    on Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Area-WidgetsIssue-Feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions