Refactor camera feed components and add sighting tables

- Updated mode settings in camera feed reducer to use "painter"
- Renamed PlatePatch component to SightingPatch and updated imports
- Removed obsolete PlatePatch component
- Added SightingEntryTable and SightingExitTable components for displaying sighting data
- Implemented useSightingEntryAndExit hook for fetching entry and exit sightings
- Adjusted VideoFeedGridPainter for improved width calculation
- Introduced DecodeReading type for better typing
This commit is contained in:
2025-11-28 12:58:42 +00:00
parent c910a3dd50
commit ddb1fa1bf1
9 changed files with 160 additions and 13 deletions

View File

@@ -88,7 +88,7 @@ const VideoFeedGridPainter = () => {
const width = window.innerWidth;
const aspectRatio = 740 / 460;
const newWidth = width * 0.36;
const newWidth = width * 0.39;
const newHeight = newWidth / aspectRatio;
setStageSize({ width: newWidth, height: newHeight });
};