Skip to content

Commit

Permalink
FIX: Bugs for Release (#1450)
Browse files Browse the repository at this point in the history
* FIX: Scrollbar SSH Management

* fix a bug into the port list comp.

* change services accordingly in archive preset

* fix reth full node

---------

Co-authored-by: mabasian <[email protected]>
  • Loading branch information
NeoPlays and mabasian authored Sep 13, 2023
1 parent 9fdc0a9 commit 64f6b92
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 19 deletions.
2 changes: 1 addition & 1 deletion launcher/src/backend/OneClickInstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export class OneClickInstall {
this.extraServices.push(this.serviceManager.getService("NotificationService", args))
}

if(selectedPreset == "stacking"){
if (selectedPreset == "staking") {
switch (this.executionClient.service) {
case "RethService":
this.executionClient.command.push("--full");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -460,10 +460,25 @@ export default {
overflow-y: scroll;
overflow-x: hidden;
}
.name::-webkit-scrollbar {
height: 2px;
background: transparent;
padding: 0 20px;
}
.name::-webkit-scrollbar-thumb {
background-color: #3c6283;
border-radius: 10px;
cursor: pointer;
margin: 0 20px;
}
.name::-webkit-scrollbar-thumb:hover {
background-color: #3e78ab;
}
.name {
font-size: 100%;
font-weight: 500;
overflow-x: scroll;
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;
}
.key-row {
Expand Down
5 changes: 3 additions & 2 deletions launcher/src/components/UI/plugin-installation/PluginName.vue
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export default {
pluginChangeHandler(el, item, idx) {
el.showChangeModal = false;
this.selectedPreset.includedPlugins[idx] = item; //no matter what change the service you clicked on
if (["staking", "mev boost", "stereum on arm"].includes(this.selectedPreset.name)) {
if (["staking", "mev boost", "stereum on arm", "archive"].includes(this.selectedPreset.name)) {
//if the preset is staking:
if (item.category === "consensus") {
//and you just changed the consensus client
Expand Down Expand Up @@ -262,7 +262,8 @@ export default {
//filter = (item) => item.category === element.category
break;
case "mev boost":
filter = (item) => item.category === element.category && !/(SSVNetwork|Reth|Web3Signer|Charon)/.test(item.service);
filter = (item) =>
item.category === element.category && !/(SSVNetwork|Reth|Web3Signer|Charon)/.test(item.service);
break;
case "stereum on arm":
filter = (item) =>
Expand Down
35 changes: 20 additions & 15 deletions launcher/src/components/UI/the-control/PortList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,18 @@
</div>
<span>OPEN PORTS</span>
</div>
<div v-if="portstatus && portstatus.data" class="portlist-data_box">
<div
v-for="item in portstatus.data"
:key="item.id"
class="portlist-data_row"
>
<div class="rowName">
<span>{{ item.name }}</span>
</div>
<div class="portNo">
<span>{{ item.port }}</span>
</div>
<div class="protocol">
<span>{{ item.prot }}</span>
<div class="wrapper">
<div v-if="portstatus && portstatus.data" class="portlist-data_box">
<div v-for="item in portstatus.data" :key="item.id" class="portlist-data_row">
<div class="rowName">
<span>{{ item.name }}</span>
</div>
<div class="portNo">
<span>{{ item.port }}</span>
</div>
<div class="protocol">
<span>{{ item.prot }}</span>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -86,11 +84,18 @@ export default {
width: 72%;
height: 90%;
}
.wrapper {
display: flex;
justify-content: center;
align-items: center;
width: 65%;
height: 100%;
}
.portlist-data_box {
display: flex;
justify-content: flex-start;
align-items: flex-start;
width: 70%;
width: 100%;
height: 100%;
flex-direction: column;
overflow-y: auto;
Expand Down

0 comments on commit 64f6b92

Please sign in to comment.