From 689bf39f43d1d91beeeac68bd1596aea53378139 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 23 May 2026 15:12:18 +0000 Subject: [PATCH 1/2] Initial plan From 98a845b0353a9a4ae8937bb9a56b9dfbb49ee799 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 23 May 2026 15:14:10 +0000 Subject: [PATCH 2/2] Improve task deletion UX for mobile devices MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Make delete button always visible on mobile (< 768px) - Delete button only appears on hover on desktop (≥ 768px) - Improve task item layout with responsive spacing - Enhance delete confirmation modal for mobile - Add better button stacking on mobile devices Agent-Logs-Url: https://github.com/shobhit2603/Momentum/sessions/57fadfc7-a1b3-4973-817a-29aff7c3464b Co-authored-by: shobhit2603 <149822769+shobhit2603@users.noreply.github.com> --- client/app/page.jsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/client/app/page.jsx b/client/app/page.jsx index 6ef4791..855196e 100644 --- a/client/app/page.jsx +++ b/client/app/page.jsx @@ -252,7 +252,7 @@ export default function Dashboard() { initial={{ opacity: 0 }} animate={{ opacity: 1 }} exit={{ opacity: 0 }} - className="fixed inset-0 bg-black/50 z-50 flex items-center justify-center" + className="fixed inset-0 bg-black/50 z-50 flex items-center justify-center p-4" onClick={() => setDeleteConfirm(null)} > e.stopPropagation()} - className="glass-panel border border-border rounded-2xl p-6 max-w-sm mx-4" + className="glass-panel border border-border rounded-2xl p-4 md:p-6 max-w-sm w-full" > -

Delete Task?

+

Delete Task?

This action cannot be undone. Are you sure you want to delete this task?

-
+
@@ -358,24 +358,24 @@ export default function Dashboard() { whileHover={{ scale: 1.01 }} whileTap={{ scale: 0.98 }} onClick={() => toggleTask(task._id, task.status)} - className={`group flex items-center p-5 rounded-2xl cursor-pointer transition-all ${ + className={`group flex items-center gap-2 md:gap-3 p-3 md:p-5 rounded-2xl cursor-pointer transition-all ${ task.status === "completed" ? "bg-surface/30 border border-transparent opacity-60" : "glass-panel hover:bg-surface-hover" }`} > -
+
{renderTaskIcon(task.status)}
- + {task.title} ))