Implement remaining phases

This commit is contained in:
gpt-engineer-app[bot]
2025-10-03 15:59:05 +00:00
parent a4805cf0cc
commit 177e86a77a
4 changed files with 346 additions and 3 deletions

View File

@@ -11,9 +11,10 @@ interface ItemReviewCardProps {
item: SubmissionItemWithDeps;
onEdit: () => void;
onStatusChange: (status: 'approved' | 'rejected') => void;
submissionId: string;
}
export function ItemReviewCard({ item, onEdit, onStatusChange }: ItemReviewCardProps) {
export function ItemReviewCard({ item, onEdit, onStatusChange, submissionId }: ItemReviewCardProps) {
const isMobile = useIsMobile();
const getItemIcon = () => {
@@ -40,8 +41,15 @@ export function ItemReviewCard({ item, onEdit, onStatusChange }: ItemReviewCardP
};
const renderItemPreview = () => {
// Use standardized change detection display
return <SubmissionChangesDisplay item={item} view="summary" showImages={true} />;
// Use detailed view for review manager with photo detection
return (
<SubmissionChangesDisplay
item={item}
view="detailed"
showImages={true}
submissionId={submissionId}
/>
);
};
return (