Add Docker whale icon for docker images

Docker images now display with distinctive 🐋 whale icon in blue (highlight color) instead of status icons. This provides clear visual identification that these are docker images while not implying operational status.
This commit is contained in:
2025-11-27 18:16:33 +01:00
parent 1be55f765d
commit 92c3ee3f2a
2 changed files with 10 additions and 5 deletions

View File

@@ -180,7 +180,7 @@ impl ServicesWidget {
};
let tree_symbol = if is_last { "└─" } else { "├─" };
// Docker images don't have status icons
// Docker images use docker whale icon
if info.service_type == "image" {
vec![
// Indentation and tree prefix
@@ -188,7 +188,12 @@ impl ServicesWidget {
format!(" {} ", tree_symbol),
Typography::tree(),
),
// Service name (no icon for images)
// Docker whale icon
ratatui::text::Span::styled(
"🐋 ".to_string(),
Style::default().fg(Theme::highlight()).bg(Theme::background()),
),
// Service name
ratatui::text::Span::styled(
format!("{:<18} ", short_name),
Style::default()