Commit Graph

1913 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
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
Quincy Morgan
546de3d22e Fix lint error 2020-09-11 14:38:17 -04:00
Quincy Morgan
c4fcb23a30 Fix issue where tab-focusing off the preset list would unexpectedly navigate to the entity editor (re: #7770)
Make offscreen inspector panes display:hidden
2020-09-11 14:30:42 -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
2e9b8acef6 Fix some RTL layout issues 2020-09-11 13:00:10 -04:00
Quincy Morgan
868c0a380b Improve dynamic text scaling in the imagery offset control 2020-09-11 12:51:44 -04:00
Quincy Morgan
992443753b Make the scale bar text scale with dynamic text sizes 2020-09-11 11:34:52 -04:00
Quincy Morgan
046794214f Further progress on #7965 2020-09-11 11:09:38 -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
42efdf29f1 More progress on #7965 2020-09-10 15:03:18 -04:00
Quincy Morgan
b980e47c3c Continue making the UI responsive to text zoom (re: #7965) 2020-09-10 11:15:24 -04:00