feature/feature/IO-3554-Form-Row-Layout - Responsive overhaul

This commit is contained in:
Dave
2026-02-26 15:56:57 -05:00
parent 226cc801ae
commit fd6f46e39d
99 changed files with 807 additions and 443 deletions

View File

@@ -1,5 +1,5 @@
import { CarOutlined, SettingOutlined, SyncOutlined } from "@ant-design/icons";
import { Button, Card, Input, Space, Table, Typography } from "antd";
import { Button, Card, Input, Space, Typography } from "antd";
import axios from "axios";
import _ from "lodash";
import queryString from "query-string";
@@ -20,6 +20,7 @@ import * as Sentry from "@sentry/react";
import getPartsBasePath from "../../utils/getPartsBasePath.js";
import { toggleDarkMode } from "../../redux/application/application.actions.js";
import { FaMoon, FaSun } from "react-icons/fa";
import ResponsiveTable from "../responsive-table/responsive-table.component";
const mapStateToProps = createStructuredSelector({
bodyshop: selectBodyshop,
@@ -243,7 +244,7 @@ export function SimplifiedPartsJobsListComponent({
</Space>
}
>
<Table
<ResponsiveTable
loading={loading || searchLoading}
pagination={
search?.search
@@ -259,6 +260,7 @@ export function SimplifiedPartsJobsListComponent({
}
}
columns={columns}
mobileColumnKeys={["ro_number", "ownr_ln", "status", "vehicle", "partsstatus"]}
rowKey="id"
dataSource={search?.search ? openSearchResults : jobs}
onChange={handleTableChange}