fix connection failure display monitoring and other style changes (#1573)

* fix connection failure display monitoring and other style chnages

* display updates more clearly in marketplace

* remove scrolling from release notes and long description

* remove unnecessary bangs

Co-authored-by: Matt Hill <matthill@Matt-M1.local>
Co-authored-by: Matt Hill <matthill@Matt-M1.start9.dev>
This commit is contained in:
Matt Hill
2022-06-27 10:44:12 -06:00
committed by GitHub
parent 31952afe1e
commit 0849df524a
34 changed files with 109 additions and 123 deletions

View File

@@ -41,7 +41,9 @@
size="large"
color="dark"
></ion-icon>
<ion-label>Open</ion-label>
<ion-label>
<b>Open New</b>
</ion-label>
</ion-item>
<!-- cifs list -->
<ng-container *ngFor="let target of backupService.cifs; let i = index">

View File

@@ -1,13 +1,15 @@
<p
[style.color]="
disconnected ? 'gray' : 'var(--ion-color-' + rendering.color + ')'
(disconnected$ | async)
? 'gray'
: 'var(--ion-color-' + rendering.color + ')'
"
[style.font-size]="size"
[style.font-style]="style"
[style.font-weight]="weight"
>
<span *ngIf="!installProgress">
{{ disconnected ? 'Unknown' : rendering.display }}
{{ (disconnected$ | async) ? 'Unknown' : rendering.display }}
<span *ngIf="rendering.showDots" class="loading-dots"></span>
<span
*ngIf="

View File

@@ -1,4 +1,5 @@
import { Component, Input } from '@angular/core'
import { ConnectionService } from 'src/app/services/connection.service'
import { InstallProgress } from 'src/app/services/patch-db/data-model'
import {
PrimaryRendering,
@@ -19,7 +20,10 @@ export class StatusComponent {
@Input() size?: string
@Input() style?: string = 'regular'
@Input() weight?: string = 'normal'
@Input() disconnected?: boolean = false
@Input() installProgress?: InstallProgress
@Input() sigtermTimeout?: string | null = null
disconnected$ = this.connectionService.watchDisconnected$()
constructor(private readonly connectionService: ConnectionService) {}
}