refactor: environment-gate in-dev features instead of team-member whi… - #2286
Open
MayankMittal1 wants to merge 5 commits into
Open
refactor: environment-gate in-dev features instead of team-member whi…#2286MayankMittal1 wants to merge 5 commits into
MayankMittal1 wants to merge 5 commits into
Conversation
…telist Replace useIsTestUser()/TEST_FEATURES_ALLOW_LIST with isDevFeatureEnabled (!isProduction). In-dev features (mobile-first UI, Stocks, GoodDollar, bank transfer, coming-soon vaults) are now visible on qa/preview builds and hidden from everyone in production, removing the team-member exception. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. Reviewed with Claude Code |
| export const EXPO_PUBLIC_COINGECKO_API_KEY = process.env.EXPO_PUBLIC_COINGECKO_API_KEY ?? ''; | ||
| export const isProduction = EXPO_PUBLIC_ENVIRONMENT === 'production'; | ||
| // In-development features: visible on qa/preview builds, hidden in production. | ||
| export const isDevFeatureEnabled = !isProduction; |
MusabShakeel576
approved these changes
Jul 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…telist
Replace useIsTestUser()/TEST_FEATURES_ALLOW_LIST with isDevFeatureEnabled (!isProduction). In-dev features (mobile-first UI, Stocks, GoodDollar, bank transfer, coming-soon vaults) are now visible on qa/preview builds and hidden from everyone in production, removing the team-member exception.