From 1a555148efe72b01bab729db84d3d8bb17c8803a Mon Sep 17 00:00:00 2001 From: Susritha <106534816+susrithasabbini@users.noreply.github.com> Date: Mon, 16 Dec 2024 15:33:06 +0530 Subject: [PATCH] fix: removing unused feature flags (#1920) --- README.md | 4 ---- config/config.toml | 2 -- cypress/e2e/auth/auth.cy.js | 1 - .../AuthModule/TwoFaAuth/TwoFaElements.res | 2 +- src/entryPoints/FeatureFlagUtils.res | 6 ------ src/entryPoints/HyperSwitchApp.res | 2 +- src/entryPoints/SidebarValues.res | 3 +-- src/screens/Transaction/Disputes/Disputes.res | 11 ++++------- src/screens/Transaction/Order/Orders.res | 11 ++++------- src/screens/Transaction/Refunds/Refund.res | 11 ++++------- 10 files changed, 15 insertions(+), 38 deletions(-) diff --git a/README.md b/README.md index d62c55f06..758814373 100644 --- a/README.md +++ b/README.md @@ -136,10 +136,6 @@ In Live mode, current users are not allowed to sign up. Users must be created ma The `email` feature flag enables user sign-in and sign-up using magic links instead of passwords. When enabled, users can request a magic link via email that logs them into their account or creates a new account if they are signing up. -#### Quick Start - -The `quick_start` feature flag enables the simplified onboarding flow for new users, where they connect to processors, configure payment routing and test a payment, all in one flow. - ### Surcharge The `surcharge` feature flag enables the ability to apply surcharges to payments. When enabled, you can create advanced rules based on payment parameters like amount, currency, and payment method to enforce surcharges as needed. diff --git a/config/config.toml b/config/config.toml index 5aa7af575..06d19bee5 100644 --- a/config/config.toml +++ b/config/config.toml @@ -41,7 +41,6 @@ configure_pmts=false branding=false live_users_counter=false granularity=false -custom_webhook_headers=false compliance_certificate=false pm_authentication_processor=true performance_monitor=false @@ -50,7 +49,6 @@ new_analytics_smart_retries=false new_analytics_refunds=false down_time=false tax_processor=true -transaction_view=false x_feature_route=false tenant_user=false [default.merchant_config] diff --git a/cypress/e2e/auth/auth.cy.js b/cypress/e2e/auth/auth.cy.js index d72dfb8f7..b5bb0621e 100644 --- a/cypress/e2e/auth/auth.cy.js +++ b/cypress/e2e/auth/auth.cy.js @@ -92,7 +92,6 @@ describe("Auth Module", () => { branding: false, live_users_counter: false, granularity: false, - custom_webhook_headers: false, compliance_certificate: false, user_management_revamp: false, pm_authentication_processor: true, diff --git a/src/entryPoints/AuthModule/TwoFaAuth/TwoFaElements.res b/src/entryPoints/AuthModule/TwoFaAuth/TwoFaElements.res index 1f92782bd..da35146a9 100644 --- a/src/entryPoints/AuthModule/TwoFaAuth/TwoFaElements.res +++ b/src/entryPoints/AuthModule/TwoFaAuth/TwoFaElements.res @@ -68,7 +68,7 @@ module ShowRecoveryCodes = { @react.component let make = (~recoveryCodes) => {