feat(collections): enhance collections page with sorting, filtering, and pagination features

- Updated the collections loading logic to include sorting and pagination parameters from the URL.
- Refactored the collections page to manage owned, shared, and archived collections with a tabbed interface.
- Added sorting functionality to allow users to sort collections by different attributes.
- Implemented a sidebar for filtering and sorting options.
- Improved the UI for better user experience, including a floating action button for creating new collections.
- Added a not found page for collections that do not exist, enhancing error handling.
This commit is contained in:
Sean Morley
2025-06-13 12:11:42 -04:00
parent 7eb96bcc2a
commit 14eb4ca802
23 changed files with 1691 additions and 1251 deletions

View File

@@ -273,7 +273,8 @@
"all_linked_items": "Alle verknüpften Elemente",
"itinerary": "Route",
"joined": "Verbunden",
"view_profile": "Profil anzeigen"
"view_profile": "Profil anzeigen",
"share_collection": "Teilen Sie diese Sammlung!"
},
"home": {
"desc_1": "Entdecken, planen und erkunden Sie mühelos",
@@ -513,7 +514,8 @@
"social_auth_setup": "Social Authentication Setup",
"staff_status": "Personalstatus",
"staff_user": "Personalbenutzer",
"profile_info_desc": "Aktualisieren Sie Ihre persönlichen Daten und Ihr Profilbild"
"profile_info_desc": "Aktualisieren Sie Ihre persönlichen Daten und Ihr Profilbild",
"email_verified_error_desc": "Ihre E -Mail konnte nicht überprüft werden. \nBitte versuchen Sie es erneut."
},
"checklist": {
"add_item": "Eintrag hinzufügen",
@@ -540,7 +542,8 @@
"error_creating_collection": "Fehler beim Erstellen der Sammlung",
"error_editing_collection": "Fehler beim Bearbeiten der Sammlung",
"new_collection": "Neue Sammlung",
"public_collection": "Öffentliche Sammlung"
"public_collection": "Öffentliche Sammlung",
"manage_collections": "Sammlungen verwalten"
},
"notes": {
"add_a_link": "Fügen Sie einen Link hinzu",

View File

@@ -124,6 +124,7 @@
"distance": "Distance",
"upload_images_here": "Upload images here",
"share_adventure": "Share this Adventure!",
"share_collection": "Share this Collection!",
"copy_link": "Copy Link",
"sun_times": "Sun Times",
"sunrise": "Sunrise",
@@ -404,6 +405,7 @@
"token_required": "Token and UID are required for password reset.",
"reset_password": "Reset Password",
"possible_reset": "If the email address you provided is associated with an account, you will receive an email with instructions to reset your password!",
"email_verified_error_desc": "Your email could not be verified. Please try again.",
"missing_email": "Please enter an email address",
"submit": "Submit",
"password_does_not_match": "Passwords do not match",

View File

@@ -321,7 +321,8 @@
"all_linked_items": "Todos los artículos vinculados",
"itinerary": "Itinerario",
"joined": "Unido",
"view_profile": "Ver perfil"
"view_profile": "Ver perfil",
"share_collection": "¡Comparte esta colección!"
},
"worldtravel": {
"all": "Todo",
@@ -413,7 +414,6 @@
"email_set_primary": "¡El correo electrónico se configuró como principal correctamente!",
"email_set_primary_error": "Error al configurar el correo electrónico como principal",
"make_primary": "Hacer primario",
"no_email_set": "No hay correo electrónico configurado",
"not_verified": "No verificado",
"primary": "Principal",
"verified": "Verificado",
@@ -433,7 +433,6 @@
"reset_session_error": "Por favor cierre sesión y vuelva a iniciarla para actualizar su sesión e inténtelo nuevamente.",
"authenticator_code": "Código de autenticación",
"email_verified": "¡Correo electrónico verificado exitosamente!",
"email_verified_error_desc": "Su correo electrónico no pudo ser verificado. \nPor favor, inténtalo de nuevo.",
"email_verified_error": "Error al verificar el correo electrónico",
"email_verified_success": "Su correo electrónico ha sido verificado. \nAhora puedes iniciar sesión.",
"invalid_code": "Código MFA no válido",
@@ -513,7 +512,10 @@
"staff_status": "Estado del personal",
"staff_user": "Usuario de personal",
"license": "Licencia",
"all_rights_reserved": "Reservados todos los derechos."
"all_rights_reserved": "Reservados todos los derechos.",
"email_verified_erorr_desc": "Su correo electrónico no pudo ser verificado. \nPor favor intente de nuevo.",
"email_verified_error_desc": "Su correo electrónico no pudo ser verificado. \nPor favor intente de nuevo.",
"no_emai_set": "Sin conjunto de correo electrónico"
},
"checklist": {
"add_item": "Añadir elemento",
@@ -540,7 +542,8 @@
"error_creating_collection": "Error al crear la colección",
"error_editing_collection": "Error al editar la colección",
"new_collection": "Nueva colección",
"public_collection": "Colección pública"
"public_collection": "Colección pública",
"manage_collections": "Gestionar colecciones"
},
"notes": {
"add_a_link": "Agregar un enlace",

View File

@@ -273,7 +273,8 @@
"all_linked_items": "Tous les éléments liés",
"itinerary": "Itinéraire",
"joined": "Joint",
"view_profile": "Afficher le profil"
"view_profile": "Afficher le profil",
"share_collection": "Partagez cette collection!"
},
"home": {
"desc_1": "Découvrez, planifiez et explorez en toute simplicité",
@@ -513,7 +514,8 @@
"disabled": "Désactivé",
"disconnected": "Déconnecté",
"email_management": "Gestion des e-mails",
"enter_last_name": "Entrez votre nom de famille"
"enter_last_name": "Entrez votre nom de famille",
"email_verified_error_desc": "Votre e-mail n'a pas pu être vérifié. \nVeuillez réessayer."
},
"checklist": {
"add_item": "Ajouter un élément",
@@ -540,7 +542,8 @@
"error_creating_collection": "Erreur lors de la création de la collection",
"error_editing_collection": "Erreur lors de la modification de la collection",
"new_collection": "Nouvelle collection",
"public_collection": "Collection publique"
"public_collection": "Collection publique",
"manage_collections": "Gérer les collections"
},
"notes": {
"add_a_link": "Ajouter un lien",

View File

@@ -273,7 +273,8 @@
"all_linked_items": "Tutti gli elementi collegati",
"itinerary": "Itinerario",
"joined": "Partecipato",
"view_profile": "Visualizza il profilo"
"view_profile": "Visualizza il profilo",
"share_collection": "Condividi questa collezione!"
},
"home": {
"desc_1": "Scopri, pianifica ed esplora con facilità",
@@ -513,7 +514,8 @@
"social_auth_setup": "Setup di autenticazione sociale",
"staff_status": "Stato del personale",
"staff_user": "Utente del personale",
"password_auth": "Autenticazione della password"
"password_auth": "Autenticazione della password",
"email_verified_error_desc": "La tua email non poteva essere verificata. \nPer favore riprova."
},
"checklist": {
"add_item": "Aggiungi elemento",
@@ -540,7 +542,8 @@
"collection_created": "Collezione creata con successo!",
"collection_edit_success": "Collezione modificata con successo!",
"create": "Creare",
"public_collection": "Collezione pubblica"
"public_collection": "Collezione pubblica",
"manage_collections": "Gestisci collezioni"
},
"notes": {
"add_a_link": "Aggiungi un collegamento",

View File

@@ -273,7 +273,8 @@
"all_linked_items": "모든 링크 된 항목",
"itinerary": "여정",
"joined": "가입",
"view_profile": "프로필을 봅니다"
"view_profile": "프로필을 봅니다",
"share_collection": "이 컬렉션을 공유하십시오!"
},
"auth": {
"both_passwords_required": "두 암호 모두 필요합니다",
@@ -336,7 +337,8 @@
"error_creating_collection": "컬렉션 생성 오류",
"error_editing_collection": "컬렉션 편집 오류",
"new_collection": "새로운 컬렉션",
"public_collection": "공개 컬렉션"
"public_collection": "공개 컬렉션",
"manage_collections": "컬렉션을 관리합니다"
},
"dashboard": {
"add_some": "다음 모험을 계획해 보는게 어떨까요? 아래 버튼을 클릭하여 새로운 모험을 추가할 수 있습니다.",
@@ -618,7 +620,8 @@
"social_auth_desc_1": "소셜 로그인 옵션 및 비밀번호 설정을 관리합니다",
"social_auth_setup": "소셜 인증 설정",
"staff_status": "직원 상태",
"staff_user": "직원 사용자"
"staff_user": "직원 사용자",
"email_verified_error_desc": "귀하의 이메일을 확인할 수 없습니다. \n다시 시도하십시오."
},
"share": {
"go_to_settings": "설정으로 이동",

View File

@@ -273,7 +273,8 @@
"all_linked_items": "Alle gekoppelde items",
"itinerary": "Routebeschrijving",
"joined": "Samengevoegd",
"view_profile": "Bekijk profiel"
"view_profile": "Bekijk profiel",
"share_collection": "Deel deze collectie!"
},
"home": {
"desc_1": "Ontdek, plan en verken met gemak",
@@ -513,7 +514,8 @@
"social_auth_setup": "Sociale authenticatie -opstelling",
"staff_status": "Status",
"staff_user": "Personeelsgebruiker",
"connected": "Aangesloten"
"connected": "Aangesloten",
"email_verified_error_desc": "Uw e -mail kan niet worden geverifieerd. \nProbeer het opnieuw."
},
"checklist": {
"add_item": "Artikel toevoegen",
@@ -540,7 +542,8 @@
"error_creating_collection": "Fout bij aanmaken collectie",
"error_editing_collection": "Fout bij het bewerken van de collectie",
"new_collection": "Nieuwe collectie",
"public_collection": "Openbare collectie"
"public_collection": "Openbare collectie",
"manage_collections": "Beheer collecties"
},
"notes": {
"add_a_link": "Voeg een link toe",

View File

@@ -321,7 +321,8 @@
"all_linked_items": "Alle koblede varer",
"itinerary": "Reiserute",
"joined": "Ble med",
"view_profile": "Vis profil"
"view_profile": "Vis profil",
"share_collection": "Del denne samlingen!"
},
"worldtravel": {
"country_list": "Liste over land",
@@ -513,7 +514,8 @@
"social_auth_desc_1": "Administrer sosiale påloggingsalternativer og passordinnstillinger",
"social_auth_setup": "Sosial autentiseringsoppsett",
"staff_status": "Personalstatus",
"staff_user": "Personalbruker"
"staff_user": "Personalbruker",
"email_verified_error_desc": "E -posten din kunne ikke bekreftes. \nVennligst prøv igjen."
},
"collection": {
"collection_created": "Samling opprettet!",
@@ -523,7 +525,8 @@
"collection_edit_success": "Samling redigert!",
"error_editing_collection": "Feil ved redigering av samling",
"edit_collection": "Rediger samling",
"public_collection": "Offentlig samling"
"public_collection": "Offentlig samling",
"manage_collections": "Administrer samlinger"
},
"notes": {
"note_deleted": "Notat slettet!",

View File

@@ -321,7 +321,8 @@
"all_linked_items": "Wszystkie połączone elementy",
"itinerary": "Trasa",
"joined": "Dołączył",
"view_profile": "Zobacz profil"
"view_profile": "Zobacz profil",
"share_collection": "Udostępnij tę kolekcję!"
},
"worldtravel": {
"country_list": "Lista krajów",
@@ -513,7 +514,8 @@
"social_auth_desc_1": "Zarządzaj opcjami logowania społecznościowego i ustawieniami haseł",
"social_auth_setup": "Konfiguracja uwierzytelniania społecznego",
"staff_status": "Status personelu",
"staff_user": "Użytkownik personelu"
"staff_user": "Użytkownik personelu",
"email_verified_error_desc": "Twój e -mail nie można zweryfikować. \nSpróbuj ponownie."
},
"collection": {
"collection_created": "Kolekcja została pomyślnie utworzona!",
@@ -523,7 +525,8 @@
"collection_edit_success": "Kolekcja została pomyślnie edytowana!",
"error_editing_collection": "Błąd podczas edytowania kolekcji",
"edit_collection": "Edytuj kolekcję",
"public_collection": "Kolekcja publiczna"
"public_collection": "Kolekcja publiczna",
"manage_collections": "Zarządzaj kolekcjami"
},
"notes": {
"note_deleted": "Notatka została pomyślnie usunięta!",

File diff suppressed because it is too large Load Diff

View File

@@ -273,7 +273,8 @@
"all_linked_items": "Alla länkade objekt",
"itinerary": "Resväg",
"joined": "Gick med i",
"view_profile": "Visa profil"
"view_profile": "Visa profil",
"share_collection": "Dela denna samling!"
},
"home": {
"desc_1": "Upptäck, planera och utforska med lätthet",
@@ -513,7 +514,8 @@
"social_auth_desc_1": "Hantera sociala inloggningsalternativ och lösenordsinställningar",
"social_auth_setup": "Social autentiseringsinställning",
"staff_status": "Personalstatus",
"staff_user": "Personalanvändare"
"staff_user": "Personalanvändare",
"email_verified_error_desc": "Ditt e -postmeddelande kunde inte verifieras. \nFörsök igen."
},
"checklist": {
"add_item": "Lägg till objekt",
@@ -540,7 +542,8 @@
"error_creating_collection": "Det gick inte att skapa samlingen",
"error_editing_collection": "Ett fel uppstod vid redigering av samling",
"new_collection": "Ny samling",
"public_collection": "Offentlig samling"
"public_collection": "Offentlig samling",
"manage_collections": "Hantera samlingar"
},
"notes": {
"add_a_link": "Lägg till en länk",

View File

@@ -321,7 +321,8 @@
"all_linked_items": "所有链接的项目",
"itinerary": "行程",
"joined": "加入",
"view_profile": "查看个人资料"
"view_profile": "查看个人资料",
"share_collection": "分享这个收藏!"
},
"auth": {
"forgot_password": "忘记密码?",
@@ -513,7 +514,8 @@
"staff_user": "员工用户",
"quick_actions": "快速动作",
"region_updates": "区域更新",
"region_updates_desc": "更新访问了地区和城市"
"region_updates_desc": "更新访问了地区和城市",
"email_verified_error_desc": "无法验证您的电子邮件。\n请重试。"
},
"checklist": {
"add_item": "添加项目",
@@ -540,7 +542,8 @@
"error_creating_collection": "创建合集时出错",
"error_editing_collection": "编辑合集时出错",
"new_collection": "新建合集",
"public_collection": "公开合集"
"public_collection": "公开合集",
"manage_collections": "管理收藏"
},
"notes": {
"add_a_link": "添加链接",