feat(#3,#4,#7): add backup/restore, polish labels, and rename bulk actions
All checks were successful
Luggage List Build / build-android (push) Successful in 5m45s
Luggage List Build / build-web (push) Successful in 29s
Luggage List Build / release (push) Successful in 14s

This commit is contained in:
2026-04-18 19:30:03 +02:00
parent 0e0ab4a059
commit a9ee91daf3
9 changed files with 176 additions and 13 deletions

View File

@@ -1,6 +1,7 @@
import React from 'react';
import { Pressable, Text, View } from 'react-native';
import { styles } from '../styles';
import { formatStatusLabel } from '../utils/labels';
export default function HistoryTab({ selectedTrip, selectedTripCheckups, selectedCheckupId, setSelectedCheckupId, onDeleteCheckup }) {
return (
@@ -32,8 +33,7 @@ export default function HistoryTab({ selectedTrip, selectedTripCheckups, selecte
<View key={entry.itemId} style={styles.snapshotRow}>
<Text style={styles.snapshotTitle}>{entry.name}</Text>
<Text style={styles.cardMeta}>
{entry.status} · {entry.placement}
{entry.status === 'lent-to' && entry.lentTo ? ` · ${entry.lentTo}` : ''}
{formatStatusLabel(entry.status, entry.lentTo)} · {entry.placement}
</Text>
</View>
))}