Skip to content

feat: support variants in feature flags #471

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

Merged
merged 32 commits into from
Aug 4, 2024

Conversation

ahmedAlaaInstabug
Copy link
Contributor

Description of the change

  1. support variants in feature flags

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

JIRA ID: MOB-14685

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests

Code review

  • This pull request has a descriptive title and information useful to a reviewer
  • Issue from task tracker has a link to this pull request

@ahmedAlaaInstabug ahmedAlaaInstabug requested a review from a team June 3, 2024 15:49
@ahmedAlaaInstabug ahmedAlaaInstabug self-assigned this Jun 3, 2024
@InstabugCI
Copy link
Collaborator

InstabugCI commented Jun 3, 2024

Coverage Report

Label Coverage Status
Dart 82.3%

Generated by 🚫 dangerJS against 899db2d

Base automatically changed from dev to master June 11, 2024 12:31
@a7medev a7medev changed the title feat:support variants in features-flags feat: support variants in feature flags Jul 31, 2024
Comment on lines +239 to +242
List<IBGFeatureFlag> features = new ArrayList<>();
for (Map.Entry<String, String> entry : featureFlags.entrySet()) {
features.add(new IBGFeatureFlag(entry.getKey(), entry.getValue().isEmpty() ? null : entry.getValue()));
}
Copy link
Contributor

Choose a reason for hiding this comment

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

BTW we can use Java 8 streams here instead if you think they will be more readable, I'm okay with keeping this one as well.

@a7medev a7medev changed the base branch from master to dev August 4, 2024 11:58
@a7medev a7medev self-requested a review August 4, 2024 12:32
@mzelzoghbi mzelzoghbi merged commit 79a227b into dev Aug 4, 2024
9 of 11 checks passed
@mzelzoghbi mzelzoghbi deleted the feat/support-Variants-in-Features branch August 4, 2024 12:50
ahmedAlaaInstabug added a commit that referenced this pull request Nov 4, 2024
* feat: support Variants in Features & Experiments APIs

* fix: deprecated comment

* fix:   removeFeatureFlagsFeatureFlag catch

* fix: removeFeatureFlagsFeatureFlag catch

* fix: removeFeatureFlagsFeatureFlag catch

* fix: removeFeatureFlagsFeatureFlag catch

* fix: removeFeatureFlagsFeatureFlag catch

* fix: removeFeatureFlagsFeatureFlag catch

* fix removeFeaturFlag test case

* test: decommission native e2e tests in favor of captain (#484)

* chore(android): bump sdk to 13.2.0 (#482)

* chore(ios): bump sdk to v13.2.0 (#483)

* feat: add screen loading manual & automatic approaches (#477)

* release: v13.2.0 (#485)

* fix: format files

* fix: format files

* fix: format files

* fix: pr comments

* fix: PR comments

* fix: PR comments

* fix: PR comments

* fix: PR comments

* fix: PR comments

* chore: correct pr number in changelog

* chore: correct pr number in changelog

* chore: correct changelog section level

* refactor: remove unnecessary `List.of`

* chore: mention variants support in changelog

---------

Co-authored-by: Ahmed Mahmoud <[email protected]>
Co-authored-by: Andrew Amin <[email protected]>
Co-authored-by: Ahmed Mahmoud <[email protected]>
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