2449 Commits

Author SHA1 Message Date
Will Freeman
68be0ae388 handle wikidata, reset presets to custom 2025-06-19 18:16:57 -06:00
Will Freeman
d8f688df9f ai assistant, splash screen 2025-06-15 15:31:16 -06:00
Will Freeman
5ef4399222 build fixes, fix terraform 2025-06-12 17:05:34 -06:00
Will Freeman
cde95195a1 prevent dragging existing, prevent deleting existing 2025-06-12 15:11:44 -06:00
Will Freeman
2640b3059b only allow point (ALPR) 2025-06-12 14:16:20 -06:00
Martin Raifer
42ea10d30a properly update number fields with non-numeric values
fixes a bug where the field was not properly filled in when the tag contained a non-numeric value (e.g. `direction=S`), which could eventually cause the tag be deleted inadvertently after focussing/blurring the field.

closes #11076

this regressed in 2b64d70352
2025-06-03 21:11:41 +02:00
Martin Raifer
7b702bed16 drop unused import 2025-05-15 17:03:48 +02:00
Martin Raifer
c11b661ef3 fix oneway field showing "Assumed to be Yes" if cycled through
…back to the default state. This was a slight regression from the refactoring in #10730: In an intermeditate step, the entity has `oneway=yes`, which should actually be ignored when determining if an entity has an implicit oneway state.
2025-05-15 11:26:40 +02:00
Martin Raifer
ac59197632 simplify raw tag editor ui and logic (#10889)
* always show empty line at bottom of the tag list to allow adding more tags (replaces `+` button and tab logic)
* disable delete and info buttons on empty tag
* replace deferring of tag change events and re-rendering with a simpler logic (to fix issues like #10871):
  only set input field values if the rendering event was triggered by an external event, or by a change of the respective field in the raw tag editor itself
* skip delete and tag info buttons while navigating using tab: makes it more quick to get to where one typically needs to, deleting a key using the keyboard only is possible by emptying the tag's key, and advanced users are not typically using the `i` button anyway
2025-05-12 18:21:55 +02:00
Martin Raifer
7f8e676af3 refresh numeric fields on blur (#11027) 2025-05-12 18:09:39 +02:00
Martin Raifer
9b7a98862d Merge remote-tracking branch 'origin/housenumber-labels' into develop 2025-05-12 18:02:47 +02:00
Martin Raifer
39d2201e6e fix hover-highlight of changed features in upload dialog
fixes #10030
2025-05-06 11:17:53 +02:00
McLaynV
61670beb1d remove empty line from drag_note.js (#11015) 2025-05-06 09:19:00 +02:00
Martin Raifer
6bfcc17e2d simplify/streamline rendering of set photo id button
using d3 patterns instead of complicated manual add/remove
2025-04-29 17:21:51 +02:00
Martin Raifer
b78a1ac27e clean up onclick logic 2025-04-29 16:53:19 +02:00
Martin Raifer
4a9c0b4be9 properly clean up / remove "set photo id" button for unsupported providers
closes #10992
2025-04-29 16:48:37 +02:00
Martin Raifer
96746c2f7d fix crash when feature is deleted while map-panning and photoviewer is open
closes #10994
2025-04-29 15:03:14 +02:00
Martin Raifer
6798f33598 link label of address field to housenumber input element
this makes the most sense, as it should be almost always present in the address field and be the most "unique/important" value to edit for an address

closes #11004
2025-04-29 14:40:35 +02:00
Martin Raifer
7385654df1 change walkthrough imagery to Bing
the old esri layer does not seem to be available anymore
2025-04-29 14:26:00 +02:00
Martin Raifer
ef1068c257 more robuse detection of active photo service
fixes a glitch where sometimes the _pick photo id_ button would be overlapping the zoom buttons on panoramax
2025-04-29 13:43:50 +02:00
Martin Raifer
19957d0e39 keep photo viewer state on reset, properly clean up active marker
when switching between photos from different providers

fixes #10987
2025-04-29 09:38:18 +02:00
Martin Raifer
fa91fe7c0d fix zoom resetting wrongly when switching background mid-transition
see https://github.com/openstreetmap/iD/issues/10700#issuecomment-2832010049
2025-04-26 21:10:16 +02:00
Martin Raifer
aa96a67c65 use lodash-es everywhere, replace custom clamp methods with lodash 2025-04-21 14:43:35 +02:00
Martin Raifer
4254e67ca7 render addresses (housenumber/housename)
* points with a dedicated marker
* text inside of areas
2025-04-17 17:47:08 +02:00
Martin Raifer
666583d516 add hover text for relation labels in membership editor (#10942)
* append relation id as hovertext in membership editor as last-resort disambiguation in case multiple relations have otherwise the exact same label (and type)
* show regular relation label also as hover text, which is useful to see the full name in case it is cut off with an ellipisis (…) for long-ish labels
2025-04-17 12:52:32 +02:00
Martin Raifer
95143219a2 suggest housenumber/housename values from surrounding features (#10949)
housenumber/housename are taken from surrounding areas, as well as address points that are inside (or on the perimeter of) the same building as the selected feature
2025-04-17 12:40:30 +02:00
Martin Raifer
6a88fe3d40 fix removed tooltops from re-appearing on keyboard focus, closes #9873 2025-04-13 18:40:52 +02:00
Martin Raifer
03a5aa5058 sync dropdown keys with address tags from id-tagging-schema 2025-04-09 21:46:28 +02:00
Martin Raifer
e4d34c2203 improve sorting search results categories:
1. direct OSM id results (e.g. `node/123`)
2. local osm data matches
3. lat/lon coordinate
4. geocoded results
5. other results (currently: only guessed OSM ids if the search looks like a number)
2025-03-21 17:58:23 +01:00
dragoon
a9832c88c3 CTRL+SHIFT+I should not trigger CTRL+I (#10818) 2025-03-20 15:07:18 +01:00
Martin Raifer
7d933f3875 add default implied access values for ways with "motorroad=yes"
see https://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Access_restrictions
addresses https://github.com/openstreetmap/id-tagging-schema/issues/609
2025-03-20 13:54:51 +01:00
Martin Raifer
771ad4dbd9 fix calculation of access field placeholder on multiselections 2025-03-20 13:54:47 +01:00
MOHAMED ALI FAWZI
9590c88646 Panoramax: Adopt "copy id" feature from mapillary (#10856) 2025-03-19 20:13:46 +01:00
Mattia Pezzotti
d1e5c2910c add date slider for street level photos, and more (#10394)
full list of enhancements:

* year slider to filter photos by freshness
* toggle active streetlevel layers with shortcut `shift+P`
* hfov, pitch and direction is now held between sequences and images as asked in #10392
* fix for #10361 (only panoramax)
* added tests and jsdoc
* add ticks for existing photos on slider
* general bug fixes
* rudimentary support for toDate in date slider (only when iD is started with a "to" date in the hash parameter: show a second slider to visualize and set the "to" date)

---------

Co-authored-by: Martin Raifer <martin@raifer.tech>
2025-03-18 21:09:37 +01:00
Martin Raifer
607f953465 add alternative formats for coordinate search: (#10805)
* zoom/x/y – copy/paste from an osm.org URL or web map with map-hash param (this also sets map zoom to the respective value)
* x/y – like the above, but does not set zoom level
* x y – where x and y are numbers in the user's locale's number format
2025-03-11 21:20:21 +01:00
Martin Raifer
91aa85a1c0 better handling of rate limited API map calls and other API errors
* retry all unsuccessful map calls after waiting 8 seconds (spinner continues to indicate loading state)
* also logged-in users can be rate limited: add dedicated error message
* don't log users out when requests return 401/403 (except on the _get own user data_ request, which would indicate that the oauth token was revoked): it's better to show the error message if a legitimate api call was actually unauthorized

closes #10299
2025-03-11 15:40:05 +01:00
Martin Raifer
68eb90f665 allow setting background adjustment sliders in 1% increments
closes #10289
2025-03-11 11:29:21 +01:00
Martin Raifer
bb012d6a67 only show "privacy policy updated" if user had already seen one before
see #10290
2025-03-11 11:23:59 +01:00
Kyℓe Hensel
9d16588f19 move deprecatedTags logic out of osmEntity and into a helper function (#10842) 2025-03-07 18:29:25 +01:00
Chaitanya Kadu
3fa84a2abc deduplicate postcode suggestions (#10847) 2025-03-07 13:04:21 +01:00
Martin Raifer
89af80057b link to release notes on github release, closes #10837 2025-03-06 15:20:45 +01:00
Kyℓe Hensel
38d2ccd866 isHighwayIntersection only applies to nodes, so remove from osmEntity (#10831) 2025-03-04 11:29:29 +01:00
Marwin Hochfelsner
a5b9479429 Change zoomToNote to moveToNote (#10819) 2025-02-28 09:57:13 +01:00
Martin Raifer
671e9f0069 use aqueduct as default value for tunnel tag in waterway structure field
(prerequisite for https://github.com/openstreetmap/id-tagging-schema/pull/1273)
2025-02-26 11:50:44 +01:00
Martin Raifer
813f9ef8cd hide carret when options exhausted also for comboboxes w/ static values 2025-02-25 18:30:49 +01:00
Martin Raifer
ab007dbbb8 restore highlighting of empty changeset comment field
restores behaviour from #4624/#4624, but switch to a neutral emphasis instead of the red color (which might be misinterpreted that the user already made a mistake)
2025-02-25 17:55:21 +01:00
Martin Raifer
ca7ae603c9 make sure combobox dropdown is removed when input field is removed
fixes #10319: when a relation membership role is edited, the change will trigger a redraw of the combobox (via D3 exit/enter). In this case, the `blur` event is never called, because the input element is immediately removed from the DOM. This is solved by cleaning up the dropdown when the combobox is about to be removed from the page.
2025-02-25 13:07:58 +01:00
Martin Raifer
fa501696e5 fix false-positive missing translation, for street+place subfield
closes #10812
2025-02-24 15:33:43 +01:00
Kyℓe Hensel
8659416af2 Fix duplicate values in the source field on the changeset page (#10799) 2025-02-22 09:57:18 +01:00
Martin Raifer
fb22f01b30 allow # (full width number sign) as alternative # sign for hashtags
this appears to be somewhat common in some asian scripts, resulting in unrecognized hashtags or superfluous "#" in `hashtags` changeset tag (e.g. https://stats.now.ohsome.org/dashboard#hashtag=%25EF%25BC%2583missingmaps&start=2007-02-20T23:00:00Z&end=2025-02-21T22:59:59Z&interval=P1M&countries=&topics=).
2025-02-21 18:48:42 +01:00