File tree Expand file tree Collapse file tree 3 files changed +7
-15
lines changed
Expand file tree Collapse file tree 3 files changed +7
-15
lines changed Original file line number Diff line number Diff line change @@ -226,10 +226,6 @@ export const Main = () => {
226226 break ;
227227 case ScopeChangeEvent . JaegerSpanLinkClicked :
228228 case ScopeChangeEvent . AssetsAssetCardTitleLinkClicked :
229- if ( platform === "Visual Studio" ) {
230- goTo ( `/${ TAB_IDS . ISSUES } ` , { state } ) ;
231- break ;
232- }
233229 goTo ( `/${ TAB_IDS . HIGHLIGHTS } ` , { state } ) ;
234230 break ;
235231 case ScopeChangeEvent . HighlightsTopIssuesCardItemClicked :
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const tabs: BaseTabData[] = [
1717 id : TAB_IDS . HIGHLIGHTS ,
1818 icon : MagicWandIcon ,
1919 width : 40 ,
20- platforms : [ "JetBrains" ]
20+ platforms : [ "JetBrains" , "Visual Studio" ]
2121 } ,
2222 {
2323 title : "Issues" ,
@@ -32,7 +32,7 @@ const tabs: BaseTabData[] = [
3232 {
3333 title : "Analytics" ,
3434 id : TAB_IDS . ANALYTICS ,
35- platforms : [ "JetBrains" ]
35+ platforms : [ "JetBrains" , "Visual Studio" ]
3636 } ,
3737 {
3838 title : "Errors" ,
Original file line number Diff line number Diff line change @@ -21,9 +21,7 @@ export const routes: RouteObject[] = [
2121 index : true ,
2222 element : < Navigate replace = { true } to = { TAB_IDS . ISSUES } />
2323 } ,
24- ...( platform === "JetBrains"
25- ? [ { path : TAB_IDS . HIGHLIGHTS , element : < Highlights /> } ]
26- : [ ] ) ,
24+ { path : TAB_IDS . HIGHLIGHTS , element : < Highlights /> } ,
2725 {
2826 path : TAB_IDS . ISSUES ,
2927 element : < Insights insightViewType = { "Issues" } key = { "issues" } />
@@ -38,14 +36,12 @@ export const routes: RouteObject[] = [
3836 }
3937 ]
4038 } ,
39+ {
40+ path : TAB_IDS . ANALYTICS ,
41+ element : < Insights insightViewType = { "Analytics" } key = { "analytics" } />
42+ } ,
4143 ...( platform === "JetBrains"
4244 ? [
43- {
44- path : TAB_IDS . ANALYTICS ,
45- element : (
46- < Insights insightViewType = { "Analytics" } key = { "analytics" } />
47- )
48- } ,
4945 {
5046 path : TAB_IDS . ERRORS ,
5147 element : < Errors /> ,
You can’t perform that action at this time.
0 commit comments