-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Empty index patterns page re-design #64258
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
Conversation
|
@elasticmachine merge upstream |
|
merge conflict between base and head |
97c3ecb to
3a022fb
Compare
|
Hey, I checked the PR with two states:
|
I have no idea. Can you elaborate further? What did you see vs what you expected to see.
Yes, that's just a placeholder, sorry I don't know all the license capabilities. I'm hoping that @mattkime will be able to help get the correct license checks in there for that one. |
|
I improved the styles and optimized the illustration: @AlonaNadler, Caroline talked with @mattkime so he could help us with the routing structure and the licensing checks. |
|
@AlonaNadler The reason you're not getting the empty index page screen is because the Index pattern page is auto-directing you to the "Create" page. If you click on the "Index patterns" breadcrumb in the header, it should force you back to the listings/empty page. We're hoping that fixing the routing will be part of this PR. Thanks @miukimiu , looks great! I'll pull down and do some cleanup wrt i18n and test (if I can). |
|
Fixed the illustrations colors. They now change according to the active theme: |
making a new component for the empty index panel
|
@elasticmachine merge upstream |
snide
left a comment
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.
There were a couple designers on this project so I'm gonna consider the code owners review here covered through the pairing. Only suggestion I have after looking at the code is that these pages are so separated, you might want to import the sass directly into the files that are being used rather than chaining the imports off a single index. That's not necessary of course, it's just something I noticed when looking at the diff.
The screens themselves look fantastic. Really nice work @cchaos and @miukimiu
There's a couple small things I noticed, but this overall looks mergeable.
| @@ -1,5 +1,6 @@ | |||
| files: | |||
| include: | |||
| - 'src/legacy/core_plugins/kibana/public/management/**/*.s+(a|c)ss' | |||
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.
👏
| @import 'create_index_pattern_wizard/index'; | ||
| @import 'empty_index_pattern_prompt/index'; | ||
| @import 'index_pattern_table/index'; |
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.
This stuff can probably be imported into the individual components, and then use the a more broad import individually into those files for the vars/mixins as needed.
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.
This section isn't in the NP yet, so we have to stick with our old SASS manifests.
..._pattern_wizard/components/step_index_pattern/components/loading_indices/loading_indices.tsx
Outdated
Show resolved
Hide resolved
...ns/index_patterns/create_index_pattern_wizard/components/step_time_field/step_time_field.tsx
Outdated
Show resolved
Hide resolved
...management/sections/index_patterns/empty_index_pattern_prompt/empty_index_pattern_prompt.tsx
Outdated
Show resolved
Hide resolved
|
@cchaos I'd like make sure I understand the routing changes that need to occur. We need to show the As I mentioned in slack, I think the design needs to account for a user that needs to create an index pattern on a hidden or system index. This is possible with our existing design. It could just be a link that sidesteps the |
|
@mattkime Correct, currently the only time you see the "no data" screen is on the "Create" page. But we want that screen to show in the "Index table" page too. So they can't try to create an index pattern before they have data. And all the apps that re-direct to index-patterns when there are none, should go to the index-pattern table page that will then show the no-data, or no-index-pattern screen. As for the hidden indices, we could possibly add a link in the footer similar to the docs one that would carry them to the create page with the "Show hidden indices" toggle on by default. Something like this, though it would need to be word-smithed. |
💔 Build Failed
Failed CI StepsHistory
To update your PR or re-run it, just comment with: |
|
Following up from a discussion with @mattkime. This has been moved to 7.9 since there seems to be more effort left than can be done in the time left for 7.8. Setting the PR back to draft. The current problem with what exists in this PR is there is no way to create index patterns with system/hidden indices (which is a current and used feature today). The consensus is that only the index pattern listing page should show one of the three options:
But that the creation page is always reachable. [Whimsical] Todo for design:
Todo for eng:
|
|
Lets make this dependent upon #65026 which moves this codebase to the new platform. I think it will also make it easier to complete this PR. |
|
I've just updated the illustrations with the new designs from https://github.com/elastic/Design/issues/2470. |
|
Closing in favor of new NP PR #68819 |








Fixes #57401
As detailed in the issue referenced above this PR addresses the empty screens of
Management / Index Patterns.Screenshots below indicate "Before" on the left, and "After" on the right
No data
The screen above also shows the case where the license may not include a specific feature.
No index patterns
Those are the main new screens. Below are some slight updates to current screens.
Creation Wizard
Listing page
Need help with
Checklist