Unifying converting listing pages to new layout #98651
Conversation
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
- Renamed `isEmptyScreen` to `isEmptyState` - Removed `emptyPrompt` prop in favor of simply passing `in as children`. - Allowing override of template type when `isEmptyState` - Updating docs to better match patterns we want as copy/pasteable snippets
|
@elasticmachine merge upstream |
|
@flash1293 Yep! You'll find a list of Analytic app issues here: #98827. It's as simple as ensuring there's no random |
flash1293
left a comment
There was a problem hiding this comment.
LGTM in that case. Feel free to add the class name to Graph on this PR, but I can also do this separately.
ThomThomson
left a comment
There was a problem hiding this comment.
Tested this locally and the new dashboard listing page is great, and works flawlessly with the 'continue editing' list. The new empty screen also works great!
Also took a cursory look through the code. Everything LGTM.
Is it intentional that the dashboard unsaved edits callout shows up under the title, while the Visualize Library 'try dashboard' callout shows up above the title? If this is not intentional, I think they should be aligned since their design is very similar. The Presentation team can most likely do a follow up for this.
I suppose Canvas doesn't use the table list view for its listing page, but its design should also be aligned. We'll just need to put in a bit of effort to catch up to the new standard.
Overall, no big problems, and I've been waiting for this redesign ever since I saw the figma!
tsullivan
left a comment
There was a problem hiding this comment.
KibanaPageTemplate addition and listing page changes LGTM
|
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
References to deprecated APIs
History
To update your PR or re-run it, just comment with: |
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com> Co-authored-by: cchaos <caroline.horn@elastic.co> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com> Co-authored-by: cchaos <caroline.horn@elastic.co> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co> Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com> Co-authored-by: cchaos <caroline.horn@elastic.co>




Summary
Copy + cleanup of @cchaos's work in her fork (original commit).
<div>elements where necessaryComparisons
Checklist
Delete any items that are not applicable to this PR.