[Playlist] feat: added dynamic group noun through the config

Signed-off-by: antonio.bergas <anthonyprincedom@hotmail.com>
This commit is contained in:
antonio.bergas
2023-03-18 23:13:00 +01:00
parent f4f50d8eef
commit 1207646d38
+12
View File
@@ -131,6 +131,18 @@ const defaultEntityPage = (
Note: the above only shows an example for the `defaultEntityPage` for a full example of this you can look at [this EntityPage](../../packages/app/src/components/catalog/EntityPage.tsx)
## Custom Group Noun
You can define your custom group noun to shown in all the components of the Playlist plugin in the UI. To do this you just need to add some config in your **app-config.yaml**, here's an example:
```yaml
playlist:
groupPluralNoun: Collections
groupSingularNoun: Collection
```
_You will always need the plural and the singular matching to have a consistency in the UI_
## Features
### View All Playlists