feat: implement photo management features in the application
- Added a new `resolve_photo_path` function to handle legacy and new photo paths effectively. - Updated the photo upload process to store only filenames in the database, improving path resolution. - Enhanced the photo retrieval and deletion processes to utilize the new path resolution logic. - Introduced a dedicated PhotosCapturePage for managing photo uploads and viewing. - Updated the dashboard and navigation to include links to the new photo management features. - Improved the photo grid display with sorting and deletion capabilities for better user experience.
This commit is contained in:
1 parent
7676897fda
commit
c91317df8e
9 files changed
+417
-38
No files matched your search
@@ -18,8 +18,8 @@ export default function ProgressPhotosWidget({ refreshTick = 0 }) {
|
||||
return (
|
||||
<div className="card section-gap" style={{ marginBottom: 16, textAlign: 'center', padding: 24 }}>
|
||||
<div style={{ fontSize: 13, color: 'var(--text3)', marginBottom: 12 }}>Noch keine Fotos.</div>
|
||||
<button type="button" className="btn btn-primary" onClick={() => nav('/capture')}>
|
||||
Zur Erfassung
|
||||
<button type="button" className="btn btn-primary" onClick={() => nav('/photos')}>
|
||||
Fotos erfassen
|
||||
</button>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user