Skip to content

Commit

Permalink
Remove redshift
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyGiorgio committed Dec 24, 2023
1 parent cb09dd7 commit 9479b4f
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 740 deletions.
7 changes: 0 additions & 7 deletions e2e/routes.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const routes = [
"/feedback",
"/gift",
"/receive",
"/redshift",
"/scanner",
"/send",
"/swap",
Expand Down Expand Up @@ -182,12 +181,6 @@ test("visit each route", async ({ page }) => {
"Add Connection"
);

// Redshift
await page.goto("http://localhost:3420/redshift");
await expect(page.locator("h1")).toHaveText("Redshift (coming soon)");
checklist.set("/redshift", true);
await page.goBack();

// Swap
await page.goto("http://localhost:3420/swap");
await expect(page.locator("h1")).toHaveText("Swap to Lightning");
Expand Down
2 changes: 0 additions & 2 deletions src/components/Activity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ export const THREE_COLUMNS =
export const CENTER_COLUMN = "min-w-0 overflow-hidden max-w-full";
export const MISSING_LABEL =
"py-1 px-2 bg-white/10 rounded inline-block text-sm";
export const REDSHIFT_LABEL =
"py-1 px-2 bg-white text-m-red rounded inline-block text-sm";
export const RIGHT_COLUMN = "flex flex-col items-right text-right max-w-[8rem]";

export interface IActivityItem {
Expand Down
8 changes: 0 additions & 8 deletions src/components/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { A } from "@solidjs/router";
import airplane from "~/assets/icons/airplane.svg";
import receive from "~/assets/icons/big-receive.svg";
import mutiny_m from "~/assets/icons/m.svg";
import redshift from "~/assets/icons/rs.svg";
import scan from "~/assets/icons/scan.svg";
import settings from "~/assets/icons/settings.svg";
import userClock from "~/assets/icons/user-clock.svg";
Expand All @@ -14,7 +13,6 @@ type ActiveTab =
| "send"
| "receive"
| "settings"
| "redshift"
| "activity"
| "none";

Expand Down Expand Up @@ -74,12 +72,6 @@ export function NavBar(props: { activeTab: ActiveTab }) {
active={false}
alt="scan"
/>
<NavBarItem
href="/redshift"
icon={redshift}
active={props.activeTab === "redshift"}
alt="redshift"
/>
<NavBarItem
href="/settings"
icon={settings}
Expand Down
24 changes: 0 additions & 24 deletions src/i18n/en/translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,30 +210,6 @@ export default {
back_home: "back home"
}
},
redshift: {
title: "Redshift",
unknown: "Unknown",
what_happened: "What happened?",
starting_amount: "Starting amount",
fees_paid: "Fees paid",
change: "Change",
outbound_channel: "Outbound channel",
return_channel: "Return channel",
where_this_goes: "Where is this going?",
watch_it_go: "Watch it go!",
choose_your: "Choose your",
utxo_to_begin: "UTXO to begin",
unshifted_utxo: "Unshifted UTXOs",
redshifted: "Redshifted",
utxos: "UTXOs",
no_utxos_empty_state: "No utxos (empty state)",
utxo_label: "UTXO",
utxo_caption: "Trade in your UTXO for a fresh UTXO",
lightning_label: "Lightning",
lightning_caption: "Convert your UTXO into Lightning",
oh_dear: "Oh dear",
here_is_error: "Here's what happened:"
},
scanner: {
paste: "Paste Something",
cancel: "Cancel"
Expand Down
19 changes: 0 additions & 19 deletions src/i18n/ko/translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,25 +175,6 @@ export default {
"채널 상세정보를 찾을 수 없습니다. 이는 해당 채널이 종료된 것으로 보입니다."
}
},
redshift: {
title: "레드시프트",
unknown: "알 수 없음",
what_happened: "무슨 일이 발생했나요?",
where_this_goes: "이것은 어디로 가나요?",
watch_it_go: "보기",
choose_your: "선택하세요",
utxo_to_begin: "시작할 UTXO",
unshifted_utxo: "전환되지 않은 UTXO",
redshifted: "레드시프트된",
utxos: "UTXO",
no_utxos_empty_state: "UTXO가 없습니다.",
utxo_label: "UTXO",
utxo_caption: "새 UTXO와 교환하세요.",
lightning_label: "라이트닝",
lightning_caption: "UTXO를 라이트닝으로 전환하세요.",
oh_dear: "오 디얼!",
here_is_error: "다음과 같은 오류가 발생했습니다:"
},
scanner: {
paste: "붙여넣기",
cancel: "취소"
Expand Down
2 changes: 0 additions & 2 deletions src/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
Main,
NotFound,
Receive,
Redshift,
Scanner,
Send,
Swap
Expand Down Expand Up @@ -98,7 +97,6 @@ export function Router() {
<Route path="/feedback" component={Feedback} />
<Route path="/gift" component={GiftReceive} />
<Route path="/receive" component={Receive} />
<Route path="/redshift" component={Redshift} />
<Route path="/scanner" component={Scanner} />
<Route path="/send" component={Send} />
<Route path="/swap" component={Swap} />
Expand Down
Loading

0 comments on commit 9479b4f

Please sign in to comment.