X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/6a455ffa0bd1cfea8337ee31867848f5719b47fc..942e9d3331b172ec46dec46d7b8be6d0afcaee6f:/TODO.md diff --git a/TODO.md b/TODO.md index 7625754..ca2026a 100644 --- a/TODO.md +++ b/TODO.md @@ -4,30 +4,28 @@ ## Essential -* need polyfill for URLSearchParams https://caniuse.com/#feat=urlsearchparams +* test in MSIE https://github.com/WebReflection/url-search-params * Nominatim backend API * need /status to support &format=json * need /details to support &format=json -* all pages: "you need javascript enabled" default text * 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 -* reverse: 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 +## Might never work + +* pagination. API returns an array whichout indication if more results exist +* API returns category, type, but without admin_level we can't derive e.g. state,country +* seeting acceptlanguage whichout a server component https://github.com/dansingerman/jQuery-Browser-Language +* nice 404 detail page. The API returns HTTP 400 error instead of an empty data set. ## 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? @@ -36,19 +34,17 @@ http://localhost:8000/reverse.html?format=html&lat=52.3755991766591&lon=7.646484 ## Nice-to-have -* don't show unset parameters in URL, e.g. `&a=&b=&c=1` +* add permalink (like https://github.com/openstreetmap/Nominatim/pull/1003) * different content for official OSM, e.g. github urls * set HTML title * cache `update_data_date` result * 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 * concatenate/minify JS and CSS -* reverse: get coordinate switcher working again - +* detailpage: make linkedplaces, childplaces optional (rarely used? second click to enable?) +* set better alt tag for icons ## Code cleanup