diff --git a/client/.env.development.imex b/client/.env.development.imex index 0b2eec83e..a7c9c1349 100644 --- a/client/.env.development.imex +++ b/client/.env.development.imex @@ -15,4 +15,5 @@ VITE_APP_INSTANCE=IMEX TEST_USERNAME="test@imex.dev" TEST_PASSWORD="test123" VITE_PUBLIC_POSTHOG_KEY=phc_xtLmBIu0rjWwExY73Oj5DTH1bGbwq1G1Y8jnlTceien -VITE_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com \ No newline at end of file +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 diff --git a/client/.env.development.rome b/client/.env.development.rome index fb4690ff6..816df9917 100644 --- a/client/.env.development.rome +++ b/client/.env.development.rome @@ -17,4 +17,5 @@ VITE_APP_INSTANCE=ROME TEST_USERNAME="test@imex.dev" TEST_PASSWORD="test123" VITE_PUBLIC_POSTHOG_KEY=phc_xtLmBIu0rjWwExY73Oj5DTH1bGbwq1G1Y8jnlTceien -VITE_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com \ No newline at end of file +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 diff --git a/client/.env.production.imex b/client/.env.production.imex index eaa7f6c56..dc1d7fe7a 100644 --- a/client/.env.production.imex +++ b/client/.env.production.imex @@ -14,4 +14,5 @@ VITE_APP_REPORTS_SERVER_URL=https://reports.imex.online VITE_APP_SPLIT_API=et9pjkik6bn67he5evpmpr1agoo7gactphgk VITE_APP_INSTANCE=IMEX VITE_PUBLIC_POSTHOG_KEY=phc_xtLmBIu0rjWwExY73Oj5DTH1bGbwq1G1Y8jnlTceien -VITE_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com \ No newline at end of file +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 diff --git a/client/.env.production.rome b/client/.env.production.rome index 64b33ade8..808c8e199 100644 --- a/client/.env.production.rome +++ b/client/.env.production.rome @@ -14,4 +14,5 @@ VITE_APP_REPORTS_SERVER_URL=https://reports.romeonline.io VITE_APP_SPLIT_API=et9pjkik6bn67he5evpmpr1agoo7gactphgk VITE_APP_INSTANCE=ROME VITE_PUBLIC_POSTHOG_KEY=phc_xtLmBIu0rjWwExY73Oj5DTH1bGbwq1G1Y8jnlTceien -VITE_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com \ No newline at end of file +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 diff --git a/client/.env.test.imex b/client/.env.test.imex index 5071568c5..2ff9a10d7 100644 --- a/client/.env.test.imex +++ b/client/.env.test.imex @@ -14,4 +14,5 @@ VITE_APP_IS_TEST=true VITE_APP_SPLIT_API=ts615lqgnmk84thn72uk18uu5pgce6e0l4rc VITE_APP_INSTANCE=IMEX VITE_PUBLIC_POSTHOG_KEY=phc_xtLmBIu0rjWwExY73Oj5DTH1bGbwq1G1Y8jnlTceien -VITE_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com \ No newline at end of file +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 diff --git a/client/.env.test.rome b/client/.env.test.rome index 708647c14..24c9b7047 100644 --- a/client/.env.test.rome +++ b/client/.env.test.rome @@ -14,4 +14,5 @@ VITE_APP_IS_TEST=true VITE_APP_SPLIT_API=ts615lqgnmk84thn72uk18uu5pgce6e0l4rc VITE_APP_INSTANCE=ROME VITE_PUBLIC_POSTHOG_KEY=phc_xtLmBIu0rjWwExY73Oj5DTH1bGbwq1G1Y8jnlTceien -VITE_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com \ No newline at end of file +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 diff --git a/client/src/App/App.styles.scss b/client/src/App/App.styles.scss index 616f88383..51dafcdfe 100644 --- a/client/src/App/App.styles.scss +++ b/client/src/App/App.styles.scss @@ -272,23 +272,23 @@ } // Scrollbar styles (uncomment if needed, updated for dark mode) -::-webkit-scrollbar-track { - -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); - border-radius: 0.2rem; - background-color: var(--table-stripe-bg); -} +// ::-webkit-scrollbar-track { +// -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); +// border-radius: 0.2rem; +// background-color: var(--table-stripe-bg); +// } -::-webkit-scrollbar { - width: 0.25rem; - max-height: 0.25rem; - background-color: var(--table-stripe-bg); -} +// ::-webkit-scrollbar { +// width: 0.25rem; +// max-height: 0.25rem; +// background-color: var(--table-stripe-bg); +// } -::-webkit-scrollbar-thumb { - border-radius: 0.2rem; - -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); - background-color: var(--alert-color); -} +// ::-webkit-scrollbar-thumb { +// border-radius: 0.2rem; +// -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); +// background-color: var(--alert-color); +// } .ant-input-number-input, .ant-input-number, diff --git a/client/src/components/dashboard-grid/dashboard-grid.component.jsx b/client/src/components/dashboard-grid/dashboard-grid.component.jsx index 546481e2e..f61a57398 100644 --- a/client/src/components/dashboard-grid/dashboard-grid.component.jsx +++ b/client/src/components/dashboard-grid/dashboard-grid.component.jsx @@ -80,7 +80,7 @@ export function DashboardGridComponent({ currentUser, bodyshop }) { }; const handleAddComponent = (e) => { - logImEXEvent("dashboard_add_component", { name: e }); + logImEXEvent("dashboard_add_component", { name: e.key }); setState({ ...state, items: [ diff --git a/client/src/index.jsx b/client/src/index.jsx index 830679c50..7132566a1 100644 --- a/client/src/index.jsx +++ b/client/src/index.jsx @@ -27,7 +27,8 @@ registerSW({ immediate: true }); Dinero.globalRoundingMode = "HALF_EVEN"; amplitude.init("6228a598e57cd66875cfd41604f1f891", { - defaultTracking: true + defaultTracking: true, + serverUrl: import.meta.env.VITE_APP_AMP_URL // { // attribution: { // excludeReferrers: true,