Commit Graph

162 Commits

Author SHA1 Message Date
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
cf2e4c990e lint 2023-08-09 18:24:16 +02:00
Martin Raifer
471354af4f add list of loaded local photos 2023-08-08 17:12:35 +02:00
Martin Raifer
634ce10d24 add proper local photo strings, enable layer switcher checkbox 2023-08-07 16:14:32 +02:00
Martin Raifer
1572835a48 move local photos to "Photo Overlays" section 2023-08-07 11:52:33 +02:00
Martin Raifer
884874dedc Merge branch 'develop' into gsoc_2022/explore_iD 2023-08-07 10:38:10 +02:00
Martin Raifer
e8703e6bb6 Merge remote-tracking branch 'noenandre/vegbilder' into develop 2023-08-07 10:31:07 +02:00
Kyle Hensel
d01112372b don't suggest discardable tags in the raw tag editor 2023-08-06 15:07:35 +12:00
Martin Raifer
d7902e1388 only show regional street-level photo providers in the available region
and disable selection checkbox if not zoomed in enough to load the photos
2023-08-02 16:35:56 +02:00
Martin Raifer
43784e2eff take entity loc into account when resolving fields via parent preset, fixes #9524
this necessary when a regional preset (e.g. from NSI) is supposed to inherit fields from a parent preset, but the direct parent does NOT apply at the location of the entity to be added/edited. In that case we need to search for a potential regional variant of the parent preset.
2023-05-25 19:19:09 +02:00
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
Mukesh Jaiswal
1a3d8a6304 Refactor: removed console log 2022-09-12 16:41:30 +02:00
Mukesh Jaiswal
3ccc434c83 Refactor: working prototype, needs some error handling and translation 2022-09-12 13:41:19 +02:00
Mukesh Jaiswal
448c8b914c plop 2022-08-23 19:37:54 +02:00
mukesh
7a2ab8aeaa Draft: still in progress 2022-08-03 15:37:09 +02:00
mukesh
16280638b5 plop 2022-06-29 18:51:33 +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
mukesh
8d800801ff Feature: local photos ui added 2022-06-20 18:39:59 +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