From bb71e06dd84f30df90dbb99659b2b0d6e8c3b6e6 Mon Sep 17 00:00:00 2001 From: levig Date: Sun, 5 Jul 2026 01:41:43 -0300 Subject: [PATCH 1/2] feat(image-upload): make change/remove actions visually obvious MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a hover overlay over the image preview with clear icon actions — a camera to change and an X to remove — so users can discover the actions instead of missing the small text buttons. Works for both the square and circle shape variants and applies everywhere ImageUpload is used. --- src/components/common/ImageUpload.tsx | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/src/components/common/ImageUpload.tsx b/src/components/common/ImageUpload.tsx index 648946f..77a3b28 100644 --- a/src/components/common/ImageUpload.tsx +++ b/src/components/common/ImageUpload.tsx @@ -1,5 +1,5 @@ import { useRef, useState } from "react" -import { Upload, X, Loader2 } from "lucide-react" +import { Upload, X, Loader2, Camera } from "lucide-react" import { toast } from "sonner" import { uploadsAPI } from "@/services/api" import { cn } from "@/utils/cn" @@ -87,6 +87,31 @@ export function ImageUpload({ ) : ( placeholder || )} + {value && !uploading && ( +
+ + +
+ )} Date: Wed, 15 Jul 2026 17:01:03 -0300 Subject: [PATCH 2/2] chore(ci): empty commit to re-trigger CI checks Co-Authored-By: Claude Opus 4.8 (1M context)