diff --git a/api/funkwhale_api/federation/filters.py b/api/funkwhale_api/federation/filters.py index 12cab7f89..2803186ba 100644 --- a/api/funkwhale_api/federation/filters.py +++ b/api/funkwhale_api/federation/filters.py @@ -7,6 +7,9 @@ from . import models class LibraryFilter(django_filters.FilterSet): approved = django_filters.BooleanFilter('following__approved') + q = fields.SearchFilter(search_fields=[ + 'actor__domain', + ]) class Meta: model = models.Library diff --git a/front/src/components/Home.vue b/front/src/components/Home.vue index 0e24dcd59..ce1307ff0 100644 --- a/front/src/components/Home.vue +++ b/front/src/components/Home.vue @@ -3,7 +3,7 @@

- Welcome on Funkwhale + Welcome on Funkwhale

We think listening music should be simple.

diff --git a/front/src/components/Sidebar.vue b/front/src/components/Sidebar.vue index c04ebe5a8..96047ab98 100644 --- a/front/src/components/Sidebar.vue +++ b/front/src/components/Sidebar.vue @@ -47,7 +47,7 @@ class="item" :to="{path: '/activity'}"> Activity Federation + :to="{path: '/manage/federation/libraries'}"> Federation
diff --git a/front/src/components/federation/LibraryCard.vue b/front/src/components/federation/LibraryCard.vue index 9676f2de5..267d41bd0 100644 --- a/front/src/components/federation/LibraryCard.vue +++ b/front/src/components/federation/LibraryCard.vue @@ -2,33 +2,39 @@
- {{ libraryData.display_name }} + {{ displayName }}
- + + Following + + Followers only + + Open + - {{ libraryData.library.totalItems }} tracks + {{ totalItems }} tracks
-