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
First pass on video drawer #2372
Conversation
Looks good, but we have an updated design in InVision: https://projects.invisionapp.com/d/main#/console/17477251/390731424/preview |
@pdpinch if you're referring the styling differences, I discussed with @abdulkdawson friday about that, the conclusion out of that was that new styling for all of the drawer designs is out of scope for this work since that styling is shared across all the drawer types, so this PR focuses on the functional display of the information relevant to video types and the playback of the video. If you're referring to the partial height of the drawer, I also discussed that with Abdul since it's a departure from our other drawer designs. Some preliminary testing of mine indicated that this will cause some overall issues with scrolling of the sidebar, particularly on mobile. My opinion is that this is likely to be fussy and delicate at best (on top of the drawer already being fussy and delicate). I don't think there was a decision for that particular design aspect so I left this as-is until I heard otherwise. |
I was referring primarily to the first issue — thank you for checking with Abdul about that.
Am I correct in assuming, then, that you’re not making any significant changes to the styling in this PR?
|
@pdpinch there are no styling changes at all - the player embed didn't need any adjustments so the default styling already defined for the drawer is what we're getting here. |
e5f8b51
to
85d6dcb
Compare
85d6dcb
to
048d026
Compare
Codecov Report
@@ Coverage Diff @@
## master #2372 +/- ##
==========================================
+ Coverage 95.25% 95.26% +0.01%
==========================================
Files 677 679 +2
Lines 25745 25830 +85
Branches 847 847
==========================================
+ Hits 24524 24608 +84
- Misses 1099 1100 +1
Partials 122 122
Continue to review full report at Codecov.
|
048d026
to
af169ab
Compare
af169ab
to
f93c06c
Compare
f93c06c
to
8288047
Compare
works great! my one question is if we want to make it easier / more obvious how to open the video in a new tab - just wondering because some of these videos are quite long and watching a one-hour video from the drawer seems a bit fragile - like it might be frustrating for the user to get 15 minutes in and then accidentally click outside the drawer and lose their progress. idk, just something that occurred to me, what do you think @abdulkdawson ? |
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 great!
LR_TYPE_BOOTCAMP | ||
]) | ||
|
||
export const formatDurationClockTime = (value: string) => { |
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.
seems like something moment should support itself!
@aliceriot I completely agree with you on this one. I may have to run this past Ferdi and Peter. |
Pre-Flight checklist
What are the relevant tickets?
(Required)
What's this PR do?
(Required)
How should this be manually tested?
course_catalog.etl.pipelines.youtube_etl()
)Screenshots (if appropriate)
Desktop:
Mobile: