feat: Add folder title matching and parsing (#2067)
This is a breaking change for users of the [experimental 'folder' functionality](https://card.camera/#/configuration/folders). Related: #1748
This commit is contained in:
@@ -72,7 +72,7 @@ export class FolderGalleryController {
|
||||
params: {
|
||||
query: view.query.clone().setQuery({
|
||||
folder: rawQuery.folder,
|
||||
path: [...rawQuery.path, { id }],
|
||||
path: [...rawQuery.path, { folder: item }],
|
||||
}),
|
||||
},
|
||||
});
|
||||
|
||||
@@ -135,10 +135,9 @@ export class ThumbnailDetailsController {
|
||||
: []),
|
||||
];
|
||||
|
||||
// To avoid duplication, if the event already has a structured 'what' and a
|
||||
// starttime, the title is omitted from the details.
|
||||
const includeTitle =
|
||||
!ViewItemClassifier.isEvent(item) || !item?.getWhat()?.length || !startTime;
|
||||
// To avoid duplication, if the event has a starttime, the title is omitted
|
||||
// from the details.
|
||||
const includeTitle = !ViewItemClassifier.isEvent(item) || !startTime;
|
||||
this._details = [
|
||||
...(includeTitle && itemTitle
|
||||
? [
|
||||
|
||||
Reference in New Issue
Block a user