topcoder-platform / taas-app

TaaS App Front End
3 stars 24 forks source link

[$40] Support direct links to the Job Candidates tabs #391

Open maxceem opened 3 years ago

maxceem commented 3 years ago

We have a page where we list Job Candidates splitd into several tabs (example page https://platform.topcoder-dev.com/taas/myteams/16873/positions/eaa70908-20dc-488b-a9fb-e96dca98ec33/candidates)

image

We would like to be able to open any of these tabs by direct links like:

yoution commented 3 years ago

@maxceem can I pick this one?

maxceem commented 3 years ago

@yoution I've already asked another member for this, if he couldn't pick up, I would assign to you.

maxceem commented 3 years ago

@mbaghel we can navigate to the tab by URL, but when we switch tab, the URL should be also updated accordingly as per:

When we click any tab the URL should be changed respectively.

image

maxceem commented 3 years ago

@mbaghel thanks for update, it's almost there but one moment is still to be improved.

When we navigate by link without specifying the particular tab like this https://platform.topcoder-dev.com/taas/myteams/16873/positions/eaa70908-20dc-488b-a9fb-e96dca98ec33/candidates we expect that it would determine by the same logic as now which tab to redirect to, and would redirect to one of the tabs like https://platform.topcoder-dev.com/taas/myteams/16873/positions/eaa70908-20dc-488b-a9fb-e96dca98ec33/candidates/to-review or https://platform.topcoder-dev.com/taas/myteams/16873/positions/eaa70908-20dc-488b-a9fb-e96dca98ec33/candidates/interviews.

At the moment if I follow the link https://platform.topcoder-dev.com/taas/myteams/16873/positions/eaa70908-20dc-488b-a9fb-e96dca98ec33/candidates it would show the correct tab, but the URL would stay without information about the tab. So if we share such a link with someone, it could show the wrong tab at that moment.

image

maxceem commented 3 years ago

@mbaghel paid via https://www.topcoder.com/challenges/f2c8c663-428d-41b3-b810-23cecebc9706