Commit Graph

7293 Commits

Author SHA1 Message Date
Bryan Housel 94c705ec68 Don't match shiftKey strictly, but prioritize shifted over unshifted
Most key shortcuts will accept either lower or uppercase ('h' or 'H'),
so we don't strictly match on the shift key, but we prioritize
shifted bindings first, and fallback to unshifted only if no match.
(This lets us differentiate between '←'/'⇧←' or '⌘Z'/'⌘⇧Z')
2017-06-05 20:55:10 -04:00
Bryan Housel 32995e54a0 Merge pull request #3572 from openstreetmap/tyrasd-patch-keybindings
implement keyboard shortcuts using KeyboardEvent.key api
2017-06-05 16:27:06 -04:00
Bryan Housel 15b02a3866 Merge pull request #4080 from openstreetmap/keyboard-shortcuts-pt2
Keyboard shortcuts pt2
2017-06-04 23:04:50 -04:00
Bryan Housel eb80a333cf Don't rely on modalSelection to indicate modal is visible
The modal can be dismissed other ways (Esc, click 'X', etc)
2017-06-04 22:49:46 -04:00
Bryan Housel 2555f82631 Reorder right click and infobox 2017-06-04 08:28:24 -04:00
Bryan Housel 0bf8411edd Fix display of windows redo shortcut 2017-06-04 08:26:52 -04:00
greenkeeper[bot] d90df86a36 chore(package): update rollup to version 0.42.0 2017-06-03 22:48:40 -04:00
greenkeeper[bot] a80a5b2b96 chore(package): update svg-sprite to version 1.3.7 2017-06-03 22:44:33 -04:00
greenkeeper[bot] 6e1b1cf4f5 chore(package): update rollup-plugin-json to version 2.2.0 2017-06-03 10:46:49 -04:00
Bryan Housel 9017c202eb Add mouse icons instead of "left-click", add better key separators 2017-06-03 02:10:47 -04:00
Bryan Housel 2cace9931c Split up modifiers from keys, better shortcut handling on Windows 2017-06-02 18:53:45 -04:00
Bryan Housel 4cb1f08f38 Remove fake pause key symbol 2017-06-02 15:48:31 -04:00
Bryan Housel dffc3541a4 Match '+' as-is (no shift, because shift '+' is '?' on some non-US keyboards)
(closes #4079)
2017-06-02 11:52:01 -04:00
Bryan Housel 25af3b5300 Better text for paste command 2017-06-01 16:17:20 -04:00
Bryan Housel 47664f37ea Merge pull request #3791 from openstreetmap/shortcuts-modal
Display a shortcuts modal
2017-05-31 23:21:50 -04:00
Bryan Housel 8a3970613a Finalize keyboard shortcut style, add a few more commands 2017-05-31 23:20:48 -04:00
Bryan Housel 0149c12509 Couldn't get quite the layout I wanted with flexbox, so using tables
(fwiw, GitHub's shortcut screen is this way too)
2017-05-31 17:09:27 -04:00
Bryan Housel b87be2d241 Don't omit tags when copy/pasting
(closes #4067)
2017-05-30 22:29:29 -04:00
Bryan Housel 8a03bbdef9 Add maxweight field to elevator preset
(re: #4068)
2017-05-29 14:34:18 -04:00
Bryan Housel 1eecc71088 Add highway=elevator preset
(closes #4068)
2017-05-29 14:23:20 -04:00
Bryan Housel 940394cdfd Add elevator icon 2017-05-29 14:23:09 -04:00
Bryan Housel 1fda63fa69 Add preset for craft=electronics_repair
(closes #4049)
2017-05-26 20:36:42 -04:00
Bryan Housel 7072b260fe Add preset for shop=appliance 2017-05-25 12:33:13 -04:00
greenkeeper[bot] 1faa1e6827 chore(package): update mapillary-js to version 2.5.1 2017-05-24 22:38:30 -04:00
greenkeeper[bot] ea703d3bb1 chore(package): update sinon to version 2.3.0 2017-05-24 22:37:42 -04:00
Bryan Housel eda2650d7b Omit name tag when looking up preset documentation
(closes #4059)
2017-05-21 22:05:40 -04:00
Bryan Housel 49852bc6d6 For multicombo fields tag reference, lookup key w/o the trailing ':' 2017-05-21 21:49:02 -04:00
Bryan Housel 9628670b98 Use translated keyboard shortcuts for operations, add '?' 2017-05-18 13:36:19 -04:00
Bryan Housel f5e4b03e14 Merge pull request #4052 from JamesKingdom/master
Adding "football" terms to soccer pitch
2017-05-17 16:03:08 -04:00
JamesKingdom bba43c3546 Adding "football" terms to soccer pitch 2017-05-17 20:57:58 +01:00
Bryan Housel 0013866fe3 Put shortcuts into groups, add more shortcuts for operations 2017-05-17 15:16:23 -04:00
Bryan Housel 9b956755e3 Less button-y tabs 2017-05-16 17:08:29 -04:00
Bryan Housel 0e3b372abd format 2017-05-16 15:33:41 -04:00
Kushan Joshi d45063dd69 Make rtl compatible
and minor refactor
2017-05-16 15:33:41 -04:00
Kushan Joshi 957c75a7cc remove uiCmd 2017-05-16 15:33:14 -04:00
Kushan Joshi 47164d8f15 ui minor fixes for shortcut.js 2017-05-16 15:33:14 -04:00
Kushan Joshi b237b6c96c interim 2017-05-16 15:33:14 -04:00
Kushan Joshi 8d2e2c7f9f Adding tabs to shortcuts 2017-05-16 15:33:14 -04:00
Kushan Joshi 5e8ad595b0 interim 2017-05-16 15:33:14 -04:00
Ajith Ranka ccc438527f fix eslint error: missing semicolon 2017-05-16 15:33:14 -04:00
Ajith Ranka 04825da109 display a shortcuts modal, continues #1481 2017-05-16 15:33:14 -04:00
greenkeeper[bot] 6ac48c6b3a chore(package): update d3 to version 4.9.1 2017-05-16 11:40:13 -04:00
greenkeeper[bot] 68459ca9e4 chore(package): update mocha to version 3.4.0 2017-05-15 21:31:22 -04:00
greenkeeper[bot] 83b4807a48 chore(package): update d3 to version 4.9.0 2017-05-15 21:30:45 -04:00
Bryan Housel f376f2adba Fix misspelling "Safair" -> "Safari" 2017-05-15 12:58:46 -04:00
Bryan Housel e62d449722 Add some information to CONTRIBUTING about issue labels
(closes #3902)
2017-05-15 12:20:49 -04:00
Bryan Housel 974db18774 Rename "Curb Ramp" to "Curb"
(re: Transifex issue https://www.transifex.com/ideditor/id-editor/translate/#vi/$/91177233?issue=yes)
2017-05-14 15:15:34 -04:00
Bryan Housel 0f2e49c392 Fix typo - "Job" -> "job" 2017-05-14 15:01:28 -04:00
Bryan Housel fc4c85d1e0 2.2.1 2017-05-12 10:37:14 -04:00
Bryan Housel f6e922bb83 npm run imagery 2017-05-12 10:35:39 -04:00