-
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
[Cases]: Redesign all cases list select modal #149851
Conversation
…-ref HEAD~1..HEAD --fix'
…kibana into select-case-modal
Pinging @elastic/response-ops (Team:ResponseOps) |
Pinging @elastic/response-ops-cases (Feature:Cases) |
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.
x-pack/plugins/cases/public/components/all_cases/all_cases_list.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/cases/public/components/all_cases/table_filters.test.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/cases/public/components/filter_popover/index.tsx
Outdated
Show resolved
Hide resolved
...k/plugins/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.test.tsx
Outdated
Show resolved
Hide resolved
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 like the new cleaner design with fewer columns!
Agree with @jonathan-buttner about giving the Name column more room, and also need to decide on what to do with the 'Create case' button.
Thank you for updating this! 🙌 Here's a quick mock with the addition of 'create case' option. We typically show the create button at the beginning of the search bar so not to confuse it with a 'update' or 'submit' button that is usually at the end. One small tweak I would also suggest from the original concept is to show the 'Select' buttons as the default (tinted background) styling, rather than the empty buttons. I think they should stand out more than they do currently. I included the cancel footer (as an empty button), but i'm not sure you need it. |
Thanks for quick update!
Agree. Select buttons should stand out.
I think we have close button at top right corner. So cancel is not needed. |
...k/plugins/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.test.tsx
Outdated
Show resolved
Hide resolved
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.
Tested already the new design and works fine for me, good job! 👌
There are some jarring rerenders that the modal does whenever there are no cases displayed and we trigger filters or sorting.
If there are rows then the whole modal doesn't rerender.
Screen.Recording.2023-02-02.at.17.18.25.mov
But I think it has nothing to do with your changes, maybe I should create a new issue @peteharverson ?
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.
Tested latest changes and the design changes LGTM
There are some jarring rerenders that the modal does whenever there are no cases displayed and we trigger filters or sorting.
Yes I see this too. Agree with @adcoelho that this deserves a separate issue
…-ref HEAD~1..HEAD --fix'
…kibana into select-case-modal
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.
Great job! Tested and I working as expected. I left some comments.
x-pack/plugins/cases/public/components/filter_popover/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/cases/public/components/all_cases/all_cases_list.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/cases/public/components/all_cases/all_cases_list.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/cases/public/components/all_cases/solution_filter.test.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/cases/public/components/all_cases/solution_filter.tsx
Outdated
Show resolved
Hide resolved
…-ref HEAD~1..HEAD --fix'
…kibana into select-case-modal
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.
Security-Explore changes LGTM
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
Summary
This PR Fixes: #139194
I Removes below columns and filters from Cases select modal.
Columns
Filters
Before

After: Updated

Flaky test runner: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1867
Checklist
Delete any items that are not applicable to this PR.
For maintainers