brouter-web/js
Henrik Fehlauer 7edae911dc Select parts of trackname in export dialog for easier overwriting
Users might want to assign custom tracknames, which requires deleting the
default name either entirely or parts of it.

By pre-selecting parts of the trackname, users can start typing right away
after opening the dialog. `Ctrl+A` to select everything is still possible,
but keeping the distance in the filename by default comes in handy,
e.g. when using a file manager not displaying the track length.

NB: Might need adaptation once trackname validation becomes less strict,
i.e. currently "(" and "->" as specified in the message catalog are replaced
with ' - ' by the validator before being inserted into the dialog.

Test Plan:
- Open "Export" dialog ("Location - Other Location - 2km")
- Open "Export" dialog for roundtrip ("Location - 1km")
- In both cases the complete trackname except for the distance
  information (including separator) should be selected.
- No unwanted behaviour even if Nominatim is slow or down.
2021-04-01 18:00:00 +00:00
..
control Select parts of trackname in export dialog for easier overwriting 2021-04-01 18:00:00 +00:00
plugin Allow Return key to accept dialog when loading no-go areas or track as route 2021-03-30 18:00:00 +00:00
router Determine allowed zone from admin boundaries (#359) 2021-01-15 22:29:20 +01:00
util Update prettier version 2020-12-05 11:51:16 +01:00
Browser.js Update prettier version 2020-12-05 11:51:16 +01:00
index.js Set focus in modals to first input field by default 2021-03-31 18:00:00 +00:00
LayersConfig.js Show specific message type for loading 2021-03-24 09:32:49 +01:00
Map.js Add credit for POIs, link to configured instance 2021-03-24 11:02:21 +01:00
Util.js Determine country rules by enclosing boundary 2021-01-23 12:43:13 +01:00
WhatsNew.js Avoid what's new content blinking 2021-03-26 16:19:33 +01:00