Commit graph

219 commits

Author SHA1 Message Date
Marcus Jaschen
4c276428a6 Add "Help" dialog which shows available keyboard shortcuts
Dialog can be toggled via button in "About" or via keyboard shortcut "?"
2023-06-11 09:21:13 +02:00
Marcus Jaschen
806675fc22 simplify hiding QR Code size buttons 2023-05-18 14:48:10 +02:00
Marcus Jaschen
0cc9b8b13f hide legend for QR Code size toggle when QR Code cannot be rendered 2023-05-18 14:41:12 +02:00
Marcus Jaschen
3b3357c473
Share Dialog with QR Code (#729) 2023-05-16 11:31:32 +02:00
Norbert Renner
3a6f8dccc1 Replace IRC link with Matrix
as nobody answers on IRC and Matrix bridge forwards to closed room.
2023-02-21 12:29:37 +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
3e81d80cc5 Added new export as FIT file format fixes #322
Actual FIT encoding logic created as a new repo "fit-file-writer"
2022-09-14 21:02:50 +02:00
Norbert Renner
d162f9814e release: 0.18.1 2022-06-29 10:58:26 +02:00
Norbert Renner
7766db7de4 release: 0.18.0 2022-06-24 21:42:30 +02:00
Norbert Renner
f92d2e2227 release: 0.17.0 2022-06-08 15:55:46 +02:00
Norbert Renner
0fc60c1821 Work around iOS 3rd party browser download (#418)
- use FileReader.readAsDataURL (for iOS Chromium)
- add alternative Download from Server for now until proven in Prod and fixed in iOS Firefox (no i18n)
- replace cloud icons as client-side now
2022-05-28 14:27:32 +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
6a19b53dc0 Add interpolated warning for stats with beeline 2022-04-11 19:24:48 +02:00
Gautier P
5e14484302
I18n nogo areas errors (#413) 2021-05-13 17:02:18 +02:00
Norbert Renner
1330317f1d Merge branch 'master' into 68-sl-formatting 2021-04-10 12:48:10 +02:00
Norbert Renner
393a3fa129 Cleanup and credits 2021-04-09 11:52:51 +02:00
Henrik Fehlauer
eb8a7a9d36 Allow Return key to accept dialog when loading no-go areas or track as route
After ca53080e added Return key handling to the "Delete route" dialog, only
the "Load no-go areas" and "Load track as route" dialogs were still missing
similar functionality.

The implementation is based on 2a431932.

Test Plan:
- Open "Load no-go areas" or "Load track as route" dialog.
- Press Space or Return to open file dialog, choose file,
  Tab out of file input and press Return to confirm modal.
- Notice not having to Tab to the respective confirmation button.
2021-03-30 18:00:00 +00:00
Henrik Fehlauer
ef37b65c75 Fix loading no-go areas
5b52abc1 broke importing no-go areas, in particular after choosing a file
and clicking on "Load" nothing would happen.

This is due to renaming the `<input>`'s `<id>` which is still referenced
in `NogoAreas.js` by its old name.

Undoing the rename resolves the issue.

Test Plan:
- Open "Load no-go areas" dialog.
- Click on "Browse" and select GeoJSON file (e.g. as referenced in #161).
- Click on "Load".
- The no-go areas should be added to the map.
2021-03-28 18:00:00 +00: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
990b2f5fae Bump version manually 2021-03-30 21:13:03 +02: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
Gautier P
17bbef17bd Fix tooltips 2021-03-24 14:12:16 +01:00
Norbert Renner
8e328e9f0e Add credit for POIs, link to configured instance 2021-03-24 11:02:21 +01:00
Gautier P
83ac111262 Remove whatsnew icon when modal is displayed or dismissed 2021-03-23 16:29:04 +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
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
Norbert Renner
25f8828ae7 Concatenate total track
+ handle server voicehint time removed, times with 3 digits
2021-03-12 21:20:35 +01:00
Gautier P
5b52abc14e Improve modal dialogs consistency 2021-03-10 12:17:40 +01:00
Gautier P
51ed126a12 Rename dialog 2021-03-10 11:25:57 +01:00
Gautier P
dac4a419a9 Make modals fullscreen on mobile 2021-03-09 15:03:04 +01:00
Gautier P
b0d4c281e9 Hide expand icon on moblie (#296) 2021-03-09 14:51:03 +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
1a695db333
Add What's new modal (#372) 2021-02-23 18:27:08 +01:00
Norbert Renner
0ee37f557a
Add Babel and core-js & regenerator polyfills (#367) 2021-02-12 10:07:02 +01:00
Norbert Renner
88f877ec34 release: 0.15.1 2021-01-25 11:39:44 +01:00
Norbert Renner
f99b851b6e release: 0.15.0 2021-01-15 23:20:07 +01:00
Norbert Renner
a5f04dd9cd
Determine allowed zone from admin boundaries (#359) 2021-01-15 22:29:20 +01:00
Gautier P
25429b3c24 Update prettier version 2020-12-05 11:51:16 +01:00
Norbert Renner
c49b821db7 release: 0.14.0 2020-12-04 22:09:04 +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
Norbert Renner
7fd31a1dec release: 0.13.0 2020-08-04 17:46:01 +02:00
Tobias
2a43193295 Usability fix: Allow Return Key in export dialog 2020-08-02 11:20:26 +02:00
Norbert Renner
fe6c0d784c Keep elevation button always visible (#320)
so that user stays in control.
2020-07-16 10:28:40 +02:00
Norbert Renner
4892c2a1db Don't update TrackAnalysis when tab is hidden
- add missing show/hide methods called by sidebar and maintain active state
- rename inconsistent tab id
2020-06-30 21:35:51 +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