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

Hide Subscape features #3697

Merged
merged 1 commit into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ SUPPORT_ARBITRUM_NOVA=false
SUPPORT_SWAP_QUOTE_REFRESH=false
SUPPORT_ACHIEVEMENTS_BANNER=false
SUPPORT_NFT_SEND=false
HIDE_ISLAND_UI=true
SUPPORT_THE_ISLAND=true
SUPPORT_THE_ISLAND_ON_TENDERLY=false
USE_MAINNET_FORK=false
Expand Down
1 change: 1 addition & 0 deletions background/features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const RuntimeFlag = {
SUPPORT_SWAP_QUOTE_REFRESH: process.env.SUPPORT_SWAP_QUOTE_REFRESH === "true",
SUPPORT_CUSTOM_NETWORKS: process.env.SUPPORT_CUSTOM_NETWORKS === "true",
SUPPORT_CUSTOM_RPCS: process.env.SUPPORT_CUSTOM_RPCS === "true",
HIDE_ISLAND_UI: process.env.HIDE_ISLAND_UI === "true",
SUPPORT_THE_ISLAND: process.env.SUPPORT_THE_ISLAND === "true",
SUPPORT_THE_ISLAND_ON_TENDERLY:
process.env.SUPPORT_THE_ISLAND_ON_TENDERLY === "true",
Expand Down
4 changes: 2 additions & 2 deletions ui/pages/Wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default function Wallet(): ReactElement {
return (
<>
<div className="page_content">
<WalletSubspaceLink />
{!isEnabled(FeatureFlags.HIDE_ISLAND_UI) && <WalletSubspaceLink />}
<WalletAnalyticsNotificationBanner />
<div className="section">
<WalletAccountBalanceControl
Expand All @@ -116,7 +116,7 @@ export default function Wallet(): ReactElement {
{!isEnabled(FeatureFlags.HIDE_TOKEN_FEATURES) && (
<OnboardingOpenClaimFlowBanner />
)}
<PortalBanner />
{!isEnabled(FeatureFlags.HIDE_ISLAND_UI) && <PortalBanner />}
<div className="section">
<SharedPanelSwitcher
setPanelNumber={setPanelNumber}
Expand Down