From 80bcf4a5f29ab926c2208d5efb4c19087c600323 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Sun, 7 Sep 2025 19:22:28 +0200 Subject: feat: Enhance StopSheet component with error handling and loading states - Added skeleton loading state to StopSheet for better UX during data fetch. - Implemented error handling with descriptive messages for network and server errors. - Introduced manual refresh functionality to reload stop estimates. - Updated styles for loading and error states. - Created StopSheetSkeleton and TimetableSkeleton components for consistent loading indicators. feat: Improve StopList component with loading indicators and network data fetching - Integrated loading state for StopList while fetching stops from the network. - Added skeleton loading indicators for favourite and recent stops. - Refactored data fetching logic to include favourite and recent stops with full data. - Enhanced user experience with better loading and error handling. feat: Update Timetable component with loading and error handling - Added loading skeletons to Timetable for improved user experience. - Implemented error handling for timetable data fetching. - Refactored data loading logic to handle errors gracefully and provide retry options. chore: Update package dependencies - Upgraded react-router, lucide-react, and other dependencies to their latest versions. - Updated types for TypeScript compatibility. --- src/frontend/package.json | 46 ++++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 22 deletions(-) (limited to 'src/frontend/package.json') diff --git a/src/frontend/package.json b/src/frontend/package.json index 6463dd9..674a1fa 100644 --- a/src/frontend/package.json +++ b/src/frontend/package.json @@ -13,39 +13,41 @@ }, "dependencies": { "@fontsource-variable/roboto": "^5.2.6", - "@react-router/node": "^7.6.2", - "@react-router/serve": "^7.6.2", + "@react-router/node": "^7.8.2", + "@react-router/serve": "^7.8.2", + "framer-motion": "^12.23.12", "fuse.js": "^7.1.0", "isbot": "^5", - "lucide-react": "^0.510.0", + "lucide-react": "^0.542.0", "maplibre-theme": "^1.0.0", - "react": "^19.1.0", - "react-dom": "^19.1.0", + "react": "^19.1.1", + "react-dom": "^19.1.1", "react-leaflet": "^5.0.0", "react-leaflet-markercluster": "^5.0.0-rc.0", - "react-modal-sheet": "^4.4.0", - "react-router": "^7.6.0" + "react-loading-skeleton": "^3.5.0", + "react-modal-sheet": "^5.1.0", + "react-router": "^7.8.2" }, "devDependencies": { - "@eslint/js": "^9.26.0", - "@react-router/dev": "^7.6.2", - "@react-router/node": "^7.6.2", - "@react-router/serve": "^7.6.2", - "@types/leaflet": "^1.9.17", - "@types/node": "^22.15.17", - "@types/react": "^19.1.3", - "@types/react-dom": "^19.1.4", - "eslint": "^9.26.0", + "@eslint/js": "^9.35.0", + "@react-router/dev": "^7.8.2", + "@react-router/node": "^7.8.2", + "@react-router/serve": "^7.8.2", + "@types/leaflet": "^1.9.20", + "@types/node": "^24.3.1", + "@types/react": "^19.1.12", + "@types/react-dom": "^19.1.9", + "eslint": "^9.35.0", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.4.20", - "globals": "^16.1.0", - "jiti": "^2.4.2", - "maplibre-gl": "^5.6.0", + "globals": "^16.3.0", + "jiti": "^2.5.1", + "maplibre-gl": "^5.7.1", "pmtiles": "^4.3.0", "react-map-gl": "^8.0.4", - "typescript": "^5.8.3", - "typescript-eslint": "^8.32.0", - "vite": "^6.3.5", + "typescript": "^5.9.2", + "typescript-eslint": "^8.42.0", + "vite": "^7.1.4", "vite-tsconfig-paths": "5.1.4" }, "optionalDependencies": { -- cgit v1.3