Sorry, we don't support your browser.  Install a modern browser

Relationship preview in records views#29

When a relationship is displayed in records views, we only see the icon that means there is a relationship. It would be much more useful to see the relationship “preview” field.

The “preview” field could be configured per model, basically mark one of the fields to be the preview field.

By default, the first “unique” created field could be opt-in as preview field, because that makes sense to differenciate records using a “unique” field.

This way, finding a record based on a relationship would be visually much faster for editors.

6 years ago
1

@Aaron Fuleki: “The existing content list views (both the full-page views, and the embedded views for relations in the record editor) are a little hard to read. I’d like the ability to control how those display. For example, if I have Article and Author models, I’d like to edit the relation in the Article to display each author’s first and last name.

A simple version of this could just have a flag for fields to display, or you could go fancier and use templates, e.g., <%= author.firstName %> <%= author.lastName %>

6 years ago
Changed the title from "UI - Relationship preview in records views" to "Relationship preview in records views"
6 years ago

Both solutions could work, the second version using a template is more complicated, yet more flexible.

6 years ago
V

Y

6 years ago