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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user