Skip to content
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

Fix #369: Calculate realistic download size #393

Merged
merged 8 commits into from
Nov 20, 2019

Conversation

BenHenning
Copy link
Sponsor Member

@BenHenning BenHenning commented Nov 17, 2019

Fix #369.

This finished #369 by computing the actual topic disk space used for each topic, and display it on the topic overview page.

I verified that domain tests are passing. I couldn't run TopicOverviewFragmentTest due to UI tests currently failing to build. No new tests were added since this is a temporary change until we properly download files per #169.

This change ensures that completed progress is consistent and correct
everywhere for fractions and ratios topics.

It also ensures that there are thumbnails defined for chapters, and that
all thumbnails are consistent regardless of which screen topics,
stories, or chapters are viewed from.

It updates the reported lesson count to be correct.
Copy link
Member

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

@vinitamurthi vinitamurthi left a comment

Choose a reason for hiding this comment

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

LGTM

@vinitamurthi vinitamurthi removed their assignment Nov 19, 2019
Copy link
Contributor

@jamesxu0 jamesxu0 left a comment

Choose a reason for hiding this comment

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

LGTM.

@jamesxu0 jamesxu0 removed their assignment Nov 19, 2019
Conflicts:
	domain/src/main/java/org/oppia/domain/topic/TopicController.kt
Conflicts:
	domain/src/main/java/org/oppia/domain/topic/TopicController.kt
@BenHenning BenHenning changed the base branch from update-story-progress-for-json-lessons to develop November 20, 2019 00:43
@BenHenning
Copy link
Sponsor Member Author

Thanks!

@BenHenning BenHenning merged commit adb33f9 into develop Nov 20, 2019
@BenHenning BenHenning deleted the calculate-realistic-download-size branch November 20, 2019 00:47
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.

Finalize string labels everywhere
4 participants