squashing the bugs

This commit is contained in:
Matt Hill
2021-10-05 11:46:49 -06:00
committed by Aiden McClelland
parent 7756841b1e
commit d47dd28384
19 changed files with 122 additions and 175 deletions

View File

@@ -20,10 +20,8 @@
{{ longMessage }}
</div>
<div style="margin: 25px 0px;">
<div style="border-width: 0px 0px 1px 0px; font-size: unset; text-align: left; font-weight: bold; margin-left: 13px; border-style: solid; border-color: var(--ion-color-light-tint);"
*ngIf="hasDependentViolation"
>
<ion-text color="warning">Will Stop</ion-text>
<div *ngIf="hasDependentViolation" style="border-width: 0px 0px 1px 0px; font-size: unset; text-align: left; font-weight: bold; margin-left: 13px; border-style: solid; border-color: var(--ion-color-light-tint);">
<ion-text color="warning">Affected Services</ion-text>
</div>
<ion-item
style="--ion-item-background: margin-top: 5px"

View File

@@ -49,7 +49,7 @@ export class DependentsComponent implements OnInit, Loadable {
complete: () => {
this.hasDependentViolation = this.dependentBreakages && !isEmptyObject(this.dependentBreakages)
if (this.hasDependentViolation) {
this.longMessage = `${capitalizeFirstLetter(this.params.verb)} ${this.params.title} will cause the following services to STOP running. Starting them again will require additional actions.`
this.longMessage = `${capitalizeFirstLetter(this.params.verb)} ${this.params.title} will prohibit the following services from functioning properly and will cause them to stop if they are currently running.`
this.color$.next('warning')
} else if (this.params.skipConfirmationDialogue) {
this.transitions.next()

View File

@@ -202,7 +202,7 @@ export class WizardBaker {
action,
verb: 'uninstalling',
title,
fetchBreakages: () => this.embassyApi.dryRemovePackage({ id }).then(breakages => breakages),
fetchBreakages: () => this.embassyApi.dryUninstallPackage({ id }).then(breakages => breakages),
},
},
bottomBar: { cancel: { whileLoading: { }, afterLoading: { text: 'Cancel' } }, next: 'Uninstall' },
@@ -214,7 +214,7 @@ export class WizardBaker {
action,
verb: 'uninstalling',
title,
executeAction: () => this.embassyApi.removePackage({ id }),
executeAction: () => this.embassyApi.uninstallPackage({ id }),
},
},
bottomBar: { finish: 'Dismiss', cancel: { whileLoading: { } } },