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

141119 remove visibility toogle + use_columns refactor #141250

Merged
merged 5 commits into from Sep 23, 2022

Conversation

jcger
Copy link
Contributor

@jcger jcger commented Sep 21, 2022

Summary

Closes #141119

Checklist

Delete any items that are not applicable to this PR.

@jcger jcger force-pushed the 141119-remove-visibility-toogle branch from 0c5c6e0 to 41f4ace Compare September 22, 2022 09:52
@jcger jcger added Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) Feature:Alerting/Alerts-as-Data Issues related to Alerts-as-data and RuleRegistry labels Sep 22, 2022
@jcger jcger marked this pull request as ready for review September 22, 2022 09:53
@jcger jcger requested a review from a team as a code owner September 22, 2022 09:53
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@jcger jcger changed the title 141119 remove visibility toogle 141119 remove visibility toogle + use_columns refactor Sep 22, 2022
@@ -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(
Copy link
Contributor Author

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

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
triggersActionsUi 620 622 +2

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
triggersActionsUi 1.1MB 1.1MB -42.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@XavierM XavierM added bug Fixes for quality problems that affect the customer experience v8.5.0 labels Sep 22, 2022
Copy link
Contributor

@XavierM XavierM left a 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

@jcger jcger merged commit 10564ef into elastic:main Sep 23, 2022
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 23, 2022
* remove columns hide selector

* refactor use_column hook

* add testing

* add getColumnIds fn

(cherry picked from commit 10564ef)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.5

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Sep 23, 2022
…1562)

* remove columns hide selector

* refactor use_column hook

* add testing

* add getColumnIds fn

(cherry picked from commit 10564ef)

Co-authored-by: Julian Gernun <julian.gernun@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Alerting/Alerts-as-Data Issues related to Alerts-as-data and RuleRegistry release_note:enhancement Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.5.0 v8.6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RAM] Alerts Table - Remove visibility toggle in columns toolbar
5 participants