From 9708f48c87d46109e781face488f0667733f138f Mon Sep 17 00:00:00 2001 From: mabasian <54101509+mabasian@users.noreply.github.com> Date: Wed, 5 Jun 2024 15:31:55 +0200 Subject: [PATCH] UPDATE: Removed all the Goerli stuff from the UI (#1906) * update the fetching * fix the new api for the testers * Revert "fix the new api for the testers" This reverts commit ab01562bba614a5ac3a60f186204e4ba992a178a. * Revert "update the fetching" This reverts commit b5a052c880f412cd597f73d00b5e0c6ad9702836. * Fix the nuke modal animation * Revert "Fix the nuke modal animation" This reverts commit 3c5b547c69f0681fc0651fa392d327489d46ecc2. * UPDATE: remove Goerli from UI completely --- .../components/drawer/DrawerFilter.vue | 1 - .../components/edit/SyncCarousel.vue | 7 ++- .../components/UI/guide-page/StakeGuide.vue | 5 -- .../components/sync/SyncCarousel.vue | 9 ++-- .../UI/plugin-installation/ConsensusSync.vue | 8 +-- .../UI/services-modal/SsvDashboard.vue | 2 +- .../components/UI/services-modal/SsvModal.vue | 2 +- .../components/UI/the-control/TheStaking.vue | 15 +++--- .../UI/the-node/ResyncSeparateServices.vue | 9 ++-- launcher/src/store/clickInstallation.js | 50 ------------------- launcher/src/store/nodeManage.js | 36 ++++--------- 11 files changed, 30 insertions(+), 114 deletions(-) diff --git a/launcher/src/components/UI/edit-page/components/drawer/DrawerFilter.vue b/launcher/src/components/UI/edit-page/components/drawer/DrawerFilter.vue index 3464b8b8a..f0fbddc47 100644 --- a/launcher/src/components/UI/edit-page/components/drawer/DrawerFilter.vue +++ b/launcher/src/components/UI/edit-page/components/drawer/DrawerFilter.vue @@ -75,7 +75,6 @@ serviceStore.filteredServices = computed(() => { const getFilterbyNetwork = () => { switch (manageStore.configNetwork.network) { case "mainnet": - case "goerli": return (item) => archFilter(item.service); case "holesky": return (item) => item.service != archFilter(item.service); diff --git a/launcher/src/components/UI/edit-page/components/edit/SyncCarousel.vue b/launcher/src/components/UI/edit-page/components/edit/SyncCarousel.vue index 1dee8a096..44369aa0e 100644 --- a/launcher/src/components/UI/edit-page/components/edit/SyncCarousel.vue +++ b/launcher/src/components/UI/edit-page/components/edit/SyncCarousel.vue @@ -216,10 +216,9 @@ const linkPicker = async (item) => { const setSelectedLinks = () => { const networkLinks = { 1: installStore.mainnet, - 2: installStore.goerli, - 3: installStore.sepolia, - 4: installStore.gnosis, - 5: installStore.holesky, + 2: installStore.sepolia, + 3: installStore.gnosis, + 4: installStore.holesky, }; selectedLinks.value = networkLinks[manageStore.currentNetwork?.id] || []; diff --git a/launcher/src/components/UI/guide-page/StakeGuide.vue b/launcher/src/components/UI/guide-page/StakeGuide.vue index c581b35e0..5765fa749 100755 --- a/launcher/src/components/UI/guide-page/StakeGuide.vue +++ b/launcher/src/components/UI/guide-page/StakeGuide.vue @@ -104,11 +104,6 @@ export default { message: "", nextStep: 0, sliderTutorial: [ - { - id: 1, - img: "/img/icon/guide-page-icons/guide-staking-icons/1.jpg", - text: this.$t("sliderTutorial.visitUrl") + " “https://goerli.launchpad.ethereum.org/en/”", - }, { id: 2, img: "/img/icon/guide-page-icons/guide-staking-icons/2.jpg", diff --git a/launcher/src/components/UI/one-click/components/sync/SyncCarousel.vue b/launcher/src/components/UI/one-click/components/sync/SyncCarousel.vue index 5a423542c..30c2ac862 100644 --- a/launcher/src/components/UI/one-click/components/sync/SyncCarousel.vue +++ b/launcher/src/components/UI/one-click/components/sync/SyncCarousel.vue @@ -201,17 +201,14 @@ const linkPicker = async (item) => { }; const setSelectedLinks = () => { - const networkLinks = { 1: installStore.mainnet, - 2: installStore.goerli, - 3: installStore.sepolia, - 4: installStore.gnosis, - 5: installStore.holesky, + 2: installStore.sepolia, + 3: installStore.gnosis, + 4: installStore.holesky, }; selectedLinks.value = networkLinks[manageStore.currentNetwork?.id] || []; - };