Skip to content
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

Add help texts for filter options #136

Open
johan12345 opened this issue Oct 9, 2021 · 0 comments
Open

Add help texts for filter options #136

johan12345 opened this issue Oct 9, 2021 · 0 comments
Labels

Comments

@johan12345
Copy link
Collaborator

johan12345 commented Oct 9, 2021

For some types of filter options it might not be immediately obvious what they do to people that are not EV enthusiasts. Or, their implementation may have some non-obvious peculiarities (e.g. if the GoingElectric data is filtered by category, chargers that do not have any category assigned will be excluded: #280).

So it might be helpful to add a more elaborate help text that can be viewed with a help symbol next to the filter setting.

To implement this, the Filter class (in net.vonforst.evmap.model.FilterModel needs an additional optional helpText field that should be provided by the API implementations (in the form of an Android String ID). The frontend can then check this field to see if there is a help text to show.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant