Commit Graph

1923 Commits

Author SHA1 Message Date
Quincy Morgan
7a3f3732dd Fix save sidebar header styling 2020-09-24 10:33:55 -04:00
Quincy Morgan
482d0902ac Fix issues with Wikidata field 2020-09-24 10:27:35 -04:00
Quincy Morgan
9bde5b967c Fix some focus styling issues (re: #8004) 2020-09-24 10:22:40 -04:00
Quincy Morgan
f163722c9a Create a new manyCombo field type for the public transport vehicles field instead of using multiCombo in a new way (re: #6142) 2020-09-24 09:21:59 -04:00
Quincy Morgan
bbbf401232 Add en fallback in coreLocalizer instead of utilDetect.browserLocales
Include all preferred and fallback langauges in coreLocalizer.localeCodes even if higher-priority ones have 100% string coverage
Fallback to the user's preferred languages instead of directly to English when querying OSM wikibase documentation and Wikidata (re: #7996)
Add `lang` attribute to tag documentation text loaded from OSM wikibase or Wikidata (re: #7963)
2020-09-23 16:15:34 -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
b92f0a6d09 Fix styling issue in panels
Add lang attribute to more text (re: #7963)
2020-09-22 15:11:12 -04:00
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
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
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
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
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
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
a1c2b7f73d Support language-specific pluralization (re: #597, #4964) 2020-09-14 17:21:00 -04:00
Quincy Morgan
bde604921b Fix lint warning 2020-09-13 16:00:21 -04:00
Quincy Morgan
4050940268 Lazy load photo overlay resources (close #7982) 2020-09-13 11:52:37 -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
e0b81708b5 Remove sidebar key trap (close #7770) 2020-09-11 14:39:29 -04:00