X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/363d55206e1bfe7ca7716e9f0d17cf321b975721..8286132e66ae36750c4b3d6d84858763e57ef639:/TODO.md diff --git a/TODO.md b/TODO.md index dbb1a9f..ecc7c4a 100644 --- a/TODO.md +++ b/TODO.md @@ -1,34 +1,24 @@ # TODO list -* check output of /dist into repository? - ## Might never work -* pagination. API returns an array without 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 +* setting accept-language without a server component https://github.com/dansingerman/jQuery-Browser-Language ## Nice-to-have -* support nearlat,nearlon parameters -* should images/mapicons/ be served from API server or this repo? -* different content for official OSM, e.g. github urls -* set HTML title +* 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? -* a new search causes a new pageview * add tests with fixtures -* detailpage: make linkedplaces, childplaces optional (rarely used? second click to enable?) -* 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 +* add linter (https://github.com/sveltejs/eslint-plugin-svelte3) and .travis-ci.yml again ## Code cleanup +* 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 -* show map bounds section => move to handlebar template, map to partial * aResults vs aPlace vs aFeature variable naming -* use CSS preprocessor and linter -* use eslint. It's already a dependency but throws errors -* cut line length (eslint warns when longer than 100) -* upgrade bootstrap v3 to v4 +* remove jquery completely (once bootstrap v5 is used) +* in package.json clarify which dependencies are used in dev and production