Skip to content

Feature/weekly summary settings - #24

Merged
Gabry848 merged 4 commits into
masterfrom
feature/weekly-summary-settings
May 14, 2026
Merged

Feature/weekly summary settings#24
Gabry848 merged 4 commits into
masterfrom
feature/weekly-summary-settings

Conversation

@Gabry848

Copy link
Copy Markdown
Collaborator

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:

  • Added a new section in the NotificationSettingsScreen UI for configuring weekly summary notifications, including toggles, day-of-week selectors, and hour selectors.
  • Introduced state management and handler functions in NotificationSettingsScreen to load, update, and display weekly summary settings, with error handling and optimistic UI updates. [1] [2] [3]
  • Created a new service module weeklySummaryService.ts with functions to fetch and update weekly summary settings from the backend.

Localization:

  • Added English and Italian translations for all weekly summary-related UI elements and descriptions. [1] [2] [3] [4]

Styling:

  • Added new styles for weekly summary controls, including sub-section headers and pill selectors for days and hours.

Gabry848 and others added 4 commits May 14, 2026 10:56
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>
@Gabry848
Gabry848 merged commit 06b685d into master May 14, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant