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

MBL-905: Remove Use of IA tab feature flag #1932

Merged
merged 6 commits into from
Jan 18, 2024
Merged

Conversation

Arkariang
Copy link
Contributor

@Arkariang Arkariang commented Jan 17, 2024

📲 What

  • Removed feature flag from source code
  • Small refinement, new projects always have AiDisclosure model with ID available, but the rest of the fields are empty if not UI usage on the project, as before we were considering a project did not used AI if AiDisclosure was null

🤔 Why

  • Clean up!
    | | |

📋 QA

Story 📖

https://kickstarter.atlassian.net/browse/MBL-905

@codecov-commenter
Copy link

codecov-commenter commented Jan 17, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (fe81cd6) 73.95% compared to head (cebae54) 73.93%.

Files Patch % Lines
...ckstarter/libs/utils/extensions/AiDisclosureExt.kt 0.00% 0 Missing and 2 partials ⚠️
...ter/viewmodels/projectpage/ProjectPageViewModel.kt 0.00% 0 Missing and 1 partial ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1932      +/-   ##
============================================
- Coverage     73.95%   73.93%   -0.02%     
- Complexity     1965     1969       +4     
============================================
  Files           337      338       +1     
  Lines         19693    19694       +1     
  Branches       2738     2739       +1     
============================================
- Hits          14563    14560       -3     
  Misses         3523     3523              
- Partials       1607     1611       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -536,66 +529,21 @@ class ProjectPageViewModelTest : KSRobolectricTestCase() {
}

@Test
fun testUIOutputs_whenFetchProjectWithAIDisclosureAndFFOFF_WithoutEnVCommitment() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Deleted feature flag off tests

@@ -498,28 +498,21 @@ class ProjectPageViewModelTest : KSRobolectricTestCase() {
}

@Test
fun testUIOutputs_whenFetchProjectWithAIDisclosureAndFFOn_WithoutEnVCommitment() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Modified feature flag On tests, and renamed

@Arkariang Arkariang marked this pull request as ready for review January 17, 2024 22:36
@Arkariang Arkariang requested review from leighdouglas, mtgriego and ycheng-kickstarter and removed request for leighdouglas January 17, 2024 22:38
@Arkariang Arkariang merged commit 30e9684 into master Jan 18, 2024
3 checks passed
@Arkariang Arkariang deleted the imartin/mbl-905 branch January 18, 2024 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants