biothings / discovery-app

The Data Discovery Engine project by the CD2H Data working-group
http://discovery.biothings.io
Apache License 2.0
4 stars 9 forks source link

Parent class properties not shown in non-validation view #169

Open gtsueng opened 2 years ago

gtsueng commented 2 years ago

Describe the bug The properties from parent classes used to be visible in the non-validation view of a schema. This does not appear to be the case anymore.

To Reproduce Steps to reproduce the behavior: See as an example: https://discovery.biothings.io/view/bioschemastypes/BioChemEntity

Expected behavior Previously, the properties for the parent class would automatically be displayed. They are no longer displaying

Screenshots image There used to be a blue bar which would include the parent class and (when clicked on, would display the properties from the parent class)

Additional context It looks misleading as properties which would normally be inherited from the parent class for this schema are no longer available. If the intention was to hide them since there could potentially be an overwhelming number of inherited properties, it would be better to just have the default view be the 'hide all' view, rather than for the content to be missing altogether