X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/2d3f31df53964c6eb451e6ea363ed1cc8d22c023..f184277289ef19916c16550c52c831b9c8e86e6b:/TODO.md diff --git a/TODO.md b/TODO.md index c27300d..ecc7c4a 100644 --- a/TODO.md +++ b/TODO.md @@ -1,57 +1,24 @@ # TODO list - -## Essential - -* 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 -* reverse: zoom not set -http://localhost:8000/reverse.html?format=html&lat=52.3755991766591&lon=7.646484374999999&zoom= -* details page: add "There are more child objects which are not shown" back in -* details page: nicer 404 -* move this TODO.txt to github issues -* write install instructions -* check output of /dist into repository - ## Might never work -* pagination * 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 - -## Unknown - -* config vs config.local.js -* should it be possible to add comments to config? -* snake_case vs camelCase -* support nearlat,nearlon parameters -* need a `` file -* do we an /src/assets directory? -* in which repository should the images/mapicons/ live? - +* 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 -* 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/ +* on /details page differenciate between not found (HTTP 404 from API) and missing parameters (HTTP 400 from API) +* display API errors, e.g. Object { code: 400, message: "Integer number expected for parameter 'limit'" } +* cache `update_data_date` result somehow? * add tests with fixtures -* concatenate/minify JS and CSS - +* add linter (https://github.com/sveltejs/eslint-plugin-svelte3) and .travis-ci.yml again ## Code cleanup -* remove Perl dependency from build -* show map bounds section => move to handlebar template, map to partial -* make sure we use https URL to external sites where possible +* fix all a11y warnings during `yarn build` +* move all bootstrap CSS overwrite rules into a bootstrap.theme.css file +* move TODO list into github issues * aResults vs aPlace vs aFeature variable naming -* use CSS preprocessor and linter -* use eslint - +* remove jquery completely (once bootstrap v5 is used) +* in package.json clarify which dependencies are used in dev and production