John Firebaugh
2c8bbd8985
Integrate new drag behaviors
2012-12-21 12:10:44 -08:00
John Firebaugh
511dcfa6ac
Rewrite drag behaviors in terms of iD.behavior.drag
2012-12-21 12:10:44 -08:00
John Firebaugh
2c40de62be
Add iD.behavior.drag
...
`iD.behavior.drag` is like `d3.behavior.drag`, with the following differences:
* The `origin` function is expected to return an [x, y] tuple rather than an
{x, y} object.
* The events are `start`, `move`, and `end`.
(https://github.com/mbostock/d3/issues/563 )
* The `start` event is not dispatched until the first cursor movement occurs.
(https://github.com/mbostock/d3/pull/368 )
* The `move` event has a `loc` and `dxdy` [x, y] tuple properties rather
than `x`, `y`, `dx`, and `dy` properties.
* The `end` event is not dispatched if no movement occurs.
* An `off` function is available that unbinds the drag's internal event handlers.
* Delegation is supported via the `delegate` function.
2012-12-21 12:10:43 -08:00
John Firebaugh
8b889a4e48
Make readable
2012-12-21 12:10:43 -08:00
John Firebaugh
7f4acb46fc
Ensure dragging a way is undoable
2012-12-21 12:10:43 -08:00
Tom MacWright
57cf18e2d6
Always prevent default on the delete key. Fixes #303
2012-12-21 14:19:55 -05:00
Saman Bemel-Benrud
780d79e2d5
better tag reference modal.
2012-12-20 19:28:48 -05:00
Saman Bemel-Benrud
6fd7d65e8c
minor tweak.
2012-12-20 19:07:49 -05:00
Saman Bemel-Benrud
26c513a9f3
basic styling for tag reference modal.
2012-12-20 19:05:03 -05:00
Saman Bemel-Benrud
e72c21f256
progress on modals.
2012-12-20 18:49:21 -05:00
Saman Bemel-Benrud
bb6406eaf8
tweaks to loader.
2012-12-20 11:02:54 -05:00
Saman Bemel-Benrud
8b41671590
loader gifs/
2012-12-19 19:17:54 -05:00
Saman Bemel-Benrud
4dd33bbee5
minor style tweaks, plus fix for #286
2012-12-19 16:42:19 -05:00
Saman Bemel-Benrud
43e66db157
style tweaks to inspector header
2012-12-19 16:27:41 -05:00
Saman Bemel-Benrud
7799564b4b
dumb copy change.
2012-12-19 15:26:51 -05:00
Saman Bemel-Benrud
2fc2ef63f4
refining modals.
2012-12-19 15:22:19 -05:00
Saman Bemel-Benrud
a8a26d5d10
Merge branch 'master' of github.com:systemed/iD
2012-12-18 18:11:12 -05:00
Saman Bemel-Benrud
bbae4a436f
commit modal polish.
2012-12-18 18:11:00 -05:00
Saman Bemel-Benrud
37e7b2542c
basic commit message UI styling.
2012-12-18 18:05:37 -05:00
John Firebaugh
ab733f3de0
Test/fix inspector
2012-12-18 14:48:24 -08:00
John Firebaugh
b134e95dbc
Disable spec failing on Travis until I can debug it
2012-12-18 12:39:45 -08:00
Saman Bemel-Benrud
fee2c1812c
style improvements to details button
2012-12-18 15:12:50 -05:00
Saman Bemel-Benrud
37b2e13086
basic pass at footer stuff.
2012-12-18 14:52:35 -05:00
Tom MacWright
811187620d
jshint fixes
2012-12-18 10:47:32 -05:00
John Firebaugh
61da54b8af
Fix map
2012-12-17 15:40:38 -08:00
Tom MacWright
808d5ca8d7
Transition handles as well. Fixes #287
2012-12-17 17:41:44 -05:00
Tom MacWright
de0434e836
Animated inspector entry. Fixes #250 , refs #287
2012-12-17 17:38:15 -05:00
Tom MacWright
96cdde5d1a
Fix rendition of #300 , needs design push
2012-12-17 17:13:14 -05:00
Tom MacWright
c0921ac44a
Move tag reference to its own file
2012-12-17 17:06:39 -05:00
Tom MacWright
853d7322c8
Merge branch 'master' of github.com:systemed/iD
...
Conflicts:
js/id/ui/inspector.js
2012-12-17 16:36:38 -05:00
Tom MacWright
c161efb9a7
Pay attention to natural tag, understand the d3 problem
2012-12-17 16:19:15 -05:00
Saman Bemel-Benrud
6ca8e321ac
updating cursors + mock-up.
2012-12-17 15:44:48 -05:00
Saman Bemel-Benrud
6fed29a905
Merge branch 'master' of github.com:systemed/iD
2012-12-17 15:43:31 -05:00
John Firebaugh
d4e08550eb
Don't show help/remove buttons for empty row
2012-12-17 11:23:34 -08:00
John Firebaugh
f1e553f924
Always show empty row in inspector
2012-12-17 11:21:41 -08:00
Saman Bemel-Benrud
d6b96de020
Merge branch 'master' of github.com:systemed/iD
2012-12-17 14:19:16 -05:00
Tom MacWright
e8a14f8b5b
Make handles connected to more than one way cyan. Fixes #205
2012-12-17 14:06:27 -05:00
Tom MacWright
79a1887d6b
Link to wiki
2012-12-17 13:36:34 -05:00
Tom MacWright
5104c2a0aa
Add ref ui, refs #256
2012-12-17 12:55:25 -05:00
Tom MacWright
d8d65c4784
Transition stroke active class colors. Refs #287
2012-12-17 12:35:06 -05:00
Tom MacWright
d5fa942f55
Update lodash, use deep cloning to fix #284
2012-12-17 12:31:19 -05:00
Saman Bemel-Benrud
898804b9d5
Merge branch 'master' of github.com:systemed/iD
2012-12-17 11:35:02 -05:00
Saman Bemel-Benrud
2aa2d6ca8c
minor cursor update.
2012-12-17 11:34:54 -05:00
John Firebaugh
e8147fdd29
Add d3.latedrag.js to package
2012-12-15 09:45:32 -08:00
John Firebaugh
d66915e356
Update mocha and include mocha-phantomjs fix
...
Fixes #289 , see:
https://github.com/metaskills/mocha-phantomjs/pull/30
https://github.com/visionmedia/mocha/pull/691
2012-12-15 09:37:06 -08:00
John Firebaugh
e627616603
Fix float comparison
2012-12-15 09:37:06 -08:00
Saman Bemel-Benrud
2c3c4cc652
resolve conflict.
2012-12-14 19:58:15 -05:00
Saman Bemel-Benrud
9348068224
forgot to uncomment thing
2012-12-14 19:56:48 -05:00
Saman Bemel-Benrud
8c364091a3
refining cursor behavior.
2012-12-14 19:54:55 -05:00
John Firebaugh
ad0efa4931
Place -> Point
...
We decided to use geometric terms for the modes.
2012-12-14 14:39:38 -08:00