feat: add group by, theme-specific placement and matching section titles
- Add a per-collection Group by option to the collection page, saved with the collection. Games with several values appear in each group, and games with no value go in a "Not set" group at the end. - Turn off manual reordering while a grouping is active. - Add an optional theme-specific placement for Stardust, Nova X, Helium and Harmony, off by default. - Copy the Collections title and separator from the neighbouring section in the game details view so they match the theme. - Add top margin to the Collections page so Create Collection no longer overlaps the window controls. - Bump the version to 1.2.0 and update the docs, changelog and manifest.
This commit is contained in:
1 parent
690a79b014
commit
b9a6bf891d
20 files changed
+680
-59
No files matched your search
@@ -18,6 +18,13 @@ When your theme has this element, the extension doesn't insert a second list, an
|
||||
user turns off **Show collections in details view**. The list shown there includes dynamic collections unless the user
|
||||
turns off **Display dynamic collections in details view**.
|
||||
|
||||
## Temporary placement for specific themes
|
||||
|
||||
Stardust, Nova X, Helium and Harmony don't keep the description in a plain panel, so the default insertion can't work
|
||||
well there. When the user turns on **Use special placement** and one of these is the active theme, the list goes next
|
||||
to the element whose `Visibility` is bound to `GameRelationsVisibilityProxy`. Adding the `ContentControl` above to one
|
||||
of these themes replaces this, because the theme's own element always takes priority.
|
||||
|
||||
## Settings available to themes
|
||||
|
||||
Bind to these with `PluginSettings`:
|
||||
@@ -27,6 +34,7 @@ Bind to these with `PluginSettings`:
|
||||
| `IsDetailsControlVisible` | `bool` | The list currently has collections to show. Use it to hide a surrounding header or panel. |
|
||||
| `ShowDynamicCollectionsInDetails` | `bool` | The user's choice for listing dynamic collections. |
|
||||
| `AddDetailsListToAnyTheme` | `bool` | The user's choice for inserting the list automatically. |
|
||||
| `UseThemeSpecificPlacement` | `bool` | The user's choice for the temporary placement above. |
|
||||
|
||||
```xml
|
||||
<Border Visibility="{PluginSettings Plugin=GameCollections, Path=IsDetailsControlVisible, Converter={StaticResource BooleanToVisibilityConverter}}">
|
||||
|
||||
Reference in new issue
Block a user