fix(collections): saved-places picker height + list filter, all-saved first-load (#1081)

- Trip "Saved places" picker: drop the fixed 360px cap so the list fills the
  panel instead of stopping half-way, and add list + status filter dropdowns
  (filter by which collection the place is saved in).
- "All saved" showed nothing on first open: setActive(ALL_SAVED) unioned the
  lists from the store, but on first load those aren't fetched yet (loadAll still
  running). Load them first when empty so the union isn't blank.
This commit is contained in:
Maurice
2026-07-01 15:30:17 +02:00
committed by Maurice
parent 56fee19d64
commit fd5258129a
24 changed files with 119 additions and 21 deletions
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'كل القوائم',
'collections.select': 'تحديد',
'collections.selectAll': 'تحديد الكل',
'collections.deselectAll': 'إلغاء التحديد',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'Todas as listas',
'collections.select': 'Selecionar',
'collections.selectAll': 'Selecionar tudo',
'collections.deselectAll': 'Desmarcar tudo',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'Všechny seznamy',
'collections.select': 'Vybrat',
'collections.selectAll': 'Vybrat vše',
'collections.deselectAll': 'Zrušit výběr',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'Alle Listen',
'collections.select': 'Auswählen',
'collections.selectAll': 'Alle auswählen',
'collections.deselectAll': 'Auswahl aufheben',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'All lists',
'collections.select': 'Select',
'collections.selectAll': 'Select all',
'collections.deselectAll': 'Deselect all',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'Todas las listas',
'collections.select': 'Seleccionar',
'collections.selectAll': 'Seleccionar todo',
'collections.deselectAll': 'Deseleccionar todo',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'Toutes les listes',
'collections.select': 'Sélectionner',
'collections.selectAll': 'Tout sélectionner',
'collections.deselectAll': 'Tout désélectionner',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'Όλες οι λίστες',
'collections.select': 'Επιλογή',
'collections.selectAll': 'Επιλογή όλων',
'collections.deselectAll': 'Κατάργηση επιλογής',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'Összes lista',
'collections.select': 'Kijelölés',
'collections.selectAll': 'Összes kijelölése',
'collections.deselectAll': 'Kijelölés megszüntetése',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'Semua daftar',
'collections.select': 'Pilih',
'collections.selectAll': 'Pilih semua',
'collections.deselectAll': 'Batalkan pilihan',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'Tutte le liste',
'collections.select': 'Seleziona',
'collections.selectAll': 'Seleziona tutto',
'collections.deselectAll': 'Deseleziona tutto',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'すべてのリスト',
'collections.select': '選択',
'collections.selectAll': 'すべて選択',
'collections.deselectAll': '選択を解除',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': '모든 목록',
'collections.select': '선택',
'collections.selectAll': '모두 선택',
'collections.deselectAll': '선택 해제',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'Alle lijsten',
'collections.select': 'Selecteren',
'collections.selectAll': 'Alles selecteren',
'collections.deselectAll': 'Selectie opheffen',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'Wszystkie listy',
'collections.select': 'Zaznacz',
'collections.selectAll': 'Zaznacz wszystko',
'collections.deselectAll': 'Odznacz wszystko',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'Все списки',
'collections.select': 'Выбрать',
'collections.selectAll': 'Выбрать все',
'collections.deselectAll': 'Снять выделение',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'Alla listor',
'collections.select': 'Välj',
'collections.selectAll': 'Välj alla',
'collections.deselectAll': 'Avmarkera alla',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'Tüm listeler',
'collections.select': 'Seç',
'collections.selectAll': 'Tümünü seç',
'collections.deselectAll': 'Seçimi kaldır',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'Усі списки',
'collections.select': 'Вибрати',
'collections.selectAll': 'Вибрати все',
'collections.deselectAll': 'Зняти вибір',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': 'Tất cả danh sách',
'collections.select': 'Chọn',
'collections.selectAll': 'Chọn tất cả',
'collections.deselectAll': 'Bỏ chọn tất cả',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': '所有清單',
'collections.select': '選擇',
'collections.selectAll': '全選',
'collections.deselectAll': '取消全選',
+1
View File
@@ -1,6 +1,7 @@
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.picker.allLists': '所有列表',
'collections.select': '选择',
'collections.selectAll': '全选',
'collections.deselectAll': '取消全选',