🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix(search): immediately update url when cleared (#9986)
Nimarac077db35636
diff --git a/web/src/components/table/data-table-toolbar.tsx b/web/src/components/table/data-table-toolbar.tsxindex 27da735666..06a42e3d50 100644--- a/web/src/components/table/data-table-toolbar.tsx+++ b/web/src/components/table/data-table-toolbar.tsx@@ -199,7 +199,14 @@ export function DataTableToolbar<TData, TValue>({: `Search (${searchConfig.metadataSearchFields.join(", ")})`}value={searchString}- onChange={(event) => setSearchString(event.currentTarget.value)}+ onChange={(event) => {+ const newValue = event.currentTarget.value;+ setSearchString(newValue);+ // If user cleared the search, update URL immediately+ if (newValue === "") {+ searchConfig.updateQuery("");+ }+ }}onKeyDown={(event) => {if (event.key === "Enter") {capture("table:search_submit");