-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Guided onboarding] Landing pages design follow ups #150084
[Guided onboarding] Landing pages design follow ups #150084
Conversation
Pinging @elastic/platform-onboarding (Team:Journey/Onboarding) |
<EuiFlexItem grow={false}> | ||
<EuiIcon type="checkInCircleFilled" color="success" /> | ||
<EuiIcon type="checkInCircleFilled" color={euiTheme.colors.success} /> |
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.
We need to use the specific color value and not the "type" of color here because the icons' color is changed following a recent Emotion migration. We want to match the icon color to the color of the header button. More details here
id="guidedOnboardingPackage.gettingStarted.cards.appSearch.title" | ||
defaultMessage="Build an application on {lineBreak} top of Elasticsearch" | ||
values={{ | ||
lineBreak: <br />, |
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.
I suggest using <br/>
to break up the lines in a specific place because the cards are styled with the static width. So they wont grow or shrink in different screen sizes.
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.
But it also looks perfectly fine without the line breaks. Should doing this?
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.
That fixes the issue when only one word is on the second line
- Adds linebreaks to prevent one word dangling on the new line (as per @osmanis's [Guided onboarding] Landing page updates #149528 (comment))
490aa8b
to
f0a439d
Compare
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.
LGTM
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
## Summary Fixes elastic#149695 Follow up to elastic#149528 This PR fixes minor design issues on the new landing page: - Adds a `document` icon to cards that on click redirect the user to a Kibana page (not the guide cards) - Updates the color of the icon for completed guide card to match the header button (as per @cindychangy's [comment](elastic#149528 (comment))) - Adds linebreaks to prevent one word dangling on the new line (as per @osmanis's [comment](elastic#149528 (comment))) - Fixes the layout of the completed guide card and all cards on the page for small screens. See screenshots below ### Screenshots #### Before (large screens) <img width="1333" alt="Screenshot 2023-02-01 at 17 58 11" src="https://user-images.githubusercontent.com/6585477/216111021-32ee8162-5cf8-4948-8f1d-aa3790e6a7f9.png"> #### After (large screens) <img width="1300" alt="Screenshot 2023-02-01 at 18 01 16" src="https://user-images.githubusercontent.com/6585477/216111153-d22feadd-1796-4b20-9e97-f7e0b025c42d.png"> #### Before (small screens) <img width="627" alt="Screenshot 2023-02-01 at 17 58 20" src="https://user-images.githubusercontent.com/6585477/216111189-08d3cd2b-bd75-4d6b-9f52-8d74623cbe35.png"> #### After (small screens) <img width="561" alt="Screenshot 2023-02-01 at 18 01 24" src="https://user-images.githubusercontent.com/6585477/216111209-6dafed8a-d398-4090-a23f-af570b684d33.png"> ### Checklist - [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
## Summary Fixes elastic#149695 Follow up to elastic#149528 This PR fixes minor design issues on the new landing page: - Adds a `document` icon to cards that on click redirect the user to a Kibana page (not the guide cards) - Updates the color of the icon for completed guide card to match the header button (as per @cindychangy's [comment](elastic#149528 (comment))) - Adds linebreaks to prevent one word dangling on the new line (as per @osmanis's [comment](elastic#149528 (comment))) - Fixes the layout of the completed guide card and all cards on the page for small screens. See screenshots below ### Screenshots #### Before (large screens) <img width="1333" alt="Screenshot 2023-02-01 at 17 58 11" src="https://user-images.githubusercontent.com/6585477/216111021-32ee8162-5cf8-4948-8f1d-aa3790e6a7f9.png"> #### After (large screens) <img width="1300" alt="Screenshot 2023-02-01 at 18 01 16" src="https://user-images.githubusercontent.com/6585477/216111153-d22feadd-1796-4b20-9e97-f7e0b025c42d.png"> #### Before (small screens) <img width="627" alt="Screenshot 2023-02-01 at 17 58 20" src="https://user-images.githubusercontent.com/6585477/216111189-08d3cd2b-bd75-4d6b-9f52-8d74623cbe35.png"> #### After (small screens) <img width="561" alt="Screenshot 2023-02-01 at 18 01 24" src="https://user-images.githubusercontent.com/6585477/216111209-6dafed8a-d398-4090-a23f-af570b684d33.png"> ### Checklist - [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
Summary
Fixes #149695
Follow up to #149528
This PR fixes minor design issues on the new landing page:
document
icon to cards that on click redirect the user to a Kibana page (not the guide cards)Screenshots
Before (large screens)
After (large screens)
Before (small screens)
After (small screens)
Checklist