feat: Enhance photo handling in admin frontend
CI / skip-ci-check (pull_request) Successful in 1m51s
CI / lint-and-type-check (pull_request) Successful in 2m29s
CI / python-lint (pull_request) Successful in 2m15s
CI / test-backend (pull_request) Successful in 4m10s
CI / build (pull_request) Successful in 4m56s
CI / secret-scanning (pull_request) Successful in 1m58s
CI / dependency-scan (pull_request) Successful in 1m57s
CI / sast-scan (pull_request) Successful in 3m3s
CI / workflow-summary (pull_request) Successful in 1m49s

- Added a new API method to fetch photo images as blobs, enabling direct image retrieval.
- Updated image source paths in multiple components to use the base URL from the API client for consistency.
- Implemented cleanup for blob URLs in the ReportedPhotos component to prevent memory leaks.
- Improved user experience by displaying loading states for images in the ReportedPhotos component.

These changes improve the efficiency and reliability of photo handling in the admin interface.
This commit is contained in:
tanyar09
2026-01-22 18:33:44 +00:00
parent 845273cfd3
commit afaacf7403
10 changed files with 70 additions and 22 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
#!/bin/bash
cd "$(dirname "$0")"
PORT=3000 HOST=0.0.0.0 exec npx --yes serve dist
PORT=3000 HOST=0.0.0.0 exec npx --yes serve dist --single