feat(dashboard): add scrape portals widget to dashboard
continuous-integration/drone/push Build is passing

Surface AI pipeline portal sources on the dashboard instead of a standalone page.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
AmirReza Jamali
2026-06-23 10:22:58 +03:30
parent 31d80cd6ae
commit 9202f9a271
9 changed files with 174 additions and 8 deletions
+11
View File
@@ -0,0 +1,11 @@
import { API_ENDPOINTS, portalsService } from "@/lib/api";
import { useQuery } from "@tanstack/react-query";
import { useMemo } from "react";
export const useGetPortalsQuery = () => {
const queryKey = useMemo(() => [API_ENDPOINTS.PORTALS.GET], []);
return useQuery({
queryKey,
queryFn: () => portalsService.getPortals(),
});
};