Skip to content

Commit

Permalink
feat/update-visualize (#486)
Browse files Browse the repository at this point in the history
* feat(visualization-report): change title to HH branding

Apply Harhdat branding:

* The title of the report has been changed to `Hardhat Ignition -
<ModuleId>`.
* The page title has been changed to `Hardhat Ignition`.
* Add the HH favicon

* feat(visualize-report): update summary to show ids

Replace the bespoke approach to deploys/calls with a display of ids.

Turn the lists of ids into links that lead to the detail page.

* feat(visualization-report): rename overview subtitle to futures

Rename `Actions` to `Futures`. We no longer use the name `Actions`.

* feat(visualizition-report): display ids in futures list

* feat: reflow mermaid top to bottom

* feat(visualization-report): include breadcrumb on details page

* feat: fix mermaid tests

* remove duplicate futures from html

* move future details into dropdown

---------

Co-authored-by: zoeyTM <[email protected]>
  • Loading branch information
kanej and zoeyTM authored Sep 26, 2023
1 parent cb297ff commit 0b8d11a
Show file tree
Hide file tree
Showing 14 changed files with 299 additions and 378 deletions.
3 changes: 2 additions & 1 deletion packages/ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Ignition</title>
<link rel="shortcut icon" href="/favicon.ico">
<title>Hardhat Ignition</title>
</head>
<body>
<div id="root">
Expand Down
Binary file added packages/ui/public/favicon.ico
Binary file not shown.
4 changes: 4 additions & 0 deletions packages/ui/src/components/shared.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ export const Panel = styled.div`
border: 1px solid black;
padding: 1rem;
`;

export const Breadcrumb = styled.div`
padding-bottom: 1rem;
`;
5 changes: 0 additions & 5 deletions packages/ui/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
} from "@nomicfoundation/ignition-core/ui-helpers";
import ReactDOM from "react-dom/client";
import { RouterProvider, createHashRouter } from "react-router-dom";
import { FutureDetails } from "./pages/future-details/future-details";
import { VisualizationOverview } from "./pages/visualization-overview/visualization-overview";

const loadDeploymentFromEmbeddedDiv = (): IgnitionModule<
Expand Down Expand Up @@ -49,10 +48,6 @@ const main = async () => {
path: "/",
element: <VisualizationOverview ignitionModule={ignitionModule} />,
},
{
path: "/future/:futureId",
element: <FutureDetails ignitionModule={ignitionModule} />,
},
]);

ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
Expand Down
193 changes: 0 additions & 193 deletions packages/ui/src/pages/future-details/components/future-summary.tsx

This file was deleted.

34 changes: 0 additions & 34 deletions packages/ui/src/pages/future-details/future-details.tsx

This file was deleted.

106 changes: 0 additions & 106 deletions packages/ui/src/pages/visualization-overview/components/action.tsx

This file was deleted.

Loading

0 comments on commit 0b8d11a

Please sign in to comment.