vss-web-extension-sdk
vss-web-extension-sdk copied to clipboard
It is possible to navigate to a custom backlog tab page even though it should be invisible
I am working on an extension that adds a backlog tab page following the instructions here https://www.visualstudio.com/en-us/integrate/extensions/develop/add-backlog-tabs
The goal is to only make the tab page available if a certain condition is true:
VSS.register("backlogTabObject", {
isInvisible: function(state) {
return determinIfTabShouldBeInvisible(state);
}
});
The problem now is when I navigate to the my custom tab page and then navigate to an iteration where isInvisible returns true my custom tab page is still active even though the tab navigation link is not visible.
Is there any workarround or other solution to this problem?
As discussed offline, this is unfortunately a known bug with no workarounds at the moment.
@cschleiden actullay turns out i dont need the dynamic visiblity of tabs for now but would be cool to have that fixed.
Any update on this? I want to show custom tab on Query Results (ms.vss-work-web.query-tabs) only for a specific project and not for all projects in the organization i installed. i tried to use isInvisible but it is not working.