Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to hide columns #991

Open
RFSH opened this issue Sep 8, 2023 · 0 comments
Open

Ability to hide columns #991

RFSH opened this issue Sep 8, 2023 · 0 comments
Labels
annotation Anything related the annotations (adding new one or changing existing one) discussion required requires a discussion before moving forward

Comments

@RFSH
Copy link
Member

RFSH commented Sep 8, 2023

In some cases, instead of choosing the visible columns, we would like the ermrestjs/chaise heuristics be used and only hide some columns. To solve this issue for system columns, we've added several chaise-config properties. But now we would like to do similar things for other columns. This feature can help reduce the annotations needed and make the schema document smaller.

We have a hide_column_header that can be used to hide the column headers displayed on the record page. Similarly, we could add a hide_column_value or a hide_column boolean. Or maybe it's better to have this as a table-level annotation where you can define a list of hidden columns.

Ideally, this should be something that can also be defined on the catalog or schema. That being said, with the addition of column-defaults and table-defaults annotations, we don't necessarily need to worry about that since we can define any column-level or table-level annotation on catalog and schema now.

@RFSH RFSH added the annotation Anything related the annotations (adding new one or changing existing one) label Sep 8, 2023
@RFSH RFSH added the discussion required requires a discussion before moving forward label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
annotation Anything related the annotations (adding new one or changing existing one) discussion required requires a discussion before moving forward
Projects
None yet
Development

No branches or pull requests

1 participant