From fcdc4bb266a2fbaa7db677a23726e541b4b4ec18 Mon Sep 17 00:00:00 2001
From: Cryptokid92 <114345066+Cryptokid92@users.noreply.github.com>
Date: Sun, 30 Aug 2026 01:51:56 +0200
Subject: [PATCH 01/20] fix(macutil): per-tab status and trim-safe export
---
MacUtilGUI/Services/PresetService.fs | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/MacUtilGUI/Services/PresetService.fs b/MacUtilGUI/Services/PresetService.fs
index f9c6c95..72ee9be 100644
--- a/MacUtilGUI/Services/PresetService.fs
+++ b/MacUtilGUI/Services/PresetService.fs
@@ -1,6 +1,8 @@
namespace MacUtilGUI.Services
open System
+open System.IO
+open System.Text
open System.Text.Json
open System.Text.Json.Nodes
open MacUtilGUI.Models
@@ -13,7 +15,16 @@ module PresetService =
| None -> Error $"Unknown preset '{name}'"
let exportIds (ids: string list) =
- JsonSerializer.Serialize(Array.ofList ids)
+ use stream = new MemoryStream()
+ use writer = new Utf8JsonWriter(stream)
+ writer.WriteStartArray()
+
+ for id in ids do
+ writer.WriteStringValue id
+
+ writer.WriteEndArray()
+ writer.Flush()
+ Encoding.UTF8.GetString(stream.ToArray())
let parseImport (catalog: Catalog) (json: string) =
try
From 6497439301e999781664e64143d3b9513c03957e Mon Sep 17 00:00:00 2001
From: Cryptokid92 <114345066+Cryptokid92@users.noreply.github.com>
Date: Sun, 30 Aug 2026 01:52:50 +0200
Subject: [PATCH 02/20] fix(macutil): drop unused App.axaml panel styles
---
MacUtilGUI/App.axaml | 24 ------------------------
MacUtilGUI/Views/MainWindow.axaml.fs | 4 ++--
2 files changed, 2 insertions(+), 26 deletions(-)
diff --git a/MacUtilGUI/App.axaml b/MacUtilGUI/App.axaml
index 8b3688c..dffed6d 100644
--- a/MacUtilGUI/App.axaml
+++ b/MacUtilGUI/App.axaml
@@ -52,18 +52,6 @@
-
-
-
-
-
-
-
-
-