You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
On Profiling, we'd like to filter the flamegraph when navigating from one page to another. That means I need to save in the URL the search value the user provides and pass it down to the flamegraph component. In case the user edits or clears out the search value I need to update its value in the URL too.
Describe the solution you'd like
The solution I propose is to expose two new properties: searchText and onSearchTextChange.
The first one searchText, is an optional string that will be used to pass down the searched value.
The second one onSearchTextChange, is an optional callback function with the new searched value, in case the user edited, or undefined, in case the user cleared the search.
<Flameid={id}columnarData={columnarData.viewModel}valueAccessor={(d: Datum)=>d.valueasnumber}valueFormatter={(value)=>`${value}`}animation={{duration: 100}}searchText={searchText}onSearchTextChange={(newSearchText: string|undefined)=>{//update url based on the new text}}/>
Is your feature request related to a problem? Please describe.
On Profiling, we'd like to filter the flamegraph when navigating from one page to another. That means I need to save in the URL the search value the user provides and pass it down to the flamegraph component. In case the user edits or clears out the search value I need to update its value in the URL too.
Describe the solution you'd like
The solution I propose is to expose two new properties:
searchText
andonSearchTextChange
.The first one
searchText
, is an optional string that will be used to pass down the searched value.The second one
onSearchTextChange
, is an optional callback function with the new searched value, in case the user edited, or undefined, in case the user cleared the search.Describe alternatives you've considered
N/A
Additional context
N/A
Kibana Cross Issues
https://github.com/elastic/prodfiler/issues/3126
The text was updated successfully, but these errors were encountered: