feat(packing): sort the packing list A to Z

A switch at the end of the list's tab row shows every list's items in name
order, so checking whether something is already on the list no longer means
reading all of it. The order follows the reader's language (accents beside
their letter, "Shirt 2" before "Shirt 10") and the empty list stand-in stays
at the bottom.

Sorting only changes what is shown: the manual order stays stored and comes
back with a second click. While sorted the drag grips step aside, the box
keeps its column, and the choice is remembered per browser.
This commit is contained in:
Maurice
2026-09-29 20:25:25 +02:00
parent 6f61b66c5c
commit 272df55cd4
35 changed files with 176 additions and 14 deletions
+2
View File
@@ -40,6 +40,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'الكل',
'packing.filterOpen': 'مفتوح',
'packing.filterDone': 'تم',
'packing.sortBy': 'ترتيب حسب',
'packing.sortByName': 'أ إلى ي',
'packing.emptyTitle': 'قائمة التجهيز فارغة',
'packing.emptyFiltered': 'لا توجد عناصر مطابقة لهذا الفلتر',
'packing.menuRename': 'إعادة تسمية',
+2
View File
@@ -46,6 +46,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Hamısı',
'packing.filterOpen': 'Hazır deyil',
'packing.filterDone': 'Hazırdır',
'packing.sortBy': 'Sıralama',
'packing.sortByName': 'A-dan Z-yə',
'packing.emptyTitle': 'Baqaj siyahısı boşdur',
'packing.emptyFiltered':
+2
View File
@@ -42,6 +42,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Todos',
'packing.filterOpen': 'Abertos',
'packing.filterDone': 'Prontos',
'packing.sortBy': 'Ordenar por',
'packing.sortByName': 'A a Z',
'packing.emptyTitle': 'A lista de mala está vazia',
'packing.emptyFiltered': 'Nenhum item corresponde ao filtro',
'packing.menuRename': 'Renomear',
+2
View File
@@ -31,6 +31,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Tot',
'packing.filterOpen': 'Pendents',
'packing.filterDone': 'Fet',
'packing.sortBy': 'Ordena per',
'packing.sortByName': 'A a Z',
'packing.emptyTitle': "La llista d'equipatge és buida",
'packing.emptyFiltered': 'Cap element coincideix amb aquest filtre',
'packing.menuRename': 'Canvia el nom',
+2
View File
@@ -40,6 +40,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Vše',
'packing.filterOpen': 'K zabalení',
'packing.filterDone': 'Hotovo',
'packing.sortBy': 'Seřadit podle',
'packing.sortByName': 'A až Z',
'packing.emptyTitle': 'Seznam věcí je prázdný',
'packing.emptyFiltered': 'Žádné položky neodpovídají filtru',
'packing.menuRename': 'Přejmenovat',
+2
View File
@@ -41,6 +41,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Alle',
'packing.filterOpen': 'Offen',
'packing.filterDone': 'Erledigt',
'packing.sortBy': 'Sortieren nach',
'packing.sortByName': 'A bis Z',
'packing.emptyTitle': 'Packliste ist leer',
'packing.emptyFiltered': 'Keine Gegenstände in diesem Filter',
'packing.menuRename': 'Umbenennen',
+2
View File
@@ -40,6 +40,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'All',
'packing.filterOpen': 'Open',
'packing.filterDone': 'Done',
'packing.sortBy': 'Sort by',
'packing.sortByName': 'A to Z',
'packing.emptyTitle': 'Packing list is empty',
'packing.emptyFiltered': 'No items match this filter',
'packing.menuRename': 'Rename',
+2
View File
@@ -40,6 +40,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Todo',
'packing.filterOpen': 'Pendientes',
'packing.filterDone': 'Hecho',
'packing.sortBy': 'Ordenar por',
'packing.sortByName': 'A a Z',
'packing.emptyTitle': 'La lista de equipaje está vacía',
'packing.emptyFiltered': 'Ningún elemento coincide con este filtro',
'packing.menuRename': 'Renombrar',
+2
View File
@@ -40,6 +40,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Kõik',
'packing.filterOpen': 'Pakkimata',
'packing.filterDone': 'Pakitud',
'packing.sortBy': 'Sordi',
'packing.sortByName': 'A kuni Ü',
'packing.emptyTitle': 'Pakkimisnimekiri on tühi',
'packing.emptyFiltered': 'Ükski ese ei vasta sellele filtrile',
'packing.menuRename': 'Nimeta ümber',
+2
View File
@@ -40,6 +40,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Tous',
'packing.filterOpen': 'À faire',
'packing.filterDone': 'Fait',
'packing.sortBy': 'Trier par',
'packing.sortByName': 'A à Z',
'packing.emptyTitle': 'La liste de bagages est vide',
'packing.emptyFiltered': 'Aucun article ne correspond à ce filtre',
'packing.menuRename': 'Renommer',
+2
View File
@@ -41,6 +41,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Όλα',
'packing.filterOpen': 'Ανοιχτά',
'packing.filterDone': 'Ολοκληρωμένα',
'packing.sortBy': 'Ταξινόμηση κατά',
'packing.sortByName': 'Α έως Ω',
'packing.emptyTitle': 'Η λίστα αποσκευών είναι κενή',
'packing.emptyFiltered': 'Κανένα αντικείμενο δεν ταιριάζει με αυτό το φίλτρο',
'packing.menuRename': 'Μετονομασία',
+2
View File
@@ -41,6 +41,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Összes',
'packing.filterOpen': 'Nyitott',
'packing.filterDone': 'Kész',
'packing.sortBy': 'Rendezés',
'packing.sortByName': 'A-tól Z-ig',
'packing.emptyTitle': 'A csomagolási lista üres',
'packing.emptyFiltered': 'Nincs elem ebben a szűrőben',
'packing.menuRename': 'Átnevezés',
+2
View File
@@ -40,6 +40,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Semua',
'packing.filterOpen': 'Belum',
'packing.filterDone': 'Selesai',
'packing.sortBy': 'Urutkan',
'packing.sortByName': 'A ke Z',
'packing.emptyTitle': 'Daftar bawaan kosong',
'packing.emptyFiltered': 'Tidak ada item yang cocok dengan filter ini',
'packing.menuRename': 'Ganti Nama',
+2
View File
@@ -40,6 +40,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Tutti',
'packing.filterOpen': 'Da fare',
'packing.filterDone': 'Fatto',
'packing.sortBy': 'Ordina per',
'packing.sortByName': 'A-Z',
'packing.emptyTitle': 'La lista valigia è vuota',
'packing.emptyFiltered': 'Nessun elemento corrisponde a questo filtro',
'packing.menuRename': 'Rinomina',
+2
View File
@@ -39,6 +39,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'すべて',
'packing.filterOpen': '未完了',
'packing.filterDone': '完了',
'packing.sortBy': '並べ替え',
'packing.sortByName': '名前順',
'packing.emptyTitle': '持ち物リストは空です',
'packing.emptyFiltered': 'このフィルターに一致する項目はありません',
'packing.menuRename': '名前を変更',
+2
View File
@@ -39,6 +39,8 @@ const packing: TranslationStrings = {
'packing.filterAll': '전체',
'packing.filterOpen': '미완료',
'packing.filterDone': '완료',
'packing.sortBy': '정렬',
'packing.sortByName': '가나다순',
'packing.emptyTitle': '짐 목록이 비어 있습니다',
'packing.emptyFiltered': '이 필터와 일치하는 항목이 없습니다',
'packing.menuRename': '이름 변경',
+2
View File
@@ -40,6 +40,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Alle',
'packing.filterOpen': 'Openstaand',
'packing.filterDone': 'Klaar',
'packing.sortBy': 'Sorteren op',
'packing.sortByName': 'A tot Z',
'packing.emptyTitle': 'Inpaklijst is leeg',
'packing.emptyFiltered': 'Geen items gevonden voor dit filter',
'packing.menuRename': 'Hernoemen',
+2
View File
@@ -40,6 +40,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Wszystkie',
'packing.filterOpen': 'Do spakowania',
'packing.filterDone': 'Spakowane',
'packing.sortBy': 'Sortuj według',
'packing.sortByName': 'Od A do Z',
'packing.emptyTitle': 'Lista pakowania jest pusta',
'packing.emptyFiltered': 'Brak przedmiotów pasujących do filtra',
'packing.menuRename': 'Zmień nazwę',
+2
View File
@@ -40,6 +40,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Все',
'packing.filterOpen': 'Не собрано',
'packing.filterDone': 'Собрано',
'packing.sortBy': 'Сортировка',
'packing.sortByName': 'От А до Я',
'packing.emptyTitle': 'Список вещей пуст',
'packing.emptyFiltered': 'Нет вещей, соответствующих фильтру',
'packing.menuRename': 'Переименовать',
+2
View File
@@ -40,6 +40,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Všetko',
'packing.filterOpen': 'Na zabalenie',
'packing.filterDone': 'Hotovo',
'packing.sortBy': 'Zoradiť podľa',
'packing.sortByName': 'A až Z',
'packing.emptyTitle': 'Zoznam vecí je prázdny',
'packing.emptyFiltered': 'Žiadne položky nezodpovedajú tomuto filtru',
'packing.menuRename': 'Premenovať',
+2
View File
@@ -40,6 +40,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Alla',
'packing.filterOpen': 'Öppna',
'packing.filterDone': 'Klar',
'packing.sortBy': 'Sortera efter',
'packing.sortByName': 'A till Ö',
'packing.emptyTitle': 'Packlistan är tom',
'packing.emptyFiltered': 'Inga föremål matchar detta filter',
'packing.menuRename': 'Döp om',
+2
View File
@@ -40,6 +40,8 @@ const packing: TranslationStrings = {
'packing.filterAll': "ทั้งหมด",
'packing.filterOpen': "ยังไม่ได้จัด",
'packing.filterDone': "เสร็จแล้ว",
'packing.sortBy': 'เรียงตาม',
'packing.sortByName': 'ก ถึง ฮ',
'packing.emptyTitle': "รายการจัดกระเป๋าว่างเปล่า",
'packing.emptyFiltered': "ไม่มีรายการที่ตรงกับตัวกรองนี้",
'packing.menuRename': "เปลี่ยนชื่อ",
+2
View File
@@ -40,6 +40,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Tüm',
'packing.filterOpen': 'Açık',
'packing.filterDone': 'Tamamlamak',
'packing.sortBy': 'Sırala',
'packing.sortByName': "A'dan Z'ye",
'packing.emptyTitle': 'Paket listesi boş',
'packing.emptyFiltered': 'Bu filtreye uyan öğe yok',
'packing.menuRename': 'Yeniden adlandır',
+2
View File
@@ -40,6 +40,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Усі',
'packing.filterOpen': 'Не зібрано',
'packing.filterDone': 'Зібрано',
'packing.sortBy': 'Сортування',
'packing.sortByName': 'Від А до Я',
'packing.emptyTitle': 'Список речей порожній',
'packing.emptyFiltered': 'Немає речей, що відповідають фільтру',
'packing.menuRename': 'Перейменувати',
+2
View File
@@ -40,6 +40,8 @@ const packing: TranslationStrings = {
'packing.filterAll': 'Tất cả',
'packing.filterOpen': 'Mở',
'packing.filterDone': 'Xong',
'packing.sortBy': 'Sắp xếp theo',
'packing.sortByName': 'A đến Z',
'packing.emptyTitle': 'Danh sách đóng gói trống',
'packing.emptyFiltered': 'Không có mục nào phù hợp với bộ lọc này',
'packing.menuRename': 'Đổi tên',
+2
View File
@@ -39,6 +39,8 @@ const packing: TranslationStrings = {
'packing.filterAll': '全部',
'packing.filterOpen': '未完成',
'packing.filterDone': '已完成',
'packing.sortBy': '排序方式',
'packing.sortByName': '依名稱',
'packing.emptyTitle': '行李清單為空',
'packing.emptyFiltered': '沒有匹配的物品',
'packing.menuRename': '重新命名',
+2
View File
@@ -39,6 +39,8 @@ const packing: TranslationStrings = {
'packing.filterAll': '全部',
'packing.filterOpen': '未完成',
'packing.filterDone': '已完成',
'packing.sortBy': '排序方式',
'packing.sortByName': '按名称',
'packing.emptyTitle': '行李清单为空',
'packing.emptyFiltered': '没有匹配的物品',
'packing.menuRename': '重命名',