Skip to content

[MBL-19538][S] Learner Dashboard - To-do Widget#3934

Draft
domonkosadam wants to merge 29 commits intomasterfrom
MBL-19538-ToDo-dashboard-widget
Draft

[MBL-19538][S] Learner Dashboard - To-do Widget#3934
domonkosadam wants to merge 29 commits intomasterfrom
MBL-19538-ToDo-dashboard-widget

Conversation

@domonkosadam
Copy link
Contributor

@domonkosadam domonkosadam commented Mar 11, 2026

refs: MBL-19538
builds: Student
affects: Student
release note: none

Screenshots

Checklist

  • Follow-up e2e test ticket created
  • A11y checked
  • Tested on phone
  • Tested on tablet
  • Tested in dark mode
  • Tested in light mode
  • Approve from product

@bitrise
Copy link
Contributor

bitrise bot commented Mar 11, 2026

Builds

No apps were built for this pull request.

To trigger app builds, include a line starting with builds: followed by app names (Student, Teacher, Parent, or All) in your pull request's message.

Commit: Resolve conflict (ee8c8d5)
Built At: Mar 13 14:44 CET (03/13 07:44 AM MDT)

@bitrise
Copy link
Contributor

bitrise bot commented Mar 11, 2026

Fails
🚫 Build failed, skipping coverage check
Warnings
⚠️ This pull request will not generate a release note.

Affected Apps: Student

Builds: Student

MBL-19538

Generated by 🚫 dangerJS against e81ef23

@bitrise
Copy link
Contributor

bitrise bot commented Mar 11, 2026

Fails
🚫 Build failed, skipping coverage check
Warnings
⚠️ This pull request will not generate a release note.

Affected Apps: Student

Builds: Student

MBL-19538

Generated by 🚫 dangerJS against c36ee14

@bitrise
Copy link
Contributor

bitrise bot commented Mar 12, 2026

Fails
🚫 Build failed, skipping coverage check
Warnings
⚠️ This pull request will not generate a release note.

Affected Apps: Student

Builds: Student

MBL-19538

Generated by 🚫 dangerJS against 4fd14e7

@bitrise
Copy link
Contributor

bitrise bot commented Mar 12, 2026

Fails
🚫 Build failed, skipping coverage check
Warnings
⚠️ This pull request will not generate a release note.

Affected Apps: Student

Builds: Student

MBL-19538

Generated by 🚫 dangerJS against 700ba46

@bitrise
Copy link
Contributor

bitrise bot commented Mar 12, 2026

Fails
🚫 Build failed, skipping coverage check
Warnings
⚠️ This pull request will not generate a release note.

Affected Apps: Student

Builds: Student

MBL-19538

Generated by 🚫 dangerJS against 194b5ca

@bitrise
Copy link
Contributor

bitrise bot commented Mar 12, 2026

Warnings
⚠️ This pull request will not generate a release note.
⚠️ One or more files are below the minimum test coverage 50%

Affected Apps: Student

Builds: Student

MBL-19538

Coverage New % Master % Delta
Canvas iOS 91.71% 81.06% 10.65%
Student/Student/LearnerDashboard/Widgets/ToDoWidget/Model/WeekPagerProxy.swift 0% -- --

Generated by 🚫 dangerJS against 45de378

@petkybenedek petkybenedek changed the title [MBL-19538][S] ToDo Dashboard Widget [MBL-19538][S] Learner Dashboard - To-do Widget Mar 12, 2026
rh12 added 3 commits March 13, 2026 14:19
# Conflicts:
#	Student/Student/LearnerDashboard/Widgets/DashboardWidgetIdentifier.swift
@bitrise
Copy link
Contributor

bitrise bot commented Mar 13, 2026

Fails
🚫 Build failed, skipping coverage check
Warnings
⚠️ This pull request will not generate a release note.

Affected Apps: Student

Builds: Student

MBL-19538

Generated by 🚫 dangerJS against ee8c8d5

@rh12 rh12 assigned rh12 and unassigned domonkosadam Mar 13, 2026
@rh12 rh12 marked this pull request as draft March 13, 2026 14:16
import Core
import SwiftUI

struct ToDoWidgetView: View {
Copy link
Contributor

@rh12 rh12 Mar 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Week overlay buttons

  • Replace ZStack with overlay, eliminate geometry observations
  • Use icons
  • Remove/rework accessibilityRepresentation
  • Support scaling

Card header

  • Move all formatting to stored viewModel properties

Week pager

  • Fix dynamic font size issues
  • On paging: Keep selected day instead of todays's day

ToDo list

  • Consolidate empty/error panda
  • Revisit skeleton cell count (ideas: last count, always 1)

Misc

  • Fix card moving up/down on Today button show/hide
  • Extract subviews
  • Update color usage (after Settings PR is merged)
  • Remove Add ToDo screen Done button

import SwiftUI

@Observable
final class ToDoWidgetViewModel: DashboardWidgetViewModel {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Fix snackbar not always displaying
  • Fix todos not always loading
  • Fix sync issues between widget and tab (items reordered after PTR on tab, etc)

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.

3 participants