diff --git a/client/src/components/job-detail-lines/job-lines.component.jsx b/client/src/components/job-detail-lines/job-lines.component.jsx
index 984455466..070798452 100644
--- a/client/src/components/job-detail-lines/job-lines.component.jsx
+++ b/client/src/components/job-detail-lines/job-lines.component.jsx
@@ -118,8 +118,7 @@ export function JobLinesComponent({
...(record.critical ? { boxShadow: " -.5em 0 0 #FFC107" } : {})
}
}),
- sortOrder: state.sortedInfo.columnKey === "line_desc" && state.sortedInfo.order,
- ellipsis: true
+ sortOrder: state.sortedInfo.columnKey === "line_desc" && state.sortedInfo.order
},
{
title: t("joblines.fields.oem_partno"),
diff --git a/client/src/components/job-lines-upsert-modal/job-lines-upsert-modal.component.jsx b/client/src/components/job-lines-upsert-modal/job-lines-upsert-modal.component.jsx
index e07c54606..668452b9a 100644
--- a/client/src/components/job-lines-upsert-modal/job-lines-upsert-modal.component.jsx
+++ b/client/src/components/job-lines-upsert-modal/job-lines-upsert-modal.component.jsx
@@ -1,10 +1,10 @@
+import { useSplitTreatments } from "@splitsoftware/splitio-react";
import { Form, Input, InputNumber, Modal, Select, Switch } from "antd";
import React, { useEffect } from "react";
import { useTranslation } from "react-i18next";
import InputCurrency from "../form-items-formatted/currency-form-item.component";
-import LayoutFormRow from "../layout-form-row/layout-form-row.component";
import JoblinesPreset from "../job-lines-preset-button/job-lines-preset-button.component";
-import { useSplitTreatments } from "@splitsoftware/splitio-react";
+import LayoutFormRow from "../layout-form-row/layout-form-row.component";
import { connect } from "react-redux";
import { createStructuredSelector } from "reselect";
@@ -61,7 +61,7 @@ export function JobLinesUpsertModalComponent({ bodyshop, open, jobLine, handleCa
]}
name="line_desc"
>
-
+
diff --git a/client/src/pages/manage/manage.page.component.jsx b/client/src/pages/manage/manage.page.component.jsx
index 065fe7b46..6dfd8af6e 100644
--- a/client/src/pages/manage/manage.page.component.jsx
+++ b/client/src/pages/manage/manage.page.component.jsx
@@ -179,52 +179,6 @@ export function Manage({ conflict, bodyshop, alerts, setAlerts }) {
}
}, [alerts, displayedAlertIds]);
- // useEffect(() => {
- // const fetchAlerts = async () => {
- // try {
- // const response = await fetch(ALERT_FILE_URL);
- //
- // // Check if the response is OK (status in the range 200-299)
- // if (!response.ok) {
- // console.error(`Network response was not ok: ${response.status} ${response.statusText}`);
- // return; // Exit the function early since we can't proceed
- // }
- //
- // const alerts = await response.json();
- //
- // // Check if alerts is an array
- // if (!Array.isArray(alerts)) {
- // console.error("Alerts data is not an array");
- // return;
- // }
- //
- // const displayedAlerts = JSON.parse(localStorage.getItem("displayedAlerts") || "[]");
- // const alertsNotDisplayed = alerts.filter((alert) => !displayedAlerts.includes(alert.id));
- //
- // // Display notifications for alerts not yet displayed
- // alertsNotDisplayed.forEach((alert) => {
- // // Update localStorage immediately to prevent duplicate notifications
- // displayedAlerts.push(alert.id);
- // localStorage.setItem("displayedAlerts", JSON.stringify(displayedAlerts));
- //
- // notification.open({
- // key: "notification-alerts-" + alert.id,
- // message: alert.message,
- // description: alert.description,
- // type: alert.type || "info",
- // duration: 0,
- // placement: "bottomRight",
- // closable: true
- // });
- // });
- // } catch (error) {
- // console.error("Error fetching alerts:", error);
- // }
- // };
- //
- // fetchAlerts();
- // }, []);
-
useEffect(() => {
const widgetId = InstanceRenderManager({
imex: "IABVNO4scRKY11XBQkNr",
diff --git a/hasura/migrations/1731471670370_run_sql_migration/down.sql b/hasura/migrations/1731471670370_run_sql_migration/down.sql
new file mode 100644
index 000000000..923cf39ca
--- /dev/null
+++ b/hasura/migrations/1731471670370_run_sql_migration/down.sql
@@ -0,0 +1,10 @@
+-- Could not auto-generate a down migration.
+-- Please write an appropriate down migration for the SQL below:
+-- CREATE INDEX jobs_search_gin_ro_number ON jobs USING GIN ((ro_number) gin_trgm_ops);
+-- CREATE INDEX jobs_search_gin_ownrfn ON jobs USING GIN ((ownr_fn) gin_trgm_ops);
+-- CREATE INDEX jobs_search_gin_clm_no ON jobs USING GIN ((clm_no) gin_trgm_ops);
+-- CREATE INDEX jobs_search_gin_plate_no ON jobs USING GIN ((plate_no) gin_trgm_ops);
+-- CREATE INDEX jobs_search_gin_v_make_desc ON jobs USING GIN (( v_make_desc) gin_trgm_ops);
+-- CREATE INDEX jobs_search_gin_v_model_desc ON jobs USING GIN (( v_model_desc) gin_trgm_ops);
+-- CREATE INDEX jobs_search_gin_ownr_ln ON jobs USING GIN (( ownr_ln) gin_trgm_ops);
+-- CREATE INDEX jobs_search_gin_ownr_co_nm ON jobs USING GIN (( ownr_co_nm) gin_trgm_ops);
diff --git a/hasura/migrations/1731471670370_run_sql_migration/up.sql b/hasura/migrations/1731471670370_run_sql_migration/up.sql
new file mode 100644
index 000000000..4b5ab065f
--- /dev/null
+++ b/hasura/migrations/1731471670370_run_sql_migration/up.sql
@@ -0,0 +1,8 @@
+CREATE INDEX jobs_search_gin_ro_number ON jobs USING GIN ((ro_number) gin_trgm_ops);
+ CREATE INDEX jobs_search_gin_ownrfn ON jobs USING GIN ((ownr_fn) gin_trgm_ops);
+ CREATE INDEX jobs_search_gin_clm_no ON jobs USING GIN ((clm_no) gin_trgm_ops);
+ CREATE INDEX jobs_search_gin_plate_no ON jobs USING GIN ((plate_no) gin_trgm_ops);
+ CREATE INDEX jobs_search_gin_v_make_desc ON jobs USING GIN (( v_make_desc) gin_trgm_ops);
+ CREATE INDEX jobs_search_gin_v_model_desc ON jobs USING GIN (( v_model_desc) gin_trgm_ops);
+ CREATE INDEX jobs_search_gin_ownr_ln ON jobs USING GIN (( ownr_ln) gin_trgm_ops);
+ CREATE INDEX jobs_search_gin_ownr_co_nm ON jobs USING GIN (( ownr_co_nm) gin_trgm_ops);