]> git.openstreetmap.org Git - nominatim-ui.git/commit
Handle all page changes via page store (#70)
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 13 Feb 2021 11:11:08 +0000 (12:11 +0100)
committerGitHub <noreply@github.com>
Sat, 13 Feb 2021 11:11:08 +0000 (12:11 +0100)
commit9e8d3367fe08a708b1019ff39ac752e0105be20a
tree2b29d8e78e7647815967f48d2aa62a1522a15b35
parentf51f2a70794858f9c8fb5d75ecd40fd1e4ec3897
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
12 files changed:
src/App.svelte
src/components/DetailsLink.svelte
src/components/PageLink.svelte
src/components/ReverseBar.svelte
src/components/ReverseLink.svelte
src/components/SearchBar.svelte
src/components/UrlSubmitForm.svelte
src/lib/api_utils.js
src/lib/stores.js
src/pages/DetailsPage.svelte
src/pages/ReversePage.svelte
src/pages/SearchPage.svelte