From cbc37fb4669baeb1eb2e9d17f4b7cc8c658efdb1 Mon Sep 17 00:00:00 2001 From: JT Date: Sat, 16 Mar 2024 19:17:29 -0700 Subject: [PATCH] backport some bug fixes from dev --- CHANGELOG.md | 14 ++ StabilityMatrix.Avalonia/App.axaml | 2 + .../DesignData/DesignData.cs | 3 +- .../Models/IInfinitelyScroll.cs | 8 + .../CivitAiBrowserViewModel.cs | 178 +++++++----------- .../CheckpointManager/CheckpointFile.cs | 6 + .../Dialogs/NewOneClickInstallViewModel.cs | 5 + .../Dialogs/OneClickInstallViewModel.cs | 7 +- .../Dialogs/SelectModelVersionViewModel.cs | 19 +- .../Views/CivitAiBrowserPage.axaml | 82 +++----- .../Views/CivitAiBrowserPage.axaml.cs | 16 +- .../Dialogs/NewOneClickInstallDialog.axaml | 39 ++++ .../Views/MainWindow.axaml | 4 +- .../Models/Api/CivitMetadata.cs | 14 +- .../Models/Api/CivitModelStats.cs | 5 +- .../Models/Api/CivitModelVersion.cs | 21 ++- .../Models/Api/CivitModelsRequest.cs | 60 +++--- .../Models/PackageDifficulty.cs | 12 +- .../IPackageModificationRunner.cs | 2 +- .../PackageModificationRunner.cs | 2 +- .../Models/Packages/ComfyUI.cs | 2 +- .../Models/Packages/SDWebForge.cs | 2 + 22 files changed, 262 insertions(+), 241 deletions(-) create mode 100644 StabilityMatrix.Avalonia/Models/IInfinitelyScroll.cs diff --git a/CHANGELOG.md b/CHANGELOG.md index 25b313af..90a0f515 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,20 @@ All notable changes to Stability Matrix will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2.0.0.html). +## v2.9.2 +### Changed +- Due to changes on the CivitAI API, you can no longer select a specific page in the CivitAI Model Browser +- Due to the above API changes, new pages are now loaded via "infinite scrolling +### Fixed +- Fixed models not being removed from the installed models cache when deleting them from the Checkpoints page +- Fixed model download location options for VAEs in the CivitAI Model Browser +- Fixed One-Click install progress dialog not disappearing after completion +- Fixed ComfyUI with Inference pop-up during one-click install appearing below the visible scroll area +- Fixed no packages being available for one-click install on PCs without a GPU +- Fixed missing ratings on some models in the CivitAI Model Browser +- Fixed missing favorite count in the CivitAI Model Browser +- Fixed recommended models not showing all SDXL models + ## v2.9.1 ### Added - Fixed [#498](https://github.com/LykosAI/StabilityMatrix/issues/498) Added "Pony" category to CivitAI Model Browser diff --git a/StabilityMatrix.Avalonia/App.axaml b/StabilityMatrix.Avalonia/App.axaml index 1f039a8a..cbe8b808 100644 --- a/StabilityMatrix.Avalonia/App.axaml +++ b/StabilityMatrix.Avalonia/App.axaml @@ -4,6 +4,7 @@ xmlns:local="using:StabilityMatrix.Avalonia" xmlns:idcr="using:Dock.Avalonia.Controls.Recycling" xmlns:styling="clr-namespace:FluentAvalonia.Styling;assembly=FluentAvalonia" + xmlns:controls="clr-namespace:Avalonia.Labs.Controls;assembly=Avalonia.Labs.Controls" Name="Stability Matrix" RequestedThemeVariant="Dark"> @@ -79,6 +80,7 @@ + + + + + +