Allow setting the search term on alerts, targets, and discovery pages via the URL (#10613)
* changes in files of the expr in alerts, service and targets, Signed-off-by: AndreSPy1 <elsenorcito@gmail.com> Signed-off-by: AndreSPy1 <elsenorcito@gmail.com> * update prettier corrections Signed-off-by: AndreSPy1 <elsenorcito@gmail.com> * update prettier corrections Signed-off-by: AndreSPy1 <elsenorcito@gmail.com> * correction suggested fixes PR Signed-off-by: AndreSPy1 <elsenorcito@gmail.com> * Update Snap AlertContents.test.tsx and update recommendations in the code Signed-off-by: AndreSPy1 <elsenorcito@gmail.com> * Update web/ui/react-app/src/components/SearchBar.tsx exactly, thanks :) Co-authored-by: Julius Volz <julius.volz@gmail.com> Signed-off-by: AndreSPy1 <elsenorcito@gmail.com> * Revert "Update web/ui/react-app/src/components/SearchBar.tsx " This reverts commit 679c763a02f65297e3f761db372a0928550f288c. Signed-off-by: AndreSPy1 <elsenorcito@gmail.com> * update SearchBar component Signed-off-by: AndreSPy1 <elsenorcito@gmail.com> * eslint-disable update SearchBar testing failed Signed-off-by: AndreSPy1 <elsenorcito@gmail.com> * correction part in eslint-disable Signed-off-by: AndreSPy1 <elsenorcito@gmail.com> * fully corrected suggestion with search expression in url Signed-off-by: AndreSPy1 <elsenorcito@gmail.com> * implementation in handleSearchChange with useCallBack Signed-off-by: AndreSPy1 <elsenorcito@gmail.com> Co-authored-by: Julius Volz <julius.volz@gmail.com>pull/10635/head
parent
685493187e
commit
d8ca9aa67b
Loading…
Reference in new issue