Skip to content

Commit

Permalink
fix: Remove emotes v2 FTU (#2165)
Browse files Browse the repository at this point in the history
* fix: Remove emotes v2 FTU

* fix: Remove modal from HomePage

* fix: Remove modal translations

* fix: Removed unused variables
  • Loading branch information
LautaroPetaccio committed Mar 4, 2024
1 parent f4457e0 commit 9a45633
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 199 deletions.
2 changes: 0 additions & 2 deletions webapp/src/components/HomePage/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import { CampaignBanner } from '../Campaign/CampaignBanner'
import { Slideshow } from './Slideshow'
import { RankingsTable } from '../RankingsTable'
import { ListsLaunchModal } from '../Modals/ListsLaunchModal'
import EmotesV2LaunchModal from '../Modals/FTU/EmotesV2LaunchModal'
import { SmartWearablesLaunchModal } from '../Modals/FTU/SmartWearablesLaunchModal'
import { CampaignHomepageBanner } from '../Campaign/banners/CampaignHomepageBanner'
import { Props } from './HomePage.types'
Expand Down Expand Up @@ -226,7 +225,6 @@ const HomePage = (props: Props) => {
<Navbar />
<Navigation activeTab={NavigationTab.OVERVIEW} />
<ListsLaunchModal />
<EmotesV2LaunchModal />
<SmartWearablesLaunchModal />
{isCampaignHomepageBannerEnabled ? (
<CampaignBanner>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions webapp/src/components/Modals/FTU/EmotesV2LaunchModal/index.ts

This file was deleted.

6 changes: 0 additions & 6 deletions webapp/src/modules/features/selectors.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
getIsCampaignBrowserEnabled,
getIsCampaignCollectionsBannerEnabled,
getIsCampaignHomepageBannerEnabled,
getIsEmotesV2FTUEnabled,
getIsMaintenanceEnabled,
getIsMarketplaceLaunchPopupEnabled,
getIsSmartWearablesFTUEnabled,
Expand Down Expand Up @@ -153,11 +152,6 @@ const waitForInitialLoadingSelectors = [
feature: FeatureName.SMART_WEARABLES_FTU,
selector: getIsSmartWearablesFTUEnabled
},
{
name: 'isEmotesV2FTU',
feature: FeatureName.EMOTES_V2_FTU,
selector: getIsEmotesV2FTUEnabled
},
{
name: 'ens-address',
feature: FeatureName.ENS_ADDRESS,
Expand Down
11 changes: 0 additions & 11 deletions webapp/src/modules/features/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,6 @@ export const getIsSmartWearablesFTUEnabled = (state: RootState) => {
return false
}

export const getIsEmotesV2FTUEnabled = (state: RootState) => {
if (hasLoadedInitialFlags(state)) {
return getIsFeatureEnabled(
state,
ApplicationName.MARKETPLACE,
FeatureName.EMOTES_V2_FTU
)
}
return false
}

export const getIsMarketplaceServerEnabled = (state: RootState) => {
if (hasLoadedInitialFlags(state)) {
return getIsFeatureEnabled(
Expand Down
16 changes: 0 additions & 16 deletions webapp/src/modules/features/types.ts
Original file line number Diff line number Diff line change
@@ -1,27 +1,11 @@
export enum FeatureName {
MAINTENANCE = 'maintenance',
LAUNCH_POPUP = 'launch-popup',
RANKINGS = 'rankings_variant',
EMOTE_CATEGORIES = 'emote-categories',
CAMPAIGN_HOMEPAGE_BANNER = 'campaign-homepage-banner',
CAMPAIGN_COLLECTIBLES_BANNER = 'campaign-collectibles-banner',
CAMPAIGN_BROWSER = 'campaign-browser',
PRICE_FILTER = 'price-filter',
ESTATE_SIZE_FILTER = 'estate-size-filter',
LOCATION_FILTER = 'location-filter',
CREATOR_FILTER = 'creator-filter',
RENTAL_PERIOD_FILTER = 'rental-period-filter',
MAP_VIEW_FILTERS = 'map-view-filters',
RENTAL_PRICE_FILTER_CHART = 'rental-price-fitler-chart',
HANDS_CATEGORY = 'hands-category',
EMOTES_V2 = 'emotes-2.0',
EMOTES_V2_FTU = 'emotes-2.0-ftu',
SMART_WEARABLES_FTU = 'smart-wearables-ftu',
MARKETPLACE_SERVER = 'marketplace-server',
BUY_CROSS_CHAIN = 'buy-cross-chain',
AUTH_DAPP = 'auth-dapp',
CLAIM_NAMES_WITH_FIAT = 'names-fiat-payments',
ENS_ADDRESS = 'ens-address',
MINTING_NAMES_WITH_AXELAR = 'minting-names-with-axelar',
CHAIN_SELECTOR = 'chain-selector'
}
6 changes: 0 additions & 6 deletions webapp/src/modules/translation/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1535,12 +1535,6 @@
"go_to_my_assets": "Go to My Assets",
"do_not_show_again": "Don't show me this again"
},
"emotes_v2_ftu": {
"title": "Emotes 2.0 are Live! 🟢",
"subtitle": "<b>Emotes now offer more than movement!</b><br></br>Enhance the way you express yourself in Decentraland with Emotes that have added props and sounds for a more immersive experience.",
"action": "Browse emotes with props and sounds",
"img_alt": "Emotes 2.0"
},
"list_card": {
"item_count": "{count} {count, plural, one {item} other {items}}",
"edit_list": "Edit List",
Expand Down
6 changes: 0 additions & 6 deletions webapp/src/modules/translation/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1522,12 +1522,6 @@
"go_to_my_assets": "Ir a mis Objetos",
"do_not_show_again": "No me muestres esto de nuevo"
},
"emotes_v2_ftu": {
"title": "Los emotes 2.0 están disponibles! 🟢",
"subtitle": "<b>Los emotes ahora ofrecen más que movimiento!</b><br></br>Mejore la forma en que se expresa en Decentraland con emotes con accesorios y sonidos para una experiencia más inmersiva.",
"action": "Explorar emotes con accesorios y sonidos",
"img_alt": "Emotes 2.0"
},
"list_card": {
"item_count": "{count} {count, plural, one {item} other {items}}",
"edit_list": "Editar lista",
Expand Down
6 changes: 0 additions & 6 deletions webapp/src/modules/translation/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -1528,12 +1528,6 @@
"go_to_my_assets": "前往我的资产",
"do_not_show_again": "不要再给我看这个"
},
"emotes_v2_ftu": {
"title": "情绪2.0是活的! 🟢",
"subtitle": "<b>现在的情绪不仅仅是动作!</b><br></br>增强您在分散的情绪中表达自己的方式,这些情绪增加了道具和声音,以获得更身临其境的体验。",
"action": "用道具和声音浏览情绪",
"img_alt": "情绪2.0"
},
"list_card": {
"item_count": "{count} {count, plural, one {项} other {项目}}",
"edit_list": "编辑列表",
Expand Down

0 comments on commit 9a45633

Please sign in to comment.