Skip to content

Commit

Permalink
[Behavioral Analytics] Add loading state for search on explorer page
Browse files Browse the repository at this point in the history
  • Loading branch information
yansavitski committed Apr 21, 2023
1 parent 8ddb210 commit 828e3c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,10 @@ export const AnalyticsCollectionExploreTableLogic = kea<

return {
onTableChange: fetchItems,
setSearch: fetchItems,
setSearch: async (_, breakpoint) => {
await breakpoint(200);
fetchItems();
},
setSearchSessionId: fetchItems,
setSelectedTable: fetchItems,
setTimeRange: fetchItems,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ export const AnalyticsCollectionExplorerTable = () => {
value={search}
onChange={(event) => setSearch(event.target.value)}
isClearable
isLoading={isLoading}
incremental
fullWidth
/>
Expand Down

0 comments on commit 828e3c7

Please sign in to comment.