-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
- Loading branch information
Showing
8 changed files
with
98 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
packages/system/dashboard/images/dashboard/documentation.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/dashboard/src/components/AppList/AppListGrid.tsx b/dashboard/src/components/AppList/AppListGrid.tsx | ||
index d3261e459..597512e62 100644 | ||
--- a/dashboard/src/components/AppList/AppListGrid.tsx | ||
+++ b/dashboard/src/components/AppList/AppListGrid.tsx | ||
@@ -42,7 +42,7 @@ function AppListGrid(props: IAppListProps) { | ||
Start browsing your <Link to={url.app.catalog(cluster, namespace)}>favourite apps</Link>{" "} | ||
or check the{" "} | ||
<a | ||
- href={`https://github.com/vmware-tanzu/kubeapps/blob/${appVersion}/site/content/docs/latest/tutorials/getting-started.md`} | ||
+ href={`https://cozystack.io/docs/`} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> |
66 changes: 66 additions & 0 deletions
66
packages/system/dashboard/images/dashboard/remove-manage-repositories.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
diff --git a/dashboard/src/components/Catalog/Catalog.tsx b/dashboard/src/components/Catalog/Catalog.tsx | ||
index 5f2d2a1c5..093cb598d 100644 | ||
--- a/dashboard/src/components/Catalog/Catalog.tsx | ||
+++ b/dashboard/src/components/Catalog/Catalog.tsx | ||
@@ -15,7 +15,6 @@ import qs from "qs"; | ||
import React, { useEffect } from "react"; | ||
import { useDispatch, useSelector } from "react-redux"; | ||
import * as ReactRouter from "react-router-dom"; | ||
-import { Link } from "react-router-dom"; | ||
import { IClusterServiceVersion, IStoreState } from "shared/types"; | ||
import { app } from "shared/url"; | ||
import { escapeRegExp, getPluginPackageName } from "shared/utils"; | ||
@@ -85,7 +84,6 @@ export default function Catalog() { | ||
operators, | ||
repos: { reposSummaries: repos }, | ||
config: { | ||
- appVersion, | ||
kubeappsCluster, | ||
helmGlobalNamespace, | ||
carvelGlobalNamespace, | ||
@@ -420,24 +418,6 @@ export default function Catalog() { | ||
<div className="empty-catalog"> | ||
<CdsIcon shape="bundle" /> | ||
<p>The current catalog is empty.</p> | ||
- <p> | ||
- Manage your Package Repositories in Kubeapps by visiting the Package repositories | ||
- configuration page. | ||
- </p> | ||
- <Link to={app.config.pkgrepositories(cluster || "", namespace || "")}> | ||
- <CdsButton>Manage Package Repositories</CdsButton> | ||
- </Link> | ||
- <p> | ||
- For help managing other packaging formats, such as Flux or Carvel, please refer to the{" "} | ||
- <a | ||
- target="_blank" | ||
- rel="noopener noreferrer" | ||
- href={`https://github.com/vmware-tanzu/kubeapps/tree/${appVersion}/site/content/docs/latest`} | ||
- > | ||
- Kubeapps documentation | ||
- </a> | ||
- . | ||
- </p> | ||
</div> | ||
) : ( | ||
<Row> | ||
diff --git a/dashboard/src/components/Header/Menu.tsx b/dashboard/src/components/Header/Menu.tsx | ||
index c8ec1da8c..e59f90190 100644 | ||
--- a/dashboard/src/components/Header/Menu.tsx | ||
+++ b/dashboard/src/components/Header/Menu.tsx | ||
@@ -78,16 +78,6 @@ function Menu({ clusters, appVersion, logout }: IContextSelectorProps) { | ||
<div className="dropdown-menu dropdown-configuration-menu" role="menu" hidden={!open}> | ||
<div> | ||
<label className="dropdown-menu-padding dropdown-menu-label">Administration</label> | ||
- <Link | ||
- to={app.config.pkgrepositories(clusters.currentCluster, namespaceSelected)} | ||
- className="dropdown-menu-link" | ||
- onClick={toggleOpen} | ||
- > | ||
- <div className="dropdown-menu-item" role="menuitem"> | ||
- <CdsIcon solid={true} size="md" shape="library" />{" "} | ||
- <span>Package Repositories</span> | ||
- </div> | ||
- </Link> | ||
<div className="dropdown-divider" role="separator" /> | ||
{featureFlags?.operators && ( | ||
<Link |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters