From f93800ded4ca6450583692a47d0f8b67d198738b Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Fri, 19 Sep 2025 09:51:38 -0700 Subject: [PATCH] IO-3325 Additional ImEX log Events. --- client/.env.development.imex | 3 ++- client/.env.development.rome | 3 ++- client/.env.production.imex | 3 ++- client/.env.production.rome | 3 ++- client/.env.test.imex | 3 ++- client/.env.test.rome | 3 ++- ...accounting-receivables-table.component.jsx | 11 +++++++++- .../bills-list-table.component.jsx | 4 ++++ .../card-payment-modal.component.jsx | 4 +++- .../contracts-find-modal.container.jsx | 1 - .../global-search-os.component.jsx | 3 +++ .../job-audit-trail.component.jsx | 2 ++ .../job-detail-lines/job-lines.component.jsx | 11 +++++++++- .../job-lifecycle/job-lifecycle.component.jsx | 20 ++++++++++--------- .../job-line-bulk-assign.component.jsx | 2 ++ .../job-line-dispatch-button.component.jsx | 2 ++ .../job-remove-from-parts-queue.component.jsx | 3 +++ .../jobs-available-scan.component.jsx | 5 +++++ .../jobs-available-table.component.jsx | 2 ++ ...etail-header-actions.toggle-production.jsx | 4 ++++ .../jobs-list-paginated.component.jsx | 2 ++ .../jobs-list/jobs-list.component.jsx | 2 ++ .../owner-detail-form.container.jsx | 13 +++++++----- ...rts-order-modal-price-change.component.jsx | 3 ++- .../parts-queue-card.component.jsx | 3 +++ .../parts-queue.list.component.jsx | 2 ++ .../production-board-filters.component.jsx | 9 ++++++++- ...duction-list-columns.comment.component.jsx | 2 ++ .../production-list-table.component.jsx | 4 ++++ .../qbo-authorize/qbo-authorize.component.jsx | 2 ++ ...hedule-calendar-header-graph.component.jsx | 8 +++++++- .../schedule-calendar-header.component.jsx | 3 +++ .../scheduler-calendar-wrapper.component.jsx | 3 +++ .../schedule-calendar.component.jsx | 3 +++ .../scoreboard-entry-edit.component.jsx | 2 ++ .../share-to-teams.component.jsx | 2 ++ .../simplified-parts-jobs-list.component.jsx | 4 ++-- .../task-list/task-list.component.jsx | 2 ++ .../task-list/task-list.container.jsx | 3 +++ .../task-upsert-modal.container.jsx | 5 +++-- .../vehicle-detail-form.container.jsx | 13 +++++++----- client/src/firebase/firebase.utils.js | 14 +++++++------ client/src/index.jsx | 2 +- .../src/pages/bills/bills.page.component.jsx | 4 ++++ .../contract-create.page.container.jsx | 2 ++ .../jobs-create/jobs-create.container.jsx | 4 +++- client/vite.config.js | 2 +- 47 files changed, 165 insertions(+), 45 deletions(-) diff --git a/client/.env.development.imex b/client/.env.development.imex index a7c9c1349..79d1b4e63 100644 --- a/client/.env.development.imex +++ b/client/.env.development.imex @@ -16,4 +16,5 @@ TEST_USERNAME="test@imex.dev" TEST_PASSWORD="test123" VITE_PUBLIC_POSTHOG_KEY=phc_xtLmBIu0rjWwExY73Oj5DTH1bGbwq1G1Y8jnlTceien VITE_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com -VITE_APP_AMP_URL=https://vp8k908qy2.execute-api.ca-central-1.amazonaws.com \ No newline at end of file +VITE_APP_AMP_URL=https://vp8k908qy2.execute-api.ca-central-1.amazonaws.com +VITE_APP_AMP_KEY=6228a598e57cd66875cfd41604f1f891 \ No newline at end of file diff --git a/client/.env.development.rome b/client/.env.development.rome index 816df9917..eabf048e8 100644 --- a/client/.env.development.rome +++ b/client/.env.development.rome @@ -18,4 +18,5 @@ TEST_USERNAME="test@imex.dev" TEST_PASSWORD="test123" VITE_PUBLIC_POSTHOG_KEY=phc_xtLmBIu0rjWwExY73Oj5DTH1bGbwq1G1Y8jnlTceien VITE_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com -VITE_APP_AMP_URL=https://vp8k908qy2.execute-api.ca-central-1.amazonaws.com \ No newline at end of file +VITE_APP_AMP_URL=https://vp8k908qy2.execute-api.ca-central-1.amazonaws.com +VITE_APP_AMP_KEY=46b1193a867d4e3131ae4c3a64a3fc78 \ No newline at end of file diff --git a/client/.env.production.imex b/client/.env.production.imex index dc1d7fe7a..70c7c01c7 100644 --- a/client/.env.production.imex +++ b/client/.env.production.imex @@ -15,4 +15,5 @@ VITE_APP_SPLIT_API=et9pjkik6bn67he5evpmpr1agoo7gactphgk VITE_APP_INSTANCE=IMEX VITE_PUBLIC_POSTHOG_KEY=phc_xtLmBIu0rjWwExY73Oj5DTH1bGbwq1G1Y8jnlTceien VITE_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com -VITE_APP_AMP_URL=https://vp8k908qy2.execute-api.ca-central-1.amazonaws.com \ No newline at end of file +VITE_APP_AMP_URL=https://vp8k908qy2.execute-api.ca-central-1.amazonaws.com +VITE_APP_AMP_KEY=6228a598e57cd66875cfd41604f1f891 \ No newline at end of file diff --git a/client/.env.production.rome b/client/.env.production.rome index 808c8e199..cb2cd88ac 100644 --- a/client/.env.production.rome +++ b/client/.env.production.rome @@ -15,4 +15,5 @@ VITE_APP_SPLIT_API=et9pjkik6bn67he5evpmpr1agoo7gactphgk VITE_APP_INSTANCE=ROME VITE_PUBLIC_POSTHOG_KEY=phc_xtLmBIu0rjWwExY73Oj5DTH1bGbwq1G1Y8jnlTceien VITE_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com -VITE_APP_AMP_URL=https://vp8k908qy2.execute-api.ca-central-1.amazonaws.com \ No newline at end of file +VITE_APP_AMP_URL=https://vp8k908qy2.execute-api.ca-central-1.amazonaws.com +VITE_APP_AMP_KEY=46b1193a867d4e3131ae4c3a64a3fc78 \ No newline at end of file diff --git a/client/.env.test.imex b/client/.env.test.imex index 2ff9a10d7..0afecd91b 100644 --- a/client/.env.test.imex +++ b/client/.env.test.imex @@ -15,4 +15,5 @@ VITE_APP_SPLIT_API=ts615lqgnmk84thn72uk18uu5pgce6e0l4rc VITE_APP_INSTANCE=IMEX VITE_PUBLIC_POSTHOG_KEY=phc_xtLmBIu0rjWwExY73Oj5DTH1bGbwq1G1Y8jnlTceien VITE_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com -VITE_APP_AMP_URL=https://vp8k908qy2.execute-api.ca-central-1.amazonaws.com \ No newline at end of file +VITE_APP_AMP_URL=https://vp8k908qy2.execute-api.ca-central-1.amazonaws.com +VITE_APP_AMP_KEY=6228a598e57cd66875cfd41604f1f891 \ No newline at end of file diff --git a/client/.env.test.rome b/client/.env.test.rome index 24c9b7047..558c4528e 100644 --- a/client/.env.test.rome +++ b/client/.env.test.rome @@ -15,4 +15,5 @@ VITE_APP_SPLIT_API=ts615lqgnmk84thn72uk18uu5pgce6e0l4rc VITE_APP_INSTANCE=ROME VITE_PUBLIC_POSTHOG_KEY=phc_xtLmBIu0rjWwExY73Oj5DTH1bGbwq1G1Y8jnlTceien VITE_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com -VITE_APP_AMP_URL=https://vp8k908qy2.execute-api.ca-central-1.amazonaws.com \ No newline at end of file +VITE_APP_AMP_URL=https://vp8k908qy2.execute-api.ca-central-1.amazonaws.com +VITE_APP_AMP_KEY=46b1193a867d4e3131ae4c3a64a3fc78 \ No newline at end of file diff --git a/client/src/components/accounting-receivables-table/accounting-receivables-table.component.jsx b/client/src/components/accounting-receivables-table/accounting-receivables-table.component.jsx index 7775fbb8f..a3aacdb08 100644 --- a/client/src/components/accounting-receivables-table/accounting-receivables-table.component.jsx +++ b/client/src/components/accounting-receivables-table/accounting-receivables-table.component.jsx @@ -142,7 +142,16 @@ export function AccountingReceivablesTableComponent({ bodyshop, loading, jobs, r refetch={refetch} /> - + ) diff --git a/client/src/components/bills-list-table/bills-list-table.component.jsx b/client/src/components/bills-list-table/bills-list-table.component.jsx index 8b1d8e09c..166cd0b5b 100644 --- a/client/src/components/bills-list-table/bills-list-table.component.jsx +++ b/client/src/components/bills-list-table/bills-list-table.component.jsx @@ -5,6 +5,7 @@ import { useTranslation } from "react-i18next"; import { FaTasks } from "react-icons/fa"; import { connect } from "react-redux"; import { createStructuredSelector } from "reselect"; +import { logImEXEvent } from "../../firebase/firebase.utils"; import { selectJobReadOnly } from "../../redux/application/application.selectors"; import { setModalContext } from "../../redux/modals/modals.actions"; import { selectBodyshop } from "../../redux/user/user.selectors"; @@ -75,6 +76,7 @@ export function BillsListTableComponent({