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

162224 fix action menu overlaps flyout #162664

Merged

Conversation

Ruhshan
Copy link
Contributor

@Ruhshan Ruhshan commented Jul 27, 2023

Summary

Fixes #162224.

Currently when create custom link button is clicked, though the flyout opens, but action menu persisted over the flyout making the create custom link flyout unusable.

On this PR necessary restructuring and refactoring was done to fix this behavior.

Screencast.from.07-28-2023.01.52.15.AM.webm

Checklist

For maintainers

@Ruhshan Ruhshan requested a review from a team as a code owner July 27, 2023 19:55
@kibanamachine
Copy link
Contributor

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@botelastic botelastic bot added the Team:APM All issues that need APM UI Team support label Jul 27, 2023
@elasticmachine
Copy link
Contributor

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

@achyutjhunjhunwala
Copy link
Contributor

buildkite test this

@achyutjhunjhunwala
Copy link
Contributor

@elasticmachine run elasticsearch-ci/docs

@Ruhshan
Copy link
Contributor Author

Ruhshan commented Aug 8, 2023

@achyutjhunjhunwala thanks for your feedbacks. Will update the pr asap.

@Ruhshan
Copy link
Contributor Author

Ruhshan commented Aug 8, 2023

Hi @achyutjhunjhunwala ,
I have incorporated your feedback on my last push.

Please have a look at your convenience.

@achyutjhunjhunwala
Copy link
Contributor

Hi @achyutjhunjhunwala , I have incorporated your feedback on my last push.

Please have a look at your convenience.

@Ruhshan Thank you for fixing the review comments. I just saw why the build is failing.

  • Since you now added this new property to CustomLinkMenuSection the test started throwing type errors. Can you update the tests as well here to accept this the property openCreateCustomLinkFlyout: () => void

  • You can run the following command locally to see if all the typescript errors are gone or not node scripts/type_check.js --project x-pack/plugins/apm/tsconfig.json

@Ruhshan
Copy link
Contributor Author

Ruhshan commented Aug 10, 2023

Hi @achyutjhunjhunwala , thanks again for your valuable feedback. Tried to incorporate them in the latest commits. Have a look when you can.

@achyutjhunjhunwala
Copy link
Contributor

buildkite test this

@achyutjhunjhunwala
Copy link
Contributor

@elasticmachine run elasticsearch-ci/docs

@achyutjhunjhunwala
Copy link
Contributor

achyutjhunjhunwala commented Aug 10, 2023

Hi @achyutjhunjhunwala , thanks again for your valuable feedback. Tried to incorporate them in the latest commits. Have a look when you can.

@Ruhshan Thank you so much for fixing the bug. LGTM 👍🏼
I just changed the noop implementation as we already use the lodash library, i imported it from there.

Waiting for build to turn green before merging

@achyutjhunjhunwala
Copy link
Contributor

buildkite test this

@achyutjhunjhunwala
Copy link
Contributor

@elasticmachine run elasticsearch-ci/docs

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
apm 1464 1465 +1

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 +660.0B

History

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

@Ruhshan
Copy link
Contributor Author

Ruhshan commented Aug 11, 2023

Hi @achyutjhunjhunwala , thanks again for your valuable feedback. Tried to incorporate them in the latest commits. Have a look when you can.

@Ruhshan Thank you so much for fixing the bug. LGTM 👍🏼 I just changed the noop implementation as we already use the lodash library, i imported it from there.

Waiting for build to turn green before merging

Thanks a lot. You are awesome!

@achyutjhunjhunwala achyutjhunjhunwala merged commit a29e4aa into elastic:main Aug 11, 2023
21 checks passed
@kibanamachine kibanamachine added v8.10.0 backport:skip This commit does not require backporting labels Aug 11, 2023
benakansara pushed a commit to benakansara/kibana that referenced this pull request Aug 14, 2023
## Summary

Fixes elastic#162224.

Currently when **create custom link** button is clicked, though the
flyout opens, but action menu persisted over the flyout making the
create custom link flyout unusable.

On this PR necessary restructuring and refactoring was done to fix this
behavior.

[Screencast from 07-28-2023 01:52:15
AM.webm](https://github.com/elastic/kibana/assets/5312918/33b7ad00-d10f-41dc-9901-1ccf3006e895)


### Checklist

- [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))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: Achyut Jhunjhunwala <achyut.jhunjhunwala@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.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 💝community release_note:fix Team:APM All issues that need APM UI Team support v8.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[APM] Action menu overlaps the flyout
7 participants