5051 Commits

Author SHA1 Message Date
Milos Brzakovic (E-Search)
e91dc1b4f6 states - aria selected/expanded 2021-11-30 14:28:43 +01:00
Milos Brzakovic (E-Search)
041332045d role=button on disclosure 2021-11-30 14:26:42 +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
Milos Brzakovic (E-Search)
50de029efa role=button on help 2021-11-30 11:16:32 +01:00
Milos Brzakovic (E-Search)
4bee356fc1 role=button on disable/enable/reset all 2021-11-30 10:34:10 +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
Milos Brzakovic (E-Search)
a77840eb2a image alt attr in tile imagery and tag wiki info 2021-11-29 19:31:58 +01: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
Milos Brzakovic (E-Search)
10fad143f2 more descriptive: background display options reset 2021-11-29 18:11:06 +01:00
Martin Raifer
a21a985db5 fix html injecting/rendering in help pane 2021-11-29 17:31:11 +01:00
Milos Brzakovic (E-Search)
094ace65fa road speed unit 2021-11-29 13:26:31 +01:00
Milos Brzakovic (E-Search)
31882a8fe4 background display options 2021-11-29 13:26:10 +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
Milos Brzakovic (E-Search)
fcd8d920ba operation remove 2021-11-26 16:20:50 +01:00
Milos Brzakovic (E-Search)
03fed63668 increment - decrement 2021-11-26 16:10:20 +01:00
Milos Brzakovic (E-Search)
7a7e34ed75 imagery offset 2021-11-26 13:24:46 +01:00
Milos Brzakovic (E-Search)
1170f25ebf plus, add 2021-11-26 13:17:19 +01:00
Milos Brzakovic (E-Search)
7f1558624a forward, backward (expand, collapse) 2021-11-26 12:49:58 +01:00
Milos Brzakovic (E-Search)
4db3e720c0 close icon button 2021-11-26 12:25:12 +01:00
Milos Brzakovic (E-Search)
fef933a2a4 sidebar toogle 2021-11-26 11:47:55 +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
3373f1b53d enhance and move geojson property sanitation to data layer module 2021-11-23 12:53:10 +01:00
Kyle Hensel
cc0ae0a714 fix bug with numeric properties in custom map data 2021-11-23 20:24:12 +13: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