feat(ui/trash): show original file path in tooltip on mouse over + display thumbnails

* fix: permission also check elements trashed elements
 * tested manually
 * all automated tests ok
This commit is contained in:
Edouard Vanbelle
2026-05-22 00:38:44 +02:00
parent 0cd2f24b7f
commit 191f725199
12 changed files with 144 additions and 29 deletions
+2
View File
@@ -29,6 +29,8 @@ pub trait FileReadPort: Send + Sync + 'static {
/// Gets a file by its ID.
async fn get_file(&self, id: &str) -> Result<File, DomainError>;
async fn get_file_or_trashed(&self, id: &str) -> Result<File, DomainError>;
/// Gets a file by its ID, scoped to a specific owner.
///
/// Returns `NotFound` if the file does not exist **or** belongs to a