Skip to content

Commit

Permalink
✨ replace Fast-track tab by Wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
Marigold committed Feb 14, 2024
1 parent a240577 commit b838769
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions adminSiteClient/AdminSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
faChartBar,
faFile,
faTable,
faTruckFast,
faSkullCrossbones,
faPen,
faDatabase,
Expand All @@ -19,9 +18,10 @@ import {
faSatelliteDish,
faCodeBranch,
faDownload,
faHatWizard,
} from "@fortawesome/free-solid-svg-icons"

import { FASTTRACK_URL } from "../settings/clientSettings.js"
import { ETL_WIZARD_URL } from "../settings/clientSettings.js"

export const AdminSidebar = (): JSX.Element => (
<aside className="AdminSidebar">
Expand Down Expand Up @@ -49,12 +49,12 @@ export const AdminSidebar = (): JSX.Element => (

<li>
<a
href={FASTTRACK_URL}
href={ETL_WIZARD_URL}
target="_blank"
rel="noopener"
title="Tailscale required"
>
<FontAwesomeIcon icon={faTruckFast} /> Fast-track
<FontAwesomeIcon icon={faHatWizard} /> Wizard
</a>
</li>
<li>
Expand Down
6 changes: 3 additions & 3 deletions settings/clientSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ export const IMAGE_HOSTING_BUCKET_PATH: string =
export const IMAGE_HOSTING_BUCKET_SUBFOLDER_PATH: string =
IMAGE_HOSTING_BUCKET_PATH.slice(IMAGE_HOSTING_BUCKET_PATH.indexOf("/") + 1)

// Fast-track settings, by default points to staging version. You need Tailscale to access it.
export const FASTTRACK_URL: string =
process.env.FASTTRACK_URL ?? "http://owid-analytics:8083/"
// Link to production wizard. You need Tailscale to access it in production.
export const ETL_WIZARD_URL: string =
process.env.ETL_WIZARD_URL ?? "http://localhost:8053/"

export const GDOCS_DETAILS_ON_DEMAND_ID: string =
process.env.GDOCS_DETAILS_ON_DEMAND_ID ?? ""

0 comments on commit b838769

Please sign in to comment.