Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetches data but fails to display them #45170

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions airflow/ui/openapi-gen/requests/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,7 @@ export type PluginResponse = {
* Pool Collection serializer for responses.
*/
export type PoolCollectionResponse = {
map(arg0: (entry: any, index: any) => import("react/jsx-runtime").JSX.Element): import("react").ReactNode;
pools: Array<PoolResponse>;
total_entries: number;
};
Expand Down
2 changes: 2 additions & 0 deletions airflow/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@emotion/react": "^11.13.3",
"@tanstack/react-query": "^5.52.1",
"@tanstack/react-table": "^8.20.1",
"@types/recharts": "^1.8.29",
"@uiw/codemirror-themes-all": "^4.23.5",
"@uiw/react-codemirror": "^4.23.5",
"@visx/group": "^3.12.0",
Expand All @@ -41,6 +42,7 @@
"react-markdown": "^9.0.1",
"react-router-dom": "^6.26.2",
"react-syntax-highlighter": "^15.5.6",
"recharts": "^2.15.0",
"use-debounce": "^10.0.3",
"usehooks-ts": "^3.1.0"
},
Expand Down
138 changes: 138 additions & 0 deletions airflow/ui/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions airflow/ui/src/pages/Dashboard/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { Box, Heading } from "@chakra-ui/react";
import { Health } from "./Health";
import { HistoricalMetrics } from "./HistoricalMetrics";
import { Stats } from "./Stats";
import { Poolslots } from '../../queries/usePoolSlots';

export const Dashboard = () => (
<Box>
Expand All @@ -34,5 +35,8 @@ export const Dashboard = () => (
<Box mt={5}>
<HistoricalMetrics />
</Box>
<Box >
<Poolslots />
</Box>
</Box>
);
Loading