pinballmap / pbm-react

PBM React Native: iOS & Android Apps
https://pinballmap.com/app
GNU General Public License v3.0
34 stars 9 forks source link

Remove an item from search history, or clear all #544

Closed RyanTG closed 5 months ago

RyanTG commented 7 months ago

Seems doable with gesture handler and reanimated. https://blog.logrocket.com/react-native-gesture-handler-swipe-long-press-and-more/

RyanTG commented 7 months ago

Also, would be cool to have a button at the bottom for clearing all history.

RyanTG commented 6 months ago

Also, would be good to automatically remove an item that is resulting in an error. Like a City or Location that's been removed.

bpoore commented 5 months ago

I think we do need to go the route of gesture handling via a swipe or something with how the entirety of the search history rows currently being pressable if we want to allow users to delete a single row.