-
-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smart sort order for recent houses quest #1771
Comments
Well the feature would be implemented for any quest type of course. I started implementation a few months ago but realized it is not as trivial as it sounded, so I discarded it for sometime later. |
How does the re-using the last-picked height work? This idea might go slightly awry for streets with a mix of semi-detached and terrace, or detached and semi, as the order might keep swapping. |
If there are 3 single-story buildings and one two-story building, I do the two story building either first or last.
Currently the order swaps every time you pick a new building type, so this is still an improvement on the status quo, even if it's not a perfect solution. |
Does it remember the last values you used then? I've never seen or noticed that? |
Would it be enough to still display N-last selected items, but in stable way? For example if last-selected-building has space for 6 entries and user selected
Now something needs to be dropped. Instead of putting church on the first position, it would be placed in the second replacing shed. Not tried implementing it, but maybe it would make things easier. |
I like the original idea better, but this idea should be easier to implement — by sorting alphabetically if nothing else. So, perhaps worth trying. I agree the unstable sort order is annoying. Separately: I think an improvement on the original idea would be: instead of keeping data for the whole session and resetting it when the session ends, just keep data for the last N (say, 20) answers, and show the most common 6 from that set. I think that makes more sense, since it's possible you might walk between two neighborhoods and the common building types change. From what I remember in #3117, this should be easier to implement, as well. |
I started to look into this. It looks like some of the extra effort comes from having several layers of abstraction to dance through. As far as I can tell, Also, this quest seems to be the only place that calls |
The surface form used to be grouped, too.
No and no. |
This comment has been minimized.
This comment has been minimized.
Sorry, I did a real silly, and missed that I should have been looking at |
Proposed Solution
In #1692 (comment), @westnordost proposed sorting like this:
I'd love to see that applied to house type.
Use case
I've been mapping a lot of residential areas lately. There is a very common ratio of building types (detached house > shed > garage), so the sort order would remain stable, which would make selection much faster since I wouldn't have to verify the order before tapping. At the same time, I wouldn't want this to carry over between sessions, if I'm doing a different area later, so the storage method also works well.
Currently my workaround to guarantee a stable sort order as often as possible is:
This works pretty well, but is not always possible depending on the layout of the street. It's also barely fast enough to keep up with my (intentionally slow) walking pace, so occasionally I need to stop and finish filling out quests. So, this issue would be a good QoL improvement.
The text was updated successfully, but these errors were encountered: