Add top bar loading indicator to the library

This commit is contained in:
Jackson Harper
2022-04-21 13:51:20 -07:00
parent 8d8dd3d28d
commit 714628587a
2 changed files with 5223 additions and 210 deletions

View File

@ -39,6 +39,8 @@ import { SetLabelsModal } from '../article/SetLabelsModal'
import { Label } from '../../../lib/networking/fragments/labelFragment'
import { isVipUser } from '../../../lib/featureFlag'
import { EmptyLibrary } from './EmptyLibrary'
import TopBarProgress from "react-topbar-progress-indicator";
export type LayoutType = 'LIST_LAYOUT' | 'GRID_LAYOUT'
@ -533,6 +535,7 @@ function HomeFeedGrid(props: HomeFeedContentProps): JSX.Element {
}}
>
<Toaster />
{(props.isValidating && <TopBarProgress />)}
<HStack alignment="center" distribution="start" css={{ width: '100%' }}>
<StyledText
style="subHeadline"

5430
yarn.lock

File diff suppressed because it is too large Load Diff