-
Notifications
You must be signed in to change notification settings - Fork 48
feat: [FC-0047] Calendar main screen and dialogs #322
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
feat: [FC-0047] Calendar main screen and dialogs #322
Conversation
# Conflicts: # core/src/main/res/values/strings.xml # course/src/main/java/org/openedx/course/presentation/container/CourseContainerFragment.kt # course/src/main/java/org/openedx/course/presentation/container/CourseContainerViewModel.kt # course/src/main/java/org/openedx/course/presentation/dates/CourseDatesScreen.kt # course/src/main/java/org/openedx/course/presentation/dates/CourseDatesViewModel.kt # course/src/main/java/org/openedx/course/presentation/videos/CourseVideosFragment.kt # course/src/test/java/org/openedx/course/presentation/container/CourseContainerViewModelTest.kt
|
Thanks for the pull request, @PavloNetrebchuk! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
6134ed4 to
3929fed
Compare
core/src/main/java/org/openedx/core/presentation/dialog/DialogUI.kt
Outdated
Show resolved
Hide resolved
profile/src/main/java/org/openedx/profile/presentation/calendar/CalendarAccessDialogFragment.kt
Outdated
Show resolved
Hide resolved
profile/src/main/java/org/openedx/profile/presentation/calendar/CalendarColor.kt
Outdated
Show resolved
Hide resolved
3929fed to
a5a0f89
Compare
|
The CalendarManager and several calendar logic classes were moved to the core module to save the efficiency of the dates tab on the course home screen. We will move them back after adding a new calendar setting and removing the calendar logic from dates tab. |
|
@HamzaIsrar12 @k1rill friendly reminder on this PR 🙏 |
a5a0f89 to
be8a6db
Compare
be8a6db to
ddd9c64
Compare
|
@HamzaIsrar12 @k1rill, please spare some time to review this PR 🙏 |
k1rill
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, just minor nits from my side
profile/src/main/java/org/openedx/profile/presentation/calendar/CalendarAccessDialogFragment.kt
Outdated
Show resolved
Hide resolved
profile/src/main/java/org/openedx/profile/presentation/calendar/CalendarFragment.kt
Outdated
Show resolved
Hide resolved
profile/src/main/java/org/openedx/profile/presentation/calendar/NewCalendarDialogFragment.kt
Outdated
Show resolved
Hide resolved
profile/src/main/java/org/openedx/profile/presentation/calendar/NewCalendarDialogFragment.kt
Outdated
Show resolved
Hide resolved
profile/src/main/java/org/openedx/profile/presentation/settings/SettingsViewModel.kt
Show resolved
Hide resolved
|
@k1rill I've completed it. Could you please review it again at your earliest convenience? |
|
@volodymyr-chekyrta I'm reviewing it. 😄 |
k1rill
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Thank you guys! |
HamzaIsrar12
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nits only. ✨
Maybe we need to introduce a feature flag as well for the app-level calendar sync feature.
profile/src/main/java/org/openedx/profile/presentation/calendar/CalendarColor.kt
Show resolved
Hide resolved
profile/src/main/java/org/openedx/profile/presentation/calendar/CalendarFragment.kt
Outdated
Show resolved
Hide resolved
profile/src/main/java/org/openedx/profile/presentation/calendar/CalendarAccessDialogFragment.kt
Show resolved
Hide resolved
Just for clarification 🤓 |
437febc to
f80afcc
Compare
|
@HamzaIsrar12 |
HamzaIsrar12
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🏎️ ✨
|
@PavloNetrebchuk 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
* feat: Created calendar setting screen * feat: CalendarAccessDialog * feat: NewCalendarDialog * fix: Fixes according to PR feedback
* feat: Course Home progress bar * feat: Collapsing course sections * feat: New download icons * feat: show CourseContainerFragment if COURSE_NESTED_LIST_ENABLED false * fix: course progress bar updating * feat: Renamed COURSE_NESTED_LIST_ENABLE feature flag * feat: Course home. Moved certificate access. * chore: enhance app theme capability for prod edX theme/branding (#262) chore: enhance app theme capability for prod edX theme/branding - Integrate Program config updates - theming/branding code improvements for light and dark modes - Force dark mode for the WebView (beta version) - No major change in the Open edX theme fixes: LEARNER-9783 * feat: [FC-0047] Calendar main screen and dialogs (#322) * feat: Created calendar setting screen * feat: CalendarAccessDialog * feat: NewCalendarDialog * fix: Fixes according to PR feedback * fix: DiscussionTopicsViewModelTest.kt jUnit test * fix: assignment dates * feat: [FC-0047] Improved Dashboard Level Navigation (#308) * feat: Created Learn screen. Added course/program navigation. Added endpoint for UserCourses screen. * feat: Added primary course card * feat: Added start/resume course button * feat: Added alignment items * feat: Fix future assignment date, add courses list, add onSearch and onCourse clicks * feat: Add feature flag for enabling new/old dashboard screen, add UserCoursesScreen onClick methods * feat: Create AllEnrolledCoursesFragment. Add endpoint parameters * feat: AllEnrolledCoursesFragment UI * feat: Minor code refactoring, show cached data if no internet connection * feat: UserCourses screen data caching * feat: Dashboard * refactor: Dashboard type flag change, start course button change * feat: Added programs fragment to LearnFragment viewPager * feat: Empty states and settings button * fix: Number of courses * fix: Minor UI changes * fix: Fixes according to designer feedback * fix: Fixes after demo * refactor: Move CourseContainerTab * fix: Fixes according to PR feedback * fix: Fixes according to PR feedback * feat: added a patch from Omer Habib * fix: Fixes according to PR feedback * fix: Assignment date string * fix: Lint error * fix: Assignment date string * fix: Fixes according to PR feedback * fix: Fixes according to designer feedback * fix: Fixes according to PR feedback --------- Co-authored-by: Volodymyr Chekyrta <volodymyr.chekyrta@raccoongang.com> Co-authored-by: Farhan Arshad <43750646+farhan-arshad-dev@users.noreply.github.com>
https://www.figma.com/design/iZ56YMjbRMShCCDxqrqRrR/Open-edX-Mobile-App-All-Screens-v2.1?node-id=13749-57827&t=1CiKfcW4o1pmVC5G-0
This pull request contains a portion of the FC-0047 scope. We have only added the UI for now. The logic will be added later.