Update API endpoints for camera2 and enhance logging options in USDA Vision System

- Changed camera1 references to camera2 in API endpoint documentation for start and stop recording.
- Added debug and verbose logging options in the USDA Vision System to improve debugging capabilities.
- Updated TopNavbar component for improved user experience with cursor pointer styling.
This commit is contained in:
salirezav
2025-09-11 14:25:20 -04:00
parent 8e7b5b054f
commit f8d720964e
6 changed files with 21 additions and 6 deletions

View File

@@ -208,3 +208,5 @@ If you encounter issues:

View File

@@ -23,3 +23,5 @@ export function CameraRoute({ cameraNumber }: CameraRouteProps) {

View File

@@ -132,3 +132,5 @@ export function LiveCameraView({ cameraName }: LiveCameraViewProps) {

View File

@@ -171,7 +171,7 @@ export function TopNavbar({
{/* Dropdown menu */}
{isUserMenuOpen && (
<div className="absolute right-0 mt-[17px] flex w-[260px] flex-col rounded-2xl border border-gray-200 bg-white p-3 shadow-theme-lg dark:border-gray-800 dark:bg-gray-dark">
<div className="absolute right-0 mt-[17px] flex w-[260px] flex-col rounded-2xl border border-gray-200 bg-white p-3 shadow-theme-lg dark:border-gray-800 dark:bg-gray-dark z-50">
<div>
<span className="block font-medium text-gray-700 text-theme-sm dark:text-gray-400">
{user.email.split('@')[0]}
@@ -232,7 +232,7 @@ export function TopNavbar({
setIsUserMenuOpen(false)
onLogout()
}}
className="flex items-center gap-3 px-3 py-2 mt-3 font-medium text-gray-700 rounded-lg group text-theme-sm hover:bg-gray-100 hover:text-gray-700 dark:text-gray-400 dark:hover:bg-white/5 dark:hover:text-gray-300"
className="flex items-center gap-3 px-3 py-2 mt-3 font-medium text-gray-700 rounded-lg group text-theme-sm hover:bg-gray-100 hover:text-gray-700 dark:text-gray-400 dark:hover:bg-white/5 dark:hover:text-gray-300 cursor-pointer"
>
<svg
className="fill-gray-500 group-hover:fill-gray-700 dark:group-hover:fill-gray-300"