jpasqua / VisibleTesla

Java App to monitor and Control the Tesla Model S
125 stars 41 forks source link

Allow view of combined trips in Trips tab #33

Closed jpasqua closed 10 years ago

jpasqua commented 10 years ago

ZBB on tmc.com writes: "One request... Is there any way to group all trips for a single (or multiple) days()? I let it track us while we ran errands today. Each stop (and we had 3) resulted in a "trip" -- so 4 total trips... Would be nice to be able to combine and see them all..."

I replied: "Not yet. It would be relatively easy within the existing UI to allow you to map all trips shown in the drop down list as a single trip. For example, if you selected a single day in the calendar, the drop down list would show all trips for that day. I could add a "Map All" button that treats all trips in the drop down as a single trip and displays it. The same would hold if you selected multiple days. It would be harder to allow the selection of a subset of trips, but I'll think about how that might be achieved."

The latter might be accomplished using a MenuButton populated with CheckMenuItems. Sample code is floating around for this.

jpasqua commented 10 years ago

I tried several variations on the UI for this. The final version uses a list that displays all available trips for the selected days. The user can select one or more items from the list and then hit the "Map It" button to have them displayed.

A MenuButton with CheckMenuItems was more space efficient but harder to use so I settled on the list.

This is available in v0.25.00