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