Skip to content

Commit 4dd0955

Browse files
rickstaaclaudeECWireless
authored
chore: remove changefeed and link to the livepeer.org changelog (#838)
* chore: remove changefeed and link to the livepeer.org changelog Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * chore: drop leftover changefeed env var and unused markdown-to-jsx The changefeed removal left CHANGEFEED_ACCESS_TOKEN in .env.example, and markdown-to-jsx's only consumer was the deleted /whats-new page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com> Co-authored-by: ECWireless <elliott@coopallc.com>
1 parent 3cbef8d commit 4dd0955

12 files changed

Lines changed: 10 additions & 325 deletions

File tree

‎.env.example‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
CHANGEFEED_ACCESS_TOKEN=
21
GITHUB_ACCESS_TOKEN=
32
LIVEPEER_COM_API_ADMIN_TOKEN=
43
PINATA_JWT=

‎Dockerfile‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ FROM node:24 AS builder
22
WORKDIR /app
33
RUN corepack enable
44

5-
ARG CHANGEFEED_ACCESS_TOKEN
65
ARG GITHUB_ACCESS_TOKEN
76
ARG LIVEPEER_COM_API_ADMIN_TOKEN
87
ARG PINATA_JWT
@@ -19,8 +18,7 @@ ARG NEXT_PUBLIC_METRICS_SERVER_URL=https://leaderboard-serverless.vercel.app
1918
ARG NEXT_PUBLIC_AI_METRICS_SERVER_URL=https://leaderboard-api.livepeer.cloud
2019

2120
# Step 5: Create .env file with substituted values
22-
RUN echo "CHANGEFEED_ACCESS_TOKEN=${CHANGEFEED_ACCESS_TOKEN}" >> .env && \
23-
echo "GITHUB_ACCESS_TOKEN=${GITHUB_ACCESS_TOKEN}" >> .env && \
21+
RUN echo "GITHUB_ACCESS_TOKEN=${GITHUB_ACCESS_TOKEN}" >> .env && \
2422
echo "LIVEPEER_COM_API_ADMIN_TOKEN=${LIVEPEER_COM_API_ADMIN_TOKEN}" >> .env && \
2523
echo "PINATA_JWT=${PINATA_JWT}" >> .env && \
2624
echo "NEXT_PUBLIC_GA_TRACKING_ID=${NEXT_PUBLIC_GA_TRACKING_ID}" >> .env && \

‎components/Drawer/index.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,9 @@ const Index = ({
237237

238238
<Box>
239239
<A
240-
as={Link}
241-
href="/whats-new"
242-
passHref
240+
href="https://livepeer.org/changelog"
241+
target="_blank"
242+
rel="noopener noreferrer"
243243
css={{ fontSize: "$2", marginBottom: "$2", display: "block" }}
244244
>
245245
What&apos;s New

‎hooks/useSwr.tsx‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import {
33
AvailablePipelines,
44
Pipeline,
55
} from "@lib/api/types/get-available-pipelines";
6-
import { GetChangefeed } from "@lib/api/types/get-changefeed";
76
import { HomeChartData } from "@lib/api/types/get-chart-data";
87
import { ContractInfo } from "@lib/api/types/get-contract-info";
98
import { CurrentRoundInfo } from "@lib/api/types/get-current-round";
@@ -70,12 +69,6 @@ export const useProtocolDayData = () => {
7069
return data ?? null;
7170
};
7271

73-
export const useChangefeedData = () => {
74-
const { data } = useSWR<GetChangefeed>(`/changefeed`);
75-
76-
return data ?? null;
77-
};
78-
7972
export const useSupplyChangeData = () => {
8073
// Round-keyed cache: only refetch when the round changes.
8174
const round = useCurrentRoundData();

‎layouts/main.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ const Layout = ({ children, title = "Livepeer Explorer" }) => {
776776
)}
777777
<PopoverLink
778778
newWindow={true}
779-
href={`/whats-new`}
779+
href={`https://livepeer.org/changelog`}
780780
>
781781
What&apos;s New
782782
</PopoverLink>

‎lib/api/types/get-changefeed.ts‎

Lines changed: 0 additions & 25 deletions
This file was deleted.

‎next.config.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ const nextConfig = {
2323

2424
async redirects() {
2525
return [
26+
{
27+
source: "/whats-new",
28+
destination: "https://livepeer.org/changelog",
29+
permanent: false,
30+
},
2631
{
2732
source: "/accounts/:slug",
2833
destination: "/accounts/:slug/delegating",

‎package.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
"hast-util-to-jsx-runtime": "^2.3.6",
6767
"isomorphic-unfetch": "^3.1.0",
6868
"livepeer": "^2.9.2",
69-
"markdown-to-jsx": "^9.10.3",
7069
"next": "16.4.3",
7170
"next-themes": "^0.4.6",
7271
"numbro": "^2.5.0",

‎pages/api/changefeed.tsx‎

Lines changed: 0 additions & 70 deletions
This file was deleted.

‎pages/whats-new.tsx‎

Lines changed: 0 additions & 184 deletions
This file was deleted.

0 commit comments

Comments
 (0)