-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
141119 remove visibility toogle + use_columns refactor #141250
Conversation
0c5c6e0
to
41f4ace
Compare
Pinging @elastic/response-ops (Team:ResponseOps) |
@@ -116,9 +120,6 @@ export const useColumns = ({ | |||
}); | |||
const [columns, setColumns] = useState<EuiDataGridColumn[]>(storageAlertsTable.current.columns); | |||
const [isColumnsPopulated, setColumnsPopulated] = useState<boolean>(false); | |||
const [visibleColumns, setVisibleColumns] = useState( |
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.
I was able to remove this state due to this refactor
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: |
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.
LGTM and tested locally working as expected
* remove columns hide selector * refactor use_column hook * add testing * add getColumnIds fn (cherry picked from commit 10564ef)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
Summary
Closes #141119
Checklist
Delete any items that are not applicable to this PR.