-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
[CCR & Snapshot+Restore] Center align states under tabs #103237
[CCR & Snapshot+Restore] Center align states under tabs #103237
Conversation
@elasticmachine merge upstream |
...plugins/index_lifecycle_management/public/application/sections/policy_table/policy_table.tsx
Show resolved
Hide resolved
...er_replication/public/app/sections/home/auto_follow_pattern_list/auto_follow_pattern_list.js
Show resolved
Hide resolved
Pinging @elastic/kibana-stack-management (Team:Stack Management) |
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 so much for working on this @sabarasaba! The screens look great - nice to see all of this coming together and aligning on patterns across our apps.
I noticed one issue with the text rendering outside the error prompt in Snapshot + Restore (although this may be an EUI issue).
[EDITED] I also have a couple concerns around the refactoring made to Snapshot + Restore. First of all, I agree returning early is the better approach and aligns with some of the comments Seb made in #101548. That said, in a couple places with your current changes (tried to make comments where applicable) I think we lose the privileges check. I think we'd always want this check to happen.
I would also add that Snapshot + Restore is known for having some gaps in test coverage (old issue, but mostly still relevant: #47595). I would just lean more on the cautious side when refactoring the code and focus on the minimal changes needed to align the UX until we have more robust test coverage.
...plugins/index_lifecycle_management/public/application/sections/policy_table/policy_table.tsx
Show resolved
Hide resolved
x-pack/plugins/snapshot_restore/public/application/sections/home/restore_list/restore_list.tsx
Show resolved
Hide resolved
...er_replication/public/app/sections/home/auto_follow_pattern_list/auto_follow_pattern_list.js
Show resolved
Hide resolved
x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_list.tsx
Show resolved
Hide resolved
Thanks for having a look @alisonelizabeth! I think I agree with you, lets better defer the refactoring for later and stick to the little ux changes for now. I've reverted the changes back to using the content var as it was before. I've also made a few more changes as suggested:
|
@elasticmachine merge upstream |
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 making those changes @sabarasaba! Latest LGTM. Looks like there's a small prettier
error causing CI to fail, but happy to see this merged once that's addressed.
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @sabarasaba |
* fix up CCR centered sates in tabs content * update snapshots list * fix lint errors * Change tab states for all pages in snapshot+restore * Remove unnecessary variables * Seems we dont need the class wrapper * fix broken type * Fix bug in ILM table when filtering it down * center align search box * fix linter errors * fix prettier warnings * revert content var refactor and just focus on ux * add breakword class to paragraph so we avoid text overflowing * fix prettier errors Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…03610) * fix up CCR centered sates in tabs content * update snapshots list * fix lint errors * Change tab states for all pages in snapshot+restore * Remove unnecessary variables * Seems we dont need the class wrapper * fix broken type * Fix bug in ILM table when filtering it down * center align search box * fix linter errors * fix prettier warnings * revert content var refactor and just focus on ux * add breakword class to paragraph so we avoid text overflowing * fix prettier errors Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Addresses remaining work that was discussed #102507 (comment)
I also found a small bug in the ILM app, and since it was such a small fix I ended up doing it here also 🙈
Related: #100748
Screenshots CCR
Follower Indices Tab
Auto-follow Patterns Tab
Screenshots Snapshot+Restore
Repositories Tab
Policies Tab
Snapshots Tab
Restore Tab