-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
[question] How one can pass data from tag to the title? #582
Comments
In case that for some reason this quest type (freeform title based on tag values) is not supposed to ever appear in SC feel free to close (after all, problem with changes upstream is an obvious consequence of maintaining a fork). |
Better try to avoid forks and get everything into upstream. StreetComplete still needs to (and can) grow and we don't need multiple versions of the same app with just slight variations. |
You are correct that this is not designed to work that way anymore. You'd have to tear quite a bit of code up to enable it to be the way it worked for you before. |
Reasons include
|
I have my own fork just like @matkoniecz because of the above reasons (I've extended few existing quests to cover more objects, and added my own quest). And also because I'm not a newbie and I'm OK if there are quests that I can't solve, or have some corner cases that are not targeted for basic SC users. Some changes that I made (that are specific to my usecase, and wouldn't be OK for general public):
Adding tags using SC on the go is so convenient that I prefer to use it instead of other editors (and keeping a survey journal). So I don't think those changes apply to general SC public (maybe with exclusion of seeing more quests and the roof one), or need more work (in case of footway surface). |
I think most of these things could go into an "expert mode". See #471. |
Edit: it is possible now to do it again, see #1484
Original:
As I understand 4500cb6 makes impossible to pass arbitrary data to the title.
It seems to break some quests that are at this moment purely hypothetical in StreetComplete, but I had them in my fork.
For example displaying text of fixme tag (or other tags) as the quest question no longer appears to be possible. Real affected code includes https://github.com/matkoniecz/StreetComplete/blob/fork/app/src/main/java/de/westnordost/streetcomplete/quests/show_fixme/ShowFixmeForm.java#L29 (fixme quest) or https://github.com/matkoniecz/StreetComplete/blob/fork/app/src/main/java/de/westnordost/streetcomplete/quests/road_surface/showInvalidSurfaceForm.java#L23 (displaying unexpected surface values).
Is there some way now to achieve this effect? Or is it necessary for me to either remove this type of quest or make fork deeper and include my own code to handle quests requiring freeform tag title?
The text was updated successfully, but these errors were encountered: