Tom Hughes
2882a65d21
Merge remote-tracking branch 'upstream/pull/5349'
2024-11-22 17:51:49 +00:00
Anton Khorev
126a987aa8
Move layer definitions to yml
2024-11-22 03:16:20 +03:00
Anton Khorev
703990a5bb
Move map layer ids/codes/keys to layer definition data
2024-11-22 01:06:22 +03:00
Anton Khorev
aca9bd205e
Add subscribe/unsubscribe buttons to note pages
2024-11-22 00:55:41 +03:00
Anton Khorev
00270dd86e
Collect map layer credits into a data structure
2024-11-21 20:24:02 +03:00
Anton Khorev
61aecd32a4
Set background for layer buttons to secondary body color
2024-11-15 18:33:16 +03:00
Anton Khorev
808c2cbfa9
Remove jQuery.timers plugin
2024-11-14 13:43:41 +03:00
Andy Allan
7f611b295f
Merge pull request #5151 from AntonKhorev/no-history-and-export-buttons
...
Move History and Export buttons to secondary nav
2024-11-13 19:15:59 +00:00
Tom Hughes
380027ffe0
Merge remote-tracking branch 'upstream/pull/5316'
2024-11-13 17:05:12 +00:00
Anton Khorev
f6141277d5
Remove unused timer from new note js controller
2024-11-13 15:54:20 +03:00
Anton Khorev
c3b17aa506
Show spinner using delayed css animation in sidebar loader
2024-11-13 15:15:54 +03:00
Anton Khorev
9fded02450
Show spinner using delayed css animation in richtext preview
2024-11-13 15:05:20 +03:00
Anton Khorev
a05692a3f6
Restore loading spinner in richtext previews
2024-11-08 15:04:38 +03:00
Anton Khorev
771b75ed71
Replace query marker fade animation with css
2024-11-08 10:50:47 +03:00
Tom Hughes
9b9e857b72
Adjust imports for leaflet.locatecontrol
2024-10-30 18:41:43 +00:00
Anton Khorev
34e0620463
Remove callback from initialize() in note js controller
2024-10-25 18:48:36 +03:00
Jakob Miksch
4f79ae4612
Typos in docs
2024-10-20 11:12:49 +02:00
Anton Khorev
e47187a8fb
Merge branch 'pull/5206'
2024-09-13 12:18:17 +03:00
Tom Hughes
6d49bc6ebb
Make select all checkbox on users list work with turbo
2024-09-12 19:10:26 +01:00
Tom Hughes
b70770f8dd
Remove last traces of OPNVKarte layer
2024-09-12 18:29:55 +01:00
Anton Khorev
c661bbf7db
Adapt richtext javascript to Turbo
2024-09-10 11:48:48 +03:00
Anton Khorev
21a08ca546
Update secondary nav active item highlight from js router
2024-09-03 02:59:18 +03:00
Anton Khorev
7fb432dc32
Close small mode menu on some interactions
2024-09-03 02:59:18 +03:00
Anton Khorev
a638220ff7
Remove unused reference to missing gps layer name
2024-09-01 01:17:12 +03:00
Tom Hughes
5f2a5cadcb
Merge remote-tracking branch 'upstream/pull/4565'
2024-08-28 18:59:09 +01:00
Tom Hughes
cd36a388c2
Merge remote-tracking branch 'upstream/pull/5101'
2024-08-21 18:32:39 +01:00
Martin Raifer
9969bc5a24
Update to iD v2.30.1
2024-08-21 11:28:06 +02:00
Anton Khorev
1e9603c7b1
Remove endpoint/input values on disable
2024-08-21 11:43:26 +03:00
Anton Khorev
a088b136fb
Read lat/lon attributes when generating context menu directions urls
2024-08-20 14:55:29 +03:00
Anton Khorev
4f3576e91b
Save lat/lon to input data attributes
2024-08-20 14:55:29 +03:00
Anton Khorev
b4925d7b0d
Limit coordinate precision in drag listener
2024-08-20 14:55:29 +03:00
Anton Khorev
5a1e3e5c67
Replace geocode request boolean property with request object
2024-08-19 20:30:51 +03:00
Anton Khorev
a8838b3727
Remove endpoint markers in disable method
2024-08-19 20:30:51 +03:00
Anton Khorev
64da05f8ff
Install endpoint listeners using enable/disable methods
2024-08-19 20:30:51 +03:00
Anton Khorev
93a9f31bf0
Show/hide "Where is this?" when setting search value from directions
2024-08-19 20:05:48 +03:00
Tom Hughes
41b81bd393
Merge remote-tracking branch 'upstream/pull/5083'
2024-08-18 12:16:22 +01:00
Anton Khorev
1951ed2eb8
Change zoom precision function
...
This changes the number of fractional digits to log10(pixels / degrees) with pixels = 2**(8 + zoom) and degrees = 180.
2024-08-17 11:44:05 +03:00
Anton Khorev
80c43f51c2
Copy "From" endpoint value to search input when closing directions
2024-08-16 18:48:05 +03:00
Anton Khorev
89a35fe11f
Make getGeocode a private function
2024-08-16 08:57:39 +03:00
Anton Khorev
51cbbe6d5a
Move empty value check out of endpoint.getGeocode
2024-08-16 08:54:23 +03:00
Anton Khorev
e624871eb4
Remove endpoint.hasGeocode state and related getRoute code
...
hasGeocode didn't actually indicated if an endpoint has a value acquired from a geocoder. It was set to true when at least one call to a geocoder finished successfully, including getting an empty result. getRoute doesn't need to know what calls were made, it only needs coordinates. It also doesn't get to decide when to fetch coordinates, this is done in drag/change callbacks.
2024-08-16 08:53:34 +03:00
Anton Khorev
ec6789920c
Rename geocodeCallback to changeCallback, call it from latlon setValue
...
endpoint.setValue always calls changeCallback on its successful completion, with geocoding or without. This allows to decide when to call getRoute entirely from callbacks and event listeners.
2024-08-15 12:00:31 +03:00
Tom Hughes
953d8b4b59
Merge remote-tracking branch 'upstream/pull/5072'
2024-08-14 19:12:59 +01:00
Anton Khorev
8498d0d6a8
Switch to edit pane if rich text field validation fails
...
Allows the "Please fill out this field" message to be visible.
2024-08-14 16:43:57 +03:00
Anton Khorev
f1ca64ff84
Make setLatLng a private function
2024-08-14 05:11:56 +03:00
Anton Khorev
f65593651f
Don't set input value from endpoint.setLatLng()
...
This input value computed from coordinates is not always used. endpoint.getGeocode() overwrites it immediately.
2024-08-14 05:11:56 +03:00
Anton Khorev
e0df084e57
Don't call endpoint.setLatLng() from outside of endpoint module
2024-08-14 05:11:56 +03:00
Anton Khorev
96ac0fb728
Use content box sizing instead of negative margins
2024-08-12 03:38:09 +03:00
Anton Khorev
415f497d89
Move endpoints code to its own module
2024-08-10 06:19:32 +03:00
Anton Khorev
567a9e5b23
Rename route request variable
...
It's not boolean, the comment was outdated.
2024-08-10 06:01:35 +03:00