feat: display actual reminder schedule from server config (#386)

- Expose REMINDER_HOUR and REMINDER_MINUTES_BEFORE env values via settings API
- Add reminderHour and reminderMinutesBefore to frontend Settings interface
- Replace hardcoded i18n strings with parameterized translations
- Settings page now shows configured schedule instead of static 6:00 / 15 min
This commit is contained in:
Daniel Volz
2026-03-06 19:51:19 +01:00
committed by GitHub
parent 30c97e2f0d
commit 5b6c6abb69
5 changed files with 18 additions and 6 deletions
+4
View File
@@ -49,6 +49,8 @@ export interface Settings {
upcomingTodayOnly: boolean;
shareScheduleTodayOnly: boolean;
swapDashboardMainSections: boolean;
reminderHour: number;
reminderMinutesBefore: number;
expiryWarningDays: number;
}
@@ -96,6 +98,8 @@ const defaultSettings: Settings = {
upcomingTodayOnly: false,
shareScheduleTodayOnly: false,
swapDashboardMainSections: false,
reminderHour: 6,
reminderMinutesBefore: 15,
expiryWarningDays: 30,
};