]> git.openstreetmap.org Git - nominatim-ui.git/blob - TODO.md
max line length for javascript = 100
[nominatim-ui.git] / TODO.md
1 # TODO list
2
3 * check output of /dist into repository?
4
5
6 ## Might never work
7
8 * pagination. API returns an array without indication if more results exist
9 * API returns category, type, but without admin_level we can't derive e.g. state,country
10 * setting accept-language without a server component https://github.com/dansingerman/jQuery-Browser-Language
11
12 ## Nice-to-have
13
14 * support nearlat,nearlon parameters
15 * should images/mapicons/ be served from API server or this repo?
16 * different content for official OSM, e.g. github urls
17 * cache `update_data_date` result somehow?
18 * a new search causes a new pageview
19 * add tests with fixtures
20 * detailpage: make linkedplaces, childplaces optional (rarely used? second click to enable?)
21 * set better alt tag for icons
22 * print text "loading..." instead of an error (which the user sees for a split second)
23 * concatenate/minify JS and CSS
24
25 ## Code cleanup
26
27 * move TODO list into github issues
28 * show map bounds section => move to handlebar template, map to partial
29 * aResults vs aPlace vs aFeature variable naming
30 * use CSS preprocessor and linter
31 * use eslint. It's already a dependency but throws errors
32 * cut line length (eslint warns when longer than 100)
33 * upgrade bootstrap v3 to v4