feat(fileDto, folderDto): add is_favorite + is_shared
- provide is_shared and is_favorite information in DTO, information propagated as badge/buttons per items
regarding performances I try to be minimalis on SQL to prevent any perf regression
- remove old set of sharedids and favoriteids (was not functionnal anymore)
- fix date picker (no past selection) in grant
- fix contextmenu close on /files section
This commit is contained in:
@@ -189,6 +189,14 @@ impl PathResolverService {
|
||||
// reload through the repo.
|
||||
created_by: None,
|
||||
updated_by: None,
|
||||
// Caller state flags not looked up here — the
|
||||
// resolver is an internal utility that answers
|
||||
// existence/type questions, not a wire emission
|
||||
// path. Callers that emit to the SPA reload
|
||||
// through the listing repo or the caller_flags
|
||||
// helper.
|
||||
is_favorite: false,
|
||||
is_shared: false,
|
||||
}))
|
||||
}
|
||||
_ => {
|
||||
@@ -217,6 +225,10 @@ impl PathResolverService {
|
||||
// §14 provenance not selected by this resolver path
|
||||
created_by: None,
|
||||
updated_by: None,
|
||||
// Caller state flags not looked up here — see
|
||||
// the folder branch above for rationale.
|
||||
is_favorite: false,
|
||||
is_shared: false,
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user