Commit Graph

4725 Commits

Author SHA1 Message Date
Martin Raifer
075b881978 Merge remote-tracking branch 'mtmail/mutually-exclusive-tags-validator' into develop 2024-02-26 14:11:14 +01:00
Tobias
ce51b33cf2 Improve combobox dropdown styling to give labels more room and readability (#10127)
* Fields: Break long lines in combo dropdown instead of ellipsis

Longer translations keys are not readable with ellipsis and the tooltip only shows the description (or fallback), not the title.

This change makes long use line breaks with small line height to make the whole text visible.

* Fields: Use table styles for rows to maximize available space

The flex box solution gave a lot of space to the label. This solution minimizes that space to give more space to the values dropdown.
2024-02-26 14:02:22 +01:00
marc tobias
277b5d4f45 new validator: mutually exclusive tags 2024-02-25 18:40:10 +01:00
Martin Raifer
85f4cc0316 don't reverse side tag of highway=cyclist_waiting_aid features, fixes #10128 2024-02-25 15:36:17 +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
Martin Raifer
17d1c27bec use https for Bing Maps API 2024-02-16 23:19:30 +01:00
Martin Raifer
83754e4a4a switch to Bing Maps API for Bing Streetside layer, fixes #10074
replaces the use of undocumented APIs for Microsoft's street level imagery service and gets rid of hardcoded values, e.g. for the `g` ("generation") parameter

see https://learn.microsoft.com/en-us/bingmaps/rest-services/imagery/get-imagery-metadata#get-streetside-metadata-centered-at-a-point for API docs

see also #10100
2024-02-16 18:29:23 +01:00
Martin Raifer
4829f8a1da drop *:wikipedia tags when selecting a NSI-based, fixes #9103 2024-02-16 14:32:58 +01:00
NaVis0mple
01d650d450 Expand DMS format and fix sec rounding logic (#10066)
Most DMS format parsed by @mapbox/sexagesimal, 
add a expandable matcher and two new formats for coordinates in DMS format in search bar

example: `35 11 10.1 , 136 49 53.8` (D M SS format), or `35 11.168 , 136 49.896` (D MM format)
2024-02-02 15:26:47 +01:00
Martin Raifer
aaf89d7755 don't duplicate notes which have already been seen 2024-01-24 15:16:12 +01:00
Martin Raifer
b00a7e31ec don't consider traffic_calming features as areas
prerequisite for https://github.com/openstreetmap/id-tagging-schema/pull/1076
2024-01-24 13:48:29 +01:00
NaVis0mple
59668638ac Search OSM notes by ID (#10062) 2024-01-24 13:32:35 +01:00
Max Langer
5c7432b345 Add rendering for roller_coaster=track and roller_coaster=support (#9891) 2023-12-15 16:14:20 +01:00
Martin Raifer
bb17d5c24e Merge pull request #10002 from k-yle/9876-multiple-values-empty
show empty tag values in multi-selections
2023-12-06 14:18:31 +01:00
Martin Raifer
f65ca4c342 use tag value as display text in raw tag editor 2023-12-06 14:03:47 +01:00
Martin Raifer
0d69c3c9e8 style "(empty)" option differently to distinguish from regular tag values 2023-12-06 13:56:45 +01:00
Ramith Kulal
179fa71cdf Fix cursor on foreign link field links, fixes #9992 2023-12-06 13:03:26 +01:00
Martin Raifer
edb176f513 Rerender local photos when last local photo is removed from list 2023-12-06 12:51:46 +01:00
Excitable Snowball
4bf79e9f1a Sanitize Amazon CloudFront signature in imagery_used (#10007) 2023-12-06 12:40:15 +01:00
Kyℓe Hensel
c976b9f7f4 show date/time for georeferenced photos (#9990) 2023-12-06 12:08:13 +01:00
Kyle Hensel
a876aa010c show empty tag values in multi-selections 2023-11-25 21:54:08 +13:00
Martin Raifer
ea47581bae show turn restriction editor also when there is only one _to_ way, fixes #9983
as there might exist turn restrictions with that way as _via_.
2023-11-22 16:39:47 +01:00
Martin Raifer
ac172a2b0e Don't autocomplete tags like name_1 in raw tag editor, closes #9422 2023-11-17 14:04:24 +01:00
Martin Raifer
d4bfbaaf4a Merge branch 'relation-colours' into develop 2023-11-17 13:53:19 +01:00
Martin Raifer
20b72a2b68 only render route colours if the value is a valid color
addresses https://github.com/openstreetmap/iD/pull/9424#discussion_r1046495633
2023-11-17 13:47:16 +01:00
Martin Raifer
9cc04d3f0b fix spelling mistakes 2023-11-14 11:26:36 +01:00
Martin Raifer
beea585251 Merge branch 'develop' into relation-colours 2023-11-14 10:02:55 +01:00
Kyℓe Hensel
3b24932bda fix highway=busway not supported in the turn restriction editor (#9633) 2023-11-14 09:53:23 +01:00
mxxcon
87819ed53f Adds nycdoitt:bin tag to list of tags to keep on building
When extracting a POI from a building or downgrading a building, this update keeps nycdoitt:bin= tag with the building, not extracts it to the node or deletes it.

resolves #8539
2023-11-14 09:42:32 +01:00
Martin Raifer
87a05f5815 migrate to osm-auth 2.3 2023-11-14 08:13:44 +01:00
dependabot[bot]
8252e54301 Bump @rapideditor/location-conflation from 1.2.1 to 1.3.0
Bumps [@rapideditor/location-conflation](https://github.com/rapideditor/location-conflation) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/rapideditor/location-conflation/releases)
- [Changelog](https://github.com/rapideditor/location-conflation/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rapideditor/location-conflation/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: "@rapideditor/location-conflation"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 07:14:56 +01:00
Le_Futuriste
100d94955f feat(fields/combo): add navigate button to web links in "chip" fields (#9974)
The common use case is for the `sources` key, often you have multiple URLs separated with semicolon.

This allow to navigate to URL and check them more easily instead of
doing manual work to select the URL copy and paste.

Created with the help of Martin Raifer at the sotmeu2023!
2023-11-13 23:06:05 +01:00
danieldegroot2
9a794ccdfe Use preferred tile.osm.org URL in examples (#9979) 2023-11-13 21:37:06 +01:00
Martin Raifer
accbdf35d2 use api.osm.org also for map calls, release as v2.27.3 2023-11-08 12:32:40 +01:00
Josh Lee
298d30e6a2 Fix regression in user account display (#8813) (#9906) 2023-11-08 11:02:45 +01:00
Martin Raifer
dabbd89e5d suppress autocomplete for taginfo results if field has static values
fixes #9898

Fixes a problem that occurs because the order of the field `options`
can be in general different from the order returned by taginfo
(taginfo sorts by usage, while presets typically are sorted alphabetically),
causing different values to be potentially selected for autocomplete values.
As the taginfo results typically come in a few moments delayed, this can
lead to confusing behaviour.

This solves it by just not reattempting an autocomplete using the taginfo
results, if a field has static options available.
2023-11-08 10:42:09 +01:00
Martin Raifer
c4d1390270 use api.osm.org url for OSM API calls
see https://github.com/openstreetmap/operations/issues/951
2023-10-10 16:03:10 +02:00
Martin Raifer
5d00f604ae show source field for changesets by default in the upload form 2023-10-10 16:03:09 +02:00
Martin Raifer
cb453e6192 minor cosmetic changes
drop abbreviation "mly" from mapilio module, as this originally stood for "mapillary"
2023-08-17 23:55:10 +02:00
Martin Raifer
13a0f2c180 Fix stuck cursor in input fields on Safari, fixes #9848 2023-08-17 23:34:11 +02:00
Martin Raifer
0428976f04 fix changed references to panellum code in /dist 2023-08-16 18:02:46 +02:00
Martin Raifer
be0f6e647a highlight photo after selecting from list 2023-08-11 17:43:39 +02:00
Martin Raifer
c297d9bc18 fix name clash which was overriding an existing event handler
fixes #9829

fixes regression from d7902e1388
2023-08-11 15:11:25 +02:00
Martin Raifer
7813177675 don't zoom if there are no photos with coordinates 2023-08-10 18:49:50 +02:00
Martin Raifer
5951391ae6 fix typos 2023-08-10 17:37:05 +02:00
Martin Raifer
77f31cad07 fix tests 2023-08-09 18:39:24 +02:00
Martin Raifer
cf2e4c990e lint 2023-08-09 18:24:16 +02:00
Martin Raifer
4419b36eae lazily load local photo files 2023-08-09 18:12:42 +02:00
Martin Raifer
0b03f49da1 improve drag&drop behavior 2023-08-09 17:36:50 +02:00
Martin Raifer
a7685f6bf0 highlight selected and/or hovered photos 2023-08-09 17:00:01 +02:00