]> git.openstreetmap.org Git - nominatim-ui.git/log
nominatim-ui.git
3 years agonpm package updates
marc tobias [Fri, 19 Feb 2021 22:43:19 +0000 (23:43 +0100)]
npm package updates

3 years agoDetailsLink: use place_id if place does not have osmtype,id
marc tobias [Fri, 19 Feb 2021 22:42:47 +0000 (23:42 +0100)]
DetailsLink: use place_id if place does not have osmtype,id

3 years agovarious UI adjustments for mobile browsers (#85)
mtmail [Thu, 18 Feb 2021 23:26:54 +0000 (00:26 +0100)]
various UI adjustments for mobile browsers (#85)

3 years agoDetails search: merge three forms into one (#81)
mtmail [Thu, 18 Feb 2021 15:32:43 +0000 (16:32 +0100)]
Details search: merge three forms into one (#81)

3 years agodetails page: add -search by name- for address lines having no osm_id (#76)
mtmail [Thu, 18 Feb 2021 15:31:34 +0000 (16:31 +0100)]
details page: add -search by name- for address lines having no osm_id (#76)

3 years agoconvert advanced search options into inline list (#82)
mtmail [Wed, 17 Feb 2021 14:11:26 +0000 (15:11 +0100)]
convert advanced search options into inline list (#82)

3 years agolast update -x ago-, spinner for loading indicator (#83)
mtmail [Wed, 17 Feb 2021 14:10:46 +0000 (15:10 +0100)]
last update -x ago-, spinner for loading indicator (#83)

3 years agoput search,reverse,by-id links into top navbar (#75)
mtmail [Tue, 16 Feb 2021 21:17:11 +0000 (22:17 +0100)]
put search,reverse,by-id links into top navbar (#75)

3 years agoEnable simple CI run (#77)
Sarah Hoffmann [Tue, 16 Feb 2021 20:53:37 +0000 (21:53 +0100)]
Enable simple CI run (#77)

* add simple CI run via github actions

3 years agosvelte 3.32.1 => 3.32.3 (#72)
mtmail [Mon, 15 Feb 2021 18:32:21 +0000 (19:32 +0100)]
svelte 3.32.1 => 3.32.3 (#72)

3 years agoversion 2.2.0
marc tobias [Sat, 13 Feb 2021 11:16:38 +0000 (12:16 +0100)]
version 2.2.0

3 years agoHandle all page changes via page store (#70)
Sarah Hoffmann [Sat, 13 Feb 2021 11:11:08 +0000 (12:11 +0100)]
Handle all page changes via page store (#70)

* move serialize_form and clean_up_url_parameters to UrlSubmitForm
* switch pages by setting page store
* simplify parameter handling in reverse bar
* add documentation for refresh_page() function
* scroll to top of details page on reload

3 years agoComponents for internal links (#69)
Sarah Hoffmann [Fri, 12 Feb 2021 01:03:22 +0000 (02:03 +0100)]
Components for internal links (#69)

* add component for link to details page

* introduce components for reverse and generic internal links

Supersedes the generic click handler that was looking for
internal links.

3 years agoversion 2.1.0
marc tobias [Wed, 10 Feb 2021 18:51:50 +0000 (19:51 +0100)]
version 2.1.0

3 years agoreverse search: better initial zoom (#63)
mtmail [Wed, 10 Feb 2021 18:43:15 +0000 (19:43 +0100)]
reverse search: better initial zoom (#63)

3 years agoConvert current_result and current_request_latlon stores into simple variables ...
Sarah Hoffmann [Wed, 10 Feb 2021 15:30:57 +0000 (16:30 +0100)]
Convert current_result and current_request_latlon stores into simple variables  (#59)

* convert current_result_store into simple variable
* replace current_request_latlon store with simple variable
* avoid race condition in map_store

The map_store kept a reference to a destroyed map which could
lead to load failures at times.

3 years agosplit latitude value if copy&pasted as pair (#62)
mtmail [Wed, 10 Feb 2021 14:04:19 +0000 (15:04 +0100)]
split latitude value if copy&pasted as pair (#62)

3 years agolink.href is always absolute URL, inspect raw HTML attribute instead (#60)
mtmail [Wed, 10 Feb 2021 14:04:04 +0000 (15:04 +0100)]
link.href is always absolute URL, inspect raw HTML attribute instead (#60)

3 years agomake LastUpdated a Svelte component (#56)
mtmail [Wed, 10 Feb 2021 14:03:28 +0000 (15:03 +0100)]
make LastUpdated a Svelte component (#56)

3 years agodetails page: on error (HTTP 400) show message (#58)
mtmail [Mon, 8 Feb 2021 19:40:04 +0000 (20:40 +0100)]
details page: on error (HTTP 400) show message (#58)

3 years agoeslint: remove 3 unused variables (#57)
mtmail [Mon, 8 Feb 2021 19:39:52 +0000 (20:39 +0100)]
eslint: remove 3 unused variables (#57)

3 years agouse Svelte (HTML) style comments, // shows up on screen
marc tobias [Sat, 6 Feb 2021 23:53:23 +0000 (00:53 +0100)]
use Svelte (HTML) style comments, // shows up on screen

3 years agoreplace node-static with static-server (#53)
mtmail [Sat, 6 Feb 2021 20:27:23 +0000 (21:27 +0100)]
replace node-static with static-server (#53)

3 years agoMerge pull request #55 from lonvia/sveltify-popstate
mtmail [Sat, 6 Feb 2021 20:26:35 +0000 (21:26 +0100)]
Merge pull request #55 from lonvia/sveltify-popstate

Use svelte syntax for setting the popstate handler

3 years agouse svelte syntax for setting the popstate handler
Sarah Hoffmann [Fri, 5 Feb 2021 22:32:44 +0000 (23:32 +0100)]
use svelte syntax for setting the popstate handler

3 years agoMerge pull request #54 from lonvia/split-search-page-II
mtmail [Fri, 5 Feb 2021 21:12:30 +0000 (22:12 +0100)]
Merge pull request #54 from lonvia/split-search-page-II

Split search page and bar into two components for forward and reverse search each

3 years agosplit SearchBar into forward and reverse version
Sarah Hoffmann [Wed, 3 Feb 2021 19:06:25 +0000 (20:06 +0100)]
split SearchBar into forward and reverse version

3 years agosplit SearchPage into forward and reverse versions
Sarah Hoffmann [Wed, 3 Feb 2021 19:04:08 +0000 (20:04 +0100)]
split SearchPage into forward and reverse versions

3 years agoAdd eslint linter (#52)
mtmail [Tue, 2 Feb 2021 23:31:11 +0000 (00:31 +0100)]
Add eslint linter (#52)

* Add eslint and configuration. it reports 114 issues

* eslint: fix spacing, semicolons, long lines, == vs ===

* eslint: remove unused variables

* eslint: allow function use before declaration. function are hoisted, so safe, and it adds to readability

* eslint: fix reused variable names (no-shadow)

* eslint: disable no-label-var rule for *.svelte files as it misreports reactive-statements

3 years agoMake page choice more svelty (#51)
Sarah Hoffmann [Tue, 2 Feb 2021 21:34:55 +0000 (22:34 +0100)]
Make page choice more svelty (#51)

* make page choice more svelty

Instead of creating pages via javascript, have svelte do that
according to a store where the current page is saved. Also
moves the code for submitting a form from the main function
into a specialised form component.

3 years agoversion 2.0.2
marc tobias [Tue, 2 Feb 2021 02:05:03 +0000 (03:05 +0100)]
version 2.0.2

3 years agoreverse search: click on map triggers new search
marc tobias [Tue, 2 Feb 2021 02:00:47 +0000 (03:00 +0100)]
reverse search: click on map triggers new search

3 years agostarting yarn 1.0 "--" is no longer required to forward options
marc tobias [Tue, 2 Feb 2021 01:41:49 +0000 (02:41 +0100)]
starting yarn 1.0 "--" is no longer required to forward options

3 years agofix remaining compile warnings
marc tobias [Tue, 2 Feb 2021 01:36:02 +0000 (02:36 +0100)]
fix remaining compile warnings

3 years agoreport-issue modal window was missing
marc tobias [Tue, 2 Feb 2021 01:31:29 +0000 (02:31 +0100)]
report-issue modal window was missing

3 years agoremove search-url-params polyfill. Svelte doesnt support MSIE11 either
marc tobias [Tue, 2 Feb 2021 01:24:45 +0000 (02:24 +0100)]
remove search-url-params polyfill. Svelte doesnt support MSIE11 either

3 years agoreplace sirv with node-static
Sarah Hoffmann [Sun, 31 Jan 2021 21:00:20 +0000 (22:00 +0100)]
replace sirv with node-static

3 years agoavoid direct references to node_modules
Sarah Hoffmann [Sun, 31 Jan 2021 17:34:17 +0000 (18:34 +0100)]
avoid direct references to node_modules

Rollup will infer the correct directory for external
resources.

3 years agouse yarn instead of npm for the dev server
Sarah Hoffmann [Sun, 31 Jan 2021 17:33:35 +0000 (18:33 +0100)]
use yarn instead of npm for the dev server

3 years agoversion 2.0.1
marc tobias [Sun, 31 Jan 2021 12:44:51 +0000 (13:44 +0100)]
version 2.0.1

3 years agoFix broken links in README.md
Mikhail Snetkov [Sun, 31 Jan 2021 07:20:20 +0000 (14:20 +0700)]
Fix broken links in README.md

3 years agoRebuild dist for release build
Konstantin Goncharik [Sun, 31 Jan 2021 07:06:28 +0000 (14:06 +0700)]
Rebuild dist for release build

3 years agoversion 2.0 - converted to Svelte framework
marc tobias [Sat, 30 Jan 2021 23:00:41 +0000 (00:00 +0100)]
version 2.0 - converted to Svelte framework

3 years ago/reverse.html should be reverse.html to app works in subdirectory
marc tobias [Mon, 4 Jan 2021 01:38:57 +0000 (02:38 +0100)]
/reverse.html should be reverse.html to app works in subdirectory

3 years agoleaflet 1.6.0 => 1.7.1
marc tobias [Mon, 4 Jan 2021 01:35:56 +0000 (02:35 +0100)]
leaflet 1.6.0 => 1.7.1

4 years agoadd a button to display keywords on the details page
Sarah Hoffmann [Wed, 2 Dec 2020 14:49:14 +0000 (15:49 +0100)]
add a button to display keywords on the details page

4 years agoshow admin level only for admin boundaries
Sarah Hoffmann [Wed, 2 Dec 2020 15:29:44 +0000 (16:29 +0100)]
show admin level only for admin boundaries

4 years agorestructure rank display
Sarah Hoffmann [Wed, 2 Dec 2020 15:17:14 +0000 (16:17 +0100)]
restructure rank display

Search rank is not really bound to place types anymore, therefore
only display a number. Address rank is the more important rank now.
Add it to the display and return the equivalent place type there.

4 years agoAdd interface for setting advanced search options (#38)
Sarah Hoffmann [Fri, 30 Oct 2020 16:15:22 +0000 (17:15 +0100)]
Add interface for setting advanced search options (#38)

* add interface for setting advanced search options

4 years agoMerge pull request #40 from mtmail/navigation-to-details-index-page
mtmail [Wed, 28 Oct 2020 18:16:40 +0000 (19:16 +0100)]
Merge pull request #40 from mtmail/navigation-to-details-index-page

navigation link to -search by id-

4 years agonavigation link to -search by id-
marc tobias [Wed, 28 Oct 2020 18:14:38 +0000 (19:14 +0100)]
navigation link to -search by id-

4 years agodetailpage link only when osm_id is set
marc tobias [Fri, 4 Sep 2020 21:01:17 +0000 (23:01 +0200)]
detailpage link only when osm_id is set

4 years agov1.2.4
marc tobias [Wed, 2 Sep 2020 07:53:01 +0000 (09:53 +0200)]
v1.2.4

4 years agoMerge pull request #37 from mtmail/merge-detailslink-and-detailspermalink
mtmail [Wed, 2 Sep 2020 07:49:21 +0000 (09:49 +0200)]
Merge pull request #37 from mtmail/merge-detailslink-and-detailspermalink

detailsURL helper which replaces detailsLink and detailsPermaLink

4 years agodetail page now adds class parameter to API request
marc tobias [Tue, 1 Sep 2020 16:53:24 +0000 (18:53 +0200)]
detail page now adds class parameter to API request

4 years agodetailsURL helper which replaces detailsLink and detailsPermaLink
marc tobias [Tue, 1 Sep 2020 16:50:10 +0000 (18:50 +0200)]
detailsURL helper which replaces detailsLink and detailsPermaLink

4 years agov1.2.3
marc tobias [Tue, 1 Sep 2020 15:55:32 +0000 (17:55 +0200)]
v1.2.3

4 years agoMerge pull request #35 from mtmail/checking-isaddress
mtmail [Tue, 1 Sep 2020 15:52:16 +0000 (17:52 +0200)]
Merge pull request #35 from mtmail/checking-isaddress

detail page API response might have addressline with isaddress=false vs inaddress=null

4 years agodetail page API response might have addressline with isaddress=false vs inaddress...
marc tobias [Tue, 1 Sep 2020 15:51:44 +0000 (17:51 +0200)]
detail page API response might have addressline with isaddress=false vs inaddress=null

4 years agoversion 1.2.2
marc tobias [Tue, 1 Sep 2020 15:29:27 +0000 (17:29 +0200)]
version 1.2.2

4 years agoMerge pull request #33 from mtmail/debug-info-link
mtmail [Tue, 1 Sep 2020 15:25:38 +0000 (17:25 +0200)]
Merge pull request #33 from mtmail/debug-info-link

dont intercept links in last-updated page section

4 years agodont intercept links in last-updated page section
marc tobias [Tue, 1 Sep 2020 15:25:15 +0000 (17:25 +0200)]
dont intercept links in last-updated page section

4 years agoMerge pull request #29 from mtmail/debug-info-link
mtmail [Tue, 1 Sep 2020 15:22:21 +0000 (17:22 +0200)]
Merge pull request #29 from mtmail/debug-info-link

Add a &debug=1 API link in the header instead of redirecting

4 years agodont intercept links in last-updated page section
marc tobias [Tue, 1 Sep 2020 15:21:47 +0000 (17:21 +0200)]
dont intercept links in last-updated page section

4 years agoAdd a &debug=1 API link in the header instead of redirecting
marc tobias [Mon, 10 Aug 2020 13:56:11 +0000 (15:56 +0200)]
Add a &debug=1 API link in the header instead of redirecting

4 years agoMerge pull request #31 from lonvia/bigger-map
mtmail [Tue, 11 Aug 2020 13:08:31 +0000 (15:08 +0200)]
Merge pull request #31 from lonvia/bigger-map

Change map to cover complete height of screen

4 years agochange map to cover complete height of screen
Sarah Hoffmann [Tue, 11 Aug 2020 12:26:23 +0000 (14:26 +0200)]
change map to cover complete height of screen

4 years agoMerge pull request #28 from mtmail/travis-ci
mtmail [Mon, 10 Aug 2020 13:01:32 +0000 (15:01 +0200)]
Merge pull request #28 from mtmail/travis-ci

simplest Travis-CI integration, only running lint test

4 years agosimplest Travis-CI integration, only running lint test
marc tobias [Mon, 10 Aug 2020 12:52:45 +0000 (14:52 +0200)]
simplest Travis-CI integration, only running lint test

4 years agoMerge pull request #27 from mtmail/always-display-more-url
mtmail [Mon, 10 Aug 2020 12:47:34 +0000 (14:47 +0200)]
Merge pull request #27 from mtmail/always-display-more-url

Always display more-results button below search results

4 years agoMerge pull request #26 from mtmail/support-debug-parameter
mtmail [Mon, 10 Aug 2020 12:47:23 +0000 (14:47 +0200)]
Merge pull request #26 from mtmail/support-debug-parameter

Support debug parameter

4 years agoAlways display more-results button below search results
marc tobias [Mon, 10 Aug 2020 12:47:22 +0000 (14:47 +0200)]
Always display more-results button below search results

4 years agoredirect to API URL when parameter &debug=1 in URL
marc tobias [Mon, 10 Aug 2020 12:42:34 +0000 (14:42 +0200)]
redirect to API URL when parameter &debug=1 in URL

4 years agoyet another improvement to path parsing
marc tobias [Mon, 10 Aug 2020 12:41:44 +0000 (14:41 +0200)]
yet another improvement to path parsing

4 years agomissing semicolon
marc tobias [Mon, 10 Aug 2020 12:34:31 +0000 (14:34 +0200)]
missing semicolon

4 years agoprepare version 1.2.1
marc tobias [Tue, 4 Aug 2020 13:27:25 +0000 (15:27 +0200)]
prepare version 1.2.1

4 years agoMerge pull request #20 from mtmail/fix-when-run-from-subpath
mtmail [Tue, 4 Aug 2020 13:24:41 +0000 (15:24 +0200)]
Merge pull request #20 from mtmail/fix-when-run-from-subpath

fix URL links when serving app from a subdirectory

4 years agofix URL links when serving app from a subdirectory
marc tobias [Sun, 12 Jul 2020 15:42:38 +0000 (17:42 +0200)]
fix URL links when serving app from a subdirectory

4 years agoMerge pull request #22 from mtmail/distance-in-meters-or-spheric
mtmail [Fri, 31 Jul 2020 12:56:21 +0000 (14:56 +0200)]
Merge pull request #22 from mtmail/distance-in-meters-or-spheric

API returns some distance in spheric, not meters

4 years agoAPI returns some distance in spheric, not meters
marc tobias [Fri, 31 Jul 2020 12:55:39 +0000 (14:55 +0200)]
API returns some distance in spheric, not meters

4 years agoMerge pull request #21 from osm-search/dependabot/npm_and_yarn/lodash-4.17.19
mtmail [Tue, 21 Jul 2020 17:55:32 +0000 (19:55 +0200)]
Merge pull request #21 from osm-search/dependabot/npm_and_yarn/lodash-4.17.19

Bump lodash from 4.17.15 to 4.17.19

4 years agoBump lodash from 4.17.15 to 4.17.19
dependabot[bot] [Sat, 18 Jul 2020 22:49:50 +0000 (22:49 +0000)]
Bump lodash from 4.17.15 to 4.17.19

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoMerge pull request #18 from mtmail/version-1dot2
mtmail [Tue, 7 Jul 2020 12:47:41 +0000 (14:47 +0200)]
Merge pull request #18 from mtmail/version-1dot2

Version 1dot2

4 years agoprepare version 1.2
marc tobias [Tue, 7 Jul 2020 12:46:20 +0000 (14:46 +0200)]
prepare version 1.2

4 years agoremove several TODO items
marc tobias [Tue, 7 Jul 2020 12:42:26 +0000 (14:42 +0200)]
remove several TODO items

4 years agoupdate eslint npm package
marc tobias [Tue, 7 Jul 2020 12:42:14 +0000 (14:42 +0200)]
update eslint npm package

4 years agonew context.bSearchRan because handlebar makes it hard inspecting undefined vs empty
marc tobias [Tue, 7 Jul 2020 12:26:53 +0000 (14:26 +0200)]
new context.bSearchRan because handlebar makes it hard inspecting undefined vs empty

4 years agoremove empty URL parameter when generating target_url
marc tobias [Tue, 7 Jul 2020 12:12:56 +0000 (14:12 +0200)]
remove empty URL parameter when generating target_url

4 years agofix more-results link
marc tobias [Tue, 7 Jul 2020 11:48:27 +0000 (13:48 +0200)]
fix more-results link

4 years agoMerge pull request #17 from mtmail/dont-reload-page
mtmail [Tue, 7 Jul 2020 11:26:11 +0000 (13:26 +0200)]
Merge pull request #17 from mtmail/dont-reload-page

all templates in one document, deal with window.history change

4 years agoall templates in one document, deal with window.history change
marc tobias [Tue, 7 Jul 2020 00:24:14 +0000 (02:24 +0200)]
all templates in one document, deal with window.history change

4 years agoMerge pull request #16 from mtmail/bootstrap-tabs
mtmail [Sat, 20 Jun 2020 21:01:47 +0000 (23:01 +0200)]
Merge pull request #16 from mtmail/bootstrap-tabs

forward search: use tabs to switch between simple and structured

4 years agoforward search: use tabs to switch between simple and structured
marc tobias [Sat, 20 Jun 2020 20:53:06 +0000 (22:53 +0200)]
forward search: use tabs to switch between simple and structured

4 years agoMerge pull request #15 from mtmail/master
mtmail [Fri, 19 Jun 2020 05:32:26 +0000 (07:32 +0200)]
Merge pull request #15 from mtmail/master

version 1.1

4 years agodefault to localhost
marc tobias [Fri, 19 Jun 2020 05:31:33 +0000 (07:31 +0200)]
default to localhost

4 years agonew CONTRIBUTE documentation
marc tobias [Fri, 19 Jun 2020 05:28:48 +0000 (07:28 +0200)]
new CONTRIBUTE documentation

4 years agocontrol requesting polygons from API without hidden HTML field
marc tobias [Fri, 19 Jun 2020 04:36:37 +0000 (06:36 +0200)]
control requesting polygons from API without hidden HTML field

4 years agonpm package updates
marc tobias [Fri, 19 Jun 2020 04:35:57 +0000 (06:35 +0200)]
npm package updates

4 years agosplit configuration into hardcoded default and optional config.js
marc tobias [Fri, 19 Jun 2020 04:29:09 +0000 (06:29 +0200)]
split configuration into hardcoded default and optional config.js

4 years agoMerge pull request #12 from mtmail/generate-mapicon-url
mtmail [Mon, 18 May 2020 22:56:20 +0000 (00:56 +0200)]
Merge pull request #12 from mtmail/generate-mapicon-url

generate mapicon URLs from place category and type