feature/IO-3499-React-19 -Add pointer icons to clickable things in the production list view

This commit is contained in:
Dave
2026-01-26 15:04:03 -05:00
parent 6fd5fc8f66
commit 9a53896aa4
8 changed files with 12 additions and 9 deletions

View File

@@ -63,10 +63,10 @@ const ProductionListColumnAlert = ({ id, productionVars, refetch, insertAuditTra
okText={t("general.labels.yes")} okText={t("general.labels.yes")}
cancelText={t("general.labels.no")} cancelText={t("general.labels.no")}
> >
<Button className="production-alert" icon={<ExclamationCircleFilled />} /> <Button className="production-alert" icon={<ExclamationCircleFilled />} style={{ cursor: "pointer" }} />
</Popconfirm> </Popconfirm>
) : ( ) : (
<Button className="muted-button" icon={<PlusCircleFilled />} onClick={handleAlertToggle} /> <Button className="muted-button" icon={<PlusCircleFilled />} onClick={handleAlertToggle} style={{ cursor: "pointer" }} />
); );
}; };

View File

@@ -48,7 +48,7 @@ export default function ProductionListColumnBodyPriority({ record }) {
return ( return (
<Dropdown menu={menu} trigger={["click"]}> <Dropdown menu={menu} trigger={["click"]}>
<div style={{ width: "100%", height: "19px" }}>{record.production_vars?.bodypriority}</div> <div style={{ width: "100%", height: "19px", cursor: "pointer" }}>{record.production_vars?.bodypriority}</div>
</Dropdown> </Dropdown>
); );
} }

View File

@@ -64,6 +64,7 @@ const productionListColumnsData = ({ technician, state, activeStatuses, data, bo
ellipsis: true, ellipsis: true,
render: (text, record) => ( render: (text, record) => (
<div <div
style={{ cursor: "pointer" }}
onClick={() => { onClick={() => {
store.dispatch( store.dispatch(
setModalContext({ setModalContext({

View File

@@ -86,7 +86,8 @@ export default function ProductionListDate({ record, field, time, pastIndicator
<div <div
onClick={() => setOpen(true)} onClick={() => setOpen(true)}
style={{ style={{
height: "19px" height: "19px",
cursor: "pointer"
}} }}
className={className} className={className}
> >

View File

@@ -48,7 +48,7 @@ export default function ProductionListColumnDetailPriority({ record }) {
return ( return (
<Dropdown menu={menu} trigger={["click"]}> <Dropdown menu={menu} trigger={["click"]}>
<div style={{ width: "100%", height: "19px" }}>{record.production_vars?.detailpriority}</div> <div style={{ width: "100%", height: "19px", cursor: "pointer" }}>{record.production_vars?.detailpriority}</div>
</Dropdown> </Dropdown>
); );
} }

View File

@@ -144,13 +144,13 @@ export function ProductionListEmpAssignment({ insertAuditTrail, bodyshop, record
<Popover destroyOnHidden content={popContent} open={visibility}> <Popover destroyOnHidden content={popContent} open={visibility}>
<Spin spinning={loading}> <Spin spinning={loading}>
{record[type] ? ( {record[type] ? (
<div> <div style={{ cursor: "pointer" }}>
<span>{`${theEmployee?.first_name || ""} ${theEmployee?.last_name || ""}`}</span> <span>{`${theEmployee?.first_name || ""} ${theEmployee?.last_name || ""}`}</span>
<DeleteFilled style={iconStyle} onClick={() => handleRemove(type)} /> <DeleteFilled style={iconStyle} onClick={() => handleRemove(type)} />
</div> </div>
) : ( ) : (
<PlusCircleFilled <PlusCircleFilled
style={iconStyle} style={{ ...iconStyle, cursor: "pointer" }}
className="muted-button" className="muted-button"
onClick={() => { onClick={() => {
setAssignment({ operation: type }); setAssignment({ operation: type });

View File

@@ -124,7 +124,8 @@ export function ProductionLastContacted({ currentUser, record }) {
<div <div
onClick={() => setOpen(true)} onClick={() => setOpen(true)}
style={{ style={{
height: "19px" height: "19px",
cursor: "pointer"
}} }}
> >
<DateFormatter bordered={false}>{record.date_last_contacted}</DateFormatter> <DateFormatter bordered={false}>{record.date_last_contacted}</DateFormatter>

View File

@@ -48,7 +48,7 @@ export default function ProductionListColumnPaintPriority({ record }) {
return ( return (
<Dropdown menu={menu} trigger={["click"]}> <Dropdown menu={menu} trigger={["click"]}>
<div style={{ width: "100%", height: "19px" }}>{record.production_vars?.paintpriority}</div> <div style={{ width: "100%", height: "19px", cursor: "pointer" }}>{record.production_vars?.paintpriority}</div>
</Dropdown> </Dropdown>
); );
} }