Skip to content

Commit c4b8251

Browse files
committed
config file
1 parent 7fddb43 commit c4b8251

File tree

14 files changed

+389
-333
lines changed

14 files changed

+389
-333
lines changed

package-lock.json

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

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"release": "npm run release --workspace packages/cli"
2424
},
2525
"devDependencies": {
26-
"concurrently": "^8.0.1",
2726
"eslint": "^9.11.1",
2827
"eslint-config-prettier": "^9.1.0",
2928
"eslint-plugin-prettier": "^5.2.1",

packages/app/src/components/ApiTree/ApiTree.tsx

+2-17
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ import {
66
Node,
77
Edge,
88
} from "@xyflow/react";
9-
import { Button, Skeleton } from "@radix-ui/themes";
9+
import { Button } from "@radix-ui/themes";
1010
import { Endpoint } from "../../service/api/types";
1111
import { layoutNodesAndEdges } from "../../service/dagree";
1212
import { generateDarkColors } from "../../service/groupColor";
1313
import MethodNodeContent from "./MethodNodeContent";
1414
import GroupNodeContent from "./GroupNodeContent";
1515

1616
export default function ApiTree(props: {
17-
chartLoading: boolean;
1817
busy: boolean;
1918
endpoints: Endpoint[];
2019
onChangeEndpointGroup: (group: string, endpoint: Endpoint) => void;
@@ -161,21 +160,7 @@ export default function ApiTree(props: {
161160
setEdges(layoutedEdges);
162161
}
163162

164-
return props.chartLoading ? (
165-
<div className="h-full flex flex-col justify-center items-center gap-5">
166-
<Skeleton width="200px" height="75px" />
167-
<div className="flex gap-5">
168-
<Skeleton width="200px" height="75px" />
169-
<Skeleton width="200px" height="75px" />
170-
</div>
171-
<div className="flex gap-5">
172-
<Skeleton width="200px" height="75px" />
173-
<Skeleton width="200px" height="75px" />
174-
<Skeleton width="200px" height="75px" />
175-
<Skeleton width="200px" height="75px" />
176-
</div>
177-
</div>
178-
) : (
163+
return (
179164
<div className="relative h-full">
180165
<Button
181166
className="absolute top-4 left-4 z-10"

packages/app/src/components/LoadCodeBaseDialog.tsx

-82
This file was deleted.

0 commit comments

Comments
 (0)