postit: persist settings save and apply ApiUrl changes without restart #51

Merged
notazof merged 25 commits from feat/estimate into main 2026-09-06 21:05:58 +01:00
Showing only changes of commit f316c4eb50 - Show all commits

postit: ignore runtime status in settings json
All checks were successful
Dotnet build and test / build (pull_request) Successful in 5m17s

Paul Schneider 2026-09-06 16:24:46 +01:00
Signed by: notazof
GPG key ID: 1DD5D838E5343B06

View file

@ -7,6 +7,7 @@ using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Text.Json;
using System.Text.Json.Serialization;
[assembly: InternalsVisibleTo("PostIt.Tests")]
@ -32,6 +33,7 @@ public partial class Settings : ViewModelBase
public partial string SearchText { get; set; } = string.Empty;
[ObservableProperty]
[JsonIgnore]
public partial StatusNotice ActionStatus { get; set; } = StatusNotice.Info("Pret.");
public void SetActionStatus(string message, StatusSeverity severity = StatusSeverity.Info)