Improve UI

This commit is contained in:
Nicolas Mowen 2025-10-08 05:21:56 -06:00
parent 0204cf497b
commit f33e501f09
2 changed files with 3 additions and 2 deletions

View File

@ -21,8 +21,9 @@ export function GenAISummaryChip({ review, onClick }: GenAISummaryChipProps) {
return ( return (
<div <div
className={cn( className={cn(
"absolute left-1/2 top-8 z-30 flex max-w-[90vw] -translate-x-[50%] cursor-pointer select-none items-center gap-2 rounded-full bg-card p-2 text-sm transition-all duration-500", "absolute left-1/2 top-8 z-30 flex max-w-[90vw] -translate-x-[50%] cursor-pointer select-none items-center gap-2 rounded-full p-2 text-sm transition-all duration-500",
isVisible ? "translate-y-0 opacity-100" : "-translate-y-4 opacity-0", isVisible ? "translate-y-0 opacity-100" : "-translate-y-4 opacity-0",
isDesktop ? "bg-card" : "bg-secondary-foreground",
)} )}
onClick={onClick} onClick={onClick}
> >

View File

@ -468,7 +468,7 @@ export function RecordingView({
(rev) => (rev) =>
rev.start_time - REVIEW_PADDING < currentTime && rev.start_time - REVIEW_PADDING < currentTime &&
rev.end_time && rev.end_time &&
currentTime < rev.end_time, currentTime < rev.end_time + REVIEW_PADDING,
); );
}, [config, currentTime, mainCameraReviewItems, mainCamera]); }, [config, currentTime, mainCameraReviewItems, mainCamera]);
const onAnalysisOpen = useCallback( const onAnalysisOpen = useCallback(