-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
SearchBox enhancements #523
Comments
On my iOS device it works, but only with a double click. |
How about also adding types to the options? |
@Dlurak – yes, please! There is a TODO in code already, though we would need to completely refactor the types. Typescript can't discriminate among the different options based on our current shape. It need explicit type field with enum
I will review your #552 today, and then you can add the types. If you decided to do that, please, create one PR only for the refactoring, and second PR (based on first) with the additional types with adding new functionality. Otherwise the code review is a headache 😃 //edit @Dlurak - wow, I am reviewing the #552 and I am very pleasantly surprised! You already added the |
How about also adding search support for the name suggestion index. While the tagging presets have real categories like supermarket or school the name suggestion index has companies, like supermarket companies... |
Interesting idea. 👍 One issue is that the nsi.json is 11 MB alone, so it is too big to load it the same way we load presets. We needed presets anyway for displaying the feature types and showing the FeaturePanel, so even though preset.json is 0.6 MB, it is an exception. The way we could execute this is implementing our own Also the UI would have to be rethinked a little, because firing two requests could result in jumpy UI, or even worse displaying nothing when one of the request fails. |
Few ideas - each one should be one PR
Features
coordinates
search – parse all coordinate types + plus codes (Add support for Open Location Codes? #834)/?q=op:node["shop"]
#119Fixes:
building p
should offerBuilding Part
on the first place (SearchBox: Change to the Dice-Sørensen coefficient #605)Explorations
op:nwr
, it can freeze their browser.Completed
Bexhill-on-Sea
- it can't be clicked (SearchBox: Fix broken flyTo on mobile #574)osmId
– parse shortId, apiId or URL with some of these ids. (SearchBox: Add support for openstreetmap ids #587)The text was updated successfully, but these errors were encountered: