X-Git-Url: https://git.openstreetmap.org/nominatim-ui.git/blobdiff_plain/c12330104f073b05bc2975ac6bf7afe186b8cc1b..2d8d11f38eda35f77ca90ef21f48a0abf6998ec0:/TODO.md diff --git a/TODO.md b/TODO.md index 6f53272..fd17549 100644 --- a/TODO.md +++ b/TODO.md @@ -1,63 +1,24 @@ # TODO list +## Might never work -## Essential - -* JS error on http://localhost:8000/reverse.html?format=html&lat=51.72702815704774&lon=8.701171874999998&zoom= -* need polyfill for URLSearchParams https://caniuse.com/#feat=urlsearchparams -* Nominatim backend API - * need /status to support &format=json - * need /details to support &format=json -* reverse: zoom not set -http://localhost:8000/reverse.html?format=html&lat=52.3755991766591&lon=7.646484374999999&zoom= -* error message on API error or timeout -* detail: support `osm_type`, `osm_id` paramters -* search page: add pagination, moreurl -* search page: add viewbox -* details page: add "There are more child objects which are not shown" back in -* set acceptlanguage to API request -* move this TODO.txt to github issues -* write install instructions -* check output of /dist into repository - - -## Unknown - -* config vs config.local.js -* should it be possible to add comments to config? -* snake_case vs camelCase -* support for proxy environment variables? -* support nearlat,nearlon parameters -* need a `` file -* do we an /src/assets directory? -* in which repository should the images/mapicons/ live? - +* API returns category, type, but without admin_level we can't derive e.g. state,country +* setting accept-language without a server component https://github.com/dansingerman/jQuery-Browser-Language ## Nice-to-have -* don't show unset parameters in URL, e.g. `&a=&b=&c=1` => '&c=' -* different content for official OSM, e.g. github urls -* set HTML title -* cache `update_data_date` result +* should images/mapicons/ be served from API server or this repo? +* cache `update_data_date` result somehow? * a new search causes a new pageview -* webpack or grunt build framework -* don't copy jquery/leaflet in /src, use dependency manager instead, e.g. https://bower.io/ -* update jquery 2 => 3 -* update leaflet * add tests with fixtures +* set better alt tag for icons +* print text "loading..." instead of an error (which the user sees for a split second) * concatenate/minify JS and CSS -* reverse: get coordinate switcher working again - ## Code cleanup -* we have marker-icon twice -* remove Perl dependency from build +* move TODO list into github issues * show map bounds section => move to handlebar template, map to partial -* make sure we use https URL to external sites where possible * aResults vs aPlace vs aFeature variable naming * use CSS preprocessor and linter -* use eslint -* add a /vendor directory for third-party files -