diff --git a/downstream.js b/downstream.js index 985b4b2..8f492e2 100755 --- a/downstream.js +++ b/downstream.js @@ -12,17 +12,11 @@ const downstreamName = 'Connectivity Link'; const upstreamDocumentation = 'https://docs.kuadrant.io'; const upstreamReleaseNotes = 'https://github.com/Kuadrant/kuadrant-operator/releases'; -const upstreamQuickStarts = - 'https://docs.kuadrant.io/latest/kuadrant-operator/doc/user-guides/secure-protect-connect/'; -const upstreamHighlights = 'https://kuadrant.io/blog/'; const downstreamDocumentation = 'https://docs.redhat.com/en/documentation/red_hat_connectivity_link/1.0'; const downstreamReleaseNotes = - 'https://docs.kuadrant.io/html-single/release_notes_for_connectivity_link_1.0/index'; -const downstreamQuickStarts = - 'https://docs.redhat.com/latest/red-hat-connectivity-link/doc/user-guides/secure-protect-connect/'; // Example -const downstreamHighlights = 'https://connectivity-link.io/blog/'; // Example + 'https://docs.redhat.com/html-single/release_notes_for_connectivity_link_1.0/index'; const isUpstream = process.argv.includes('--upstream'); @@ -32,10 +26,6 @@ const docsLinkToReplace = isUpstream ? downstreamDocumentation : upstreamDocumen const docsLinkToInsert = isUpstream ? upstreamDocumentation : downstreamDocumentation; const releaseNotesToReplace = isUpstream ? downstreamReleaseNotes : upstreamReleaseNotes; const releaseNotesToInsert = isUpstream ? upstreamReleaseNotes : downstreamReleaseNotes; -const quickStartsToReplace = isUpstream ? downstreamQuickStarts : upstreamQuickStarts; -const quickStartsToInsert = isUpstream ? upstreamQuickStarts : downstreamQuickStarts; -const highlightsToReplace = isUpstream ? downstreamHighlights : upstreamHighlights; -const highlightsToInsert = isUpstream ? upstreamHighlights : downstreamHighlights; function updateJsonValues(filePath, searchValue, replaceValue) { try { @@ -90,8 +80,6 @@ console.log(`Updating constants.links.ts to ${isUpstream ? 'upstream' : 'downstr updateFileContent(constantsPath, [ { searchValue: docsLinkToReplace, replaceValue: docsLinkToInsert }, { searchValue: releaseNotesToReplace, replaceValue: releaseNotesToInsert }, - { searchValue: quickStartsToReplace, replaceValue: quickStartsToInsert }, - { searchValue: highlightsToReplace, replaceValue: highlightsToInsert }, ]); console.log('Update complete!'); diff --git a/locales/en/plugin__kuadrant-console-plugin.json b/locales/en/plugin__kuadrant-console-plugin.json index 4fdf24f..f67bafe 100644 --- a/locales/en/plugin__kuadrant-console-plugin.json +++ b/locales/en/plugin__kuadrant-console-plugin.json @@ -55,7 +55,6 @@ "Getting started resources": "Getting started resources", "Health Check": "Health Check", "Hide for session": "Hide for session", - "highlights": "highlights", "HTTPRoute API Target Reference": "HTTPRoute API Target Reference", "Issuer": "Issuer", "Issuer API Target Reference": "Issuer API Target Reference", @@ -119,9 +118,7 @@ "Unique name of the DNS Policy": "Unique name of the DNS Policy", "Unique name of the TLSPolicy.": "Unique name of the TLSPolicy.", "Unit": "Unit", - "View all quick starts": "View all quick starts", "View Documentation": "View Documentation", - "Visit the blog": "Visit the blog", "Weight value to apply to weighted endpoints default: 120": "Weight value to apply to weighted endpoints default: 120", "YAML View": "YAML View", "You can view and create HTTPRoutes": "You can view and create HTTPRoutes" diff --git a/package.json b/package.json index f599bcb..100c7f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kuadrant-console-plugin", - "version": "0.0.3", + "version": "0.0.7", "description": "Kuadrant OpenShift Console plugin", "private": true, "license": "Apache-2.0", @@ -72,7 +72,7 @@ }, "consolePlugin": { "name": "kuadrant-console-plugin", - "version": "0.0.3", + "version": "0.0.7", "displayName": "Kuadrant OpenShift Console Plugin", "description": "Kuadrant OpenShift Console Plugin", "exposedModules": { diff --git a/src/components/KuadrantOverviewPage.tsx b/src/components/KuadrantOverviewPage.tsx index 6195887..58a2573 100644 --- a/src/components/KuadrantOverviewPage.tsx +++ b/src/components/KuadrantOverviewPage.tsx @@ -228,15 +228,6 @@ const KuadrantOverviewPage: React.FC = () => { {t('View Documentation')} - - - {t('View all quick starts')} - - @@ -250,16 +241,6 @@ const KuadrantOverviewPage: React.FC = () => { )} - - - {t('Kuadrant')} {t('highlights')} - - { {t('Kuadrant')} {t('Release Notes')} - - - {t('Visit the blog')} - -