default to all category and fix rounding for progress (#2682)

* default to all category and fix rounding for progress

* Update install-progress.pipe.ts
This commit is contained in:
Matt Hill
2024-07-24 22:40:13 -06:00
committed by GitHub
parent c6f19db1ec
commit ab465a755e
6 changed files with 19 additions and 23 deletions

View File

@@ -450,7 +450,7 @@ export module Mock {
},
},
},
categories: ['lightning', 'featured'],
categories: ['lightning'],
otherVersions: {
'0.18.0:0.0.1': {
releaseNotes: 'Upstream release and minor fixes.',
@@ -506,7 +506,7 @@ export module Mock {
},
},
},
categories: ['lightning', 'featured'],
categories: ['lightning'],
otherVersions: {
'0.18.0:0.0.1': {
releaseNotes: 'Upstream release and minor fixes.',
@@ -684,7 +684,7 @@ export module Mock {
},
},
},
categories: ['lightning', 'featured'],
categories: ['lightning'],
otherVersions: {
'0.17.5:0': {
releaseNotes: 'Upstream release to 0.17.5',

View File

@@ -19,11 +19,7 @@ import {
} from 'rxjs'
import { RR } from 'src/app/services/api/api.types'
import { ApiService } from 'src/app/services/api/embassy-api.service'
import {
DataModel,
UIMarketplaceData,
UIStore,
} from 'src/app/services/patch-db/data-model'
import { DataModel, UIStore } from 'src/app/services/patch-db/data-model'
import { PatchDB } from 'patch-db-client'
import {
catchError,
@@ -39,14 +35,14 @@ import {
import { ConfigService } from './config.service'
import { Exver, sameUrl } from '@start9labs/shared'
import { ClientStorageService } from './client-storage.service'
import { ExtendedVersion, T } from '@start9labs/start-sdk'
import { T } from '@start9labs/start-sdk'
@Injectable()
export class MarketplaceService implements AbstractMarketplaceService {
private readonly knownHosts$: Observable<StoreIdentity[]> = this.patch
.watch$('ui', 'marketplace', 'knownHosts')
.pipe(
map((hosts: UIMarketplaceData['knownHosts']) => {
map(hosts => {
const { start9, community } = this.config.marketplace
let arr = [
toStoreIdentity(start9, hosts[start9]),