From c3fc01999479e986f65e2fbf41419e2b1d6600ac Mon Sep 17 00:00:00 2001 From: DualFroz Date: Wed, 26 Aug 2026 23:06:34 +0200 Subject: [PATCH] feat(app): add fleet and host metrics views --- src/Vantage.App/Views/FleetView.axaml | 77 ++++++++++++++++++ src/Vantage.App/Views/FleetView.axaml.cs | 9 +++ src/Vantage.App/Views/HostMetricsView.axaml | 80 +++++++++++++++++++ .../Views/HostMetricsView.axaml.cs | 9 +++ 4 files changed, 175 insertions(+) create mode 100644 src/Vantage.App/Views/FleetView.axaml create mode 100644 src/Vantage.App/Views/FleetView.axaml.cs create mode 100644 src/Vantage.App/Views/HostMetricsView.axaml create mode 100644 src/Vantage.App/Views/HostMetricsView.axaml.cs diff --git a/src/Vantage.App/Views/FleetView.axaml b/src/Vantage.App/Views/FleetView.axaml new file mode 100644 index 0000000..22f0264 --- /dev/null +++ b/src/Vantage.App/Views/FleetView.axaml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Vantage.App/Views/FleetView.axaml.cs b/src/Vantage.App/Views/FleetView.axaml.cs new file mode 100644 index 0000000..1f1a608 --- /dev/null +++ b/src/Vantage.App/Views/FleetView.axaml.cs @@ -0,0 +1,9 @@ +using Avalonia.Controls; +using Avalonia.Markup.Xaml; + +namespace Vantage.App.Views; + +public partial class FleetView : UserControl +{ + public FleetView() => AvaloniaXamlLoader.Load(this); +} diff --git a/src/Vantage.App/Views/HostMetricsView.axaml b/src/Vantage.App/Views/HostMetricsView.axaml new file mode 100644 index 0000000..ed2494e --- /dev/null +++ b/src/Vantage.App/Views/HostMetricsView.axaml @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Vantage.App/Views/HostMetricsView.axaml.cs b/src/Vantage.App/Views/HostMetricsView.axaml.cs new file mode 100644 index 0000000..a070072 --- /dev/null +++ b/src/Vantage.App/Views/HostMetricsView.axaml.cs @@ -0,0 +1,9 @@ +using Avalonia.Controls; +using Avalonia.Markup.Xaml; + +namespace Vantage.App.Views; + +public partial class HostMetricsView : UserControl +{ + public HostMetricsView() => AvaloniaXamlLoader.Load(this); +}