-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Uptime] Overview search bar loading state triggers error #31527
Comments
Pinging @elastic/uptime |
I would like to take up this issue. @justinkambic |
Hello @justinkambic I wanted some clarifications for this issue, For now, that particular file is just a function which is returning the EuiSearchBar component, there is no react component there which can change and store various filters. |
@timroes please clarify, whether the filter_bar_loading should be converted to a react component where it can store filter values, or a dummy function to avoid warning will do it, The pre-commit hook is checking for tslint errors, even if there is no dependecy. I am running code in VScode and its not allowing me commit changes. |
Hi @ganeshpatro321, thanks for your interest in helping us with this issue! Basically, the driver for this issue is we have a dummy "loading state" function that we're calling while the app's The reason we added this function is because previously, we were simply displaying a The problem we're running into is the EUI component @snide do you have any input into this potential solution? |
Thank you for the clarification, then I am sending a dummy function to the onChange prop of the component for now to avoid the warning. Bdw, do we have to upload the uptime data to get the warning/error. |
That's my thought on it at this time. In the future we will likely want to change that via upstream alterations to the component, but for now we basically want to suppress the warning since this component's not intended to actually process any data.
Yes - if there is no uptime data in a Let me know if you have further questions. |
Kibana version:
master
/6.7.0
/7.0.0
Elasticsearch version:
6.7
/7.0
/8.0
Server OS version:
macOS
Browser version:
Chrome 72.x
Browser OS version:
macOS
Original install method (e.g. download page, yum, from source, etc.):
from source
Describe the bug:
onChange
is a required prop forEuiSearchBar
. We define a loading state component that looks similar to the actual search bar we use for our app, but we don't define this handler. As such, awarning
message is displayed in our plugin's console log.Steps to reproduce:
Expected behavior:
No
warning
message will be displayedScreenshots (if relevant):
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
N/A
Any additional context:
N/A
The text was updated successfully, but these errors were encountered: