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

[🐛 Bug]: CEL query gets empty after opening alert modal in keep-ui #2985

Open
skynetigor opened this issue Jan 6, 2025 · 1 comment
Open
Labels
Bug Something isn't working UI User interface related issues

Comments

@skynetigor
Copy link
Contributor

Describe the bug
When I enter CEL query and filter alert table and then I want to see for example alert data (click on "view alert" in three dots menu) enter CEL query gets cleaned up. And if I want to give more filter operators to CEL, I can't because I have to re-enter CEL again.

To Reproduce
Steps to reproduce the behavior:

  1. Go to alert page
  2. Input any CEL query to CEL textbox and hit enter (or without enter)
  3. Try to open any modal from three dots menu for an alert
  4. See that CEL has gone from the textbox

Expected behavior
CEL textbox should not clear after interaction with alerts.

Screenshots
image
image
image

Copy link

dosubot bot commented Jan 6, 2025

The issue you're experiencing, where the CEL query input field gets cleared after opening an alert modal, is not the expected behavior. The CEL query input field should retain its value even after interacting with alert modals. This allows users to continue refining their filters without needing to re-enter their CEL queries [1].

Currently, there is no specific information available about event handlers or state management that would cause the CEL query to reset when an alert modal is opened. It might be worth checking if there are any unintended side effects in the code that handles modal interactions or state management related to the CEL query input field [2].

To address this issue, you may need to investigate the component lifecycle or state management logic to ensure the CEL query state is preserved across modal interactions.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@dosubot dosubot bot added Bug Something isn't working UI User interface related issues labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working UI User interface related issues
Projects
None yet
Development

No branches or pull requests

1 participant