orion
orion copied to clipboard
Enhance table
Description
Hi @bouthilx , this is a PR with some enhancements for trials table
Changes
- Use light gray for empty column headers
- Allow to display all columns (useful if many columns are hidden) using a checkbox added in multiselect
- Add drag-and-drop to change columns order
- Display trial info in a dialog when clicking on trial row
Checklist
Tests
- [ ] I added corresponding tests for bug fixes and new features. If possible, the tests fail without the changes
- [ ] All new and existing tests are passing (
$ tox -e py38
; replace38
by your Python version if necessary)
Documentation
- [ ] I have updated the relevant documentation related to my changes
Quality
- [ ] I have read the CONTRIBUTING doc
- [ ] My commits messages follow this format
- [ ] My code follows the style guidelines (
$ tox -e lint
)
TODO: Use instead a checkbox to "select all"
Put checkbox at top of columns in multiselect component
If all columns are selected, this checkbox should be selected
If any column is deselected, this checkbox should be deselected
Hi @bouthilx ! PR update, I added a checkbox to select all columns, instead of a button. Here is a screencast to show how it works.
Finally added drag-and-drop to change column order!
@bouthilx Updated!
- Display trial info in a dialog when clicking on trial row
PS: We may need a demo to correctly review all changes ^^ !