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

πŸ‘©β€πŸ”¬ [Investment Day] Remove unused code #648

Merged
merged 5 commits into from
Apr 5, 2019

Conversation

dusi
Copy link
Contributor

@dusi dusi commented Mar 28, 2019

πŸ“² What

Removes unused files.

πŸ€” Why

During my work on #645 I've noticed that there are couple files that are unused in our project so I've decided to remove these.

βœ… Acceptance criteria

  • CI passes
  • Create password screen works correctly in portrait & landscape mode

@@ -35,8 +35,6 @@ final class CreatePasswordViewController: UIViewController, MessageBannerViewCon
|> \.rightBarButtonItem .~ UIBarButtonItem(customView: self.saveButtonView)

if let childView = self.createPasswordTableViewController.tableView {
childView.translatesAutoresizingMaskIntoConstraints = false
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is done internally inside of childView.constrainEdges(to: self.view)

@testable import Kickstarter_Framework
import XCTest

final class CreatePasswordViewControllerTests: XCTestCase {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We should probably test this just to be sure controller containment doesn't break in the future.

@dusi dusi added the blocked a PR that is blocked for external reasons label Mar 28, 2019
Copy link
Contributor

@justinswart justinswart left a comment

Choose a reason for hiding this comment

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

Seems legit!

@dusi dusi removed the blocked a PR that is blocked for external reasons label Apr 5, 2019
@dusi dusi merged commit b839de9 into master Apr 5, 2019
@dusi dusi deleted the remove-unused-code branch April 5, 2019 16:15
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.

None yet

3 participants