]>
git.openstreetmap.org Git - nominatim-ui.git/log
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
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.
marc tobias [Wed, 10 Feb 2021 18:51:50 +0000 (19:51 +0100)]
version 2.1.0
mtmail [Wed, 10 Feb 2021 18:43:15 +0000 (19:43 +0100)]
reverse search: better initial zoom (#63)
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.
mtmail [Wed, 10 Feb 2021 14:04:19 +0000 (15:04 +0100)]
split latitude value if copy&pasted as pair (#62)
mtmail [Wed, 10 Feb 2021 14:04:04 +0000 (15:04 +0100)]
link.href is always absolute URL, inspect raw HTML attribute instead (#60)
mtmail [Wed, 10 Feb 2021 14:03:28 +0000 (15:03 +0100)]
make LastUpdated a Svelte component (#56)
mtmail [Mon, 8 Feb 2021 19:40:04 +0000 (20:40 +0100)]
details page: on error (HTTP 400) show message (#58)
mtmail [Mon, 8 Feb 2021 19:39:52 +0000 (20:39 +0100)]
eslint: remove 3 unused variables (#57)
marc tobias [Sat, 6 Feb 2021 23:53:23 +0000 (00:53 +0100)]
use Svelte (HTML) style comments, // shows up on screen
mtmail [Sat, 6 Feb 2021 20:27:23 +0000 (21:27 +0100)]
replace node-static with static-server (#53)
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
Sarah Hoffmann [Fri, 5 Feb 2021 22:32:44 +0000 (23:32 +0100)]
use svelte syntax for setting the popstate handler
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
Sarah Hoffmann [Wed, 3 Feb 2021 19:06:25 +0000 (20:06 +0100)]
split SearchBar into forward and reverse version
Sarah Hoffmann [Wed, 3 Feb 2021 19:04:08 +0000 (20:04 +0100)]
split SearchPage into forward and reverse versions
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
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.
marc tobias [Tue, 2 Feb 2021 02:05:03 +0000 (03:05 +0100)]
version 2.0.2
marc tobias [Tue, 2 Feb 2021 02:00:47 +0000 (03:00 +0100)]
reverse search: click on map triggers new search
marc tobias [Tue, 2 Feb 2021 01:41:49 +0000 (02:41 +0100)]
starting yarn 1.0 "--" is no longer required to forward options
marc tobias [Tue, 2 Feb 2021 01:36:02 +0000 (02:36 +0100)]
fix remaining compile warnings
marc tobias [Tue, 2 Feb 2021 01:31:29 +0000 (02:31 +0100)]
report-issue modal window was missing
marc tobias [Tue, 2 Feb 2021 01:24:45 +0000 (02:24 +0100)]
remove search-url-params polyfill. Svelte doesnt support MSIE11 either
Sarah Hoffmann [Sun, 31 Jan 2021 21:00:20 +0000 (22:00 +0100)]
replace sirv with node-static
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.
Sarah Hoffmann [Sun, 31 Jan 2021 17:33:35 +0000 (18:33 +0100)]
use yarn instead of npm for the dev server
marc tobias [Sun, 31 Jan 2021 12:44:51 +0000 (13:44 +0100)]
version 2.0.1
Mikhail Snetkov [Sun, 31 Jan 2021 07:20:20 +0000 (14:20 +0700)]
Fix broken links in README.md
Konstantin Goncharik [Sun, 31 Jan 2021 07:06:28 +0000 (14:06 +0700)]
Rebuild dist for release build
marc tobias [Sat, 30 Jan 2021 23:00:41 +0000 (00:00 +0100)]
version 2.0 - converted to Svelte framework
marc tobias [Mon, 4 Jan 2021 01:38:57 +0000 (02:38 +0100)]
/reverse.html should be reverse.html to app works in subdirectory
marc tobias [Mon, 4 Jan 2021 01:35:56 +0000 (02:35 +0100)]
leaflet 1.6.0 => 1.7.1
Sarah Hoffmann [Wed, 2 Dec 2020 14:49:14 +0000 (15:49 +0100)]
add a button to display keywords on the details page
Sarah Hoffmann [Wed, 2 Dec 2020 15:29:44 +0000 (16:29 +0100)]
show admin level only for admin boundaries
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.
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
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-
marc tobias [Wed, 28 Oct 2020 18:14:38 +0000 (19:14 +0100)]
navigation link to -search by id-
marc tobias [Fri, 4 Sep 2020 21:01:17 +0000 (23:01 +0200)]
detailpage link only when osm_id is set
marc tobias [Wed, 2 Sep 2020 07:53:01 +0000 (09:53 +0200)]
v1.2.4
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
marc tobias [Tue, 1 Sep 2020 16:53:24 +0000 (18:53 +0200)]
detail page now adds class parameter to API request
marc tobias [Tue, 1 Sep 2020 16:50:10 +0000 (18:50 +0200)]
detailsURL helper which replaces detailsLink and detailsPermaLink
marc tobias [Tue, 1 Sep 2020 15:55:32 +0000 (17:55 +0200)]
v1.2.3
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
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
marc tobias [Tue, 1 Sep 2020 15:29:27 +0000 (17:29 +0200)]
version 1.2.2
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
marc tobias [Tue, 1 Sep 2020 15:25:15 +0000 (17:25 +0200)]
dont intercept links in last-updated page section
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
marc tobias [Tue, 1 Sep 2020 15:21:47 +0000 (17:21 +0200)]
dont intercept links in last-updated page section
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
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
Sarah Hoffmann [Tue, 11 Aug 2020 12:26:23 +0000 (14:26 +0200)]
change map to cover complete height of screen
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
marc tobias [Mon, 10 Aug 2020 12:52:45 +0000 (14:52 +0200)]
simplest Travis-CI integration, only running lint test
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
mtmail [Mon, 10 Aug 2020 12:47:23 +0000 (14:47 +0200)]
Merge pull request #26 from mtmail/support-debug-parameter
Support debug parameter
marc tobias [Mon, 10 Aug 2020 12:47:22 +0000 (14:47 +0200)]
Always display more-results button below search results
marc tobias [Mon, 10 Aug 2020 12:42:34 +0000 (14:42 +0200)]
redirect to API URL when parameter &debug=1 in URL
marc tobias [Mon, 10 Aug 2020 12:41:44 +0000 (14:41 +0200)]
yet another improvement to path parsing
marc tobias [Mon, 10 Aug 2020 12:34:31 +0000 (14:34 +0200)]
missing semicolon
marc tobias [Tue, 4 Aug 2020 13:27:25 +0000 (15:27 +0200)]
prepare version 1.2.1
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
marc tobias [Sun, 12 Jul 2020 15:42:38 +0000 (17:42 +0200)]
fix URL links when serving app from a subdirectory
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
marc tobias [Fri, 31 Jul 2020 12:55:39 +0000 (14:55 +0200)]
API returns some distance in spheric, not meters
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
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>
mtmail [Tue, 7 Jul 2020 12:47:41 +0000 (14:47 +0200)]
Merge pull request #18 from mtmail/version-1dot2
Version 1dot2
marc tobias [Tue, 7 Jul 2020 12:46:20 +0000 (14:46 +0200)]
prepare version 1.2
marc tobias [Tue, 7 Jul 2020 12:42:26 +0000 (14:42 +0200)]
remove several TODO items
marc tobias [Tue, 7 Jul 2020 12:42:14 +0000 (14:42 +0200)]
update eslint npm package
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
marc tobias [Tue, 7 Jul 2020 12:12:56 +0000 (14:12 +0200)]
remove empty URL parameter when generating target_url
marc tobias [Tue, 7 Jul 2020 11:48:27 +0000 (13:48 +0200)]
fix more-results link
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
marc tobias [Tue, 7 Jul 2020 00:24:14 +0000 (02:24 +0200)]
all templates in one document, deal with window.history change
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
marc tobias [Sat, 20 Jun 2020 20:53:06 +0000 (22:53 +0200)]
forward search: use tabs to switch between simple and structured
mtmail [Fri, 19 Jun 2020 05:32:26 +0000 (07:32 +0200)]
Merge pull request #15 from mtmail/master
version 1.1
marc tobias [Fri, 19 Jun 2020 05:31:33 +0000 (07:31 +0200)]
default to localhost
marc tobias [Fri, 19 Jun 2020 05:28:48 +0000 (07:28 +0200)]
new CONTRIBUTE documentation
marc tobias [Fri, 19 Jun 2020 04:36:37 +0000 (06:36 +0200)]
control requesting polygons from API without hidden HTML field
marc tobias [Fri, 19 Jun 2020 04:35:57 +0000 (06:35 +0200)]
npm package updates
marc tobias [Fri, 19 Jun 2020 04:29:09 +0000 (06:29 +0200)]
split configuration into hardcoded default and optional config.js
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
marc tobias [Mon, 18 May 2020 22:54:38 +0000 (00:54 +0200)]
generate mapicon URLs from place category and type
mtmail [Mon, 18 May 2020 12:01:07 +0000 (14:01 +0200)]
Merge pull request #11 from mtmail/host-mapicons
Host mapicons
marc tobias [Mon, 18 May 2020 11:58:17 +0000 (13:58 +0200)]
add mapicons into repository
marc tobias [Mon, 18 May 2020 11:57:48 +0000 (13:57 +0200)]
index.html: opening html tag was missing
marc tobias [Mon, 18 May 2020 11:57:01 +0000 (13:57 +0200)]
build: a bit more readable
mtmail [Mon, 18 May 2020 11:08:56 +0000 (13:08 +0200)]
Merge pull request #10 from mtmail/skip-empty-values
Skip empty values
marc tobias [Mon, 18 May 2020 11:07:27 +0000 (13:07 +0200)]
when calling API skip any empty parameter values
marc tobias [Mon, 18 May 2020 11:06:59 +0000 (13:06 +0200)]
set HTML content type
mtmail [Mon, 18 May 2020 10:49:15 +0000 (12:49 +0200)]
Merge pull request #9 from mtmail/yarn-start
new yarn start/build commands
marc tobias [Mon, 18 May 2020 10:16:13 +0000 (12:16 +0200)]
new yarn start/build commands
mtmail [Sun, 17 May 2020 23:13:23 +0000 (01:13 +0200)]
Merge pull request #8 from mtmail/bootstrap-v4
upgrade CSS from Bootstrap 3.x => 4.x