-
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
[ILM] Update the ILM tab on the index details page #170726
Conversation
Pinging @elastic/platform-deployment-management (Team:Deployment Management) |
Hey @yuliacech , Alison reached out about a design review. Are there any particular aspects you'd like feedback on? |
Thanks a lot for looking into this, @ryankeairns! I think I'd be interested if the new ILM summary makes sense in relation to the existing ILM UI and if it fits with the rest of the tabs on the index page. I'll add a screen recording to the PR description with those other UI elements. I'm also trying to deploy this PR to Cloud, but it seems like the deploy keeps failing on the build. |
Hey @ryankeairns, I was finally able to get a Cloud deployment up and running on this PR, will send you the credentials in slack. There is an index "test_index" in Index Management that has an ILM policy attached. Could you please have a look and let me know what you think? |
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.
Thanks for working on this @yuliacech! Changles lgtm!
Unrelated to this PR, but while I was testing I realized that you can click the edit policy in ILM
link you might be taken to a managed policy, I was wondering if it would make sense to warn the user before they click it (perhaps a warning icon with a tooltip or something 🤔 ).
Thanks a lot for the review, @sabarasaba! |
Hey Yulia, I'm not having much luck hacking together - via Chrome Inspect - what I'm about to describe, but I'll do my best. To more closely align to the other tabs, let's do a flex-grow 1 and 3 split - Lifecycle policy being on the left at 1fr; the Current phase and possible error panel stacked at right in a 3fr column (with Error on top if present). The other comment I have is regarding typography. The panel titles feel rather large, so let's try wrapping the headings in an @julianrosado may have more to add or clarify as the Search team did the design work on the sibling tabs. Thanks for reaching out! |
I had the same thought @ryankeairns and had it ready to go mocked up! Have we just become best friends??? @yuliacech I have a draft Figma board here: https://www.figma.com/file/xbilnV89bje6KHXZhLv1qG/Lifecycle-ponderings?type=design&node-id=0%3A1&mode=design&t=zA9WQEbEo2Opozvr-1 I was just trying to decide if the panels should match the overview tab (where the panels have outlines) or all the other tabs (where the panels have shadows). I know we are moving away from shadowed panels overall (correct me if I'm wrong Ryan) so I'd suggest outlined panels. Don't mind any inconsistencies here (such as the wrong tab being selected and the wrong nav, etc.) as I only had a few minutes to mock these up! |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Page load bundle
History
To update your PR or re-run it, just comment with: |
Thanks a lot for your feedback, @ryankeairns and @julianrosado! I've updated the ILM tab as you suggested: the ILM tab has the same 1-3 structure as Mappings and Settings, but with the smaller panel on the left, new screenshots are in the PR description. I'll be merging this PR today but please feel free to let me know, if you have more feedback that I can address in a follow up work. |
Summary
Fixes #170516
This PR updates how the ILM tab is rendered on the index details page to make it look more fitting with other tabs.
Screenshots
ILM is waiting for a step to complete
ILM has an error
ILM has no errors and is not waiting for a step
How to test
I recommend using a chrome extension to mock the backend responses, for example https://tweak-extension.com/docs/intro.
To mock the response of the index request, configure the extension to mock the url
/internal/index_management/indices/
and let it return various ilm configurations:index with ILM that is waiting for a step to complete
index with ILM that has an error
Checklist
Risk Matrix
Delete this section if it is not applicable to this PR.
Before closing this PR, invite QA, stakeholders, and other developers to identify risks that should be tested prior to the change/feature release.
When forming the risk matrix, consider some of the following examples and how they may potentially impact the change:
For maintainers
Release Note
The ILM summary on the index page is now displayed in a separate tab.