Skip to content

Conversation

@PavloNetrebchuk
Copy link
Contributor

@PavloNetrebchuk PavloNetrebchuk commented May 17, 2024

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.


Light Theme Dark Theme
Screenshot 2024-05-20 at 12 52 48 Screenshot 2024-05-20 at 12 53 10
Screenshot 2024-05-20 at 12 53 39 Screenshot 2024-05-20 at 12 53 59
Screenshot 2024-05-20 at 12 55 00 Screenshot 2024-05-20 at 12 55 18
Screenshot 2024-05-20 at 13 01 11 Screenshot 2024-05-20 at 13 01 28

# 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
@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label May 17, 2024
@openedx-webhooks
Copy link

openedx-webhooks commented May 17, 2024

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:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

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.

@PavloNetrebchuk PavloNetrebchuk force-pushed the feat/calendar branch 3 times, most recently from 6134ed4 to 3929fed Compare May 20, 2024 10:22
@PavloNetrebchuk
Copy link
Contributor Author

PavloNetrebchuk commented May 20, 2024

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.

@volodymyr-chekyrta volodymyr-chekyrta marked this pull request as ready for review May 20, 2024 12:27
@volodymyr-chekyrta
Copy link
Contributor

@HamzaIsrar12 @k1rill friendly reminder on this PR 🙏
We have to unblock further work.

@volodymyr-chekyrta volodymyr-chekyrta changed the title Feat: Calendar main screen and dialogs feat: [FC-0047] Calendar main screen and dialogs May 22, 2024
@volodymyr-chekyrta
Copy link
Contributor

@HamzaIsrar12 @k1rill, please spare some time to review this PR 🙏
We have to unlock further work.

Copy link
Contributor

@k1rill k1rill left a 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

@PavloNetrebchuk PavloNetrebchuk requested a review from k1rill May 24, 2024 10:37
@PavloNetrebchuk
Copy link
Contributor Author

@k1rill I've completed it. Could you please review it again at your earliest convenience?

@HamzaIsrar12
Copy link
Contributor

@volodymyr-chekyrta I'm reviewing it. 😄

k1rill
k1rill previously approved these changes May 24, 2024
Copy link
Contributor

@k1rill k1rill left a comment

Choose a reason for hiding this comment

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

LGTM

@volodymyr-chekyrta
Copy link
Contributor

Thank you guys!

Copy link
Contributor

@HamzaIsrar12 HamzaIsrar12 left a 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.

@volodymyr-chekyrta
Copy link
Contributor

Maybe we need to introduce a feature flag as well for the app-level calendar sync feature.

Just for clarification 🤓
By FC-0047 the app level calendar should replace the course level calendar.

@PavloNetrebchuk
Copy link
Contributor Author

@HamzaIsrar12
Thanks for your feedback! I've added the recent changes.

Copy link
Contributor

@HamzaIsrar12 HamzaIsrar12 left a comment

Choose a reason for hiding this comment

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

LGTM 🏎️ ✨

@volodymyr-chekyrta volodymyr-chekyrta merged commit 0d093ea into openedx:develop May 29, 2024
@openedx-webhooks
Copy link

@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.

@volodymyr-chekyrta volodymyr-chekyrta deleted the feat/calendar branch May 29, 2024 10:03
PavloNetrebchuk added a commit to raccoongang/openedx-app-android that referenced this pull request May 30, 2024
* feat: Created calendar setting screen

* feat: CalendarAccessDialog

* feat: NewCalendarDialog

* fix: Fixes according to PR feedback
volodymyr-chekyrta added a commit that referenced this pull request Jun 6, 2024
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

open-source-contribution PR author is not from Axim or 2U

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants