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:
@@ -43,6 +43,8 @@ interface TestFile {
|
||||
sort_date: number;
|
||||
etag: string;
|
||||
content_hash: string;
|
||||
is_favorite: boolean;
|
||||
is_shared: boolean;
|
||||
}
|
||||
|
||||
function fileItem(i: number): TestFile {
|
||||
@@ -63,7 +65,9 @@ function fileItem(i: number): TestFile {
|
||||
size_formatted: '4 B',
|
||||
sort_date: 0,
|
||||
etag: 'e',
|
||||
content_hash: 'h'
|
||||
content_hash: 'h',
|
||||
is_favorite: false,
|
||||
is_shared: false
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user