Commit Graph

4944 Commits

Author SHA1 Message Date
Kyℓe Hensel ef88e1c7ca fix destination_sign relations not updated when splitting a way (#10646) 2025-02-17 11:46:42 +01:00
Kyℓe Hensel 8f9d7e01bf validate suspicious names using the user's language (#9522) 2025-02-17 11:42:04 +01:00
Kyℓe Hensel f513ccd03d enable intellisense for the main classes (#10618) 2025-02-17 11:35:50 +01:00
Kyℓe Hensel 083d6d04fe remove noexit=yes and fixme=continue when you continue a line (#9634) 2025-02-17 11:18:53 +01:00
Kyℓe Hensel 0fc978de45 remove leading semicolon from changeset source (#9887) 2025-02-17 11:13:52 +01:00
Martin Raifer 9b7b0cde9e fix walkthrough from not correctly registering deleted ways
fixes #10776, this was a regression in 7559dea
2025-02-16 11:37:25 +01:00
andrewpmk a7038955ca Revalidate disconnected_way and impossible_oneway errors on change (#8911) 2025-02-15 18:45:32 +01:00
Martin Raifer 9f2b00f8c4 Merge branch 'develop' into way-reverse-dont-change-red-turn-direction 2025-02-13 11:00:58 +01:00
Martin Raifer 918522442b minor refactoring / renaming 2025-02-13 10:55:31 +01:00
Kyℓe Hensel c1ca888b72 linkify keys & tags in the preset docs from the wiki (#10763) 2025-02-12 15:42:29 +01:00
Kyℓe Hensel 33c68064a6 Enable autofill for the source tag in the changeset panel (#10764) 2025-02-12 15:22:50 +01:00
Kyℓe Hensel bd85d31b73 fix relation membership list using a non-deterministic order (#10648) 2025-02-12 15:16:54 +01:00
Kyℓe Hensel 6388a6a2ba allow broken (unclosed) areas to be continued (#9635) 2025-02-12 15:13:26 +01:00
Kyℓe Hensel 4747ae253c refactor isOneWay to properly support bidirectional ways (#10730) 2025-02-12 14:22:09 +01:00
Kyℓe Hensel 6328776df1 Fix + symbol appearing in changeset comments from external tools (#10766) 2025-02-12 14:13:15 +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
Martin Raifer 121f3e2fb8 don't reauthenticate on HTTP 400 errors
since these are likely unrelated to authentication issues, but rather have to do with generic API errors or outages
2025-02-11 16:29:01 +01:00
Deeptanshu Sankhwar f7fc707159 Show both lat/lon and lon/lat when searching coordinates (#10725) 2025-02-11 12:50:07 +01:00
Martin Raifer 9e110cfda4 make background map tile edges opaque
Replaces the workaround of the tile rendering issues on Chrome at odd zoom levels.

The svg filter `#alpha-slope5` alters the alpha channel of background tiles such that everything but (almost) transparent pixels are rendered fully opaque.

closes #10747
2025-02-10 13:50:23 +01:00
Martin Raifer ac3fe661d0 preserve imagery offset during tile layer transition, fixes #10748 2025-02-09 19:40:06 +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
Kyℓe Hensel a2e347ac97 prevent degenerate ways caused by deleting a corner of a triangle (#10003) 2025-02-05 14:38:03 +01:00
Youssef Ahmed Hassan Elzedy afd6b83edf change icon to "X" for the exit button of feature type selection panel (#10733) 2025-02-05 14:19:18 +01:00
burrscurr 55f5a96a42 handle key values that should not be reversed together 2025-02-05 12:57:29 +01:00
burrscurr 841991055c don't change direction of red_turn when way is reversed
Fixes #10736
2025-02-05 12:57:00 +01:00
Kyℓe Hensel 2c0f8a4b5f handle cycleway:both=* (#9587)
this works for any `directionalCombo` field, including `sidewalk:both`
2025-02-05 10:41:48 +01:00
Avan2021 f44702e0b5 add oneway to list of attribute-only tag (#10706) 2025-02-04 11:00:51 +01:00
Martin Raifer 51ee85f6f5 refresh text-mode raw tag editor also when no tags are changed
e.g. when duplicate tag keys are entered or the text input contained empty or invalid lines that need to be cleaned up
2025-01-31 17:34:42 +01:00
Martin Raifer bb57d34413 fix: coordinate search result's label should upate while typing 2025-01-31 16:00:31 +01:00
Nick Doiron 6dcc73cf7c Add lang atttribute on multilingual names, wikidata/wikipedia fields (#10716)
This improves rendering of CJK names that contain unified ideographs that share a unicode codepoint, such as 化.
2025-01-31 13:49:49 +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
Kyℓe Hensel add513f39e fix confusing behaviour after logging out in the standalone build of iD (#10683)
when user logs out of osm.org via the logout button: the popup continues to the login screen, which if completed now logs the user back into iD with the new credentials
2025-01-22 17:25:56 +01:00
Martin Raifer edf41a98d2 allow tiles to be underzoomed slightly in minimap
preventing minimap from blacking out "too soon" on low map zoom, fixes #10653. Closes #10694 and #10680
2025-01-22 17:06:01 +01:00
Kyℓe Hensel e5666564e1 prevent pasting when map features are hidden (#10000) 2025-01-15 12:24:14 +01:00
Kyℓe Hensel 172aeb6e57 fix backspace not working as a keyboard shortcut (#9995) 2025-01-15 12:05:46 +01:00
Kyℓe Hensel 1c5b3b4051 use a more visible colour for oneway arrows on dark lines (#9143) 2025-01-15 11:38:36 +01:00
Kyℓe Hensel fb8b969c3f fix non-integer layer tag causing invisible features (#9933) 2025-01-15 11:35:18 +01:00
Kyℓe Hensel d1b48ece73 fix bug preventing cardinal direction increment (#9932) 2025-01-15 11:31:33 +01:00
Kyℓe Hensel 065b2e6d9e add queryString option to enable notes by default (#8042) 2025-01-15 11:29:23 +01:00
Kyℓe Hensel a585e7f946 fix crash when searching for coordinates (#10679) 2025-01-15 11:10:12 +01:00
Martin Raifer e0937f34bb also highlight search results when focusing entries using keyboard (tab) 2025-01-11 14:02:30 +01:00
Martin Raifer 415c30e60b fix search results from being stuck in highlighted state
fixes #10661, replaces and closes #10666

See https://github.com/openstreetmap/iD/pull/10666#issuecomment-2585256927 for more details about this fix
2025-01-11 14:02:29 +01:00
Chaitanya Kadu 25421ba31f remove unused import utilArrayUnion from kartaview.js (#10668) 2025-01-10 16:16:24 +01:00
Martin Raifer 7559dead80 add missing retries in walkthrough if edit menu is closed accidentally
e.g. for the "delete node" step, when the map is accidentally panned the edit menu will be closed, causing the walkthrough to get stuck
2025-01-10 16:04:55 +01:00
Martin Raifer 8c1fc20311 walkthrough: use left/right tooltips if the anchor is close to the left/right edge of the screen
closes #10634

This happens for example when the tooltip are rendered for the map controlls (right or left edge of the screen depending on user locale): If the anchor is close to the bottom of the screen, the tooltip would be placed not ideally in the corner and hard to read. It is solved by falling back to left/right tooltips with a potentially offset arrow in these cases
2025-01-10 16:01:17 +01:00
Martin Raifer 40a5c32e2f fix misaligned walkthrough mask when supersurface is not at 0/0 origin
closes #10624

The misalignment happens because the origin offset is not properly accounted for boxes around map coordinates, when the map surface is itself offset from the top-left corner of the map. This can happen with customized installations of iD, e.g. the version built into the HOT tasking manager.
2025-01-10 15:13:54 +01:00
Martin Raifer 4ae5e86491 make sure walkthrough tooltip are using the main map surface
fixes bug: if there were extra rendering surfaces loaded, e.g. the one of the turn restriction editor, the walkthrough tooltips and the curresponding masks were inadvertently rendered to that secondary surface, which can be even offscreen
2025-01-10 14:15:49 +01:00
Martin Raifer 460a9efce1 fix brief flickering during tile switching when zooming, fixes #10660 2025-01-08 12:17:52 +01:00