remulasce / metroapp

Realtime arrival notification utility for LA Metro
2 stars 0 forks source link

Add history-based autocomplete #181

Closed remulasce closed 9 years ago

remulasce commented 9 years ago

Autocomplete dropdown should show recent/high-use stops immediately on focus when no text has been entered. These suggestions should receive higher priority when 'regular' suggestions appear They should also be filtered by the text entered, as with normal suggestions.

remulasce commented 9 years ago

In progress. Tuning on my device.

remulasce commented 9 years ago

It's mostly done, including text-filter.

Needs a little tuning on the total-number-used though. Currently once you use any selection 5 times, it maxes out that priority calculation. When really you might expect to use the same stop every day for months, and you could add the same stop 5 times if you open/close the app 5 times to see when to leave for the first train, then wait for the station, and set it up all back to get home the same day.

remulasce commented 9 years ago

Final tuning:

Solutions:

So let's do total use with occasional decay.

remulasce commented 9 years ago

Decay options:

Time seems nice if you're using it every day. It's a constant factor that I can tune to my expectations. But It takes more to implement.

By use (say, anytime anything gets selected) still meets the criteria. But if the user isn't using the app a lot, his predictions will remain from old, not-actually-relevant trips.

Let's go with internal app usages- so every time user selects any stop, other stops get a little kick. I don't want to optimize for such long-away cases for users who barely use the app.

remulasce commented 9 years ago

Permadecay implemented.

Ready for wider testing (like actually using the darn thing.)

remulasce commented 9 years ago

Couple days' use, looks great.