Skip to content
This repository was archived by the owner on May 24, 2021. It is now read-only.

Commit d7d2ed1

Browse files
dev0tionbokobza
authored andcommitted
Various UI changes (#208)
* Do not shut down on serve/no daemon * Quit on X clicked, also on MacOS * Remove cold staking tab on testnet * Adjust resync text * Adjust dashboard text * Bump version * Change polling interval to 5 sec
1 parent 43f7591 commit d7d2ed1

7 files changed

Lines changed: 11 additions & 8 deletions

File tree

StratisCore.UI/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "stratis-core",
33
"description": "Stratis Core Wallet",
4-
"version": "1.0.0",
4+
"version": "1.1.0",
55
"author": {
66
"name": "Stratis Group Ltd.",
77
"email": "support@stratisplatform.com"

StratisCore.UI/src/app/shared/services/api.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class ApiService {
2727
this.setApiUrl();
2828
};
2929

30-
private pollingInterval = interval(3000);
30+
private pollingInterval = interval(5000);
3131
private apiPort;
3232
private stratisApiUrl;
3333

StratisCore.UI/src/app/shared/services/global.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export class GlobalService {
1212
this.setApiPort();
1313
}
1414

15-
private applicationVersion: string = "1.0.0";
15+
private applicationVersion: string = "1.1.0";
1616
private testnet: boolean = false;
1717
private sidechain: boolean = false;
1818
private mainApiPort: number = 37221;

StratisCore.UI/src/app/wallet/advanced/components/resync/resync.component.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
<div class="card-header">Rescan Wallet</div>
33
<div class="card-body" style="min-height:200px;">
44
<div class="alert alert-info" role="alert">
5-
If you have any inconsitencies in your wallet, it is a good idea to rescan it. Select a date you wish to rescan to and click the rescan button below if you wish to do so.
5+
<p class="m-0">
6+
Rescanning your wallet will temporarily clear the transactions in your wallet and rescan the blockchain.
7+
Select a date from where you wish to rescan and click the button below.
8+
</p>
69
</div>
710
<form class="col-4" [formGroup]="rescanWalletForm">
811
<div class="form-group col-12">

StratisCore.UI/src/app/wallet/advanced/components/resync/resync.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class ResyncComponent implements OnInit, OnDestroy {
9090
.rescanWallet(rescanData)
9191
.subscribe(
9292
response => {
93-
this.genericModalService.openModal("Resyncing", "Your wallet is now resyncing. The time remaining depends on the size and creation time of your wallet. The wallet dashboards shows your progress.");
93+
this.genericModalService.openModal("Resyncing", "Your wallet is now resyncing. The time remaining depends on the size and creation time of your wallet. The wallet dashboard shows your progress.");
9494
}
9595
);
9696
}

StratisCore.UI/src/app/wallet/dashboard/dashboard.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="col-12">
77
<div class="row d-flex align-items-center">
88
<div class="col-9 text-left">
9-
<h5>Spendable balance</h5>
9+
<h5>Balance</h5>
1010
<p class="lead">
1111
<strong>{{ (confirmedBalance | coinNotation) || (0 | coinNotation) }}</strong>
1212
<small class="text-uppercase"> {{ coinUnit }}</small>

StratisCore.UI/src/app/wallet/menu/menu.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<li class="nav-item list-inline-item">
88
<a class="nav-link" routerLink="history" routerLinkActive="active">History</a>
99
</li>
10-
<li *ngIf="testnet && !sidechainEnabled" class="nav-item list-inline-item">
10+
<!-- <li *ngIf="testnet && !sidechainEnabled" class="nav-item list-inline-item">
1111
<a class="nav-link" routerLink="staking" routerLinkActive="active">Cold Staking</a>
12-
</li>
12+
</li> -->
1313
<li *ngIf="sidechainEnabled" class="nav-item list-inline-item">
1414
<a class="nav-link" routerLink="smart-contracts" routerLinkActive="active">Smart Contracts</a>
1515
</li>

0 commit comments

Comments
 (0)