Skip to content

Commit

Permalink
ADD: Obol Modal: Obol integration (#1573)
Browse files Browse the repository at this point in the history
* update the fetching

* fix the new api for the testers

* Revert "fix the new api for the testers"

This reverts commit ab01562.

* Revert "update the fetching"

This reverts commit b5a052c.

* add obol modal to the setvice modals

* add the import enr to the modal

* ADD a plugin comp. inside of obol modal

some css has updated

* update obol charon modal

a dummy enr generator is created to show the result

* UPDATE next step after enr generate

This is the first step if there is an ENR

* UPDATE: obol dashboard btn handling updated

* update after log is fixed

* add the animation to the modal

* fix the complete plugin and last step

* fix the last step for fix the modal

* update the logs and remove btn
  • Loading branch information
mabasian authored Dec 5, 2023
1 parent 8a25a0b commit fb5e243
Show file tree
Hide file tree
Showing 12 changed files with 878 additions and 25 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 19 additions & 10 deletions launcher/src/components/UI/node-header/ServiceLinks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@
<ssv-modal v-if="showSsvWindow" @close-window="closeServiceBrowser"></ssv-modal>
<prometheus-modal v-if="showPrometheusWindow" @close-window="closeServiceBrowser" />
<mevboost-modal v-if="showMevboostWindow" @close-window="closeServiceBrowser"></mevboost-modal>
<div class="arrow-box">
<div class="right-arrow left-paddle paddle" @click="scrollRight">
<img alt="update-icon" src="/img/icon/header-icons/right.png" />
</div>
<div class="left-arrow" @click="scrollLeft">
<img alt="update-icon" src="/img/icon/header-icons/left.png" />
</div>
<ObolModal v-if="showObolCharonWindow" @close-window="closeServiceBrowser" />
</div>
<div class="arrow-box">
<div class="right-arrow left-paddle paddle" @click="scrollRight">
<img alt="update-icon" src="/img/icon/header-icons/right.png" />
</div>
<div class="left-arrow" @click="scrollLeft">
<img alt="update-icon" src="/img/icon/header-icons/left.png" />
</div>
</div>
</div>
Expand All @@ -36,16 +37,18 @@ import GrafanaModal from "../services-modal/GrafanaModal.vue";
import SsvModal from "../services-modal/SsvModal.vue";
import PrometheusModal from "../services-modal/PrometheusModal.vue";
import MevboostModal from "../services-modal//MevboostModal.vue";
import ObolModal from "../services-modal/ObolModal.vue";
import { useNodeStore } from "@/store/theNode";
export default {
components: { GrafanaModal, SsvModal, PrometheusModal, MevboostModal },
components: { GrafanaModal, SsvModal, PrometheusModal, MevboostModal, ObolModal },
data() {
return {
isServiceAvailable: true,
showGrafanaWindow: false,
showSsvWindow: false,
showPrometheusWindow: false,
showMevboostWindow: false,
showObolCharonWindow: false,
};
},
Expand Down Expand Up @@ -84,6 +87,9 @@ export default {
this.showPrometheusWindow = true;
} else if (serviceName == "FlashbotsMevBoostService") {
this.showMevboostWindow = true;
} else if (serviceName == "CharonService") {
this.showObolCharonWindow = true;
console.log("ObolCharonService");
} else {
return;
}
Expand All @@ -94,6 +100,7 @@ export default {
this.showSsvWindow = false;
this.showPrometheusWindow = false;
this.showMevboostWindow = false;
this.showObolCharonWindow = false;
},
},
};
Expand All @@ -104,13 +111,13 @@ export default {
max-width: 300px;
height: 90%;
display: flex;
justify-content: flex-end;
justify-content: flex-start;
align-items: center;
}
.arrow-box {
width: 25px;
height: 90%;
height: 7%;
padding: 0 3px;
border-left: 2px solid #a5a5a5;
border-right: 2px solid #a5a5a5;
Expand All @@ -119,6 +126,8 @@ export default {
flex-direction: column;
justify-content: space-between;
align-items: center;
position: fixed;
right: 20.5%;
}
.right-arrow {
Expand Down
Loading

0 comments on commit fb5e243

Please sign in to comment.