Commit Graph

859 Commits

Author SHA1 Message Date
John Firebaugh
883acd3e60 two-parents -> shared
It might have more than two parents.
2012-12-22 14:46:16 -08:00
John Firebaugh
5c6a45d22d Use cursor-select-acting.png (fixes #304) 2012-12-22 14:46:13 -08:00
saman bb
e6cf1c8e8a fixed iframe & spinner asset path. 2012-12-21 19:12:10 -05:00
John Firebaugh
798da1adde Fix fill 2012-12-21 13:49:06 -08:00
John Firebaugh
40a32de443 Hide select cursors when in draw modes (fixes #290) 2012-12-21 13:32:39 -08:00
John Firebaugh
a9d6ab2107 Prefer named argument 2012-12-21 13:06:08 -08:00
John Firebaugh
6a4b75aa88 latedrag functionality was merged into iD.behavior.drag 2012-12-21 12:29:59 -08:00
John Firebaugh
f0acbc2653 loc -> point, dxdy -> delta 2012-12-21 12:10:44 -08:00
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