Commit Graph

146 Commits

Author SHA1 Message Date
Martin Raifer
bd98ff904b restrict taginfo suggestions in raw tag editor to ones which match the input string
this additinoal filtering is needed because of the caching performed by the services/taginfo.js module.
2023-05-16 17:10:30 +02:00
Martin Raifer
9779f320a8 Properly handle case sensitive tags in taginfo suggestion in raw tag editor, fixes #9640 2023-05-16 17:06:39 +02:00
Martin Raifer
41aa127d23 reduce use of parseFloat
as it silently strips non-numeric suffixes (e.g. a value of "123 foo" is transformed into a numeric value of 123 by `parseFloat`, which is typically not what we desire)
2022-11-24 19:39:15 +01:00
Martin Raifer
a6be05966b improve comboboxes: (#9344)
* pressing return/enter doesn't deselect the entity anymore
* predefined ("static") field options are always listed in the combobox dropdown, even if taginfo doesn't include them (because of low usage)
* (raw) tag values can also be entered for localized strings
* static localized strings can be used before taginfo response is received (useful when taginfo is slow or unavailable)
* fixes some bugs which can be triggered when taginfo is slow
* fixes a bug where the autocomplete dropdown doesn't work properly when tags have "few" values
* multiCombo fields can be case-sensitive now
2022-11-08 12:09:06 +01:00
Martin Raifer
df1f755150 don't show empty tooltips in backgrounds list 2022-09-27 14:00:28 +02:00
Martin Raifer
7d546a8f60 refactor further modules to not rely on html injection 2022-06-24 19:31:41 +02:00
Martin Raifer
209cc23d92 don't inject html code in preset names 2022-06-24 19:11:00 +02:00
Martin Raifer
8bb1d39431 refactor validation modules to not inject html 2022-06-24 13:25:56 +02:00
Martin Raifer
28eae9ed87 refactor uiSections to not inject html 2022-06-24 11:45:54 +02:00
Martin Raifer
ac77289b4d refactor localized text rendering in tooltips, flash messages 2022-06-23 18:55:57 +02:00
Martin Raifer
422861dbc7 render background source labels as text, not html 2022-06-23 10:56:17 +02:00
Martin Raifer
9576e95d83 change label of ui fields from raw html to a callback function
fixes #9159
2022-06-23 10:49:38 +02:00
Martin Raifer
d787b2e055 fix rendering of relation membership combo dropdown 2022-06-06 17:03:32 +02:00
Martin Raifer
632e24137a drop legacy builds, unneeded polyfills, document drop of IE11 support 2022-02-03 13:07:28 +01:00
Milos Brzakovic (E-Search)
e2f2568c83 translate background nudge title 2021-12-07 17:16:26 +01:00
Martin Raifer
cc6f16d480 Merge branch 'develop' into accessible_ui 2021-12-07 16:22:01 +01:00
Martin Raifer
144f3e9d22 Merge remote-tracking branch 'k-yle/custom-data-numbers-bug' into develop 2021-12-07 12:24:23 +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
Milos Brzakovic (E-Search)
6337e4d769 aria-pressed on modes/notes tablist/tab on raw_tag 2021-12-02 16:31:41 +01:00
Martin Raifer
27ec86c64f fix rendering of validation issues 2021-11-30 15:30:13 +01:00
Milos Brzakovic (E-Search)
e91dc1b4f6 states - aria selected/expanded 2021-11-30 14:28:43 +01:00
Milos Brzakovic (E-Search)
4bee356fc1 role=button on disable/enable/reset all 2021-11-30 10:34:10 +01:00
Martin Raifer
9f3f8e1366 rename method 2021-11-29 19:26:18 +01:00
Milos Brzakovic (E-Search)
10fad143f2 more descriptive: background display options reset 2021-11-29 18:11:06 +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
Milos Brzakovic (E-Search)
fcd8d920ba operation remove 2021-11-26 16:20:50 +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
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
25d4ff100f rename all openstreetcam references to kartaview
closes #8807
2021-11-16 17:42:53 +01:00
Bryan Housel
9e3df2c4aa Create an issue key property that changes when data needs refresh
(closes #8655)
2021-08-27 17:13:36 -04:00
Bryan Housel
2b7adf89fa Remember user's preference for expanding issue-info section
This shows the tag diff, and other helpful information about the detected issues.
It is expanded by default now
(closes #6408, closes #8143)
2021-03-08 15:10:30 -05:00
Bryan Housel
f87c2d9357 Allow validators to return provisional results, revalidate after delay
Also add a ton of commments to validator.js
2021-01-27 10:38:48 -05:00
Quincy Morgan
162f97bfc8 Fix issue where items could not be deselected from the selection list in some browsers (close #8151) 2020-11-02 09:47:06 -05:00
Quincy Morgan
e40180d0c4 Update data_layers.js to be consistent with 2a2bfca174 2020-10-30 09:33:03 -04:00
Quincy Morgan
2a2bfca174 Change implementation of #8141 2020-10-30 09:29:51 -04:00
Wille Marcel
a77dbe9f83 fix error when custom background url is empty 2020-10-30 08:26:14 -03:00
Quincy Morgan
9500e8f3c4 Make the warnings and errors lists in the issues pane navigable via keyboard 2020-10-29 13:21:21 -04:00
Quincy Morgan
b2b10ccebd Fix regression where hovering over items in the relation dropdown wouldn't highlight them in the map (close #8134) 2020-10-29 09:57:38 -04:00
Quincy Morgan
4f7014b1a9 Fix lint warnings and error 2020-10-27 21:08:38 -04:00
Quincy Morgan
66999cce1b Clean up the imagery offset layout and make it usable via keyboard only 2020-10-27 10:51:16 -04:00
Quincy Morgan
154c6ed0ed Fix issue where clicking some buttons would clear the URL hash 2020-10-27 09:56:05 -04:00
Quincy Morgan
f2ef27f78c Enable no-implicit-coercion eslint rule for strings 2020-10-23 14:03:50 -04:00
Quincy Morgan
99689f65b2 Update missed d3 v6 endpoints (re: #8056) 2020-10-21 19:02:38 -04:00
Quincy Morgan
f4903d6986 Make sure photo filter controls are always shown in the same order 2020-10-19 16:34:40 -04:00