-
Notifications
You must be signed in to change notification settings - Fork 81
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
Adds props/computed props to mixin for KContentRenderer #224
Conversation
…edProgress computed props
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.
Looks good - thinking it will be useful to implement the solution to learningequality/kolibri#7970 in parallel to this to make sure it has everything it needs?
FYI in my PR #223 I added support for extracting JSDocs from the I did not try documenting the props and method yet |
…ystem into kcontentrenderer with fix to read epubs
@indirectlylit Nice! I'll make an issue to update this particular component once everything is merged in! Thanks! |
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.
Realized a possible mistake in the original spec while reviewing!
looks great! Just a reminder to file an issue for writing prop jsdocs |
Description
Adds
timeSpent
,duration
props andforceTimeBasedProgress
,durationBased
computed props so that we can refactor Kolibri content renderers to use unified time-tracking.Issue addressed
Addresses #214
Steps to test
Currently, to test this PR, you'll have to use learningequality/kolibri#8037 in order to make sure the new props and computed props are working (see tech-debt items below for details).
(optional) Implementation notes
At a high level, how did you implement this?
Added props and computed props to the mixin used by
KContentRenderer
.Does this introduce any tech-debt items?
There are currently no tests in KDS to address the use of these props and computed props; however, tests exist on the individual renderers in Kolibri.
Reviewer guidance
Comments