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

Enable/Disable rotation flag #80

Merged
merged 2 commits into from
Aug 31, 2018

Conversation

maeji
Copy link
Contributor

@maeji maeji commented Aug 7, 2018

Exist app if don't went rotation enable, it should can be enable/disable rotation control.

Issue Link 🔗

A link to the issue & short explanation

Goals 🥅

What have I tried to achieve / improve + use case example

Implementation Details ✏️

  • Add rotation Enable/Disable property in EKAttributes.
  • Add rotation control in EKRootViewController.

Testing Details 🔍

How did I test my implementation

Screenshot Links 📷

Since this a visual project, focusing maily on UI and UX, please attach screenshots in case of UI related change

Enable/Disable rotation
@huri000
Copy link
Owner

huri000 commented Aug 7, 2018

Thanks! Will be reviewed in the next few days.

@huri000
Copy link
Owner

huri000 commented Aug 11, 2018

@maeji - Thanks. I've reviewed your code and I have few observations:

  1. Resolve the conflicts.
  2. Please rename enableRotate to isRotationEnabled which is more readable and convensional.
  3. Move isRatationEnabled into PositionConstraints (It is the construct that decided the constraints that applies to the position of the entry).
  4. I trust you tested your implementation using the example project, yes?

Thanks!

@codecov
Copy link

codecov bot commented Aug 27, 2018

Codecov Report

Merging #80 into master will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #80      +/-   ##
=========================================
- Coverage    3.92%   3.91%   -0.01%     
=========================================
  Files          56      56              
  Lines        1987    1992       +5     
=========================================
  Hits           78      78              
- Misses       1909    1914       +5
Impacted Files Coverage Δ
Source/Model/EntryAttributes/EKAttributes.swift 100% <ø> (ø) ⬆️
...yAttributes/EKAttributes+PositionConstraints.swift 27.5% <ø> (ø) ⬆️
Source/Infra/EKRootViewController.swift 0% <0%> (ø) ⬆️

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 ac72436...a8d69fe. Read the comment docs.

@maeji
Copy link
Contributor Author

maeji commented Aug 27, 2018

@huri000 I changed flag name and move to PositionConstraints. Sure I'm tested that :-) It shipped in my product. :-) Thank you!

@huri000
Copy link
Owner

huri000 commented Aug 28, 2018

Thanks! I'll review it during the weekend!

@huri000
Copy link
Owner

huri000 commented Aug 31, 2018

Great, thanks @maeji!

@huri000 huri000 merged commit a41a37d into huri000:master Aug 31, 2018
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.

2 participants