Commit graph

45 commits

Author SHA1 Message Date
Henrik Fehlauer
8e78c858c1 Add shortcut to toggle color coding button
Press 'C' repeatedly to switch between the various color coding options.
When the last one is reached, we show the regular route again.
2020-05-30 18:00:00 +00:00
Henrik Fehlauer
fbd3d3d383 Add missing shortcut tooltips to control buttons
Those shortcuts were already working before, but not really
discoverable for users.

To achieve a consistent UI and keep the wording in line with existing
conventions and future shortcuts (i.e. no whole sentences, shortcut in
parenthesis), the mute tooltip is changed again to occupy two lines (to
limit the width of the tooltip), to be less wordy (so it is faster to
read), to use the "mute" term (to help memorizing the M shortcut, at
least in English), and to align with the parenthesis style.
2020-05-27 18:00:00 +00:00
Norbert Renner
de3d355c0c Add contact language hint to about dialog 2020-06-17 17:51:40 +02:00
Marcus Jaschen
8621c4403b add hint for the "M" keyboard shortcut to the opacity slider tooltip 2020-06-14 19:18:43 +02:00
Norbert Renner
fcc902b3f9 Update en.json by i18next
i18next removed new dynamic keys under "sidebar.analysis.data" by PR #304, leaving them off for now; the rest is resorting
2020-06-08 10:58:52 +02:00
Marcus Jaschen
fc54c65e23 Add sidebar tab with route analysis data
- adds a new analysis tab in the sidebar
- the analysis tab shows length distribution for different way types, surface, and smoothness
- table rows can be hovered/clicked to highlight the according segments on the map (similar behaviour as the detailed data table)
- localization is implemented for `de` and `en`
- the method for finding segment edges was extracted from `js/control/TrackMessages.js` into `js/util/TrackEdges.js` as it's used in the new analysis class too (the Gulp config was changed to reflect that)

Notes:

I had the idea to use the *DataTable* plugin for rendering the tables but decided against it. The only meaningful way to sort such a table is by the length column and that's already the case. So it's just three plain, old HTML tables, rendered by jQuery.

For meaningful statistics the `processUnusedTags` setting has to be enabled in the routing profile. Only in this case the BRouter backend includes all needed tags (`highway`, `surface`, and `smoothness`) for *every* route segment in the response. I’ve enabled that setting for all profiles at my BRouter-web instance at <https://brouter.m11n.de/>.
2020-06-07 16:56:50 +02:00
Norbert Renner
e5e876f717 Make privacy policy URL configurable (#284) 2020-05-28 10:54:08 +02:00
Gautier P
a358aed464 Improve stats footer on mobile #296 2020-05-24 19:50:14 +02:00
Norbert Renner
a71dfe7895
Add hints and feedback for optional layers tree usage (#263) 2019-12-06 09:31:55 +01:00
Norbert Renner
a585dde182 Add switch to turn off centering hovered data table entry on map (#241) 2019-11-30 09:38:12 +01:00
Norbert Renner
09a185c859 Update about: daily update cycle; add elevation data credits 2019-11-26 12:22:56 +01:00
Norbert Renner
ad40459be7 Set button labels of both save and upload to "Apply"
It's the same action and that the profile is uploaded is an
implementation detail. Apply will also be used for proper profile URL
parameters.
2019-11-12 10:21:08 +01:00
Norbert Renner
21a8d8b5de Replace profile options/editor switch buttons with Bootstrap tabs 2019-11-11 19:30:29 +01:00
Norbert Renner
ef9cc7abe7
Merge pull request #235 from Phyks/custom-profiles
First PoC for UI for customizing profile
2019-11-09 09:47:32 +01:00
Gautier Pelloux-Prayer
e44a979148 Update translations 2019-10-10 23:31:36 +02:00
Norbert Renner
ddf8e27085
Merge pull request #226 from bagage/222-add-users-poi
export user's POI (point of interest)
2019-10-10 22:17:44 +02:00
Gautier Pelloux-Prayer
fa5af58372 Add markers POI layer 2019-10-10 21:07:49 +02:00
Unknown
9eeca7e2d5 Added hotline based route overlay
Added a overlay which reflects the quality of the route based on either:
* cost
* altitude
* incline
2019-10-10 19:35:51 +02:00
Phyks (Lucas Verney)
83390fc05c Add a message when no configuration options are available 2019-09-27 11:09:13 +02:00
Phyks (Lucas Verney)
ff86c85a8a Full first draft of a working UI 2019-09-27 11:09:13 +02:00
Unknown
936e5732b2 Implementation of Track loading
Use leaflet-filelayer to load kml, gpx, geojson, json tracks and display them as new Overlay layer.
2019-09-17 12:20:24 +02:00
Norbert Renner
9076e1efd3 Update brouter.de links to https 2019-09-05 12:05:29 +02:00
Phyks (Lucas Verney)
f09ebff28a Update translations 2019-08-15 21:29:14 +02:00
Gautier Pelloux-Prayer
d45572b76d Update translations 2019-08-11 19:25:37 +02:00
Gautier Pelloux-Prayer
7fad9b29db Extract missing strings 2019-08-11 19:22:58 +02:00
Gautier Pelloux-Prayer
5969c43208 Rework form inputs validation 2019-08-07 11:12:54 +02:00
Gautier Pelloux-Prayer
55005549e3 Only geojson files are supported 2019-08-07 11:10:01 +02:00
Gautier Pelloux-Prayer
1d35c802a5 Add chat in about modal 2019-06-16 19:09:49 +02:00
Gautier Pelloux-Prayer
4a2c1248a4 Update en.json 2019-06-02 09:45:49 +02:00
Henrik Fehlauer
9bc38fea89 Improve number formatting
Use locale-aware number formatting (i.e. add grouping separators).

Use hours and minutes to format travel time.
2019-05-30 23:52:59 +02:00
Henrik Fehlauer
3ee90b5cd9 Separate formatting from translations 2019-05-30 23:52:59 +02:00
Henrik Fehlauer
aeb93e33b6 Polish UI of track statistics bar
Use "x | y" format instead "x (y)"
(The old format was a bit confusing, e.g. the second part of the label
could be mistaken for an "explanation" of the first part, while it
actually is an entirely separate label.)

Repeat unit for every metric.

Use plural for units.

Use "-" everywhere when a metric is not yet available instead of mixing
"-" and "0".

Properly revert to initial "-" when removing route instead of showing
"0".

Show "0" instead of "" when route length cannot be calculated yet.

Slightly change wording ("Energy per 100km").
2019-05-30 23:52:59 +02:00
Gautier Pelloux-Prayer
3aba471c0a Add track name 2019-05-18 23:46:08 +02:00
Gautier Pelloux-Prayer
191f6b25a8 Add delete last point button 2019-05-12 10:32:32 +02:00
Gautier Pelloux-Prayer
d009aa5bc6 Add reverse route button 2019-05-11 17:52:16 +02:00
Norbert Renner
66cdc84ea6 Restore default texts from bea7af0 2019-05-10 12:35:43 +02:00
Norbert Renner
d8886e74fd Fix missing layer keys after extracting layer configs 2019-05-10 12:32:03 +02:00
Gautier Pelloux-Prayer
0fe82ece4e Improve about dialog texts 2019-05-09 10:38:28 +02:00
Norbert Renner
bea7af0084 Generate layer credits dynamically (#146) 2019-04-19 22:00:25 +02:00
Norbert Renner
871230bcbe Prepend language and country code to layer tree, ordering, i18n (#146) 2019-04-05 21:33:41 +02:00
Norbert Renner
944ccd6cfa Make default layers customizable 2019-03-22 19:50:45 +01:00
Norbert Renner
b8100719ca Add en translation strings for Load no-gos (#161) 2019-03-16 12:44:07 +01:00
Gautier Pelloux-Prayer
daa8abe810 Display strava error if any 2019-03-15 19:09:51 +01:00
Norbert Renner
0fbc6869aa Polish texts for translation
- Replace 'Trekking' with 'Trekking bike' to avoid confusion with hiking
- Add name for vm-forum profiles
- consistent brackets
2019-03-08 18:53:56 +01:00
Gautier Pelloux-Prayer
f54d72644b translate via i18next 2019-02-26 18:02:02 +01:00