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

Returning expandable animations back, removing :get-max-container-area-height #3367

Merged
merged 2 commits into from
Feb 20, 2018

Conversation

alwx
Copy link
Contributor

@alwx alwx commented Feb 19, 2018

Seems like :get-max-container-area-height became useless not so long ago. More importantly, it now returns incorrect negative value which means all awesome animations introduced here #3259 don't work anymore.

This PR fixes this issue, removes :get-max-container-area-height, introduces some small changes to expandable and make animations work again.

@status-github-bot status-github-bot bot added this to REVIEW in Pipeline for QA Feb 19, 2018
@alwx alwx self-assigned this Feb 19, 2018
Copy link
Contributor

@jeluard jeluard left a comment

Choose a reason for hiding this comment

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

#make-animations-great-again !

@@ -42,8 +25,7 @@
to-change-height (if (= to-changed-height :max)
(input-utils/max-container-area-height @chat-input-margin @layout-height)
to-changed-height)
to-value (min (or to-change-height (or height @to-default-height))
@max-height)]
to-value (or to-change-height (or height @to-default-height))]
Copy link
Contributor

Choose a reason for hiding this comment

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

Single or needed?

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!

@status-github-bot status-github-bot bot moved this from REVIEW to TO TEST in Pipeline for QA Feb 19, 2018
@asemiankevich
Copy link
Contributor

@alwx please indicate which bug is fixed in this RP as currently it is linked to already merged PR

@asemiankevich asemiankevich moved this from TO TEST to IN TESTING in Pipeline for QA Feb 20, 2018
@asemiankevich asemiankevich self-assigned this Feb 20, 2018
@asemiankevich
Copy link
Contributor

asemiankevich commented Feb 20, 2018

Branch: PR-3367
Android: https://i.diawi.com/iFwrix
iOS: https://i.diawi.com/S5zdxr

animations are great again for Console and 1x1 chat and group chat

image

@asemiankevich asemiankevich moved this from IN TESTING to MERGE in Pipeline for QA Feb 20, 2018
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
@flexsurfer flexsurfer merged commit 44b1085 into develop Feb 20, 2018
Pipeline for QA automation moved this from MERGE to DONE Feb 20, 2018
@rasom rasom deleted the animations-are-back branch April 19, 2018 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

6 participants