Update/misc frontend (#2191)

* update version to 0.3.4

* update release  guide with sdk instructions

* remove comment

* update page styling

* closes #2152, closes #2155, closes #2157

* move marketing site link to description block

* re-arrange setup wizard recovery options

* move divider for update list item

* fix bug in mocks to display lnd as aavailable for update

---------

Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
This commit is contained in:
Lucy C
2023-03-09 07:02:48 -07:00
committed by GitHub
parent c9fceafc16
commit c8d89f805b
18 changed files with 268 additions and 213 deletions

View File

@@ -154,9 +154,7 @@ export class EmbassyPage {
await this.stateService.setupEmbassy(logicalname, password)
await this.navCtrl.navigateForward(`/loading`)
} catch (e: any) {
this.errorToastService.present({
message: `${e.message}\n\nRestart Embassy to try again.`,
})
this.errorToastService.present(e)
console.error(e)
} finally {
loader.dismiss()

View File

@@ -66,22 +66,6 @@
<!-- SLIDE 2 -->
<ng-template swiperSlide>
<!-- restore from backup -->
<ion-item
button
lines="none"
detail="false"
routerLink="/recover"
>
<ion-icon slot="start" name="save-outline"></ion-icon>
<ion-label>
<h2>
<ion-text color="warning">Restore From Backup</ion-text>
</h2>
<p>Restore an Embassy from an encrypted backup</p>
</ion-label>
</ion-item>
<!-- attach -->
<ion-item
button
@@ -92,10 +76,12 @@
<ion-icon slot="start" name="cube-outline"></ion-icon>
<ion-label>
<h2>
<ion-text color="primary">Use Existing Drive</ion-text>
<ion-text color="success">Use Existing Drive</ion-text>
</h2>
<p>
Use an existing, valid Embassy data drive (not a backup)
Attach an existing embassyOS data drive (
<b>not</b>
a backup)
</p>
</ion-label>
</ion-item>
@@ -110,15 +96,33 @@
<ion-icon slot="start" name="share-outline"></ion-icon>
<ion-label>
<h2>
<ion-text color="success">Transfer</ion-text>
<ion-text color="primary">Transfer</ion-text>
</h2>
<p>
Transfer data from an existing, valid Embassy data drive
(not a backup) to a new drive<br />(e.g. in order to
transfer data to another device)
Transfer data from an existing embassyOS data drive (not a
backup) to a new, preferred drive
<br />
</p>
</ion-label>
</ion-item>
<!-- restore from backup -->
<ion-item
button
lines="none"
detail="false"
routerLink="/recover"
>
<ion-icon slot="start" name="save-outline"></ion-icon>
<ion-label>
<h2>
<ion-text color="warning">
Restore From Backup (Disaster Recovery)
</ion-text>
</h2>
<p>Restore embassyOS data from an encrypted backup</p>
</ion-label>
</ion-item>
</ng-template>
</swiper>
</ion-card-content>

View File

@@ -49,9 +49,7 @@ export class StateService {
)
}
} catch (e: any) {
this.errorToastService.present({
message: `${e.message}\n\nRestart Embassy to try again.`,
})
this.errorToastService.present(e)
}
setTimeout(() => this.pollDataTransferProgress(), 0) // prevent call stack from growing
}