Skip to content

Commit

Permalink
Merge pull request #355 from Concordium/remove-grace-period
Browse files Browse the repository at this point in the history
Reword validator/delegator pages to remove use of grace period
  • Loading branch information
shjortConcordium authored Nov 20, 2023
2 parents 5ee1645 + 05a73cb commit e90c6d5
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 15 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 1.7.1

### Changed

- Reworded to remove usage of `grace period` term.

## 1.7.0

### Changed
Expand Down
9 changes: 5 additions & 4 deletions app/components/BakerTransactions/BakerStakeSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ export default function BakerStakeSettings({
{existingValues !== undefined &&
pendingChange === undefined && (
<p className="mT0">
Enter your new desired amount to stake. If you raise
the stake it will take effect at the next payday,
and if you lower the stake it will take effect after
a grace period.
Enter your new desired amount to stake. If you
increase the stake it will take effect at the next
pay day, and if you decrease the stake it will take
effect at the first pay day after a cool-down
period.
</p>
)}
{pendingChange !== undefined && (
Expand Down
7 changes: 3 additions & 4 deletions app/components/Transfers/configureBaker/RemoveBakerPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,13 @@ const RemoveBakerPage = withPendingBakerChangeGuard(
return (
<>
<p className="flexChildFill">
This will remove the validator status of the account. After
the grace period the full staked amount will be unlocked for
disposal.
This will return the staked amount to the public balance of
the account at the first pay day after a cool-down period.
{cooldownUntil && (
<>
<br />
<br />
The grace period lasts until
The cool-down period ends at
<span className="block bodyEmphasized mV10">
{getFormattedDateString(cooldownUntil)}.
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,10 @@ export default function DelegationAmountPage({
)}
{existing !== undefined && pendingChange === undefined && (
<p className="mT0">
Enter your new desired amount to delegate. If you raise
the stake it will take effect at the next payday, and if
you lower the stake it will take effect after a grace
period.
Enter your new desired amount to stake. If you increase
the stake it will take effect at the next pay day, and
if you decrease the stake it will take effect at the
first pay day after a cool-down period.
</p>
)}
{pendingChange !== undefined && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ const RemoveDelegationPage = withPendingDelegationChangeGuard(
<>
<p className="flexChildFill">
This will return the delegated amount to the public balance
of the account after a grace period.
of the account at the first pay day after a cool-down
period.
{cooldownUntil && (
<>
<br />
<br />
The grace period lasts until
The cool-down period ends at
<span className="block bodyEmphasized mV10">
{getFormattedDateString(cooldownUntil)}.
</span>
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "concordium-desktop-wallet",
"productName": "concordium-desktop-wallet",
"description": "concordium-desktop-wallet",
"version": "1.7.0",
"version": "1.7.1",
"main": "./main.prod.js",
"author": {
"name": "Concordium Software",
Expand Down

0 comments on commit e90c6d5

Please sign in to comment.