Skip to content

Commit 0603c7a

Browse files
committed
chore: remove unused ui topology deps and code
Signed-off-by: Nick Mitchell <[email protected]>
1 parent 1c27e4a commit 0603c7a

File tree

9 files changed

+0
-1236
lines changed

9 files changed

+0
-1236
lines changed

pdl-live-react/package-lock.json

-932
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pdl-live-react/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
},
2323
"dependencies": {
2424
"@patternfly/react-core": "^6.1.0",
25-
"@patternfly/react-topology": "^6.1.0",
2625
"@tauri-apps/api": "^2.3.0",
2726
"@tauri-apps/plugin-cli": "^2.2.0",
2827
"@tauri-apps/plugin-fs": "^2.2.0",

pdl-live-react/src/view/masonry/MasonryCombo.tsx

-13
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ import {
1919

2020
const RunTerminal = lazy(() => import("../term/RunTerminal"))
2121

22-
//import Topology from "../memory/Topology"
23-
//import extractVariables from "../memory/model"
2422
import Masonry from "./Masonry"
2523
import Timeline from "../timeline/TimelineFromModel"
2624
import MasonryTileWrapper from "./MasonryTileWrapper"
@@ -198,10 +196,6 @@ export default function MasonryCombo({ value, setValue }: Props) {
198196
[block],
199197
)
200198

201-
// This is the <Topology/> model. We compute this here, so we can
202-
// nicely not render anything if we have an empty topology model.
203-
// const { nodes, edges } = useMemo(() => extractVariables(block), [block])
204-
205199
if (!block) {
206200
return "Invalid trace content"
207201
}
@@ -238,13 +232,6 @@ export default function MasonryCombo({ value, setValue }: Props) {
238232
<MasonryTileWrapper sml={sml} variant="plain">
239233
<Timeline model={base} numbering={numbering} />
240234
</MasonryTileWrapper>
241-
{/*(as !== "list" || sml !== "s") && nodes.length > 0 && (
242-
<Topology
243-
nodes={nodes}
244-
edges={edges}
245-
numbering={numbering}
246-
sml={sml}
247-
/>)*/}
248235
</Masonry>
249236
</PageSection>
250237

pdl-live-react/src/view/memory/Node.tsx

-48
This file was deleted.

pdl-live-react/src/view/memory/Topology.css

-36
This file was deleted.

pdl-live-react/src/view/memory/Topology.tsx

-87
This file was deleted.

pdl-live-react/src/view/memory/components.ts

-31
This file was deleted.

pdl-live-react/src/view/memory/layout.ts

-21
This file was deleted.

pdl-live-react/src/view/memory/model.ts

-67
This file was deleted.

0 commit comments

Comments
 (0)