Add MessageSkeleton component and fix loading states in SessionDetail

- Create MessageSkeleton component for better loading UX
- Update SessionDetail to use skeleton loading instead of spinner
- Fix type conflicts by removing duplicate exports from schemas
- Improve loading state handling with proper conditional rendering
This commit is contained in:
Chris Scott committed 2025-11-30 16:06:41 -05:00
1 parent 8c0689eac8
commit 025b2990ed
3 files changed
+123 -24

No files matched your search

+1 -3
View File
@@ -44,6 +44,4 @@ export const MessageSchema = z.object({
}),
})
export type FileDiff = z.infer<typeof FileDiffSchema>
export type Session = z.infer<typeof SessionSchema>
export type Message = z.infer<typeof MessageSchema>
export type FileDiff = z.infer<typeof FileDiffSchema>