From 2a2c33c44bc66ae4e7f81e58d6f8ab343bf61a1d Mon Sep 17 00:00:00 2001 From: William Ellis Date: Sat, 16 May 2026 09:38:26 +0100 Subject: [PATCH 1/2] feat: add cursor-pointer thoughtout where it is nessasarry --- apps/frontend/app/components/profiles/profilePopUp.tsx | 2 +- apps/frontend/app/components/runs/main-content.tsx | 4 ++-- apps/frontend/app/components/runs/runs-metadata.tsx | 2 +- apps/frontend/app/components/runs/sidebar.tsx | 4 ++-- apps/frontend/app/components/runs/trimPopup.tsx | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/frontend/app/components/profiles/profilePopUp.tsx b/apps/frontend/app/components/profiles/profilePopUp.tsx index 74f82f0..ef08cf8 100644 --- a/apps/frontend/app/components/profiles/profilePopUp.tsx +++ b/apps/frontend/app/components/profiles/profilePopUp.tsx @@ -36,7 +36,7 @@ export const ProfilePopup = ({ isOpen, onClose, selected, onProfileUpdate }: Pro
)} @@ -266,7 +266,7 @@ export function Sidebar({ runs, selectedRunIds, setSelectedRunIds }: SidebarProp exit={{ x: -50, opacity: 0 }} transition={{ duration: 0.3 }} onClick={() => setCollapsed(false)} - className="fixed top-4 left-4 p-3 bg-slate-800 text-white rounded-full hover:bg-slate-700 z-50 shadow-lg" + className="cursor-pointer fixed top-4 left-4 p-3 bg-slate-800 text-white rounded-full hover:bg-slate-700 z-50 shadow-lg" > diff --git a/apps/frontend/app/components/runs/trimPopup.tsx b/apps/frontend/app/components/runs/trimPopup.tsx index fd9ecf9..6d45146 100644 --- a/apps/frontend/app/components/runs/trimPopup.tsx +++ b/apps/frontend/app/components/runs/trimPopup.tsx @@ -204,7 +204,7 @@ export function TrimPopup({ isOpen, run, runJson, onClose, onSave }: TrimPopupPr
)} @@ -266,7 +266,7 @@ export function Sidebar({ runs, selectedRunIds, setSelectedRunIds }: SidebarProp exit={{ x: -50, opacity: 0 }} transition={{ duration: 0.3 }} onClick={() => setCollapsed(false)} - className="cursor-pointer fixed top-4 left-4 p-3 bg-slate-800 text-white rounded-full hover:bg-slate-700 z-50 shadow-lg" + className="fixed top-4 left-4 p-3 bg-slate-800 text-white rounded-full hover:bg-slate-700 z-50 shadow-lg" > diff --git a/apps/frontend/app/components/runs/trimPopup.tsx b/apps/frontend/app/components/runs/trimPopup.tsx index 6d45146..fd9ecf9 100644 --- a/apps/frontend/app/components/runs/trimPopup.tsx +++ b/apps/frontend/app/components/runs/trimPopup.tsx @@ -204,7 +204,7 @@ export function TrimPopup({ isOpen, run, runJson, onClose, onSave }: TrimPopupPr diff --git a/apps/frontend/app/tailwind.css b/apps/frontend/app/tailwind.css index c0a006b..5e8ffee 100644 --- a/apps/frontend/app/tailwind.css +++ b/apps/frontend/app/tailwind.css @@ -18,6 +18,13 @@ --muted-foreground: 240 5% 64.9%; --border: 240 3.7% 15.9%; } + + button:not(:disabled) { + @apply cursor-pointer; + } + button:disabled { + @apply cursor-not-allowed; + } } @theme {