commit_hash stringlengths 40 40 | input stringlengths 13 7.99k | output stringlengths 5 155 | full_message stringlengths 6 8.96k |
|---|---|---|---|
2dc58e4ebc6fa35c846ac7ebd7c970df9ee99047 | --- src/appState/AppStateSagas.ts
@@ -1,6 +1,14 @@
import {AppState, AppStateStatus} from 'react-native';
import {eventChannel} from 'redux-saga';
-import {call, take, put, all, takeLatest, select} from 'redux-saga/effects';
+import {
+ call,
+ take,
+ put,
+ all,
+ takeLatest,
+ select,
+ cancelled,
+} from 'redux-saga/effects';
import {ssoActions} from '@walmart/redux-store';
import WMSingleSignOn from 'react-native-ssmp-sso-allspark';
import AsyncStorage from '@react-native-community/async-storage';
@@ -26,11 +34,17 @@ export function createAppStateChannel() {
export function* watchForAppStateChange(): any {
const appStateChannel = yield call(createAppStateChannel);
- while (true) {
- const state = yield take(appStateChannel);
- if (AppStateActionCreators[state]) {
- yield put(AppStateActionCreators[state]());
- yield put(AppStateActionCreators.onAppStateChange(state));
+ try {
+ while (true) {
+ const state = yield take(appStateChannel);
+ if (AppStateActionCreators[state]) {
+ yield put(AppStateActionCreators[state]());
+ yield put(AppStateActionCreators.onAppStateChange(state));
+ }
+ }
+ } finally {
+ if (yield cancelled()) {
+ appStateChannel.close();
}
}
}
| Adding cancel handling to app state change watcher | Adding cancel handling to app state change watcher
|
35be3ec273031b1b5b8a05c029e8a75fe728fed1 | --- package-lock.json
@@ -5197,7 +5197,6 @@
}
},
"node_modules/@walmart/financial-wellbeing-feature-app": {
-
"version": "1.4.2",
"resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.4.2.tgz",
"integrity": "sha512-IOcFYCG2y/+pwMctJECL/Rpi+Kzkfn+6OtETp+XtNiFHQ8m81C3qannJYZQPQdJB3htpJfTPgKpcsjqyuRQvgA==",
@@ -5624,13 +5623,17 @@
}
},
"node_modules/@walmart/pay-stub-miniapp": {
- "version": "0.9.28",
+ "version": "0.9.31",
+ "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.9.31.tgz",
+ "integrity": "sha512-bNVw4lltWc7JFH1Gw4cEGN26AwJsTFvIFfVpCR0s9qVCYmmeRHG9u8yEVn6IctaSUpRNqgKdCuhcHsnxrXE7Yg==",
"dependencies": {
"crypto-js": "^3.3.0"
}
},
"node_modules/@walmart/payrollsolution_miniapp": {
- "version": "0.130.28",
+ "version": "0.130.34",
+ "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.130.34.tgz",
+ "integrity": "sha512-e7143uNIItBQgY+vZ71hro5fAeQHkiVezZsitJNDF1W6ELdqyioCEm7mEFD/mYiBFFVnxQaLmGN+Xq5Zn22b2g==",
"dependencies": {
"crypto-js": "^3.3.0"
},
@@ -25203,13 +25206,17 @@
}
},
"@walmart/pay-stub-miniapp": {
- "version": "0.9.28",
+ "version": "0.9.31",
+ "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.9.31.tgz",
+ "integrity": "sha512-bNVw4lltWc7JFH1Gw4cEGN26AwJsTFvIFfVpCR0s9qVCYmmeRHG9u8yEVn6IctaSUpRNqgKdCuhcHsnxrXE7Yg==",
"requires": {
"crypto-js": "^3.3.0"
}
},
"@walmart/payrollsolution_miniapp": {
- "version": "0.130.28",
+ "version": "0.130.34",
+ "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.130.34.tgz",
+ "integrity": "sha512-e7143uNIItBQgY+vZ71hro5fAeQHkiVezZsitJNDF1W6ELdqyioCEm7mEFD/mYiBFFVnxQaLmGN+Xq5Zn22b2g==",
"requires": {
"crypto-js": "^3.3.0"
}
| update package-lock.json | update package-lock.json
|
ef546bb6a117aa3331ac3a1f454388e4ef988aec | --- targets/US/ios/AllSpark/Info.plist
@@ -24,7 +24,7 @@
<string>????</string>
<key>CFBundleVersion</key>
<!-- @customization - default: <string>$(CURRENT_PROJECT_VERSION)</string> -->
- <string>932</string>
+ <string>934</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
| updated build number | updated build number
|
19e7ba46c76eafaeb3e9d35b044de1ff389691f7 | --- targets/US/ios/Podfile.lock
@@ -1895,7 +1895,7 @@ PODS:
- React-Core
- react-native-ble-manager (11.4.0):
- React-Core
- - react-native-blob-util (0.19.11):
+ - react-native-blob-util (0.19.8):
- React-Core
- react-native-cameraroll (5.6.0):
- React-Core
@@ -1919,7 +1919,7 @@ PODS:
- React-Core
- react-native-netinfo (11.3.2):
- React-Core
- - react-native-pager-view (6.3.4):
+ - react-native-pager-view (6.3.0):
- glog
- RCT-Folly (= 2022.05.16.00)
- React-Core
@@ -1927,7 +1927,7 @@ PODS:
- React-Core
- react-native-render-html (6.3.4):
- React-Core
- - react-native-safe-area-context (4.10.9):
+ - react-native-safe-area-context (4.10.8):
- React-Core
- react-native-scanner-3.0 (0.8.2):
- Firebase/Analytics
@@ -2132,13 +2132,13 @@ PODS:
- React
- RNCAsyncStorage (1.24.0):
- React-Core
- - RNCClipboard (1.14.1):
+ - RNCClipboard (1.14.0):
- React-Core
- RNCPicker (2.4.8):
- React-Core
- RNDateTimePicker (7.7.0):
- React-Core
- - RNDeviceInfo (10.13.2):
+ - RNDeviceInfo (10.13.1):
- React-Core
- RNFBAnalytics (17.4.3):
- Firebase/AnalyticsWithoutAdIdSupport (= 10.7.0)
@@ -2224,7 +2224,7 @@ PODS:
- React
- RNSoundPlayer (0.13.2):
- React-Core
- - RNSVG (14.2.0):
+ - RNSVG (14.1.0):
- React-Core
- RNVectorIcons (9.2.0):
- React-Core
@@ -2830,7 +2830,7 @@ SPEC CHECKSUMS:
react-native-background-timer: 17ea5e06803401a379ebf1f20505b793ac44d0fe
react-native-biometrics: 352e5a794bfffc46a0c86725ea7dc62deb085bdc
react-native-ble-manager: 99778506a9a9541ce7ad951144a9c362b3655125
- react-native-blob-util: 39a20f2ef11556d958dc4beb0aa07d1ef2690745
+ react-native-blob-util: 26f1fb0c91f2b437380d4f3875769a7c3e06080e
react-native-cameraroll: 755bcc628148a90a7c9cf3f817a252be3a601bc5
react-native-encrypted-storage: 51b5818f4fc05fd727da87f9d56b46cb2cfcc7f3
react-native-flipper: 9c1957af24b76493ba74f46d000a5c1d485e7731
@@ -2842,10 +2842,10 @@ SPEC CHECKSUMS:
react-native-loudness: 38527e7e42c3be3e4ea3d8aace2621a8eb9cafda
react-native-maps: 085f614cf14d3637b2048bb9752da5b1c27c2886
react-native-netinfo: 076df4f9b07f6670acf4ce9a75aac8d34c2e2ccc
- react-native-pager-view: a0929f52dcca836ec3d819d803a6ec6807e6277b
+ react-native-pager-view: 0eb900a8c5d83c02a74b0125d4b5f9fdcc5b8f44
react-native-pdf: 103940c90d62adfd259f63cca99c7c0c306b514c
react-native-render-html: 984dfe2294163d04bf5fe25d7c9f122e60e05ebe
- react-native-safe-area-context: ab8f4a3d8180913bd78ae75dd599c94cce3d5e9a
+ react-native-safe-area-context: b7daa1a8df36095a032dff095a1ea8963cb48371
react-native-scanner-3.0: cb097ec5234ea1c7713c9d5d74f323ee840e0dfb
react-native-splash-screen: 4312f786b13a81b5169ef346d76d33bc0c6dc457
react-native-video: c26780b224543c62d5e1b2a7244a5cd1b50e8253
@@ -2879,10 +2879,10 @@ SPEC CHECKSUMS:
RealmJS: 2c7fdb3991d7655fba5f88eb288f75eaf5cb9980
RNCallKeep: 2015ba5eb74666407e3613fd54c65bd227624a0a
RNCAsyncStorage: ec53e44dc3e75b44aa2a9f37618a49c3bc080a7a
- RNCClipboard: 0a720adef5ec193aa0e3de24c3977222c7e52a37
+ RNCClipboard: 090462274cc05b02628bd158baf6d73c3abe8441
RNCPicker: 0bf8ef8f7800524f32d2bb2a8bcadd53eda0ecd1
RNDateTimePicker: 4f3c4dbd4f908be32ec8c93f086e8924bd4a2e07
- RNDeviceInfo: 42aadf1282ffa0a88dc38a504a7be145eb010dfa
+ RNDeviceInfo: 4f9c7cfd6b9db1b05eb919620a001cf35b536423
RNFBAnalytics: 3bc4f4f28fad1caf0effaa21555da09f2c0be919
RNFBApp: 922564a99c97a8cab366d5a918f9fecff6b563d5
RNFBAppCheck: 35a9e99630d97413fad534c48fafc3c4e7243aa5
@@ -2893,7 +2893,7 @@ SPEC CHECKSUMS:
RNFBRemoteConfig: 515b9b5419e059cfce6b70e06e55d2cbb7eadb74
RNFlashList: b521ebdd7f9352673817f1d98e8bdc0c8cf8545b
RNFS: 4ac0f0ea233904cb798630b3c077808c06931688
- RNGestureHandler: 1155b1898ceddefeebf77792927360d44fe11e77
+ RNGestureHandler: bc2cdb2dc42facdf34992ae364b8a728e19a3686
RNImageCropPicker: 648356d68fbf9911a1016b3e3723885d28373eda
RNInAppBrowser: e36d6935517101ccba0e875bac8ad7b0cb655364
RNPermissions: 9146d07de144fc263afd0dc9cc75d26efea5f1e6
@@ -2903,7 +2903,7 @@ SPEC CHECKSUMS:
RNSha256: e1bc64e9e50b293d5282bb4caa1b2043931f1c9d
RNSketchCanvas: 9c28adb5381543ed55cc98ce6de46479cb3cb12c
RNSoundPlayer: 369105c565b8fe6ea0a43fc882dc81eba444e842
- RNSVG: 963a95f1f5d512a13d11ffd50d351c87fb5c6890
+ RNSVG: ba3e7232f45e34b7b47e74472386cf4e1a676d0a
RNVectorIcons: fcc2f6cb32f5735b586e66d14103a74ce6ad61f8
ScanditBarcodeCapture: d0d9bfe490019fc36e9c486e613b2e3987f4034c
ScanditCaptureCore: 37a2748dbb6d88471b556a3003a498d33f928e90
@@ -2926,4 +2926,4 @@ SPEC CHECKSUMS:
PODFILE CHECKSUM: 79762e92a369aa18acfab74237463b207180b823
-COCOAPODS: 1.14.3
+COCOAPODS: 1.14.3
\ No newline at end of file
--- targets/US/package.json
@@ -153,8 +153,8 @@
"@walmart/walmart-fiscal-week": "^0.3.6",
"@walmart/welcomeme-mini-app": "0.95.1",
"@walmart/wfm-ui": "1.6.0",
- "@walmart/wmconnect-mini-app": "2.6.0",
"@walmart/wm-plus-mini-app": "0.12.21",
+ "@walmart/wmconnect-mini-app": "2.6.0",
"axios": "~1.6.0",
"axios-cache-adapter": "patch:axios-cache-adapter@npm%3A2.7.3#~/.yarn/patches/axios-cache-adapter-npm-2.7.3-26c357b785.patch",
"axios-cache-interceptor": "patch:axios-cache-interceptor@npm%3A1.5.1#~/.yarn/patches/axios-cache-interceptor-npm-1.5.1-c84dd3f9ed.patch",
| reverted podfile lock | reverted podfile lock
|
9403bc5d5c0b37bd067dc16f877c469226d79323 | --- package-lock.json
@@ -5132,9 +5132,9 @@
}
},
"@walmart/core-services": {
- "version": "1.2.7",
- "resolved": "https://npme.walmart.com/@walmart/core-services/-/core-services-1.2.7.tgz",
- "integrity": "sha512-LjTQsB6c90n3RLwtk660ERzrkBopeWOq2m72IYNg8wbcaUEUG/ucXqMlx8ze3lCIIgadCCgCo2Csmhvjsa5Ibg==",
+ "version": "1.2.11",
+ "resolved": "https://npme.walmart.com/@walmart/core-services/-/core-services-1.2.11.tgz",
+ "integrity": "sha512-AdluKB5g1JVgbusGKOVDU/K8eQZoS+I4GsZVeYGlGwv6S5hYZj5e4R1VttxOnWxDjVfC1z2VcdaOGnWkKWzgeg==",
"requires": {
"@walmart/core-utils": "^1.0.10",
"axios": "^0.26.0",
@@ -5171,9 +5171,9 @@
}
},
"@walmart/core-services-allspark": {
- "version": "1.7.14",
- "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-1.7.14.tgz",
- "integrity": "sha512-z1Gaa8oU+C5lQww8/2ZRXw3YPmQoX68a/Ea2y02rjvewYUsQTVpvlDuhE6FrgmnX9HXwL535rZlz0TLvu71JoQ==",
+ "version": "1.7.18",
+ "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-1.7.18.tgz",
+ "integrity": "sha512-HGD13wYDApYvJQfmXGOyd2TJVKVnA/Y0FfjkH3tJqkkX+t2X91vwrBKcRA/vz95l5xBBhXHtajcbaAspwzZBwA==",
"requires": {
"axios": "^0.26.0",
"crypto-js": "^4.1.1",
@@ -13809,7 +13809,7 @@
"lodash.get": {
"version": "4.4.2",
"resolved": "https://npme.walmart.com/lodash.get/-/lodash.get-4.4.2.tgz",
- "integrity": "sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ=="
+ "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk="
},
"lodash.isequal": {
"version": "4.5.0",
@@ -13933,7 +13933,7 @@
"lodash.uniqby": {
"version": "4.7.0",
"resolved": "https://npme.walmart.com/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz",
- "integrity": "sha512-e/zcLx6CSbmaEgFHCA7BnoQKyCtKMxnuWrJygbwPs/AIn+IMKl66L8/s+wBUn5LRw2pZx3bUHibiV1b6aTWIww=="
+ "integrity": "sha1-2ZwHpmnp5tJOE2Lf4mbGdhavEwI="
},
"lodash.uppercase": {
"version": "4.3.0",
@@ -22694,7 +22694,7 @@
"wm-react-native-vector-icons": {
"version": "1.0.33",
"resolved": "https://npme.walmart.com/wm-react-native-vector-icons/-/wm-react-native-vector-icons-1.0.33.tgz",
- "integrity": "sha1-vIAL0WOWBBaAsIuacYHnzsxTQxk=",
+ "integrity": "sha512-pAcEq6iOVxzKM55qucKOkh2ML3kii4yGJ5YdmMEOcRAGH4fQ1lHa7BETIl+jzX5n1ZVKgWkzmAiH3vw0nkuklQ==",
"requires": {
"lodash": "^4.0.0",
"prop-types": "^15.6.2",
--- package.json
@@ -79,8 +79,8 @@
"@walmart/amp-mini-app": "0.2.13",
"@walmart/ask-sam-mini-app": "1.1.4",
"@walmart/config-components": "3.0.2",
- "@walmart/core-services": "~1.2.7",
- "@walmart/core-services-allspark": "~1.7.14",
+ "@walmart/core-services": "~1.2.11",
+ "@walmart/core-services-allspark": "~1.7.18",
"@walmart/core-utils": "~1.0.10",
"@walmart/core-widget-registry": "0.3.2",
"@walmart/counts-component-miniapp": "0.0.39",
| bumping core services for impersonation fix | bumping core services for impersonation fix
|
c210e15a3dd715e1118205d466eb3677ea07c6a0 | --- yarn.lock
@@ -7877,9 +7877,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/attendance-mini-app@npm:3.176.0":
- version: 3.176.0
- resolution: "@walmart/attendance-mini-app@npm:3.176.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fattendance-mini-app%2F-%2F%40walmart%2Fattendance-mini-app-3.176.0.tgz"
+"@walmart/attendance-mini-app@npm:3.178.0":
+ version: 3.178.0
+ resolution: "@walmart/attendance-mini-app@npm:3.178.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fattendance-mini-app%2F-%2F%40walmart%2Fattendance-mini-app-3.178.0.tgz"
peerDependencies:
"@react-native-community/datetimepicker": ">=5.1.0"
"@react-navigation/native": ">=6.0.8"
@@ -7909,43 +7909,7 @@ __metadata:
redux-saga: ">=1.2.3"
reselect: ">=4.1.0"
wfm-allspark-data-library: ">=3.3.0"
- checksum: 10c0/1b179cead7353f06656f5fb2ccf4966ddc726ff59506da5b50eacba31f73781fcb1ee15b3a8f3275bb8c556c58bb1cf9a5de0d518dc7d911cdb1aa32e3bb7908
- languageName: node
- linkType: hard
-
-"@walmart/attendance-mini-app@patch:@walmart/attendance-mini-app@npm:3.176.0#~/.yarn/patches/@walmart-attendance-mini-app-npm-3.176.0-b8336306f0.patch":
- version: 3.176.0
- resolution: "@walmart/attendance-mini-app@patch:@walmart/attendance-mini-app@npm%3A3.176.0%3A%3A__archiveUrl=https%253A%252F%252Fnpm.ci.artifacts.walmart.com%253A443%252Fartifactory%252Fapi%252Fnpm%252Fnpme-npm%252F%2540walmart%252Fattendance-mini-app%252F-%252F%2540walmart%252Fattendance-mini-app-3.176.0.tgz#~/.yarn/patches/@walmart-attendance-mini-app-npm-3.176.0-b8336306f0.patch::version=3.176.0&hash=ca7fe9"
- peerDependencies:
- "@react-native-community/datetimepicker": ">=5.1.0"
- "@react-navigation/native": ">=6.0.8"
- "@react-navigation/stack": ">=6.1.1"
- "@shopify/flash-list": ">=1.6.4"
- "@walmart/allspark-foundation": "*"
- "@walmart/core-services": ">=1.4.9"
- "@walmart/gta-react-native-calendars": ">=0.6.0"
- "@walmart/gtp-shared-components": ">=2.0.3"
- "@walmart/me-at-walmart-common": "*"
- "@walmart/redux-store": ">=3.0.1"
- axios: ">=0.26.1"
- eslint-plugin-prettier: ">=5.1.3"
- i18next: ">=22.0.1"
- javascript-time-ago: ">=2.5.7"
- lodash: ">=4.17.20"
- moment-timezone: ">=0.5.40"
- react: ">=18.2.0"
- react-i18next: ">=12.0.0"
- react-native: ">=0.73.7"
- react-native-gesture-handler: ^2.14.0
- react-native-modal: ">=13.0.1"
- react-native-reanimated: ">=3.5.1"
- react-native-vector-icons: ">=9.2.0"
- react-redux: ">=8.0.4"
- redux: ">=4.2.1"
- redux-saga: ">=1.2.3"
- reselect: ">=4.1.0"
- wfm-allspark-data-library: ">=3.3.0"
- checksum: 10c0/615dd676fc9b2ab95351c214ecdbffb55c2d55464e14d4e6429aed27c4381a9cceb052d03dc54d7c77bf6a4e83dd66a6407a880eea95fd0feef75a3381f12bf2
+ checksum: 10c0/8594393cb1bc28c6c92036faba92346a4c8e8317cd84b1ba63bfa336e97ca3bd75c0632f0cd670667a8bea3f31c4f3db27012d18571f89e39e4914004049b806
languageName: node
linkType: hard
@@ -8864,7 +8828,7 @@ __metadata:
"@walmart/associate-exp-hub-hub": "npm:2.21.3"
"@walmart/associate-exp-hub-team-switcher": "npm:2.25.0"
"@walmart/associate-listening-mini-app": "npm:2.0.37"
- "@walmart/attendance-mini-app": "patch:@walmart/attendance-mini-app@npm:3.176.0#~/.yarn/patches/@walmart-attendance-mini-app-npm-3.176.0-b8336306f0.patch"
+ "@walmart/attendance-mini-app": "npm:3.178.0"
"@walmart/avp-feature-app": "npm:0.28.47"
"@walmart/avp-shared-library": "npm:0.27.26"
"@walmart/ax-components": "npm:1.3.1"
| fix(attendance-mini-app): added the yarn.lock | fix(attendance-mini-app): added the yarn.lock
|
523a33b1c21ad79300893ffe7c8e3d1c118c02b6 | --- packages/me-at-walmart-common/package.json
@@ -7,12 +7,9 @@
"files": [
"lib"
],
- "publishConfig": {
- "registry": "https://npme.walmart.com/"
- },
"repository": {
"type": "git",
- "url": "https://gecgithub01.walmart.com/allspark/allspark.git"
+ "url": "https://gecgithub01.walmart.com/allspark/allspark-core.git"
},
"scripts": {
"build": "rm -rf lib && tsc",
| chore(config): ALLSPARK-0000 removed proximity reference for common | chore(config): ALLSPARK-0000 removed proximity reference for common
|
b1e6efe8726b256555530f10a506d577dd70f920 | --- __tests__/navigation/__snapshots__/MyTeamNavigation.test.tsx.snap
@@ -18,13 +18,13 @@ exports[`MyTeamNavigation should corretly render MyTeamNavigation 1`] = `
options={
{
"headerLeft": "DrawerButton",
- "headerRight": [MockFunction],
+ "headerRight": [Function],
"title": "My Team",
}
}
/>
<Screen
- component={[MockFunction]}
+ component={[Function]}
name="myTeam.viewTeam"
options={
{
@@ -36,11 +36,11 @@ exports[`MyTeamNavigation should corretly render MyTeamNavigation 1`] = `
}
/>
<Screen
- component={[MockFunction]}
+ component={[Function]}
name="myTeam.searchScreen"
options={
{
- "header": [MockFunction],
+ "header": [Function],
"presentation": "transparentModal",
}
}
--- __tests__/setup.ts
@@ -33,7 +33,9 @@ jest.mock('@walmart/wmconnect-mini-app', () =>
jest.requireActual('@walmart/wmconnect-mini-app'),
);
-jest.mock('@walmart/roster-mini-app');
+jest.mock('@walmart/roster-mini-app', () =>
+ jest.requireActual('@walmart/roster-mini-app'),
+);
jest.mock('@walmart/gtp-shared-components', () => ({
...jest.requireActual('@walmart/gtp-shared-components'),
| feat(ui): updated tests | feat(ui): updated tests
|
0057cd5fe9d999e06c3420719e7b887671754697 | --- packages/allspark-foundation/__tests__/cli/linkUtils.test.ts
@@ -2,7 +2,6 @@ import fs from 'fs';
import fsPromises from 'fs/promises';
import { linkPackage } from '../../src/cli/linkUtils';
-// Mocking fs and fsPromises
jest.mock('fs');
jest.mock('fs/promises');
@@ -15,35 +14,26 @@ describe('Configuration linking functions', () => {
const mockPackageConfig = {
dependencies: { 'new-package': '1.0.0' }
};
-
const mockPackageJson = {
dependencies: {},
devDependencies: {}
};
-
(fs.existsSync as jest.Mock).mockReturnValue(true);
jest.mock('package.json', () => mockPackageJson, { virtual: true });
-
const writeFileSpy = jest.spyOn(fsPromises, 'writeFile').mockResolvedValue();
-
await linkPackage(mockPackageConfig);
-
expect(writeFileSpy).toHaveBeenCalledWith(
expect.stringContaining('package.json'),
expect.stringContaining('"new-package": "1.0.0"')
);
});
-
it('should warn if package.json is not found', async () => {
const mockConsoleWarn = jest.spyOn(console, 'warn').mockImplementation();
const mockPackageConfig = {
dependencies: { 'new-package': '1.0.0' }
};
-
(fs.existsSync as jest.Mock).mockReturnValue(false);
-
await linkPackage(mockPackageConfig);
-
expect(mockConsoleWarn).toHaveBeenCalledWith(
expect.stringContaining('Unable to find package.json')
);
| code cleanup | code cleanup
|
959f2996c5595a4e3475671afede2402c71d62d6 | --- package.json
@@ -91,7 +91,7 @@
"@walmart/avp-shared-library": "0.5.2",
"@walmart/backroom-mini-app": "1.1.10",
"@walmart/calling-mini-app": "0.2.38",
- "@walmart/checkout-mini-app": " 3.16.3",
+ "@walmart/checkout-mini-app": " 3.18.0",
"@walmart/compass-sdk-rn": "5.19.8",
"@walmart/config-components": "4.4.1",
"@walmart/copilot-mini-app": "3.92.14",
--- yarn.lock
@@ -5817,9 +5817,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/checkout-mini-app@npm: 3.16.3":
- version: 3.16.3
- resolution: "@walmart/checkout-mini-app@npm:3.16.3"
+"@walmart/checkout-mini-app@npm: 3.18.0":
+ version: 3.18.0
+ resolution: "@walmart/checkout-mini-app@npm:3.18.0"
dependencies:
"@stomp/stompjs": "npm:^7.0.0"
cpc-input: "npm:^1.7.28"
@@ -5855,7 +5855,7 @@ __metadata:
react-native-wm-telemetry: ^0.3.0
react-redux: ^7.2.1
redux: ^4.0.5
- checksum: 10c0/45980c83eec4b5100e03755e7bbc98e5d0dd553931c8e4e315cf4a6b07bdbb7088620575644e1bd3933b84df604c6cfce138be7b7a946a2c15cd710466310aca
+ checksum: 10c0/ea4ea4e760ef095fdb117255677f2865cda486b67c092e1890e3cf3916d8899704051cbd5ada0b93b89a2f190eaa080e07d82219867f7570404fc6b9ec1ba929
languageName: node
linkType: hard
@@ -7806,7 +7806,7 @@ __metadata:
"@walmart/avp-shared-library": "npm:0.5.2"
"@walmart/backroom-mini-app": "npm:1.1.10"
"@walmart/calling-mini-app": "npm:0.2.38"
- "@walmart/checkout-mini-app": "npm: 3.16.3"
+ "@walmart/checkout-mini-app": "npm: 3.18.0"
"@walmart/compass-sdk-rn": "npm:5.19.8"
"@walmart/config-components": "npm:4.4.1"
"@walmart/copilot-mini-app": "npm:3.92.14"
| CO Scanner fix - 3.18.0 | CO Scanner fix - 3.18.0
|
a08ec585c3df5cf30f3c486d409df921529d537c | --- package-lock.json
@@ -52,7 +52,7 @@
"@walmart/functional-components": "~4.0.3",
"@walmart/gta-react-native-calendars": "0.0.16",
"@walmart/gtp-shared-components": "2.0.5",
- "@walmart/impersonation-mini-app": "1.18.1",
+ "@walmart/impersonation-mini-app": "1.18.3",
"@walmart/ims-print-services-ui": "2.2.3",
"@walmart/inbox-mini-app": "0.83.3",
"@walmart/iteminfo-mini-app": "7.2.2",
@@ -5296,9 +5296,9 @@
"license": "UNLICENSED"
},
"node_modules/@walmart/impersonation-mini-app": {
- "version": "1.18.1",
- "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.18.1.tgz",
- "integrity": "sha512-Cyp0VN7Ak+CgLd2RxCEVsJZDtVuQHy/ghtRyyOYm4VW+sw2UuvMXSV6qwzLMRPomEIi2KL3XdaYjNTl3m82DSQ==",
+ "version": "1.18.3",
+ "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.18.3.tgz",
+ "integrity": "sha512-l41PBLl3OZcEDIFiUE/ye4F93/qV6N8WU5iSqcWZr+6tmHQQ+uC/BJ55oy09mjC+/j3MAuoF3eL15yFjpgTMPA==",
"peerDependencies": {
"@react-native-community/masked-view": ">=0.1.10",
"@react-native-community/picker": ">=1.8.1",
@@ -25301,9 +25301,9 @@
}
},
"@walmart/impersonation-mini-app": {
- "version": "1.18.1",
- "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.18.1.tgz",
- "integrity": "sha512-Cyp0VN7Ak+CgLd2RxCEVsJZDtVuQHy/ghtRyyOYm4VW+sw2UuvMXSV6qwzLMRPomEIi2KL3XdaYjNTl3m82DSQ=="
+ "version": "1.18.3",
+ "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.18.3.tgz",
+ "integrity": "sha512-l41PBLl3OZcEDIFiUE/ye4F93/qV6N8WU5iSqcWZr+6tmHQQ+uC/BJ55oy09mjC+/j3MAuoF3eL15yFjpgTMPA=="
},
"@walmart/ims-print-services-ui": {
"version": "2.2.3"
--- package.json
@@ -94,7 +94,7 @@
"@walmart/functional-components": "~4.0.3",
"@walmart/gta-react-native-calendars": "0.0.16",
"@walmart/gtp-shared-components": "2.0.5",
- "@walmart/impersonation-mini-app": "1.18.1",
+ "@walmart/impersonation-mini-app": "1.18.3",
"@walmart/ims-print-services-ui": "2.2.3",
"@walmart/inbox-mini-app": "0.83.3",
"@walmart/iteminfo-mini-app": "7.2.2",
| fix(impersonation): impersonation fix Drop11 | fix(impersonation): impersonation fix Drop11
|
b0321dbfcdc4496ed8a56da39ed255ca9b881158 | --- __tests__/auth/__snapshots__/ErrorScreenTest.tsx.snap
@@ -278,6 +278,7 @@ exports[`ErrorScreen matches snapshot when dirty and no userId/siteId 1`] = `
placeholder="ssoError.details"
style={
Object {
+ "color": "#000000",
"fontFamily": "Bogle",
"fontSize": 16,
"height": 128,
@@ -579,6 +580,7 @@ exports[`ErrorScreen renders default 1`] = `
placeholder="ssoError.details"
style={
Object {
+ "color": "#000000",
"fontFamily": "Bogle",
"fontSize": 16,
"height": 128,
| color black added | color black added
|
1dd15acb85580ff19abecd47ba16a07859c845da | --- .yarnrc.yml
@@ -1,12 +1,14 @@
nodeLinker: node-modules
npmRegistryServer: '${REPOSOLNS_NPM_REPO}'
+enableImmutableInstalls: false
+
packageExtensions:
- "@walmart/ui-components@*":
+ '@walmart/ui-components@*':
peerDependenciesMeta:
- "react-native-background-timer":
+ 'react-native-background-timer':
optional: true
- "react-native-elements":
+ 'react-native-elements':
optional: true
- "react-native-vector-icons":
+ 'react-native-vector-icons':
optional: true
| chore(ui): update .yarnrc yml file | chore(ui): update .yarnrc yml file
|
ca0b0a93cde4bdd570659555d83c53828ebcd4d7 | --- packages/allspark-utils/src/hooks/useAppState.ts
@@ -37,28 +37,17 @@ export enum PRIORITY {
*/
export const useAppStateEffect = (
callback: (appState: AppStateStatus) => void,
- priority: PRIORITY = PRIORITY.LOW
+ priority = PRIORITY.LOW
) => {
+ const appState = useAppState();
useEffect(() => {
- let handleAppStateChange = (nextAppState: AppStateStatus) => {
+ if (priority === PRIORITY.HIGH) {
+ callback(appState);
+ } else {
setTimeout(() => {
- callback(nextAppState);
+ callback(appState);
}, 0);
- };
- if (priority === PRIORITY.HIGH) {
- handleAppStateChange = (nextAppState: AppStateStatus) => {
- callback(nextAppState);
- };
}
-
- const subscription = AppState.addEventListener(
- 'change',
- handleAppStateChange
- );
-
- return () => {
- subscription.remove();
- };
// eslint-disable-next-line react-hooks/exhaustive-deps
- }, [callback]);
+ }, [appState]);
};
| fix(utils): Update useAppStateEffect hook | fix(utils): Update useAppStateEffect hook
|
7b06295cee8821bc4929533e7638396e1611102e | --- package.json
@@ -89,7 +89,7 @@
"@walmart/counts-component-miniapp": "0.0.42",
"@walmart/emergency-mini-app": "1.17.0",
"@walmart/exception-mini-app": "1.0.14",
- "@walmart/facilities-management-miniapp": "0.5.10",
+ "@walmart/facilities-management-miniapp": "0.5.11",
"@walmart/feedback-all-spark-miniapp": "0.9.9",
"@walmart/financial-wellbeing-feature-app": "1.0.64",
"@walmart/functional-components": "2.0.6",
| Update package.json | Update package.json |
7d4450cc821739a37824258a8d229a0ba3cbd0f0 | --- src/core/initSSO.ts
@@ -35,7 +35,6 @@ export const logNotFoundError = (event: SSOPingFedEventData) => {
};
export const onError = debounce((event: SSOPingFedEventData) => {
- console.log('ERROR!!!!!', event);
const {error} = event;
if (Platform.OS === 'ios') {
const errorString = error?.Error?.toString();
| Removing console log | Removing console log
|
5185b055a6209c86c14562c9504b8c7a0406ae40 | --- targets/US/package.json
@@ -76,7 +76,7 @@
"@shopify/flash-list": "~1.6.4",
"@terrylinla/react-native-sketch-canvas": "patch:@terrylinla/react-native-sketch-canvas@npm%3A0.8.0#~/.yarn/patches/@terrylinla-react-native-sketch-canvas-npm-0.8.0-c7b2afd4cd.patch",
"@walmart/allspark-authentication": "~6.4.1",
- "@walmart/allspark-cope-key-listener": "0.0.17",
+ "@walmart/allspark-cope-key-listener": "0.0.18",
"@walmart/allspark-foundation": "6.20.0",
"@walmart/allspark-graphql-client": "~6.3.20",
"@walmart/allspark-http-client": "~6.3.20",
--- yarn.lock
@@ -5672,10 +5672,10 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-cope-key-listener@npm:0.0.17":
- version: 0.0.17
- resolution: "@walmart/allspark-cope-key-listener@npm:0.0.17"
- checksum: 10c0/0ef85f32047508d676de975d92b85daae5e6d4a7a25df26ccefc2d949ee7a1ed31e2d5afe188ac5d72b500348d657b36e56a932c623661a568b24c8801d2c84c
+"@walmart/allspark-cope-key-listener@npm:0.0.18":
+ version: 0.0.18
+ resolution: "@walmart/allspark-cope-key-listener@npm:0.0.18"
+ checksum: 10c0/d5fa39b98c6175e28eb4a5d915516b510ea6e3a040b39d5b20d118429bfad2f32dd55f18388d57b8eaddce6a57e27ec0d31af8270808027dbe03764f1b392865
languageName: node
linkType: hard
@@ -6992,7 +6992,7 @@ __metadata:
"@types/semver": "npm:^7.3.4"
"@types/uuid": "npm:^8.3.0"
"@walmart/allspark-authentication": "npm:~6.4.1"
- "@walmart/allspark-cope-key-listener": "npm:0.0.17"
+ "@walmart/allspark-cope-key-listener": "npm:0.0.18"
"@walmart/allspark-foundation": "npm:6.20.0"
"@walmart/allspark-graphql-client": "npm:~6.3.20"
"@walmart/allspark-http-client": "npm:~6.3.20"
@@ -7051,7 +7051,7 @@ __metadata:
"@walmart/react-native-shared-navigation": "npm:~6.3.20"
"@walmart/react-native-store-map": "npm:0.3.7"
"@walmart/react-native-sumo-sdk": "npm:2.7.2-alpha.2"
- "@walmart/react-native-webex-sdk": "npm:0.4.3"
+ "@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.4.3#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.4.3-2621d9f1df.patch"
"@walmart/receipt-check-miniapp": "npm:1.24.2"
"@walmart/redux-store": "npm:~6.3.20"
"@walmart/returns-mini-app": "npm:4.15.0"
@@ -7676,6 +7676,17 @@ __metadata:
languageName: node
linkType: hard
+"@walmart/react-native-webex-sdk@patch:@walmart/react-native-webex-sdk@npm%3A0.4.3#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.4.3-2621d9f1df.patch":
+ version: 0.4.3
+ resolution: "@walmart/react-native-webex-sdk@patch:@walmart/react-native-webex-sdk@npm%3A0.4.3#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.4.3-2621d9f1df.patch::version=0.4.3&hash=03c15c"
+ peerDependencies:
+ react: "*"
+ react-native: "*"
+ react-native-logger: "*"
+ checksum: 10c0/92e40f7c48cbb0e9617b7810807ab09b387adc24e69d48e2061aedabd08e08284b589611c60834108317d900e3cec752dc9fc38a750421ec3c1a9b3930dceb28
+ languageName: node
+ linkType: hard
+
"@walmart/receipt-check-miniapp@npm:1.24.2":
version: 1.24.2
resolution: "@walmart/receipt-check-miniapp@npm:1.24.2"
| fix: bump cope key listener package for ada fix | fix: bump cope key listener package for ada fix
|
3626c3abc262956a5d8fde9d9acdb025761aadef | --- package-lock.json
@@ -2995,9 +2995,9 @@
}
},
"@walmart/allspark-health-survey-mini-app": {
- "version": "0.0.34",
- "resolved": "https://npme.walmart.com/@walmart/allspark-health-survey-mini-app/-/allspark-health-survey-mini-app-0.0.34.tgz",
- "integrity": "sha512-Vh1QXkAHaBbFjpNjm/p25YskUmHEj6uV8Xx5WuN8xP+OBPdAkwVzMMhMBF4Fk7k0pKdKENg5+e1U0wM3QaR1rg==",
+ "version": "0.0.35",
+ "resolved": "https://npme.walmart.com/@walmart/allspark-health-survey-mini-app/-/allspark-health-survey-mini-app-0.0.35.tgz",
+ "integrity": "sha512-sbUZizPmKW9RIvTs7IYgl4MQuIfMc+EoWqiUtgFDZ9Y/s2mdg0fp132m/vV0ObKIQ5C0fYPQFhLy0IoeKr5HZg==",
"requires": {
"@walmart/patient-portal-mobile": "2.1.7",
"crypto-js": "^3.3.0",
@@ -3157,9 +3157,9 @@
"integrity": "sha512-0sVdqnfYb2Z90rZpk8drAttxOFKAIR3fAvOvFlVWOyxtPPXrAACOFzoTx++gO5SO5vZ1w6IlMKe8uTi2rpCWTA=="
},
"@walmart/schedule-mini-app": {
- "version": "0.2.72",
- "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.2.72.tgz",
- "integrity": "sha512-3ic6Ua5zTI6G9TyQrIruW6nsccvPwu6VHqx0LXG/zCP1NGCAiBU+fDngb7I7jAmAqtpUc+xZG+65jqXrOOO2nQ==",
+ "version": "0.2.73",
+ "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.2.73.tgz",
+ "integrity": "sha512-GVMOkKTsRZsW8NvgZI76oCrg+GY8qYPjBgplivKu6/Pgv/K2S4SacK9e5gapX2Vpo8uvQSxkm1N7G24h5/PFuA==",
"requires": {
"@walmart/moment-walmart": "^1.0.4",
"@walmart/wfm-ui": "0.1.50",
@@ -3169,30 +3169,6 @@
"wfm-allspark-data-library": "0.0.19"
},
"dependencies": {
- "@walmart/wfm-ui": {
- "version": "0.1.50",
- "resolved": "https://npme.walmart.com/@walmart/wfm-ui/-/wfm-ui-0.1.50.tgz",
- "integrity": "sha512-nLdB02iLmxPLKPN1LAeMGwnvlIZiW5e9Xlov0H+NYqMNEKMy9VjaVzSzbpKq9q8dN4Fa3MWQIQ08A830jDcT7A==",
- "requires": {
- "@walmart/gtp-shared-components": "^0.2.2",
- "@walmart/moment-walmart": "1.0.3",
- "lodash": "^4.17.20",
- "lodash.get": "^4.4.2",
- "lodash.isequal": "^4.5.0",
- "lodash.uniqby": "^4.7.0",
- "react-native-material-menu": "^0.4.2",
- "react-native-vector-icons": "^7.0.0",
- "string.prototype.matchall": "^4.0.2",
- "wm-react-native-vector-icons": "^1.0.26"
- },
- "dependencies": {
- "@walmart/moment-walmart": {
- "version": "1.0.3",
- "resolved": "https://npme.walmart.com/@walmart/moment-walmart/-/moment-walmart-1.0.3.tgz",
- "integrity": "sha512-rq1NYboOSqlXtiorH3m+8FwaInZ9X6epZpecrf9IjPmxvsXWbCcFxjybtqcPhux6FzcViIUWsJ3gnZBhYls8rA=="
- }
- }
- },
"wfm-allspark-data-library": {
"version": "0.0.19",
"resolved": "https://npme.walmart.com/wfm-allspark-data-library/-/wfm-allspark-data-library-0.0.19.tgz",
--- package.json
@@ -62,7 +62,7 @@
"@redux-saga/testing-utils": "^1.1.3",
"@sharcoux/slider": "^5.2.1",
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
- "@walmart/allspark-health-survey-mini-app": "0.0.34",
+ "@walmart/allspark-health-survey-mini-app": "0.0.35",
"@walmart/allspark-home-mini-app": "0.3.0",
"@walmart/allspark-me-mini-app": "0.0.23",
"@walmart/ask-sam-mini-app": "0.15.0",
@@ -78,7 +78,7 @@
"@walmart/react-native-logger": "^1.25.0",
"@walmart/react-native-shared-navigation": "^0.4.0",
"@walmart/redux-store": "^1.0.12",
- "@walmart/schedule-mini-app": "0.2.72",
+ "@walmart/schedule-mini-app": "0.2.73",
"@walmart/settings-mini-app": "1.2.3",
"@walmart/time-clock-mini-app": "0.2.1",
"@walmart/ui-components": "1.1.7",
| schedule and health bumps for translation vqa (#530) | schedule and health bumps for translation vqa (#530)
Co-authored-by: k0p03fa <k0p03fa@homeoffice.wal-mart.com>
Co-authored-by: Anthony Helms - awhelms <awhelms@wal-mart.com> |
d812d72b261db968c0adaedc2dab5744e56d930e | --- package.json
@@ -93,7 +93,7 @@
"@walmart/ask-sam-mini-app": "1.35.21",
"@walmart/associate-exp-hub-hub": "2.18.2",
"@walmart/associate-exp-hub-team-switcher": "2.21.0",
- "@walmart/associate-listening-mini-app": "1.2.80",
+ "@walmart/associate-listening-mini-app": "2.0.11",
"@walmart/attendance-mini-app": "patch:@walmart/attendance-mini-app@npm:3.176.0#~/.yarn/patches/@walmart-attendance-mini-app-npm-3.176.0-b8336306f0.patch",
"@walmart/avp-feature-app": "0.28.42",
"@walmart/avp-shared-library": "0.27.24",
--- src/app/tabs/my-team.tsx
@@ -15,6 +15,7 @@ import {ClockedOut} from '@walmart/ax-components';
* @description Default layout for the For You screen
*/
const DEFAULT_LAYOUT: LayoutConfigData[] = [
+ {componentId: 'AssociateListening.ManagerInsights'},
{componentId: 'MyTeam.CelebrationWidget'},
{componentId: 'MyTeam.RosterWidget'},
];
--- yarn.lock
@@ -7816,9 +7816,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/associate-listening-mini-app@npm:1.2.80":
- version: 1.2.80
- resolution: "@walmart/associate-listening-mini-app@npm:1.2.80::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fassociate-listening-mini-app%2F-%2F%40walmart%2Fassociate-listening-mini-app-1.2.80.tgz"
+"@walmart/associate-listening-mini-app@npm:2.0.11":
+ version: 2.0.11
+ resolution: "@walmart/associate-listening-mini-app@npm:2.0.11::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fassociate-listening-mini-app%2F-%2F%40walmart%2Fassociate-listening-mini-app-2.0.11.tgz"
dependencies:
"@walmart/associate-listening-utils": "npm:6.4.3"
peerDependencies:
@@ -7826,10 +7826,10 @@ __metadata:
"@react-navigation/stack": ^7.0.0
"@reduxjs/toolkit": ^1.9.5
"@walmart/allspark-foundation": "*"
- "@walmart/gtp-shared-components": 3.0.0-beta.8
+ "@walmart/gtp-shared-components-3": "*"
react: ^18.3.1
react-native: 0.79.5
- checksum: 10c0/7bf1013f7ee3b60e5f2a8a44fbf41e9e8f53b5a3b786a51e83f854d26e5550df4a6e73f7a86f6e9b96d212d643fcd2967cc6888722fd8f2135113444ca5b59a2
+ checksum: 10c0/c5ea63806083459021ed1ea839d4ea7066ee10161a74d5d6e139dc26bde513b1d4d88d3649bc51a7bcecfe61a19926b4fafbc911c3f8617d849a6b897e6e75a3
languageName: node
linkType: hard
@@ -8831,7 +8831,7 @@ __metadata:
"@walmart/ask-sam-mini-app": "npm:1.35.21"
"@walmart/associate-exp-hub-hub": "npm:2.18.2"
"@walmart/associate-exp-hub-team-switcher": "npm:2.21.0"
- "@walmart/associate-listening-mini-app": "npm:1.2.80"
+ "@walmart/associate-listening-mini-app": "npm:2.0.11"
"@walmart/attendance-mini-app": "patch:@walmart/attendance-mini-app@npm:3.176.0#~/.yarn/patches/@walmart-attendance-mini-app-npm-3.176.0-b8336306f0.patch"
"@walmart/avp-feature-app": "npm:0.28.42"
"@walmart/avp-shared-library": "npm:0.27.24"
| Drop 35.1 - Associate Listening - MyWalmart 2.0 Manager Insights landing card changes (#5176) | Drop 35.1 - Associate Listening - MyWalmart 2.0 Manager Insights landing card changes (#5176)
Co-authored-by: Pavan Lingamallu <pavan.lingamallu@walmart.com>
Co-authored-by: Vishesh Hiremath - v0h00hj <Vishesh.Hiremath@walmart.com>
Co-authored-by: Nivedha Padmanabhan - n0p081j <Nivedha.Padmanabhan@walmart.com>
Co-authored-by: Hariharan Sundaram <hariharan.sundaram0@walmart.com> |
dcce1c9a680780cc1042d121dafb5846a66d0377 | --- packages/allspark-foundation/__tests__/Translation/modals/client.test.ts
@@ -1,16 +1,35 @@
-import { TranslationFeatureClient, AllsparkTranslationClient, TranslationClient} from '../../../src/Translation/client';
+import { NativeModules, Platform } from 'react-native';
+import {
+ TranslationFeatureClient,
+ AllsparkTranslationClient,
+ TranslationClient,
+} from '../../../src/Translation/client';
+
+jest.mock('react-native', () => ({
+ NativeModules: {
+ SettingsManager: {
+ settings: { AppleLocale: 'en_US', AppleLanguages: ['en_US']},
+ },
+ I18nManager: {
+ localeIdentifier: 'en_US',
+ },
+ },
+ Platform: {
+ OS: 'ios',
+ },
+}));
describe('TranslationFeatureClient', () => {
let client: TranslationFeatureClient;
let clientF;
-
+
beforeEach(() => {
clientF = TranslationClient({
localeConfig: {
'en-US': { dateFormat: 'MM/DD/YYYY', currency: '$' },
'es-MX': { dateFormat: 'DD/MM/YYYY', currency: 'MX$' },
},
- lng: 'en-US',
+ lng: 'en-US',
});
});
@@ -21,7 +40,7 @@ describe('TranslationFeatureClient', () => {
client = new TranslationFeatureClient('testFeature');
});
afterEach(() => {
- jest.clearAllMocks();
+ jest.clearAllMocks();
});
it('should create a TranslationFeatureClient instance with truthy properties', () => {
expect(client.featureID).toBeTruthy();
@@ -36,14 +55,35 @@ describe('TranslationFeatureClient', () => {
const mockResources = { key: 'value' };
const lng = 'en-US';
client.addResources(lng, mockResources);
- expect(AllsparkTranslationClient.addResources).toHaveBeenCalledWith(lng, 'testFeature', mockResources);
+ expect(AllsparkTranslationClient.addResources).toHaveBeenCalledWith(
+ lng,
+ 'testFeature',
+ mockResources
+ );
});
it('should return the correct feature client', () => {
- const featureClient = AllsparkTranslationClient.createFeatureClient('feature1');
- expect(AllsparkTranslationClient.getFeatureClient('feature1')).toBe(featureClient);
+ const featureClient =
+ AllsparkTranslationClient.createFeatureClient('feature1');
+ expect(AllsparkTranslationClient.getFeatureClient('feature1')).toBe(
+ featureClient
+ );
});
it('should return locale config for provided language code', () => {
const config = clientF.getLocaleConfig('es-MX');
expect(config).toEqual({ dateFormat: 'DD/MM/YYYY', currency: 'MX$' });
});
+ it('returns the correct language on ios, if AppleLocale exists', async () => {
+ const language = await AllsparkTranslationClient.getDeviceLanguage();
+ expect(language).toBe('en_US');
+ });
+ it('returns the correct language on ios, if AppleLocale does not exists', async () => {
+ NativeModules.SettingsManager.settings.AppleLocale = null;
+ const language = await AllsparkTranslationClient.getDeviceLanguage();
+ expect(language).toBe('en_US');
+ });
+ it('returns the correct language on android', async () => {
+ Platform.OS = 'android';
+ const language = await AllsparkTranslationClient.getDeviceLanguage();
+ expect(language).toBe('en_US');
+ });
});
| Add tests for the getDeviceLanguage function | Add tests for the getDeviceLanguage function
|
8ec82e804d98f20f79ef01aab01648b5b13217d1 | --- packages/me-at-walmart-container/src/services/telemetry.ts
@@ -7,7 +7,8 @@ import {
TelemetryConfig,
TelemetryServiceCreator,
} from '@walmart/allspark-foundation/Telemetry';
-
+import {WorkSelectors} from '@walmart/allspark-foundation/Work';
+import {AllsparkReduxStore} from '@walmart/allspark-foundation';
const ANALYTICS = analytics();
const CRASHLYTICS = crashlytics();
const PERFORMANCE = performance();
@@ -82,11 +83,20 @@ export class TelemetryClient {
return [key, val?.toString()];
}),
);
-
- const fullParams = {
+ let fullParams: {
+ feature_id: string;
+ [key: string]: string;
+ } = {
...featureParams,
feature_id: this._id,
};
+ const workApps = ['topstock', 'backroom', 'pinpoint']; // TO-DO temporary array, use isWorkApp from foundation
+ if (workApps.includes(this._id)) {
+ const workActionId = AllsparkReduxStore.select(WorkSelectors.getActionId);
+ if (workActionId) {
+ fullParams = {...fullParams, workActionId};
+ }
+ }
return this._analytics.logEvent(fullEvent, fullParams);
};
| fix: add workactionid param DWORK-7538 | fix: add workactionid param DWORK-7538
|
87774a6b02639577e332ea5475f58d612fca9931 | --- packages/me-at-walmart-container/__tests__/services/navConfig.test.ts
@@ -11,7 +11,6 @@ import {
ChangeEventManager
} from '../../src/services/navConfig';
-
describe('NavConfigLogger Module', () => {
it('should export NavConfigLogger as an instance of MeAtWalmartLoggerService', () => {
expect(NavConfigLogger).toBeDefined();
@@ -153,17 +152,9 @@ describe('actualListener', () => {
SIDENAV: [],
};
- const transformGlobalDataSpy = jest.spyOn(
- require('../../src/services/navConfig'),
- 'transformGlobalData'
- ).mockReturnValueOnce(transformedData);
-
-
const runEventSpy = jest.spyOn(ChangeEventManager, 'runEvent');
actualListener(mockData);
- //expect(transformGlobalDataSpy).toHaveBeenCalledTimes(1);
- expect(transformGlobalDataSpy).toHaveBeenCalledWith(mockData);
expect(runEventSpy).toHaveBeenCalledTimes(1);
expect(runEventSpy).toHaveBeenCalledWith(
'config_change',
@@ -177,7 +168,7 @@ describe('actualListener', () => {
'transformGlobalData'
);
const runEventSpy = jest.spyOn(ChangeEventManager, 'runEvent');
- actualListener(undefined);
+ actualListener(undefined)
expect(transformGlobalDataSpy).not.toHaveBeenCalled();
expect(runEventSpy).not.toHaveBeenCalled();
| added test case for actualListener function in packages/me-at-walmart-container/src/services/navConfig.ts | added test case for actualListener function in packages/me-at-walmart-container/src/services/navConfig.ts
|
c1b51d49a803beb707da6bf6c1a7c177e9a38288 | --- src/hooks/messages.ts
@@ -12,6 +12,12 @@ import {
import {TextingNavParamsMap} from '../navigation';
import {getEncryptedUserId} from '../redux/selectors';
import {encryptUserId} from '../utils';
+import {useGetAssociateId} from '.';
+import {
+ MESSAGES_SCREEN_NAME,
+ ROOT_CONTAINER_SCREEN_NAME,
+ APP_CONTAINER_SCREEN_NAME,
+} from '../constants';
export const useStartAssociateText = (replace: boolean = false) => {
const navigation = useNavigation<StackNavigationProp<TextingNavParamsMap>>();
@@ -115,3 +121,38 @@ export const useStartTeamText = (replace: boolean = false) => {
[navigation, site],
);
};
+
+export const useTextingFeature = (
+ senderWin: string,
+ recepientWin: string,
+ siteId: string,
+) => {
+ const navigation = useNavigation<StackNavigationProp<TextingNavParamsMap>>();
+ const senderId = useGetAssociateId(senderWin);
+ const recipientId = useGetAssociateId(recepientWin);
+ const recipientIds = [senderId, recipientId];
+
+ return useCallback(
+ async () => {
+ const participants = recipientIds.map(encryptUserId);
+ const channelPath = createAssociateChannelPath(participants, siteId!);
+
+ navigation.navigate(ROOT_CONTAINER_SCREEN_NAME, {
+ // @ts-ignore
+ screen: APP_CONTAINER_SCREEN_NAME,
+ params: {
+ screen: MESSAGES_SCREEN_NAME,
+ params: {
+ channelPath,
+ details: {
+ group: false,
+ participants,
+ },
+ },
+ },
+ });
+ },
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ [navigation],
+ );
+};
--- src/hooks/roster.ts
@@ -2,6 +2,8 @@ import {useSelector} from 'react-redux';
import moment from 'moment-timezone';
import {SiteSelectors} from '@walmart/redux-store';
import {useGetDailyRosterQuery} from '../queries/getDailyRoster';
+import {useGetAssociateNameQuery} from '../queries/getAssociateName';
+import {IdType} from '../queries/schema.types';
// import {useDailyRosterMock} from '../mocks';
export const useDailyRoster = () => {
@@ -24,3 +26,15 @@ export const useDailyRoster = () => {
skip: !storeId || !countryCode,
});
};
+
+export const useGetAssociateId = (userWin: string) => {
+ const {data} = useGetAssociateNameQuery({
+ variables: {
+ id: userWin,
+ idType: IdType.Win,
+ },
+ errorPolicy: 'all',
+ skip: false,
+ });
+ return data?.getAssociateById?.userId || '';
+};
--- src/hooks/messages.ts
@@ -12,6 +12,12 @@ import {
import {TextingNavParamsMap} from '../navigation';
import {getEncryptedUserId} from '../redux/selectors';
import {encryptUserId} from '../utils';
+import {useGetAssociateId} from '.';
+import {
+ MESSAGES_SCREEN_NAME,
+ ROOT_CONTAINER_SCREEN_NAME,
+ APP_CONTAINER_SCREEN_NAME,
+} from '../constants';
export const useStartAssociateText = (replace: boolean = false) => {
const navigation = useNavigation<StackNavigationProp<TextingNavParamsMap>>();
@@ -115,3 +121,38 @@ export const useStartTeamText = (replace: boolean = false) => {
[navigation, site],
);
};
+
+export const useTextingFeature = (
+ senderWin: string,
+ recepientWin: string,
+ siteId: string,
+) => {
+ const navigation = useNavigation<StackNavigationProp<TextingNavParamsMap>>();
+ const senderId = useGetAssociateId(senderWin);
+ const recipientId = useGetAssociateId(recepientWin);
+ const recipientIds = [senderId, recipientId];
+
+ return useCallback(
+ async () => {
+ const participants = recipientIds.map(encryptUserId);
+ const channelPath = createAssociateChannelPath(participants, siteId!);
+
+ navigation.navigate(ROOT_CONTAINER_SCREEN_NAME, {
+ // @ts-ignore
+ screen: APP_CONTAINER_SCREEN_NAME,
+ params: {
+ screen: MESSAGES_SCREEN_NAME,
+ params: {
+ channelPath,
+ details: {
+ group: false,
+ participants,
+ },
+ },
+ },
+ });
+ },
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ [navigation],
+ );
+};
--- src/hooks/roster.ts
@@ -2,6 +2,8 @@ import {useSelector} from 'react-redux';
import moment from 'moment-timezone';
import {SiteSelectors} from '@walmart/redux-store';
import {useGetDailyRosterQuery} from '../queries/getDailyRoster';
+import {useGetAssociateNameQuery} from '../queries/getAssociateName';
+import {IdType} from '../queries/schema.types';
// import {useDailyRosterMock} from '../mocks';
export const useDailyRoster = () => {
@@ -24,3 +26,15 @@ export const useDailyRoster = () => {
skip: !storeId || !countryCode,
});
};
+
+export const useGetAssociateId = (userWin: string) => {
+ const {data} = useGetAssociateNameQuery({
+ variables: {
+ id: userWin,
+ idType: IdType.Win,
+ },
+ errorPolicy: 'all',
+ skip: false,
+ });
+ return data?.getAssociateById?.userId || '';
+};
| text message page navigation | text message page navigation
|
38ddd3307a855972dbf81a94be783c766b957d08 | --- packages/allspark-graphql-client/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.4.9](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-graphql-client@1.4.8...@walmart/allspark-graphql-client@1.4.9) (2023-06-21)
+
+**Note:** Version bump only for package @walmart/allspark-graphql-client
+
+
+
+
+
## [1.4.8](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-graphql-client@1.4.7...@walmart/allspark-graphql-client@1.4.8) (2023-05-23)
**Note:** Version bump only for package @walmart/allspark-graphql-client
--- packages/allspark-graphql-client/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-graphql-client",
- "version": "1.4.8",
+ "version": "1.4.9",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- packages/allspark-graphql-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-graphql-client",
- "version": "1.4.8",
+ "version": "1.4.9",
"description": "> TODO: description",
"license": "ISC",
"main": "lib/index.js",
@@ -33,7 +33,7 @@
"dependencies": {
"@apollo/client": "^3.7.3",
"@lifeomic/axios-fetch": "3.0.1",
- "@walmart/allspark-http-client": "^2.4.15",
+ "@walmart/allspark-http-client": "^2.4.16",
"crypto-js": "~4.1.1",
"graphql": "^16.6.0"
},
--- packages/allspark-http-client/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.4.16](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-http-client@2.4.15...@walmart/allspark-http-client@2.4.16) (2023-06-21)
+
+
+### Bug Fixes
+
+* remove legacy typing ([72931c7](https://gecgithub01.walmart.com/allspark/allspark/commit/72931c7474862e991b519e55b7935eecca6ddd92))
+
+
+
+
+
## [2.4.15](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-http-client@2.4.14...@walmart/allspark-http-client@2.4.15) (2023-05-23)
**Note:** Version bump only for package @walmart/allspark-http-client
--- packages/allspark-http-client/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-http-client",
- "version": "2.4.15",
+ "version": "2.4.16",
"lockfileVersion": 2,
"requires": true,
"packages": {
--- packages/allspark-http-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-http-client",
- "version": "2.4.15",
+ "version": "2.4.16",
"description": "",
"author": "rlane1 <russell.lane@walmart.com>",
"license": "ISC",
--- packages/core-services-allspark/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.10.18](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@2.10.17...@walmart/core-services-allspark@2.10.18) (2023-06-21)
+
+**Note:** Version bump only for package @walmart/core-services-allspark
+
+
+
+
+
## [2.10.17](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@2.10.16...@walmart/core-services-allspark@2.10.17) (2023-06-20)
--- packages/core-services-allspark/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "2.10.17",
+ "version": "2.10.18",
"lockfileVersion": 1,
"requires": true,
"packages": {
--- packages/core-services-allspark/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "2.10.17",
+ "version": "2.10.18",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -23,11 +23,11 @@
"author": "",
"license": "ISC",
"dependencies": {
- "@walmart/allspark-graphql-client": "^1.4.8",
- "@walmart/allspark-http-client": "^2.4.15",
+ "@walmart/allspark-graphql-client": "^1.4.9",
+ "@walmart/allspark-http-client": "^2.4.16",
"@walmart/allspark-utils": "^1.6.1",
- "@walmart/core-services": "^2.0.21",
- "@walmart/me-at-walmart-athena-queries": "^1.3.9",
+ "@walmart/core-services": "^2.0.22",
+ "@walmart/me-at-walmart-athena-queries": "^1.3.10",
"crypto-js": "~4.1.1",
"jwt-decode": "^3.1.2",
"luxon": "^2.4.0",
--- packages/core-services/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.0.22](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services@2.0.21...@walmart/core-services@2.0.22) (2023-06-21)
+
+**Note:** Version bump only for package @walmart/core-services
+
+
+
+
+
## [2.0.21](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services@2.0.20...@walmart/core-services@2.0.21) (2023-05-23)
**Note:** Version bump only for package @walmart/core-services
--- packages/core-services/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services",
- "version": "2.0.21",
+ "version": "2.0.22",
"lockfileVersion": 2,
"requires": true,
"packages": {
--- packages/core-services/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services",
- "version": "2.0.21",
+ "version": "2.0.22",
"description": "",
"main": "index.js",
"types": "index.d.ts",
@@ -19,7 +19,7 @@
"author": "",
"license": "ISC",
"dependencies": {
- "@walmart/allspark-http-client": "^2.4.15",
+ "@walmart/allspark-http-client": "^2.4.16",
"@walmart/allspark-utils": "^1.6.1",
"@walmart/redux-store": "~3.1.4",
"reduxsauce": "^1.2.1",
--- packages/me-at-walmart-athena-queries/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.3.10](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@1.3.9...@walmart/me-at-walmart-athena-queries@1.3.10) (2023-06-21)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-athena-queries
+
+
+
+
+
## [1.3.9](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@1.3.8...@walmart/me-at-walmart-athena-queries@1.3.9) (2023-05-23)
**Note:** Version bump only for package @walmart/me-at-walmart-athena-queries
--- packages/me-at-walmart-athena-queries/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-athena-queries",
- "version": "1.3.9",
+ "version": "1.3.10",
"description": "> TODO: description",
"author": "rlane1 <russell.lane@walmart.com>",
"homepage": "",
@@ -26,6 +26,6 @@
"clean": "rm -rf lib/ || true"
},
"dependencies": {
- "@walmart/allspark-graphql-client": "^1.4.8"
+ "@walmart/allspark-graphql-client": "^1.4.9"
}
}
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-graphql-client@1.4.9
- @walmart/allspark-http-client@2.4.16
- @walmart/core-services@2.0.22
- @walmart/core-services-allspark@2.10.18
- @walmart/me-at-walmart-athena-queries@1.3.10
|
371191fa7d2cd7f55856e6c8b39cda607bd7bb80 | --- packages/allspark-foundation-hub/__tests__/HubFeature/supplyChain/ShiftFilterList.test.tsx
@@ -0,0 +1,63 @@
+jest.useFakeTimers();
+import React from 'react';
+import { fireEvent } from '@testing-library/react-native';
+import { render } from '@walmart/allspark-foundation/__tests__/utils';
+import { ShiftFilterList } from '@walmart/allspark-foundation-hub/src/HubFeature/SupplyChain/Components/ShiftFilter/ShiftFilterList';
+
+jest.mock('@walmart/allspark-foundation/Logger', () => ({
+ ...jest.requireActual('@walmart/allspark-foundation/Logger'),
+ LoggerService: {
+ getContainerInstance: jest.fn().mockImplementationOnce(() => ({
+ info: jest.fn(),
+ error: jest.fn(),
+ })),
+ },
+}));
+
+jest.mock('@walmart/allspark-foundation/Telemetry', () => ({
+ ...jest.requireActual('@walmart/allspark-foundation/Telemetry'),
+ useTelemetryService: jest.fn().mockImplementationOnce(() => ({
+ logEvent: jest.fn(),
+ })),
+}));
+
+describe('ShiftFilterList', () => {
+ afterEach(() => {
+ jest.clearAllMocks();
+ });
+
+ const mockShiftFilterListProps: ShiftFilterListProps = {
+ filterListData: [
+ {
+ shiftId: 'shift1',
+ teamImage: {
+ uri: 'http://example.com/image1.jpg',
+ },
+ },
+ {
+ shiftId: 'shift2',
+ teamImage: {
+ uri: 'http://example.com/image2.jpg',
+ },
+ },
+ {
+ shiftId: 'shift3',
+ },
+ ],
+ handleSelectShift: jest.fn(),
+ };
+ it('Test 1: Renders ShiftFilterList component with required elements correctly', () => {
+ const { getByTestId, toJSON } = render(
+ <ShiftFilterList {...mockShiftFilterListProps} />
+ );
+
+ expect(getByTestId('hub-header-title')).toBeTruthy();
+ expect(getByTestId('hub-header-subText')).toBeTruthy();
+
+ expect(getByTestId('shift-filter-shift1')).toBeTruthy();
+ expect(getByTestId('shift-filter-shift2')).toBeTruthy();
+ expect(getByTestId('shift-filter-shift3')).toBeTruthy();
+
+ expect(toJSON()).toMatchSnapshot();
+ });
+});
| Adding Test 1 for shiftFilterList | Adding Test 1 for shiftFilterList
|
23248dae5e5ee28f80df3b99f012736911734bae | --- package-lock.json
@@ -2975,9 +2975,9 @@
}
},
"@walmart/allspark-health-survey-mini-app": {
- "version": "0.0.24",
- "resolved": "https://npme.walmart.com/@walmart/allspark-health-survey-mini-app/-/allspark-health-survey-mini-app-0.0.24.tgz",
- "integrity": "sha512-Z6vW8WEVpRy+cMMW+zsbIoaUFweJekOC0/ZLhFLGSKh9FHLlVwIPqNErLrOEWW3n3pUFAxbJKLKHJ3quLqfjnA==",
+ "version": "0.0.25",
+ "resolved": "https://npme.walmart.com/@walmart/allspark-health-survey-mini-app/-/allspark-health-survey-mini-app-0.0.25.tgz",
+ "integrity": "sha512-rsCBA7eUe8pIRdVfjTw2amHF5cqRGAQFDAEV3SeM2X/B6WPiDCCP+obLfCNJpeCspxpoST5A95ThXeoibpZz9g==",
"requires": {
"@walmart/patient-portal-mobile": "^2.1.2",
"crypto-js": "^3.3.0",
@@ -3098,9 +3098,9 @@
"integrity": "sha512-iTkDEL7GeYYS8laso4ECQ7DyHgBxnJh/uP5PJNQMHZyKb8niIwIwb19HFLuGBVRa9vZIjTz7mChSydbIn4KV0w=="
},
"@walmart/patient-portal-mobile": {
- "version": "2.1.2",
- "resolved": "https://npme.walmart.com/@walmart/patient-portal-mobile/-/patient-portal-mobile-2.1.2.tgz",
- "integrity": "sha512-i9G+DVtVWWSQoEoJyaSJ6r8jPjziq6ggTHxYbbUtgFyRtJuHUvYVa4DlfwyUNfGeSYjmLCKlgCj4cBj7Kc4daA==",
+ "version": "2.1.4",
+ "resolved": "https://npme.walmart.com/@walmart/patient-portal-mobile/-/patient-portal-mobile-2.1.4.tgz",
+ "integrity": "sha512-XgIeFuE2FOMzXrajCYTUecLb2ti8KliwM+qmaxAv3OoBbMkkL7fdPwBiGhJVJzodJs9u7pVqh+cmu90RhfzrMg==",
"requires": {
"@react-native-community/datetimepicker": "^3.0.3",
"@walmart/react-native-collapsible": "1.5.3",
@@ -3108,8 +3108,7 @@
"moment": "2.23.0",
"react-native-hyperlink": "0.0.19",
"react-native-qrcode-svg": "^6.0.6",
- "squiggly-localization": "0.0.2",
- "wm-react-native-vector-icons": "1.0.32"
+ "squiggly-localization": "0.0.2"
},
"dependencies": {
"lodash": {
@@ -3158,9 +3157,9 @@
"integrity": "sha512-0sVdqnfYb2Z90rZpk8drAttxOFKAIR3fAvOvFlVWOyxtPPXrAACOFzoTx++gO5SO5vZ1w6IlMKe8uTi2rpCWTA=="
},
"@walmart/schedule-mini-app": {
- "version": "0.2.56",
- "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.2.56.tgz",
- "integrity": "sha512-cnuUNBRRdmjft/xl1yCT6HN9vifjZSyvekh5rMM4HKb8DJAKf6DAm0Ckb+1AlHhGwvTs1zvJwh/Ars9cd11Tmw==",
+ "version": "0.2.58",
+ "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.2.58.tgz",
+ "integrity": "sha512-9Ux21yYFGmH9C5ropm06VClRj7TBv8vzExErfE8kMDeC8yeCLNcmUEOWFDJ/d1aU27RNBgDqN41dhrr0OrzB+Q==",
"requires": {
"@walmart/moment-walmart": "^1.0.4",
"@walmart/wfm-ui": "0.1.40",
--- package.json
@@ -47,7 +47,7 @@
"@react-navigation/native": "^5.7.3",
"@react-navigation/stack": "^5.9.0",
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
- "@walmart/allspark-health-survey-mini-app": "0.0.24",
+ "@walmart/allspark-health-survey-mini-app": "0.0.25",
"@walmart/allspark-home-mini-app": "0.1.10",
"@walmart/allspark-me-mini-app": "0.0.22",
"@walmart/ask-sam-mini-app": "0.10.22",
@@ -63,7 +63,7 @@
"@walmart/react-native-logger": "^1.22.0",
"@walmart/react-native-shared-navigation": "^0.3.0",
"@walmart/redux-store": "^1.0.12",
- "@walmart/schedule-mini-app": "0.2.56",
+ "@walmart/schedule-mini-app": "0.2.58",
"@walmart/settings-mini-app": "1.1.15",
"@walmart/time-clock-mini-app": "0.1.33",
"@walmart/ui-components": "1.0.95",
| vqa headers (#360) | vqa headers (#360)
Co-authored-by: k0p03fa <k0p03fa@homeoffice.wal-mart.com>
Co-authored-by: Anthony Helms - awhelms <awhelms@wal-mart.com> |
79fd93bb94f22a4f328f045cc668544a6058e6ac | --- .looper.yml
@@ -10,15 +10,15 @@ triggers:
- manual:
name: PR
call: pr
- - manual:
- name: Publish from Changes
- call: publishFromChanges
+ # - manual:
+ # name: Publish from Changes
+ # call: publishFromChanges
- manual:
name: Publish from Package
call: publishFromPackage
- - manual:
- name: Publish from Git
- call: publishFromGit
+ # - manual:
+ # name: Publish from Git
+ # call: publishFromGit
flows:
default:
--- lerna.json
@@ -1,5 +1,5 @@
{
- "version": "independent",
+ "version": "5.0.0-alpha.2",
"npmClient": "npm",
"hoist": true,
"changelogPreset": "angular",
--- packages/allspark-foundation/cli/envReplacer.js
--- packages/allspark-foundation/cli/generate.js
--- packages/allspark-foundation/cli/generateQuery.js
--- packages/allspark-foundation/cli/generateYml.js
--- packages/allspark-foundation/cli/mergeConfig.js
@@ -0,0 +1,56 @@
+#!/usr/bin/env node
+'use strict';
+
+const fs = require('fs');
+const path = require('path');
+
+const processPath = process.cwd();
+const baseConfigPath = `${processPath}/react-native.config.js`;
+const baseConfig = require(baseConfigPath);
+
+function isObject(item) {
+ return item && typeof item === 'object' && !Array.isArray(item);
+}
+
+function mergeDeep(target, ...sources) {
+ if (!sources.length) return target;
+ const source = sources.shift();
+
+ if (isObject(target) && isObject(source)) {
+ for (const key in source) {
+ if (isObject(source[key])) {
+ if (!target[key]) Object.assign(target, { [key]: {} });
+ mergeDeep(target[key], source[key]);
+ } else {
+ Object.assign(target, { [key]: source[key] });
+ }
+ }
+ }
+
+ return mergeDeep(target, ...sources);
+}
+
+function writeConfig(config) {
+ const fileContent = `module.exports = ${JSON.stringify(config, null, 2)};\n`;
+ fs.writeFileSync(baseConfigPath, fileContent);
+}
+
+function mergeConfig(inputConfigPath) {
+ const inputConfigRelativePath = path.resolve(processPath, inputConfigPath);
+ const inputConfig = require(inputConfigRelativePath);
+
+ if (baseConfig) {
+ const mergedConfig = mergeDeep(baseConfig, inputConfig);
+ writeConfig(mergedConfig);
+ } else {
+ writeConfig(inputConfig);
+ }
+}
+
+const inputConfigPath = process.argv[2];
+
+if (inputConfigPath) {
+ mergeConfig(inputConfigPath);
+} else {
+ console.error('Please provide config path for merging');
+}
--- packages/allspark-foundation/package.json
@@ -6,10 +6,12 @@
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
- "lib"
+ "lib",
+ "cli"
],
"bin": {
- "allspark-graphql-client-generate": "./codegen/generate.js"
+ "allspark-graphql-client-generate": "./cli/generate.js",
+ "allspark-merge-rn-config": "./codegen/mergeConfig.js"
},
"repository": {
"type": "git",
@@ -20,7 +22,7 @@
"test": "jest",
"lint": "npx eslint ./ --ext .js,.jsx,.ts,.tsx",
"lint:fix": "npx eslint ./ --ext .js,.jsx,.ts,.tsx --fix",
- "generate:queries": "./codegen/generate.js",
+ "generate:queries": "./cli/generate.js",
"prepare": "rm -rf lib && tsc",
"clean": "rm -rf lib/ || true"
},
--- packages/me-at-walmart-container/cli/link.js
@@ -0,0 +1,64 @@
+#!/usr/bin/env node
+'use strict';
+
+const { exec } = require('child_process');
+const path = require('path');
+
+const containerConfigPath = path.resolve(
+ __dirname,
+ '../react-native.config.js'
+);
+exec(
+ `npx allspark-merge-rn-config ${containerConfigPath}`,
+ (error, stdout, stderr) => {
+ if (error) {
+ console.error('Error executing npm script', error.message);
+ }
+ console.log(`NPM script output: ${stdout}`);
+ }
+);
+
+// const fs = require('fs');
+// const path = require('path');
+
+// const processPath = process.cwd();
+// const baseConfigPath = `${processPath}/react-native.config.js`;
+// const baseConfig = require(baseConfigPath);
+// const containerConfigPath = path.resolve(__dirname, '../react-native.config.js');
+
+// function isObject(item) {
+// return (item && typeof item === 'object' && !Array.isArray(item));
+// }
+
+// function mergeDeep(target, ...sources) {
+// if (!sources.length) return target;
+// const source = sources.shift();
+
+// if (isObject(target) && isObject(source)) {
+// for (const key in source) {
+// if (isObject(source[key])) {
+// if (!target[key]) Object.assign(target, { [key]: {} });
+// mergeDeep(target[key], source[key]);
+// } else {
+// Object.assign(target, { [key]: source[key] });
+// }
+// }
+// }
+
+// return mergeDeep(target, ...sources);
+// }
+
+// function writeConfig(config) {
+// const fileContent = `module.exports = ${JSON.stringify(config, null, 2)};\n`;
+// fs.writeFileSync(baseConfigPath, fileContent);
+// };
+
+// // Merge React Native Config
+// const inputConfig = require(containerConfigPath);
+
+// if (baseConfig) {
+// const mergedConfig = mergeDeep(baseConfig, inputConfig);
+// writeConfig(mergedConfig);
+// } else {
+// writeConfig(inputConfig);
+// }
--- packages/me-at-walmart-container/package.json
@@ -5,8 +5,12 @@
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
- "lib"
+ "lib",
+ "cli"
],
+ "bin": {
+ "me-at-walmart-link": "./cli/link.js"
+ },
"scripts": {
"coverage": "jest --coverage",
"test": "jest",
--- packages/me-at-walmart-container/react-native.config.js
@@ -0,0 +1,17 @@
+module.exports = {
+ dependencies: {
+ '@react-native-async-storage/async-storage': {},
+ '@react-native-community/netinfo': {},
+ '@react-native-firebase/analytics': {},
+ '@react-native-firebase/crashlytics': {},
+ '@react-native-firebase/database': {},
+ '@react-native-firebase/perf': {},
+ 'react-native-app-auth': {},
+ '@walmart/react-native-encrypted-storage': {},
+ '@walmart/react-native-logger': {},
+ '@walmart/react-native-sumo-sdk': {},
+ 'react-native-device-info': {},
+ 'react-native-permissions': {},
+ 'wifi-store-locator': {},
+ },
+};
| chore: update cli scripts | chore: update cli scripts
|
cc43f64b543bee792dda8c5fdbb27a270e3ddb81 | --- src/translations/en-US.ts
@@ -75,7 +75,7 @@ export const enUS = {
placeholder: 'Type a name',
},
messageScreen: {
- deliveredReadReceipt: 'Delivered',
+ deliveredReadReceipt: 'Sent',
readReadReceipt: 'Read',
chatInputPlaceholder: 'Type a message',
},
--- src/translations/es-MX.ts
@@ -73,7 +73,7 @@ export const esMX = {
placeholder: 'Escriba un nombre',
},
messageScreen: {
- deliveredReadReceipt: 'Entregado', //TODO: Used google translate, needs real translation
+ deliveredReadReceipt: 'Enviado', //TODO: Used google translate, needs real translation
readReadReceipt: 'Leer', //TODO: Used google translate, needs real translation
chatInputPlaceholder: 'Entre un mensaje',
},
--- src/translations/en-US.ts
@@ -75,7 +75,7 @@ export const enUS = {
placeholder: 'Type a name',
},
messageScreen: {
- deliveredReadReceipt: 'Delivered',
+ deliveredReadReceipt: 'Sent',
readReadReceipt: 'Read',
chatInputPlaceholder: 'Type a message',
},
--- src/translations/es-MX.ts
@@ -73,7 +73,7 @@ export const esMX = {
placeholder: 'Escriba un nombre',
},
messageScreen: {
- deliveredReadReceipt: 'Entregado', //TODO: Used google translate, needs real translation
+ deliveredReadReceipt: 'Enviado', //TODO: Used google translate, needs real translation
readReadReceipt: 'Leer', //TODO: Used google translate, needs real translation
chatInputPlaceholder: 'Entre un mensaje',
},
| update lang file to use the word sent instead of delivered | update lang file to use the word sent instead of delivered
|
071c36d6a579b007d0a727ebe7870fbd5145401e | --- package-lock.json
@@ -39,7 +39,7 @@
"@walmart/allspark-neon-core": "0.1.31",
"@walmart/amp-mini-app": "1.1.48",
"@walmart/ask-sam-chat-components": "^0.2.7",
- "@walmart/ask-sam-mini-app": "1.13.4",
+ "@walmart/ask-sam-mini-app": "1.15.2",
"@walmart/attendance-mini-app": "0.190.6",
"@walmart/compass-sdk-rn": "4.2.0",
"@walmart/config-components": "4.2.1",
@@ -7940,9 +7940,9 @@
}
},
"node_modules/@walmart/ask-sam-mini-app": {
- "version": "1.13.4",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.13.4.tgz",
- "integrity": "sha512-N8xaaLdJAc+MY8Djq+hLV+cFTj0mOpje5wnOzgQAFE/8fNSsL0cmgnlIkt1BDQFnrGkkSqqm5759spG6hnWX3A==",
+ "version": "1.15.2",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.15.2.tgz",
+ "integrity": "sha512-RqiZrptz3qwL+pJijTuZgT05Ut1xZCN23GJzruyENqx4vcP1Pf45nvjd2c3RJVDNgyVo5S4ugXrtnxPze+r+Rw==",
"license": "NONE",
"dependencies": {
"apisauce": "^1.1.2",
@@ -33477,9 +33477,9 @@
}
},
"@walmart/ask-sam-mini-app": {
- "version": "1.13.4",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.13.4.tgz",
- "integrity": "sha512-N8xaaLdJAc+MY8Djq+hLV+cFTj0mOpje5wnOzgQAFE/8fNSsL0cmgnlIkt1BDQFnrGkkSqqm5759spG6hnWX3A==",
+ "version": "1.15.2",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.15.2.tgz",
+ "integrity": "sha512-RqiZrptz3qwL+pJijTuZgT05Ut1xZCN23GJzruyENqx4vcP1Pf45nvjd2c3RJVDNgyVo5S4ugXrtnxPze+r+Rw==",
"requires": {
"apisauce": "^1.1.2",
"axios-cache-adapter": "^2.7.3",
--- package.json
@@ -80,7 +80,7 @@
"@walmart/allspark-neon-core": "0.1.31",
"@walmart/amp-mini-app": "1.1.48",
"@walmart/ask-sam-chat-components": "^0.2.7",
- "@walmart/ask-sam-mini-app": "1.13.4",
+ "@walmart/ask-sam-mini-app": "1.15.2",
"@walmart/attendance-mini-app": "0.190.6",
"@walmart/compass-sdk-rn": "4.2.0",
"@walmart/config-components": "4.2.1",
| SMBLV-4895: Bumping up version for ask sam | SMBLV-4895: Bumping up version for ask sam
|
759e3fe8b0ddd9ce527e73bce99386e1b09924ff | --- __tests__/core/initSSOTest.ts
@@ -107,10 +107,11 @@ describe('ssoTelemetryEventListener', () => {
});
expect(logger.info).toHaveBeenCalledWith('User change succeeded', {});
expect(logger.error).toHaveBeenCalledWith(
- 'Country or store number NOT_FOUND',
+ 'Missing required properties on user object from SSO',
{
countryCode: 'US',
siteId: 'NOT_FOUND',
+ domain: 'Store/Club',
},
);
});
@@ -130,10 +131,11 @@ describe('ssoTelemetryEventListener', () => {
});
expect(logger.info).toHaveBeenCalledWith('User sign in succeeded', {});
expect(logger.error).toHaveBeenCalledWith(
- 'Country or store number NOT_FOUND',
+ 'Missing required properties on user object from SSO',
{
siteId: '100',
countryCode: 'NOT_FOUND',
+ domain: 'Store/Club',
},
);
});
--- src/core/initSSO.ts
@@ -17,9 +17,10 @@ const logNotFoundError = (event: SSOPingFedEventData) => {
event.userType?.toUpperCase() === ASSOCIATE_USER_TYPE &&
(event.siteId === 'NOT_FOUND' || event.countryCode === 'NOT_FOUND')
) {
- logger.error('Country or store number NOT_FOUND', {
+ logger.error('Missing required properties on user object from SSO', {
countryCode: event.countryCode,
siteId: event.siteId,
+ domain: event.domain,
});
}
};
| Updated the message for logs | Updated the message for logs
|
e77ca6cc07bab543d4123b651982d2175a819890 | --- packages/allspark-utils/src/hooks/useAppState.ts
@@ -1,6 +1,14 @@
import { useState, useEffect } from 'react';
import { AppState, AppStateStatus } from 'react-native';
+/**
+ * Use useAppStateEffect instead
+ * A custom React hook that returns the current state of the app.
+ * Uses the `AppState` API from `react-native`.
+ * @returns The current state of the app.
+ * @example
+ * const appState = useAppState(); // 'active' | 'background' | 'inactive'
+ */
export const useAppState = () => {
const [appState, setAppState] = useState(AppState.currentState);
@@ -12,13 +20,45 @@ export const useAppState = () => {
return appState;
};
+export enum PRIORITY {
+ LOW = 'low',
+ HIGH = 'high',
+}
+
+/**
+ * Calls the provided callback function whenever the app state changes.
+ * @param callback - The function to call when the app state changes.
+ * @param priority - Use HIGH priority only when it's really necessary otherwise use LOW
+ * @example
+ * useAppStateEffect((appState) => {
+ * console.log(appState);
+ * });
+ * // logs 'active' | 'background' | 'inactive'
+ */
export const useAppStateEffect = (
- callback: (appState: AppStateStatus) => void
+ callback: (appState: AppStateStatus) => void,
+ priority: PRIORITY = PRIORITY.LOW
) => {
- const appState = useAppState();
-
useEffect(() => {
- callback(appState);
+ let handleAppStateChange = (nextAppState: AppStateStatus) => {
+ setTimeout(() => {
+ callback(nextAppState);
+ }, 0);
+ };
+ if (priority === PRIORITY.HIGH) {
+ handleAppStateChange = (nextAppState: AppStateStatus) => {
+ callback(nextAppState);
+ };
+ }
+
+ const subscription = AppState.addEventListener(
+ 'change',
+ handleAppStateChange
+ );
+
+ return () => {
+ subscription.remove();
+ };
// eslint-disable-next-line react-hooks/exhaustive-deps
- }, [appState]);
+ }, [callback]);
};
| Update useAppStateEffect to take priority | Update useAppStateEffect to take priority
|
0b0d3fb7e3acef2a54c4666bb73f0b9f8eeea007 | --- package.json
@@ -113,7 +113,7 @@
"@walmart/gta-react-native-calendars": "0.7.0",
"@walmart/gtp-shared-components": "2.2.7",
"@walmart/ims-print-services-ui": "2.22.0",
- "@walmart/inbox-mini-app": "0.102.2",
+ "@walmart/inbox-mini-app": "0.103.1",
"@walmart/invue-react-native-sdk": "0.1.26-alpha.12",
"@walmart/iteminfo-mini-app": "8.6.1",
"@walmart/learning-mini-app": "20.0.79",
--- yarn.lock
@@ -8278,9 +8278,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/inbox-mini-app@npm:0.102.2":
- version: 0.102.2
- resolution: "@walmart/inbox-mini-app@npm:0.102.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Finbox-mini-app%2F-%2F%40walmart%2Finbox-mini-app-0.102.2.tgz"
+"@walmart/inbox-mini-app@npm:0.103.1":
+ version: 0.103.1
+ resolution: "@walmart/inbox-mini-app@npm:0.103.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Finbox-mini-app%2F-%2F%40walmart%2Finbox-mini-app-0.103.1.tgz"
peerDependencies:
"@walmart/allspark-foundation": "*"
"@walmart/allspark-utils": ">=1.6.4"
@@ -8291,7 +8291,7 @@ __metadata:
"@walmart/onewalmart-miniapp": "*"
"@walmart/schedule-mini-app": "*"
"@walmart/walmart-fiscal-week": "*"
- checksum: 10c0/bf3aaaa43afb64fcc3f383d200a5fe784b1c12d9e2327f155d730fb6c81dfd0c4e40368ef95d004912c9e87aea53ddd603749abdcfc6ee050b8ac3dca9c48bf5
+ checksum: 10c0/b9d04bdb3260004e7f3e61224376eaf0d65855a355aa7b7f41127dcdf70960cd6420b21d2f7b6f87b253ee64e7e6b8480312947da5576c28414681a571df9dfa
languageName: node
linkType: hard
@@ -8665,7 +8665,7 @@ __metadata:
"@walmart/gta-react-native-calendars": "npm:0.7.0"
"@walmart/gtp-shared-components": "npm:2.2.7"
"@walmart/ims-print-services-ui": "npm:2.22.0"
- "@walmart/inbox-mini-app": "npm:0.102.2"
+ "@walmart/inbox-mini-app": "npm:0.103.1"
"@walmart/invue-react-native-sdk": "npm:0.1.26-alpha.12"
"@walmart/iteminfo-mini-app": "npm:8.6.1"
"@walmart/learning-mini-app": "npm:20.0.79"
| fix(update): updated inbox version SSMP-10898 (#4635) | fix(update): updated inbox version SSMP-10898 (#4635)
Co-authored-by: Maksym Novakh - m0n09mr <Maksym.Novakh0@walmart.com> |
11f2f78ebc1b71ca344b57176edce9ad6f520eaf | --- .looper.yml
@@ -20,5 +20,4 @@ flows:
pr:
- npm install
- npm run lint
- # Temporarily disable coverage check until tests are written
- #- npm run coverage
+ # - npm run coverage temporarily disable coverage
--- .looper.yml
@@ -20,5 +20,4 @@ flows:
pr:
- npm install
- npm run lint
- # Temporarily disable coverage check until tests are written
- #- npm run coverage
+ # - npm run coverage temporarily disable coverage
| temp disable coverage update | temp disable coverage update
|
a0a8e543a1cda32cc71dd6f6689edcfe6089e09c | --- app.config.US.ts
@@ -192,6 +192,7 @@ const CONFIG: ExpoConfig = {
{
android: {
minSdkVersion: 26,
+ targetSdkVersion: 35,
newArchEnabled: false,
useLegacyPackaging: true,
packagingOptions: {
| chore: update targetSdk to 35 for playstore compliance | chore: update targetSdk to 35 for playstore compliance
|
ab1acef2a6c1b8b09962722e3d5957657c477650 | --- saucelabs/.looper-native-common-saucelabs.yml
@@ -7,7 +7,7 @@ envs:
TMPDIR: /tmp
TARGET_XCODE: "13.0"
TARGET_SIMULATOR: "iPhone 11"
- TARGET_SIMULATOR_OS: "14.0"
+ TARGET_SIMULATOR_OS: "15.0"
RCT_NO_LAUNCH_PACKAGER: true
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
KEYCHAIN_PW: "%{credentials.secret('ios-sign-keychain-pw')}"
| Updated Simulator OS in accordance with Xcode version | Updated Simulator OS in accordance with Xcode version |
13c540cd7e89751cd245778432b5c26796e2fe82 | --- packages/associate-exp-hub-hub/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [2.8.0](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-hub@2.7.0...@walmart/associate-exp-hub-hub@2.8.0) (2025-11-06)
+
+### Features
+
+- **ui:** update lint fix ([3c1a816](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/commit/3c1a816d85d441ed18c6349543e4451605c79d2d))
+
# [2.7.0](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-hub@2.6.1...@walmart/associate-exp-hub-hub@2.7.0) (2025-11-06)
### Features
--- packages/associate-exp-hub-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-hub",
- "version": "2.7.0",
+ "version": "2.8.0",
"description": "Hub Framework module for Associate Experience Hub - can be moved to @walmart/my-walmart-hub",
"packageManager": "yarn@4.6.0",
"engines": {
--- packages/associate-exp-hub-mini-app/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.4.0-alpha.32](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.4.0-alpha.31...@walmart/associate-exp-hub-mini-app@1.4.0-alpha.32) (2025-11-06)
+
+**Note:** Version bump only for package @walmart/associate-exp-hub-mini-app
+
# [1.4.0-alpha.31](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.4.0-alpha.30...@walmart/associate-exp-hub-mini-app@1.4.0-alpha.31) (2025-11-06)
### Features
--- packages/associate-exp-hub-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-mini-app",
- "version": "1.4.0-alpha.31",
+ "version": "1.4.0-alpha.32",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/associate-exp-hub-team-switcher/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.6.1](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.6.0...@walmart/associate-exp-hub-team-switcher@2.6.1) (2025-11-06)
+
+**Note:** Version bump only for package @walmart/associate-exp-hub-team-switcher
+
# [2.6.0](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.5.1...@walmart/associate-exp-hub-team-switcher@2.6.0) (2025-11-06)
### Features
--- packages/associate-exp-hub-team-switcher/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-team-switcher",
- "version": "2.6.0",
+ "version": "2.6.1",
"description": "Team Switcher module for Associate Experience Hub",
"packageManager": "yarn@4.6.0",
"engines": {
| chore(version): updating package version | chore(version): updating package version
- @walmart/associate-exp-hub-hub@2.8.0
- @walmart/associate-exp-hub-mini-app@1.4.0-alpha.32
- @walmart/associate-exp-hub-team-switcher@2.6.1
|
ea0569c67a5bdb163ac9f21b3f6b638aff4a5b4c | --- __tests__/channels/components/__snapshots__/UnreadBadge.test.tsx.snap
@@ -10,8 +10,6 @@ exports[`UnreadBadge should display "99+" when unreadCount exceeds 99 1`] = `
[
{
"backgroundColor": "#ffc220",
- "borderColor": "#803d10",
- "borderWidth": 1,
},
{
"alignItems": "center",
@@ -22,9 +20,7 @@ exports[`UnreadBadge should display "99+" when unreadCount exceeds 99 1`] = `
"paddingHorizontal": 4,
},
],
- {
- "borderWidth": 0,
- },
+ undefined,
]
}
testID="unreadBadgeCount"
@@ -69,8 +65,6 @@ exports[`UnreadBadge should render the badge when there are unread messages and
[
{
"backgroundColor": "#ffc220",
- "borderColor": "#803d10",
- "borderWidth": 1,
},
{
"alignItems": "center",
@@ -81,9 +75,7 @@ exports[`UnreadBadge should render the badge when there are unread messages and
"paddingHorizontal": 4,
},
],
- {
- "borderWidth": 0,
- },
+ undefined,
]
}
testID="unreadBadgeCount"
--- __tests__/screens/MessagesScreen/__snapshots__/OneToOneChatTests.tsx.snap
@@ -472,6 +472,11 @@ exports[`Messages Screen One To One Chat should load list empty state when no me
testID="error-component"
>
<View
+ accessibilityLabel="error : Connection lost"
+ accessibilityRole="alert"
+ accessible={true}
+ importantForAccessibility="auto"
+ onAccessibilityAction={[Function]}
style={
[
{
@@ -538,8 +543,6 @@ exports[`Messages Screen One To One Chat should load list empty state when no me
}
>
<Text
- accessibilityRole="alert"
- accessible={true}
style={
[
{
@@ -1308,6 +1311,11 @@ exports[`Messages Screen One To One Chat should send a text message and push not
testID="error-component"
>
<View
+ accessibilityLabel="error : Connection lost"
+ accessibilityRole="alert"
+ accessible={true}
+ importantForAccessibility="auto"
+ onAccessibilityAction={[Function]}
style={
[
{
@@ -1374,8 +1382,6 @@ exports[`Messages Screen One To One Chat should send a text message and push not
}
>
<Text
- accessibilityRole="alert"
- accessible={true}
style={
[
{
--- package.json
@@ -82,7 +82,7 @@
"@walmart/allspark-utils": "6.5.1",
"@walmart/config-components": "4.6.5",
"@walmart/expo-config-plugins": "0.1.4",
- "@walmart/gtp-shared-components": "2.2.4",
+ "@walmart/gtp-shared-components": "2.2.9-rc.1",
"@walmart/me-at-walmart-athena-queries": "6.26.1",
"@walmart/me-at-walmart-common": "6.29.0-alpha.0",
"@walmart/me-at-walmart-container": "6.29.0-alpha.0",
--- src/channels/components/UnreadBadge.tsx
@@ -20,7 +20,7 @@ const UnreadBadgeBase = () => {
: Number(unreadMessagesCount);
return unreadCount && isTextingFeatureEnabled ? (
<View testID='unreadBadge'>
- <Badge UNSAFE_style={{borderWidth:0}} testID='unreadBadgeCount' color='spark'>
+ <Badge testID='unreadBadgeCount' color='spark'>
{unreadCountData ?? unreadMessagesCountData}
</Badge>
</View>
--- yarn.lock
@@ -6300,9 +6300,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/gtp-shared-components@npm:2.2.4":
- version: 2.2.4
- resolution: "@walmart/gtp-shared-components@npm:2.2.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fgtp-shared-components%2F-%2Fgtp-shared-components-2.2.4.tgz"
+"@walmart/gtp-shared-components@npm:2.2.9-rc.1":
+ version: 2.2.9-rc.1
+ resolution: "@walmart/gtp-shared-components@npm:2.2.9-rc.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fgtp-shared-components%2F-%2F%40walmart%2Fgtp-shared-components-2.2.9-rc.1.tgz"
dependencies:
"@livingdesign/tokens": "npm:0.74.0"
"@walmart/gtp-shared-icons": "npm:1.0.10"
@@ -6318,9 +6318,9 @@ __metadata:
react-native-device-info: "*"
react-native-drop-shadow: "*"
bin:
- installFonts: scripts/installFonts
- runCodemods: scripts/runCodemods
- checksum: 10c0/52b172f006e950284c34fee7e2b05637f2eec0c3b857a491f6853302936e1b48efe121fcd209444ec7e5572b23a4495a090a2f55fa41447c00823adaca6c17a2
+ installFonts: ./scripts/installFonts
+ runCodemods: ./scripts/runCodemods
+ checksum: 10c0/f0f2042f9365c12f1f78243398a72db79fc09843337baee5b102a617314be0d3e6bb5b7907a7d96235210a81850c7a9d86e419b0156715337446c3bbeed61e3b
languageName: node
linkType: hard
@@ -6488,7 +6488,7 @@ __metadata:
"@walmart/allspark-utils": "npm:6.5.1"
"@walmart/config-components": "npm:4.6.5"
"@walmart/expo-config-plugins": "npm:0.1.4"
- "@walmart/gtp-shared-components": "npm:2.2.4"
+ "@walmart/gtp-shared-components": "npm:2.2.9-rc.1"
"@walmart/me-at-walmart-athena-queries": "npm:6.26.1"
"@walmart/me-at-walmart-common": "npm:6.29.0-alpha.0"
"@walmart/me-at-walmart-container": "npm:6.29.0-alpha.0"
| fix(ui): updating gtp library | fix(ui): updating gtp library
|
c6db23caf5224ac465301da7c04643de37d4f92b | --- packages/me-at-walmart-container/src/services/user/transforms.ts
@@ -119,11 +119,11 @@ export const parseUserResponse = (
secondaryJobCode: user.secondaryJobCode,
streetAddress: user.streetAddress,
title: user.title,
- division: user.division ?? user.wmChargeDivisionNumber,
+ division: user.wmChargeDivisionNumber,
fullTimePartTime: user.wmFullTimePartTimeCode,
state: user.wmChargeState,
chargeDivisionNumber: user.wmChargeDivisionNumber,
- jobCode: user.wmJobCode ?? user.wmSystemJobCodes,
+ jobCode: user.wmSystemJobCodes,
regionNumber: user.wmRegionNumber,
// associate fields - modified/defaulted
dateOfBirth: associate?.birthDate?.raw,
@@ -137,7 +137,7 @@ export const parseUserResponse = (
// associate fields - not modified/defaulted
employmentStatus: associate?.employmentStatus,
jobCategoryCode: associate?.jobCategoryCode,
- wmBusinessUnitCategory: user.wmBusinessUnitCategory,
+ businessUnitCategory: user.wmBusinessUnitCategory,
businessUnitType: user.wmBusinessUnitType,
chargeBusinessUnitNumber: user.wmChargeBusinessUnitNumber,
jobDescription: associate?.jobCategoryCodeDesc,
@@ -147,6 +147,8 @@ export const parseUserResponse = (
preferredMiddleName: associate?.preferredMiddleName,
preferredNameSocialSuffix: associate?.preferredNameSocialSuffix,
preferredNameTitle: associate?.preferredNameTitle,
+ wmDivision: user.division,
+ wmJobCode: user.wmJobCode,
} as User;
};
| ALLSPARK-4778: Changed as aper the PR comments renamed the properties | ALLSPARK-4778: Changed as aper the PR comments renamed the properties
|
692f7d5a3dfd797669d6f1269d01f13598add845 | --- graphql.yml
@@ -52,7 +52,7 @@ applications:
tags:
- "v1"
- name: "upsertManagerExperiencePreference"
- hash: "7306eb6d1608ce5ed0670feb5d02a82a7803f82b9416cb6350d89a2ff2487b8c"
+ hash: "ac327db11b29d56c84ec16501eaaf83d4d70f32eacaf172ca5b24b620b06e605"
queryTemplate: "packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql"
tags:
- "v1"
@@ -88,20 +88,20 @@ applications:
queryTemplate: "packages/me-at-walmart-athena-queries/src/getTeamByIdHome.graphql"
tags:
- "v1"
- - name: "GetTeamsByStore"
- hash: "0d9bcce8cdce8831861e22bd66c43d0891aef2304b2bab61e449c5570aa564d2"
- queryTemplate: "packages/me-at-walmart-athena-queries/src/getTeamsbyStore.graphql"
- tags:
- - "v1"
- - name: "upsertAssociatePreference"
- hash: "972c522c6ad0675f13587637cff2dd2ed46937a9878a48a66ad2bc2f7d51a036"
- queryTemplate: "packages/me-at-walmart-athena-queries/src/updateAssociatePrivacyPreference.graphql"
- tags:
- - "v1"
- - name: "upsertManagerExperiencePreference"
- hash: "7306eb6d1608ce5ed0670feb5d02a82a7803f82b9416cb6350d89a2ff2487b8c"
- queryTemplate: "packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql"
- tags:
- - "v1"
+ # - name: "GetTeamsByStore"
+ # hash: "0d9bcce8cdce8831861e22bd66c43d0891aef2304b2bab61e449c5570aa564d2"
+ # queryTemplate: "packages/me-at-walmart-athena-queries/src/getTeamsbyStore.graphql"
+ # tags:
+ # - "v1"
+ # - name: "upsertAssociatePreference"
+ # hash: "972c522c6ad0675f13587637cff2dd2ed46937a9878a48a66ad2bc2f7d51a036"
+ # queryTemplate: "packages/me-at-walmart-athena-queries/src/updateAssociatePrivacyPreference.graphql"
+ # tags:
+ # - "v1"
+ # - name: "upsertManagerExperiencePreference"
+ # hash: "ac327db11b29d56c84ec16501eaaf83d4d70f32eacaf172ca5b24b620b06e605"
+ # queryTemplate: "packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql"
+ # tags:
+ # - "v1"
| Update graphql.yml | Update graphql.yml |
229e4d9782e203bf83a2eafbb3031e01f5f2fa37 | --- .github/pull_request_template.md
@@ -1,12 +0,0 @@
-## Links to JIRA tickets:
-
-## Acceptance Criteria
-
-## Screenshots (if any):
-
-# Checklist
-- [ ] Have you written unit tests for this? If so, add the screenshots for the test coverage
-- [ ] Has this been tested in the core app?
-- [ ] Telemetry Covered? If so, list events (splunk, firebase etc...)
-- [ ] Tested on iOS?
-- [ ] Tested on Android?
\ No newline at end of file
| remove custom instructions | remove custom instructions
|
530934ba1e9115c39fcd5ba9c54efed4e46d7eed | --- src/components/AssociateRosterItem/AssociateRosterItem.tsx
@@ -12,18 +12,13 @@ import {
import namecase from 'namecase';
import {PresenceIndicator} from '../../containers/PresenceIndicator';
import {styles} from './style';
-import {AssociateItemProps} from './types';
+import {AssociateItemProps, StatusColors} from './types';
import {ClockStatus} from '@walmart/redux-store';
import {ABSENT_STATUS} from '../../constants';
export const AssociateRosterItem = React.memo(
({associate, first, last, onText, style}: AssociateItemProps) => {
const clockedIn = associate.punch?.clockStatus !== ClockStatus.clockedOut;
- enum StatusColors {
- ABSENT = 'red',
- TARDY = 'gray',
- CLOCKED_OUT = 'red',
- }
const StatusChip = useMemo(() => {
if (clockedIn) {
return null;
@@ -32,7 +27,6 @@ export const AssociateRosterItem = React.memo(
associate?.absentData?.absenceTypeCode === ABSENT_STATUS.ABSENT;
const tardy =
associate?.absentData?.absenceTypeCode === ABSENT_STATUS.TARDY;
-
//TODO: Internationalize the display text
const statusText = absent ? 'Absent' : tardy ? 'Tardy' : 'Clocked out';
const statusColor = absent
--- src/components/AssociateRosterItem/types.ts
@@ -8,3 +8,9 @@ export type AssociateItemProps = {
onText?: () => void;
style?: StyleProp<ViewStyle>;
};
+
+export enum StatusColors {
+ ABSENT = 'red',
+ TARDY = 'gray',
+ CLOCKED_OUT = 'red',
+}
--- src/queries/getDailyRoster.ts
@@ -3,8 +3,7 @@ import * as Types from './schema.types';
import {gql} from '@walmart/allspark-graphql-client';
import * as ApolloReactCommon from '@walmart/allspark-graphql-client';
import * as ApolloReactHooks from '@walmart/allspark-graphql-client';
-import {ClockStatus} from '@walmart/redux-store';
-import {ABSENT_STATUS} from "../constants";
+import {ABSENT_STATUS} from '../constants';
const defaultOptions = {} as const;
export type GetDailyRosterQueryVariables = Types.Exact<{
countryCode: Types.Scalars['String'];
--- src/components/AssociateRosterItem/AssociateRosterItem.tsx
@@ -12,18 +12,13 @@ import {
import namecase from 'namecase';
import {PresenceIndicator} from '../../containers/PresenceIndicator';
import {styles} from './style';
-import {AssociateItemProps} from './types';
+import {AssociateItemProps, StatusColors} from './types';
import {ClockStatus} from '@walmart/redux-store';
import {ABSENT_STATUS} from '../../constants';
export const AssociateRosterItem = React.memo(
({associate, first, last, onText, style}: AssociateItemProps) => {
const clockedIn = associate.punch?.clockStatus !== ClockStatus.clockedOut;
- enum StatusColors {
- ABSENT = 'red',
- TARDY = 'gray',
- CLOCKED_OUT = 'red',
- }
const StatusChip = useMemo(() => {
if (clockedIn) {
return null;
@@ -32,7 +27,6 @@ export const AssociateRosterItem = React.memo(
associate?.absentData?.absenceTypeCode === ABSENT_STATUS.ABSENT;
const tardy =
associate?.absentData?.absenceTypeCode === ABSENT_STATUS.TARDY;
-
//TODO: Internationalize the display text
const statusText = absent ? 'Absent' : tardy ? 'Tardy' : 'Clocked out';
const statusColor = absent
--- src/components/AssociateRosterItem/types.ts
@@ -8,3 +8,9 @@ export type AssociateItemProps = {
onText?: () => void;
style?: StyleProp<ViewStyle>;
};
+
+export enum StatusColors {
+ ABSENT = 'red',
+ TARDY = 'gray',
+ CLOCKED_OUT = 'red',
+}
--- src/queries/getDailyRoster.ts
@@ -3,8 +3,7 @@ import * as Types from './schema.types';
import {gql} from '@walmart/allspark-graphql-client';
import * as ApolloReactCommon from '@walmart/allspark-graphql-client';
import * as ApolloReactHooks from '@walmart/allspark-graphql-client';
-import {ClockStatus} from '@walmart/redux-store';
-import {ABSENT_STATUS} from "../constants";
+import {ABSENT_STATUS} from '../constants';
const defaultOptions = {} as const;
export type GetDailyRosterQueryVariables = Types.Exact<{
countryCode: Types.Scalars['String'];
| moving status chip color enum to types file | moving status chip color enum to types file
|
d5ee2161c998b73423e6de889d651279be665c5b | --- ios/Podfile.lock
@@ -1994,4 +1994,4 @@ SPEC CHECKSUMS:
PODFILE CHECKSUM: af667f35fa6bf76decf2d6c20cd5a30aeaf85840
-COCOAPODS: 1.12.1
\ No newline at end of file
+COCOAPODS: 1.12.1
| SMDV-5264 - reverted lock file | SMDV-5264 - reverted lock file
|
34f9e950d1dd1c59171bcfc3d1eca173287337ce | --- package-lock.json
@@ -84,7 +84,7 @@
"@walmart/onewalmart-miniapp": "1.0.24",
"@walmart/pay-stub-miniapp": "0.15.2",
"@walmart/payrollsolution_miniapp": "0.140.4",
- "@walmart/price-changes-mini-app": "1.10.9",
+ "@walmart/price-changes-mini-app": "1.10.10",
"@walmart/profile-feature-app": "1.138.3",
"@walmart/react-native-encrypted-storage": "~1.1.3",
"@walmart/react-native-env": "6.0.16",
@@ -12167,16 +12167,16 @@
}
},
"node_modules/@walmart/price-changes-mini-app": {
- "version": "1.10.9",
- "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.10.9.tgz",
- "integrity": "sha512-T+2LNdCRT7+ShATU17OZkUUVw1LflnGY2nnvmCBqqFIYArbm71YMnm7JcOlXkNyVAWmIlNQrAPMLPONfY5dMXg==",
+ "version": "1.10.10",
+ "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.10.10.tgz",
+ "integrity": "sha512-8djiKa3Kdl4aZjYyZhUGrSX0S5ldk/J3zWiDHBk0EId5ifp+kIvgZdqpQjZ7lTxyyXyjpcqZlC9ztEn9ZzX5vw==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
"@react-navigation/stack": "^6.1.0",
"@walmart/allspark-utils": "^1.5.2",
"@walmart/counts-component-miniapp": "0.1.10",
- "@walmart/gtp-shared-components": "2.1.3",
+ "@walmart/gtp-shared-components": "2.2.1-rc.0",
"@walmart/ims-print-services-ui": "2.7.3",
"@walmart/react-native-scanner-3.0": "0.4.2",
"@walmart/redux-store": "3.1.3",
--- package.json
@@ -126,7 +126,7 @@
"@walmart/onewalmart-miniapp": "1.0.24",
"@walmart/pay-stub-miniapp": "0.15.2",
"@walmart/payrollsolution_miniapp": "0.140.4",
- "@walmart/price-changes-mini-app": "1.10.9",
+ "@walmart/price-changes-mini-app": "1.10.10",
"@walmart/profile-feature-app": "1.138.3",
"@walmart/react-native-encrypted-storage": "~1.1.3",
"@walmart/react-native-env": "6.0.16",
@@ -389,7 +389,7 @@
"@walmart/onewalmart-miniapp": "1.0.24",
"@walmart/pay-stub-miniapp": "0.15.2",
"@walmart/payrollsolution_miniapp": "0.140.4",
- "@walmart/price-changes-mini-app": "1.10.9",
+ "@walmart/price-changes-mini-app": "1.10.10",
"@walmart/profile-feature-app": "1.138.3",
"@walmart/react-native-encrypted-storage": "~1.1.3",
"@walmart/react-native-env": "6.0.16",
| chore: Updating PC version for Drop 21 | chore: Updating PC version for Drop 21
|
8f545038dbd591489f7f9000a65ffbd34604c5df | --- patches/@walmart+ask-sam-mini-app+1.3.62.patch
@@ -1,51 +0,0 @@
-diff --git a/node_modules/@walmart/ask-sam-mini-app/dist/components/chat/PushToTalk/index.js b/node_modules/@walmart/ask-sam-mini-app/dist/components/chat/PushToTalk/index.js
-index 1ea54f2..41e9a1a 100644
---- a/node_modules/@walmart/ask-sam-mini-app/dist/components/chat/PushToTalk/index.js
-+++ b/node_modules/@walmart/ask-sam-mini-app/dist/components/chat/PushToTalk/index.js
-@@ -1,7 +1,7 @@
- import React, { useEffect } from 'react';
- import { useDispatch, useSelector } from 'react-redux';
- import { useNavigation } from '@react-navigation/native';
--import { Selectors, Components } from '@walmart/push-to-talk-mini-app';
-+// import { Selectors, Components } from '@walmart/push-to-talk-mini-app';
- import { ChatCard, SystemMessage } from '@walmart/ask-sam-chat-components';
- import { ChatMessageTypes } from '../ChatTypes';
- import { ChatActions } from '../../../redux/Chat';
-@@ -40,8 +40,8 @@ export const PushToTalk = (props) => {
- const modifiedGroup = buildPttGroup(group);
- const modifiedAssociate = buildPttAssociate(associate);
- // Values from PTT state
-- const pttEnabled = useSelector(Selectors.enablePushToTalkFlag);
-- const pttAvailable = true; //useSelector(Selectors.SpeechSelectors.isPTTAvailable);
-+ const pttEnabled = false;
-+ const pttAvailable = false;
- // Is PTT disabled and whats the messaging?
- const pttDisabled = !pttEnabled || !pttAvailable;
- const pttDisabledMessage = !pttEnabled
-@@ -65,17 +65,17 @@ export const PushToTalk = (props) => {
- return () => navigation.removeListener('focus', onConversationEnd);
- }
- }, [conversationOver, pttDisabled]);
-- const RenderContent = () => {
-- if (isLeaveGroup) {
-- return (<Components.ConverseTalkCard associate={modifiedAssociate} group={modifiedGroup} autoOpen={autoOpenPtt} isLeaveGroup={isLeaveGroup}/>);
-- }
-- return (<ChatCard>
-- <Components.ConverseTalkCard associate={modifiedAssociate} group={modifiedGroup} autoOpen={autoOpenPtt} isLeaveGroup={isLeaveGroup}/>
-- </ChatCard>);
-- };
-+ // const RenderContent = () => {
-+ // if (isLeaveGroup) {
-+ // return (<Components.ConverseTalkCard associate={modifiedAssociate} group={modifiedGroup} autoOpen={autoOpenPtt} isLeaveGroup={isLeaveGroup}/>);
-+ // }
-+ // return (<ChatCard>
-+ // <Components.ConverseTalkCard associate={modifiedAssociate} group={modifiedGroup} autoOpen={autoOpenPtt} isLeaveGroup={isLeaveGroup}/>
-+ // </ChatCard>);
-+ // };
- return (<>
- <SystemMessage message={systemMessage}/>
-- <RenderContent />
-+ {/* <RenderContent /> */}
- </>);
- };
- PushToTalk.messageTypes = [
| delete ask sam mini app patch | delete ask sam mini app patch
|
0ec2f7be684cd318ab5016397b5b70a219e785b5 | --- __tests__/biometrics/BiometricModalTest.tsx
@@ -4,6 +4,7 @@ import {useSelector, useDispatch} from 'react-redux';
import {create} from 'react-test-renderer';
import {openSettings} from 'react-native-permissions';
import {LinkButton, PrimaryButton} from '@walmart/gtp-shared-components';
+import WmTelemetry from 'react-native-wm-telemetry';
import {BiometricModal} from '../../src/biometrics/BiometricModal';
import {BiometricActionCreators} from '../../src/biometrics/BiometricRedux';
@@ -31,7 +32,11 @@ describe('BiometricModal', () => {
it('calls goBack on not now', () => {
const NotNowBtn = component.root.findByType(LinkButton);
NotNowBtn.props.onPress();
-
+ expect(WmTelemetry.logEvent).toHaveBeenCalledWith(
+ 'biometrics',
+ 'do_not_open_settings',
+ {},
+ );
expect(mockNavigation.goBack).toHaveBeenCalled();
expect(mockDispatch).toHaveBeenCalledWith(
BiometricActionCreators.skipBiometricSetup(),
--- __tests__/biometrics/BiometricSagasTest.tsx
@@ -1,6 +1,7 @@
import {call, take, put, takeLatest, select} from 'redux-saga/effects';
import Biometrics from 'react-native-biometrics';
import {navigate} from '@walmart/react-native-shared-navigation';
+import WmTelemetry from 'react-native-wm-telemetry';
import {
handleBiometricPrompt,
@@ -47,6 +48,9 @@ describe('handleBiometricPrompt', () => {
expect(iterator.next({success: true}).value).toEqual(
put(BiometricActionCreators.biometricPromptSuccess()),
);
+ expect(iterator.next().value).toEqual(
+ call(WmTelemetry.logEvent, 'biometrics', 'entered_successfully', {}),
+ );
expect(iterator.next().done).toEqual(true);
});
@@ -57,7 +61,10 @@ describe('handleBiometricPrompt', () => {
promptMessage: 'biometric.promptMessage',
}),
);
- expect(iterator.next({success: false}).done).toEqual(true);
+ expect(iterator.next({success: false}).value).toEqual(
+ call(WmTelemetry.logEvent, 'biometrics', 'entered_error', {}),
+ );
+ expect(iterator.next().done).toEqual(true);
});
it('calls expected actions on error', () => {
@@ -144,6 +151,9 @@ describe('promptBiometric', () => {
expect(iterator.next().value).toEqual(call(waitForInteractionManager));
expect(iterator.next().value).toEqual(call(checkBiometricsAvailable));
expect(iterator.next(true).value).toEqual(call(handleBiometricPrompt));
+ expect(iterator.next().value).toEqual(
+ call(WmTelemetry.logEvent, 'biometrics', 'enabled', {}),
+ );
expect(iterator.next().done).toEqual(true);
});
@@ -151,6 +161,9 @@ describe('promptBiometric', () => {
const iterator = promptBiometric();
expect(iterator.next().value).toEqual(call(waitForInteractionManager));
expect(iterator.next().value).toEqual(call(checkBiometricsAvailable));
+ expect(iterator.next().value).toEqual(
+ call(WmTelemetry.logEvent, 'biometrics', 'not_enabled', {}),
+ );
expect(iterator.next(false).done).toEqual(true);
});
});
--- src/biometrics/BiometricModal.tsx
@@ -5,6 +5,7 @@ import {useTranslation} from 'react-i18next';
import {openSettings} from 'react-native-permissions';
import {LinkButton, PrimaryButton} from '@walmart/gtp-shared-components';
+import WmTelemetry from 'react-native-wm-telemetry';
import {Images} from '../images';
import {BiometricActionCreators, getBiometricModalType} from './BiometricRedux';
import styles from './BiometricModalStyle';
@@ -19,6 +20,7 @@ export const BiometricModal: FC<any> = (props) => {
dispatch(BiometricActionCreators.skipBiometricSetup());
const onClose = () => {
+ WmTelemetry.logEvent('biometrics', 'do_not_open_settings', {});
navigation.goBack();
InteractionManager.runAfterInteractions(skipBiometricSetup);
};
--- src/biometrics/BiometricSagas.ts
@@ -3,6 +3,7 @@ import Biometrics from 'react-native-biometrics';
import {navigate} from '@walmart/react-native-shared-navigation';
import i18next from 'i18next';
+import WmTelemetry from 'react-native-wm-telemetry';
import {logger} from '../services/Logger';
import {waitForInteractionManager} from '../redux/SharedSagas';
import {createRestartableSaga} from '../redux/CreateRestartableSagas';
@@ -22,6 +23,14 @@ export function* handleBiometricPrompt() {
if (success) {
yield put(BiometricActionCreators.biometricPromptSuccess());
+ yield call(
+ WmTelemetry.logEvent,
+ 'biometrics',
+ 'entered_successfully',
+ {},
+ );
+ } else {
+ yield call(WmTelemetry.logEvent, 'biometrics', 'entered_error', {});
}
} catch (error) {
yield call(logger.error, 'Error prompting biometric', {
@@ -65,6 +74,9 @@ export function* promptBiometric(): any {
if (available) {
yield call(handleBiometricPrompt);
+ yield call(WmTelemetry.logEvent, 'biometrics', 'enabled', {});
+ } else {
+ yield call(WmTelemetry.logEvent, 'biometrics', 'not_enabled', {});
}
}
| added Firebase Logging | added Firebase Logging
|
10a9be0a82dc1ae914721aaa1daf49024d8fce4a | --- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.2.15",
+ "version": "1.2.16",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/allspark-foundation-hub/src/Container/index.ts
@@ -1,3 +1,4 @@
export * from './AllsparkHubContainer';
export * from './types';
export * from './utils';
+export * from './Redux';
--- packages/allspark-foundation-hub/src/Store/Redux/reducer.ts
@@ -3,7 +3,7 @@ import { createSlice, PayloadAction } from '@reduxjs/toolkit';
import { StoreManagerExperienceState } from './types';
import { FEATURE_ID } from '../../Shared';
-export const INITIAL_STATE: StoreManagerExperienceState = {
+export const STORE_INITIAL_STATE: StoreManagerExperienceState = {
selectedTeamPreference: '',
selectedTeamIDs: [],
selectedShifts: [],
@@ -21,7 +21,7 @@ export const INITIAL_STATE: StoreManagerExperienceState = {
export const storeManagerExperienceSlice = createSlice({
name: FEATURE_ID,
- initialState: INITIAL_STATE,
+ initialState: STORE_INITIAL_STATE,
reducers: {
updateSelectedTeamPreference: (state, action: PayloadAction<string>) => {
state.selectedTeamPreference = action.payload;
| Update the reducer for both Store and Supply Chain | Update the reducer for both Store and Supply Chain
|
7823591b84be51b31619fc093ca9d34a412e336d | --- package-lock.json
@@ -3154,9 +3154,9 @@
}
},
"@walmart/push-to-talk-mini-app": {
- "version": "0.5.9",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.9.tgz",
- "integrity": "sha512-05b/el96GlX889Co0W57ScWiwlIJJNwAMSQAchu0LUCQW0+1BaarohXwu78QE/7pYD4GaQmcxhXWYkCK2JQBLw=="
+ "version": "0.5.10",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.10.tgz",
+ "integrity": "sha512-ENKfPWuEgfER1n71tZeuCH4CXXL7YdEKqiu7L4nL+70BRz/x+LcUSnbokeG1oT47XVzmOgrddfQNKYDQ+Sx9cA=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
--- package.json
@@ -74,7 +74,7 @@
"@walmart/impersonation-mini-app": "1.0.15",
"@walmart/inbox-mini-app": "0.0.94",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/push-to-talk-mini-app": "0.5.9",
+ "@walmart/push-to-talk-mini-app": "0.5.10",
"@walmart/react-native-env": "^0.1.0",
"@walmart/react-native-logger": "^1.25.0",
"@walmart/react-native-shared-navigation": "^0.4.0",
| fix: bumping ptt version (#609) | fix: bumping ptt version (#609)
* fix: bumping ptt version
* chore: pulling from upstream
Co-authored-by: Hitesh Arora - h0a006n <Hitesh.Arora@walmart.com> |
e72253b8f90f7340f6479539328b023d21e01c15 | --- packages/allspark-redux-store/src/index.ts
@@ -13,3 +13,4 @@ export type { GlobalState } from './types';
export * from './types/actions';
export * from './types/data';
export * from './types/reducers';
+export * from './utils';
| fix: export utils | fix: export utils
|
a4d21d2b8e828dbd985e79f7ceebd99321f810b4 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "3.2.0",
+ "version": "3.2.0-alpha.0",
"main": "dist/index.js",
"files": [
"dist",
| chore(ui): update export for widget for mywalmart 2.0 version | chore(ui): update export for widget for mywalmart 2.0 version
|
2ec146e911ee1f839a1972d065dc9ab767fb0ec5 | --- package-lock.json
@@ -49,7 +49,7 @@
"@walmart/config-components": "4.2.16",
"@walmart/copilot-mini-app": "3.42.3",
"@walmart/core-services": "~2.3.0",
- "@walmart/core-services-allspark": "~2.13.5",
+ "@walmart/core-services-allspark": "~2.13.11",
"@walmart/core-utils": "~2.0.5",
"@walmart/core-widget-registry": "~1.2.4",
"@walmart/counts-component-miniapp": "0.1.10",
@@ -8749,16 +8749,16 @@
}
},
"node_modules/@walmart/core-services-allspark": {
- "version": "2.13.5",
- "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-2.13.5.tgz",
- "integrity": "sha512-Q9klrwIv9IGja/Gwqr2/qeTCkXclRKRiMh8jwBXXY1Bqw5o0+AyW4PsB36aHqgKxsBntDcnV1N5KyUDCX28Z/w==",
+ "version": "2.13.11",
+ "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-2.13.11.tgz",
+ "integrity": "sha512-wajAoT6+/F/G65H8ZoYkjFDfRdfxwR5p0mluas7JwTGlCvYiV4zAf04dOEyPwgJk1njFC7Ffn2hECqkD9iHujA==",
"license": "ISC",
"dependencies": {
- "@walmart/allspark-graphql-client": "^1.4.12",
- "@walmart/allspark-http-client": "^2.4.19",
- "@walmart/allspark-utils": "^1.6.5",
- "@walmart/core-services": "^2.3.2",
- "@walmart/me-at-walmart-athena-queries": "^1.7.3",
+ "@walmart/allspark-graphql-client": "^1.4.14",
+ "@walmart/allspark-http-client": "^2.4.21",
+ "@walmart/allspark-utils": "^1.6.7",
+ "@walmart/core-services": "^2.3.4",
+ "@walmart/me-at-walmart-athena-queries": "^1.7.5",
"crypto-js": "~4.1.1",
"jwt-decode": "^3.1.2",
"luxon": "^2.4.0",
@@ -9342,12 +9342,12 @@
}
},
"node_modules/@walmart/me-at-walmart-athena-queries": {
- "version": "1.7.3",
- "resolved": "https://npme.walmart.com/@walmart/me-at-walmart-athena-queries/-/me-at-walmart-athena-queries-1.7.3.tgz",
- "integrity": "sha512-3ioO6FPcVDOxb609WaxlpeaOn4ojiV/htuzzTPKM5ygQb0R58LwdpypVj0oAx7OVHiKidERYWN/952+YGXlqtg==",
+ "version": "1.7.5",
+ "resolved": "https://npme.walmart.com/@walmart/me-at-walmart-athena-queries/-/me-at-walmart-athena-queries-1.7.5.tgz",
+ "integrity": "sha512-Vc4RzQsy2RjgEYN56OcUZPfnF61nBueKzp++AuxGfLzK8zHYojR8Qi+wwMqWeAjoSoqQVT5T5l/VxaEcMcrvBA==",
"license": "ISC",
"dependencies": {
- "@walmart/allspark-graphql-client": "^1.4.12"
+ "@walmart/allspark-graphql-client": "^1.4.14"
}
},
"node_modules/@walmart/metrics-mini-app": {
@@ -33333,15 +33333,15 @@
}
},
"@walmart/core-services-allspark": {
- "version": "2.13.5",
- "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-2.13.5.tgz",
- "integrity": "sha512-Q9klrwIv9IGja/Gwqr2/qeTCkXclRKRiMh8jwBXXY1Bqw5o0+AyW4PsB36aHqgKxsBntDcnV1N5KyUDCX28Z/w==",
+ "version": "2.13.11",
+ "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-2.13.11.tgz",
+ "integrity": "sha512-wajAoT6+/F/G65H8ZoYkjFDfRdfxwR5p0mluas7JwTGlCvYiV4zAf04dOEyPwgJk1njFC7Ffn2hECqkD9iHujA==",
"requires": {
"@walmart/allspark-graphql-client": "^1.4.5",
"@walmart/allspark-http-client": "2.4.21",
"@walmart/allspark-utils": "^1.6.6",
"@walmart/core-services": "~2.3.0",
- "@walmart/me-at-walmart-athena-queries": "^1.7.3",
+ "@walmart/me-at-walmart-athena-queries": "^1.7.5",
"crypto-js": "^3.3.0",
"jwt-decode": "^3.1.2",
"luxon": "^1.28.0",
@@ -33483,9 +33483,9 @@
"integrity": "sha512-d56SQqhlcpvXjWtMXz7NSrsGvoXU2Oae0gl9OiZ6v/3AL0X+AY84wB9TXRXqrp+4/pw+lPv3lbdJaOdN+z5gSg=="
},
"@walmart/me-at-walmart-athena-queries": {
- "version": "1.7.3",
- "resolved": "https://npme.walmart.com/@walmart/me-at-walmart-athena-queries/-/me-at-walmart-athena-queries-1.7.3.tgz",
- "integrity": "sha512-3ioO6FPcVDOxb609WaxlpeaOn4ojiV/htuzzTPKM5ygQb0R58LwdpypVj0oAx7OVHiKidERYWN/952+YGXlqtg==",
+ "version": "1.7.5",
+ "resolved": "https://npme.walmart.com/@walmart/me-at-walmart-athena-queries/-/me-at-walmart-athena-queries-1.7.5.tgz",
+ "integrity": "sha512-Vc4RzQsy2RjgEYN56OcUZPfnF61nBueKzp++AuxGfLzK8zHYojR8Qi+wwMqWeAjoSoqQVT5T5l/VxaEcMcrvBA==",
"requires": {
"@walmart/allspark-graphql-client": "^1.4.5"
}
--- package.json
@@ -90,7 +90,7 @@
"@walmart/config-components": "4.2.16",
"@walmart/copilot-mini-app": "3.42.3",
"@walmart/core-services": "~2.3.0",
- "@walmart/core-services-allspark": "~2.13.5",
+ "@walmart/core-services-allspark": "~2.13.11",
"@walmart/core-utils": "~2.0.5",
"@walmart/core-widget-registry": "~1.2.4",
"@walmart/counts-component-miniapp": "0.1.10",
| anniversary preference fix | anniversary preference fix
|
61b6f5d555ef4730fb6fd6af3ceca7f5b9936353 | --- packages/allspark-foundation/src/Translation/client.ts
@@ -1,10 +1,10 @@
import i18next, { KeyPrefix, TFunction } from 'i18next';
-import { FeatureTranslationResources, TranslationClientOptions } from './types';
import {
UseTranslationOptions,
useTranslation as baseUseTranslation,
} from 'react-i18next';
import { NativeModules, Platform } from 'react-native';
+import { FeatureTranslationResources, TranslationClientOptions } from './types';
/**
* Default configuration for the translation client
@@ -24,10 +24,28 @@ export const DefaultConfig: TranslationClientOptions = {
* that scope translate to a particular namespace
*/
export const TranslationClient = (config?: TranslationClientOptions) => {
- const _instance = i18next;
+ // Default global instance
+ i18next.init(config || DefaultConfig);
+ const _instance = i18next.cloneInstance();
let initialized = false;
let _config = config;
+ i18next.on('initialized', (options) => {
+ if (options.defaultNS !== 'container') {
+ i18next.setDefaultNamespace('container');
+ }
+
+ i18next.store.off('added');
+ i18next.store.on('added', (lng, ns) => {
+ if (!_instance.hasResourceBundle(lng, ns)) {
+ const bundle = i18next.getResourceBundle(lng, ns);
+ if (bundle) {
+ _instance.addResourceBundle(lng, ns, bundle);
+ }
+ }
+ });
+ });
+
/**
* Returns true if the translation client has been initialized
*/
@@ -41,7 +59,7 @@ export const TranslationClient = (config?: TranslationClientOptions) => {
Object.assign(_instance.options, restOptions);
_config = _instance.options as TranslationClientOptions;
- await _instance.init(config || {});
+ await _instance.init(_config || DefaultConfig);
initialized = true;
if (resources) {
--- packages/allspark-foundation/src/Translation/provider.tsx
@@ -20,7 +20,7 @@ export const TranslationProvider = (
const preRender = async () => {
if (options) {
const _options = await AllsparkEnvironment.resolveDerivedValue(options);
- AllsparkTranslationClient.initialize(_options);
+ await AllsparkTranslationClient.initialize(_options);
}
};
| fix: i18n instance of translation client was not guarded again reinitialization. cloned instance was not kept in sync with default | fix: i18n instance of translation client was not guarded again reinitialization. cloned instance was not kept in sync with default
|
551cf7bb4521a15608421181560f726957d7d53d | --- __tests__/navigation/AssociateHallwayNav/MainStackNavTest.tsx
@@ -49,6 +49,15 @@ jest.mock('../../../src/navigation/AssociateHallwayNav/Tabs', () => ({
getTabsScreenOptions: () => ({}),
}));
+jest.mock('@walmart/me-field-mini-app', () => {
+ return {
+ __esModule: true,
+ default: jest.fn(() => ({
+ LearningMiniApp: <></>,
+ })),
+ };
+});
+
describe('AssociateHallwayNav', () => {
it('matches snapshot; handles mount and unmount effects', () => {
let component: ReactTestRenderer;
--- __tests__/navigation/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap
@@ -147,6 +147,15 @@ Array [
component="DialogScreen"
name="PttTalkDialog"
/>
+ <Screen
+ component={[MockFunction]}
+ name="me-field-mini-app"
+ options={
+ Object {
+ "headerShown": false,
+ }
+ }
+ />
<Screen
component="DndConfirmationScreen"
name="PTTDndConfirmation"
--- metro.config.js
@@ -5,16 +5,27 @@
* @format
*/
-module.exports = {
- transformer: {
- getTransformOptions: async () => ({
- transform: {
- experimentalImportSupport: false,
- inlineRequires: false,
- },
- }),
- },
- resolver: {
- useWatchman: !process.env.CI,
- },
-};
+const {getDefaultConfig} = require('metro-config');
+
+module.exports = (async () => {
+ const {
+ resolver: {sourceExts, assetExts},
+ } = await getDefaultConfig();
+
+ return {
+ transformer: {
+ getTransformOptions: async () => ({
+ transform: {
+ experimentalImportSupport: false,
+ inlineRequires: false,
+ },
+ }),
+ babelTransformerPath: require.resolve('react-native-svg-transformer'),
+ },
+ resolver: {
+ assetExts: assetExts.filter((ext) => ext !== 'svg'),
+ sourceExts: [...sourceExts, 'svg'],
+ useWatchman: !process.env.CI,
+ },
+ };
+})();
--- package.json
@@ -89,6 +89,7 @@
"@walmart/inbox-mini-app": "0.40.0",
"@walmart/iteminfo-mini-app": "4.2.3",
"@walmart/manager-approvals-miniapp": "0.0.60",
+ "@walmart/me-field-mini-app": "1.1.8",
"@walmart/metrics-mini-app": "0.8.1",
"@walmart/moment-walmart": "1.0.4",
"@walmart/payrollsolution_miniapp": "^0.123.2",
@@ -161,6 +162,7 @@
"react-native-sound-player": "0.10.9",
"react-native-splash-screen": "^3.2.0",
"react-native-svg": "^12.1.0",
+ "react-native-svg-transformer": "^1.0.0",
"react-native-tab-view": "^3.1.1",
"react-native-table-component": "^1.2.1",
"react-native-typing-animation": "^0.1.7",
--- src/navigation/AssociateHallwayNav/MainStackNav.tsx
@@ -33,7 +33,7 @@ import {PinAccess} from '../../PinAccess/PinAccess';
import {ChangeStoreModal} from '../../changeStore/ChangeStoreModal';
import {StoreInfoModal} from '../../storeInfo/StoreInfoModal';
import {useAssociateStartup} from '../../startup/AssociateStartup';
-
+import LearningApp from '@walmart/me-field-mini-app';
import {
modalTransitionOptions,
pinModalTransitionOptions,
@@ -189,7 +189,11 @@ export const MainStackNav = () => {
name='PttTalkDialog'
component={Components.DialogScreen}
/>
-
+ <MainStack.Screen
+ name='me-field-mini-app'
+ component={LearningApp}
+ options={{headerShown: false}}
+ />
<MainStack.Screen
name='PTTDndConfirmation'
component={Components.DndConfirmationScreen}
| learning mini app integration | learning mini app integration
|
91c136849dfc3b2a70fd7bada251c78af733f668 | --- packages/celebration-mini-app-graphql/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.17.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.16.0...@walmart/celebration-mini-app-graphql@1.17.0) (2025-11-11)
+
+### Features
+
+- **ui:** update package versions ([c6fc154](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/c6fc15493feb0b42837e85b824fea0162b2d5b37))
+
# [1.16.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.15.0...@walmart/celebration-mini-app-graphql@1.16.0) (2025-11-10)
### Features
--- packages/celebration-mini-app-graphql/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app-graphql",
- "version": "1.16.0",
+ "version": "1.17.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/celebration-mini-app/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.25.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.24.2...@walmart/celebration-mini-app@1.25.0) (2025-11-11)
+
+### Features
+
+- **ui:** update package versions ([c6fc154](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/c6fc15493feb0b42837e85b824fea0162b2d5b37))
+- **ui:** update widget boundary ([3bee65c](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/3bee65ca394a730c2facf36e94e361b93561c3a2))
+- **ui:** update widget boundary ([139bbdf](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/139bbdfc1e8cf30e375b0b2f7be76b1f43d8a80c))
+
## [1.24.2](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.24.1...@walmart/celebration-mini-app@1.24.2) (2025-11-10)
### Bug Fixes
--- packages/celebration-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app",
- "version": "1.24.2",
+ "version": "1.25.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/celebration-mini-app@1.25.0
- @walmart/celebration-mini-app-graphql@1.17.0
|
9f65b66be4fb7222822354ed74641ed3b6edf59a | --- targets/US/package.json
@@ -110,7 +110,7 @@
"@walmart/ims-print-services-ui": "2.15.3",
"@walmart/inbox-mini-app": "0.96.6",
"@walmart/iteminfo-mini-app": "7.16.2",
- "@walmart/learning-mini-app": "20.0.35",
+ "@walmart/learning-mini-app": "20.0.36",
"@walmart/manager-approvals-miniapp": "0.3.0",
"@walmart/me-at-walmart-athena-queries": "6.26.1",
"@walmart/me-at-walmart-common": "workspace:^",
--- yarn.lock
@@ -6587,9 +6587,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/learning-mini-app@npm:20.0.35":
- version: 20.0.35
- resolution: "@walmart/learning-mini-app@npm:20.0.35"
+"@walmart/learning-mini-app@npm:20.0.36":
+ version: 20.0.36
+ resolution: "@walmart/learning-mini-app@npm:20.0.36"
peerDependencies:
"@atmt/feedback-component-native": ^8.0.0
"@react-native-firebase/analytics": 17.4.2
@@ -6663,7 +6663,7 @@ __metadata:
reduxsauce: ^1.2.0
reselect: ^4.0.0
wifi-store-locator: ^1.0.0-alpha2
- checksum: 10c0/bdd628becd3b89e7074a92f52dd7d98e7befcbb2b484af66ec5a43646efbce77fd4cb05143aba294ea9d85fda594e4dbb50faee236271122611dd398442fd112
+ checksum: 10c0/706b6ff258a4b7638224134633b5d3252408af422d44ff3a1b66be45e093cce98b249f173fec9cc39dd0e81315a76aab647ae277db28efd9437ccdf2630e3ddd
languageName: node
linkType: hard
@@ -7026,7 +7026,7 @@ __metadata:
"@walmart/ims-print-services-ui": "npm:2.15.3"
"@walmart/inbox-mini-app": "npm:0.96.6"
"@walmart/iteminfo-mini-app": "npm:7.16.2"
- "@walmart/learning-mini-app": "npm:20.0.35"
+ "@walmart/learning-mini-app": "npm:20.0.36"
"@walmart/manager-approvals-miniapp": "npm:0.3.0"
"@walmart/me-at-walmart-athena-queries": "npm:6.26.1"
"@walmart/me-at-walmart-common": "workspace:^"
| feat: :sparkles: Bump learning mini app version to 20.0.35 | feat: :sparkles: Bump learning mini app version to 20.0.35
|
5b1e11a71b16b0e44d440c4c883071dd80fbc240 | --- src/codeOfConduct/service.ts
@@ -23,7 +23,10 @@ export const getCodeOfConductData = async (userId: string) => {
Accept: 'application/json, text/plain, */*',
},
});
- return response.data.codeOfConduct.isAcknowledged;
+ if (response.data?.errorDescription) {
+ throw new Error(response.data.errorDescription);
+ }
+ return response?.data?.codeOfConduct?.isAcknowledged;
// setIsAcknowledged(false); // to test
} catch (e) {
const err = e as Error;
| fix(ui): adding code of conduct error fix | fix(ui): adding code of conduct error fix
|
0284cb639e94956e4f49e1829f21c5aeb6a3d9d8 | --- .looper.multibranch.yml
@@ -295,7 +295,7 @@ flows:
- call: increment-version-code
- node(label=$LOOPER_NODES, ws="exclusive"):
- parallel(failsafe):
-# - call: build-native(ios)
+ - call: build-native(ios)
- call: build-native(android)
- call: run-sonar-analysis
- call: publish-to-hygieia
| Update .looper.multibranch.yml | Update .looper.multibranch.yml
|
846f128617b8a870cbc3675fcad975d7418ae036 | --- .yarn/patches/react-native-npm-0.73.7-7f2047866d.patch
Binary files a/.yarn/patches/react-native-npm-0.73.7-7f2047866d.patch and b/.yarn/patches/react-native-npm-0.73.7-7f2047866d.patch differ
--- package.json
@@ -424,7 +424,7 @@
"react": "18.2.0",
"react-hook-form": "^7.51.0",
"react-i18next": "^13.3.1",
- "react-native": "patch:react-native@npm%3A0.73.7#~/.yarn/patches/react-native-npm-0.73.7-7f2047866d.patch",
+ "react-native": "0.73.7",
"react-native-app-auth": "^6.4.3",
"react-native-audio-recorder-player": "^3.6.7",
"react-native-background-timer": "^2.4.1",
--- yarn.lock
@@ -18677,56 +18677,6 @@ __metadata:
languageName: node
linkType: hard
-"react-native@patch:react-native@npm%3A0.73.7#~/.yarn/patches/react-native-npm-0.73.7-7f2047866d.patch":
- version: 0.73.7
- resolution: "react-native@patch:react-native@npm%3A0.73.7#~/.yarn/patches/react-native-npm-0.73.7-7f2047866d.patch::version=0.73.7&hash=c8c011"
- dependencies:
- "@jest/create-cache-key-function": "npm:^29.6.3"
- "@react-native-community/cli": "npm:12.3.6"
- "@react-native-community/cli-platform-android": "npm:12.3.6"
- "@react-native-community/cli-platform-ios": "npm:12.3.6"
- "@react-native/assets-registry": "npm:0.73.1"
- "@react-native/codegen": "npm:0.73.3"
- "@react-native/community-cli-plugin": "npm:0.73.17"
- "@react-native/gradle-plugin": "npm:0.73.4"
- "@react-native/js-polyfills": "npm:0.73.1"
- "@react-native/normalize-colors": "npm:0.73.2"
- "@react-native/virtualized-lists": "npm:0.73.4"
- abort-controller: "npm:^3.0.0"
- anser: "npm:^1.4.9"
- ansi-regex: "npm:^5.0.0"
- base64-js: "npm:^1.5.1"
- chalk: "npm:^4.0.0"
- deprecated-react-native-prop-types: "npm:^5.0.0"
- event-target-shim: "npm:^5.0.1"
- flow-enums-runtime: "npm:^0.0.6"
- invariant: "npm:^2.2.4"
- jest-environment-node: "npm:^29.6.3"
- jsc-android: "npm:^250231.0.0"
- memoize-one: "npm:^5.0.0"
- metro-runtime: "npm:^0.80.3"
- metro-source-map: "npm:^0.80.3"
- mkdirp: "npm:^0.5.1"
- nullthrows: "npm:^1.1.1"
- pretty-format: "npm:^26.5.2"
- promise: "npm:^8.3.0"
- react-devtools-core: "npm:^4.27.7"
- react-refresh: "npm:^0.14.0"
- react-shallow-renderer: "npm:^16.15.0"
- regenerator-runtime: "npm:^0.13.2"
- scheduler: "npm:0.24.0-canary-efb381bbf-20230505"
- stacktrace-parser: "npm:^0.1.10"
- whatwg-fetch: "npm:^3.0.0"
- ws: "npm:^6.2.2"
- yargs: "npm:^17.6.2"
- peerDependencies:
- react: 18.2.0
- bin:
- react-native: cli.js
- checksum: 10c0/62c46e97f1ec5766577d25e30d8318b817b29940be400e71ddc2e4b749d6863923106151cee2dde21501814fa47e63199f9b6e5f4b2ab39f402ac0614073daf0
- languageName: node
- linkType: hard
-
"react-query@npm:^3.26.0":
version: 3.39.3
resolution: "react-query@npm:3.39.3"
| chore: fix react native patch | chore: fix react native patch
|
6f8164becdfa6cd04e2e29bea52e8e956a660ef0 | --- README.md
@@ -34,7 +34,7 @@ Utils library for Allspark framework.
<br>
## Me@Walmart
-Me@Walmart is primary app using and contributing to the Allspark framework.
+Me@Walmart is primary app using and contributing to the Allspark framework. That app is maintained [here](https://gecgithub01.walmart.com/allspark/allspark-core)
### Me@Walmart Packages
| Update README.md | Update README.md |
3bffb0e2fac20bc132b5637ab2c7f8e6dbee0a3d | --- package.json
@@ -97,7 +97,7 @@
"@walmart/react-native-shared-navigation": "6.1.4",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "3.7.0",
- "@walmart/roster-mini-app": "2.8.2",
+ "@walmart/roster-mini-app": "2.8.3",
"@walmart/ui-components": "1.15.1",
"@walmart/wmconnect-mini-app": "2.5.4",
"babel-jest": "^29.2.1",
--- yarn.lock
@@ -6276,7 +6276,7 @@ __metadata:
"@walmart/react-native-shared-navigation": "npm:6.1.4"
"@walmart/react-native-sumo-sdk": "npm:2.6.0"
"@walmart/redux-store": "npm:3.7.0"
- "@walmart/roster-mini-app": "npm:2.8.2"
+ "@walmart/roster-mini-app": "npm:2.8.3"
"@walmart/ui-components": "npm:1.15.1"
"@walmart/wmconnect-mini-app": "npm:2.5.4"
babel-jest: "npm:^29.2.1"
@@ -6458,9 +6458,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:2.8.2":
- version: 2.8.2
- resolution: "@walmart/roster-mini-app@npm:2.8.2"
+"@walmart/roster-mini-app@npm:2.8.3":
+ version: 2.8.3
+ resolution: "@walmart/roster-mini-app@npm:2.8.3"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6502,7 +6502,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/3a787b4eff1d373d1558eb8c274aa87dd67d65a3a6f830f74981e4b4b6d560119308f3b1a0e8843a212c20f06525d59663afdca3f2d9034a3a14e34688e01553
+ checksum: 10c0/e1fbac2473dc447dca641b86db220f98e8f18c94aac7040f3a10f4d4b3661e6ecc666cba25ba8f6d6907536e503ccaa1e9658fe925626bca11cc011a55a9e78c
languageName: node
linkType: hard
| chore(ui): bumped roster version | chore(ui): bumped roster version
|
2729ea716bd6c7a5268fd497c533eac69124f83e | --- __tests__/containers/ChatInput/MeteringVisualization.test.tsx
@@ -75,10 +75,10 @@ describe('MeteringAnimation', () => {
const meteringAnimation = render(
<MeteringAnimation metering={metering} isSpeaking={false} />,
);
-
+
// Should not render ScrollView with testID meterScrollView
expect(meteringAnimation.queryByTestId('meterScrollView')).toBeNull();
-
+
// Snapshot should show dots instead of bars
expect(meteringAnimation).toMatchSnapshot();
});
@@ -88,10 +88,10 @@ describe('MeteringAnimation', () => {
const meteringAnimation = render(
<MeteringAnimation metering={metering} isSpeaking={true} />,
);
-
+
// Should render ScrollView with testID meterScrollView
expect(meteringAnimation.getByTestId('meterScrollView')).toBeTruthy();
-
+
// Snapshot should show bars
expect(meteringAnimation).toMatchSnapshot();
});
--- src/containers/ChatInput/AudioRecording.tsx
@@ -61,11 +61,11 @@ export const AudioRecording = (props: {
useEffect(() => {
const secs = Math.round(recorderState.durationMillis / 1000);
const currentMetering = recorderState.metering || 0;
-
+
// Detect if user is speaking based on metering threshold
const speaking = currentMetering > SPEECH_THRESHOLD;
setIsSpeaking(speaking);
-
+
setRecordingDetails(prev => ({
secs,
time: `00:${secs.toString().padStart(2, '0')}`,
| feat(ui): update the voice recording animation | feat(ui): update the voice recording animation
|
997d1034d12fb78f765612876cb39a9e246d6c37 | --- graphql.yml
@@ -57,36 +57,36 @@ applications:
queryTemplate: 'src/queries/upsertAssociateTextPreference.graphql'
tags:
- 'v1'
- # - name: 'prod'
- # persistedQueries:
- # - name: 'GetAssociateClockStatus'
- # hash: 'b4080db4f80721f28469fdce6584ae8afe567ee4c200d77b6889912ec1c0d214'
- # queryTemplate: 'src/queries/getAssociateClockStatus.graphql'
- # tags:
- # - 'v1'
- # - name: 'GetAssociateName'
- # hash: 'f82efac63c0d36b80c7bc2a20ea4dfd6d8f970491fb373e8e0c61764dea2360f'
- # queryTemplate: 'src/queries/getAssociateName.graphql'
- # tags:
- # - 'v1'
- # - name: 'GetDailyRoster'
- # hash: '3c6a1553234da438299662b03db04cc613b52ca997efb511ac76d5eff118a4bf'
- # queryTemplate: 'src/queries/getDailyRoster.graphql'
- # tags:
- # - 'v2'
- # - 'Drop13'
- # - name: 'GetTeamById'
- # hash: '5a1baf2e68d6b2c9ddec825296731ccd2137a9e7f12d1f7210ca797814bb3e3f'
- # queryTemplate: 'src/queries/getTeamById.graphql'
- # tags:
- # - 'v1'
- # - name: 'GetTeamsByStore'
- # hash: '0d9bcce8cdce8831861e22bd66c43d0891aef2304b2bab61e449c5570aa564d2'
- # queryTemplate: 'src/queries/getTeamsbyStore.graphql'
- # tags:
- # - 'v1'
- # - name: 'upsertAssociateTextPreferences'
- # hash: 'c32767303508d355e17b8489f8ecd28ec16a22ea3c454f9347ae96c9aefbec3b'
- # queryTemplate: 'src/queries/upsertAssociateTextPreference.graphql'
- # tags:
- # - 'v1'
+ - name: 'prod'
+ persistedQueries:
+ - name: 'GetAssociateClockStatus'
+ hash: 'b4080db4f80721f28469fdce6584ae8afe567ee4c200d77b6889912ec1c0d214'
+ queryTemplate: 'src/queries/getAssociateClockStatus.graphql'
+ tags:
+ - 'v1'
+ - name: 'GetAssociateName'
+ hash: 'f82efac63c0d36b80c7bc2a20ea4dfd6d8f970491fb373e8e0c61764dea2360f'
+ queryTemplate: 'src/queries/getAssociateName.graphql'
+ tags:
+ - 'v1'
+ - name: 'GetDailyRoster'
+ hash: '3c6a1553234da438299662b03db04cc613b52ca997efb511ac76d5eff118a4bf'
+ queryTemplate: 'src/queries/getDailyRoster.graphql'
+ tags:
+ - 'v2'
+ - 'Drop13'
+ - name: 'GetTeamById'
+ hash: '5a1baf2e68d6b2c9ddec825296731ccd2137a9e7f12d1f7210ca797814bb3e3f'
+ queryTemplate: 'src/queries/getTeamById.graphql'
+ tags:
+ - 'v1'
+ - name: 'GetTeamsByStore'
+ hash: '0d9bcce8cdce8831861e22bd66c43d0891aef2304b2bab61e449c5570aa564d2'
+ queryTemplate: 'src/queries/getTeamsbyStore.graphql'
+ tags:
+ - 'v1'
+ - name: 'upsertAssociateTextPreferences'
+ hash: 'c32767303508d355e17b8489f8ecd28ec16a22ea3c454f9347ae96c9aefbec3b'
+ queryTemplate: 'src/queries/upsertAssociateTextPreference.graphql'
+ tags:
+ - 'v1'
| athena prod migration | athena prod migration
|
e6cd19d9017d7645708f0305203cd5ebfd86b18b | --- core/__tests__/startup/AppFlowTest.ts
@@ -87,7 +87,6 @@ describe('captureMissedMiniAppEvents', () => {
put({
...signInAction,
user: getUserAction.payload,
- payload: getUserAction.payload,
deprecated: true,
}),
]),
--- core/src/startup/AppFlow.ts
@@ -62,7 +62,6 @@ export function* captureMissedMiniAppEvents(): any {
put({
...signInAction,
user: getUserAction.payload,
- payload: getUserAction.payload,
deprecated: true,
}),
]);
| fix: sign in redispatch overriding auth state | fix: sign in redispatch overriding auth state
|
4a5126a750b3f8389e12e395d4c1eb50c85b62b4 | --- package-lock.json
@@ -102,7 +102,7 @@
"@walmart/schedule-mini-app": "0.105.0",
"@walmart/shelfavailability-mini-app": "1.5.23",
"@walmart/store-feature-orders": "1.26.7",
- "@walmart/taskit-mini-app": "2.81.14",
+ "@walmart/taskit-mini-app": "2.81.15",
"@walmart/time-clock-mini-app": "2.338.1",
"@walmart/topstock-mini-app": "1.9.7",
"@walmart/ui-components": "1.15.11",
@@ -12548,9 +12548,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "2.81.14",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.81.14.tgz",
- "integrity": "sha512-hmwWQAQyHVMIhU0VhEz8lgPEw4TKLoy8+lENP4bO3XtEi+vp+PZUh333mAyjMCOZSHr6ZP1HMwmBXIDAUjtfUA==",
+ "version": "2.81.15",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.81.15.tgz",
+ "integrity": "sha512-m8gkOn+YbFc9XSfJcYQOWmGb5cGhv4jcpdCnNei2FB7YLCCwagjhs6/WlibsVWTBJDl7Vsrsx0D9d9PuHrt8Xw==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
--- package.json
@@ -144,7 +144,7 @@
"@walmart/schedule-mini-app": "0.105.0",
"@walmart/shelfavailability-mini-app": "1.5.23",
"@walmart/store-feature-orders": "1.26.7",
- "@walmart/taskit-mini-app": "2.81.14",
+ "@walmart/taskit-mini-app": "2.81.15",
"@walmart/time-clock-mini-app": "2.338.1",
"@walmart/topstock-mini-app": "1.9.7",
"@walmart/ui-components": "1.15.11",
@@ -405,7 +405,7 @@
"@walmart/schedule-mini-app": "0.105.0",
"@walmart/shelfavailability-mini-app": "1.5.23",
"@walmart/store-feature-orders": "1.26.7",
- "@walmart/taskit-mini-app": "2.81.14",
+ "@walmart/taskit-mini-app": "2.81.15",
"@walmart/time-clock-mini-app": "2.338.1",
"@walmart/topstock-mini-app": "1.9.7",
"@walmart/ui-components": "1.15.11",
| chore: bump taskit@2.81.15 | chore: bump taskit@2.81.15
|
ccf89148c6c6d1f8437ebd1e37c8605f23850fb7 | --- packages/core-services-allspark/src/index.tsx
@@ -1,8 +1,11 @@
+import React, { PropsWithChildren, useMemo } from 'react';
import { MeAtWalmartContainer } from '@walmart/me-at-walmart-container';
// Imports needed for TS errors
// The inferred type of X cannot be named without a reference to '...'. This is likely not portable. A type annotation is necessary.
import '@walmart/allspark-foundation/Container';
import '@walmart/allspark-foundation/Feature';
+import { LegacyEnvConfig } from './types';
+import { transformLegacyEnv } from './utils';
/**
* @deprecated use `MeAtWalmartContainer` from "@walmart/me-at-walmart-container" to
@@ -23,4 +26,16 @@ export const AllsparkIngredients = MeAtWalmartContainer.config.services;
* @example
* import {MeAtWalmartProvider} from '@walmart/allspark-foundation';
*/
-export const AllsparkCoreServices = MeAtWalmartContainer.Provider;
+export const AllsparkCoreServices = (
+ props: PropsWithChildren<{ recipe: { env: LegacyEnvConfig } }>
+) => {
+ const { children, recipe } = props;
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ const env = useMemo(() => transformLegacyEnv(recipe.env), []);
+
+ return (
+ <MeAtWalmartContainer.Provider env={env.env} environmentOverrides={env}>
+ {children}
+ </MeAtWalmartContainer.Provider>
+ );
+};
--- packages/core-services-allspark/src/types.ts
@@ -0,0 +1,33 @@
+import { OpenIdConfig } from '@walmart/me-at-walmart-common';
+
+export type LegacyEnvConfig = {
+ env: 'dev' | 'teflon' | 'stage' | 'prod';
+ compositeAppName: string;
+ deployment: 'dev' | 'teflon' | 'stage' | 'prod' | 'beta';
+ appConsumerId: string;
+ consumerId: string;
+ internalTestUrl: string;
+ internalUrl: string;
+ externalUrl: string;
+ bffService: string;
+ athena: {
+ url: string;
+ headers: { [key: string]: string };
+ persistedQueries?: boolean;
+ };
+ splunk: {
+ url: string;
+ index: string;
+ format?: 'json';
+ };
+ logLevel?: 'debug' | 'info' | 'warn' | 'error';
+ sumoOptions: {
+ appUUID: string;
+ consumerId: string;
+ authToken?: string;
+ environment: 'DEV' | 'STAGE' | 'PROD' | 'EXTSTAGE' | 'EXTPROD';
+ isCorporateDevice?: boolean;
+ };
+ associateAuthConfig: OpenIdConfig;
+ candidateAuthConfig: OpenIdConfig;
+};
--- packages/core-services-allspark/src/utils.ts
@@ -0,0 +1,43 @@
+import { IMeAtWalmartEnvironment } from '@walmart/me-at-walmart-common';
+import { LegacyEnvConfig } from './types';
+import { EnvironmentType } from '@walmart/allspark-foundation/Environment';
+
+/**
+ * Transforms the legacy environment configuration to the new environment configuration.
+ */
+export const transformLegacyEnv = (
+ env: LegacyEnvConfig
+): IMeAtWalmartEnvironment => {
+ return {
+ ...env,
+ env: env.env as EnvironmentType,
+ containerName: 'Me@Walmart',
+ deployment: env.env as EnvironmentType,
+ auth: {
+ associate: env.associateAuthConfig,
+ candidate: env.candidateAuthConfig,
+ },
+ http: {
+ consumerId: env.consumerId,
+ internalUrl: env.internalUrl,
+ externalUrl: env.externalUrl,
+ bffService: env.bffService,
+ },
+ graphql: {
+ persistedQueries: false,
+ ...env.athena,
+ },
+ logger: {
+ ...env.splunk,
+ logLevel: env.logLevel,
+ },
+ network: {
+ internalTestURL: env.internalTestUrl,
+ },
+ notification: env.sumoOptions,
+ // @ts-ignore
+ rbacAppId: env.rbacAppId,
+ // @ts-ignore
+ rmaMegaNavId: env.rmaMegaNavId,
+ };
+};
| fix: legacy core services provider not translating old props to new format | fix: legacy core services provider not translating old props to new format
|
7da3e028161dd01fdd705ed5c30159d4d7fda26e | --- package.json
@@ -109,7 +109,7 @@
"@walmart/impersonation-mini-app": "1.20.8",
"@walmart/ims-print-services-ui": "2.9.1",
"@walmart/inbox-mini-app": "0.91.6",
- "@walmart/iteminfo-mini-app": "7.10.3",
+ "@walmart/iteminfo-mini-app": "7.10.5",
"@walmart/learning-mini-app": "18.0.5",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-at-walmart-athena-queries": "6.0.2",
| Updated the item info package version 7.10.3 -> 7.10.5 | Updated the item info package version 7.10.3 -> 7.10.5
|
3dcb609d0b24d81c66365bcba7bb7acd0ee310b1 | --- packages/allspark-foundation/src/HubFeature/Hub/Container/AllsparkHubContainer.tsx
@@ -16,10 +16,13 @@ import { enUS, esMX } from '../../translation';
import { useUserPreferences } from '../../Hooks/useUserPreferences';
import { ScrollView } from 'react-native';
import { FEATURE_ID } from '../../constant';
-import { TeamSelection } from '../../Onboarding/TeamSelection';
export const managerExperienceFeature = new AllsparkFeatureModule(FEATURE_ID, {
name: FEATURE_ID,
+ translations: {
+ 'en-US': enUS,
+ 'es-MX': esMX,
+ },
});
export class AllsparkHubContainer {
@@ -27,24 +30,11 @@ export class AllsparkHubContainer {
private widgetCCMConfigs = {} || widgetCCMData.teamWidgetMapping;
private validWidgets: ValidatedTeamWidgetMapping = {};
private allowedWidgets: LayoutConfig = [];
- constructor() {}
+ constructor() {
+ managerExperienceFeature.connect();
+ }
public create = (name: string, ccmNamespace: string): this => {
- new AllsparkFeatureModule(FEATURE_ID, {
- translations: {
- 'en-US': enUS,
- 'es-MX': esMX,
- },
- screens: {
- 'managerExperience.teamSelection': {
- getComponent: () => TeamSelection,
- },
- 'managerExperience.hubContainer': {
- getComponent: () => this.render,
- },
- },
- name: FEATURE_ID,
- }).connect();
this.AllsparkWidgetContainer = AllsparkComponentContainers.create(name);
const getCCMConfig =
ConfigSelectors.createFeatureConfigSelector(ccmNamespace);
| feat(ui): update translation | feat(ui): update translation
|
631e66a9f9802635b2f014fbeb2e8edd790668dd | --- package.json
@@ -40,6 +40,7 @@
"projConfig:dev": "npm run iosConfig:dev && npm run androidConfig:dev",
"projConfig:prod": "npm run iosConfig:prod && npm run androidConfig:prod",
"projConfig:teflon": "npm run iosConfig:teflon && npm run androidConfig:teflon",
+ "solidarity": "solidarity",
"start": "react-native start",
"test": "cp env.dev.js env.js && jest",
"update:major": "npm version major --no-git-tag-version",
| added missing script | added missing script
|
bc961c61bd558d38f4e27f6adf1af82913199c06 | --- package-lock.json
@@ -5612,9 +5612,9 @@
"integrity": "sha512-+2MW/LQi8PqCiPpJXBs2uvhOa4mMKwHcjp3m4XpA8fVtndQLd76C0FivBSqOvAZgBoQc1DYRbVMdqM9nkCdy6Q=="
},
"@walmart/taskit-mini-app": {
- "version": "0.34.5-beta.5",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.34.5-beta.5.tgz",
- "integrity": "sha512-y7KHKakPPCMfaGWVO6ESSo8UDIpW/XPewxNzKrL3QeTLm2dk1s+PrOpoDp8iso6ulDbWq+Q/ya5LMOk5fVNccQ=="
+ "version": "0.34.5-beta.6",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.34.5-beta.6.tgz",
+ "integrity": "sha512-dVaGy566OSHkVMpw4zwO74HWfJrYZt8JXWMHM50Q/k/BkMIED2nOBl6y4mqmIZwU5ui/+fCeU9jgwwyqxhNLSA=="
},
"@walmart/tcnumber": {
"version": "2.3.1",
--- package.json
@@ -120,7 +120,7 @@
"@walmart/schedule-mini-app": "0.25.0",
"@walmart/settings-mini-app": "1.9.0",
"@walmart/shelfavailability-mini-app": "1.2.4",
- "@walmart/taskit-mini-app": "0.34.5-beta.5",
+ "@walmart/taskit-mini-app": "0.34.5-beta.6",
"@walmart/time-clock-mini-app": "0.22.0",
"@walmart/ui-components": "1.5.0-rc.1",
"@walmart/welcomeme-mini-app": "0.71.0",
| update taskit version | update taskit version
|
45efb0e7c75879f531a151affde723aa4ee542e1 | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Images/images.tsx
@@ -112,4 +112,9 @@ export const Images: Record<
uri: 'https://i5-me.walmartimages.com/images/supplychain/total-site-2dc1bfe083.png',
blurhash: 'KoMu9IkD~pXUa}sj_1j@Mx',
},
+ 'total': {
+ teamName: 'Total site',
+ uri: 'https://i5-me.walmartimages.com/images/supplychain/total-site-2dc1bfe083.png',
+ blurhash: 'KoMu9IkD~pXUa}sj_1j@Mx',
+ },
};
| Adding total image | Adding total image
|
9f1c6f7c7de6e2c656a47e1150babc67bcfd08d8 | --- app.config.US.ts
@@ -116,7 +116,10 @@ const CONFIG: ExpoConfig = {
// Abstract to specific plugin as needed
infoPlist: {
FirebaseAutomaticScreenReportingEnabled: false,
- GroupIdentifier: 'group.com.walmart',
+ GroupIdentifier: AppVariant.select({
+ prod: 'group.com.walmart.sumo.appstore',
+ default: 'group.com.walmart',
+ }),
NSMicrophoneUsageDescription:
'Allow $(PRODUCT_NAME) to record you voice when doing a voice search',
NSPhotoLibraryUsageDescription:
--- package.json
@@ -245,7 +245,7 @@
"react-native-uuid": "2.0.2",
"react-native-video": "^6.3.1",
"react-native-view-shot": "~4.0.3",
- "react-native-vision-camera": "4.6.3",
+ "react-native-vision-camera": "4.6.4",
"react-native-web": "~0.19.10",
"react-native-webview": "13.12.5",
"react-native-wm-config": "0.1.1",
--- yarn.lock
@@ -8464,7 +8464,7 @@ __metadata:
react-native-uuid: "npm:2.0.2"
react-native-video: "npm:^6.3.1"
react-native-view-shot: "npm:~4.0.3"
- react-native-vision-camera: "npm:4.6.3"
+ react-native-vision-camera: "npm:4.6.4"
react-native-web: "npm:~0.19.10"
react-native-webview: "npm:13.12.5"
react-native-wm-config: "npm:0.1.1"
@@ -21259,9 +21259,9 @@ __metadata:
languageName: node
linkType: hard
-"react-native-vision-camera@npm:4.6.3":
- version: 4.6.3
- resolution: "react-native-vision-camera@npm:4.6.3"
+"react-native-vision-camera@npm:4.6.4":
+ version: 4.6.4
+ resolution: "react-native-vision-camera@npm:4.6.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Freact-native-vision-camera%2F-%2Freact-native-vision-camera-4.6.4.tgz"
peerDependencies:
"@shopify/react-native-skia": "*"
react: "*"
@@ -21275,7 +21275,7 @@ __metadata:
optional: true
react-native-worklets-core:
optional: true
- checksum: 10c0/d086a2e48dd7a390d4515bdfcf24dd95a25ec8591296aaba9c78ce46e985c27703972d2cf4c153d99cc6e955b38e1a9f074da2490ed4ce1a8767a5b2cf08c2ed
+ checksum: 10c0/e626763b481ad435bb72632d275cfb0e9b415ce29efa0239c2575d626cb9096cd1be27fb004741bc57ae1c25ab4e70d70583f30a5471a00ddda5cb84519ed42a
languageName: node
linkType: hard
| fix(appconfig/package.json): ALLSPARK-5947 update visn camera , app conf | fix(appconfig/package.json): ALLSPARK-5947 update visn camera , app conf
|
1b4f2cb1dd4f0dfaaef6f6ddd8cf139308acdfca | --- package-lock.json
@@ -42,7 +42,7 @@
"@walmart/ask-sam-mini-app": "1.13.4",
"@walmart/attendance-mini-app": "0.190.6",
"@walmart/compass-sdk-rn": "4.2.0",
- "@walmart/config-components": "4.2.2",
+ "@walmart/config-components": "4.2.5",
"@walmart/copilot-mini-app": "1.77.9",
"@walmart/core-services": "~2.1.1",
"@walmart/core-services-allspark": "~2.11.1",
@@ -57,9 +57,9 @@
"@walmart/functional-components": "~4.0.3",
"@walmart/gta-react-native-calendars": "0.0.16",
"@walmart/gtp-shared-components": "2.0.10",
- "@walmart/impersonation-mini-app": "1.20.5",
+ "@walmart/impersonation-mini-app": "1.20.6",
"@walmart/ims-print-services-ui": "2.5.1",
- "@walmart/inbox-mini-app": "0.88.2",
+ "@walmart/inbox-mini-app": "0.88.8",
"@walmart/iteminfo-mini-app": "7.4.0",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-field-mini-app": "13.0.3",
@@ -8063,9 +8063,9 @@
}
},
"node_modules/@walmart/config-components": {
- "version": "4.2.2",
- "resolved": "https://npme.walmart.com/@walmart/config-components/-/config-components-4.2.2.tgz",
- "integrity": "sha512-+zW/IpjtZcUPPB8kEmRb+VH+OM0MkNBlmyAMoug/1QJlL8Qb46HZ8s/7epH0FlKVw2eSkyx8XkohJlWU0mYEbA==",
+ "version": "4.2.5",
+ "resolved": "https://npme.walmart.com/@walmart/config-components/-/config-components-4.2.5.tgz",
+ "integrity": "sha512-IxZq/3QRT2olBukJLEyyTGTJ7XLGWyrfd9E2mEEQff3UrTt63Iz7dPFSboh6Q6/cPnIhRORVQAJ7XjUuOANJXQ==",
"dependencies": {
"reduxsauce": "^1.2.1",
"reselect": "^4.1.5"
@@ -8445,9 +8445,9 @@
}
},
"node_modules/@walmart/impersonation-mini-app": {
- "version": "1.20.5",
- "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.20.5.tgz",
- "integrity": "sha512-tJ1tPWlZrlUbXdUkHun0l7qi95lkLr40UoCTwYJvcjijOB6xwAG0CsqhETahRd9WMAJ6OnNpkxpemmYxR/UMow==",
+ "version": "1.20.6",
+ "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.20.6.tgz",
+ "integrity": "sha512-5qaxHHlwLNsI2QOghCAlp1FS3sE0bdJ9DOswgEClQgRdZwFTZTY1F1qWkLmWVdnZm3/k7BTE3RT/Ltfy0rbfxg==",
"peerDependencies": {
"@react-native-community/masked-view": ">=0.1.10",
"@react-native-community/picker": ">=1.8.1",
@@ -8487,9 +8487,9 @@
}
},
"node_modules/@walmart/inbox-mini-app": {
- "version": "0.88.2",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.88.2.tgz",
- "integrity": "sha512-MnVZ3ykoWfI0tZbpJxtPq5cRca8cznbDyMXv+03yHhNVxVdjTsy6uO0jiEZPo8Sl4BU3K33dU6Q5bQMhB/Bzvg==",
+ "version": "0.88.8",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.88.8.tgz",
+ "integrity": "sha512-RpyA6MPHabOqyFxwk7CDHEbL4VkqPvHu93WAfoVNYGrGN1PrPIkSEu8ze+ylmKIEz9XT4i5/WAVMjDf4txZ7zQ==",
"dependencies": {
"@walmart/moment-walmart": "^1.0.4",
"@walmart/walmart-fiscal-week": "^0.3.6"
@@ -33522,9 +33522,9 @@
"integrity": "sha512-Jry5LjJzfOEK+byFR2MDl04P8JDJi/Vh4OKTz+w5VU3s4jyy6xBgDFb5016sqoZmRtZ/NTn7v6O7eQNgby38Vg=="
},
"@walmart/config-components": {
- "version": "4.2.2",
- "resolved": "https://npme.walmart.com/@walmart/config-components/-/config-components-4.2.2.tgz",
- "integrity": "sha512-+zW/IpjtZcUPPB8kEmRb+VH+OM0MkNBlmyAMoug/1QJlL8Qb46HZ8s/7epH0FlKVw2eSkyx8XkohJlWU0mYEbA==",
+ "version": "4.2.5",
+ "resolved": "https://npme.walmart.com/@walmart/config-components/-/config-components-4.2.5.tgz",
+ "integrity": "sha512-IxZq/3QRT2olBukJLEyyTGTJ7XLGWyrfd9E2mEEQff3UrTt63Iz7dPFSboh6Q6/cPnIhRORVQAJ7XjUuOANJXQ==",
"requires": {
"reduxsauce": "^1.2.1",
"reselect": "^4.1.5"
@@ -33652,9 +33652,9 @@
}
},
"@walmart/impersonation-mini-app": {
- "version": "1.20.5",
- "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.20.5.tgz",
- "integrity": "sha512-tJ1tPWlZrlUbXdUkHun0l7qi95lkLr40UoCTwYJvcjijOB6xwAG0CsqhETahRd9WMAJ6OnNpkxpemmYxR/UMow=="
+ "version": "1.20.6",
+ "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.20.6.tgz",
+ "integrity": "sha512-5qaxHHlwLNsI2QOghCAlp1FS3sE0bdJ9DOswgEClQgRdZwFTZTY1F1qWkLmWVdnZm3/k7BTE3RT/Ltfy0rbfxg=="
},
"@walmart/ims-print-services-ui": {
"version": "2.5.1",
@@ -33662,9 +33662,9 @@
"integrity": "sha512-od8axStfj5GPLFu05HRXBlh4g+kssKIrpuIc+MpsN/oigmLFwvrnJiXr0KMYtgFzN8zmro3J4rbc27In6D1R+w=="
},
"@walmart/inbox-mini-app": {
- "version": "0.88.2",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.88.2.tgz",
- "integrity": "sha512-MnVZ3ykoWfI0tZbpJxtPq5cRca8cznbDyMXv+03yHhNVxVdjTsy6uO0jiEZPo8Sl4BU3K33dU6Q5bQMhB/Bzvg==",
+ "version": "0.88.8",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.88.8.tgz",
+ "integrity": "sha512-RpyA6MPHabOqyFxwk7CDHEbL4VkqPvHu93WAfoVNYGrGN1PrPIkSEu8ze+ylmKIEz9XT4i5/WAVMjDf4txZ7zQ==",
"requires": {
"@walmart/moment-walmart": "1.0.4",
"@walmart/walmart-fiscal-week": "^0.3.6"
--- package.json
@@ -83,7 +83,7 @@
"@walmart/ask-sam-mini-app": "1.13.4",
"@walmart/attendance-mini-app": "0.190.6",
"@walmart/compass-sdk-rn": "4.2.0",
- "@walmart/config-components": "4.2.2",
+ "@walmart/config-components": "4.2.5",
"@walmart/copilot-mini-app": "1.77.9",
"@walmart/core-services": "~2.1.1",
"@walmart/core-services-allspark": "~2.11.1",
@@ -98,9 +98,9 @@
"@walmart/functional-components": "~4.0.3",
"@walmart/gta-react-native-calendars": "0.0.16",
"@walmart/gtp-shared-components": "2.0.10",
- "@walmart/impersonation-mini-app": "1.20.5",
+ "@walmart/impersonation-mini-app": "1.20.6",
"@walmart/ims-print-services-ui": "2.5.1",
- "@walmart/inbox-mini-app": "0.88.2",
+ "@walmart/inbox-mini-app": "0.88.8",
"@walmart/iteminfo-mini-app": "7.4.0",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-field-mini-app": "13.0.3",
| Platform Components Upgrade | Platform Components Upgrade
|
badea14c1ede8f34fc3b324072d45b3064c4e99b | --- core/src/permissions/PermissionsSaga.ts
@@ -7,8 +7,6 @@ import {
PermissionSelectors,
PermissionActionTypes,
isStatusUnset,
- AllsparkPermissionClient,
- PermissionStatus,
} from '@walmart/allspark-foundation/Permissions';
import {
@@ -33,11 +31,7 @@ export function* permissionFlow() {
yield take([PERMISSIONS_START.type, PermissionActionTypes.SET]);
// Determine location permission status
- const locationStatus: PermissionStatus = yield call(
- AllsparkPermissionClient.check,
- PLATFORM_LOCATION_PERMISSION,
- );
- const locationUnset: boolean = isStatusUnset(locationStatus);
+ const locationUnset: boolean = yield select(getLocationUnset);
// Determine notification permission status
const notificationsUnset: boolean = yield select(
| fixing permissions block issue | fixing permissions block issue
|
9707100f31ac83f03e71f12f45d819bbbc38c89b | --- packages/associate-exp-hub-team-switcher/__tests__/store/slices/reducer.test.ts
@@ -3,6 +3,18 @@
*/
// Mock UserActionCreators before importing the reducer
+import {
+ teamSwitcherReducer,
+ updateSelectedTeamData,
+ updateSelectedShifts,
+ setSelectedSavedTeamId,
+ setSelectedAllTeamId,
+ recordTeamSwitch,
+ setUserTeamSelectionInProgress,
+ DEFAULT_SELECTED_TEAM,
+ TeamSwitcherState,
+} from '../../../src/store/slices/reducer';
+
jest.mock('@walmart/allspark-foundation/User', () => ({
UserActionCreators: {
FETCH_SUCCESS: {
@@ -30,18 +42,6 @@ jest.mock('@walmart/allspark-foundation/User', () => ({
},
}));
-import {
- teamSwitcherReducer,
- updateSelectedTeamData,
- updateSelectedShifts,
- setSelectedSavedTeamId,
- setSelectedAllTeamId,
- recordTeamSwitch,
- setUserTeamSelectionInProgress,
- DEFAULT_SELECTED_TEAM,
- TeamSwitcherState,
-} from '../../../src/store/slices/reducer';
-
describe('teamSwitcherReducer', () => {
const initialState: TeamSwitcherState = {
selectedTeamData: DEFAULT_SELECTED_TEAM,
--- packages/associate-exp-hub-team-switcher/src/components/modals/hoc/UpdateModal.tsx
@@ -696,17 +696,19 @@ const UpdateModal = TeamSwitcherFeature.createModal(() => {
});
}
- // For duplicate removal, use the same savedTeamsToDisplay (which is based on filteredSavedTeams)
- // This ensures consistency in what's shown in saved teams and what's filtered from all teams
- // Filter out Total team from saved teams list to ensure it never appears there
+ // Remove duplicate teams between Saved Teams and All Teams sections
+ // When there are no saved preferences, show all teams in All Teams (including Total)
const totalTeamId = isSiteDC ? TOTAL_SITE_TEAM_ID : TOTAL_STORE_TEAM_ID;
- const hasSavedTotalTeam = savedTeamsToDisplay.some(team => team.teamId === totalTeamId);
+ const hasActualPreferences = preferences && preferences.length > 0;
+ const hasSavedTotalTeam =
+ hasActualPreferences &&
+ preferences.some(team => team.teamId === totalTeamId);
const filteredSearchedSections = removeDuplicateTeams(
searchedSections,
- savedTeamsToDisplay,
+ hasActualPreferences ? savedTeamsToDisplay : [], // Only filter when there are saved preferences
{
- keepTotalInAllTeams: !hasSavedTotalTeam, // Keep Total team in All Teams section only if not already saved
+ keepTotalInAllTeams: !hasSavedTotalTeam,
isSiteDC,
}
);
--- packages/associate-exp-hub-team-switcher/src/services/teamState/teamDataUtils.ts
@@ -83,28 +83,50 @@ export const removeDuplicateTeams = (
): TeamSection[] => {
const {keepTotalInAllTeams = true, isSiteDC = false} = options;
- if (!teamSections?.length || !userPreferences?.length) {
+ if (!teamSections?.length) {
return teamSections || [];
}
- const savedTeamIds = new Set(userPreferences.map(team => team.teamId).filter(Boolean));
- const totalTeamId = TOTAL_TEAM_CONFIG[isSiteDC ? 'SITE' : 'STORE'].id;
+ // If no user preferences, only filter Total team based on keepTotalInAllTeams flag
+ if (!userPreferences?.length) {
+ const totalTeamId = TOTAL_TEAM_CONFIG[isSiteDC ? 'SITE' : 'STORE'].id;
- return teamSections.map(section => ({
- ...section,
- data: section.data.filter(team => {
- // Remove teams that are already in user preferences
- if (savedTeamIds.has(team.teamId)) {
- return false;
- }
- if (!keepTotalInAllTeams && team.teamId === totalTeamId) {
- return false;
- }
+ // If we should keep Total team, return sections as-is
+ if (keepTotalInAllTeams) {
+ return teamSections;
+ }
- // Keep all other teams (including Total teams if not in preferences)
- return true;
- }),
- })).filter(section => section.data.length > 0); // Remove empty sections
+ // Otherwise, filter out Total team
+ return teamSections
+ .map(section => ({
+ ...section,
+ data: section.data.filter(team => team.teamId !== totalTeamId),
+ }))
+ .filter(section => section.data.length > 0);
+ }
+
+ const savedTeamIds = new Set(
+ userPreferences.map(team => team.teamId).filter(Boolean)
+ );
+ const totalTeamId = TOTAL_TEAM_CONFIG[isSiteDC ? 'SITE' : 'STORE'].id;
+
+ return teamSections
+ .map(section => ({
+ ...section,
+ data: section.data.filter(team => {
+ // Remove teams that are already in user preferences
+ if (savedTeamIds.has(team.teamId)) {
+ return false;
+ }
+ if (!keepTotalInAllTeams && team.teamId === totalTeamId) {
+ return false;
+ }
+
+ // Keep all other teams (including Total teams if not in preferences)
+ return true;
+ }),
+ }))
+ .filter(section => section.data.length > 0); // Remove empty sections
};
/**
@@ -244,7 +266,10 @@ export const processTeamSectionsForModal = (
savedTeamSections: TeamSection[];
} => {
// Step 1: Add Total team to all sections
- const allSectionsWithTotal = addTotalTeamToSections(allTeamSections, isSiteDC);
+ const allSectionsWithTotal = addTotalTeamToSections(
+ allTeamSections,
+ isSiteDC
+ );
// Step 2: Remove duplicates from all teams (teams that are in user preferences)
const filteredAllSections = removeDuplicateTeams(
@@ -257,10 +282,15 @@ export const processTeamSectionsForModal = (
);
// Step 3: Create saved teams sections from user preferences
- const savedTeamSections: TeamSection[] = userPreferences?.length > 0 ? [{
- title: 'Saved Teams',
- data: userPreferences,
- }] : [];
+ const savedTeamSections: TeamSection[] =
+ userPreferences?.length > 0
+ ? [
+ {
+ title: 'Saved Teams',
+ data: userPreferences,
+ },
+ ]
+ : [];
return {
allTeamSections: filteredAllSections,
| fix(ui): total store fix for home office associate | fix(ui): total store fix for home office associate
|
52517ecd53af3d4d3fa94bd75e450db06e83b2b9 | --- package-lock.json
@@ -50,7 +50,7 @@
"@walmart/core-widget-registry": "~1.2.4",
"@walmart/counts-component-miniapp": "0.1.5",
"@walmart/emergency-mini-app": "1.25.1",
- "@walmart/exception-mini-app": "1.5.1",
+ "@walmart/exception-mini-app": "1.6.1",
"@walmart/facilities-management-miniapp": "0.6.67",
"@walmart/feedback-all-spark-miniapp": "0.9.43",
"@walmart/financial-wellbeing-feature-app": "1.10.4",
@@ -8235,15 +8235,19 @@
}
},
"node_modules/@walmart/exception-mini-app": {
- "version": "1.5.1",
- "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-1.5.1.tgz",
- "integrity": "sha512-d5j7mlW+7Muw6vSZzc0WvoPbOOlF0oLkniWfAS6IP/o9SZ08Ph6NRIRAg95PWOqeW52zh7YTJZwEi24Zpaf93g==",
+ "version": "1.6.1",
+ "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-1.6.1.tgz",
+ "integrity": "sha512-KKmZVjYATx6s2uzHBOguXp4fTpYXle4GXOGKmAllc72N7CIzjIifS25HNP8BQwjyy0ei1EpD5m/7Pts0GVnEUA==",
"peerDependencies": {
"@walmart/core-services": "^2.0.15",
"@walmart/core-services-allspark": "^2.10.3",
+ "@walmart/functional-components": ">=2.0.6",
+ "@walmart/gtp-shared-components": "2.0.2",
+ "@walmart/ims-print-services-ui": "2.0.6",
"@walmart/react-native-logger": ">=1.31.0-rc.0",
"@walmart/redux-store": ">=3.1.3",
"@walmart/ui-components": ">=1.6.0",
+ "luxon": ">=1.28.0",
"react-i18next": ">=12.0.0",
"react-native-device-info": ">=10.3.0",
"react-native-new-snap-carousel": "^3.9.3",
@@ -33585,9 +33589,9 @@
}
},
"@walmart/exception-mini-app": {
- "version": "1.5.1",
- "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-1.5.1.tgz",
- "integrity": "sha512-d5j7mlW+7Muw6vSZzc0WvoPbOOlF0oLkniWfAS6IP/o9SZ08Ph6NRIRAg95PWOqeW52zh7YTJZwEi24Zpaf93g=="
+ "version": "1.6.1",
+ "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-1.6.1.tgz",
+ "integrity": "sha512-KKmZVjYATx6s2uzHBOguXp4fTpYXle4GXOGKmAllc72N7CIzjIifS25HNP8BQwjyy0ei1EpD5m/7Pts0GVnEUA=="
},
"@walmart/facilities-management-miniapp": {
"version": "0.6.67",
--- package.json
@@ -91,7 +91,7 @@
"@walmart/core-widget-registry": "~1.2.4",
"@walmart/counts-component-miniapp": "0.1.5",
"@walmart/emergency-mini-app": "1.25.1",
- "@walmart/exception-mini-app": "1.5.1",
+ "@walmart/exception-mini-app": "1.6.1",
"@walmart/facilities-management-miniapp": "0.6.67",
"@walmart/feedback-all-spark-miniapp": "0.9.43",
"@walmart/financial-wellbeing-feature-app": "1.10.4",
| exception-mini-app 1.6.1 | exception-mini-app 1.6.1
|
b531969920ee7ac9b474c70a8a8782a17d628531 | --- packages/me-at-walmart-common/__tests__/redux/selectorsTest.ts
--- packages/me-at-walmart-container/__mocks__/@react-native-async-storage/async-storage.js
@@ -0,0 +1,6 @@
+module.exports = {
+ setItem: jest.fn(),
+ getItem: jest.fn(),
+ getAllKeys: jest.fn(),
+ removeItem: jest.fn(),
+};
--- packages/me-at-walmart-container/__tests__/redux/navConfig.test.ts
@@ -36,13 +36,6 @@ import {
// consumerId: '1234',
// }));
-jest.mock('../../src/core/Logger', () => ({
- LoggerRef: {current: {clone: jest.fn(() => 'NavConfigLogger')}},
- Logger: {
- error: jest.fn(),
- },
-}));
-
const mockScope = {
state: 'AR',
siteId: '100',
--- packages/me-at-walmart-container/__tests__/utils/setup.js
@@ -1,18 +1,19 @@
jest.mock('react-native/Libraries/EventEmitter/NativeEventEmitter');
-const { NativeModules } = require('react-native');
+const {NativeModules} = require('react-native');
// Stub out NativeModules
NativeModules.RNCNetInfo = {};
+NativeModules.RNGestureHandlerModule = {};
// Reset the redux store before each test
-const { AllsparkReduxStore } = require('@walmart/allspark-foundation/Redux');
+const {AllsparkReduxStore} = require('@walmart/allspark-foundation/Redux');
AllsparkReduxStore.resetStore();
// Reinitalize the environment before each test with Me@ dev variables
const {
AllsparkEnvironment,
} = require('@walmart/allspark-foundation/Environment');
-const { MeAtWalmartEnvironment } = require('../../src/environment');
+const {MeAtWalmartEnvironment} = require('../../src/environment');
// Setup environment with test variables
AllsparkEnvironment.initialize({
| chore: fix breaking test setup | chore: fix breaking test setup
|
bd545dde2f117d04eeadf4c971bfa5d7229820e0 | --- core/src/navigation/USHallway/AssociateHallwayNav/MainStackNav.tsx
@@ -538,7 +538,6 @@ const MiniAppScreens = createMiniAppScreens(MainStack, [
export const MainStackNav = () => {
const dispatch = useDispatch();
- console.log('######### Inside MainStackNav!! ##########');
useEffect(() => {
// Signals the completion of startup. This is used to resume the startup flow saga that runs startup side effects
dispatch(ContainerActionCreators.STARTUP_COMPLETE());
--- core/src/navigation/USHallway/AssociateHallwayNav/SideMenuContent.tsx
@@ -56,7 +56,7 @@ export const SCREEN_RENAME_MAP = {
FeatureRestrictions: 'Core.FeatureRestrictions',
WhatsNewModal: 'Core.WhatsNewModal',
ManagerApprovals: 'ma.startManagerApprovals',
- Checkout: 'Checkout.Root',
+ Checkout: 'checkoutFeature.Root',
};
export const SideMenuContent: React.FC<DrawerContentComponentProps> = (
--- core/src/navigation/USHallway/AssociateHallwayNav/types.ts
@@ -85,7 +85,7 @@ export type MainStackMap = CoreAssociateStackMap & {
taskItQuickActions: undefined;
timeClock: undefined;
Topstock: undefined;
- 'Checkout.Root': undefined;
+ 'checkoutFeature.Root': undefined;
Receiving: undefined;
};
| updated the main screen name for checkout | updated the main screen name for checkout
|
ad312b53bf5375a250d946dc1339220f59972f02 | --- packages/allspark-foundation-hub/src/HubFeature/Shared/Components/HubHeader/style.ts
@@ -31,16 +31,15 @@ export default (
justifyContent: 'center',
},
header: {
- fontSize: 24,
+ fontSize: 18,
lineHeight: 32,
- marginBottom: 10,
...(hasRightIcon && { width: '80%' }),
},
subText: {
fontFamily: 'Bogle-Regular',
fontSize: 16,
lineHeight: 24,
- marginBottom: 12,
+ marginBottom: 4,
},
link: {
color: colors.gray['160'],
@@ -58,7 +57,8 @@ export default (
},
textLink: {
marginTop: 5,
- marginStart: 25,
+ fontSize: 14,
+ marginStart: 40,
},
subTextContainer: {
flexDirection: 'row',
| Updating HubHeader styles | Updating HubHeader styles
|
0c5db1ca64e03bdbddc3a014e9a0d41103b7f57c | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart",
- "version": "1.33.1",
+ "version": "1.33.2",
"main": "index.js",
"private": true,
"workspaces": [
| chore: bumping version to 1.33.2 | chore: bumping version to 1.33.2
|
d1254d376037b68d6c262026a98933b27bfab8e4 | --- package-lock.json
@@ -126,7 +126,7 @@
"namecase": "^1.1.2",
"numeral": "^2.0.6",
"react": "^18.2.0",
- "react-hook-form": "7.38.0",
+ "react-hook-form": "^7.51.0",
"react-i18next": "^13.3.1",
"react-native": "0.72.6",
"react-native-app-auth": "^6.4.3",
@@ -32076,9 +32076,9 @@
}
},
"node_modules/react-hook-form": {
- "version": "7.38.0",
- "resolved": "https://npme.walmart.com/react-hook-form/-/react-hook-form-7.38.0.tgz",
- "integrity": "sha512-gxWW1kMeru9xR1GoR+Iw4hA+JBOM3SHfr4DWCUKY0xc7Vv1MLsF109oHtBeWl9shcyPFx67KHru44DheN0XY5A==",
+ "version": "7.51.0",
+ "resolved": "https://npme.walmart.com/react-hook-form/-/react-hook-form-7.51.0.tgz",
+ "integrity": "sha512-BggOy5j58RdhdMzzRUHGOYhSz1oeylFAv6jUSG86OvCIvlAvS7KvnRY7yoAf2pfEiPN7BesnR0xx73nEk3qIiw==",
"license": "MIT",
"engines": {
"node": ">=12.22.0"
--- package.json
@@ -167,7 +167,7 @@
"namecase": "^1.1.2",
"numeral": "^2.0.6",
"react": "^18.2.0",
- "react-hook-form": "7.38.0",
+ "react-hook-form": "^7.51.0",
"react-i18next": "^13.3.1",
"react-native": "0.72.6",
"react-native-app-auth": "^6.4.3",
@@ -424,7 +424,7 @@
"namecase": "^1.1.2",
"promise.allsettled": "^1.0.6",
"react": "^18.2.0",
- "react-hook-form": "7.38.0",
+ "react-hook-form": "^7.51.0",
"react-i18next": "^13.3.1",
"react-native": "0.72.6",
"react-native-app-auth": "^6.4.3",
| chore: upgrade hook form lib | chore: upgrade hook form lib
|
e2871ddbda6d3846980556618f20f2f924aef752 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.52.0",
+ "version": "2.53.0",
"main": "dist/index.js",
"files": [
"dist"
@@ -85,7 +85,7 @@
"@typescript-eslint/parser": "^5.37.0",
"@walmart/allspark-authentication": "6.1.4",
"@walmart/allspark-foundation": "6.27.4",
- "@walmart/allspark-foundation-hub": "1.3.13",
+ "@walmart/allspark-foundation-hub": "1.3.14",
"@walmart/allspark-graphql-client": "^1.4.6",
"@walmart/allspark-http-client": "6.1.4",
"@walmart/config-components": "4.4.0",
--- src/shared/index.tsx
@@ -1,5 +1,4 @@
export {RosterDetailScreen} from '../screens/RosterDetailScreen';
export {AllTeamsScreen} from '../screens/AllTeamsScreen';
export {RosterWidget} from '../components/RosterWidget';
-// export {RosterMiniApp} from '../screens';
export * from '../navigation';
--- yarn.lock
@@ -6078,9 +6078,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation-hub@npm:1.3.13":
- version: 1.3.13
- resolution: "@walmart/allspark-foundation-hub@npm:1.3.13"
+"@walmart/allspark-foundation-hub@npm:1.3.14":
+ version: 1.3.14
+ resolution: "@walmart/allspark-foundation-hub@npm:1.3.14"
dependencies:
"@reduxjs/toolkit": "npm:^1.9.7"
"@shopify/flash-list": "npm:~1.6.4"
@@ -6096,7 +6096,7 @@ __metadata:
react: "*"
react-native: "*"
react-native-safe-area-context: 4.x
- checksum: 10c0/874219b1bdd0c8a6a8916b2992901b25755e69f5339c00087a03a3222f4623fb4bc3e9a2c086be2a2dad1fcf488f74efab7c23164a37720a5f7bb1a368fdd4e5
+ checksum: 10c0/5f80c2f6bb2bcd4c1c0865a56211f124baf9d9d937daeef9f92fc3b0022c69c8944d00b401b6eb4d65389b5e832bfc6eba9b4e196fda9ffc616aaab07db241eb
languageName: node
linkType: hard
@@ -6547,7 +6547,7 @@ __metadata:
"@typescript-eslint/parser": "npm:^5.37.0"
"@walmart/allspark-authentication": "npm:6.1.4"
"@walmart/allspark-foundation": "npm:6.27.4"
- "@walmart/allspark-foundation-hub": "npm:1.3.13"
+ "@walmart/allspark-foundation-hub": "npm:1.3.14"
"@walmart/allspark-graphql-client": "npm:^1.4.6"
"@walmart/allspark-http-client": "npm:6.1.4"
"@walmart/config-components": "npm:4.4.0"
| Update the roster changes | Update the roster changes
|
09cb6b824ae014e26a86243bcffe02418682a2ff | --- __tests__/navigation/AssociateHallwayNav/SideMenuContentTest.tsx
@@ -72,6 +72,27 @@ const baseProps = {
navigation: {
navigate: jest.fn(),
dispatch: jest.fn(),
+ getState: jest.fn(),
+ },
+} as any;
+
+const testNotNavigateProps = {
+ navigation: {
+ navigate: jest.fn(),
+ dispatch: jest.fn(),
+ getState: () => ({
+ routes: [
+ {
+ state: {
+ routes: [
+ {
+ name: 'itemInfo',
+ },
+ ],
+ },
+ },
+ ],
+ }),
},
} as any;
@@ -232,3 +253,42 @@ describe('SideMenuContent', () => {
expect(component.toJSON()).toMatchSnapshot();
});
});
+
+describe('SideMenuContent for testing not navigate', () => {
+ beforeEach(jest.useFakeTimers);
+ afterEach(jest.clearAllMocks);
+ mockUseDrawerStatus.mockReturnValue('closed');
+ mockUseCanImpersonate.mockReturnValue(false);
+ mockUseSelector.mockReturnValueOnce(0); // badge count
+ mockUseSelector.mockReturnValueOnce({data: null}); // user state
+ mockUseSelector.mockReturnValueOnce(false); // clock state
+ mockUseSelector.mockReturnValueOnce({loading: true, error: false}); // nav config state
+ mockUseSelector.mockReturnValueOnce(navConfig); // side menu config
+ mockUseSelector.mockReturnValueOnce(navConfig); // quick action config
+ mockUseSelector.mockReturnValueOnce('PERSONAL'); // deviceType
+ mockUseSelector.mockReturnValueOnce('SW'); // nameInitials
+ mockUseSelector.mockReturnValueOnce('Sam Walton'); // displayName
+ mockUseSelector.mockReturnValueOnce({highPriorityCount: 0}); // taskBadge
+ mockUseSelector.mockReturnValueOnce(true);
+ mockUseState.mockReturnValueOnce([false, setShowDialog]);
+ (Hooks.useUnreadMessageCount as jest.Mock).mockReturnValueOnce([0]);
+ let component;
+ act(() => {
+ component = create(<SideMenuContent {...testNotNavigateProps} />);
+ });
+
+ it('will not handles navigate event, when route is "itemInfoQuickAction" and the name of last item of currentRoutes is "itemInfo"', () => {
+ const route = 'itemInfoQuickAction';
+ const globalNav = component.root.findByProps({testID: 'globalNav'});
+
+ globalNav.props.navigate(route);
+ jest.runAllImmediates();
+ expect(testNotNavigateProps.navigation.dispatch).toHaveBeenCalledWith(
+ DrawerActions.closeDrawer(),
+ );
+ expect(testNotNavigateProps.navigation.navigate).not.toHaveBeenCalledWith(
+ route,
+ undefined,
+ );
+ });
+});
\ No newline at end of file
--- __tests__/rbacConfig/utility/updateMeganavDataTest.tsx
@@ -220,8 +220,8 @@ describe('updateMeganavData', () => {
it('testing updateMeganavData function for all cases', () => {
const result = updateMeganavData(rbacData, meganavData, rbacEnabledApps);
- expect(result.data.data[1].navs[0].enabled).toEqual(false);
- expect(result.data.data[2].navs[0].enabled).toEqual(false);
+ expect(result.data.data[1].navs[0].enabled).toEqual(true);
+ expect(result.data.data[2].navs[0].enabled).toEqual(true);
});
it('testing when rbacData is not there', () => {
--- src/navigation/AssociateHallwayNav/MainStackNav.tsx
@@ -99,23 +99,7 @@ export const MainStackNav = () => {
...TransitionPresets.SlideFromRightIOS,
presentation: 'modal',
header: Header,
- }}
- screenListeners={({navigation}) => ({
- state: (e) => {
- const currentState = e.data?.state?.routes;
- const isItemInfoActive = currentState?.find(
- (routeData: any) => routeData.name === 'itemInfo',
- );
- if (isItemInfoActive) {
- const isItemInfoQuickActionSelected = currentState?.find(
- (routeData: any) => routeData.name === 'itemInfoQuickAction',
- );
- if (isItemInfoQuickActionSelected) {
- navigation.goBack();
- }
- }
- },
- })}>
+ }}>
{/* These screens already have Header defined. We do not show one from Core */}
<MainStack.Group screenOptions={{headerShown: false}}>
<MainStack.Screen name='tabs' component={MainTabsNav} />
--- src/navigation/AssociateHallwayNav/SideMenuContent.tsx
@@ -93,7 +93,18 @@ export const SideMenuContent: React.FC<DrawerContentComponentProps> = (
route: string,
params?: Record<string, any> | undefined,
) => {
+ const navState = navigation.getState() ?? {routes: []};
+ const currentRoutes = navState?.routes[0]?.state?.routes;
+
onDrawerClose();
+
+ if (
+ route === 'itemInfoQuickAction' &&
+ currentRoutes &&
+ currentRoutes[currentRoutes.length - 1].name === 'itemInfo'
+ ) {
+ return;
+ }
setImmediate(() => navigation.navigate(route, params));
};
| Fix scan twice | Fix scan twice
|
7734044f1d20c921fcfaa753ab1c84d560b6d67c | --- package.json
@@ -93,7 +93,7 @@
"@walmart/functional-components": "~4.0.3",
"@walmart/gta-react-native-calendars": "0.0.16",
"@walmart/gtp-shared-components": "2.0.5",
- "@walmart/impersonation-mini-app": "1.18.0-138-0d617e4",
+ "@walmart/impersonation-mini-app": "1.18.1",
"@walmart/ims-print-services-ui": "2.1.2",
"@walmart/inbox-mini-app": "0.82.3",
"@walmart/iteminfo-mini-app": "7.1.4",
| changing the version for impersonation-mini-app | changing the version for impersonation-mini-app
|
01ea193318e292fbbcaca11de280b11532ac4172 | --- .looper.multibranch.yml
@@ -69,8 +69,6 @@ envs:
NO_PROXY: "*.walmart.com,chromium.googlesource.com"
ALLSPARK_CORE_GITHUB_URL: "https://gecgithub01.walmart.com/allspark/allspark-core"
- APPCENTER_API_KEY_iOS: "%{credentials.secret('appcenter_iOS')}"
- APPCENTER_API_KEY_ANDROID: "%{credentials.secret('appcenter_android')}"
APPCENTER_DISTRIBUTE_DESTINATIONS: '*'
APPCENTER_DISTRIBUTION_GROUP_URL_SEGMENT: "allsparktesters"
APPCENTER_OUT: "./ios/BuildSupport/appcenter_out.json"
| code cleanup | code cleanup
|
f3bec9e61a24f78c83cffd34832daed80af27828 | --- ios/Podfile.lock
@@ -506,14 +506,14 @@ PODS:
- RNWMSSOLibrary (1.1.0):
- AppAuth
- React
- - SSO (= 1.3.4)
+ - SSO (= 1.3.5)
- SDWebImage (5.11.0):
- SDWebImage/Core (= 5.11.0)
- SDWebImage/Core (5.11.0)
- SDWebImageWebPCoder (0.6.1):
- libwebp (~> 1.0)
- SDWebImage/Core (~> 5.7)
- - SSO (1.3.4):
+ - SSO (1.3.5):
- AppAuth
- Starscream (3.0.6)
- Yoga (1.14.0)
@@ -866,10 +866,10 @@ SPEC CHECKSUMS:
RNSoundPlayer: e7f72cf262c8de4f1427b5f29cc47aebadd1d872
RNSVG: ce9d996113475209013317e48b05c21ee988d42e
RNVectorIcons: bc69e6a278b14842063605de32bec61f0b251a59
- RNWMSSOLibrary: 5ac32b2d4c636f762408dfd6c0eb363a9983b8e7
+ RNWMSSOLibrary: c6d6563e0ce6bd65a1c1be9d2ee0ce215432337e
SDWebImage: 7acbb57630ac7db4a495547fb73916ff3e432f6b
SDWebImageWebPCoder: d0dac55073088d24b2ac1b191a71a8f8d0adac21
- SSO: b411029cd497cccfcf0fb44da1cbda2b9fef086b
+ SSO: 9dec1c3f07d650c868506b0147185898a27eb837
Starscream: ef3ece99d765eeccb67de105bfa143f929026cf5
Yoga: 7740b94929bbacbddda59bf115b5317e9a161598
--- package-lock.json
@@ -12662,9 +12662,9 @@
"integrity": "sha512-Ls9qiNZzW/OLFoI25wfjjAcrf2DZ975hn2vr6U9gyuxi2nooVbzQeFoQS5vQcbCt9QX5NY8ASEEAtlLdIa6KVg=="
},
"react-native-ssmp-sso-allspark": {
- "version": "1.1.4",
- "resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-1.1.4.tgz",
- "integrity": "sha512-lfv1vPjJEywDL5aH2xLgAHwQ25KFGH5yZx2hB0W/tjPiu9H58mI3VCyzUVRZ4MeWQtrRFUoY5laCz2YV/vfcMw=="
+ "version": "1.1.5",
+ "resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-1.1.5.tgz",
+ "integrity": "sha512-fYPsMUU89nvYkf3Zw8ZcA5Y2PNuVVVCANSjTjxFqGE7wt8cfjUeX+GU9KTovrG6LJsg9VyVD1CE96NFZk2Ucvw=="
},
"react-native-sumo-sdk": {
"version": "2.7.4-rc.9",
--- package.json
@@ -130,7 +130,7 @@
"react-native-snap-carousel": "^3.9.1",
"react-native-sound-player": "0.10.9",
"react-native-splash-screen": "^3.2.0",
- "react-native-ssmp-sso-allspark": "1.1.4",
+ "react-native-ssmp-sso-allspark": "1.1.5",
"react-native-sumo-sdk": "^2.7.4-rc.9",
"react-native-svg": "^12.1.0",
"react-native-tab-view": "^2.15.2",
| SSO version bump up to 1.1.5 | SSO version bump up to 1.1.5
|
4129c93446e1f2a228922492a1141a5704968bdd | --- ios/BuildSupport/install-cocoapods.sh
@@ -20,5 +20,6 @@ pod_path=$(ruby -r rubygems -e 'puts Gem.user_dir')/bin
echo "pod_path ${pod_path}"
ls -l ${pod_path}/pod
+pod _1.9.3_ --version
echo "pod install"
-${pod_path}/pod install --repo-update --verbose
+pod _1.9.3_ install --repo-update --verbose
| pod fix (#203) | pod fix (#203)
Co-authored-by: Hitesh Arora <> |
20568a98cae095cbdb2efbcc76bad06b6d1eb884 | --- package-lock.json
@@ -87,7 +87,7 @@
"@walmart/receipt-check-miniapp": "1.18.7",
"@walmart/redux-store": "3.7.0",
"@walmart/returns-mini-app": "3.13.0",
- "@walmart/schedule-mini-app": "0.89.0",
+ "@walmart/schedule-mini-app": "0.90.0",
"@walmart/shelfavailability-mini-app": "1.5.19",
"@walmart/store-feature-orders": "1.25.0",
"@walmart/taskit-mini-app": "2.53.3",
@@ -9752,9 +9752,9 @@
}
},
"node_modules/@walmart/schedule-mini-app": {
- "version": "0.89.0",
- "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.89.0.tgz",
- "integrity": "sha512-phFODb42rl9K25duuWbYjB3WaaYwYwDsMEZzKfNXZR/sz3F0dSODXkOpLqDuirtgjLsrI/msXOANmxZf31MWzw==",
+ "version": "0.90.0",
+ "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.90.0.tgz",
+ "integrity": "sha512-XAcR5KL/N3zWUm27rkCRA3JfnLwsrbeMU/SljMU6qcdZf5wHSwkAFD3tnpwiyYYtnT7zItUcNAgPYMHiZj+OXw==",
"dependencies": {
"@walmart/moment-walmart": "^1.0.4",
"@walmart/wfm-ui": "0.8.2",
@@ -33630,9 +33630,9 @@
}
},
"@walmart/schedule-mini-app": {
- "version": "0.89.0",
- "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.89.0.tgz",
- "integrity": "sha512-phFODb42rl9K25duuWbYjB3WaaYwYwDsMEZzKfNXZR/sz3F0dSODXkOpLqDuirtgjLsrI/msXOANmxZf31MWzw==",
+ "version": "0.90.0",
+ "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.90.0.tgz",
+ "integrity": "sha512-XAcR5KL/N3zWUm27rkCRA3JfnLwsrbeMU/SljMU6qcdZf5wHSwkAFD3tnpwiyYYtnT7zItUcNAgPYMHiZj+OXw==",
"requires": {
"@walmart/moment-walmart": "1.0.4",
"@walmart/wfm-ui": "0.8.2",
--- package.json
@@ -128,7 +128,7 @@
"@walmart/receipt-check-miniapp": "1.18.7",
"@walmart/redux-store": "3.7.0",
"@walmart/returns-mini-app": "3.13.0",
- "@walmart/schedule-mini-app": "0.89.0",
+ "@walmart/schedule-mini-app": "0.90.0",
"@walmart/shelfavailability-mini-app": "1.5.19",
"@walmart/store-feature-orders": "1.25.0",
"@walmart/taskit-mini-app": "2.53.3",
| Bump schedule-mini-app. Roster clock-in dot update for salaried associates | Bump schedule-mini-app. Roster clock-in dot update for salaried associates
|
1fb40e9579eb59eed3964053ac556387538fd293 | --- .looper.yml
@@ -41,11 +41,11 @@ flows:
publishMajor:
- call: preparePublish
- - (name Publish From Changes) HUSKY_SKIP_HOOKS=1 npx lerna publish major --yes
+ - (name Publish From Changes) HUSKY_SKIP_HOOKS=1 npx lerna publish major --yes --force-publish
publishFromChanges:
- call: preparePublish
- - (name Publish From Changes) HUSKY_SKIP_HOOKS=1 npx lerna publish --yes --force-publish
+ - (name Publish From Changes) HUSKY_SKIP_HOOKS=1 npx lerna publish --yes
publishAll:
- call: preparePublish
| chore: update looper for temporary major publish flow | chore: update looper for temporary major publish flow
|
fe9771069fc33448558b81061efd62da451cd917 | --- .env
@@ -0,0 +1,2 @@
+EXPO_NO_GIT_STATUS=1
+TARGET=US
\ No newline at end of file
--- .env.beta
@@ -9,4 +9,3 @@ EXPO_DEBUG=false
# For compatability with the existing environment types used in the app. Use NODE_ENV when possible which will match the postfix (beta)
EXPO_PUBLIC_ENV=prod
-TARGET=US
\ No newline at end of file
--- .env.development
@@ -2,6 +2,7 @@
# https://docs.expo.dev/more/expo-cli/#environment-variables
EXPO_DEBUG=true
+# EXPO_TOKEN=YQYCPkmRxsp_2llYfU7Qkyv6S622f8iuTNzPuH0h
# HTTP_PROXY=sysproxy.wal-mart.com:8080
# EXPO_OFFLINE=true
@@ -9,4 +10,3 @@ EXPO_DEBUG=true
# For compatability with the existing environment types used in the app. Use NODE_ENV when possible which will match the postfix (development)
EXPO_PUBLIC_ENV=dev
-TARGET=US
\ No newline at end of file
--- .env.production
@@ -9,4 +9,3 @@ EXPO_DEBUG=false
# For compatability with the existing environment types used in the app. Use NODE_ENV when possible which will match the postfix (production)
EXPO_PUBLIC_ENV=prod
-TARGET=US
\ No newline at end of file
--- .env.teflon
@@ -9,4 +9,3 @@ EXPO_DEBUG=true
# For compatability with the existing environment types used in the app. Use NODE_ENV when possible which will match the postfix (teflon)
EXPO_PUBLIC_ENV=teflon
-TARGET=US
\ No newline at end of file
--- package.json
@@ -21,16 +21,17 @@
"check-expo-libs": "expo install --check",
"certify-booted-sim": "scripts/certifyBootedSim.sh",
"coverage": "echo 'Skipping tests to test native builds' > test-report.xml || jest --coverage",
- "env:beta": "cp .env.beta .env && echo 'Use process variable NODE_ENV=beta instead'",
- "env:dev": "cp .env.development .env && echo 'Use process variable NODE_ENV=development instead'",
- "env:prod": "cp .env.production .env && echo 'Use process variable NODE_ENV=production instead'",
- "env:teflon": "cp .env.teflon .env && echo 'Use process variable NODE_ENV=teflon instead'",
+ "env:beta": "NODE_ENV=beta expo prebuild --clean",
+ "env:dev": "NODE_ENV=development expo prebuild --clean",
+ "env:prod": "NODE_ENV=production expo prebuild --clean",
+ "env:teflon": "NODE_ENV=teflon expo prebuild --clean",
"ios": "expo run:ios",
"jetifier": "jetifier",
"lint": "eslint src/**/*.{ts,tsx}",
"run-expo-doctor": "expo-doctor",
"start": "expo start --dev-client",
"start:minified": "expo start --no-dev --minify",
+ "postinstall": "yarn build",
"prebuild": "expo prebuild --clean",
"run:ios": "expo run:ios",
"run:android": "expo run:android",
| chore: move target default to base env file. change env scripts to run prebuild | chore: move target default to base env file. change env scripts to run prebuild
|
c3bb09f744bcde8af7ea0217e6165f6524fda9d9 | --- src/components/RosterWidget/useRosterWidget.ts
@@ -11,7 +11,6 @@ import {
useSupplyChainTeamsByBusinessUnit,
useSupplyChainShifts,
} from '../../hooks';
-import {TeamsByStore} from '../../queries/getTeamsByStore';
import {
SupplyChainShift,
SupplyChainTeam,
@@ -231,7 +230,7 @@ export const useRosterWidget = (
let tardyCount: number = 0;
let scheduledCount: number = 0;
- teamRosterData?.forEach((teamData: TeamsByStore) => {
+ teamRosterData?.forEach((teamData) => {
if (selectedTeamIds?.includes(teamData?.teamId as string)) {
scheduledCount +=
teamData?.membership?.filter((team) =>
| feat: SMDV-9999 update query | feat: SMDV-9999 update query
|
039bf6d3d306955beef972abd01e882e9696d60a | --- packages/allspark-foundation-hub/src/HubFeature/Hub/Container/AllsparkHubContainer.tsx
@@ -5,7 +5,7 @@ import {
} from '@walmart/allspark-foundation/Components';
import { useDispatch } from 'react-redux';
import { createDefaultWidgetsConfig, validateWidgets } from './utils';
-import { HeaderDetailsProps, ValidatedTeamWidgetMapping } from './types';
+import { ValidatedTeamWidgetMapping } from './types';
import { AllsparkFeatureModule } from '@walmart/allspark-foundation/Feature';
import { enUS, esMX } from '../../translation';
import { FEATURE_ID, FEATURE_NAME } from '../../constant';
@@ -48,8 +48,9 @@ export const managerExperienceFeature = new AllsparkFeatureModule(FEATURE_ID, {
export class AllsparkHubContainer {
private AllsparkWidgetContainer = {} as ComponentContainer;
private containerName = '';
- private headerDetails = { title: '', subText: '' };
+ private headerId: string = '';
private widgetCCMConfigs = {};
+ private componentId: string | undefined = undefined;
private validWidgets: ValidatedTeamWidgetMapping = {};
constructor() {
managerExperienceFeature.connect();
@@ -58,16 +59,20 @@ export class AllsparkHubContainer {
public create = (
name: string,
ccmNamespace: string,
- screeName: string,
+ screeName: string | { screen: string; params: any },
defaultWidgets: string[],
- headerDetails: HeaderDetailsProps
+ headerId: string,
+ componentId?: string
): this => {
const dispatch = useDispatch();
this.containerName = name;
- this.headerDetails = headerDetails;
+ this.headerId = headerId;
+ this.componentId = componentId;
const defaultWidgetConfig = createDefaultWidgetsConfig(defaultWidgets);
this.widgetCCMConfigs = useHubConfig(ccmNamespace, defaultWidgetConfig);
- dispatch(ManagerExperienceCreators.setHubScreenName(screeName));
+ const screenName =
+ typeof screeName === 'string' ? screeName : screeName.screen;
+ dispatch(ManagerExperienceCreators.setHubScreenName(screenName));
dispatch(ManagerExperienceCreators.setDefaultWidgets(defaultWidgets));
this.AllsparkWidgetContainer = AllsparkComponentContainers.create(name);
return this;
@@ -89,7 +94,8 @@ export class AllsparkHubContainer {
<HubDashboard
name={this.containerName}
widgets={this.validWidgets}
- headerDetails={this.headerDetails}
+ headerId={this.headerId}
+ componentId={this.componentId}
/>
</BottomSheetProvider>
</ClockOutGuard>
--- packages/allspark-foundation-hub/src/HubFeature/Hub/Container/Screens/HubDashboard.tsx
@@ -12,7 +12,6 @@ import { LayoutConfig } from '@walmart/allspark-utils';
import { useAllsparkTranslation } from '@walmart/allspark-foundation/Translation';
import { UserSelectors } from '@walmart/allspark-foundation/User';
import { useUserPreferences } from '../../../Hooks/useUserPreferences';
-import { HubHeader } from '../../../HubHeader';
import { ManagerExperienceSelectors } from '../../../Redux/selectors';
import { FEATURE_ID } from '../../../constant';
import { TeamSwitcher } from '../../TeamSwitcher';
@@ -37,7 +36,8 @@ import { useBottomSheetContext } from '../../../BottomSheet/BottomSheetContext';
export const HubDashboard = ({
name,
widgets,
- headerDetails,
+ headerId, // pass in id from parent
+ componentId, // just 1 component
}: HubDashboardProps) => {
const [teamState, setTeamState] = useState<{
teamLabel: string;
@@ -381,9 +381,10 @@ export const HubDashboard = ({
</Body>
</View>
)}
- <HubHeader
- title={headerDetails?.title || t('hubheader.title')}
- subText={headerDetails?.subText || t('hubheader.subText')}
+ <AllsparkComponentContainers.Component
+ container={name}
+ id={headerId}
+ props={{}}
/>
<TeamSwitcher
onTeamChange={(teamLabel, teamIds) =>
@@ -404,7 +405,15 @@ export const HubDashboard = ({
}}
/>
</ScrollView>
-
+ {!!componentId && (
+ <View style={{ position: 'absolute', bottom: 20, right: 10 }}>
+ <AllsparkComponentContainers.Component
+ container={name}
+ id={componentId}
+ props={{}}
+ />
+ </View>
+ )}
{(isOnbaordingBottomSheetVisible ||
isTeamUpdatedBottomSheetVisible ||
isErrorBottomSheetVisible) &&
--- packages/allspark-foundation-hub/src/HubFeature/Hub/Container/Screens/types.ts
@@ -1,7 +1,8 @@
-import { HeaderDetailsProps, ValidatedTeamWidgetMapping } from '../types';
+import { ValidatedTeamWidgetMapping } from '../types';
export type HubDashboardProps = {
name: string;
widgets: ValidatedTeamWidgetMapping;
- headerDetails: HeaderDetailsProps;
+ headerId: string; // this is required, we dont have fallback for default header
+ componentId?: string;
};
| feat(ui): added support for custom floating button | feat(ui): added support for custom floating button
|
844adc90f1eb17906a89c7d25f902a10e0a4c273 | --- graphql.yml
@@ -58,29 +58,29 @@ applications:
queryTemplate: "src/queries/upsertAssociateTextPreference.graphql"
tags:
- "v1"
- - name: "prod"
- persistedQueries:
- - name: "GetAssociateClockStatus"
- queryTemplate: "src/queries/getAssociateClockStatus.graphql"
- tags:
- - "v1"
- - name: "GetAssociateName"
- queryTemplate: "src/queries/getAssociateName.graphql"
- tags:
- - "v1"
- - name: "GetDailyRoster"
- queryTemplate: "src/queries/getDailyRoster.graphql"
- tags:
- - "v2"
- - name: "GetTeamById"
- queryTemplate: "src/queries/getTeamById.graphql"
- tags:
- - "v1"
- - name: "GetTeamsByStore"
- queryTemplate: "src/queries/getTeamsbyStore.graphql"
- tags:
- - "v1"
- - name: "upsertAssociateTextPreferences"
- queryTemplate: "src/queries/upsertAssociateTextPreference.graphql"
- tags:
- - "v1"
+ # - name: "prod"
+ # persistedQueries:
+ # - name: "GetAssociateClockStatus"
+ # queryTemplate: "src/queries/getAssociateClockStatus.graphql"
+ # tags:
+ # - "v1"
+ # - name: "GetAssociateName"
+ # queryTemplate: "src/queries/getAssociateName.graphql"
+ # tags:
+ # - "v1"
+ # - name: "GetDailyRoster"
+ # queryTemplate: "src/queries/getDailyRoster.graphql"
+ # tags:
+ # - "v2"
+ # - name: "GetTeamById"
+ # queryTemplate: "src/queries/getTeamById.graphql"
+ # tags:
+ # - "v1"
+ # - name: "GetTeamsByStore"
+ # queryTemplate: "src/queries/getTeamsbyStore.graphql"
+ # tags:
+ # - "v1"
+ # - name: "upsertAssociateTextPreferences"
+ # queryTemplate: "src/queries/upsertAssociateTextPreference.graphql"
+ # tags:
+ # - "v1"
| feat(ui): Update the queries for getDailyroster | feat(ui): Update the queries for getDailyroster
|
bd90b7d58cc22b6bb7415a19e90e1e58d5cd3445 | --- __tests__/core/screenTrackerTest.ts
@@ -18,7 +18,7 @@ describe('isBlockedScreen', () => {
});
it('returns false if not blocked screen', () => {
- const blocked = isBlockedScreen('homeNav.home');
+ const blocked = isBlockedScreen('home');
expect(blocked).toEqual(false);
});
});
@@ -36,7 +36,7 @@ describe('screenTracker', () => {
});
it('dispatches an action on the homescreen', () => {
- const screen1 = 'homeNav.home';
+ const screen1 = 'home';
const screen2 = 's2';
screenTracker(screen1, screen2);
expect(WmTelemetry.logScreenView).toHaveBeenCalledWith(screen1);
@@ -46,8 +46,8 @@ describe('screenTracker', () => {
});
it('does nothing if screen doesnt change', () => {
- const screen1 = 'homeNav.home';
- const screen2 = 'homeNav.home';
+ const screen1 = 'home';
+ const screen2 = 'home';
screenTracker(screen1, screen2);
expect(WmTelemetry.logScreenView).not.toHaveBeenCalled();
expect(mockDispatch).not.toHaveBeenCalled();
--- __tests__/startup/SurveySagaTest.ts
@@ -61,7 +61,7 @@ describe('surveySagaTests', () => {
const delayTime = 60000;
navContainerProps.ref.current.getCurrentRoute.mockReturnValue({
- name: 'homeNav.home',
+ name: 'home',
});
const iterator = startSurveyWatch();
--- src/core/screenTracker.ts
@@ -25,7 +25,7 @@ export const screenTracker = (currentScreen?: string, prevScreen?: string) => {
currentRoute = currentScreen;
// Specific, temporary home screen use case for survey
- if (currentScreen === 'homeNav.home') {
+ if (currentScreen === 'home') {
getStore().dispatch({type: 'core/NAVIGATE_HOME'});
}
}
--- src/startup/SurveySaga.ts
@@ -31,7 +31,7 @@ export function* startSurveyWatch() {
yield delay(surveyDelayTime);
const currentScreen = navContainerProps.ref.current?.getCurrentRoute()
?.name;
- if (currentScreen !== 'homeNav.home') {
+ if (currentScreen !== 'home') {
yield take('core/NAVIGATE_HOME');
}
yield call(checkAndShowAvailableSurveyAction);
| changed screen name in surveySaga.ts & screenTracker.ts | changed screen name in surveySaga.ts & screenTracker.ts
|
68d89252aec7334f2b0870669e8a7e0e1aaa73fa | --- core/__tests__/navigation/USHallway/AssociateHallwayNav/Tabs/MyTeamStackNavTest.tsx
@@ -1,22 +1,77 @@
import React from 'react';
-import {useSelector} from 'react-redux';
import {create} from 'react-test-renderer';
-
+import * as myTeamMiniApp from '@walmart/myteam-mini-app';
+import * as rosterMiniApp from '@walmart/roster-mini-app';
import {MyTeamStackNav} from '../../../../../src/navigation/USHallway/AssociateHallwayNav/Tabs/MyTeamStackNav';
+import {HomeHeaderRightContainer} from '@walmart/me-at-walmart-common';
+import {createStackNavigator} from '@react-navigation/stack';
-const mockUseSelector = useSelector as jest.Mock;
-mockUseSelector.mockReturnValue(false);
+const MyTeamStack = createStackNavigator();
describe('MyTeamStackNav', () => {
- it('matches snapshot', () => {
+ it('matches snapshot when useUserCanSeeTeamHub returns true', () => {
+ jest.spyOn(myTeamMiniApp, 'useUserCanSeeTeamHub').mockReturnValue(true);
+ const component = create(<MyTeamStackNav />);
+ expect(component.toJSON()).toMatchSnapshot();
+ });
+
+ it('matches snapshot when useUserCanSeeTeamHub returns false', () => {
+ jest.spyOn(myTeamMiniApp, 'useUserCanSeeTeamHub').mockReturnValue(false);
const component = create(<MyTeamStackNav />);
expect(component.toJSON()).toMatchSnapshot();
- const MyTeamScreen = component.root.findByProps({name: 'myTeam.root'});
- expect(
- create(MyTeamScreen.props.options.headerLeft()).toJSON(),
- ).toMatchSnapshot();
- expect(
- create(MyTeamScreen.props.options.headerRight).toJSON(),
- ).toMatchSnapshot();
+ });
+ it('renders renderCommunicationHeader as headerRight', () => {
+ jest.spyOn(myTeamMiniApp, 'useUserCanSeeTeamHub').mockReturnValue(true);
+ const component = create(<MyTeamStackNav />);
+ const navigator = component.root.findByType(MyTeamStack.Navigator);
+ expect(navigator).toBeTruthy();
+
+ const screenOptions = navigator.props.screenOptions;
+
+ const headerRight = screenOptions.headerRight;
+ expect(headerRight).toBeTruthy();
+
+ const headerRightComponent = create(headerRight());
+ const headerRightInstances = headerRightComponent.root.findAllByType(
+ HomeHeaderRightContainer.Component,
+ );
+
+ expect(headerRightInstances.length).toBeGreaterThan(0);
+ expect(headerRightInstances[0]).toBeTruthy();
+ });
+ it('renders myTeam.root screen when showTeamHub is true', () => {
+ jest.spyOn(myTeamMiniApp, 'useUserCanSeeTeamHub').mockReturnValue(true);
+ create(<MyTeamStackNav />);
+ expect(myTeamMiniApp.default.buildScreen).toHaveBeenCalledWith(
+ 'myTeam.root',
+ {
+ Navigator: expect.anything(),
+ },
+ );
+ });
+
+ it('renders myTeam.rosterDetail screen when showTeamHub is false', () => {
+ jest.spyOn(myTeamMiniApp, 'useUserCanSeeTeamHub').mockReturnValue(false);
+ create(<MyTeamStackNav />);
+ expect(rosterMiniApp.default.buildScreen).toHaveBeenCalledWith(
+ 'myTeam.rosterDetail',
+ {Navigator: expect.anything()},
+ );
+ });
+
+ it('renders myTeam.rosterDetailScreen', () => {
+ create(<MyTeamStackNav />);
+ expect(myTeamMiniApp.default.buildScreens).toHaveBeenCalledWith(
+ ['myTeam.rosterDetailScreen'],
+ {Navigator: expect.anything()},
+ );
+ });
+
+ it('renders myTeam.allTeams', () => {
+ create(<MyTeamStackNav />);
+ expect(rosterMiniApp.default.buildScreens).toHaveBeenCalledWith(
+ ['myTeam.allTeams'],
+ {Navigator: expect.anything()},
+ );
});
});
--- core/__tests__/navigation/USHallway/AssociateHallwayNav/Tabs/__snapshots__/MyTeamStackNavTest.tsx.snap
@@ -1,53 +1,27 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`MyTeamStackNav matches snapshot 1`] = `
+exports[`MyTeamStackNav matches snapshot when useUserCanSeeTeamHub returns false 1`] = `
<Navigator
screenOptions={
{
"header": [Function],
"headerMode": "float",
- "headerShown": false,
+ "headerRight": [Function],
+ "headerShown": true,
}
}
->
- <Screen
- component={[Function]}
- name="myTeam.root"
- options={
- {
- "headerLeft": [Function],
- "title": "navigation.myTeam",
- }
- }
- />
-</Navigator>
+/>
`;
-exports[`MyTeamStackNav matches snapshot 2`] = `
-[
- <IconButton
- accessibilityLabel="drawerButton.accessiblityLabel"
- color="white"
- disabled={false}
- onPress={[Function]}
- size="medium"
- testID="navigationMenu"
- >
- <MenuIcon />
- </IconButton>,
- <View
- style={
- [
- {
- "position": "absolute",
- "right": 0,
- "top": 10,
- },
- undefined,
- ]
+exports[`MyTeamStackNav matches snapshot when useUserCanSeeTeamHub returns true 1`] = `
+<Navigator
+ screenOptions={
+ {
+ "header": [Function],
+ "headerMode": "float",
+ "headerRight": [Function],
+ "headerShown": true,
}
- />,
-]
+ }
+/>
`;
-
-exports[`MyTeamStackNav matches snapshot 3`] = `null`;
| feat(ui): Update my team mini app tests for Manager experience Drop 28 | feat(ui): Update my team mini app tests for Manager experience Drop 28
|
b661454b37cb7d3e4034802cce783a11c16d7e5d | --- packages/allspark-foundation/__tests__/Location/sagas.test.ts
@@ -0,0 +1,31 @@
+import { onInit, onFetch } from '../../src/Location/sagas';
+import { LocationActionCreators } from '../../src/Location/redux';
+
+beforeEach(() => {
+ jest.clearAllMocks();
+});
+
+describe('onInit and onFetch tests', () => {
+ it('should call onInit', ()=>{
+ const payload = 'test'
+ const getInit = onInit(LocationActionCreators.INIT(payload));
+ const nextInit = getInit.next();
+ expect(nextInit.value).toEqual(undefined);
+ expect(getInit.next().done).toBe(true)
+ })
+ it('should call onFetch', ()=>{
+ const payload = {
+ latitude: 30,
+ longitude: 40,
+ accuracy: 20,
+ altitude: 23,
+ heading: 2,
+ speed: null,
+ timestamp: null
+ }
+ const getFetch = onFetch(LocationActionCreators.FETCH(payload));
+ const nextFetch = getFetch.next();
+ expect(nextFetch.value).toEqual(undefined);
+ expect(getFetch.next().done).toBe(true)
+ })
+ });
\ No newline at end of file
| location sagas unit test | location sagas unit test
|
602e727cc18e0435de87a534a0d22530b08231de | --- targets/US/package.json
@@ -105,7 +105,7 @@
"@walmart/financial-wellbeing-feature-app": "1.26.0",
"@walmart/functional-components": "~6.3.28",
"@walmart/gta-react-native-calendars": "0.7.0",
- "@walmart/gtp-shared-components": "2.2.4",
+ "@walmart/gtp-shared-components": "2.2.6-rc.0",
"@walmart/ims-print-services-ui": "2.15.3",
"@walmart/inbox-mini-app": "0.96.8",
"@walmart/iteminfo-mini-app": "7.16.2",
--- yarn.lock
@@ -6561,9 +6561,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/gtp-shared-components@npm:2.2.4":
- version: 2.2.4
- resolution: "@walmart/gtp-shared-components@npm:2.2.4"
+"@walmart/gtp-shared-components@npm:2.2.6-rc.0":
+ version: 2.2.6-rc.0
+ resolution: "@walmart/gtp-shared-components@npm:2.2.6-rc.0"
dependencies:
"@livingdesign/tokens": "npm:0.74.0"
"@walmart/gtp-shared-icons": "npm:1.0.10"
@@ -6581,7 +6581,7 @@ __metadata:
bin:
installFonts: scripts/installFonts
runCodemods: scripts/runCodemods
- checksum: 10c0/52b172f006e950284c34fee7e2b05637f2eec0c3b857a491f6853302936e1b48efe121fcd209444ec7e5572b23a4495a090a2f55fa41447c00823adaca6c17a2
+ checksum: 10c0/768b7816bec720814f256919fa63e4ed4bc879b1969ba411755f25d240c97fa05f7ced8d99edff0be34f14294fce87f8db6a39d7ac81a555c0c24a499747f52d
languageName: node
linkType: hard
@@ -7126,7 +7126,7 @@ __metadata:
"@walmart/financial-wellbeing-feature-app": "npm:1.26.0"
"@walmart/functional-components": "npm:~6.3.28"
"@walmart/gta-react-native-calendars": "npm:0.7.0"
- "@walmart/gtp-shared-components": "npm:2.2.4"
+ "@walmart/gtp-shared-components": "npm:2.2.6-rc.0"
"@walmart/ims-print-services-ui": "npm:2.15.3"
"@walmart/inbox-mini-app": "npm:0.96.8"
"@walmart/iteminfo-mini-app": "npm:7.16.2"
| bumping gtp to 2.2.6-rc.0 | bumping gtp to 2.2.6-rc.0
|
ab2d17b7a138961ccabf4e31e94add8ecc268c1e | --- packages/allspark-foundation-hub/src/HubFeature/TeamSelection/Component/TeamSelectionListItem.tsx
@@ -45,10 +45,8 @@ export const TeamSelectionListItem = ({
accessible={false}
accessibilityLabel={teamName}
style={styles.teamInfoContainer}
- testID='teamSelectionlist-image-container'
>
<TeamImage
- accessibilityRole='image'
source={{ uri: Images[teamId]?.uri || Images['0000000'].uri }}
placeholder={Images[teamName]?.blurhash}
style={styles.teamImage}
| Removing test ids | Removing test ids
|
4293d17c7e8f28a3001bd0f29d3d7e722b0c8298 | --- packages/allspark-foundation-hub/src/HubFeature/Hub/HubWidget/index.tsx
@@ -56,11 +56,24 @@ export const HubWidget = ({
<View style={styles.container}>
{/* HEADER */}
<View style={styles.heading}>
- <IconComponent size='medium' color={colors.blue['100']} testID='icon' />
+ <IconComponent
+ size='medium'
+ color={colors.blue['100']}
+ testID='icon'
+ accessible
+ accessibilityRole='image'
+ accessibilityLabel={`${moduleTitle} - ${iconName}`}
+ />
<Heading UNSAFE_style={styles.title} size='medium' testID='heading'>
{moduleTitle}
</Heading>
- <Icons.ChevronRightIcon size='medium' UNSAFE_style={styles.leftIcon} />
+ <Icons.ChevronRightIcon
+ size='medium'
+ UNSAFE_style={styles.leftIcon}
+ accessible
+ accessibilityRole='link'
+ accessibilityLabel={`View ${moduleTitle}`}
+ />
</View>
{showShortIntro && (
| chore(ui): accessibility for widget component | chore(ui): accessibility for widget component
|
1fcf488a176b54c164213d82844cda07861afd63 | --- package-lock.json
@@ -46,7 +46,7 @@
"@walmart/counts-component-miniapp": "0.1.2",
"@walmart/emergency-mini-app": "1.19.0",
"@walmart/exception-mini-app": "1.0.16",
- "@walmart/facilities-management-miniapp": "0.5.22",
+ "@walmart/facilities-management-miniapp": "0.5.23",
"@walmart/feedback-all-spark-miniapp": "0.9.10",
"@walmart/financial-wellbeing-feature-app": "1.1.2",
"@walmart/functional-components": "2.0.6",
@@ -55,7 +55,7 @@
"@walmart/impersonation-mini-app": "1.11.0",
"@walmart/ims-print-services-ui": "1.2.2",
"@walmart/inbox-mini-app": "0.81.7",
- "@walmart/iteminfo-mini-app": "^5.3.5",
+ "@walmart/iteminfo-mini-app": "5.3.5",
"@walmart/manager-approvals-miniapp": "0.2.1",
"@walmart/me-field-mini-app": "1.1.45",
"@walmart/metrics-mini-app": "0.9.38",
@@ -5088,9 +5088,9 @@
}
},
"node_modules/@walmart/facilities-management-miniapp": {
- "version": "0.5.22",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.22.tgz",
- "integrity": "sha512-z7B4XGtpTX3jLW0gmMVCl7Di7mhDrPftH7f3tO9eketSsbTl0wvBLxEwqE3wcZCHji95ATrYgJb2zECTNTCapQ==",
+ "version": "0.5.23",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.23.tgz",
+ "integrity": "sha512-UHZE5SiYILGYy5hbcM9udRdK0043U7wO+0vgOF9qfDlJnVM+ISXSuH84cR8RP0vd/Oe5PMgUr0DL16eFVGSQXA==",
"hasInstallScript": true,
"peerDependencies": {
"@react-native-community/async-storage": "^1.12.1",
@@ -5125,7 +5125,7 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.4.0-rc.2",
"@walmart/redux-store": "3.1.2",
- "@walmart/taskit-mini-app": "0.49.0",
+ "@walmart/taskit-mini-app": "0.49.11",
"@walmart/ui-components": "1.5.0",
"axios": "^0.26.1",
"i18next": "^22.0.1",
@@ -25369,9 +25369,9 @@
"integrity": "sha512-mzesUeNPUwAWFUrFs6104aZ3NCM5eXa2uD8TrjL+BV+ZVgYG/A58k1xUUxNayw26w7Z41J7m4bxA9ctgNiNVMQ=="
},
"@walmart/facilities-management-miniapp": {
- "version": "0.5.22",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.22.tgz",
- "integrity": "sha512-z7B4XGtpTX3jLW0gmMVCl7Di7mhDrPftH7f3tO9eketSsbTl0wvBLxEwqE3wcZCHji95ATrYgJb2zECTNTCapQ=="
+ "version": "0.5.23",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.23.tgz",
+ "integrity": "sha512-UHZE5SiYILGYy5hbcM9udRdK0043U7wO+0vgOF9qfDlJnVM+ISXSuH84cR8RP0vd/Oe5PMgUr0DL16eFVGSQXA=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.9.10",
| Updating the package-lock | Updating the package-lock
|
6f463718001c6274930ea89f2371ea123a552d24 | --- package-lock.json
@@ -52,9 +52,9 @@
"@walmart/gta-react-native-calendars": "0.0.16",
"@walmart/gtp-shared-components": "2.0.4",
"@walmart/impersonation-mini-app": "1.17.2",
- "@walmart/ims-print-services-ui": "2.1.4",
+ "@walmart/ims-print-services-ui": "^2.2.1",
"@walmart/inbox-mini-app": "0.82.3",
- "@walmart/iteminfo-mini-app": "7.1.4",
+ "@walmart/iteminfo-mini-app": "^7.2.0",
"@walmart/manager-approvals-miniapp": "0.2.2",
"@walmart/me-field-mini-app": "1.3.0",
"@walmart/metrics-mini-app": "0.9.61",
@@ -63,7 +63,7 @@
"@walmart/onewalmart-miniapp": "1.0.14",
"@walmart/pay-stub-miniapp": "0.9.31",
"@walmart/payrollsolution_miniapp": "0.130.34",
- "@walmart/price-changes-mini-app": "1.9.0",
+ "@walmart/price-changes-mini-app": "^1.9.1",
"@walmart/profile-feature-app": "0.143.0",
"@walmart/push-to-talk-mini-app": "1.9.22",
"@walmart/react-native-encrypted-storage": "1.1.3",
@@ -5305,9 +5305,9 @@
}
},
"node_modules/@walmart/ims-print-services-ui": {
- "version": "2.1.4",
- "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-2.1.4.tgz",
- "integrity": "sha512-2m+Qn4oFjgw+eR14cO4UDiQg04RPRlkj97KDcXdDqXlY3G6AFkNUkR+pbreLzy/hYQHMKqlWeLny94MoenyOuw==",
+ "version": "2.2.1",
+ "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-2.2.1.tgz",
+ "integrity": "sha512-7B+UkLWGbNclEfUCtyxTlgcEfHUgpL4YORjcuQyer2G14zSW4WE6aL9xUES9cHxQzEUYdc9KjPbz6d7Z1+cjvA==",
"peerDependencies": {
"@react-native-firebase/analytics": ">=10.5.1",
"@react-native-firebase/app": ">=10.5.0",
@@ -5348,9 +5348,9 @@
}
},
"node_modules/@walmart/iteminfo-mini-app": {
- "version": "7.1.4",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.1.4.tgz",
- "integrity": "sha512-QHq9YvcJtLez/f9a8/0OvZ7BCQ+anUO8Mp5YvIadK122YBPzfMdxuzxBaszcl4yU388SXbof8fDjlhdQucuFSw==",
+ "version": "7.2.0",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.2.0.tgz",
+ "integrity": "sha512-Rj9vOIlNjNH31Pp9VNxqsOM91bu+eYigu55Pb8gveUMwYrpetoY0JWDMxBF16BXxY0N7Sr4jzjDKBtQg3F0VHw==",
"peerDependencies": {
"@react-native-community/async-storage": ">=1.12.1",
"@react-native-community/netinfo": ">=9.3.6",
@@ -5670,16 +5670,16 @@
}
},
"node_modules/@walmart/price-changes-mini-app": {
- "version": "1.9.0",
- "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.9.0.tgz",
- "integrity": "sha512-/zlb4vxkYeRGY/L48SvLQQQjz4DuaAe7GGnpHSx6thNTGrvhf5/6uHE3DdoGdcZPbfAPUgfSkEv7BGLJW9DwwA==",
+ "version": "1.9.1",
+ "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.9.1.tgz",
+ "integrity": "sha512-4SqpqNaItGhBW/TFcwXEe1LAa+eajtw7qPJxQOAzFBN8rde+RlddSCildlsEY2d6L7bxQcXo2OA6Co55V/TfUA==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
"@react-navigation/stack": "^6.1.0",
"@walmart/counts-component-miniapp": "0.1.2",
"@walmart/gtp-shared-components": "2.0.2",
- "@walmart/ims-print-services-ui": "^2.0.0",
+ "@walmart/ims-print-services-ui": "2.2.1",
"@walmart/react-native-scanner-3.0": "^0.1.27",
"@walmart/redux-store": "3.1.3",
"@walmart/ui-components": "^1.6.0",
@@ -25277,9 +25277,9 @@
"integrity": "sha512-IDynuXjrS0zBA66Fq8ZAHj6xx4Hllx1cS8xLpDFvon/29MB84aO/pY2QKTXmldOP5/GbW+buGk89mtsQ6jYUJQ=="
},
"@walmart/ims-print-services-ui": {
- "version": "2.1.4",
- "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-2.1.4.tgz",
- "integrity": "sha512-2m+Qn4oFjgw+eR14cO4UDiQg04RPRlkj97KDcXdDqXlY3G6AFkNUkR+pbreLzy/hYQHMKqlWeLny94MoenyOuw=="
+ "version": "2.2.1",
+ "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-2.2.1.tgz",
+ "integrity": "sha512-7B+UkLWGbNclEfUCtyxTlgcEfHUgpL4YORjcuQyer2G14zSW4WE6aL9xUES9cHxQzEUYdc9KjPbz6d7Z1+cjvA=="
},
"@walmart/inbox-mini-app": {
"version": "0.82.3",
@@ -25291,9 +25291,9 @@
}
},
"@walmart/iteminfo-mini-app": {
- "version": "7.1.4",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.1.4.tgz",
- "integrity": "sha512-QHq9YvcJtLez/f9a8/0OvZ7BCQ+anUO8Mp5YvIadK122YBPzfMdxuzxBaszcl4yU388SXbof8fDjlhdQucuFSw=="
+ "version": "7.2.0",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.2.0.tgz",
+ "integrity": "sha512-Rj9vOIlNjNH31Pp9VNxqsOM91bu+eYigu55Pb8gveUMwYrpetoY0JWDMxBF16BXxY0N7Sr4jzjDKBtQg3F0VHw=="
},
"@walmart/manager-approvals-miniapp": {
"version": "0.2.2",
@@ -25366,9 +25366,9 @@
}
},
"@walmart/price-changes-mini-app": {
- "version": "1.9.0",
- "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.9.0.tgz",
- "integrity": "sha512-/zlb4vxkYeRGY/L48SvLQQQjz4DuaAe7GGnpHSx6thNTGrvhf5/6uHE3DdoGdcZPbfAPUgfSkEv7BGLJW9DwwA=="
+ "version": "1.9.1",
+ "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.9.1.tgz",
+ "integrity": "sha512-4SqpqNaItGhBW/TFcwXEe1LAa+eajtw7qPJxQOAzFBN8rde+RlddSCildlsEY2d6L7bxQcXo2OA6Co55V/TfUA=="
},
"@walmart/profile-feature-app": {
"version": "0.143.0"
--- package.json
@@ -94,9 +94,9 @@
"@walmart/gta-react-native-calendars": "0.0.16",
"@walmart/gtp-shared-components": "2.0.4",
"@walmart/impersonation-mini-app": "1.17.2",
- "@walmart/ims-print-services-ui": "2.1.4",
+ "@walmart/ims-print-services-ui": "2.2.1",
"@walmart/inbox-mini-app": "0.82.3",
- "@walmart/iteminfo-mini-app": "7.1.4",
+ "@walmart/iteminfo-mini-app": "7.2.0",
"@walmart/manager-approvals-miniapp": "0.2.2",
"@walmart/me-field-mini-app": "1.3.0",
"@walmart/metrics-mini-app": "0.9.61",
@@ -105,7 +105,7 @@
"@walmart/onewalmart-miniapp": "1.0.14",
"@walmart/pay-stub-miniapp": "0.9.31",
"@walmart/payrollsolution_miniapp": "0.130.34",
- "@walmart/price-changes-mini-app": "1.9.0",
+ "@walmart/price-changes-mini-app": "1.9.1",
"@walmart/profile-feature-app": "0.143.0",
"@walmart/push-to-talk-mini-app": "1.9.22",
"@walmart/react-native-encrypted-storage": "1.1.3",
| PC drop 11 | S2A | Bug fixes | PC drop 11 | S2A | Bug fixes
|
3437d4e230eba5b8cd10c4149dd7e1913be54cac | --- package-lock.json
@@ -73,7 +73,7 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.5.0",
- "@walmart/receipt-check-miniapp": "1.8.22",
+ "@walmart/receipt-check-miniapp": "1.8.27",
"@walmart/redux-store": "3.1.3",
"@walmart/refrigeration-alarms-mini-app": "1.35.0",
"@walmart/returns-mini-app": "0.6.0",
@@ -5712,9 +5712,9 @@
}
},
"node_modules/@walmart/receipt-check-miniapp": {
- "version": "1.8.22",
- "resolved": "https://npme.walmart.com/@walmart/receipt-check-miniapp/-/receipt-check-miniapp-1.8.22.tgz",
- "integrity": "sha512-SQMPc13sGyjILd4BlA6dkYO+ePiFKsZHZVGXFDj/dfqnECBc9wb8fsCEWrpS8dosk1KVGxdVZcfXTg8u7DunKQ==",
+ "version": "1.8.27",
+ "resolved": "https://npme.walmart.com/@walmart/receipt-check-miniapp/-/receipt-check-miniapp-1.8.27.tgz",
+ "integrity": "sha512-ivD/+HE/4LSsh1YUT6SmmUhK0gRkr0MKtwEPG4IgjcROA3knwNA3meFhBft+e7ETZqopcAojYagF0x95zFs7Ng==",
"dependencies": {
"@walmart/tcnumber": "^2.3.3",
"@xstate/react": "^3.0.1",
@@ -25024,9 +25024,9 @@
"integrity": "sha512-VkGT8BSZOsxR4FJjxeu6ursO3qzAVZea6jEwT6KJsXgBJ9MIHhkBo78guM6kEbqqQl3SlGS/+5tbOxKdWrvStQ=="
},
"@walmart/receipt-check-miniapp": {
- "version": "1.8.22",
- "resolved": "https://npme.walmart.com/@walmart/receipt-check-miniapp/-/receipt-check-miniapp-1.8.22.tgz",
- "integrity": "sha512-SQMPc13sGyjILd4BlA6dkYO+ePiFKsZHZVGXFDj/dfqnECBc9wb8fsCEWrpS8dosk1KVGxdVZcfXTg8u7DunKQ==",
+ "version": "1.8.27",
+ "resolved": "https://npme.walmart.com/@walmart/receipt-check-miniapp/-/receipt-check-miniapp-1.8.27.tgz",
+ "integrity": "sha512-ivD/+HE/4LSsh1YUT6SmmUhK0gRkr0MKtwEPG4IgjcROA3knwNA3meFhBft+e7ETZqopcAojYagF0x95zFs7Ng==",
"requires": {
"@walmart/tcnumber": "^2.3.3",
"@xstate/react": "^3.0.1",
--- package.json
@@ -73,7 +73,6 @@
"@react-navigation/stack": "^6.1.0",
"@sharcoux/slider": "^6.1.1",
"@terrylinla/react-native-sketch-canvas": "0.8.0",
- "@walmart/OneWalmart-MiniApp": "1.0.12",
"@walmart/allspark-home-mini-app": "0.6.14",
"@walmart/allspark-neon-core": "0.1.31",
"@walmart/amp-mini-app": "0.2.13",
@@ -103,6 +102,7 @@
"@walmart/metrics-mini-app": "0.9.36",
"@walmart/mod-flex-mini-app": "1.3.15",
"@walmart/moment-walmart": "1.0.4",
+ "@walmart/OneWalmart-MiniApp": "1.0.12",
"@walmart/pay-stub-miniapp": "0.9.7",
"@walmart/payrollsolution_miniapp": "0.130.14",
"@walmart/price-changes-mini-app": "1.6.10",
@@ -115,7 +115,7 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.5.0",
- "@walmart/receipt-check-miniapp": "1.8.22",
+ "@walmart/receipt-check-miniapp": "1.8.27",
"@walmart/redux-store": "3.1.3",
"@walmart/refrigeration-alarms-mini-app": "1.35.0",
"@walmart/returns-mini-app": "0.6.0",
| bump version for receipt check hotfix | bump version for receipt check hotfix
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.