[Enterprise Search] Consistent spacing fixes#151866
Conversation
sphilipse
left a comment
There was a problem hiding this comment.
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 }>; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
That could be a good idea, I will do the changes
|
I'm adding v8.7.0 so we backport this, too :) |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
## 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)
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
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.