Commit graph

1174 commits

Author SHA1 Message Date
Anton Khorev
5c0a55d7ff Remove custom right sidebar section class 2024-04-11 17:55:05 +03:00
Anton Khorev
f3ea0e14b0 Use Bootstrap toggle buttons for layers menu 2024-04-10 18:52:53 +03:00
Gregory Igelmund
f3a31e00d4 application.js: Call updateHeader when turbo:render completed 2024-03-21 14:55:16 +01:00
Gregory Igelmund
1a7b7f5d18 Enable Turbo Drive with morphing for Messages#{destroy,mark} 2024-03-21 14:55:16 +01:00
Anton Khorev
b27572cbb1 Prevent default event when clicking OpenID button 2024-03-05 12:25:11 +03:00
Anton Khorev
2d03d738da Scroll to api error message 2024-02-12 01:27:12 +03:00
Anton Khorev
ef919179fa Show api error message if failed to (un)subscribe 2024-02-12 01:27:12 +03:00
Anton Khorev
55bb243731 Turn hide/unhide comment controls into buttons 2024-02-12 01:27:12 +03:00
Tom Hughes
c3498b490b Merge remote-tracking branch 'upstream/pull/4126' 2024-01-24 11:23:29 +00:00
Anton Khorev
00123f05ba Add relation version pages 2024-01-23 22:08:39 +03:00
Anton Khorev
2f222c49dd Add way version pages 2024-01-23 22:08:39 +03:00
Anton Khorev
85c284aaa6 Add node version pages 2024-01-23 22:08:39 +03:00
Anton Khorev
d1b58fb20e Show blocked api response when reopening notes 2024-01-17 02:15:14 +03:00
Anton Khorev
3ea2c30c58 Show blocked api response when commenting notes 2024-01-17 02:15:14 +03:00
Paul Norman
75a4d406b9 Remove OPNVKarte as a featured layer 2024-01-16 08:18:41 +00:00
Anton Khorev
4453728a72 Preview colour tag value using svg 2024-01-14 18:54:33 +03:00
Anton Khorev
d1763dd526 Fix messages heading update when message is deleted 2023-12-26 04:46:35 +03:00
Anton Khorev
800106c72b Allow to omit zoom levels for map key entries 2023-12-07 12:38:24 +03:00
Anton Khorev
e4cce5d539 Remove unused .current from primary nav 2023-12-04 05:10:41 +03:00
Nils
9f704f1d4e
Use 5 meter radius for input locations in Valhalla
This will search for road segments within 5 meter radius of the input location and choose the best path from/to whichever segment gives the cheapest cost. It should be preferable in most scenarios compared to simply snapping to the closest segment.

I'll do the same PR for our web app at https://github.com/gis-ops/valhalla-app.
2023-11-29 13:06:41 +01:00
Tom Hughes
2d1f756f75 Merge remote-tracking branch 'upstream/pull/4368' 2023-11-26 19:01:20 +00:00
Anton Khorev
857e9179b8 Read layers with available map key from config/key.yml 2023-11-24 16:38:38 +03:00
Anton Khorev
bf65abf268 Add tooltip to disabled html share button 2023-11-24 16:12:30 +03:00
Anton Khorev
6dd34d8430 Disable html share button for tracestracktopo layer 2023-11-24 15:12:41 +03:00
Anton Khorev
b5679e16db Disable text wrapping while measuring header width 2023-11-17 10:27:38 +03:00
Tom Hughes
c94de1e1a3 Improve name selection with the query tool
Pass the full expanded list of preferred languages to the client
and use that when looking for the best name for an object.

Fixes #4310
2023-11-14 17:45:50 +00:00
Anton Khorev
6f38ee2dbb Remove $spacer css from browse status panel 2023-11-14 08:37:05 +03:00
Anton Khorev
342d323c04 Remove unused maximiseMap/minimiseMap functions 2023-11-13 11:13:56 +03:00
Martin Raifer
b834bd70d0
use api.openstreetmap.org for API calls when running on www.osm.org
see https://github.com/openstreetmap/operations/issues/951
2023-11-08 12:52:23 +01:00
Tom Hughes
dc2c84f194 Fix eslint warnings 2023-11-02 10:11:36 +00:00
Tom Hughes
ef4c9a3306 Make change set comment rate limit errors display properly
Fixes #4320
2023-11-02 10:08:19 +00:00
Anton Khorev
6b203c63fe Don't pass placement: right to tooltip()
Bootstrap flips it on its own, see https://getbootstrap.com/docs/5.2/components/tooltips/#directions
2023-10-25 15:48:53 +03:00
Anton Khorev
62ba143c3c Remove some search/directions custom css 2023-10-20 16:58:59 +03:00
Tom Hughes
3e8bbe70fb Add whitespace 2023-09-22 17:54:18 +01:00
Paul Norman
00d085ed5d
Add Tracestrack Topo as featured layer 2023-09-19 22:16:42 -07:00
Andy Allan
5473be178a Refactor the directions table to use bootstrap table styling
This allows us to remove some custom CSS
2023-09-13 11:30:50 +01:00
Andy Allan
6eac50525b Use h2 as the main header on the map-ui panel 2023-09-06 18:10:02 +01:00
Andy Allan
c162a9660e Use standard padding size for map-ui sidebar
The previous padding didn't match the main sidebar, and also used
sass division as part of the calculation.
2023-09-06 18:10:02 +01:00
Andy Allan
6fc0f764d5 Round the clickable map previews on the layer switcher
Most interactive elements on the site are rounded, so we can do the
same for these map previews.
2023-09-06 18:10:02 +01:00
Andy Allan
01eed9b96c Make the sharing controls read-only
They aren't used for inputting any information, only for copying.
2023-09-06 18:10:02 +01:00
Andy Allan
dc24f6c219 Use bootstrap form controls for the link and html controls 2023-09-06 18:10:02 +01:00
Andy Allan
0ea6646fb6 Use bootstrap for share forms
This fixes alignment of the checkboxes, and uses bootstrap form
controls for the image format and scale inputs.

Move the custom dimensions input to beside the custom dimensions
display.
2023-09-06 18:10:02 +01:00
Tom Hughes
a274726f46 Add rate limiting for changeset comments
Fixes #4196
2023-08-25 19:53:04 +01:00
Tom Hughes
a8ae7b2d3e Replace links to donate.osm.org with supporting.osm.org 2023-08-19 11:22:54 +01:00
Tom Hughes
d8abf0dc7e Merge remote-tracking branch 'upstream/pull/4155' 2023-08-12 15:20:41 +01:00
Anton Khorev
65a4a95804 Highlight non-numeric home location coordinates 2023-08-11 21:47:15 +03:00
Anton Khorev
0be576a272 Don't construct invalid LatLng objects in home location 2023-08-11 21:47:14 +03:00
Anton Khorev
81ce6a7de0 Exchange focus between home location delete/undelete buttons 2023-08-11 21:47:14 +03:00
Anton Khorev
0f3f3ead0a Disable home marker tab focus and cursor change 2023-08-11 21:47:14 +03:00
Anton Khorev
2a32a0427b Disable show home location button if close enough to map center 2023-08-11 21:47:13 +03:00