From 35fe06a892f19ad46ab0a203ea78c5279d35c25b Mon Sep 17 00:00:00 2001
From: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
Date: Fri, 5 Apr 2024 16:56:06 -0400
Subject: [PATCH] fix registry connect styles and remove view complete listing
link
---
.../src/components/menu/menu.component.html | 2 --
.../src/pages/list/search/search.component.ts | 2 --
.../src/pages/show/about/about.component.html | 1 -
.../marketplace/modals/preview.component.ts | 21 +-------------
.../marketplace/modals/registry.component.ts | 28 +++++++++++--------
5 files changed, 18 insertions(+), 36 deletions(-)
diff --git a/web/projects/marketplace/src/components/menu/menu.component.html b/web/projects/marketplace/src/components/menu/menu.component.html
index efc98bcbe..2a55249ec 100644
--- a/web/projects/marketplace/src/components/menu/menu.component.html
+++ b/web/projects/marketplace/src/components/menu/menu.component.html
@@ -75,7 +75,6 @@
rel="noreferrer"
href="https://docs.start9.com/0.3.5.x/developer-docs/"
>
-
Package a service
-
Package a service
{{ pkg.manifest.description.long }}
-
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/marketplace/modals/preview.component.ts b/web/projects/ui/src/app/apps/portal/routes/system/marketplace/modals/preview.component.ts
index 953e9c2a9..6d754a0b9 100644
--- a/web/projects/ui/src/app/apps/portal/routes/system/marketplace/modals/preview.component.ts
+++ b/web/projects/ui/src/app/apps/portal/routes/system/marketplace/modals/preview.component.ts
@@ -45,19 +45,7 @@ import { Router } from '@angular/router'
-
- @if (hostInfo$ | async; as info) {
-
- View complete listing
-
-
- }
-
+
@if (!(pkg.manifest.dependencies | empty)) {
('*')
- readonly hostInfo$ = this.marketplaceService.getSelectedHost$()
readonly pkg$ = this.loadVersion$.pipe(
switchMap(version =>
this.marketplaceService.getPackage$(this.pkgId, version, this.url),
@@ -212,11 +198,6 @@ export class MarketplacePreviewComponent {
this.router.navigate([], { queryParams: { id } })
}
- constructDetailLink(info: StoreIdentity, id: string) {
- const domain = new URL(info.url).hostname
- return `https://marketplace.start9.com/${id}?api=${domain}&name=${info.name}`
- }
-
presentAlertVersions(
pkg: MarketplacePkg,
version: TemplateRef,
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/marketplace/modals/registry.component.ts b/web/projects/ui/src/app/apps/portal/routes/system/marketplace/modals/registry.component.ts
index b9cd79fcc..c8dfd2420 100644
--- a/web/projects/ui/src/app/apps/portal/routes/system/marketplace/modals/registry.component.ts
+++ b/web/projects/ui/src/app/apps/portal/routes/system/marketplace/modals/registry.component.ts
@@ -43,12 +43,17 @@ import { getMarketplaceValueSpec, getPromptOptions } from '../utils/registry'
>
}
Custom Registries
-