vss-web-extension-sdk icon indicating copy to clipboard operation
vss-web-extension-sdk copied to clipboard

It is possible to navigate to a custom backlog tab page even though it should be invisible

Open mpseidel opened this issue 9 years ago • 3 comments

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?

mpseidel avatar May 27 '16 14:05 mpseidel

As discussed offline, this is unfortunately a known bug with no workarounds at the moment.

cschleiden avatar Jun 03 '16 01:06 cschleiden

@cschleiden actullay turns out i dont need the dynamic visiblity of tabs for now but would be cool to have that fixed.

mpseidel avatar Jun 03 '16 06:06 mpseidel

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.

naresh1990 avatar Mar 25 '20 08:03 naresh1990