-
Notifications
You must be signed in to change notification settings - Fork 121
[MBL-19376][S] To-do - Sync widget content with in-app screen #3770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feature/MBL-19375-todo-filters
Are you sure you want to change the base?
[MBL-19376][S] To-do - Sync widget content with in-app screen #3770
Conversation
- Made TodoInteractor and TodoGroupViewModel public for widget access - Added alwaysExcludeCompleted parameter to TodoInteractor - Refactored TodoModel to work with grouped data instead of flat items - Updated TodoWidgetProvider to use TodoInteractor instead of manual filtering - Removed redundant flatten/regroup logic from widget 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Move alwaysExcludeCompleted to be the first parameter for better readability at call sites. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
The widget now respects ExperimentalFeature.newStudentToDoScreen to match the main app's todo screen behavior. When disabled, restores the original calendar-based filtering to minimize regression risk. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
ExperimentalFeature was using UserDefaults.standard which is not shared between the main app and widget extensions. This caused the widget to always use the old todo behavior regardless of the feature flag state. Now uses UserDefaults with app group suite name, matching SessionDefaults. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Make shortDayMonthFormatter respect the calendar's timezone so that dates are formatted consistently in tests and production. Extend unit tests with new functionality. refs: MBL-19376 builds: Student affects: Student release note: none test plan: - To-do widget should show the same items as the new calendar. - Turning off the dev feature flag should revert widget to its previous version
Claude Code ReviewUpdated: 2025-11-21 ✅ No critical issues found Summary:
|
Affected Apps: StudentBuilds: Student
|
BuildsCommit: Merge branch 'feature/MBL-19375-todo-filters' into feature/MBL-19376-Sync-todo-widget-content-with-todo-screen (14db4c5) |
…Sync-todo-widget-content-with-todo-screen # Conflicts: # Core/Core/Features/Todos/Model/TodoInteractor.swift
Claude Code ReviewUpdated: 2025-11-24 Critical Issues Found
Observations
✅ Approved |
What's new?
newStudentToDoScreenfeature flag and uses the new To-do data source if the flag is on.ExperimentalFeatureto use sharedUserDefaultsvia app group. This was needed for the widget to be able to read the flag states written by the app.refs: MBL-19376
builds: Student
affects: Student
release note: none
test plan:
Screenshots
Checklist