microsoft / DevHomeAzureExtension

Dev Home Azure Extension
MIT License
68 stars 15 forks source link

Add support for OneHop query type #108

Closed dkbennett closed 4 months ago

dkbennett commented 5 months ago

Summary of the pull request

Adds support for the OneHop QueryType. This is the "Work items and direct links" type of query if created in DevOps query editor.

References and relevant issues

Closes #107

Detailed description of the pull request / Additional comments

Azure queries have three types, but only two were supported. The unsupported type, OneHop, is handled the same as a Tree type. This fix adds the case for OneHop and directs it to treat it as the Tree type for the purposes of extracting work item ids.

Validation steps performed

Verified on a test OneHop query that fails on current version, but renders correctly with the fix.

PR checklist