Commit Graph

71 Commits

Author SHA1 Message Date
Ansis Brammanis 9b5f506694 Add autocompletion to combobox
Also, don't filter results with input value
when selecting the combobox, so that it
behaves like a select input in this case.
2013-02-19 00:09:46 -05:00
Ansis Brammanis 6330137964 Combobox now settable using select input approach 2013-02-18 18:15:55 -05:00
Ansis Brammanis 876a406e70 Fix combobox bugs
- size and position is recalculated for each
  update so that it works even if input
  isn't rendered when combobox is called
- adds caret differently, for same reason as above
- adds combobox to body to prevent scrolling issues
2013-02-18 16:56:11 -05:00
John Firebaugh eadf460b55 Fix global leaks 2013-02-16 09:02:23 -08:00
Ansis Brammanis 0bb805f557 Merge remote-tracking branch 'systemed/master' into presets
Conflicts:
	css/app.css
	index.html
	js/id/connection.js
	js/id/modes/select.js
	js/id/ui/inspector.js
	js/id/util.js
	test/spec/modes/add_point.js
2013-02-14 11:38:18 -05:00
John Firebaugh 902ae80267 Include all locale files 2013-02-12 16:51:31 -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
Tom MacWright 6faf7a27c4 Support zooming with keyboard. Fixes #695 2013-02-09 18:02:09 -05:00
Tom MacWright eb999c47c6 Switch to comboboxes 2013-02-01 17:54:55 -05:00
Tom MacWright 4fbbd1cf82 Update to pre-release 3.0.5 d3 2013-02-01 14:11:32 -05:00
Tom MacWright 3334649354 Merge 2013-01-31 19:42:24 -05:00
Tom MacWright 8eb04ddb4d combobox 2013-01-31 19:41:52 -05:00
Tom MacWright ecb27eaf2f Merge branch 'master' into presets
Conflicts:
	js/id/modes/select.js
2013-01-31 15:14:28 -05:00
Tom MacWright 60c14dc7ac Use typeahead for preset search, support changing presets. Fixes #577 2013-01-31 14:24:05 -05:00
John Firebaugh 8bece3de15 Remove unused 2013-01-31 12:55:35 -05:00
John Firebaugh 852973f61d Fix global leak 2013-01-29 15:03:32 -05:00
John Firebaugh fcbd792e9d Add JXON.stringify 2013-01-28 11:06:14 -05:00
Tom MacWright 2527d57404 Simple map-tail minimalism. Fixes #467 2013-01-24 17:26:52 -05:00
Ansis Brammanis 3a48016e5f Merge remote-tracking branch 'systemed/master' into labels
Conflicts:
	js/id/util.js
2013-01-23 16:15:29 -05:00
John Firebaugh ff15aa8e7b Rewrite d3.keybinding
A keybinding now represents a set of key commands that can
be unbound as a set. Multiple keybindings are possible, and,
providing a namespace is provided to the constructor, will
not conflict with each other.

Also, key combination strings such as ⌘+A are now supported.
2013-01-22 14:55:08 -05:00
Ansis Brammanis 9aa74c404d Add rtree.js 2013-01-22 11:01:46 -05:00
Tom MacWright e111ea2aa5 Gracefully handle Opera, which does not support pointer-events 2013-01-17 12:22:11 -05:00
Tom MacWright fd2ef2a78b Rename tooltip to tail, use tail in modes. 2013-01-17 12:07:26 -05:00
Tom MacWright eecc6b14fb First shot at tooltips cc @samanbb 2013-01-16 18:39:12 -05:00
Tom MacWright ad6de1437f Prevent typeahead from falling off length of list 2013-01-16 15:01:21 -05:00
John Firebaugh d5fbe32b1d Remove d3.jsonp (only wiki.js used it) 2013-01-10 21:00:24 -08:00
Tom MacWright 3b5f6dd8bd Support images from the wiki, adds d3.jsonp extension. 2013-01-09 11:31:53 -05:00
Tom MacWright 52312e28fd Fix relative positioned tooltips. Fixes #319 2013-01-07 18:15:02 -05:00
Tom MacWright b410fc196a Update typeahead, fixing overlap issues. Fixes #309 2013-01-04 16:12:13 -05:00
John Firebaugh 4a7bd26be8 Add 'Add Tag' button (#314), needs style
Fixes #281.
2013-01-03 23:16:34 -08:00
John Firebaugh 3ffa8066c5 Taginfo typeahead on keys as well as values 2013-01-01 18:43:22 -08:00
John Firebaugh 6a4b75aa88 latedrag functionality was merged into iD.behavior.drag 2012-12-21 12:29:59 -08:00
Tom MacWright d5fa942f55 Update lodash, use deep cloning to fix #284 2012-12-17 12:31:19 -05:00
John Firebaugh 304a9c3603 Add symbol for delete key 2012-12-13 17:39:07 -08:00
John Firebaugh a58a07277a Simplify d3.keybinding
Remove window.__onfocus property; it triggers mocha's leak detection.
Calculate modifiers using the even properties instead.
2012-12-13 17:39:06 -08:00
Tom MacWright 3f2b12ad87 Update d3 and lodash 2012-12-07 18:14:56 -05:00
Tom MacWright 9546a6f743 Limit download threads. Fixes #83 2012-12-07 11:47:48 -05:00
Tom MacWright 6e9d9ba274 Refactor modes, use latedrag 2012-12-06 17:54:32 -05:00
Tom MacWright cd3129061c Refactor dragging, include latedrag 2012-12-06 17:33:02 -05:00
Tom MacWright 877ae4c32e Add osm mapnik, setup toggling a bit. 2012-12-06 10:39:08 -05:00
Tom MacWright bf29581ae1 Add tooltips to action buttons 2012-12-05 16:13:09 -05:00
Tom MacWright 8126189e0a Support proper tooltips on undo redo buttons 2012-12-05 16:00:49 -05:00
Tom MacWright 9799276472 Present errors, namespace events. 2012-12-05 11:25:01 -05:00
Tom MacWright f381693f2b Improve typeahead 2012-12-05 11:12:56 -05:00
Tom MacWright ddbf50345d Reintroduce keybindings for deleting features 2012-12-04 16:26:00 -05:00
Tom MacWright 4978cd0c12 Resurface keybindings 2012-12-04 15:51:42 -05:00
Tom MacWright 772eb02552 Taginfo autocomplete 2012-12-04 10:58:55 -05:00
Tom MacWright 5254f06522 Implement megazooming 2012-12-03 18:41:44 -05:00
Tom MacWright b3853e6485 Taginfo, typeahead 2012-12-03 16:12:05 -05:00
John Firebaugh c7fa59661a Convert tests to mocha+chai+sinon 2012-12-03 15:11:49 -05:00