954 Commits

Author SHA1 Message Date
Martin Raifer
e25af7c05e enable keybindings for unavailable operations -> show info message
this should make it easier to discover what a given keypress was supposed to do (e.g. which operation it triggered)

closes #9896
2025-05-15 17:03:31 +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
9b7a98862d Merge remote-tracking branch 'origin/housenumber-labels' into develop 2025-05-12 18:02:47 +02:00
Tobias
d7fa2d6130 Translations core.yaml ID
Resolves https://github.com/openstreetmap/iD/pull/10046#discussion_r2064037631
2025-05-03 04:08:45 -07: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
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
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
94b27c0e00 add missing translation string, fixes #8995 2025-02-17 19:30:36 +01:00
Mateusz Konieczny
2ff01beba3 Better describe culvert in fix for waterway-road intersection warnings (#10783) 2025-02-17 18:59:29 +01:00
Martin Raifer
f3a985f78b ways with more than 2000 nodes: prevent lockup and provide validator-fix (#8808)
* add validation & fix for way vertices limit imposed by OSM API (try to choose splitting locations at existing intersection vertices if possible)
* fix splitting of closed ways at two or more nodes:
  this bug resulted sometimes in one extra split point in the result, or one of the split  vertices to be left unsplit
2025-02-11 20:08:38 +01:00
dragoon
6575296a85 Use distinct placeholder text for feature type search box (#10734) 2025-02-05 15:31:41 +01:00
Kyle Hensel
f244e63661 validate crossing aeroways (#9315) 2025-02-05 14:42:32 +01:00
Mark Dominus
ce0eca32db Replace info message with clearer version
When a user asks for an "Issues" report, and they have no unsaved
edits, the message formerly said:

       You have no edits yet

This changes it to say

       You have no unsaved changes
2025-02-05 14:21:04 +01:00
Kyℓe Hensel
561197ea5c remove rarely-used keyboard shortcut L (#9999) 2025-01-30 11:27:50 +01:00
Kyℓe Hensel
5735b2509d ignore relations by default in the extract operation (#9816)
using Shift+E allows the node **and its relations** to be extracted (the old behaviour)
2025-01-30 11:25:01 +01:00
Deeptanshu Sankhwar
9e2f9e0324 add a short reminder for data being objective during the walkthrough, fixes #10566 (#10568) 2024-12-11 15:06:28 +01:00
Minh Nguyễn
6cfd1cf6fc Include route number in label of named route relations (#10478)
* iD#8707 Show ref in the name of route relations

* Avoid combining PTv2-formatted name with ref

* Pair name with other tags when labeling routes

---------

Co-authored-by: Kyle Hensel <k.y.l.e@outlook.co.nz>
2024-11-03 16:38:00 -08:00
Martin Raifer
cd0cd7b6d6 drop unused strings 2024-07-29 16:19:54 +02:00
Martin Raifer
df3b5a4440 make "captured by …" translatable; single line if possible 2024-07-29 15:36:59 +02:00
Martin Raifer
9407f309a7 Merge branch 'develop' into panoramax 2024-07-29 15:13:38 +02:00
Martin Raifer
984f25adbb Merge pull request #10046 from laigyu/add-button-to-mapillary
Add a button in the mapillary image photo viewer to "add the current image id as field to feature"
2024-07-16 22:14:21 +02:00
Martin Raifer
e195947509 Merge branch 'develop' into panoramax 2024-07-12 18:22:53 +02:00
Martin Raifer
d9c973b745 disable button when photo is too far from selected feature 2024-07-12 17:49:34 +02:00
Martin Raifer
2ea9691f8e slightly tweak tooltip text 2024-07-12 17:21:19 +02:00
arch0345
14794ee992 Remove references to ImproveOSM 2024-07-08 17:15:38 -07:00
mattiapezzotti
bdcebcab33 date slider filter (kinda finished just buggy label) 2024-06-28 17:54:37 +02:00
mattiapezzotti
6b0d6f7017 added photo age filter 2024-06-25 14:58:48 +02:00
mattiapezzotti
2cdf24e804 360 photos now keep heading between sequences, added hd checkbox 2024-06-08 17:50:24 +02:00
mattiapezzotti
ab3158e48a added mock Panoramax (mapilio clone) to photo layer list 2024-05-27 17:50:35 +02:00
laigyu
b1ff86cd29 tooltip update 2024-04-15 14:54:43 +08:00
laigyu
d448b586ed revert error handler 2024-04-07 23:19:41 +08:00
laigyu
94e32a85b0 revert field button 2024-04-07 22:04:22 +08:00
laigyu
8bb1d0dfa9 Merge remote-tracking branch 'upstream/develop' into add-button-to-mapillary 2024-04-05 13:17:59 +08:00
Mattia Pezzotti
a75eace135 Fix for Point Tutorial (#10129) 2024-03-07 23:38:51 +01:00
Martin Raifer
0048c3186d tweak message text 2024-03-06 19:52:27 +01:00
Martin Raifer
82af60115d disalow splitting of closed roundabouts when they are part of a route
these cases are not covered by the splitting algorithm at the moment:
* typicall, only a part of the roundabout should be part of the resulting route
* when multiple routes meet at a roundabout coming from different angles, the roundabout must be split at any of those entry/exit point simutaneously, such that all routes remain correct

as a workaround, a mapper can remove the route relation(s) from the roundabout, split it accordingly and then re-add the respective parts to the relation(s) again.
2024-03-04 19:02:33 +01:00
Martin Raifer
11dfbe804c fix splitting of (route) relation member ways
instead of fully re-sorting the whole relation every time a member is split, perform a local operation: This works under the assumption that the relation is already sorted properly. The new way is inserted into the relation before or after the existing member, depending on how the old/new way connect to their neighboring members.

for cases where two ways form a loop, a additional look-ahead is implemented to disambiguate the order
2024-03-04 19:02:31 +01:00
marc tobias
277b5d4f45 new validator: mutually exclusive tags 2024-02-25 18:40:10 +01:00
Martin Raifer
96e6dc124f Show message about how to support OSM after a successful save, closes #10054
for example in form of a donation

this can be disabled by setting an env variable (`ID_SHOW_DONATION_MESSAGE=false`)

the icon is from https://uxwing.com/charity-donation-hand-love-icon/
2024-02-24 12:48:35 +01:00
NaVis0mple
0ad46e0b72 Add error message in photoviewer when invalid id
and update input.js
2024-01-27 15:14:27 +08:00
NaVis0mple
2b0e0f6349 update core.yaml 2024-01-18 15:36:05 +08:00
NaVis0mple
87f001474f Add set button and view button at mapillary field (#9339)
more info see https://github.com/openstreetmap/iD/issues/6196#issuecomment-751460516
I do the b. (set button) and c. (view button)
order: click OSM object -> click mapillary layer will close the OSM input field. need to do in reverse order
2023-12-20 20:05:49 +08:00
Kyle Hensel
a876aa010c show empty tag values in multi-selections 2023-11-25 21:54:08 +13:00
Martin Raifer
471354af4f add list of loaded local photos 2023-08-08 17:12:35 +02:00
Martin Raifer
634ce10d24 add proper local photo strings, enable layer switcher checkbox 2023-08-07 16:14:32 +02:00
Martin Raifer
d7902e1388 only show regional street-level photo providers in the available region
and disable selection checkbox if not zoomed in enough to load the photos
2023-08-02 16:35:56 +02:00
Martin Raifer
13300026e3 Merge branch 'develop' into vegbilder 2023-08-01 17:09:21 +02:00
Martin Raifer
7b622e040b Merge branch 'develop' into vegbilder 2023-07-20 17:21:45 +02:00
sezerbozbiyik
9876e92377 add hover and click event 2023-05-26 18:16:49 +03:00
Minh Nguyễn
e4641b581f Offer to connect sidewalk to service road without tagging crossing (#9650) 2023-05-25 13:17:34 +02:00