Commit graph

16 commits

Author SHA1 Message Date
Norbert Renner
43b1b70a0a Don't filter points of GeoJSON layer (#727) 2023-05-17 12:27:23 +02:00
Norbert Renner
3c8be96085 Support beelines in hash url (first stab) 2021-06-19 16:23:01 +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
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
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
Gautier P
51ed126a12 Rename dialog 2021-03-10 11:25:57 +01:00
Gautier P
25429b3c24 Update prettier version 2020-12-05 11:51:16 +01:00
Norbert Renner
5704004d23
Consider guess > max points (#327)
Simply set max points to guess, assuming guess is always good
2020-07-31 22:08:43 +02:00
Norbert Renner
9500481df0 Sanitize track name (#312)
to prevent code in GPX getting executed like this:
<name>&lt;img src="xyz" onerror="alert('script executed')"></name>
2020-07-14 09:27:57 +02:00
The Ripper
2c70b31376 artefacts removed 2020-07-08 10:47:44 +02:00
The Ripper
3f7e0fa66a iteration test for tolerance value 2020-07-07 16:44:18 +02:00
The Ripper
fb39962100 Limited route points to max 200 or lower depending on track length 2020-07-04 14:51:13 +02:00
Norbert Renner
5ad12a7c68 Refactor common track loading parts (#312)
- common track style
- TracksLoader now also adds points as POIs
- RouteLoaderConverter does not add route points as POI
2020-06-25 17:15:09 +02: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
The Ripper
0d6cd61b1f
Load Track from file and add as Route (#312) 2020-06-19 18:19:42 +02:00