5051 Commits

Author SHA1 Message Date
Bryan Housel ece73a9be4 Infobox ⌘I now toggle all widgets 2017-06-28 17:21:15 -04:00
Bryan Housel 991eb58bcc Remove unused singularKey 2017-06-28 17:17:34 -04:00
Bryan Housel b12fad8d97 Remove code that prevented draws, report all numbers at OSM precision 2017-06-28 16:24:47 -04:00
Bryan Housel f2d0662266 Add location widget
(closes #2183)
2017-06-28 16:10:46 -04:00
Bryan Housel 07190958a5 Force redraw of measurement box when switching between imperial/metric 2017-06-27 14:09:19 -04:00
Bryan Housel 01fe0db42a Add close 'x' to infobox 2017-06-27 01:54:45 -04:00
Bryan Housel 5b95246157 Adjust styles, don't redraw measurement info if infobox is hidden 2017-06-26 23:19:50 -04:00
Bryan Housel 22c707a6e2 Make infobox a container for widgets, measurement code a widget 2017-06-26 21:10:47 -04:00
Bryan Housel e1f88f4a18 WIP towards multi-pane info box 2017-06-24 22:26:14 -04:00
Bryan Housel e8bd6bff6c Fix wikidata clearing, failed lookup when entity no longer selected
(closes #3987)
(closes #3684)
(related #3929)
2017-06-23 16:37:13 -04:00
Bryan Housel 6ca649498f Add walkthrough=true url parameter to auto-start the walkthrough
(closes #4111)
2017-06-22 22:26:38 -04:00
Bryan Housel ec8cd6ec83 More words about replacement tokens in custom tile url prompt
(see #3887)
2017-06-22 21:57:26 -04:00
Bryan Housel 9882cf1d7b Don't rm old preset tags post merge, but do rm area=yes when setting preset
(closes #4114)
2017-06-22 17:49:45 -04:00
Bryan Housel 894bd615c9 Preserve the undo annotation when doing point-area merge
(closes #4113)
2017-06-21 18:56:45 -04:00
Bryan Housel 90870a0eb9 Use a simpler custom imagery example url
see https://github.com/openstreetmap/iD/issues/3887#issuecomment-309849685
2017-06-20 15:06:57 -04:00
Bryan Housel eff9aaeceb Add example to custom url template prompt
(closes #3887)
2017-06-20 00:38:49 -04:00
Bryan Housel c961788a5b Fix translation for imagery with a '.' in the id
(closes #4112)
2017-06-19 23:35:34 -04:00
Bryan Housel f19c879aba Mention keyboard shortcuts in intro, localize Alt key 2017-06-18 02:30:31 -04:00
Bryan Housel dcf4fea450 Use localized background switching key shortcut in tooltip 2017-06-18 00:31:45 -04:00
Bryan Housel 22cb4c7f20 Add ability to localize more keyboard shortcuts
(closes #4081)

H: Help
?: Keyboard Shortcuts
⌘I: Infobox
B: Background
⌘B: Switch Background
F: Map Data
W: Wireframe
/: Minimap
2017-06-18 00:17:44 -04:00
Bryan Housel 8f6bd5fb14 Show icons from the editor-layer-index, remove old Bing icon 2017-06-16 12:04:54 -04:00
Bryan Housel 87b17a2fbb Add translation for attribution text 2017-06-16 11:03:30 -04:00
Bryan Housel 3d208311bd Change imagery Transifex to YAML, use translated name and description 2017-06-16 00:51:04 -04:00
Bryan Housel 5c3f407573 2.2.2 2017-06-12 11:04:11 -04:00
Bryan Housel e9568e8845 Don't exit drawing mode on hashchange unless the user has moved a lot
(Switching background while drawing a line was causing the line to get
cancelled because of returning to browse mode)
(closes #4099)
2017-06-12 02:04:22 -04:00
Bryan Housel 7030c15d0c Try again to fix fullscreen keyboard shortcut on linux 2017-06-10 17:44:17 -04:00
Bryan Housel ba8b0782b0 pacify eslint 2017-06-10 08:13:55 -04:00
Bryan Housel addc3be4da Only offer the ⌃⌘F shortcut for fullscreen if the user is on a mac 2017-06-10 08:09:49 -04:00
Bryan Housel 8c2775276e Fix fullscreen shortcut on Mac, add F11 to the shortcuts screen
(see https://github.com/openstreetmap/iD/issues/4081#issuecomment-307475720)
2017-06-09 22:37:44 -04:00
Bryan Housel d20e053057 Add missing vertex navigation keys '{' and '}' 2017-06-09 12:46:40 -04:00
Bryan Housel 2d665dbc1b Ignore Ctrl and Alt if both are present (e.g. AltGr on Windows)
(see #4096)
2017-06-09 11:42:35 -04:00
Bryan Housel 70d0a68c6d Use context.asset() to generate path to Mapillary image sprite 2017-06-09 10:53:48 -04:00
Bryan Housel 274552205d Merge pull request #4050 from mapillary/mapillary-api-v3
Update to Mapillary API v3 and add new traffic signs
2017-06-09 10:37:30 -04:00
Bryan Housel 2b8058cf89 Add a menu item to the help pane to show keyboard shortcuts
(closes #4079)
2017-06-08 22:38:04 -04:00
Bryan Housel 5326377292 silence eslint warning 2017-06-08 13:27:55 -04:00
Bryan Housel 9cdf0cdd66 Add explict check for prototype inheritance of entities Chrome bug
(see #3973)
2017-06-08 13:13:46 -04:00
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