From 35feb15ea6cc4ac32cab7aedf25c22dc5cd9019a Mon Sep 17 00:00:00 2001
From: x0x0b <42596409+x0x0b@users.noreply.github.com>
Date: Mon, 23 Feb 2026 15:14:01 +0900
Subject: [PATCH 1/4] feat: add Early Access-only update badge and preserve
state on refresh
---
.../Languages/Resources.Designer.cs | 9 ++
.../Languages/Resources.resx | 3 +
StabilityMatrix.Avalonia/Styles/Card.axaml | 9 ++
.../Styles/ThemeColors.axaml | 92 ++++++++++---------
.../CheckpointFileViewModel.cs | 4 +
.../Views/CheckpointsPage.axaml | 20 +++-
.../Models/Database/LocalModelFile.cs | 20 +++-
.../Services/ModelIndexService.cs | 34 +++++++
8 files changed, 141 insertions(+), 50 deletions(-)
diff --git a/StabilityMatrix.Avalonia/Languages/Resources.Designer.cs b/StabilityMatrix.Avalonia/Languages/Resources.Designer.cs
index 45706973..af726ddd 100644
--- a/StabilityMatrix.Avalonia/Languages/Resources.Designer.cs
+++ b/StabilityMatrix.Avalonia/Languages/Resources.Designer.cs
@@ -3304,6 +3304,15 @@ public static string Label_UpdateAvailable {
return ResourceManager.GetString("Label_UpdateAvailable", resourceCulture);
}
}
+
+ ///
+ /// Looks up a localized string similar to Early Access Update Available.
+ ///
+ public static string Label_EarlyAccessUpdateAvailable {
+ get {
+ return ResourceManager.GetString("Label_EarlyAccessUpdateAvailable", resourceCulture);
+ }
+ }
///
/// Looks up a localized string similar to Updates.
diff --git a/StabilityMatrix.Avalonia/Languages/Resources.resx b/StabilityMatrix.Avalonia/Languages/Resources.resx
index 2d83d3c5..42d057cf 100644
--- a/StabilityMatrix.Avalonia/Languages/Resources.resx
+++ b/StabilityMatrix.Avalonia/Languages/Resources.resx
@@ -231,6 +231,9 @@
Update Available
+
+ Early Access Update Available
+
Become a Patron
diff --git a/StabilityMatrix.Avalonia/Styles/Card.axaml b/StabilityMatrix.Avalonia/Styles/Card.axaml
index 1632eaf1..c2d40935 100644
--- a/StabilityMatrix.Avalonia/Styles/Card.axaml
+++ b/StabilityMatrix.Avalonia/Styles/Card.axaml
@@ -94,6 +94,15 @@
+
+
+
+