backdrop-contrib / reference

Defines a field to allow Backdrop entities to reference each other.
GNU General Public License v2.0
4 stars 6 forks source link

UX - Provide links to add and edit references through a dialog #12

Open olafgrabienski opened 7 years ago

olafgrabienski commented 7 years ago

@mikemccaffrey could you tag this issue as feature request? seems that I can't do that.

The feature would allow editors to create (or edit) references directly on the node form in a modal dialog. In Drupal 7, this feature is provided by References Dialog. I find the module extremely helpful, it enhances the usability a lot - not only but especially if you work with nested entities.

(Simple example, three node types: book review, book, and book author. During the creation of the book review, you add the book, and during this step, you create the book author.)

There is a Backdrop version of References Dialog, but when I tried it two months ago, it didn't work with the then existing reference modules. In addition, I saw that Backdrop itself uses modal dialogs in many cases, so I thought this could be done in Reference instead of using a contrib module.

klonos commented 7 years ago

could you tag this issue as feature request?

We don't have a "feature request" label for contrib, but there's "enhancement" 😉

klonos commented 7 years ago

👍 to the feature request. I have our invoicing backend built in D7 and I very often need to create the customer profile as I am creating an invoice. references_dialog has proved to be indispensable.

herbdool commented 6 years ago

@olafgrabienski I recently tried References Dialog and it seems to work now. Have you tried it again?

olafgrabienski commented 6 years ago

@herbdool Thanks for the hint! I haven't tried References Dialog again but will do so in the next days.

herbdool commented 6 years ago

@olafgrabienski no prob. I also ported nodereference_url if that is useful to you.

olafgrabienski commented 6 years ago

@herbdool In the meantime I've tried References Dialog with References, looks good on first sight!

I've also tried using it with Reference which doesn't work at the moment: There is no option to choose Search Dialog, Edit Dialog or Add Dialog in the field settings of a reference field. Do you have an idea how Reference could integrate these options of Reference Dialog?

[edit]: What I mean, do you think that we need to change something in Rererence to leverage the Reference Dialog options in Reference, or do we need to change something in Reference Dialog instead?