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] - Sort feature flags alphabetically #877

Merged
merged 3 commits into from
Oct 7, 2019

Conversation

dusi
Copy link
Contributor

@dusi dusi commented Oct 4, 2019

πŸ“² What

As the title says.

πŸ€” Why

Dealing with feature flags it's often confusing the two feature flags change order (this is because we're not sorting the returned array form the JSON). This should fix that.

πŸ›  How

Sorting based on the description field.

πŸ‘€ See

Before πŸ› After πŸ¦‹
Screen Shot 2019-10-04 at 1 22 44 PM Screen Shot 2019-10-04 at 1 22 45 PM

βœ… Acceptance criteria

  • Feature flags are sorted alphabetically

@dusi dusi changed the title πŸ‘©β€πŸ”¬ [Investment Day] Sort feature flags alphabetically πŸ‘©β€πŸ”¬ [Investment Day] - Sort feature flags alphabetically Oct 4, 2019
@dusi dusi requested a review from ifbarrera October 4, 2019 20:37
@@ -7,7 +7,7 @@ import ReactiveSwift
import XCTest

final class FeatureFlagToolsViewModelTests: TestCase {
private let vm = FeatureFlagToolsViewModel()
private let vm: FeatureFlagToolsViewModelType = FeatureFlagToolsViewModel()
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 so that we don't have direct access to VM's properties but have to go through input/output

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for changing this! πŸ‘πŸΎ

Copy link
Contributor

@cdolm92 cdolm92 left a comment

Choose a reason for hiding this comment

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

πŸŽ‰πŸ›³

@dusi dusi merged commit f03fd2a into master Oct 7, 2019
@dusi dusi deleted the sort-feature-flags-alphabetically branch October 7, 2019 17:23
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