ember-admin icon indicating copy to clipboard operation
ember-admin copied to clipboard

Improved relationships interface

Open angusfretwell opened this issue 11 years ago • 7 comments

It would be great to have a simple interface for managing relationships. Mostly I'd like to be able to associate existing models with hasMany/belongsTo relationships.

I think it could be as simple as a select menu for belongsTo, and a multi-select for hasMany (keeping to standard HTML inputs seems the most appropriate for this project).

angusfretwell avatar Dec 12 '14 05:12 angusfretwell

I'm not sure I entirely understand the request. Shouldn't you be managing those relationships in the model itself and not in an admin interface?

bcardarella avatar Dec 12 '14 12:12 bcardarella

Sorry for vagueness. I mean an interface for assigning relationships to records. For example; given a post, I might want to assign it to a category (belongsTo) or assign it tags (hasMany).

angusfretwell avatar Dec 14 '14 09:12 angusfretwell

@angusfretwell - I've been working on this - I'm planning to release it as an ember-admin plugin in a few weeks. Will comment here when it's up!

hhff avatar Jan 12 '15 21:01 hhff

+1 is there any update on this @angusfretwell I'm happy to help

hbrysiewicz avatar Mar 19 '15 19:03 hbrysiewicz

Sorry @hbrysiewicz - I abandoned this. Was working with firebase and that made everything an extra level of annoying, so I switched all my admin stuff to rails.

hhff avatar Mar 19 '15 19:03 hhff

+1

clairton avatar Mar 23 '15 12:03 clairton

Alright, I'll work on this. I put something together for a recent project that I can probably use most of for this.

hbrysiewicz avatar Mar 23 '15 21:03 hbrysiewicz