diff --git a/src/components/leads/lead-table.tsx b/src/components/leads/lead-table.tsx index 5610790..250ee33 100644 --- a/src/components/leads/lead-table.tsx +++ b/src/components/leads/lead-table.tsx @@ -1,8 +1,6 @@ import { useMemo, useState } from 'react'; import { TableBody as AriaTableBody } from 'react-aria-components'; import type { SortDescriptor, Selection } from 'react-aria-components'; -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { faEye } from '@fortawesome/pro-duotone-svg-icons'; import { Badge } from '@/components/base/badges/badges'; import { Table } from '@/components/application/table/table'; import { LeadStatusBadge } from '@/components/shared/status-badge'; @@ -94,7 +92,6 @@ export const LeadTable = ({ }, [leads, expandedDupId]); const allColumns = [ - { id: 'view', label: '', allowsSorting: false, defaultWidth: 40 }, { id: 'phone', label: 'Phone', allowsSorting: true, defaultWidth: 150 }, { id: 'name', label: 'Name', allowsSorting: true, defaultWidth: 160 }, { id: 'email', label: 'Email', allowsSorting: false, defaultWidth: 180 }, @@ -110,7 +107,7 @@ export const LeadTable = ({ ]; const columns = visibleColumns - ? allColumns.filter(c => visibleColumns.has(c.id) || c.id === 'view') + ? allColumns.filter(c => visibleColumns.has(c.id)) : allColumns; return ( @@ -156,7 +153,6 @@ export const LeadTable = ({ id={row.id} className="bg-warning-primary" > - {phone} @@ -207,20 +203,12 @@ export const LeadTable = ({ key={row.id} id={row.id} className={cx( - 'group/row', + 'group/row cursor-pointer', isSpamRow && !isSelected && 'bg-warning-primary', isSelected && 'bg-brand-primary', )} + onAction={() => onViewActivity?.(lead)} > - - - {isCol('phone') && {phoneRaw ? ( diff --git a/src/pages/appointments-v2.tsx b/src/pages/appointments-v2.tsx index 554727f..60752c6 100644 --- a/src/pages/appointments-v2.tsx +++ b/src/pages/appointments-v2.tsx @@ -2,7 +2,7 @@ import { useEffect, useMemo, useState } from 'react'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { - faMagnifyingGlass, faPenToSquare, faEye, faXmark, + faMagnifyingGlass, faPenToSquare, faXmark, faCalendarCheck, faUserDoctor, faBuilding, faStethoscope, faNotesMedical, } from '@fortawesome/pro-duotone-svg-icons'; import { faIcon } from '@/lib/icon-wrapper'; @@ -578,8 +578,7 @@ export const AppointmentsPageV2 = () => { ) : ( - - + @@ -595,18 +594,9 @@ export const AppointmentsPageV2 = () => { return ( handleEditClick(appt)} > - {/* Eye icon — first column */} - - - {/* Patient: name + phone on 2 lines */} diff --git a/src/pages/patients.tsx b/src/pages/patients.tsx index 8b38140..15b5b0a 100644 --- a/src/pages/patients.tsx +++ b/src/pages/patients.tsx @@ -133,8 +133,6 @@ export const PatientsPage = () => { - - {(patient) => { @@ -197,19 +195,6 @@ export const PatientsPage = () => { )} - {/* Gender */} - - - {patient.gender ? patient.gender.charAt(0) + patient.gender.slice(1).toLowerCase() : '—'} - - - - {/* Age */} - - - {age !== null ? `${age} yrs` : '—'} - - );