@@ -99,7 +99,7 @@ export class NavigationApi {
99
99
* Sets the flag indicating that the navigation is loading and schedules a debounced hide of the loading screen.
100
100
*/
101
101
_showFakeLoadingScreen = ( ) => {
102
- log . debug ( 'Showing fake loading screen for tab switch' ) ;
102
+ log . trace ( 'Showing fake loading screen for tab switch' ) ;
103
103
this . _$isLoading . set ( true ) ;
104
104
this . _hideLoadingScreenDebounced ( ) ;
105
105
} ;
@@ -108,7 +108,7 @@ export class NavigationApi {
108
108
* Debounced function to hide the loading screen after a delay.
109
109
*/
110
110
_hideLoadingScreenDebounced = debounce ( ( ) => {
111
- log . debug ( 'Hiding fake loading screen for tab switch' ) ;
111
+ log . trace ( 'Hiding fake loading screen for tab switch' ) ;
112
112
this . _$isLoading . set ( false ) ;
113
113
} , SWITCH_TABS_FAKE_DELAY_MS ) ;
114
114
@@ -127,11 +127,11 @@ export class NavigationApi {
127
127
}
128
128
129
129
if ( tab === this . _app . activeTab . get ( ) ) {
130
- log . debug ( `Already on tab: ${ tab } ` ) ;
130
+ log . trace ( `Already on tab: ${ tab } ` ) ;
131
131
return true ;
132
132
}
133
133
134
- log . debug ( `Switching to tab: ${ tab } ` ) ;
134
+ log . trace ( `Switching to tab: ${ tab } ` ) ;
135
135
this . _showFakeLoadingScreen ( ) ;
136
136
this . _app . activeTab . set ( tab ) ;
137
137
return true ;
@@ -160,11 +160,11 @@ export class NavigationApi {
160
160
this . waiters . delete ( key ) ;
161
161
}
162
162
163
- log . debug ( `Registered panel ${ key } ` ) ;
163
+ log . trace ( `Registered panel ${ key } ` ) ;
164
164
165
165
return ( ) => {
166
166
this . panels . delete ( key ) ;
167
- log . debug ( `Unregistered panel ${ key } ` ) ;
167
+ log . trace ( `Unregistered panel ${ key } ` ) ;
168
168
} ;
169
169
} ;
170
170
@@ -192,7 +192,7 @@ export class NavigationApi {
192
192
try {
193
193
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
194
194
api . fromJSON ( stored as any ) ;
195
- log . debug ( { stored : parseify ( stored ) } , `Restored view ${ key } from storage` ) ;
195
+ log . trace ( { stored : parseify ( stored ) } , `Restored view ${ key } from storage` ) ;
196
196
} catch ( error ) {
197
197
log . error ( { error : parseify ( error ) } , `Failed to restore view ${ key } from storage` ) ;
198
198
this . _app . storage . delete ( key ) ;
@@ -201,7 +201,7 @@ export class NavigationApi {
201
201
}
202
202
} else {
203
203
initialize ( ) ;
204
- log . debug ( `Initialized ${ key } from scratch` ) ;
204
+ log . trace ( `Initialized ${ key } from scratch` ) ;
205
205
this . _app . storage . set ( key , api . toJSON ( ) ) ;
206
206
}
207
207
@@ -215,7 +215,7 @@ export class NavigationApi {
215
215
} , 300 )
216
216
) ;
217
217
218
- log . debug ( `Registered view ${ key } ` ) ;
218
+ log . trace ( `Registered view ${ key } ` ) ;
219
219
} ;
220
220
221
221
/**
@@ -337,7 +337,7 @@ export class NavigationApi {
337
337
338
338
// Dockview uses the term "active", but we use "focused" for consistency.
339
339
panel . api . setActive ( ) ;
340
- log . debug ( `Focused panel ${ key } ` ) ;
340
+ log . trace ( `Focused panel ${ key } ` ) ;
341
341
342
342
return true ;
343
343
} catch ( error ) {
@@ -593,7 +593,7 @@ export class NavigationApi {
593
593
this . waiters . delete ( key ) ;
594
594
}
595
595
596
- log . debug ( `Unregistered all panels for tab ${ tab } ` ) ;
596
+ log . trace ( `Unregistered all panels for tab ${ tab } ` ) ;
597
597
} ;
598
598
}
599
599
0 commit comments