]> git.openstreetmap.org Git - nominatim-ui.git/blob - TODO.md
21073fb0427eb0de667ff54729ebb1a7703a1a48
[nominatim-ui.git] / TODO.md
1 # TODO list
2
3
4
5 ## Essential
6
7 * test in MSIE https://github.com/WebReflection/url-search-params
8 * Nominatim backend API
9    * need /status to support &format=json
10    * need /details to support &format=json
11 * reverse: zoom not set
12 http://localhost:8000/reverse.html?format=html&lat=52.3755991766591&lon=7.646484374999999&zoom=
13 * details page: add "There are more child objects which are not shown" back in
14 * move this TODO.txt to github issues
15 * write install instructions
16 * check output of /dist into repository
17
18 ## Might never work
19
20 * pagination. API returns an array whichout indication if more results exist
21 * API returns category, type, but without admin_level we can't derive e.g. state,country
22 * seeting acceptlanguage whichout a server component https://github.com/dansingerman/jQuery-Browser-Language
23 * nice 404 detail page. The API returns HTTP 400 error instead of an empty data set.
24
25 ## Unknown
26
27 * config vs config.local.js
28 * should it be possible to add comments to config?
29 * snake_case vs camelCase
30 * support nearlat,nearlon parameters
31 * need a `<link href="nominatim.xml" rel="search" title="Nominatim Search" type="application/opensearchdescription+xml">` file
32 * do we an /src/assets directory?
33 * in which repository should the images/mapicons/ live?
34
35
36 ## Nice-to-have
37
38 * don't show unset parameters in URL, e.g. `&a=&b=&c=1` => '&c='
39 * different content for official OSM, e.g. github urls
40 * set HTML title
41 * cache `update_data_date` result
42 * a new search causes a new pageview
43 * webpack or grunt build framework
44 * don't copy jquery/leaflet in /src, use dependency manager instead, e.g. https://bower.io/
45 * add tests with fixtures
46 * concatenate/minify JS and CSS
47 * detailpage: make linkedplaces, childplaces optional (rarely used? second click to enable?)
48
49
50 ## Code cleanup
51
52 * remove Perl dependency from build
53 * show map bounds section => move to handlebar template, map to partial
54 * make sure we use https URL to external sites where possible
55 * aResults vs aPlace vs aFeature variable naming
56 * use CSS preprocessor and linter
57 * use eslint
58