Commit graph

100 commits

Author SHA1 Message Date
Norbert Renner
bac32de98b Update i18n keys (#729) 2023-05-19 16:18:27 +02:00
Norbert Renner
b3e788eec4
Merge pull request #621 from tbsmark86/road-quality
Road surface as quality color + highlight matching row when hovering route on map
2022-11-03 11:55:22 +01:00
Tobias
a376c4725c New info icons for export
* if format will include turns
* warning fit with server download
2022-09-14 21:02:50 +02:00
Tobias
39aa813ea1 Added new quality mode: surface type
Required fork of leaflet-hotline with a new option to disable the
gradient display.
This is was done so that short stretches of very bad surface adjacent to
very good ones are visible.

Also note the eslint-disable-line for this compat warning:
  URLSearchParams is not supported in Safari 7, op_mini all, IE 10, android 4.1
don't seem relevant today because those are EOL for a long time now.
2022-08-28 11:46:59 +02:00
Norbert Renner
5ca95e6eec Reorder en.json (by i18next) 2022-08-10 12:05:03 +02:00
Norbert Renner
2003257779 Remove > from default export name (#202)
as it requires encoding in XML and gets removed in filename anyway.
2022-08-09 21:06:10 +02:00
Marcus Jaschen
f68d32b1f2
Improves rendering of Overpass data; add OSM link to Overpass popups (see #467) (#574)
- add some styling to the Overpass data table (alternating row colors; text alignment)
- add link to OSM object below the Overpass data table
- add 4 new entries in `en.json`
2022-06-30 11:15:01 +02:00
Norbert Renner
ad68d0023b Configure hillshading layer
- full attribution
- i18n key
- paint property defaults as template
2022-06-15 14:21:31 +02:00
Norbert Renner
5cc64015b9 Rename hiking-beta profile to hiking-mountain
- remove " (beta)" in locale text, stick to plain "Hiking" as long as we have only one and base parameters stay the same
- map hash for old URLs
2022-05-23 11:34:03 +02:00
Norbert Renner
7a5d4f071e Formatted en.json after transifex push 2022-05-19 20:14:14 +02:00
Norbert Renner
e5ea9173ae
Merge pull request #497 from nrenner/68-sl-routing
Add straight line support to routing
2022-05-12 16:26:00 +02:00
Norbert Renner
0087d31844 Add beeline hint to segment tooltip 2022-05-10 11:43:07 +02:00
Norbert Renner
6a19b53dc0 Add interpolated warning for stats with beeline 2022-04-11 19:24:48 +02:00
The Ripper
05ff4bd430
Favorite list for search (geocode control) (#452)
* search favorites

Adds the ability to save search terms, use this for autoexpand during
typing in searchbox or select from whole list

* moved class vars to contructor

Co-authored-by: Karl Schweiger <kschweiger@directbox.com>
2021-10-13 19:39:48 +02:00
Gautier P
5e14484302
I18n nogo areas errors (#413) 2021-05-13 17:02:18 +02:00
Norbert Renner
b4fbae093f Add beeline button 2021-05-05 22:25:10 +02:00
Norbert Renner
6d0cfa7999 Update en.json 2021-03-26 08:41:37 +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
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
0e8e040521 Update en.json 2021-03-23 10:15:58 +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
06f0be719d
allow to add custom overpass queries 2021-03-19 11:45:23 +01:00
Gautier P
5b52abc14e Improve modal dialogs consistency 2021-03-10 12:17:40 +01:00
Gautier P
a0a78cdab2
Translate overlay type and fix width computation (#379) 2021-03-01 20:19:38 +01:00
Gautier P
e188d8f9de
Use plural form when multiple overlays are active (#378) 2021-03-01 20:13:42 +01:00
Gautier P
845a3f0378
Add message if no elevation data is available (#373) 2021-03-01 20:05:29 +01:00
Gautier P
1ff25a566e
Add missing translatable content (#376) 2021-02-26 20:51:36 +01:00
Gautier P
a6becbc8d9 Update translations 2021-02-23 20:18:27 +01:00
Gautier P
1a695db333
Add What's new modal (#372) 2021-02-23 18:27:08 +01:00
Norbert Renner
d077290654 Add countries mask as hint where ringgo applies 2021-01-23 21:12:02 +01:00
Norbert Renner
a5f04dd9cd
Determine allowed zone from admin boundaries (#359) 2021-01-15 22:29:20 +01:00
Gautier P
779c720b7d
Add 20km allowed zone icon (#347)
Co-authored-by: Gautier P <gautier_git@damsy.net>
2020-12-01 20:56:14 +01:00
Gautier P
1d5ade4d32 Fix typo 2020-11-14 00:03:32 +01:00
Norbert Renner
1ce82ac3f0 Fix minor spelling 2020-07-17 11:31:53 +02:00
Henrik Fehlauer
09f987ea07 Combine and reuse translations for keyboard shortcuts
Using i18next's "nesting" and "interpolation" features should reduce the
overall number of strings to translate, as well as provide a
standardized pattern for shortcut tooltips (if applicable).

Note that this approach is still allowing for flexibility regarding
differently structured sentences in each language.

Resolves #315
2020-06-21 18:00:00 +00:00
Henrik Fehlauer
8a66a816f7 Run yarn lint, yarn prettier and yarn build i18next
0d6cd61 was still missing some style fixes, making `yarn` touch
unrelated files on a subsequent `git commit`.
2020-06-18 18:00:00 +00:00
Norbert Renner
77f1b5f0af
Merge pull request #314 from rkflx/pr/add-and-fix-shortcuts
Add more keyboard shortcuts and fix various shortcut related issues
2020-06-19 21:26:13 +02:00
The Ripper
0d6cd61b1f
Load Track from file and add as Route (#312) 2020-06-19 18:19:42 +02:00
Norbert Renner
de3d355c0c Add contact language hint to about dialog 2020-06-17 17:51:40 +02:00
Henrik Fehlauer
b8b1e436e6 Add shortcut to toggle elevation chart
Press 'E' to show/hide the elevation chart.
2020-06-14 18:00:00 +00:00
Marcus Jaschen
8621c4403b add hint for the "M" keyboard shortcut to the opacity slider tooltip 2020-06-14 19:18:43 +02:00
Henrik Fehlauer
844a9038ee Add shortcuts to toggle sidebar and switch tabs
The 'T' key will show/hide the most recent sidebar tab.

Pressing 'Shift+T' will switch to the next sidebar tab, possibly
wrapping around to the first tab.

If the Itinerary tab is hidden, it will be skipped.
2020-06-13 18:00:00 +00:00
Henrik Fehlauer
e56d213931 Add shortcut to show about dialog
Press 'H' to get to the helpful about dialog.
2020-06-12 18:00:00 +00:00
Henrik Fehlauer
d106552ad3 Add shortcuts to load tracks and no-go areas
Press 'O' or 'Shift+O' to open/load tracks or no-go areas respectively.
2020-06-11 18:00:00 +00:00
Henrik Fehlauer
a420ad5c0b Add shortcut to export route
Press 'X' to trigger the export route dialog.

Automatically populating the trackname field should work too.
2020-06-10 18:00:00 +00:00
Henrik Fehlauer
6da520ed4d Add shortcut to toggle profile switcher
Press 'G' to open the profile switcher, select a profile with the arrow
keys, apply with 'Enter' and close the switcher with 'Escape'.

While 'T' and 'P' will be / were already taken, 'G' is at least easily
reachable with the left hand for users using a mouse with their right
hand at the same time.

Since Bootstrap keeps updating the tooltip when changing options in the
dropdown (which is useful in case the text is longer than the width of
the control), the shortcut text needs to be applied dynamically too.
2020-06-09 18:00:00 +00:00
Henrik Fehlauer
ba0bb39fd5 Add shortcut to toggle Strava layer
Press 'S' to show the Strava buttons (if the API key has been set) as
well as the Strava segments layer (once it has been fetched).

Note that fetching and updating data from Strava still needs to be
triggered manually by clicking the respective biking or running button.
2020-06-08 18:00:00 +00:00