-
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
Can't remove panel containing missing visualization from dashboard #16305
Comments
Hm. Just reproduced this. It seems to me this is really a few separate issues:
|
I'm going with a simple z-index CSS fix for now. Hopefully no adverse side effects! |
Sounds good! Are you also not able to resize the panel when this happens? If so, that sounds like a bug too.
I think we should give the option of this. This issue is somewhat relevant: #16912. A great improvement would be to show a list of objects that reference this one, and give the option to possibly delete. We probably don't want this to be automatic because deleting the whole panel would change the layout of the dashboard, so users may want to go in and re-arrange the layout. So a natural step is probably first to remove from all dashboards, then to go and delete the visualization.
++
++ |
This prevents context-menus from displaying behind the sidbar. Fixes elastic#16305
Debating on whether to fix this independently and log those other scenarios separately. The flyout may be positioning itself correctly, as it looks fine now that I have the z-index fix in place. Also, this is tricky to test, since the menu was clickable even with the bug in place. So, I'm leaving off tests for now. |
This prevents context-menus from displaying behind the sidbar. Fixes #16305
This prevents context-menus from displaying behind the sidbar. Fixes elastic#16305
@chrisdavies Your PR fixed the problem with the content menu, but I think the problem with resizing and removing the panel still exists right? If so, could you create new tickets to encapsulate those issues and cross-link to this one? |
You're totally right! I forgot to log the other issues. I'll do it this afternoon.
…On March 8, 2018 12:24:06 PM EST, CJ Cenizal ***@***.***> wrote:
@chrisdavies Your PR fixed the problem with the content menu, but I
think the problem with resizing and removing the panel still exists
right? If so, could you create new tickets to encapsulate those issues
and cross-link to this one?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#16305 (comment)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
@cjcenizal Following up on this, now that I'm wheels down again. I can't reproduce this issue any longer now that the z-index is fixed. What browser are you using to repro it? I can resize and delete, and even the text overflow that I mentioned no longer seems to reproduce. |
Ahh the mystery deepens... I'm on OS X and I can repro error on Chrome, but not on Firefox or Safari. So it looks like this is a Chrome bug. |
Hm. It deepens, indeed. I'm also on OS X, using Chrome, and I can delete, resize, etc in the given scenario. I'm going to just reopen this. I'm at x-school this week, so dunno if I'll be able to take much of a look until next week. We shall see! |
If a panel is really narrow and the visualization is deleted, then a) the context menu gets cropped off and unusable and b) the panel can't be dragged wider or moved.
CC @elastic/kibana-sharing
The text was updated successfully, but these errors were encountered: