Commit Graph

32 Commits

Author SHA1 Message Date
John Firebaugh 50edf58703 Clean up iD.ui.Save, give it a shortcut (fixes #739) 2013-02-12 12:52:11 -08:00
John Firebaugh e73c19a4e8 Extract iD.ui.UndoRedo 2013-02-12 12:52:11 -08:00
John Firebaugh 5761c31d29 Extract iD.ui.Modes 2013-02-12 12:52:10 -08:00
John Firebaugh 50f5a43efa Avoid data-original-title hack 2013-02-12 12:52:10 -08:00
John Firebaugh e92d991677 Remove dead code 2013-02-12 12:52:10 -08:00
John Firebaugh 66afcd9923 Platform-specific keybindings
Specifying keybindings that use a command key (⌘ on Mac,
Ctrl on Win/Linux) using the appropriate Mac binding, e.g.
'⌘Z'. Use iD.ui.cmd to translate it to an appropriate key
string for other platforms, e.g. 'Ctrl+Z'.
2013-02-11 11:24:05 -08:00
Ansis Brammanis fe32ca9d03 Yep, detecting opera.
Goal can be achieved with two different svg styles,
but Opera only implements one, Firefox the other. Can't
apply both because Chrome implements both.
2013-02-11 12:36:21 -05:00
John Firebaugh 65ab71c3d0 Extract iD.ui.SourceSwitch 2013-02-09 17:04:39 -08:00
John Firebaugh 5feb9dea5d Make contributors i18n-friendly 2013-02-09 16:52:08 -08:00
John Firebaugh b9fb37e1e4 i18n 2013-02-09 15:59:59 -08:00
John Firebaugh ccb5b81645 Clean up geocoder
Pass context directly; fix indentation; i18n.
2013-02-09 15:51:49 -08:00
Tom MacWright 71fc68ddfa Go live by default. Fixes #653 2013-02-09 18:11:59 -05:00
Tom MacWright 6faf7a27c4 Support zooming with keyboard. Fixes #695 2013-02-09 18:02:09 -05:00
Tom MacWright d584eb2f9d Pan, fix initial loads 2013-02-09 17:56:22 -05:00
Ansis Brammanis 2c9732f547 Fix localstorage history clearing 2013-02-08 11:04:05 -05:00
Tom MacWright 645dcebbfe Use platform-specific mod keys, refs #676 2013-02-07 18:09:28 -05:00
Tom MacWright ad5c1df228 Detect support as well as os and language 2013-02-07 17:59:31 -05:00
Tom MacWright c84e0713d9 Merge branch 'master' into dynamic-layers
Conflicts:
	js/id/renderer/background_source.js
	js/id/ui/layerswitcher.js
2013-02-06 17:39:55 -05:00
Tom MacWright 4b5dcd054e Fix sourcetag regression 2013-02-06 17:34:41 -05:00
Ansis Brammanis 449c4d235d Add option to restore or reset unsaved changes 2013-02-06 14:03:31 -05:00
Ansis Brammanis a21da4f15f Saving graph to and reinstating from localStorage 2013-02-06 12:48:42 -05:00
Tom MacWright db7f42145e Continue removing any non-scoped selectors. Refs #595
Last hits will be combobox and layerswitcher.
2013-02-05 12:00:10 -05:00
Tom MacWright 3d8f2ffb84 Consistify syntax 2013-02-04 16:08:34 -05:00
John Firebaugh c2ddf67cc0 Show appropriate tooltips for disabled undo/redo buttons
Implementing this cross-browser requires using a `.disabled`
class rather than the `disabled` property. No browsers except
Opera dispatch mouse events on disabled buttons.

Fixes #620.
2013-02-04 11:25:20 -08:00
Tom MacWright 8d90fb777b Purge a few more uses of d3.select, refs #595 2013-02-04 12:32:14 -05:00
John Firebaugh ae8891c485 Unused vars 2013-02-01 14:31:47 -05:00
John Firebaugh cdda561f69 Fix dev/live toggle 2013-02-01 13:39:49 -05:00
Tom MacWright 031c8d655e Fallback for browsers that do not support localStorage. Fixes #591 2013-02-01 13:12:46 -05:00
John Firebaugh fe49e8fb77 Pass around context rather than map 2013-02-01 12:40:16 -05:00
John Firebaugh a78aeeb625 Merge controller into iD 2013-02-01 12:40:15 -05:00
John Firebaugh 000ceb6467 iD.Context -> iD
All the UI setup code moved to iD.ui.
2013-02-01 12:40:15 -05:00
Tom MacWright 72afc6dcb9 Namespace UI components 2013-01-14 14:00:51 -05:00