Commit Graph

4297 Commits

Author SHA1 Message Date
Martin Raifer
9fdca21cb9 fix fetching of esri imagery metadata 2021-12-07 10:41:07 +01:00
Martin Raifer
3b035f9741 fix code lint issue 2021-12-03 18:21:08 +01:00
Martin Raifer
4658df64e9 include privacy settings in splash modal
see #8831
2021-12-03 18:11:29 +01:00
Martin Raifer
b4bc7f49bb allow to change the key of a multi-valued tag
fixes #8836
2021-12-03 15:19:07 +01:00
Martin Raifer
250763882d fix code lint issues 2021-12-02 18:46:14 +01:00
Martin Raifer
b2d0ad680a fix icons not displaying correctly in walkthrough 2021-12-02 10:10:19 +01:00
Martin Raifer
a3e65e553b Merge branch 'colour-preview' into develop 2021-12-01 12:16:42 +01:00
Martin Raifer
5761f53c41 fix eslint warning 2021-12-01 12:16:19 +01:00
Martin Raifer
e4008b4229 show native colour picker when clicking on colour preview
further tweaks:
* hide the box on invalid colours
* only affect field with a tag key that included "colour" separated by ":"
2021-12-01 12:11:13 +01:00
Martin Raifer
d062c1b0da emphasise when split affects multiple ways
* new icon with two "sciscors" indicates that there will be more than one split perfomed
* the tooltip mentions that one can limit to a single line

closes #8818
2021-11-30 16:27:56 +01:00
Martin Raifer
eec5032251 fix labeling of "reverse" button 2021-11-30 16:22:13 +01:00
Martin Raifer
27ec86c64f fix rendering of validation issues 2021-11-30 15:30:13 +01:00
Martin Raifer
7015fae91c only allow to click on valid website URLs
closes #8827
2021-11-30 15:30:02 +01:00
Martin Raifer
195e287923 fix rendering of combobox items 2021-11-30 13:49:24 +01:00
Martin Raifer
344a903170 Merge branch 'nsi_primary_match' into develop 2021-11-30 13:16:58 +01:00
Martin Raifer
4bef27db82 add to changelog, mark t.html as deprecated 2021-11-30 10:33:55 +01:00
Bryan Housel
3b3f80f690 Improve the checking of results from the NSI matcher..
(fixes: https://github.com/osmlab/name-suggestion-index/issues/5693)

Previously the code would accept the first useful match, however this match
might be an "alternate" match.  Now we keep iterating until we find a "primary"
match.

This bug could cause the validator to suggest upgrading well-tagged features to
a less wanted feature type.  For example a "Tesla Supercharger" would flip to
a "Tesla Destination Charger" if it had "Tesla" anywhere in its list of tags
(because `short_name=Tesla` is an "alternate" match for both destination
chargers and super chargers)
2021-11-29 16:49:36 -05:00
Martin Raifer
9f3f8e1366 rename method 2021-11-29 19:26:18 +01:00
Martin Raifer
54886339f6 fix code lint issue, move additional logic into display methods 2021-11-29 19:21:29 +01:00
Martin Raifer
f3d05e4b01 fix restrictions field and global search results 2021-11-29 19:09:10 +01:00
Martin Raifer
a21a985db5 fix html injecting/rendering in help pane 2021-11-29 17:31:11 +01:00
Martin Raifer
d78c357588 replace raw html injection of localized texts
by using d3 to insert the localized text spans directly into the DOM
2021-11-26 18:51:45 +01:00
Martin Raifer
ca0b131542 fix html formatting 2021-11-26 18:48:56 +01:00
Martin Raifer
ca07e33a3e Merge branch 'develop' into issue-8813 2021-11-23 18:28:14 +01:00
Martin Raifer
f6cbc65cdc always detect source type for custom background sources.
fixes #8057
2021-11-23 15:05:00 +01:00
Martin Raifer
b5fdb145f5 add more explicit html formatting of translated texts 2021-11-19 12:23:45 +01:00
Martin Raifer
040257fd44 replace unnecessary setting of raw "html" with "text" 2021-11-18 18:53:33 +01:00
Martin Raifer
12f546d6e6 escape raw osm usernames displayed in note comments 2021-11-18 15:36:35 +01:00
Martin Raifer
8892b437a1 escape and format conflict details as localized html strings
these are in html because they contain links to osm user profiles
2021-11-18 13:09:57 +01:00
Martin Raifer
8bbae82caa localizer: escape placeholder replacement values in html output mode 2021-11-18 13:09:16 +01:00
Martin Raifer
e1dda082e0 escape user name displayed in the history panel 2021-11-18 13:09:05 +01:00
Minh Nguyễn
3956b4415f Escape user name in profile URL 2021-11-17 18:18:08 -08:00
Minh Nguyễn
3f09ebee59 Corrected language code for undefined language 2021-11-17 18:17:24 -08:00
Martin Raifer
c854564389 introduce allowlist for disconnectable relation types 2021-11-16 18:03:51 +01:00
Martin Raifer
cb96257c63 explicit coloring of preset categories 2021-11-16 17:58:52 +01:00
Martin Raifer
25d4ff100f rename all openstreetcam references to kartaview
closes #8807
2021-11-16 17:42:53 +01:00
Martin Raifer
4f51ededfd fix eslint "no-implicit-coercion" warning
See https://eslint.org/docs/rules/no-implicit-coercion for this warning. However the implicit type conversion is unnecessary here, since `Number.toFixed` already returns a string, see https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Number/toFixed.
2021-11-16 11:20:01 +01:00
Martin Raifer
f3e8852808 don't select option on ambiguous multi-key radio fields
this matches the behaviour of a multi-selection: all matching options are still highlighted, but the radio-option is not set.

also fixes a minor bug with multi-selections not taking `<key> = no` properly into account

closes #8796
2021-11-09 15:10:47 +01:00
Martin Raifer
2f9285e011 improve rendering of turn-restriction boxes in narrow sidebars
Previously the applied paddings were too large for narrow sidebars, causing the turn-restriction min-map view to be much more zoomed out than needed.
This tweaks the paddings such that even for the slimmest sidebar the rendering is still acceptable (i.e. no turn arrows to be rendered completely outside of the viewport) and at the same time allows generous margins for wider sidebars.

This also fixes a minor bug where the mini-map is not properly alligned vertically
2021-11-05 14:46:53 +01:00
Martin Raifer
a30856eb83 fix clipped tooltips on controls bar (#8791)
* controls: add wrapper div to not clip tooltips

* bind wheel to controlsWrap
minor z-index change

* scrollbar for ie/firefox

Co-authored-by: Milos Brzakovic (E-Search) <mbrzakovic@microsoft.com>
2021-11-05 11:41:23 +01:00
Kyle Hensel
3a3d977f7e add preview for colour input 2021-11-04 15:05:23 +13:00
Milos Brzakovic (E-Search)
3e7fd6e033 Set development version number 2021-10-28 12:38:51 +02:00
Milos Brzakovic (E-Search)
c61f1534db v2.20.2 2021-10-28 11:46:08 +02:00
Minh Nguyễn
3ea58a3620 Consider unsaved vertices when following a way 2021-10-27 19:12:18 -07:00
Minh Nguyễn
810ce60c18 Fixed roadheight placeholders
The standard field’s placeholder is no longer relevant because it is formatted as a list of raw tag values rather than of localized numbers.
2021-10-25 21:52:54 -07:00
Minh Nguyễn
5f58b533ff Added roadheight field with unit dropdowns 2021-10-25 17:38:41 -07:00
Bryan Housel
d3058983c3 Merge pull request #8768 from openstreetmap/matchTags_improveIndex
matchTags - improve indexing data structure
2021-10-25 10:42:44 -04:00
Milos Brzakovic (E-Search)
18f7e91b50 matchTags - improve indexing data structure 2021-10-25 12:10:20 +02:00
John Firebaugh
053b652548 More typos 2021-10-24 11:06:26 -07:00
John Firebaugh
3e082bb20e Fix typos 2021-10-24 11:01:44 -07:00