From 80f6263516e307bcc6d887f6f91757bc73ae63f2 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Fri, 14 Nov 2025 17:34:28 +0100 Subject: Add loading states, error handling, and refresh feedback to stops-$id page (#89) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: arielcostas <94913521+arielcostas@users.noreply.github.com> --- .../Stops/ConsolidatedCirculationListSkeleton.tsx | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 src/frontend/app/components/Stops/ConsolidatedCirculationListSkeleton.tsx (limited to 'src/frontend/app/components') diff --git a/src/frontend/app/components/Stops/ConsolidatedCirculationListSkeleton.tsx b/src/frontend/app/components/Stops/ConsolidatedCirculationListSkeleton.tsx new file mode 100644 index 0000000..43f02ca --- /dev/null +++ b/src/frontend/app/components/Stops/ConsolidatedCirculationListSkeleton.tsx @@ -0,0 +1,45 @@ +import React from "react"; +import Skeleton, { SkeletonTheme } from "react-loading-skeleton"; +import "react-loading-skeleton/dist/skeleton.css"; +import "./ConsolidatedCirculationList.css"; + +export const ConsolidatedCirculationListSkeleton: React.FC = () => { + return ( + +
+
+ +
+ +
+ {[1, 2, 3, 4, 5].map((i) => ( +
+
+
+ +
+ +
+ +
+ +
+ + +
+
+ +
+ + +
+
+ ))} +
+
+
+ ); +}; -- cgit v1.3