Professional redesign: native window, settings, calmer UI

- WindowChrome: resizable, snap layouts, native shadow, DWM rounded
  corners; size/position remembered; fade-in after load (no theme flash)
- Menu bar replaced by a settings window (theme system/light/dark,
  language, sound, autostart, categories, data, shortcuts, about)
- Shared styles in Themes/Controls.xaml; neutral palette with one accent
  applied to Application.Resources (context menus/tooltips themed)
- Rows: To-Do style check left, title + details, relative date right,
  actions on hover, visible selection (Enter edits, Del deletes)
- No glow/scale effects; subtle animations (dialogs, snackbar, chevrons)
- Checking a recurring task moves it to the next date (with undo)
- Themed combo box, date picker, check box; neutral dialog headers
- New flat app icon (tools/make_icon.py)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-29 18:10:45 +01:00
parent 00e9990feb
commit 3e0b00f11c
28 changed files with 2100 additions and 1434 deletions

View File

@@ -138,6 +138,11 @@ namespace ReminderOrganizer.Models
/// <summary>Set once by the app: culture for month names, relative-date formatter.</summary>
public static Func<CultureInfo>? DisplayCulture { get; set; }
public static Func<DateTime, DateTime, string>? RelativeFormatter { get; set; }
public static Func<RecurrenceType, string>? RecurrenceFormatter { get; set; }
/// <summary>"Weekly" etc. for recurring appointments (empty for one-off tasks and anniversaries).</summary>
[System.Text.Json.Serialization.JsonIgnore]
public string RecurrenceText => IsRecurring && !IsAnniversary ? RecurrenceFormatter?.Invoke(RecurrenceType) ?? RecurrenceType.ToString() : "";
/// <summary>"19. März" for birthdays, otherwise "19.03.2027 09:00".</summary>
[System.Text.Json.Serialization.JsonIgnore]
@@ -329,6 +334,16 @@ namespace ReminderOrganizer.Models
public bool? IsDarkMode { get; set; }
public bool PlaySound { get; set; } = true;
public bool HideDone { get; set; }
/// <summary>"system", "light", "dark" (empty = from IsDarkMode of older files).</summary>
public string ThemeMode { get; set; } = "";
/// <summary>Last window position/size (device-independent pixels).</summary>
public double? WindowLeft { get; set; }
public double? WindowTop { get; set; }
public double? WindowWidth { get; set; }
public double? WindowHeight { get; set; }
public bool WindowMaximized { get; set; }
/// <summary>"list", "compact" or "cards".</summary>
public string ViewMode { get; set; } = "list";
/// <summary>Group the list by month (collapsible).</summary>