fix(feed): the count pill dims while a new search's count loads
keepPreviousData held the last filter's count, and a broad word's count takes seconds: the pill showed the old number as the new search's. It now dims and is aria-busy until the new count lands, as AdminLogs does.
This commit is contained in:
@@ -710,7 +710,7 @@ export default function Feed({
|
||||
<div className="flex items-center gap-1.5 gap-y-2 flex-wrap">
|
||||
{/* The item count is the fixed leading element — a fixed-width pill so a changing number
|
||||
never shoves the controls beside it (see ItemCount). */}
|
||||
<ItemCount count={summaryQuery.data?.count} />
|
||||
<ItemCount count={summaryQuery.data?.count} stale={summaryQuery.isPlaceholderData} />
|
||||
<FilterFoldButton
|
||||
fold={fold}
|
||||
label={t("sidebar.filters")}
|
||||
|
||||
Reference in New Issue
Block a user