Skip to content

Conversation

@IvanStepanok
Copy link
Contributor

@IvanStepanok IvanStepanok commented Sep 8, 2025

Portrait

portrait.mov

Landscape

landscape.mov

iPad

iPad.mov

Dark Theme

IvanStepanok and others added 24 commits June 24, 2025 13:08
carousel in progress, first carousel slide finished
* feat: course progress tab without colors and analytics

* feat: add new value assignmentColors to response

* fix: grade completion calculation

* fix: change NO_GRADED_ASSIGNMENTS localization

* fix: update tests

* feat: address feedback

* fix: tests

* feat: add assignment colors

* feat: update accessibility strings

* fix: change grade titile

* feat: add more accessibility

* fix: totalProblems calculation

* feat: update grade points value

* fix: update earnedPoints

* feat: add bindings to subviews

* feat: add default assignment colors

* fix: remove development team

* fix: address feedback

* feat: update default colors
* feat: add content tab

* feat: add segmented controll

* feat: Implement AllContentView and section progress UI

* feat: add Videos screen

* feat: autoscroll to first non watched video

* feat: Add toggle to show/hide completed videos in course view

Introduces a toggle in the course progress view to show or hide completed videos. Updates VideoSectionView and VideosContentView to filter visible videos based on the toggle state. Adds new localization strings for the toggle and updates progress display to show watched videos. Refactors related UI and logic for improved user experience.

* fix: navigation to selected video

* feat: add local video thumbnail generation fallback

* fix: load video thumbnail in offline mode

* feat: save and show local video progress

remove old video tab

* feat: add course progress calculation and update views

* feat: add course progress endpoint

* feat: work in progress

* feat: small fixes

* feat: add pointer

* feat: add routing

* feat: add short_label value

* feat: add short_label to cells

* feat: update clearLabel logic

* feat: refactor assignment status handling and UI logic

* feat: add localizations

* feat: refactor completed assignments toggle in progress section

* feat: add assignment color support to grading policy

* feat: update local progress applying to video

* feat: load current progress for videos

* feat: refactor assignment status logic and fix status usage

* fix: address feedback

* feat: before refactoring

* fix: refactoring

* feat: add grading policy button

* feat: add accessibility

* feat: update tests

* feat: update view completed button logic

* feat: refactoring

* feat: address feedback

* feat: address feedback

* feat: add course progress offline

* fix: offline loading

* feat: add binding logic for videos

* fix: move logic to vm

* fix: update assignments to use bindings

* fix: address feedback

* fix: remove published from realDownloadedFilesSize

* feat: move thumbnail logic to external service

* fix: archive issue

* fix: address feedback

* fix: address feedback

* feat: add dividers to assignments content view

* feat: update analytics

* feat: address feedback

* fix: all tab address feedback

* fix: update download icon color

* feat: hide zero points

* feat: update default colors

* fix: address feedback

* feat: update accessibility on videos tab

* feat: add titles to videos

* fix: completed sections order

* feat: add section name to AssignmentDetailCard

* fix: merge conflicts

* fix: update xcode tests version
@openedx-webhooks openedx-webhooks added open-source-contribution PR author is not from Axim or 2U core contributor PR author is a Core Contributor (who may or may not have write access to this repo). labels Sep 8, 2025
@openedx-webhooks
Copy link

Thanks for the pull request, @IvanStepanok!

This repository is currently maintained by @openedx/openedx-mobile-maintainers.

Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review.

🔘 Get product approval

If you haven't already, check this list to see if your contribution needs to go through the product review process.

  • If it does, you'll need to submit a product proposal for your contribution, and have it reviewed by the Product Working Group.
    • This process (including the steps you'll need to take) is documented here.
  • If it doesn't, simply proceed with the next step.
🔘 Provide context

To help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:

  • Dependencies

    This PR must be merged before / after / at the same time as ...

  • Blockers

    This PR is waiting for OEP-1234 to be accepted.

  • Timeline information

    This PR must be merged by XX date because ...

  • Partner information

    This is for a course on edx.org.

  • Supporting documentation
  • Relevant Open edX discussion forum threads
🔘 Get a green build

If one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green.

Details
Where can I find more information?

If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources:

When can I expect my changes to be merged?

Our goal is to get community contributions seen and reviewed as efficiently as possible.

However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:

  • The size and impact of the changes that it introduces
  • The need for product review
  • Maintenance status of the parent repository

💡 As a result it may take up to several weeks or months to complete a review and merge your PR.

@mphilbrick211 mphilbrick211 moved this from Needs Tests Run or CLA Signed to Waiting on Author in Contributions Sep 16, 2025
@mphilbrick211 mphilbrick211 removed the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Sep 16, 2025
@edschema
Copy link

This looks great @IvanStepanok
For the videos tab, to make it consistent with the Android implementation, can we remove the section name under the video?

For the Video card: if the video has not been started, the text should read "Next Video". Continue watching is for videos that are started but not yet finished.

Thanks!

@Demian-Yushyn
Copy link
Contributor

@edschema hi!

  1. Section name was removed
  2. I added "Next Video" text for this case, now it works as supposed

@edschema edschema mentioned this pull request Sep 26, 2025
@edschema edschema requested a review from RawanMatar89 October 3, 2025 12:59
Copy link
Contributor

@RawanMatar89 RawanMatar89 left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏻

self.verificationData = verificationData
}

public func getAssignmentProgressForGrades1(for assignmentType: String) -> AssignmentProgressData {
Copy link
Contributor

Choose a reason for hiding this comment

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

I can't see so much differences between "getAssignmentProgressForGrades1" and "getAssignmentProgress" why we have two ?

case continueLesson
case nextSection
case custom(String)
case continueLessonCustom(String)
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe "customContinueLesson" will be better

}


func chapterProgressDeep(for chapter: CourseChapter) -> Double {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think "chapterCompletionProgress" is more discriptive than "chapterProgressDeep"

return max(0.0, min(1.0, averageProgress))
}

func chapterProgressDeepPercents(for chapter: CourseChapter) -> Int {
Copy link
Contributor

Choose a reason for hiding this comment

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

here also
I think "chapterCompletionPercentProgress" is more discriptive than "chapterProgressDeepPercents"
Or even we should have one function with parameter to return as percent or just the progress

@Demian-Yushyn
Copy link
Contributor

@RawanMatar89 thanks for your review! All issues are fixed now.

Copy link
Contributor

@RawanMatar89 RawanMatar89 left a comment

Choose a reason for hiding this comment

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

LGTM 👏🏻

@IvanStepanok IvanStepanok force-pushed the feat/course-home-tab-carousel branch from 657f067 to b12024f Compare October 22, 2025 07:41
@volodymyr-chekyrta volodymyr-chekyrta merged commit ac55905 into openedx:develop Oct 22, 2025
8 checks passed
@github-project-automation github-project-automation bot moved this from Waiting on Author to Done in Contributions Oct 22, 2025
@codecov
Copy link

codecov bot commented Oct 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop@a43480c). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff            @@
##             develop   #638   +/-   ##
========================================
  Coverage           ?      0           
========================================
  Files              ?      0           
  Lines              ?      0           
  Branches           ?      0           
========================================
  Hits               ?      0           
  Misses             ?      0           
  Partials           ?      0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core contributor PR author is a Core Contributor (who may or may not have write access to this repo). 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.

9 participants