Commit Graph

367 Commits

Author SHA1 Message Date
Bryan Housel
a15821ecf1 Use single Custom backround source, and add template() accessor
Before, each time the user switched to the custom source, it would
create a brand new custom source with the offset set to [0,0]
(closes #3982)
2017-07-10 23:25:40 -04:00
Bryan Housel
20c2de4701 Always display coordinate pairs as Lat,Lng (sorry @tmcw) 2017-07-05 20:34:07 -04:00
Bryan Housel
76f9397bb5 Add Tools tab to keyboard shortcuts, add panels key shortcuts 2017-07-05 18:12:51 -04:00
Bryan Housel
3043323ba9 Rename infobox to info-panels 2017-07-04 02:14:30 -04:00
Bryan Housel
562edc8121 Remove unused d3 imports 2017-07-04 02:00:39 -04:00
Bryan Housel
fd399de9d7 Fix changeset URL 2017-07-04 01:26:47 -04:00
Bryan Housel
f72d5cb988 Remove unused code (infobox isn't classed show/hide anymore) 2017-07-04 01:22:41 -04:00
Bryan Housel
cb249cc28b Rename panel Imagery -> Background, change key G -> B 2017-07-04 01:18:45 -04:00
Bryan Housel
448b71cbce Bind panel toggles to ⌘⇧ + key 2017-07-04 01:03:23 -04:00
Bryan Housel
b9df6df03f Imagery vintage improvements:
- Cache vintage lookups from Bing API
- Actually sample a tile at the center of the viewport,
  rather than just divinding tiles/2 (not a good guess)
- Refactor the start-end range code into one place
2017-07-03 15:12:59 -04:00
Bryan Housel
39621f99fa Add a show/hide tiles toggle button, position buttons relatively 2017-07-03 11:24:39 -04:00
Bryan Housel
c669bc72cd Move imagery info from location panel to its own panel 2017-07-01 02:04:59 -04:00
Bryan Housel
0d27743b81 Improve formatting for imagery capture dates 2017-07-01 00:47:16 -04:00
Bryan Housel
150985a57d Fetch imagery vintage from Bing source, add info to location panel 2017-06-30 18:52:17 -04:00
Bryan Housel
946432d6f1 Add history panel
(closes #2273)
(closes #3761)
2017-06-30 02:09:56 -04:00
Bryan Housel
92a057bf3c git mv modules/ui/info -> modules/ui/panels 2017-06-29 23:05:14 -04:00
Bryan Housel
79466e2893 Display reverse geolocated location in location panel
(closes #2515)
2017-06-29 01:24:09 -04:00
Bryan Housel
9a0deaa484 Rename widget -> panel 2017-06-28 22:34:03 -04:00
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
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
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
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
c22fa60b8a Localize keyboard button texts
(see #4090)
2017-06-06 16:55:59 -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
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