Anton Khorev
18f3adbf5d
Remove unused return value of addCreatedNoteMarker()
...
This function adds a marker to notes layer. This controller doesn't need to do anything with markers of existing notes.
2024-12-31 23:46:29 +03:00
Anton Khorev
ae5b7812cc
Rename updateMarker() to addCreatedNoteMarker()
...
This function doesn't update any existing marker.
2024-12-31 23:46:29 +03:00
Anton Khorev
9d8ca8be11
Pass location instead of marker to createNote()
2024-12-31 23:42:40 +03:00
Anton Khorev
954eafd424
Move create note callback to button click handler
2024-12-31 23:37:34 +03:00
Anton Khorev
f169299b53
Don't pass url to createNote()
2024-12-31 23:25:11 +03:00
Anton Khorev
63a4f12550
Pass text instead of form to createNote()
2024-12-31 23:22:59 +03:00
Anton Khorev
fa0c12cdcd
Disable new note submit button in click handler
2024-12-31 23:02:47 +03:00
Anton Khorev
c4709e2a05
Rename newNote to newNoteMarker
2024-12-31 22:37:41 +03:00
Anton Khorev
c4e473ed89
Wrap diary entry location coordinates
2024-12-25 00:55:36 +03:00
Anton Khorev
2ba85472be
Change image download warning message to a list
2024-12-19 18:58:32 +03:00
Anton Khorev
6c1704b245
Add 'canDownloadImage' layer option
2024-12-19 18:58:32 +03:00
Tom Hughes
5ce51e9748
Merge remote-tracking branch 'upstream/pull/5419'
2024-12-19 08:42:02 +00:00
Anton Khorev
25e4a80760
Get note text only from textarea within left sidebar
2024-12-19 05:22:54 +03:00
Anton Khorev
2c57c66195
Center share popup inside the browser window
2024-12-19 04:25:15 +03:00
Anton Khorev
8a8c2517f2
Add 'canEmbed' layer option
2024-12-18 18:36:44 +03:00
Anton Khorev
2c84465cc2
Add map.getMapBaseLayer()
2024-12-18 18:31:46 +03:00
Anton Khorev
de0bf25499
Rename return values of getMapBaseLayerId() to layerId
2024-12-18 18:28:18 +03:00
Anton Khorev
7e7ede890e
Merge branch 'pull/4985'
2024-12-18 16:35:01 +03:00
Emin Kocan
95e1aff234
Add social sharing functionality
2024-12-17 23:36:47 +01:00
Martin Raifer
1ba5b7fef0
iD: listen to manual hashchanges from iframe parent
...
Pan to the new `map` location when the hash change was not not triggered by map interaction from inside iD itself.
This mirrors the behaviour when manually editing the `map` hash parameter on osm.org outside of iD.
This also fixes https://github.com/openstreetmap/iD/issues/10592 (error in js console when iD is opened outside of an iframe by directly navigating to osm.org/id).
2024-12-11 14:59:57 +01:00
Anton Khorev
bfc8c5f6de
Rename 'keyid' layer option to 'layerId'
2024-12-10 01:23:41 +03:00
Tom Hughes
7b05c1c060
Merge remote-tracking branch 'upstream/pull/5375'
2024-12-08 14:55:55 +00:00
Anton Khorev
02257f7294
Allow specifying extra layer options in layers.yml
2024-12-07 19:21:36 +03:00
Anton Khorev
821ebdd57b
Use fetch() instead of iframe to make remote control requests
2024-12-04 12:30:19 +03:00
Tom Hughes
8a020b3ec7
Don't send comment text when reopening a note
...
Fixes #5359 .
2024-11-29 17:41:00 +00:00
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