Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(build): ephemeral rename, nav items #1051

Merged
merged 2 commits into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions deploy/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ objects:
title: "OpenShift Subscriptions"
href: "/openshift/subscriptions/openshift"
product: "Subscription Watch"
- appId: "subscriptions"
title: "Streams for Apache Kafka"
href: "/application-services/subscriptions/streams"
product: "Subscription Watch"
- appId: "subscriptions"
title: "OpenShift Data Science"
href: "/application-services/subscriptions/rhods"
Expand All @@ -44,6 +40,14 @@ objects:
title: "Advanced Cluster Security"
href: "/application-services/subscriptions/rhacs"
product: "Subscription Watch"
- appId: "subscriptions"
title: "RHEL Subscriptions"
san7ket marked this conversation as resolved.
Show resolved Hide resolved
href: "/insights/subscriptions/rhel"
product: "Subscription Watch"
- appId: "subscriptions"
title: "Container Platform"
href: "/openshift/subscriptions/openshift-container"
product: "Subscription Watch"
module:
# this should match chrome/fed-modules.json in cloud-services-config
manifestLocation: "/apps/subscriptions/fed-mods.json"
Expand Down
42 changes: 34 additions & 8 deletions tests/__snapshots__/dist.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ exports[`Build distribution should have a predictable ephemeral navigation based
"productVariants": [],
},
{
"coverage": "FALSE",
"coverage": "TRUE",
"path": "/openshift-container",
"productGroup": [
"openshift",
Expand Down Expand Up @@ -510,13 +510,6 @@ exports[`Build distribution should have a predictable ephemeral navigation based
],
"productVariants": [],
},
{
"coverage": "FALSE",
"path": undefined,
"productGroup": undefined,
"productId": undefined,
"productVariants": undefined,
},
{
"coverage": "TRUE",
"path": "/rhods",
Expand All @@ -539,6 +532,39 @@ exports[`Build distribution should have a predictable ephemeral navigation based
],
"productVariants": [],
},
{
"coverage": "TRUE",
"path": "/rhel",
"productGroup": [
"rhel",
],
"productId": [
"RHEL for x86",
"Satellite Server",
],
"productVariants": [
"RHEL for ARM",
"RHEL for IBM Power",
"RHEL for IBM z",
"RHEL for x86",
"Satellite Capsule",
"Satellite Server",
],
},
{
"coverage": "TRUE",
"path": "/openshift-container",
"productGroup": [
"openshift",
],
"productId": [
"OpenShift Container Platform",
"OpenShift-dedicated-metrics",
"OpenShift-metrics",
"rosa",
],
"productVariants": [],
},
]
`;

Expand Down