185 Commits

Author SHA1 Message Date
Quincy Morgan
a33ab44e81 Merge branch 'develop' into photo-filter-temp
# Conflicts:
#	css/80_app.css
#	modules/services/mapillary.js
2020-10-12 16:16:32 -04:00
Quincy Morgan
baace6d092 Update more code for D3 v6 2020-10-07 11:57:25 -04:00
Quincy Morgan
21a49bbec8 Initial support for D3 v6.2.0 2020-10-06 15:08:39 -04:00
Quincy Morgan
8cdc76c640 Fix issue where the raw tag editor could collapse when adding tags to a fallback preset (close #1881) 2020-10-02 21:37:55 -04:00
Quincy Morgan
9a8cae70d2 Fix lint errors 2020-09-24 11:35:38 -04:00
Quincy Morgan
4d51713253 Add lang attribute to more display text (re: #7963) 2020-09-24 11:34:33 -04:00
Quincy Morgan
9bde5b967c Fix some focus styling issues (re: #8004) 2020-09-24 10:22:40 -04:00
Quincy Morgan
c443b28b8d Add lang attribute to more display labels (re: #7963) 2020-09-23 11:03:47 -04:00
Quincy Morgan
9da4c4bb62 Add lang attribute to more labels (re: #7963) 2020-09-23 10:44:38 -04:00
Quincy Morgan
4600ab596f Add lang attribute to more display labels (re: #7963) 2020-09-23 10:10:24 -04:00
Quincy Morgan
ab2b6f3123 Use formatter for reset ignored issues button label 2020-09-22 17:20:54 -04:00
Quincy Morgan
f2c150e83e Rename several title properties to label and pass in attributed HTML instead of string 2020-09-22 13:15:19 -04:00
Quincy Morgan
5435082d9c Revert t function to returning the plain string by default
Add `t.html` function for getting the string with the `lang` attribute
2020-09-22 12:03:29 -04:00
Quincy Morgan
a3549f9a76 Merge branch 'develop' into lang-attributes
# Conflicts:
#	modules/ui/commit_warnings.js
#	modules/ui/field.js
#	modules/ui/fields/wikidata.js
#	modules/ui/fields/wikipedia.js
#	modules/ui/full_screen.js
#	modules/ui/panels/history.js
#	modules/ui/sections/entity_issues.js
#	modules/ui/sections/map_features.js
#	modules/ui/sections/raw_member_editor.js
#	modules/ui/sections/validation_rules.js
#	modules/ui/tag_reference.js
2020-09-22 10:55:07 -04:00
Quincy Morgan
bcb613c29b Properly disable the zoom to custom data button when there's no data 2020-09-21 10:01:16 -04:00
Quincy Morgan
45fbd5e604 Fix some issue with logical focus order (re: #8004) 2020-09-18 14:33:21 -04:00
Quincy Morgan
c084c569a7 Make the DOM/focus order of the raw tag editor view buttons match their display order (re: #8004) 2020-09-18 14:03:03 -04:00
Quincy Morgan
28dd2c4507 Make the errors, warnings, and changes lists in the commit sidebar keyboard-navigable (re: #8004) 2020-09-18 13:58:41 -04:00
Quincy Morgan
72c5afb27d Make the issues inspector section navigable with the keyboard (re: #8004) 2020-09-18 11:20:53 -04:00
Quincy Morgan
6f2a746440 Standardize return key comments 2020-09-17 15:20:33 -04:00
Quincy Morgan
b16d39452e Fix navigation of the background layer list via the keyboard (re: #8004) 2020-09-17 14:16:20 -04:00
Quincy Morgan
58014ace62 Don't prevent default tabbing to elements (re: #8004) 2020-09-17 12:07:20 -04:00
Quincy Morgan
32f8274929 Make t function return a span element with a lang attribute unless html: false is specified in the options (re: #7963)
Update `text` functions to `html` to support inserting the `span` elements
Specify `html: false` for various instances where a `span` is not desired, e.g. `placeholder` and `title` attributes
2020-09-15 21:56:22 -04:00
Quincy Morgan
a1c2b7f73d Support language-specific pluralization (re: #597, #4964) 2020-09-14 17:21:00 -04:00
Quincy Morgan
54818a3b3d Make background filter option sliders full width 2020-09-11 15:06:01 -04:00
Quincy Morgan
0bfc154b74 Support a wider range of background filter values 2020-09-11 14:59:59 -04:00
Quincy Morgan
5c18d46f9d Merge pull request #7980 from bjornstar/no-forced-reflow-textarea
[Performance] Calculate height of the textarea instead of letting the browser do it
2020-09-11 13:39:25 -04:00
Quincy Morgan
868c0a380b Improve dynamic text scaling in the imagery offset control 2020-09-11 12:51:44 -04:00
Bjorn Stromberg
d5159dcfa0 [Performance] Calculate height instead of letting the browser do it 2020-09-11 23:21:41 +09:00
Quincy Morgan
443fb01342 Rerun validation after editing the relation members and memberships in the inspector (close #7962) 2020-09-09 11:14:29 -04:00
Quincy Morgan
8708c13f87 Followup changes to #7932 2020-09-03 14:00:30 -04:00
Nikola Plesa
e324a00e54 fix: fix for filter input values being reset on data loading 2020-08-31 11:25:06 +02:00
Til Schneider
4dabd79702 Move relation type detection to osm_wikibase (#7932) 2020-08-29 11:05:07 +02:00
Til Schneider
d3069a47ae Improve performance of raw tag editor
The detection whether `_entityIDs ` includes a relation is performed many times inside a loop. Instead this should be done only once (lazy).
2020-08-26 13:05:34 +02:00
Quincy Morgan
cbf6b151cf Merge pull request #7895 from til-schneider/patch-2
Fix geometries detection in preset_fields.js
2020-08-12 12:26:19 -04:00
Til Schneider
cf1c5085d1 Fix geometries detection in preset_fields.js
`renderDisclosureContent` in `preset_fields.js` tries to detect the geometry types of the selected entities, but the result is always `[]`.

Reason: The handler of `_entityIDs.reduce` always returns `true`. So the result of the `reduce` call is `true` as well. `Object.keys(true)` results in `[]`.

Fix: The handler of `_entityIDs.reduce` should return the map which collects the geometry types, so `geometries` will be be something like `["line", "vertex"]`.
2020-08-11 16:09:51 +02:00
Peter Newman
4205ca1d07 Fix the seemingly safe spellings found by codespell
Untested, only checked by inspection.

(cherry picked from commit 2c47a11008)
2020-08-10 17:32:37 +01:00
Nikola Plesa
22bc5121a4 feat: date and username filtering for photo overlay layers 2020-07-27 09:42:59 +02:00
Quincy Morgan
0112547c89 Fix map data style options tooltip keyboard shortcuts (close #7778) 2020-07-13 15:28:37 -04:00
Quincy Morgan
45f337e13c Merge branch 'develop' into touch-walkthrough-update 2020-07-10 10:32:36 -04:00
Nikola Plesa
944953dbf2 Update Mapillary map_features URL and remove request_data button 2020-07-01 16:50:30 +02:00
Quincy Morgan
6e04e31140 Merge branch 'develop' into touch-walkthrough-update 2020-06-30 16:57:58 -04:00
Quincy Morgan
8826c95574 Move delete button to label for new relation UI 2020-06-30 09:22:25 -04:00
Quincy Morgan
fab750d353 Use more placeholder references in the help docs
Use a reusable format for the section title counts
2020-06-29 12:46:06 -04:00
Quincy Morgan
02a08ca899 Move the delete membership button from the input to the label (re: #7753)
Add button to zoom to relation from the Relations section
2020-06-29 09:47:58 -04:00
Quincy Morgan
a126437a38 Fix broken text entry in background offset input on touch devices 2020-06-25 11:56:17 -04:00
Quincy Morgan
c834ef192c Update "zoom to custom data" button to use the standard "zoom to selection" icon 2020-06-24 17:09:14 -04:00
Quincy Morgan
87d002efd7 Add buttons to toggle the history and measurement panels (close #6397) 2020-06-24 15:11:06 -04:00
Quincy Morgan
9041ce3d9b Add button to toggle the location panel (re: #6397) 2020-06-24 14:19:52 -04:00
Quincy Morgan
874c412b74 Enforce max unicode charachter length of keys, values, and relation roles through truncation upon input rather than HTML maxlength attribute (close #6817)
Normalize unicode when changing keys, values, and relation roles
2020-06-10 14:11:55 -04:00