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

chore: Remove unused feature flags and codeblocks #1931

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

susrithasabbini
Copy link
Contributor

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Removed unused feature flags and codeblocks that used the following feature flags

  1. user_journey_analytics
  2. authentication_analytics
  3. system_metrics
  4. live_users_counter

Motivation and Context

Code cleaning, removed code blocks and feature flags that are not necessary.

How did you test it?

Where to test it?

  • INTEG
  • SANDBOX
  • PROD

Checklist

  • I ran npm run re:build
  • I reviewed submitted code
  • I added unit tests for my changes where possible

…ication_analytics, system_metrics, live_users_counter
…ication_analytics, system_metrics, live_users_counter
@susrithasabbini susrithasabbini added S-waiting-on-review Status: This PR has been implemented and needs to be reviewed chore chore labels Dec 16, 2024
@susrithasabbini susrithasabbini self-assigned this Dec 16, 2024
@susrithasabbini susrithasabbini requested a review from a team as a code owner December 16, 2024 11:57
Copy link

semanticdiff-com bot commented Dec 16, 2024

Review changes with  SemanticDiff

Changed Files
File Status
  README.md Unsupported file format
  config/config.toml Unsupported file format
  cypress/e2e/auth/auth.cy.js  0% smaller
  src/entryPoints/FeatureFlagUtils.res Unsupported file format
  src/entryPoints/HyperSwitchApp.res Unsupported file format
  src/entryPoints/SidebarValues.res Unsupported file format
  src/screens/Analytics/HomePageOverview/HomePageOverviewComponent.res Unsupported file format

@susrithasabbini susrithasabbini linked an issue Dec 16, 2024 that may be closed by this pull request
@susrithasabbini susrithasabbini changed the title Remove unused feature flags and codeblocks [CHORE]: Remove unused feature flags and codeblocks Dec 16, 2024
@github-actions github-actions bot added the S-conventions-not-followed Status: This PR does not follow contributing guidelines label Dec 16, 2024
@susrithasabbini susrithasabbini added S-conventions-not-followed Status: This PR does not follow contributing guidelines and removed S-conventions-not-followed Status: This PR does not follow contributing guidelines labels Dec 16, 2024
@susrithasabbini susrithasabbini changed the title [CHORE]: Remove unused feature flags and codeblocks chore: Remove unused feature flags and codeblocks Dec 16, 2024
@github-actions github-actions bot removed the S-conventions-not-followed Status: This PR does not follow contributing guidelines label Dec 16, 2024
{switch url.path->urlPath {
| list{"home"} =>
<RenderIf condition=isLiveUsersCounterEnabled>
<ActivePaymentsCounter />
Copy link
Collaborator

Choose a reason for hiding this comment

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

why have you removed the component rendering <ActivePaymentsCounter />
you can just remove the feature flag and renderif condition

@@ -208,25 +200,6 @@ let make = () => {
/>
</AccessControl>
| list{"users", ..._} => <UserManagementContainer />
| list{"analytics-user-journey"} =>
<AccessControl
isEnabled={featureFlagDetails.userJourneyAnalytics &&
Copy link
Collaborator

Choose a reason for hiding this comment

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

here also

Comment on lines -212 to -213
<AccessControl
isEnabled={featureFlagDetails.userJourneyAnalytics &&
Copy link
Contributor

Choose a reason for hiding this comment

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

why have we removed the component ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore chore S-waiting-on-review Status: This PR has been implemented and needs to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CHORE]: Remove unused feature flags
3 participants