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

Quality Of Life Updates #713

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</li>
<li class="row">
<h4 v-info-style v-tooltip.top="tooltips.v_profile.apr">
Latest expected return
Previous Epoch Return
</h4>
<span>{{ validator.last_apr | percent | notAvailable }}</span>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
padding: 1rem;
border-bottom: 1px solid var(--bc-dim);
color: var(--txt-black);
overflow: hidden
}

.validator-image {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export default {
renderComponent: ValidatorName // render as Component - use custom Vue components
},
{
title: `Expected Return`,
title: `Average Return`,
value: `apr`,
tooltip: tooltips.v_list.average_apr,
width: "200px",
Expand Down Expand Up @@ -201,7 +201,7 @@ export default {
}

if (this.$mq === "sm" || this.$mq === "md") {
const keep = ["name", "uptime_percentage"]
const keep = ["name","apr"]
props = props.filter(p => keep.includes(p.value))
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default {
render: value => threeDecimals(ones(value)) + " ONE"
},
{
title: `Expected Return`,
title: `Average Return`,
value: `apr`,
tooltip: tooltips.portfolio.apr_avg,
width: "200px",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/tooltips.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default {

name: `Validator name`,
apr: "Expected annual percentage return rate",
average_apr: "Average expected return",
average_apr: "Previous 30 epoch average",
stake: "Total ONE staked by the validator",
fees: "Commission on rewards charged by validator",
uptime: "Signing percentage for this validator's nodes"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/wallet/TimePieBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default {

.next-epoch {
display: flex;
width: 164px;
width: 180px;
align-items: center;
}
@media screen and (max-width: 414px) {
Expand Down