Marcus Jaschen
1b0daa8fce
fix for flickering search field on Firefox @ Android ( #394 )
2021-03-27 20:00:17 +01:00
Henrik Fehlauer
f31c379369
Fix broken Return key in export route dialog
...
2a431932 made it possible to press `Return` to confirm the export dialog.
After 5b52abc1 this stopped working though, even when the text input had focus.
This is due to moving the `<input>` out of the `<form>` and referencing the
form's `name` attribute instead. However "The value of [the form] attribute
must be the id of a <form> in the same document" according to
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button .
Adding such an `id` restores the `Return` key to working properly.
The same change is done for the no-go form, where the same issue would otherwise
affect a later patch adding similar `Return` key handling.
Test Plan:
- Create Route, open "Export route" dialog.
- Move focus to an input field.
- Press `Return`.
- The file dialog for saving should open.
2021-03-27 18:00:00 +00:00
Norbert Renner
7caa7aeba6
Keep trkpt and wpt on single line
...
to better match BRouter output
2021-03-27 15:19:03 +01:00
Norbert Renner
fbcfd8cf8e
Update leaflet-control-geocoder ( #296 )
...
Switch BR.Search to ES6 class because L.Control.Geocoder is now an ES6 class and Leaflet L.Class.extend doesn't work anymore (undefined).
2021-03-26 21:13:38 +01:00
Norbert Renner
cd8ac29aab
Merge pull request #392 from bagage/fix/whatsnew-blink
...
Fix/whatsnew blink
2021-03-26 20:00:12 +01:00
Henrik Fehlauer
144cc2923e
Add more exceptions to .prettierignore
...
This allows `yarn prettier` to run successfully.
2021-03-26 18:00:00 +00:00
Gautier P
dee2515592
Avoid what's new content blinking
2021-03-26 16:19:33 +01:00
Gautier P
268525269b
Watch Changelog changes in gulp
2021-03-26 16:05:12 +01:00
Norbert Renner
6d0cfa7999
Update en.json
2021-03-26 08:41:37 +01:00
Norbert Renner
dd34064e8c
Increase file size limit for tracks, configurable
...
(abrensch/brouter#295 )
2021-03-26 08:41:37 +01:00
Marcus Jaschen
5f0f155e5f
Improve typography for "What's new?" dialog ( #391 )
...
- remove <h1> (redundant)
- adjust font-sizes and margins for headings (h2, h3)
2021-03-26 08:28:40 +01:00
Norbert Renner
a066adc752
Merge pull request #390 from mjaschen/feature/route-loader-keyboard-shortcut
...
Route Loader Keyboard Shortcut
2021-03-25 09:16:50 +01:00
Marcus Jaschen
0998e210e4
Merge remote-tracking branch 'upstream/master' into feature/route-loader-keyboard-shortcut
2021-03-25 08:00:26 +01:00
Marcus Jaschen
d1285baa69
change keyboard shortcuts; update tooltips
...
- "Load Track as Route" is now triggered by pressing `Shift-O`
- "Load No-Go-Areas" is now triggered by pressing `Shift-N`
- tooltip for navbar link is updated an ready for translation
2021-03-25 07:58:51 +01:00
Norbert Renner
e9540170a7
Check if localStorage is available ( #388 )
2021-03-24 18:48:44 +01:00
Gautier P
17bbef17bd
Fix tooltips
2021-03-24 14:12:16 +01:00
Marcus Jaschen
bc26eb3042
cleanup/remove unused option value
2021-03-24 11:45:14 +01:00
Marcus Jaschen
dcc5d3a554
add keyboard shortcut for opening route loader dialog
...
The route loader can be opened by pressing key 'r' now.
2021-03-24 11:43:57 +01:00
Norbert Renner
f7ef9de8ef
Merge pull request #389 from nrenner/polish-overpass
...
Polish POI layer
2021-03-24 11:24:18 +01:00
Norbert Renner
874f1c2f27
Add translation for "overpass" layer category
2021-03-24 11:15:40 +01:00
Norbert Renner
8e328e9f0e
Add credit for POIs, link to configured instance
2021-03-24 11:02:21 +01:00
Norbert Renner
f06a081bdb
Configure Kumi Systems instance
...
which seems to be a faster and hopefully less overloaded
2021-03-24 11:00:52 +01:00
Norbert Renner
9f5cb05532
Show specific message type for loading
2021-03-24 09:32:49 +01:00
Norbert Renner
6a2da2064c
Fix overpass layer not selected on hash init
2021-03-24 09:22:11 +01:00
Norbert Renner
127f8e9e5b
Use other color than blue when CyclOSM default
...
see also #297
2021-03-24 09:16:57 +01:00
Norbert Renner
ccd9fc51cc
Remove ?data= from overpassBaseUrl
2021-03-24 09:06:10 +01:00
Norbert Renner
f49531c16b
Merge pull request #388 from nrenner/386-fix-whatsnew
...
Polishes whatsnew modal
2021-03-24 08:31:47 +01:00
Gautier P
83ac111262
Remove whatsnew icon when modal is displayed or dismissed
2021-03-23 16:29:04 +01:00
Gautier P
cb9f4fd85d
Fix error/warning messages display
2021-03-23 11:06:35 +01:00
Gautier P
055a5f54eb
Do not display whatsnew for new users
2021-03-23 11:05:46 +01:00
Norbert Renner
0e8e040521
Update en.json
2021-03-23 10:15:58 +01:00
Marcus Jaschen
ca53080e7a
auto-focus primary button in "delete route" dialog ( #387 )
...
After opening the "delete route" dialog the primary action button gets the
current focus. So it's possible to confirm resetting the route by pressing
"Enter".
bootbox had to be updated to to achieve this (in prior versions of bootbox the
needed callback didn't exist).
see #385
2021-03-23 09:45:35 +01:00
Norbert Renner
f3d4b23726
Merge pull request #384 from stesie/add-overpass-layer-re
...
Add (Overpass based) POI layer
2021-03-22 21:50:03 +01:00
Stefan Siegl
45b8b40ce8
Add loading indicator
2021-03-22 20:54:11 +01:00
Stefan Siegl
1b60d9af73
Use separate label/helptext instead of plain placeholders
2021-03-21 12:01:29 +01:00
Stefan Siegl
f345fe54a8
Use nwr[] shortcut in all overpass queries
2021-03-21 11:23:45 +01:00
Stefan Siegl
6b9f369d88
Set minZoom=12
2021-03-21 11:06:55 +01:00
Stefan Siegl
ed4b3ee3e2
Remove markerSymbol
2021-03-21 11:06:32 +01:00
Norbert Renner
d3e344fd25
Merge pull request #383 from bagage/feat/improve-mobile
...
Feat/improve mobile
2021-03-19 18:10:30 +01:00
Stefan Siegl
fef0e07799
use svg overpass icon
2021-03-19 12:33:24 +01:00
Norbert Renner
265583e0c5
Format name and creator
2021-03-19 12:22:20 +01:00
Stefan Siegl
06f0be719d
allow to add custom overpass queries
2021-03-19 11:45:23 +01:00
Stefan Siegl
275b0f75a5
show email and web addresses as links
2021-03-19 11:45:22 +01:00
Stefan Siegl
fe5ff508c1
more amenity, shop & tourism layers
2021-03-19 11:45:22 +01:00
Stefan Siegl
7532488a02
Add overpass-layer (first sketches)
2021-03-19 11:45:22 +01:00
Gautier P
1c13587974
Update France Go area to 10km
2021-03-19 11:44:37 +01:00
Norbert Renner
da9ffd9224
Format POIs
2021-03-19 10:23:37 +01:00
Norbert Renner
7fc2f6bee5
Format route points as waypoints
2021-03-18 18:04:57 +01:00
Gautier P
ea04fdb479
Update bootstrap-select dep to avoid error on mobile
2021-03-17 14:15:17 +01:00
Norbert Renner
449a24e5ce
Refactor VoiceHints to ES6 classes
2021-03-17 10:25:02 +01:00