From 97154daecdaa9d36ee798cc32aa0f6c7c9a95138 Mon Sep 17 00:00:00 2001 From: TheVixhal <142595758+TheVixhal@users.noreply.github.com> Date: Sun, 11 Feb 2024 04:22:07 +0530 Subject: [PATCH 1/3] Fix/animation to search tables loading issue #1531 Fix/animation to search tables loading issue #1531 /claim #1531 Implemented - update TableGrid.tsx commented out this line of code : //timeout={(sectionIndex + 1) * 100 + tableIndex * 50} Video : https://github.com/TheVixhal/Video/blob/751b7962487c866eb4a8dcb7db976793898d52f1/Tables%20%E2%80%A2%20ghoda-94d3f%20%E2%80%A2%20Rowy%20(dev)%20-%20Google%20Chrome%202024-02-11%2003-46-24.mp4 --- src/components/Tables/TableGrid/TableGrid.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Tables/TableGrid/TableGrid.tsx b/src/components/Tables/TableGrid/TableGrid.tsx index 20d3b774b..f0a512791 100644 --- a/src/components/Tables/TableGrid/TableGrid.tsx +++ b/src/components/Tables/TableGrid/TableGrid.tsx @@ -31,7 +31,7 @@ export default function TableGrid({ Date: Sun, 11 Feb 2024 13:54:42 +0530 Subject: [PATCH 2/3] Update useBasicSearch.ts Update useBasicSearch.ts set debounce number 200 --- src/hooks/useBasicSearch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useBasicSearch.ts b/src/hooks/useBasicSearch.ts index 20c0ff489..2dd9bfba1 100644 --- a/src/hooks/useBasicSearch.ts +++ b/src/hooks/useBasicSearch.ts @@ -5,7 +5,7 @@ import { matchSorter, rankings } from "match-sorter"; export function useBasicSearch( list: T[], keys: string[], - debounce: number = 400 + debounce: number = 200 ) { const [query, setQuery] = useState(""); const handleQuery = useDebouncedCallback(setQuery, debounce); From 4c789ee49c3b56ba365d54a1d88666766928a701 Mon Sep 17 00:00:00 2001 From: TheVixhal <142595758+TheVixhal@users.noreply.github.com> Date: Sun, 11 Feb 2024 14:38:11 +0530 Subject: [PATCH 3/3] Update TableGrid.tsx Update TableGrid.tsx --- src/components/Tables/TableGrid/TableGrid.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Tables/TableGrid/TableGrid.tsx b/src/components/Tables/TableGrid/TableGrid.tsx index f0a512791..a7058540e 100644 --- a/src/components/Tables/TableGrid/TableGrid.tsx +++ b/src/components/Tables/TableGrid/TableGrid.tsx @@ -31,7 +31,7 @@ export default function TableGrid({