Skip to content

Conversation

@PavloNetrebchuk
Copy link
Contributor

@PavloNetrebchuk PavloNetrebchuk commented Sep 4, 2025

Portrait

Screen.Recording.2025-09-04.at.18.12.34.mov

Landscape

Screen.Recording.2025-09-04.at.18.15.32.mov

Tablet

Screen.Recording.2025-09-04.at.18.17.28.mov

Dart Theme

Screenshot 2025-09-04 at 18 19 24 Screenshot 2025-09-04 at 18 19 45 Screenshot 2025-09-04 at 18 19 56 Screenshot 2025-09-04 at 18 20 08

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Sep 4, 2025
@openedx-webhooks
Copy link

Thanks for the pull request, @PavloNetrebchuk!

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.

@github-project-automation github-project-automation bot moved this to Needs Triage in Contributions Sep 4, 2025
@PavloNetrebchuk PavloNetrebchuk self-assigned this Sep 4, 2025
@PavloNetrebchuk PavloNetrebchuk changed the title Feat: Home tab[0098] Feat: Home tab[0092] Sep 4, 2025
Copy link
Contributor

@IvanStepanok IvanStepanok left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

Choose a reason for hiding this comment

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

In case we will use this file for tests only, probably we can move it to core/src/test or to debug/testFixtures?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not only tests. Also preview functions


val downloadableBlocks = blocks.filter { it.isDownloadable }
val downloadingBlocks = blocksIds.filter { isBlockDownloading(it) }
val isAllBlocksDownloaded = downloadableBlocks.all { isBlockDownloaded(it.id) }
Copy link
Contributor

Choose a reason for hiding this comment

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

Will return true in case when we have downloadableBlocks empty. Is it okay?

Comment on lines 100 to 103
fun formatToDayMonth(date: Date): String {
val sdf = SimpleDateFormat("MMM dd", Locale.getDefault())
return sdf.format(date)
}
Copy link
Contributor

Choose a reason for hiding this comment

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

It returns Month to Day but named as a DayMonth

scaffoldState = scaffoldState,
backgroundColor = MaterialTheme.appColors.background
) {
val screenWidth by remember(key1 = windowSize) {
Copy link
Contributor

Choose a reason for hiding this comment

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

screenWithModifier?

@PavloNetrebchuk PavloNetrebchuk force-pushed the feat/home_tab branch 2 times, most recently from c28f338 to 40aa01f Compare September 10, 2025 13:04
@mphilbrick211 mphilbrick211 moved this from Needs Triage to In Eng Review in Contributions Sep 10, 2025
@PavloNetrebchuk PavloNetrebchuk force-pushed the feat/home_tab branch 2 times, most recently from 0472ff6 to 6381aca Compare September 11, 2025 10:10
@PavloNetrebchuk PavloNetrebchuk force-pushed the feat/home_tab branch 2 times, most recently from a6a85e2 to f7992ae Compare September 22, 2025 15:12
@edschema
Copy link

@PavloNetrebchuk nice work! A few notes:
For the progress bar on the grade carousel card, can you add a background? It should be "light theme: light" and "dark theme: light" for light mode/dark mode

For the Assignments carousel card, for upcoming assignment, can you add the header "Next Assignment":
image

Also for the assignments card: just want to make sure the text is correct: larger text is subsection name, smaller is the section name

For the first and third cards (course completion, assignments), can the background color be the same as the page dark color:
image

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.

@PavloNetrebchuk
Copy link
Contributor Author

@edschema
Done✅

Also for the assignments card: just want to make sure the text is correct: larger text is subsection name, smaller is the section name
Yes, it is correct.

@PavloNetrebchuk PavloNetrebchuk force-pushed the feat/home_tab branch 2 times, most recently from a80ed4d to ff18188 Compare September 23, 2025 11:54
@stan-neichev
Copy link

For the Assignments carousel card, for upcoming assignment, can you add the header "Next Assignment": image

Hi @edschema! It's out of scope because the actual design is the following:
image

@edschema
Copy link

@stan-neichev that’s for past due assignments. For upcoming assignments, we wouldn’t say “past due”

@stan-neichev
Copy link

sorry, let me check with the team

@stan-neichev
Copy link

@edschema seems like we had no design for other states and therefore we decided to do it this way:
image

Also, our QA noticed that we had another background color for this element
image

Please don't change the design on the fly because it's hard to trace it back to the initial state and have a more or less stable scope of work

@edschema
Copy link

Hi Stan, these states have been in the file since the early designs, see here, here, and here. We can discuss a lower lift solution if this is too much.

For the background, the screenshot you shared is correct, the assignments card and the background of the page should be the same:
image
image

@mphilbrick211 mphilbrick211 added the FC Relates to an Axim Funded Contribution project label Sep 24, 2025
@PavloNetrebchuk
Copy link
Contributor Author

All changes have been made✅

@edschema
Copy link

Thank you @PavloNetrebchuk. Is this ready for code review? Thank you!

Copy link

@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👍🏻Thank you for the effort 👏🏻

fun getCourseProgress(
courseId: String,
isRefresh: Boolean,
getOnlyCacheIfExist: Boolean

Choose a reason for hiding this comment

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

will you please consider documenting this new parameter's behavior clearly

@volodymyr-chekyrta volodymyr-chekyrta merged commit f3ffa98 into openedx:develop Oct 7, 2025
6 checks passed
@github-project-automation github-project-automation bot moved this from In Eng Review to Done in Contributions Oct 7, 2025
@volodymyr-chekyrta volodymyr-chekyrta deleted the feat/home_tab branch October 7, 2025 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FC Relates to an Axim Funded Contribution project 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.

8 participants