feature/IO-3499-React-19: Move react-grid-gallery to a vendor directory internally, will be removed shortly but for now we keep it

This commit is contained in:
Dave
2026-01-13 17:17:28 -05:00
parent 1764397195
commit 7bdfbfabe9
15 changed files with 615 additions and 17 deletions

View File

@@ -38,7 +38,7 @@ class ErrorBoundary extends React.Component {
}
handleErrorSubmit = () => {
window.$crisp.push([
window.$crisp?.push([
"do",
"message:send",
[
@@ -53,7 +53,7 @@ class ErrorBoundary extends React.Component {
]
]);
window.$crisp.push(["do", "chat:open"]);
window.$crisp?.push(["do", "chat:open"]);
// const errorDescription = `**Please add relevant details about what you were doing before you encountered this issue**
@@ -78,7 +78,7 @@ class ErrorBoundary extends React.Component {
if (this.state.hasErrored === true) {
logImEXEvent("error_boundary_rendered", { error, info });
window.$crisp.push([
window.$crisp?.push([
"set",
"session:event",
[

View File

@@ -1,7 +1,7 @@
import { EditFilled, FileExcelFilled, SyncOutlined } from "@ant-design/icons";
import { Button, Card, Col, Row, Space } from "antd";
import { useEffect, useState } from "react";
import { Gallery } from "react-grid-gallery";
import { Gallery } from "../../vendor/react-grid-gallery";
import { useTranslation } from "react-i18next";
import Lightbox from "react-image-lightbox";
import "react-image-lightbox/style.css";

View File

@@ -1,5 +1,5 @@
import { useEffect } from "react";
import { Gallery } from "react-grid-gallery";
import { Gallery } from "../../vendor/react-grid-gallery";
import { useTranslation } from "react-i18next";
import { GenerateSrcUrl, GenerateThumbUrl } from "./job-documents.utility";