Skip to content

Commit

Permalink
Clean-up constants/urls (#4253)
Browse files Browse the repository at this point in the history
  • Loading branch information
fiskus authored Dec 3, 2024
1 parent 207546e commit 6e59500
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
4 changes: 2 additions & 2 deletions catalog/app/components/FileEditor/HelpLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -139,7 +139,7 @@ function MissingSourceBucketTooltip() {
<>
<M.Typography variant="body2" gutterBottom>
Config property <Code>ui.sourceBuckets</Code> is empty.{' '}
<StyledLink href={`${docsMaster}/catalog/preferences`} target="_blank">
<StyledLink href={`${docs}/catalog/preferences`} target="_blank">
Learn more
</StyledLink>
.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exports[`components/FileEditor/HelpLinks MissingSourceBucket should render 1`] =
is empty.
<a
href="https://docs.quiltdata.com/v/master/catalog/preferences"
href="https://docs.quiltdata.com/catalog/preferences"
>
Learn more
</a>
Expand Down
11 changes: 0 additions & 11 deletions catalog/app/constants/urls.js
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit 6e59500

Please sign in to comment.