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

[SharedUX] Add custom branding to ExitFullScreenButton #150620

Merged
merged 7 commits into from
Feb 14, 2023

Conversation

majagrubic
Copy link
Contributor

@majagrubic majagrubic commented Feb 8, 2023

Summary

This PR replaces the Elastic logo with the custom logo in ExitFullScreenButton component.

Without custom logo:
Screenshot 2023-02-13 at 12 49 59

With custom logo:
Screenshot 2023-02-13 at 12 53 16

Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
- [ ] Documentation was added for features that require explanation or tutorials

  • Unit or functional tests were updated or added to match the most common scenarios
  • Any UI touched in this PR is usable by keyboard only (learn more about keyboard accessibility)
  • Any UI touched in this PR does not create any new axe failures (run axe in browser: FF, Chrome)
    - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list
  • This renders correctly on smaller devices using a responsive layout. (You can test this in your browser)
    - [ ] This was checked for cross-browser compatibility

For maintainers

@majagrubic majagrubic changed the title Add custom branding to ExitFulLScreenButton Add custom branding to ExitFullScreenButton Feb 8, 2023
@majagrubic
Copy link
Contributor Author

@elasticmachine merge upstream

@majagrubic
Copy link
Contributor Author

@elasticmachine merge upstream

@majagrubic majagrubic changed the title Add custom branding to ExitFullScreenButton [SharedUX] Add custom branding to ExitFullScreenButton Feb 13, 2023
@majagrubic majagrubic added v8.8.0 release_note:skip Skip the PR/issue when compiling release notes labels Feb 13, 2023
@majagrubic majagrubic marked this pull request as ready for review February 13, 2023 11:56
@majagrubic majagrubic requested review from a team as code owners February 13, 2023 11:56
@kibana-ci
Copy link
Collaborator

💚 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
dashboard 379.2KB 379.6KB +379.0B
maps 2.7MB 2.7MB +189.0B
total +568.0B

History

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

Copy link
Contributor

@rshen91 rshen91 left a comment

Choose a reason for hiding this comment

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

Nice addition thanks for the tests too

@@ -103,6 +104,16 @@ describe('<ExitFullScreenButton />', () => {
expect(kibanaServices.coreStart.chrome.setIsVisible).toHaveBeenCalledTimes(0);
});

test('renders custom logo', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

NICE!

Copy link
Contributor

@ThomThomson ThomThomson left a comment

Choose a reason for hiding this comment

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

Dashboard plugin changes LGTM!

@majagrubic majagrubic merged commit 868fc24 into elastic:main Feb 14, 2023
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Feb 14, 2023
@majagrubic majagrubic deleted the exit-fullscreen-button-logo branch February 14, 2023 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes v8.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants