microsoft / microsoft/azure-devops-extension-sdk
Bookmarking a 'tab' that is added by an extension does not work
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 159
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I have created an extension, that adds a custom tab (type: ms.vss-web.tab) to the queryresults page (targets: ms.vss-work-web.query-tabs). Everything is working fine... except when I try to bookmark the tab.
I am just copying the url, that is something like this: https://XYZ/_queries/mypublisherid.mycontributionid/query-guid/
When I close the browser and try to use the bookmark... it doesnt work. It just opens the queryresults page.
At first it looks like that this is a loading issue... the custom appears after a second when everything else is loaded. So I have tried to optimize everything at my end.
But I also tried the following...
I have closed the browser
Opened it with the bookmark... it shows the query results page (that is not the expected result)
I am waiting untill the tab has appeared (so everything is loaded)
I am re-using the bookmark... but this also results into the query results page (that was something I really didnt expect)
It only seems to work whenever I have had opened the custom tab itself, within the browser session. Once I have done this, using bookmarks (like within the teamprojects homepage wiki) is no problem.
But I want to be able to bookmark it and save it as a favourite within my browser... or be able to sent someone the url by email.
Unfortunately this seems to be not possible.
I am using the new API.
The samples from the old VSS api... the contribution guide... seems to be able to do this without any problems.
So I am hoping you could help me out.
Kr
Edward
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the bookmarked query URL for the ms.vss-web.tab contribution targeting ms.vss-work-web.query-tabs, both in a fresh browser session and after opening the custom tab once. Compare the new API behavior with the old VSS API samples and contribution guide. Done means the copied URL opens the extension tab directly, including when shared or opened from a browser bookmark.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100