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

[Obs AI Assistant] Avoid opening multiple flyouts #208957

Closed

Conversation

viduni94
Copy link
Contributor

@viduni94 viduni94 commented Jan 30, 2025

Closes #204087

Problem

Sometimes, the flyout opens multiple times, creating a pitch black overlay. And the user have to click multiple times to close the opened flyouts.

Solution

Make sure only one instance of the flyout can be opened at all times.

Screen Recording

Before the fix:

before-the-fix-multiple-flyouts-opening.mov

After the fix:

after-the-fix-only-one-flyout-opens.mov

Note: This issue still persists with the keyboard shortcut. I tried various ways to make sure the listener is only attached once. But the flyout keeps opening multiple times even with those solutions. I'm assuming the keyboard shortcut it not heavily used by the users. Therefore, I created another issue to get back to it - #208973

Checklist

  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines

@viduni94 viduni94 added release_note:fix v9.0.0 Team:Obs AI Assistant Observability AI Assistant backport:version Backport to applied version labels v8.18.0 labels Jan 30, 2025
@viduni94 viduni94 self-assigned this Jan 30, 2025
@elasticmachine
Copy link
Contributor

🤖 Jobs for this PR can be triggered through checkboxes. 🚧

ℹ️ To trigger the CI, please tick the checkbox below 👇

  • Click to trigger kibana-pull-request for this PR!
  • Click to trigger kibana-deploy-project-from-pr for this PR!
  • Click to trigger kibana-deploy-cloud-from-pr for this PR!

@viduni94 viduni94 force-pushed the fix-flyout-opening-multiple-times branch from 941c6bc to f8f23ae Compare January 30, 2025 21:45
@viduni94 viduni94 closed this Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:version Backport to applied version labels release_note:fix Team:Obs AI Assistant Observability AI Assistant v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AI Assistant window opens multiple times
2 participants