From 6e5950084cdffc5ea9801b54fbde944a60ba638a Mon Sep 17 00:00:00 2001 From: Maksim Chervonnyi Date: Tue, 3 Dec 2024 16:01:57 +0100 Subject: [PATCH] Clean-up `constants/urls` (#4253) --- catalog/app/components/FileEditor/HelpLinks.tsx | 4 ++-- .../FileEditor/__snapshots__/HelpLinks.spec.tsx.snap | 2 +- catalog/app/constants/urls.js | 11 ----------- 3 files changed, 3 insertions(+), 14 deletions(-) diff --git a/catalog/app/components/FileEditor/HelpLinks.tsx b/catalog/app/components/FileEditor/HelpLinks.tsx index 8cdde8b8e23..41cfe1df14f 100644 --- a/catalog/app/components/FileEditor/HelpLinks.tsx +++ b/catalog/app/components/FileEditor/HelpLinks.tsx @@ -7,7 +7,7 @@ import * as Lab from '@material-ui/lab' import Code from 'components/Code' import Lock from 'components/Lock' import * as quiltConfigs from 'constants/quiltConfigs' -import { docsMaster } from 'constants/urls' +import { docs } from 'constants/urls' import type * as Model from 'model' import * as BucketPreferences from 'utils/BucketPreferences' import { createBoundary } from 'utils/ErrorBoundary' @@ -139,7 +139,7 @@ function MissingSourceBucketTooltip() { <> Config property ui.sourceBuckets is empty.{' '} - + Learn more . diff --git a/catalog/app/components/FileEditor/__snapshots__/HelpLinks.spec.tsx.snap b/catalog/app/components/FileEditor/__snapshots__/HelpLinks.spec.tsx.snap index 32c6fce7122..c74723e412e 100644 --- a/catalog/app/components/FileEditor/__snapshots__/HelpLinks.spec.tsx.snap +++ b/catalog/app/components/FileEditor/__snapshots__/HelpLinks.spec.tsx.snap @@ -12,7 +12,7 @@ exports[`components/FileEditor/HelpLinks MissingSourceBucket should render 1`] = is empty. Learn more diff --git a/catalog/app/constants/urls.js b/catalog/app/constants/urls.js index cdab9f2d35f..3ab76be16c8 100644 --- a/catalog/app/constants/urls.js +++ b/catalog/app/constants/urls.js @@ -1,24 +1,13 @@ /* Constants are a developer's best friend * convention: camelcase, no terminating slash */ export const blog = 'https://blog.quiltdata.com' -export const blogManage = - 'https://blog.quiltdata.com/its-time-to-manage-data-like-source-code-3df04cd312b8' -export const blogYC = - 'https://blog.ycombinator.com/data-packages-for-fast-reproducible-python-analysis/' -export const caseStudy = 'https://quiltdata.com/docs/quants.pdf' -export const company = 'https://company.quiltdata.com' export const docs = 'https://docs.quiltdata.com' -export const docsMaster = 'https://docs.quiltdata.com/v/master' -export const git = 'https://github.com/quiltdata/quilt.git' export const gitWeb = 'https://github.com/quiltdata/quilt' export const homeMarketing = 'https://quiltdata.com' export const instagram = 'https://www.instagram.com/quiltdata/' -export const installGit = 'https://git-scm.com/downloads' -export const installQuilt = `${docs}/get-started/installation` export const jobs = 'https://quilt-data.breezy.hr/' export const linkedin = 'https://www.linkedin.com/company/quilt-data' export const slackInvite = 'https://slack.quiltdata.com/' -export const pipGit = `git+${git}` export const icon256 = 'https://d1zvn9rasera71.cloudfront.net/q-256-square.png' export const tutorial = 'https://github.com/quiltdata/quilt/blob/master/README.md#tutorial'