From eca7ff4a422d55fe2991c1ec0e7f5a35ca3e1593 Mon Sep 17 00:00:00 2001 From: Dave Richer Date: Thu, 20 Feb 2025 15:25:34 -0500 Subject: [PATCH] feature/IO-3096-GlobalNotifications - Clear stage, add notes --- client/package-lock.json | 16 ++++++++-------- client/package.json | 4 ++-- server/notifications/scenarioMapperr.js | 4 +++- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/client/package-lock.json b/client/package-lock.json index bd947dc12..eb49103c2 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -28,7 +28,7 @@ "classnames": "^2.5.1", "css-box-model": "^1.2.1", "dayjs": "^1.11.13", - "dayjs-business-days2": "^1.2.3", + "dayjs-business-days2": "^1.3.0", "dinero.js": "^1.9.1", "dotenv": "^16.4.7", "env-cmd": "^10.1.0", @@ -36,7 +36,7 @@ "firebase": "^10.13.2", "graphql": "^16.10.0", "i18next": "^23.15.1", - "i18next-browser-languagedetector": "^8.0.3", + "i18next-browser-languagedetector": "^8.0.4", "immutability-helper": "^3.1.1", "libphonenumber-js": "^1.11.20", "logrocket": "^8.1.2", @@ -8934,9 +8934,9 @@ "license": "MIT" }, "node_modules/dayjs-business-days2": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/dayjs-business-days2/-/dayjs-business-days2-1.2.3.tgz", - "integrity": "sha512-xNT6cjlERxb2zAByQ+60BIQmI+Jn3q333mUF6+2wImSwC2m6XZmNI9Yj+8EKgKJ0TdRk5Z0EaAp7I0hSy76jGw==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/dayjs-business-days2/-/dayjs-business-days2-1.3.0.tgz", + "integrity": "sha512-OgDBnsNmlk9+vmRQaP4yFisXs29WDk0ItUUctIagmO6OIoxhf4vArTov5i+G4vjT9Sz8NXOLMLrOVP0X0lG/Hw==", "license": "MIT", "dependencies": { "dayjs": "^1.11.13" @@ -11525,9 +11525,9 @@ } }, "node_modules/i18next-browser-languagedetector": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/i18next-browser-languagedetector/-/i18next-browser-languagedetector-8.0.3.tgz", - "integrity": "sha512-beOOLArattPBc2YZG5IXGJytdYFgUR7cS8Wd6HT4IczIoWKgmTspOQ2yasaGklelVo5seLPmnEKvLHR+E/MdWQ==", + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/i18next-browser-languagedetector/-/i18next-browser-languagedetector-8.0.4.tgz", + "integrity": "sha512-f3frU3pIxD50/Tz20zx9TD9HobKYg47fmAETb117GKGPrhwcSSPJDoCposXlVycVebQ9GQohC3Efbpq7/nnJ5w==", "license": "MIT", "dependencies": { "@babel/runtime": "^7.23.2" diff --git a/client/package.json b/client/package.json index d8c20b987..03c205681 100644 --- a/client/package.json +++ b/client/package.json @@ -27,7 +27,7 @@ "classnames": "^2.5.1", "css-box-model": "^1.2.1", "dayjs": "^1.11.13", - "dayjs-business-days2": "^1.2.3", + "dayjs-business-days2": "^1.3.0", "dinero.js": "^1.9.1", "dotenv": "^16.4.7", "env-cmd": "^10.1.0", @@ -35,7 +35,7 @@ "firebase": "^10.13.2", "graphql": "^16.10.0", "i18next": "^23.15.1", - "i18next-browser-languagedetector": "^8.0.3", + "i18next-browser-languagedetector": "^8.0.4", "immutability-helper": "^3.1.1", "libphonenumber-js": "^1.11.20", "logrocket": "^8.1.2", diff --git a/server/notifications/scenarioMapperr.js b/server/notifications/scenarioMapperr.js index b3a507b7e..671223541 100644 --- a/server/notifications/scenarioMapperr.js +++ b/server/notifications/scenarioMapperr.js @@ -119,7 +119,9 @@ const notificationScenarios = [ key: "supplement-imported", builder: supplementImportedBuilder }, - // This one may be tricky as the jobid is not directly in the event data + // This one may be tricky as the jobid is not directly in the event data (this is probably wrong) + // (should otherwise) + // Status needs to mark meta data 'md_backorderd' for example { key: "part-marked-back-ordered", table: "joblines",