Commit Graph

16 Commits

Author SHA1 Message Date
John Firebaugh
3e2968310b Ensure "New Relation..." is always available (fixes #2066) 2014-01-03 13:00:36 -08:00
Adam Solove
2213b072dd Clean up and test relation sorting code. 2013-12-10 22:39:37 -05:00
Adam Solove
d768c14170 Sort relation suggestions most recent first. 2013-12-10 20:45:41 -05:00
John Firebaugh
8323c948a7 jshint fixes 2013-10-24 15:33:52 -07:00
John Firebaugh
8f0fc433c4 Add preventDefault for click events (fixes #1771) 2013-10-14 14:13:29 -04:00
John Firebaugh
47516bd650 Don't suggest adding a relation to itself (fixes #1820) 2013-09-30 15:14:20 -07:00
John Firebaugh
e8d924aab0 Add ability to create a new relation (fixes #1576) 2013-07-22 15:13:21 -07:00
John Firebaugh
c8da4851e1 Remove unused second fetcher parameter 2013-06-21 14:30:30 -07:00
John Firebaugh
f21f898671 Fix relation autocomplete 2013-06-21 14:05:18 -07:00
John Firebaugh
467d01d339 First pass at "Add to Relation" (#1539) 2013-06-05 11:22:00 -07:00
John Firebaugh
6befa984db Fall back to ref tag for displayed feature name 2013-06-03 18:32:27 -07:00
John Firebaugh
3981279747 Fix member list redraws
d3 does not store the keys produced by a data bind -- it
recomputes them on the fly. The key function that was used
referred to `entity`, with the intent that rows referring
to the previous entity would wind up in the exit selection.
But since the key is recomputed for the existing bindings,
and at that point `entity` refers to the new entity, that
portion of the key effectively always matched.

While here, fix deletion of incomplete members (don't know
what the geometry is, so can't do geometry-specific annotations).

Fixes #1548.
2013-05-30 11:45:02 -07:00
John Firebaugh
79737d2cd0 Work toward making inspector persistent 2013-05-26 13:36:21 -07:00
Saman Bemel-Benrud
975d538d23 relations styles for relation selection. 2013-05-23 17:15:38 -04:00
Saman Bemel-Benrud
abeef29ed0 first pass at basic relations UI for members 2013-05-23 17:01:09 -04:00
John Firebaugh
9c86e2a86c Display relation members and memberships in inspector
* Preset icon of relation/member
* Preset name of relation/member
* Name of relation/member
* Role
* Delete button

All currently unstyled.
2013-05-22 17:41:59 -07:00