Commit Graph

3878 Commits

Author SHA1 Message Date
Quincy Morgan
93cf717110 Include lang attribute in field labels 2020-09-22 13:33:52 -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
6eed721579 Use lang attributes in help pane section titles 2020-09-22 12:46:12 -04:00
Quincy Morgan
df0b826386 Add lang attributes to some Q/A elements 2020-09-22 12:28:15 -04:00
Quincy Morgan
8883c2f36d Fix uiFlash issues
Clean up a few things from prior commit
2020-09-22 12:19:54 -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
983c01d407 Make the keyboard shortcuts modal keyboard-navigable (re: #8004)
Prevent default hash behavior when clicking help pane internal links
2020-09-22 10:37:54 -04:00
Quincy Morgan
b466a96c18 Make the help pane keyboard-navigable (re: #8004) 2020-09-22 10:13:33 -04:00
Quincy Morgan
b1a2e11a6b Fix extract fix annotation 2020-09-22 09:42:03 -04:00
Quincy Morgan
ed14595784 Adjust styling 2020-09-22 09:37:52 -04:00
Quincy Morgan
79688ce2d9 Show count and use plural forms for more operation strings (re: #8014) 2020-09-22 09:10:49 -04:00
Quincy Morgan
45decdb54c Enable scaling the selection via hotkeys 2020-09-21 14:02:41 -04:00
Quincy Morgan
28ea082892 Add additional Enter key characters 2020-09-21 11:00:00 -04:00
Quincy Morgan
4fe62d0efb Move plus/minus key list to utilKeybinding property 2020-09-21 10:59:45 -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
7157feba20 Don't make button text bold by default
Make the oneway field reverser a button instead of a link
2020-09-18 13:14:01 -04:00
Quincy Morgan
c0d420eb4b Fix keyboard navigation of the changeset upload raw tag list editor (re: #8004) 2020-09-18 11:43:24 -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
af1cb3e7ba Fix issue where logged in account link on standalone iD wasn't active 2020-09-17 12:50:30 -04:00
Quincy Morgan
2c96f56440 Make the document order of the footer items the same as the appearance order (re: #8004) 2020-09-17 12:45:48 -04:00
Quincy Morgan
58014ace62 Don't prevent default tabbing to elements (re: #8004) 2020-09-17 12:07:20 -04:00
Quincy Morgan
d88d599f2c Don't add undefined class to button 2020-09-17 11:33:46 -04:00
Quincy Morgan
673ea19b46 Fix issue where Safari 14 wouldn't always autofocus the preset list (close #8003) 2020-09-17 10:13:45 -04:00
Quincy Morgan
a3f9c3fb81 Merge branch 'develop' into lang-attributes
# Conflicts:
#	modules/ui/fields/combo.js
2020-09-17 09:07:18 -04:00
Quincy Morgan
98bea69947 Add Vehicles field for public_transport presets (close #6142, re: #7970)
Enable variant type of `multiCombo` field that works for any listed keys, not ones under a prefix
2020-09-16 15:15:10 -04:00
Quincy Morgan
abf75bdd98 Don't use HTML on page title 2020-09-16 08:40:02 -04:00
Quincy Morgan
3df84d3aee Add lang attribute for iD's locale to its container 2020-09-16 08:29:07 -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
7aa6c1d1a3 Fix infinite recursion error for en-US 2020-09-15 18:27:26 -04:00
Quincy Morgan
a9979f6534 Fallback to the user's preferred locales instead of immediately to English (close #7996) 2020-09-15 17:56:13 -04:00
Quincy Morgan
4e719d7c60 Merge pull request #7995 from openstreetmap/coord-search
Fix GPS coordinate searches returning OSM elements
2020-09-15 16:11:42 -04:00
Quincy Morgan
7ab9f268d9 Don't fetch the English strings if the preferred locale has 100% coverage (close #7994) 2020-09-15 16:09:08 -04:00
SilentSpike
42f0b3dcd1 Fix GPS coordinate searches returning OSM elements
Simply let a loction search match take priority over an ID pattern
match
2020-09-15 20:51:32 +01:00
Quincy Morgan
8ecada3b79 Move languageNames and scriptNames data to the individual locale files instead of always loading them via locales.json (re: #7994) 2020-09-15 14:41:56 -04:00
Quincy Morgan
ecb8ff534e Use alt/option instead of ctrl/cmd as the modifier for zooming or panning by a lot (close #7976) 2020-09-15 11:56:53 -04:00
Quincy Morgan
295a50456a Don't cache locale info in measurement panel 2020-09-15 11:35:11 -04:00
Quincy Morgan
f28d41b44e Localize the format of numbers in translated strings (close #7993) 2020-09-15 11:34:56 -04:00
Quincy Morgan
a1c2b7f73d Support language-specific pluralization (re: #597, #4964) 2020-09-14 17:21:00 -04:00
Quincy Morgan
5ddcfb0ced Add parameter to specify which way should keep the history when splitting ways (re: #7795)
Fix code tests
2020-09-14 11:27:20 -04:00
Quincy Morgan
95dee987cb Enable the corresponding photo overlay layer when specifying a photo from that service via the URL (re: #6398) 2020-09-14 11:01:35 -04:00
Quincy Morgan
99c75b8f65 Keep the way history on the longer result when splitting a way (close #7795) 2020-09-14 10:01:47 -04:00
Quincy Morgan
21c86c6d6d Re-add reading of mapillary image from URL (re: #7885, #6398) 2020-09-13 17:09:35 -04:00
Quincy Morgan
9510578107 Merge branch 'mapillary-update' into develop
# Conflicts:
#	modules/services/mapillary.js
#	modules/svg/mapillary_map_features.js
#	modules/svg/mapillary_signs.js
2020-09-13 16:34:25 -04:00
Quincy Morgan
bde604921b Fix lint warning 2020-09-13 16:00:21 -04:00