Skip to content

feat: show core relations in infobox

Arnaud Vergnet requested to merge topic/default/infobox into branch/default

To reduce clutter in show and list views, display of core relations has been adjusted.

Show mode:

Core relations such as eid, creation and modification date are shown in an information box. There is a new configuration option to allow disabling it or overriding it with a custom React component. Core relations can still be shown in the main view using configuration.

The owned_by relation has a cardinality of ** so the component is a list. To prevent the large list from showing in the small info box, a button is displayed instead which brings the full list in a dialog when clicked.

List mode:

Only the eid, creation and modification date core relations are shown. Unless configured otherwise, the eid relation is shown in first (from the left), and the dates last.

Show mode List mode
Screenshot_2022-06-24_at_16-24-19_DEV_React-Admin_Cubicweb_Demo Screenshot_2022-06-24_at_16-24-27_DEV_React-Admin_Cubicweb_Demo

Merge request reports