-
Notifications
You must be signed in to change notification settings - Fork 2
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
Make it possible to hide fields from the table #3532
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very reasonable to me! If one wanted to test this one way would be:
- add a field with this to e.g.
test-organism
invalues.yaml
- in the integration tests, assert that it is not displayed when you go and list the fields for this organism (and assert that some other field is, as a positive control)
But not demanding that
Thanks! I added a test, maybe you can have a look again? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice - formatting issue but otherwise good.
My inclination is that we should aim in say a year's time to have most of what is currently the "E2E" tests instead moved to the "integration" tests, so if I were adding this I'd have probably added it to the integration tests, but I appreciate we don't have e.g. a searchPage
set up there so it's more work / less nice. We can probably move whole sets of tests over in due course.
huh or maybe the format issue is unrelated? |
Ah! I'll keep that in mind. I'd tend to agree actually. |
resolves #3325
preview URL: http://column-hiding.loculus.org
Summary
hideInSearchResultsTable
which you can set to hide a column in the Column visibility dialog.Screenshot
Nothing to see really.
PR Checklist
The implemented feature is covered by an appropriate test.