-
-
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
[WIP] add quest presets #2069
[WIP] add quest presets #2069
Conversation
Let's call them profiles. Okay, so you are planning to add such profiles and they should be user defined, right? And each profile will have a custom quest order plus a custom quest enablement? Why would you choose this approach over fixed profile presets, one for car/bus passengers, one for bicyclists, one for pedestrians? What would be the use cases for free profile presets? Additionally, the profile (presets) are closely related to the quest selection and order, so I think it should be in the same screen as the quest selection, maybe as tabs, maybe as a dropdown at the top. We should discuss this first before you implement it. For example, the advantage of tabs would be that it could look like in that mockup in #2054 with more information, an icon, an interface to add new presets etc.
Mhh, maybe not the best idea then to start with such a medium-sized feature then. You have to understand that it takes a lot of time for me as well to steward it, too. |
I will have more free time in ~2 weeks from now. If you're willing to wait that long to work on this, I can help a little with code review. |
yes
yes
With fixed presets, do you mean really fixed and no possiblity to change? Or some pre-selected lists where users can still change visibility and order? The latter seems pretty useful to me.
Mostly flexibility. I have the impression that users have very different ideas how to use profiles.
I didn't even think about that... I think this was your interpretation about my idea of having day/night profiles in #1654, but this was not intended to be switched automatically.
The current implementation is mainly to have the profiles working. I will need to learn a bit more before I can implement it like in the mockup. The mockup seems pretty nice, although I'd rather have it as a dropdown menu in the quest selecton screen. Ideas I would like to include:
|
I had a mind, really fixed, so one cannot edit that preset. For example if there is a specific preset "as a passenger in a bus", it's pretty clear that noone will be able to answer opening hours and it also does not make sense to allow users to enable it (or any other that is not enabled), does it? OK I reckon there might be two use cases for profiles: 1. "I am on a X, I can only solve certain things", 2. "I want to only focus on Y right now".
But where to put the "add profile" button then? The mockup has the advantage that more info can be shown, so a profile is not just named "public transport" but "solvable on the bus". This is important because "public transport" could also mean "all quests related to public transport" rather than "solvable on the bus". If it is just a dropdown without additional information/description provided, it'll be hard to make that clear. |
I think they need an extra word to disambiguate with your OSM profile -- how about quest profiles?
I don't have anything against freely added profiles, but I do think they should be added for the right reasons. Let's not add workaround features until we've tried fixing the bug(s) and improving download speed directly, first.
I don't understand why the auto-download mechanism wouldn't work here. If the popular quests ate already solved, auto-download should proceed down the list until there are enough quests showing. That can be slow, but #1901 should fix this.
To keep the size of this feature reasonable, I think most of these can be added in future PRs.
This way you get to avoid building very much UI, which is often a pain on Android. I think this would cut down the size of this feature to something more reasonable |
Ack, posted without refreshing :/
This seems.. functionally identical to quest profiles? The CAN vs WANT distinction is important to the user, but in terms of how it would actually be implemented, seems the same. |
Well, what's planned is that the map view also changes. For example, the building type for each building is shown directly on the map, possibly color-coded cycleways/no-cycleways etc. |
I could imagine the map view changing between pedestrian and vehicle profiles. And even if it didn't, they might still share an interface, depending on the implementation and how much flexibility is needed. For example, which map view is shown could be one aspect of a quest profile (err, maybe needs a different word than "quest" now. "Mapping profile"?). In any case, I think we should probably continue this discussion in an issue, when you're ready to announce it more widely. |
We might still want to change the order or disable some of the chosen quests though @westnordost . For example I find the bike/motorbike parking capacity quest too ambiguous to answer in most cases, and most cycle lanes aren't marked in the UK so I prefer to just answer the ones where it's explicitly present. I'll often hide or de-prioritise those quests. More generally, for debugging when raising an issue it would be good to be able to make a new preset with everything disabled apart from one particular quest to find ones to test/check and then go back to normal. I can reset to default currently, but that undoes all my other customisation. I'd potentially make different presets for doing quests on foot, versus walking somewhere and completing some on the way (e.g. disable the menu and opening hours ones) and just do the bits I can complete at a glance without stopping. Sort of related to that I'd quite like some way to expose some of my lower priority quests in some cases, e.g. when walking along the road, I might not want to keep crossing, so only want to see say shop name, storeys and roof shape for the far side, but opening hours or menu stuff might be more valuable so higher priority for "my" side of the road. Pressing and holding on a quest to expose the lower ones would work, or toggling presets if it was quick enough to do. |
Sorry it took me quite a while to reply here... I didn't have much time recently, not sure when it will get better. Still, I spent a few weeks with profiles to see how I actually use them. Since the quest reordering bug basically always strikes when doing large changes to the quest order, I never actually had two lists with different order. I had imagined this to be useful for switching between quests on the same object e.g. lit and surface, or house number and building levels, or opening hours and wheelchair access... My last somewhat frequent use for profiles is that sometimes I want to focus on a few quests in specific situations. E.g. because I'm in a bus and can't answer some quests, or because I simply don't have time for slower quests like opening hours. I will continue using profiles and see how often I use them, but for now close this PR as I won't work on it in the near furture. |
Some small update: Still, sometimes I actually find it very useful to have profiles:
|
Since I really want to have quest presets (#1654), I tried adding them myself...
This PR adds working presets (each has its own quest order and visibility), but there is still a lot to be done (help is appreciated):
How it works:
+
as a separator. The list is reloaded when the preset is changed.