Skip to content

Commit cd43dda

Browse files
committed
feat: reorganize Library page (#120)
- Remove confusing 'All' tab - Reorganize into 4 logical tabs: Faves, Albums, Artists, Songs - Faves tab shows Playlists, Liked Songs, Liked Albums folders + Recent Albums list - Albums tab shows all albums list - Artists tab shows all artists list - Songs tab shows all songs list - Add new LikedAlbumsScreen for viewing starred albums - Add localization strings for new tabs
1 parent 56b2ad7 commit cd43dda

31 files changed

Lines changed: 407 additions & 101 deletions

lib/l10n/app_en.arb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,10 +640,13 @@
640640
"@_LIBRARY": {},
641641
"yourLibrary": "Your Library",
642642
"filterAll": "All",
643+
"faves": "Faves",
643644
"filterPlaylists": "Playlists",
644645
"filterAlbums": "Albums",
645646
"filterArtists": "Artists",
646647
"likedSongs": "Liked Songs",
648+
"likedAlbums": "Liked Albums",
649+
"noLikedAlbums": "No liked albums yet",
647650
"radioStations": "Radio Stations",
648651
"playlist": "Playlist",
649652
"internetRadio": "Internet Radio",

lib/l10n/app_localizations.dart

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,12 @@ abstract class AppLocalizations {
890890
/// **'All'**
891891
String get filterAll;
892892

893+
/// No description provided for @faves.
894+
///
895+
/// In en, this message translates to:
896+
/// **'Faves'**
897+
String get faves;
898+
893899
/// No description provided for @filterPlaylists.
894900
///
895901
/// In en, this message translates to:
@@ -914,6 +920,18 @@ abstract class AppLocalizations {
914920
/// **'Liked Songs'**
915921
String get likedSongs;
916922

923+
/// No description provided for @likedAlbums.
924+
///
925+
/// In en, this message translates to:
926+
/// **'Liked Albums'**
927+
String get likedAlbums;
928+
929+
/// No description provided for @noLikedAlbums.
930+
///
931+
/// In en, this message translates to:
932+
/// **'No liked albums yet'**
933+
String get noLikedAlbums;
934+
917935
/// No description provided for @radioStations.
918936
///
919937
/// In en, this message translates to:

lib/l10n/app_localizations_ar.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,9 @@ class AppLocalizationsAr extends AppLocalizations {
408408
@override
409409
String get filterAll => 'All';
410410

411+
@override
412+
String get faves => 'Faves';
413+
411414
@override
412415
String get filterPlaylists => 'Playlists';
413416

@@ -420,6 +423,12 @@ class AppLocalizationsAr extends AppLocalizations {
420423
@override
421424
String get likedSongs => 'Liked Songs';
422425

426+
@override
427+
String get likedAlbums => 'Liked Albums';
428+
429+
@override
430+
String get noLikedAlbums => 'No liked albums yet';
431+
423432
@override
424433
String get radioStations => 'Radio Stations';
425434

lib/l10n/app_localizations_bn.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,9 @@ class AppLocalizationsBn extends AppLocalizations {
408408
@override
409409
String get filterAll => 'All';
410410

411+
@override
412+
String get faves => 'Faves';
413+
411414
@override
412415
String get filterPlaylists => 'Playlists';
413416

@@ -420,6 +423,12 @@ class AppLocalizationsBn extends AppLocalizations {
420423
@override
421424
String get likedSongs => 'Liked Songs';
422425

426+
@override
427+
String get likedAlbums => 'Liked Albums';
428+
429+
@override
430+
String get noLikedAlbums => 'No liked albums yet';
431+
423432
@override
424433
String get radioStations => 'Radio Stations';
425434

lib/l10n/app_localizations_da.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,9 @@ class AppLocalizationsDa extends AppLocalizations {
408408
@override
409409
String get filterAll => 'All';
410410

411+
@override
412+
String get faves => 'Faves';
413+
411414
@override
412415
String get filterPlaylists => 'Playlists';
413416

@@ -420,6 +423,12 @@ class AppLocalizationsDa extends AppLocalizations {
420423
@override
421424
String get likedSongs => 'Liked Songs';
422425

426+
@override
427+
String get likedAlbums => 'Liked Albums';
428+
429+
@override
430+
String get noLikedAlbums => 'No liked albums yet';
431+
423432
@override
424433
String get radioStations => 'Radio Stations';
425434

lib/l10n/app_localizations_de.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,9 @@ class AppLocalizationsDe extends AppLocalizations {
413413
@override
414414
String get filterAll => 'Alle';
415415

416+
@override
417+
String get faves => 'Faves';
418+
416419
@override
417420
String get filterPlaylists => 'Playlisten';
418421

@@ -425,6 +428,12 @@ class AppLocalizationsDe extends AppLocalizations {
425428
@override
426429
String get likedSongs => 'Lieblingssongs';
427430

431+
@override
432+
String get likedAlbums => 'Liked Albums';
433+
434+
@override
435+
String get noLikedAlbums => 'No liked albums yet';
436+
428437
@override
429438
String get radioStations => 'Radiosender';
430439

lib/l10n/app_localizations_el.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,9 @@ class AppLocalizationsEl extends AppLocalizations {
408408
@override
409409
String get filterAll => 'All';
410410

411+
@override
412+
String get faves => 'Faves';
413+
411414
@override
412415
String get filterPlaylists => 'Playlists';
413416

@@ -420,6 +423,12 @@ class AppLocalizationsEl extends AppLocalizations {
420423
@override
421424
String get likedSongs => 'Liked Songs';
422425

426+
@override
427+
String get likedAlbums => 'Liked Albums';
428+
429+
@override
430+
String get noLikedAlbums => 'No liked albums yet';
431+
423432
@override
424433
String get radioStations => 'Radio Stations';
425434

lib/l10n/app_localizations_en.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,9 @@ class AppLocalizationsEn extends AppLocalizations {
408408
@override
409409
String get filterAll => 'All';
410410

411+
@override
412+
String get faves => 'Faves';
413+
411414
@override
412415
String get filterPlaylists => 'Playlists';
413416

@@ -420,6 +423,12 @@ class AppLocalizationsEn extends AppLocalizations {
420423
@override
421424
String get likedSongs => 'Liked Songs';
422425

426+
@override
427+
String get likedAlbums => 'Liked Albums';
428+
429+
@override
430+
String get noLikedAlbums => 'No liked albums yet';
431+
423432
@override
424433
String get radioStations => 'Radio Stations';
425434

lib/l10n/app_localizations_es.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,9 @@ class AppLocalizationsEs extends AppLocalizations {
411411
@override
412412
String get filterAll => 'Todo';
413413

414+
@override
415+
String get faves => 'Faves';
416+
414417
@override
415418
String get filterPlaylists => 'Listas';
416419

@@ -423,6 +426,12 @@ class AppLocalizationsEs extends AppLocalizations {
423426
@override
424427
String get likedSongs => 'Canciones que te gustan';
425428

429+
@override
430+
String get likedAlbums => 'Liked Albums';
431+
432+
@override
433+
String get noLikedAlbums => 'No liked albums yet';
434+
426435
@override
427436
String get radioStations => 'Emisoras de radio';
428437

lib/l10n/app_localizations_fi.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,9 @@ class AppLocalizationsFi extends AppLocalizations {
408408
@override
409409
String get filterAll => 'All';
410410

411+
@override
412+
String get faves => 'Faves';
413+
411414
@override
412415
String get filterPlaylists => 'Playlists';
413416

@@ -420,6 +423,12 @@ class AppLocalizationsFi extends AppLocalizations {
420423
@override
421424
String get likedSongs => 'Liked Songs';
422425

426+
@override
427+
String get likedAlbums => 'Liked Albums';
428+
429+
@override
430+
String get noLikedAlbums => 'No liked albums yet';
431+
423432
@override
424433
String get radioStations => 'Radio Stations';
425434

0 commit comments

Comments
 (0)