Skip to content
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

[App Search] Convert Settings & Credentials pages to new page template #102671

Merged
merged 6 commits into from
Jun 21, 2021

Conversation

cee-chen
Copy link
Contributor

Summary

Follow up to #102170 - converts more App Search pages to the new KibanaPageTemplate. I'm attempting to break up the AS layout conversion into smaller, easier to review chunks.

This PR handles the top-level Settings & Credentials (+ adds missing ability checks and a test refactor). As always, follow along by commit (and turn off whitespace diffs)!

Screencaps

screencap

NOTE: The engine nav item currently has a small dropdown arrow next to it that will go away once the real engine subnav is implemented.

Checklist

@cee-chen cee-chen added release_note:skip Skip the PR/issue when compiling release notes v7.14.0 auto-backport Deprecated - use backport:version if exact versions are needed labels Jun 18, 2021
@cee-chen cee-chen requested a review from a team June 18, 2021 20:25
pageHeader={{ pageTitle: CREDENTIALS_TITLE }}
>
{shouldShowCredentialsForm && <CredentialsFlyout />}
<EuiPanel color="subdued" className="eui-textCenter">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 quick notes,

  1. This large diff block is mostly whitespace diff shenanigans, so don't forget to disable those
  2. I did a general panel pass with Davey in light of the new page template header having a bottom border, and he approved converting this panel from bordered to subdued

@byronhulcher
Copy link
Contributor

@elasticmachine merge upstream

@cee-chen cee-chen enabled auto-merge (squash) June 21, 2021 19:14
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
enterpriseSearch 2.1MB 2.1MB -770.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@cee-chen cee-chen merged commit f2ca7fc into elastic:master Jun 21, 2021
@cee-chen cee-chen deleted the kibana-page-template-as-1 branch June 21, 2021 21:06
@kibanamachine
Copy link
Contributor

💔 Backport failed

Status Branch Result
7.x Commit could not be cherrypicked due to conflicts

To backport manually run:
node scripts/backport --pr 102671

cee-chen pushed a commit that referenced this pull request Jun 21, 2021
#102671) (#102823)

* Convert Settings to new page template

+ add missing ability check around route

* Convert Credentials to new page template

+ add missing ability check around route

* [Tests refactor] DRY out repeated ability tests to a helper

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes v7.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants