mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
Simplify session replays page client layout.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
b17e2b644b
commit
7475b146d3
@ -2099,7 +2099,7 @@ export default function PageClient({ initialReplayId, lockedUserId }: PageClient
|
||||
<Typography className="mt-2 text-sm text-muted-foreground">
|
||||
Session replays let you watch how users interact with your app. For info on enabling replays,{" "}
|
||||
<StyledLink
|
||||
href="https://docs.stack-auth.com/docs/apps/analytics"
|
||||
href="https://docs.hexclave.com/docs/apps/analytics"
|
||||
target="_blank"
|
||||
>
|
||||
look here
|
||||
@ -2109,39 +2109,11 @@ export default function PageClient({ initialReplayId, lockedUserId }: PageClient
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
) : (
|
||||
<div className="flex-1 grid place-items-center">
|
||||
{loadingInitial ? (
|
||||
<div className="text-center space-y-2 p-6">
|
||||
<Skeleton className="h-2 w-48 mx-auto" />
|
||||
<Typography className="text-sm text-muted-foreground">
|
||||
Loading replay...
|
||||
</Typography>
|
||||
</div>
|
||||
) : (
|
||||
<div className="text-center p-6 max-w-md mx-auto">
|
||||
<MonitorPlayIcon className="h-12 w-12 text-muted-foreground/40 mx-auto" />
|
||||
<Typography className="mt-3 text-sm font-medium">
|
||||
No session replays yet
|
||||
</Typography>
|
||||
<Typography className="mt-2 text-sm text-muted-foreground">
|
||||
Session replays let you watch how users interact with your app. For info on enabling replays,{" "}
|
||||
<StyledLink
|
||||
href="https://docs.hexclave.com/docs/apps/analytics"
|
||||
target="_blank"
|
||||
>
|
||||
look here
|
||||
</StyledLink>
|
||||
.
|
||||
</Typography>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</Panel>
|
||||
</PanelGroup>
|
||||
)}
|
||||
</div>
|
||||
</Panel>
|
||||
</PanelGroup>
|
||||
</div>
|
||||
</PageLayout>
|
||||
</AppEnabledGuard>
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user