5051 Commits

Author SHA1 Message Date
Martin Raifer
0ea3afa9f7 make sure map is not panned on arrow key input on 360° photo viewer
if the pannellum viewer is active, the arrow keys should rotate the view, and not also pan the map.

fixes #10360
2024-07-31 18:09:06 +02:00
Martin Raifer
e89121b550 fix vegbilder overlay from being overwritten by panoramax layer 2024-07-31 17:53:33 +02:00
Martin Raifer
b4eaeb3088 lint: remove unused code, code style and early update cached username 2024-07-29 16:29:39 +02:00
Martin Raifer
4646b67bac drop (for now) unused ui code 2024-07-29 16:22:46 +02:00
Martin Raifer
f25e94c71b update username filter on input change; fix multiple names/ids
in panoramax a username can resolve to multiple ids (when the same name is used on multiple servers).
further, the username filter input field can contain more than one username
2024-07-29 16:15:34 +02:00
Martin Raifer
608251a6ab update photos immediately when filters change 2024-07-29 15:47:24 +02:00
Martin Raifer
df3b5a4440 make "captured by …" translatable; single line if possible 2024-07-29 15:36:59 +02:00
Martin Raifer
b492627689 switch link to panoramax.xyz viewer 2024-07-29 15:36:26 +02:00
Martin Raifer
9407f309a7 Merge branch 'develop' into panoramax 2024-07-29 15:13:38 +02:00
Martin Raifer
e66cab06eb update all relation parents of an entity, fixes #10342
this had regressed in 5f1e405 – if an entity had two or more parent relations, the loop would abort after the first parent relation because `memo[entity.id]` would be set to true in the first parent iteration. what we want is to only abort if the same `relation` is seen again (in a r123 [-> …] -> r123 cirular relationship)
2024-07-25 18:13:27 +02:00
Martin Raifer
689d5f70a4 lint trailing spaces 2024-07-24 15:14:13 +02:00
Dimitar
42ea2b9dee Added railway=ventilation_shaft as area key (#10278)
fixes https://github.com/openstreetmap/id-tagging-schema/issues/1263
2024-07-22 15:28:28 +02:00
Waldir Pimenta
95ce7de78b Add waterway=flowline to waterway tags representing directional water flows (#10283) 2024-07-17 10:11:22 +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
d13c202ac0 update "add mapillary tag" button state when tags of the feature change
addresses https://github.com/openstreetmap/iD/pull/10046#pullrequestreview-2176313208
2024-07-16 22:10:08 +02:00
Tobias
b0235f34d1 Improve/fix type definitions (#10324)
Co-authored-by: Kyℓe Hensel <k-yle@users.noreply.github.com>
2024-07-16 17:14:01 +02:00
Martin Raifer
da9aebbf68 Merge branch 'fix-localized-field-hidden' into develop 2024-07-16 17:08:08 +02:00
Martin Raifer
42f274f73f move reused regex to exported constant 2024-07-16 17:04:49 +02:00
Martin Raifer
175eea340b Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/mapbox/vector-tile-2.0.2' into develop 2024-07-16 16:53:25 +02:00
Sam Ho
43c65bf994 Fix localized field hidden despite nonempty subkeys (Closes#10323) 2024-07-16 12:38:06 +01:00
mattiapezzotti
b0d9a2c7ad fixing the mess 2024-07-14 10:13:16 +02:00
Mattia Pezzotti
fe772db1ce Update panoramax.js
Fixing a bug with heading
2024-07-13 13:04:48 +02:00
Mattia Pezzotti
ab69c4a384 Update panoramax_images.js
Fixing a bug with heading
2024-07-13 13:03:36 +02:00
Martin Raifer
e195947509 Merge branch 'develop' into panoramax 2024-07-12 18:22:53 +02:00
Martin Raifer
7d65b19d6d simplify code 2024-07-12 18:02:14 +02:00
Martin Raifer
1d0f9e6447 lint 2024-07-12 17:53:41 +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
b604ef8f6f make button work on newly created features; refactor code
code: we should not to not rely on directly manipulating/accessing other components DOM elements
2024-07-12 17:22:03 +02:00
Martin Raifer
6e9d225828 use slightly smaller "plus" icon
(this one is also used in other similar UI locations, e.g. the "add tag" in the raw tags editor, etc.)
2024-07-12 17:20:09 +02:00
Martin Raifer
a166210f34 Merge remote-tracking branch 'arch0345/improveosm' into develop 2024-07-12 12:54:16 +02:00
mattiapezzotti
a9d8da10d1 prepared for pr 2024-07-12 00:01:05 +02:00
mattiapezzotti
ace965c2bb new endpoint! 2024-07-10 10:55:38 +02:00
Mattia Pezzotti
20e6473842 Merge branch 'openstreetmap:develop' into panoramax 2024-07-10 10:37:15 +02:00
mattiapezzotti
91281df1df the slider works now. 2024-07-10 10:35:32 +02:00
arch0345
14794ee992 Remove references to ImproveOSM 2024-07-08 17:15:38 -07:00
mattiapezzotti
a6c667d9a9 still working on the slider 2024-07-07 15:19:13 +02:00
mattiapezzotti
fee3d4a3f7 trying to fix the date slider save thing arggg 2024-07-06 14:47:05 +02:00
mattiapezzotti
b1f787c94d fixed typos and syntax errors 2024-07-06 13:38:29 +02:00
Martin Raifer
b2b3009a64 .env oauth2 config: drop client secret; use URL if API_URL is empty 2024-07-05 16:15:47 +02:00
mattiapezzotti
fd7534b175 fixed age slider label, added current selected year label and maximum oldest year 2024-06-29 09:11:43 +02:00
mattiapezzotti
6d1a6c29a2 Merge branch 'panoramax' of github.com:mattiapezzotti/iD into panoramax 2024-06-28 17:55:18 +02:00
mattiapezzotti
bdcebcab33 date slider filter (kinda finished just buggy label) 2024-06-28 17:54:37 +02:00
Martin Raifer
21d99715a7 fix zoom/pan glitch on plane photos
When changing to a different photo, it can be the case that the new photo has a different aspect ratio: the zoom behaviour needs to be updated.

Also, keeping the "orientation" does not make sense for plane photos, and even keeping the previously shown photo's zoom is also not typically desired for these.
2024-06-26 13:12:26 +02:00
mattiapezzotti
6b0d6f7017 added photo age filter 2024-06-25 14:58:48 +02:00
Mattia Pezzotti
6c74588ed8 added username filter 2024-06-23 16:18:18 +02:00
mattiapezzotti
44baa63ed5 username filter wip 2024-06-23 14:05:06 +02:00
mattiapezzotti
8b68f07799 added a way to show only sequences on low level zoom 2024-06-22 10:11:44 +02:00
Mattia Pezzotti
e7daa508e8 refactored how panoramax shows frames 2024-06-18 13:09:28 +02:00
mattiapezzotti
6467e9efe3 added draw sequences lines on lower zoom levels 2024-06-13 17:02:57 +02:00
mattiapezzotti
15b1f6111e added date and photo type filter 2024-06-13 00:55:21 +02:00