<div dir="ltr">OK, I've created a PR for auto-detecting N-1 relations and pick the RelationReference widget for the foreign key fields.<div><a href="https://github.com/qgis/QGIS/pull/3699">https://github.com/qgis/QGIS/pull/3699</a><br></div><div><br></div><div>For the deep relations UX problem, I really don't know. Do we have UX experts among the QGIS devs?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 31, 2016 at 1:51 PM, Matthias Kuhn <span dir="ltr"><<a href="mailto:matthias@opengis.ch" target="_blank">matthias@opengis.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 10/31/2016 01:26 PM, Patrick Valsecchi wrote:<br>
> Matthias,<br>
><br>
> Hummm... I don't know about the tabs. Initially I was thinking it would<br>
> be a good idea, then I tried to imagine how it would look like for<br>
> linked layers within linked layers. We would have two choices:<br>
><br>
</span>>   * Have QTabWidget within QTabWidget: tabs within tabs is a UX nightmare<br>
>   * Switch to the current way of representing relations for<br>
<span class="gmail-">>     sub-relations: that would lead to user confusion because we have two<br>
>     ways of representing relations.<br>
><br>
> What do you think? To me, tabs is not a good idea.<br>
<br>
</span>I think the (current) groupbox within groupbox approach suffers from the<br>
same UX defficiencies. At least I get confused regularly.<br>
<br>
Maybe<br>
<br>
* toplevel tabs<br>
* first sublevel groupbox<br>
* second sublevel ...<br>
  groupbox again?<br>
  skip?<br>
  button to open in separate window?<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
Matthias<br>
</font></span></blockquote></div><br></div></div>