Skip to content

[Enterprise Search] Consistent spacing fixes#151866

Merged
efegurkan merged 8 commits intoelastic:mainfrom
efegurkan:spacing-fixes
Feb 28, 2023
Merged

[Enterprise Search] Consistent spacing fixes#151866
efegurkan merged 8 commits intoelastic:mainfrom
efegurkan:spacing-fixes

Conversation

@efegurkan
Copy link
Copy Markdown
Member

@efegurkan efegurkan commented Feb 22, 2023

Summary

Introduces a new page introduction component to be used in various places. This way we ensure spacing are correct and consistent in between configuration tabs.

Screen.Recording.2023-02-27.at.17.40.47.mov

Checklist

Delete any items that are not applicable to this PR.

@efegurkan efegurkan changed the title Move title in the InlineEditableTable [Enterprise Search] Consistent spacing fixes Feb 22, 2023
@efegurkan efegurkan added release_note:skip Skip the PR/issue when compiling release notes Team:EnterpriseSearch v8.8.0 labels Feb 22, 2023
@efegurkan efegurkan marked this pull request as ready for review February 28, 2023 12:07
@efegurkan efegurkan requested a review from a team February 28, 2023 12:07
Copy link
Copy Markdown
Member

@sphilipse sphilipse left a comment

Choose a reason for hiding this comment

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

Awesome! Only one question.

export interface PageIntroductionProps {
actions?: React.ReactNode | React.ReactNode[];
description: React.ReactNode | string;
links?: { href: string; text: string } | Array<{ href: string; text: string }>;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

question: Did you consider making this a React.ReactNode input as well, so we make the consumers responsible for providing the link? I'm not sure that's better but it may prove more flexible.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

That could be a good idea, I will do the changes

@sphilipse
Copy link
Copy Markdown
Member

I'm adding v8.7.0 so we backport this, too :)

@kibana-ci
Copy link
Copy Markdown

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
enterpriseSearch 2013 2014 +1

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.2MB 2.2MB +276.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
securitySolution 428 430 +2

Total ESLint disabled count

id before after diff
securitySolution 506 508 +2

History

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

@efegurkan efegurkan merged commit 124b5be into elastic:main Feb 28, 2023
@efegurkan efegurkan deleted the spacing-fixes branch February 28, 2023 17:17
@kibanamachine
Copy link
Copy Markdown
Contributor

💔 All backports failed

Status Branch Result
8.7 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 151866

Questions ?

Please refer to the Backport tool documentation

bmorelli25 pushed a commit to bmorelli25/kibana that referenced this pull request Mar 10, 2023
## Summary

Introduces a new page introduction component to be used in various
places. This way we ensure spacing are correct and consistent in between
configuration tabs.



https://user-images.githubusercontent.com/1410658/221848745-989687b4-1826-48b2-b9c8-fe5750d57c6e.mov



### Checklist

Delete any items that are not applicable to this PR.

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [x] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [x] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [x] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Mar 31, 2024
@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add the label auto-backport or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 151866 locally

@sphilipse sphilipse added the backport:skip This PR does not require backporting label Apr 2, 2024
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:EnterpriseSearch v8.7.0 v8.8.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants