mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
update readme, fix startup sequence, integrate live backend
This commit is contained in:
committed by
Aiden McClelland
parent
12c44565ff
commit
7013364ae8
@@ -183,9 +183,9 @@ export class AppConfigPage {
|
||||
spinner: 'lines',
|
||||
cssClass: 'loader',
|
||||
}).displayDuringAsync(async () => {
|
||||
const { breakages } = await this.apiService.drySetPackageConfig({ id: pkg.manifest.id, config: this.config })
|
||||
const breakages = await this.apiService.drySetPackageConfig({ id: pkg.manifest.id, config: this.config })
|
||||
|
||||
if (breakages.length) {
|
||||
if (!isEmptyObject(breakages.length)) {
|
||||
const { cancelled } = await wizardModal(
|
||||
this.modalController,
|
||||
this.wizardBaker.configure({
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
</ion-header>
|
||||
|
||||
<ion-content style="position: relative">
|
||||
<ng-container *ngrxLet="patch.watch$('package-data') as pkgs">
|
||||
<ng-container *ngIf="patch.watch$('package-data') | ngrxPush as pkgs">
|
||||
|
||||
<div *ngIf="pkgs | empty; else list" class="ion-text-center ion-padding">
|
||||
<div style="display: flex; flex-direction: column; justify-content: center; height: 40vh">
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
<ng-template #list>
|
||||
<ion-grid>
|
||||
<ion-row *ngrxLet="connectionService.monitor$() as connection">
|
||||
<ion-row *ngIf="connectionService.monitor$() | ngrxPush as connection">
|
||||
<ion-col *ngFor="let pkg of pkgs | keyvalue : asIsOrder" sizeXs="4" sizeSm="3" sizeMd="2" sizeLg="2">
|
||||
<ion-card class="installed-card" style="position:relative" [routerLink]="['/services', 'installed', (pkg.value | manifest).id]">
|
||||
<div class="launch-container" *ngIf="pkg.value | hasUi">
|
||||
|
||||
@@ -10,6 +10,7 @@ import { PackageDataEntry } from 'src/app/models/patch-db/data-model'
|
||||
styleUrls: ['./app-installed-list.page.scss'],
|
||||
})
|
||||
export class AppInstalledListPage {
|
||||
pkgs: PackageDataEntry[] = []
|
||||
|
||||
constructor (
|
||||
private readonly config: ConfigService,
|
||||
|
||||
@@ -2,7 +2,7 @@ import { Component, ViewChild } from '@angular/core'
|
||||
import { AlertController, NavController, ModalController, IonContent, PopoverController } from '@ionic/angular'
|
||||
import { ApiService } from 'src/app/services/api/api.service'
|
||||
import { ActivatedRoute, NavigationExtras } from '@angular/router'
|
||||
import { chill, pauseFor } from 'src/app/util/misc.util'
|
||||
import { chill, isEmptyObject, pauseFor } from 'src/app/util/misc.util'
|
||||
import { LoaderService } from 'src/app/services/loader.service'
|
||||
import { Observable, of, Subscription } from 'rxjs'
|
||||
import { wizardModal } from 'src/app/components/install-wizard/install-wizard.component'
|
||||
@@ -73,9 +73,9 @@ export class AppInstalledShowPage {
|
||||
spinner: 'lines',
|
||||
cssClass: 'loader',
|
||||
}).displayDuringAsync(async () => {
|
||||
const { breakages } = await this.apiService.dryStopPackage({ id })
|
||||
const breakages = await this.apiService.dryStopPackage({ id })
|
||||
|
||||
if (breakages.length) {
|
||||
if (isEmptyObject(breakages.length)) {
|
||||
const { cancelled } = await wizardModal(
|
||||
this.modalCtrl,
|
||||
this.wizardBaker.stop({
|
||||
|
||||
Reference in New Issue
Block a user