Health banner Library-only (mirror of footer scoping)
Same logic as the footer : the health pills make sense only when the user is on the Library page. On Reports / Documentation, the WebView takes the full content area and the system-status row would just steal vertical space without adding value (and arguably distracts from the embedded site). New ShowHealthBanner = HasHealthIndicators && IsLibrary, with NotifyPropertyChangedFor on CurrentPage so the row collapses/reveals on tab switch like the footer already does. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -343,14 +343,17 @@
|
||||
|
||||
<!-- ============== Health banner (Row 1, ColSpan 2) ==============
|
||||
Pills colorées indiquant l'état des dépendances système (SteamVR,
|
||||
Vive Streaming, ping casque…). Cachée si la config n'a aucun check.
|
||||
Tooltip détaillé au survol de chaque pill. -->
|
||||
Vive Streaming, ping casque…). Visible uniquement sur la page
|
||||
Library — sur Reports/Documentation, les WebView prennent toute
|
||||
la place et le bandeau n'a pas de sens fonctionnel. Cachée aussi
|
||||
si la config n'a aucun check (ShowHealthBanner = HasHealthIndicators
|
||||
&& IsLibrary). Tooltip détaillé au survol de chaque pill. -->
|
||||
<Border Grid.Row="1" Grid.ColumnSpan="2"
|
||||
Background="{StaticResource Brush.Bg.Sidebar}"
|
||||
BorderBrush="{StaticResource Brush.Border}"
|
||||
BorderThickness="0,0,0,1"
|
||||
Padding="16,8"
|
||||
Visibility="{Binding HasHealthIndicators, Converter={StaticResource BoolToVisibility}}">
|
||||
Visibility="{Binding ShowHealthBanner, Converter={StaticResource BoolToVisibility}}">
|
||||
<ItemsControl ItemsSource="{Binding HealthIndicators}">
|
||||
<ItemsControl.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
|
||||
Reference in New Issue
Block a user