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

[apm][uptime][monitoring] Remove color="ghost" buttons #169312

Merged
merged 6 commits into from
Oct 27, 2023

Conversation

cee-chen
Copy link
Member

Summary

👋 Hey y'all - EUI will shortly be deprecating the ghost color in all button components (see https://eui.elastic.co/v89.0.0/#/navigation/button#ghost-vs-dark-mode).

In this PR, components using color="ghost" within an EuiBottomBar already automatically inherit dark mode coloring and should be changed to color="text" instead.

For the legacy uptime change that adds a theme wrapper, I'm unsure what context it's being used in (does not appear to be a bottom bar) and would appreciate help QAing it.

I'm opening this PR ahead of time for your team so you can test this migration and ensure no UI regressions have occurred as a result.

Checklist

  • Tested in light and dark mode

- EuiBottomBar now sets a dark color mode on all children, so these colors are no longer necessary to specify
- EuiBottomBar now sets a dark color mode on all children, so these colors are no longer necessary to specify
@cee-chen cee-chen changed the title [apm][profiling][uptime][monitoring] Remove color="ghost" buttons [apm][uptime][monitoring] Remove color="ghost" buttons Oct 23, 2023
@cee-chen cee-chen marked this pull request as ready for review October 23, 2023 21:02
@cee-chen cee-chen requested review from a team as code owners October 23, 2023 21:02
@elasticmachine
Copy link
Contributor

Pinging @elastic/eui-team (EUI)

@cee-chen cee-chen added Team:APM All issues that need APM UI Team support Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services labels Oct 25, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:APM)

@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI)

Copy link
Contributor

@shahzad31 shahzad31 left a comment

Choose a reason for hiding this comment

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

LGTM !!

Copy link
Member

@weltenwort weltenwort left a comment

Choose a reason for hiding this comment

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

stack monitoring plugin changes LGTM, thank you

@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
apm 3.7MB 3.7MB -12.0B
monitoring 462.4KB 462.4KB -46.0B
uptime 478.4KB 478.4KB -6.0B
total -64.0B

History

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

@cee-chen
Copy link
Member Author

Thank you all!! 🎉

@cee-chen cee-chen merged commit f235f22 into elastic:main Oct 27, 2023
28 checks passed
@cee-chen cee-chen deleted the eui-ghost/observability branch October 27, 2023 15:34
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Oct 27, 2023
fkanout pushed a commit to fkanout/kibana that referenced this pull request Oct 30, 2023
)

## Summary

👋 Hey y'all - EUI will shortly be deprecating the `ghost` color in all
button components (see
https://eui.elastic.co/v89.0.0/#/navigation/button#ghost-vs-dark-mode).

In this PR, components using `color="ghost"` within an `EuiBottomBar`
already automatically inherit dark mode coloring and should be changed
to `color="text"` instead.

For the legacy uptime change that adds a theme wrapper, I'm unsure what
context it's being used in (does not appear to be a bottom bar) and
would appreciate help QAing it.

I'm opening this PR ahead of time for your team so you can test this
migration and ensure no UI regressions have occurred as a result.

### Checklist

- [ ] Tested in light and dark mode

---------

Co-authored-by: shahzad31 <shahzad31comp@gmail.com>
bryce-b pushed a commit to bryce-b/kibana that referenced this pull request Oct 30, 2023
)

## Summary

👋 Hey y'all - EUI will shortly be deprecating the `ghost` color in all
button components (see
https://eui.elastic.co/v89.0.0/#/navigation/button#ghost-vs-dark-mode).

In this PR, components using `color="ghost"` within an `EuiBottomBar`
already automatically inherit dark mode coloring and should be changed
to `color="text"` instead.

For the legacy uptime change that adds a theme wrapper, I'm unsure what
context it's being used in (does not appear to be a bottom bar) and
would appreciate help QAing it.

I'm opening this PR ahead of time for your team so you can test this
migration and ensure no UI regressions have occurred as a result.

### Checklist

- [ ] Tested in light and dark mode

---------

Co-authored-by: shahzad31 <shahzad31comp@gmail.com>
awahab07 pushed a commit to awahab07/kibana that referenced this pull request Oct 31, 2023
)

## Summary

👋 Hey y'all - EUI will shortly be deprecating the `ghost` color in all
button components (see
https://eui.elastic.co/v89.0.0/#/navigation/button#ghost-vs-dark-mode).

In this PR, components using `color="ghost"` within an `EuiBottomBar`
already automatically inherit dark mode coloring and should be changed
to `color="text"` instead.

For the legacy uptime change that adds a theme wrapper, I'm unsure what
context it's being used in (does not appear to be a bottom bar) and
would appreciate help QAing it.

I'm opening this PR ahead of time for your team so you can test this
migration and ensure no UI regressions have occurred as a result.

### Checklist

- [ ] Tested in light and dark mode

---------

Co-authored-by: shahzad31 <shahzad31comp@gmail.com>
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 EUI release_note:skip Skip the PR/issue when compiling release notes Team:APM All issues that need APM UI Team support Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v8.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants