ebi-ait / morphic-website

A generic data catalogue web app to serve the AIT team projects.
0 stars 0 forks source link

grid customisation - hidden columns #87

Closed amnonkhen closed 8 months ago

amnonkhen commented 9 months ago

Acceptance Criteria:

example configuration file - config.ts: hide attribute is optional, defaults to false.

export const GRID_CONFIG: ColumnConfiguration[] = [
        {
            name: "title",
        },
        {
            name: "dsIAfricaAffiliation",
        },
        {
            name: "description",
            hide: true
        },
        {
            name: "keywords",
        }
    ]
;
snathanvj commented 9 months ago

@amnonkhen

grid customisation instructions are recorded in a single json file

it means, we already have schema.json, we could add hide:true/false in the schema.json or do we need another json file for customisation.

amnonkhen commented 9 months ago

hide/show are not part of the schema, because the schema describes the data model rather than presentation instructions. We will ahve those in a separate file.

snathanvj commented 9 months ago

https://github.com/ebi-ait/data-catalogue-frontend/pull/2