Commit Graph

714 Commits

Author SHA1 Message Date
Bryan Housel
c22fa60b8a Localize keyboard button texts
(see #4090)
2017-06-06 16:55:59 -04:00
Bryan Housel
1341c80664 Fix typo in detecting '+' literal 2017-06-06 16:39:32 -04:00
Bryan Housel
507183c8ee Fix arrowright typo 2017-06-06 16:28:54 -04:00
Bryan Housel
634002b693 Remove shifts from the keybinds that don't need them 2017-06-05 21:11:18 -04:00
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
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
0bf8411edd Fix display of windows redo shortcut 2017-06-04 08:26:52 -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
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
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
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
0013866fe3 Put shortcuts into groups, add more shortcuts for operations 2017-05-17 15:16:23 -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
Bryan Housel
fc4c85d1e0 2.2.1 2017-05-12 10:37:14 -04:00
Bryan Housel
ff14dbf944 Allow contextmenu events to work on the sidebar
(closes #4036)
2017-05-12 14:39:41 +01:00
Bryan Housel
5a6a194ddf Prevent scrolling where user can get stuck in walkthrough
(closes #4033)
2017-05-11 11:56:47 -04:00
Seth Fitzsimmons
41ee1236d9 Omit global search UI when no geocoder 2017-05-09 17:01:49 -07:00
Bryan Housel
73c1d5c17e 2.2.0 2017-05-09 10:33:29 -04:00
Bryan Housel
4432c16e51 Link to whats-new section, not version fragment identifier 2017-05-08 23:08:53 -04:00
Bryan Housel
f5e3ac50eb Merge pull request #4027 from willemarcel/lanes_field
invert position of increment and decrement buttons
2017-05-08 17:17:20 -04:00
Bryan Housel
0c810aebe4 Fix menu key as right click replacement on Windows
(closes #4017)
2017-05-08 22:03:05 +01:00
Wille Marcel
e6f2d27a9c invert position of increment/decrement buttons in structure layers 2017-05-08 11:34:25 -03:00
Wille Marcel
649ea21a2c invert position of increment and decrement buttons 2017-05-08 10:54:21 -03:00
Bryan Housel
43cb17cdda Only adjust the What's New tooltip if the login/logout links are hidden 2017-05-08 02:12:19 -04:00
Bryan Housel
4ee5d7334b Fix spacebar drawing and hover in Firefox - don't match active node
(closes #4016)
2017-05-08 01:37:38 -04:00
Bryan Housel
cd09f9dfee Prevent mouseup from turning into a click
Mouseup was turning into a click on whatever was the last thing clicked.
In this walkthrough, this would sometimes be the "Add Area" mode button,
which would re-enter the add area mode and throw away the user's drawing.
(I have no idea why.)
2017-05-07 22:44:42 -04:00
Bryan Housel
2c2a0bb533 Remove unused variables - eslint 2017-05-07 17:34:22 -04:00
Bryan Housel
86c5db8c70 Add ability to specify the reference lookup for presets
(closes #3227)
2017-05-07 11:52:30 -04:00
Bryan Housel
65e403c524 Add a bit more instruction about dragging, mention keyboard arrow keys
(closes #4015)
2017-05-05 16:04:48 -04:00
Bryan Housel
76d9f0293e Teach +/- buttons during the zoom step, and don't cover them with curtain
(closes #4014)
2017-05-05 15:49:05 -04:00
Bryan Housel
660511ec66 Add a validation warning about creating old-style multipolygons
(closes #3933)
2017-05-04 12:30:58 -04:00
Bryan Housel
89013627fb Don't consider untagged multipolygons as old multipolygons
Also add a lot of old-style multipolygon tests
(closes #4009)
2017-05-04 12:16:04 -04:00
Bryan Housel
6f66cf84bc Fix field reference buttons
(closes #4008)
2017-05-03 22:44:12 -04:00
Bryan Housel
7f2275bab9 Shortcuts for point/line/area should deselect tool
(closes #4003)
2017-05-03 18:01:07 -04:00
Bryan Housel
232fbf13c8 Don't show overlay layers in the walkthrough
(re: #4007)
2017-05-03 17:44:54 -04:00