Skip to content

Commit

Permalink
Merge pull request #44 from dmccartney/daniel-houston-notice
Browse files Browse the repository at this point in the history
feat: notify of houston issues
  • Loading branch information
dmccartney authored Jun 26, 2024
2 parents e1c4d7f + 8101ac5 commit d76dda2
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion web/src/pages/NodePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ import {
import Layout from "../components/Layout";
import { useParams } from "react-router-dom";
import {
Alert,
AlertTitle,
Button,
CircularProgress,
FormHelperText,
Grid,
IconButton,
Link,
Stack,
Tooltip,
Typography,
Expand All @@ -21,7 +24,12 @@ import NodeRewardsSummaryCard from "../components/NodeRewardsSummaryCard";
import SafeSweepCard from "../components/SafeSweepCard";
import NodePeriodicRewardsTable from "../components/NodePeriodicRewardsTable";
import NodeContinuousRewardsTable from "../components/NodeContinuousRewardsTable";
import { AllInclusive, EventRepeat, Help } from "@mui/icons-material";
import {
AllInclusive,
EventRepeat,
Help,
OpenInNew,
} from "@mui/icons-material";
import { useEffect, useState } from "react";
import { ethers } from "ethers";
import useCanConnectedAccountWithdraw from "../hooks/useCanConnectedAccountWithdraw";
Expand Down Expand Up @@ -205,6 +213,34 @@ export default function NodePage() {
<NodeRewardsSummaryCard nodeAddress={nodeAddress} />
</Grid>
<Grid key={"sweep-table-cards"} item xs={12} lg={8}>
{/* TODO: delete Alert after #43 is closed. */}
<Alert
sx={{ mb: 4 }}
severity={"error"}
action={
<Button
endIcon={<OpenInNew />}
color={"inherit"}
href="https://github.com/dmccartney/rocketsweep/issues/43"
target={"_blank"}
>
Track
</Button>
}
>
<AlertTitle>Limited Functionality</AlertTitle>
The recent{" "}
<Link
target="_blank"
color="inherit"
underline="always"
href="https://medium.com/rocket-pool/rocket-pool-houston-launch-b056ca1a6c10"
>
Houston upgrade
</Link>{" "}
broke some of the functionality here. <br /> Thank you for your
patience while we fix. -dmccartney
</Alert>
<SafeSweepCard sx={{ mb: 4 }} nodeAddress={nodeAddress} />
<NodePeriodicRewardsTable
sx={{ mb: 5, border: 0 }}
Expand Down

0 comments on commit d76dda2

Please sign in to comment.