brouter-web/js/control
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.Layers.js Update prettier version 2020-12-05 11:51:16 +01:00
Export.js Select parts of trackname in export dialog for easier overwriting 2021-04-01 18:00:00 +00:00
Itinerary.js Update prettier version 2020-12-05 11:51:16 +01:00
Layers.js allow to add custom overpass queries 2021-03-19 11:45:23 +01:00
LayersTab.js Use plural form when multiple overlays are active (#378) 2021-03-01 20:13:42 +01:00
Message.js Show specific message type for loading 2021-03-24 09:32:49 +01:00
OpacitySlider.js Update prettier version 2020-12-05 11:51:16 +01:00
OpacitySliderControl.js Update prettier version 2020-12-05 11:51:16 +01:00
Profile.js Update prettier version 2020-12-05 11:51:16 +01:00
RoutingOptions.js Update prettier version 2020-12-05 11:51:16 +01:00
TrackAnalysis.js Update prettier version 2020-12-05 11:51:16 +01:00
TrackMessages.js Update prettier version 2020-12-05 11:51:16 +01:00
TrackStats.js Update prettier version 2020-12-05 11:51:16 +01:00