Feature/weekly summary settings - #24
Merged
Merged
Conversation
Add weeklySummaryService.ts with functions to: - Get current weekly summary settings - Update weekly summary settings (enabled, day, hour) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add UI section for managing weekly summary settings: - Toggle to enable/disable weekly summaries - Day selector (Dom-Sab) for scheduling - Hour selector (00:00-23:00) for timing - Display next scheduled date when enabled - Integrate with weeklySummaryService API calls Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add translations for weekly summary section in both Italian and English: - Section titles and descriptions - Enable/disable toggle labels - Day and hour selector labels - Next scheduled date display Update NotificationSettings to use translation keys instead of hardcoded text. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fix missing key prop error by correctly accessing the WEEK_DAYS array. WEEK_DAYS contains simple numbers [0-6], not objects with value property. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds support for a new "Weekly Summary" notification feature, allowing users to receive a weekly summary of their tasks. The implementation includes UI controls for enabling/disabling the summary, selecting the day of the week and hour for delivery, and managing these settings via a new service. Localization for both English and Italian is also included.
Weekly Summary Feature Implementation:
NotificationSettingsScreenUI for configuring weekly summary notifications, including toggles, day-of-week selectors, and hour selectors.NotificationSettingsScreento load, update, and display weekly summary settings, with error handling and optimistic UI updates. [1] [2] [3]weeklySummaryService.tswith functions to fetch and update weekly summary settings from the backend.Localization:
Styling: