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 #4293: Add slide animation to audio bar directive" #4636

Merged
merged 5 commits into from
Feb 18, 2018

Conversation

LanJosh
Copy link
Contributor

@LanJosh LanJosh commented Feb 1, 2018

Added slide animation to the audio bar direction #4293

@codecov-io
Copy link

codecov-io commented Feb 1, 2018

Codecov Report

Merging #4636 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           develop   #4636   +/-   ##
=======================================
  Coverage     44.7%   44.7%           
=======================================
  Files          384     384           
  Lines        23414   23414           
  Branches      3794    3794           
=======================================
  Hits         10467   10467           
  Misses       12947   12947

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 03675f0...e62c0f4. Read the comment docs.

Copy link
Contributor

@tjiang11 tjiang11 left a comment

Choose a reason for hiding this comment

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

Hi @LanJosh , thanks! It generally looks great but I have a little bit of a nitpick. When I expand the audio bar, it looks like the little tab that you press to collapse the audio bar starts at the top and then immediately shifts to the bottom of the audio bar. Would it be possible to have that slide as well? Thanks!

@tjiang11 tjiang11 assigned LanJosh and unassigned tjiang11 Feb 8, 2018
@1995YogeshSharma
Copy link
Contributor

Hi @LanJosh , how's this going?

@LanJosh
Copy link
Contributor Author

LanJosh commented Feb 14, 2018

Not having too much luck so far getting the audio collapse button to slide along with the audio controls. I think they are both brought in at the same time I can't seem to get the button to slide in the center or with the same timing as the audio controls but I'm not certain there's no way to do so yet.

@seanlip
Copy link
Member

seanlip commented Feb 14, 2018 via email

@LanJosh
Copy link
Contributor Author

LanJosh commented Feb 14, 2018

I had considered merging the two but then I believe the entire bar would capture the click event for collapsing. I'm going to try putting them in a container div and hiding/animating that instead

@seanlip
Copy link
Member

seanlip commented Feb 14, 2018

Ah yes, that sounds like a better idea. Thanks @LanJosh!

@LanJosh
Copy link
Contributor Author

LanJosh commented Feb 15, 2018

@tjiang11 PTAL!

Copy link
Contributor

@tjiang11 tjiang11 left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks @LanJosh ! But just one very small comment.

@@ -70,6 +70,8 @@
.audio-collapse-button {
height: 10px;
width: 30px;
top: 44px;
position: absolute;
Copy link
Contributor

Choose a reason for hiding this comment

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

Order CSS attributes alphabetically.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

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.

Thanks @LanJosh! Merging.

@seanlip seanlip merged commit 081a3ee into oppia:develop Feb 18, 2018
@LanJosh LanJosh deleted the sliding-audio-bar-directive branch February 18, 2018 21:28
code247 pushed a commit to code247/oppia that referenced this pull request Feb 24, 2018
* Fix oppia#4293: Add slide animation to audio bar directive"

* Slide audio collapse button alongside audio bar

* Alphabetize CSS properties
code247 pushed a commit to code247/oppia that referenced this pull request Feb 24, 2018
* Fix oppia#4293: Add slide animation to audio bar directive"

* Slide audio collapse button alongside audio bar

* Alphabetize CSS properties
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.

5 participants