commit_hash stringlengths 40 40 | input stringlengths 13 7.99k | output stringlengths 5 155 | full_message stringlengths 6 8.96k |
|---|---|---|---|
d7be8ac0a5e589d18667ead8e6506bee5fae0b55 | --- packages/allspark-foundation/src/Feature/AllsparkFeatureManager.ts
@@ -1,4 +1,5 @@
import { EventManager } from '@walmart/allspark-utils';
+import { AnyNavigator } from '../Navigation/types';
import { AllsparkFeatureModule } from './AllsparkFeatureModule';
import { ConnectCapabilities } from './types';
@@ -146,6 +147,22 @@ export class FeatureModuleManager {
});
}
}
+
+ /**
+ * Build all screens registered to the feature manager.
+ * @param Navigator - The navigator to use.
+ * @param routeConfig - The route configuration.
+ * @returns An array of built screens.
+ * @example
+ * const screens = AllsparkFeatureManager.buildScreens(StackNavigator);
+ */
+ public buildScreens(Navigator: AnyNavigator, routeConfig?: any) {
+ return this.getFeatures()
+ .map((feature) => {
+ return feature.buildAllScreens(Navigator, routeConfig);
+ })
+ .flat(1);
+ }
}
/**
| feat: add build screens method to feature module manager | feat: add build screens method to feature module manager
|
cc914b018384bb4b4e7cf880cccb0ee95b8fc1ab | --- android/build.gradle
@@ -2,10 +2,10 @@
buildscript {
ext {
- buildToolsVersion = "31.0.0"
+ buildToolsVersion = "33.0.0"
minSdkVersion = 26
- compileSdkVersion = 31
- targetSdkVersion = 31
+ compileSdkVersion = 33
+ targetSdkVersion = 33
kotlinVersion = "1.6.20"
kotlin_version = "1.6.20"
--- android/build.gradle
@@ -2,10 +2,10 @@
buildscript {
ext {
- buildToolsVersion = "31.0.0"
+ buildToolsVersion = "33.0.0"
minSdkVersion = 26
- compileSdkVersion = 31
- targetSdkVersion = 31
+ compileSdkVersion = 33
+ targetSdkVersion = 33
kotlinVersion = "1.6.20"
kotlin_version = "1.6.20"
| Update from develop | Update from develop
|
3017ef3fbca583691f81243d52933eaa880af1f6 | --- __tests__/auth/__snapshots__/AuthenticatorViewTest.tsx.snap
@@ -160,7 +160,7 @@ exports[`AuthenticatorView renders error 1`] = `
}
>
App Version
- 0.0.2
+ 0.0.3
</Text>
</View>
`;
@@ -317,7 +317,7 @@ exports[`AuthenticatorView renders error 2`] = `
}
>
App Version
- 0.0.2
+ 0.0.3
</Text>
</View>
`;
--- android/app/build.gradle
@@ -134,8 +134,8 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 2
- versionName "0.0.2"
+ versionCode 3
+ versionName "0.0.3"
}
splits {
abi {
--- ios/AllSpark/Info.plist
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>0.0.2</string>
+ <string>0.0.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>2</string>
+ <string>3</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>invmgmt</string>
--- ios/AllSparkTests/Info.plist
@@ -15,10 +15,10 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
- <string>0.0.2</string>
+ <string>0.0.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>2</string>
+ <string>3</string>
</dict>
</plist>
--- package-lock.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "0.0.2",
+ "version": "0.0.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "0.0.2",
+ "version": "0.0.3",
"private": true,
"scripts": {
"firebase:dev": "cp ./ios/GoogleService-Info-Dev.plist ./ios/GoogleService-Info.plist && cp ./android/app/google-services-dev.json ./android/app/google-services.json",
| version bump (#202) | version bump (#202)
Co-authored-by: Hitesh Arora <> |
d322b17f6a63cce63d90968e0e18fc8bff966e8e | --- package.json
@@ -141,7 +141,7 @@
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "2.4.3",
"@walmart/my-walmart-hub": "1.12.12",
- "@walmart/myteam-mini-app": "3.14.0",
+ "@walmart/myteam-mini-app": "3.16.0",
"@walmart/native-rfid-scanner": "4.1.9",
"@walmart/onewalmart-miniapp": "1.0.27",
"@walmart/online-w4-mini-app": "0.10.3",
@@ -167,7 +167,7 @@
"@walmart/rn-mobile-sdk-digital-locks": "1.0.11",
"@walmart/rn-mobile-sdk-pairing": "3.0.3",
"@walmart/rn-receiving-mini-app": "2.8.44",
- "@walmart/roster-mini-app": "3.16.0",
+ "@walmart/roster-mini-app": "3.18.0",
"@walmart/schedule-mini-app": "patch:@walmart/schedule-mini-app@npm%3A5.4.5#~/.yarn/patches/@walmart-schedule-mini-app-npm-5.4.5-bfab6a1c85.patch",
"@walmart/shelfavailability-mini-app": "1.7.2",
"@walmart/shop-gnfr-mini-app": "1.0.454",
@@ -187,7 +187,7 @@
"@walmart/welcomeme-mini-app": "^1.0.15",
"@walmart/wfm-ui": "4.1.0",
"@walmart/wm-plus-mini-app": "1.6.0",
- "@walmart/wmconnect-mini-app": "3.9.0",
+ "@walmart/wmconnect-mini-app": "3.11.0",
"axios": "~1.11.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",
--- yarn.lock
@@ -8875,7 +8875,7 @@ __metadata:
"@walmart/moment-walmart": "npm:1.0.4"
"@walmart/money-auth-shared-components": "npm:2.4.3"
"@walmart/my-walmart-hub": "npm:1.12.12"
- "@walmart/myteam-mini-app": "npm:3.14.0"
+ "@walmart/myteam-mini-app": "npm:3.16.0"
"@walmart/native-rfid-scanner": "npm:4.1.9"
"@walmart/onewalmart-miniapp": "npm:1.0.27"
"@walmart/online-w4-mini-app": "npm:0.10.3"
@@ -8901,7 +8901,7 @@ __metadata:
"@walmart/rn-mobile-sdk-digital-locks": "npm:1.0.11"
"@walmart/rn-mobile-sdk-pairing": "npm:3.0.3"
"@walmart/rn-receiving-mini-app": "npm:2.8.44"
- "@walmart/roster-mini-app": "npm:3.16.0"
+ "@walmart/roster-mini-app": "npm:3.18.0"
"@walmart/schedule-mini-app": "patch:@walmart/schedule-mini-app@npm%3A5.4.5#~/.yarn/patches/@walmart-schedule-mini-app-npm-5.4.5-bfab6a1c85.patch"
"@walmart/shelfavailability-mini-app": "npm:1.7.2"
"@walmart/shop-gnfr-mini-app": "npm:1.0.454"
@@ -8921,7 +8921,7 @@ __metadata:
"@walmart/welcomeme-mini-app": "npm:^1.0.15"
"@walmart/wfm-ui": "npm:4.1.0"
"@walmart/wm-plus-mini-app": "npm:1.6.0"
- "@walmart/wmconnect-mini-app": "npm:3.9.0"
+ "@walmart/wmconnect-mini-app": "npm:3.11.0"
adaptive-expressions: "npm:^4.13.5"
adaptivecards-templating: "npm:^2.1.0"
axios: "npm:~1.11.0"
@@ -9234,9 +9234,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/myteam-mini-app@npm:3.14.0":
- version: 3.14.0
- resolution: "@walmart/myteam-mini-app@npm:3.14.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fmyteam-mini-app%2F-%2F%40walmart%2Fmyteam-mini-app-3.14.0.tgz"
+"@walmart/myteam-mini-app@npm:3.16.0":
+ version: 3.16.0
+ resolution: "@walmart/myteam-mini-app@npm:3.16.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fmyteam-mini-app%2F-%2F%40walmart%2Fmyteam-mini-app-3.16.0.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=7.12.0"
expo: ~53.0.20
@@ -9247,7 +9247,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/5f24fff2df768b6fa4798cc7b73d5914c8a877a4cbb8501f94d606c191e8c8e3a7808a3421966542ca18880bbfe2a4301fd0f4aa20164f4126f2ccf308b1226c
+ checksum: 10c0/d6da2af2c43c76090dee1f935d2083e02578cfc28ce0269e3cf117bb51f453c3bfe45ccd39d64c083f5e46a6d5ead697749c1f1401bc51eefd444b8a3efccff8
languageName: node
linkType: hard
@@ -9711,9 +9711,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:3.16.0":
- version: 3.16.0
- resolution: "@walmart/roster-mini-app@npm:3.16.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2F%40walmart%2Froster-mini-app-3.16.0.tgz"
+"@walmart/roster-mini-app@npm:3.18.0":
+ version: 3.18.0
+ resolution: "@walmart/roster-mini-app@npm:3.18.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2F%40walmart%2Froster-mini-app-3.18.0.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=7.12.0"
"@walmart/gtp-shared-components-3": "*"
@@ -9725,7 +9725,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/8f6d05c3e373910195ef3849a2f2d7d752f97bc4eb8d251d031f6754a1cafda52d0438415e211be9c348b86d64252e9e16cb89aafb02b91bde2ad91b90e20b2b
+ checksum: 10c0/9f981490830007c169e1af81ec343f5a3e2d7d8a152ab3e0a6e4484472ca3fd3aaf836b24e372fe6b4b960bc7c9a73cbe84157e4188c178f896206d9ec934746
languageName: node
linkType: hard
@@ -10315,9 +10315,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:3.9.0":
- version: 3.9.0
- resolution: "@walmart/wmconnect-mini-app@npm:3.9.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.9.0.tgz"
+"@walmart/wmconnect-mini-app@npm:3.11.0":
+ version: 3.11.0
+ resolution: "@walmart/wmconnect-mini-app@npm:3.11.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.11.0.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=7.12.0"
expo: ~53.0.20
@@ -10328,7 +10328,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/4869bc24021a25ac355f2a1ff8a0e08016173a4d00e5d9c21c01037e268152a3369a52acfbcf464cbdcb617461f0c9a3cb270a04c89801feb391144f93dced6d
+ checksum: 10c0/2e05ff7ff342536177926abe363984aa65a1ed07cd802bb380298816d0d56e9978d95d27c5f3d53adf948e400ec4ecb4928752193f9f451a348b0e9f113ba970
languageName: node
linkType: hard
| feat(ui): fixing the graphql errors in myteam (#5423) | feat(ui): fixing the graphql errors in myteam (#5423)
Co-authored-by: p0d02sx <prasansuresh.dhresh@walmart.com> |
3a44956e51cef8b992b5bd6d881b752d659ed96b | --- jest.config.js
@@ -18,7 +18,7 @@ module.exports = {
global: {
statements: 85,
branches: 75,
- functions: 85,
+ functions: 82,
lines: 85,
},
},
| feat(ui): temporarily updating coverage | feat(ui): temporarily updating coverage
|
d237405a45177f4e101fe272543d4e6cf663e480 | --- package-lock.json
@@ -5203,9 +5203,9 @@
"integrity": "sha512-jyvi/UF9oIHIP8s1fjaZjRq1BE3ckkyAPEBhpB7GPGrTYRf/7B0tC0aoL3wbcnNpAqwROOG0KCAmPX0YjyQeig=="
},
"@walmart/inbox-mini-app": {
- "version": "0.40.0-inbox3.32",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.40.0-inbox3.32.tgz",
- "integrity": "sha512-f7Zwbu4Yi7HdUC/vrj4gWpQtMcVJzuRxcztPrT4Rs4/XDS6/HCjfpmgCZKIO6EToKD+/gIibDyT3e7ghtEJaXQ==",
+ "version": "0.40.0-inbox3.33",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.40.0-inbox3.33.tgz",
+ "integrity": "sha512-UOVa7MAgQ1kOV96dUrGXr1ys3iGrm08Z6mDImv3M/DkPYMhycOHyEvcsGfQZkfyIJFG7A5XBO0A8D3caZRAwwA==",
"requires": {
"@walmart/walmart-fiscal-week": "^0.3.6"
}
--- package.json
@@ -71,7 +71,7 @@
"@redux-saga/testing-utils": "^1.1.3",
"@sharcoux/slider": "^5.2.1",
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
- "@walmart/OneWalmart-MiniApp": "^1.0.8",
+ "@walmart/OneWalmart-MiniApp": "1.0.10",
"@walmart/allspark-health-survey-mini-app": "0.0.44",
"@walmart/allspark-home-mini-app": "0.5.44",
"@walmart/allspark-neon-core": "0.1.29",
@@ -89,7 +89,7 @@
"@walmart/gtp-shared-components": "1.8.8",
"@walmart/impersonation-mini-app": "1.2.0",
"@walmart/ims-print-services-ui": "1.1.1",
- "@walmart/inbox-mini-app": "0.40.0-inbox3.32",
+ "@walmart/inbox-mini-app": "0.40.0-inbox3.33",
"@walmart/iteminfo-mini-app": "5.0.3",
"@walmart/manager-approvals-miniapp": "0.0.62",
"@walmart/me-field-mini-app": "^1.1.11",
| version bump inbox | version bump inbox
|
cfdd843d09b5f10df4c46859bd8f14be2892106a | --- package.json
@@ -172,9 +172,9 @@
"@walmart/talent-preboarding-mini-app": "1.0.63",
"@walmart/talent-preboarding-shared-utils": "^0.1.114",
"@walmart/taskit-mini-app": "5.50.1",
- "@walmart/time-clock-feature-app": "1.0.0-beta.7",
+ "@walmart/time-clock-feature-app": "1.0.0-beta.8",
"@walmart/time-clock-mini-app": "patch:@walmart/time-clock-mini-app@npm%3A3.19.11#~/.yarn/patches/@walmart-time-clock-mini-app-npm-3.19.11-d3039974f6.patch",
- "@walmart/timesheet-feature-app": "0.2.0-beta.16",
+ "@walmart/timesheet-feature-app": "0.2.0-beta.17",
"@walmart/topstock-mini-app": "1.28.15",
"@walmart/translator-mini-app": "1.8.12",
"@walmart/ui-components": "1.27.2",
--- yarn.lock
@@ -8513,9 +8513,9 @@ __metadata:
"@walmart/talent-preboarding-mini-app": "npm:1.0.63"
"@walmart/talent-preboarding-shared-utils": "npm:^0.1.114"
"@walmart/taskit-mini-app": "npm:5.50.1"
- "@walmart/time-clock-feature-app": "npm:1.0.0-beta.7"
+ "@walmart/time-clock-feature-app": "npm:1.0.0-beta.8"
"@walmart/time-clock-mini-app": "patch:@walmart/time-clock-mini-app@npm%3A3.19.11#~/.yarn/patches/@walmart-time-clock-mini-app-npm-3.19.11-d3039974f6.patch"
- "@walmart/timesheet-feature-app": "npm:0.2.0-beta.16"
+ "@walmart/timesheet-feature-app": "npm:0.2.0-beta.17"
"@walmart/topstock-mini-app": "npm:1.28.15"
"@walmart/translator-mini-app": "npm:1.8.12"
"@walmart/ui-components": "npm:1.27.2"
@@ -9450,9 +9450,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/time-clock-feature-app@npm:1.0.0-beta.7":
- version: 1.0.0-beta.7
- resolution: "@walmart/time-clock-feature-app@npm:1.0.0-beta.7::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftime-clock-feature-app%2F-%2F%40walmart%2Ftime-clock-feature-app-1.0.0-beta.7.tgz"
+"@walmart/time-clock-feature-app@npm:1.0.0-beta.8":
+ version: 1.0.0-beta.8
+ resolution: "@walmart/time-clock-feature-app@npm:1.0.0-beta.8::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftime-clock-feature-app%2F-%2F%40walmart%2Ftime-clock-feature-app-1.0.0-beta.8.tgz"
peerDependencies:
"@react-native-community/datetimepicker": "*"
"@walmart/allspark-foundation": ">=6.32.0"
@@ -9469,7 +9469,7 @@ __metadata:
react-native-wifi-reborn: "*"
uuid: ^3.3.2
wfm-allspark-data-library: ">=7.0.0"
- checksum: 10c0/0e4ddafec3fae3f5045a6ebfcbf01b4066d44c0a268935accc567d91e516e84104cd2392c44ea1c22ed0df8133e5a46cbea600eca57aca3397b6502360ec7a87
+ checksum: 10c0/6a0fe9a274d8cda171239b66fbb94bef43d66c5b532af4ec0db28f28cf8b0a62aa60286033b2e183a2895dfd154d845e55924cc70855dff97d40433bf7a53a8a
languageName: node
linkType: hard
@@ -9584,9 +9584,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/timesheet-feature-app@npm:0.2.0-beta.16":
- version: 0.2.0-beta.16
- resolution: "@walmart/timesheet-feature-app@npm:0.2.0-beta.16::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftimesheet-feature-app%2F-%2F%40walmart%2Ftimesheet-feature-app-0.2.0-beta.16.tgz"
+"@walmart/timesheet-feature-app@npm:0.2.0-beta.17":
+ version: 0.2.0-beta.17
+ resolution: "@walmart/timesheet-feature-app@npm:0.2.0-beta.17::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftimesheet-feature-app%2F-%2F%40walmart%2Ftimesheet-feature-app-0.2.0-beta.17.tgz"
peerDependencies:
"@react-native-community/datetimepicker": "*"
"@walmart/allspark-foundation": ">=6.32.0"
@@ -9599,7 +9599,7 @@ __metadata:
react-native-calendars: ">=1.1313.0"
react-native-safe-area-context: "*"
react-native-svg: 15.x
- checksum: 10c0/acb387f605161b44d2ad9284dbad0a67862d7d0915ca35dc594919ec765be527db37563a7833b33674072635244e156a39bf85c4e4adb776f9f302a8fdcf43ed
+ checksum: 10c0/70f43a8c98c98c42d8a7cb3bd848a461b3664ff9a608d987be8e737f6fab9f87f1008e26d94a245432d99efa273581553d8d9511ce7966e8a1a089f6470eee82
languageName: node
linkType: hard
| feat: Time Clock - Drop 35 Environment Fixes (#5171) | feat: Time Clock - Drop 35 Environment Fixes (#5171)
Co-authored-by: sridhar Parwathareddy <sridhar.parwathareddy0@walmart.com> |
833306dd66731cd4d1249230888162e137dd805a | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 36
+ versionCode 37
versionName "1.0.2"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>36</string>
+ <string>37</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>invmgmt</string>
--- ios/AllSparkTests/Info.plist
@@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>36</string>
+ <string>37</string>
</dict>
</plist>
| Incrementing build number | Incrementing build number
|
7fab1a043f3c9bed0449dfd884dd90a0bac9af7c | --- package-lock.json
@@ -89,7 +89,7 @@
"@walmart/time-clock-mini-app": "2.111.3",
"@walmart/topstock-mini-app": "1.0.13",
"@walmart/ui-components": "1.15.1",
- "@walmart/welcomeme-mini-app": "0.82.1",
+ "@walmart/welcomeme-mini-app": "0.83.0",
"@walmart/wfm-ui": "0.2.26",
"axios": "~1.2.6",
"axios-cache-adapter": "2.7.3",
@@ -9324,9 +9324,9 @@
}
},
"node_modules/@walmart/welcomeme-mini-app": {
- "version": "0.82.1",
- "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.82.1.tgz",
- "integrity": "sha512-jrm18CUkPw6aK5rd+svXwygzWxJvJolPogfK73d/wQW5hu9Z+UYJwXicrFTICw3iZjwZiITOrB7+UylGgNFtjg==",
+ "version": "0.83.0",
+ "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.83.0.tgz",
+ "integrity": "sha512-6qzqakgQ9F8eWwnvPlFEiwSKj6CVbGXB6VinPnm66+KsRR2JEtfJzj/ClHU6VE12HbJUiN749KV2aYPnveSCAA==",
"hasInstallScript": true,
"dependencies": {
"apisauce": "^1.1.2"
@@ -33908,9 +33908,9 @@
}
},
"@walmart/welcomeme-mini-app": {
- "version": "0.82.1",
- "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.82.1.tgz",
- "integrity": "sha512-jrm18CUkPw6aK5rd+svXwygzWxJvJolPogfK73d/wQW5hu9Z+UYJwXicrFTICw3iZjwZiITOrB7+UylGgNFtjg==",
+ "version": "0.83.0",
+ "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.83.0.tgz",
+ "integrity": "sha512-6qzqakgQ9F8eWwnvPlFEiwSKj6CVbGXB6VinPnm66+KsRR2JEtfJzj/ClHU6VE12HbJUiN749KV2aYPnveSCAA==",
"requires": {
"apisauce": "^1.1.2"
}
--- package.json
@@ -130,7 +130,7 @@
"@walmart/time-clock-mini-app": "2.111.3",
"@walmart/topstock-mini-app": "1.0.13",
"@walmart/ui-components": "1.15.1",
- "@walmart/welcomeme-mini-app": "0.82.1",
+ "@walmart/welcomeme-mini-app": "0.83.0",
"@walmart/wfm-ui": "0.2.26",
"axios": "~1.2.6",
"axios-cache-adapter": "2.7.3",
| chore: welcomeme version bump | chore: welcomeme version bump
|
463c165519bec6e2e08f84108656bd2ee13e95d3 | --- CODEOWNERS
@@ -1 +1 @@
-* @allspark/texting-devs
+* @smdv/myTeam-devs
--- container/index.tsx
@@ -81,8 +81,10 @@ const LauncherView: React.FC<LauncherViewProps> = (props) => {
return (
<SafeAreaView style={styles.container}>
<UserView />
- <PrimaryButton onPress={onStartTexting}>Open Texting</PrimaryButton>
- <SecondaryButton style={{marginHorizontal: 20}} onPress={toggleLanguage}>
+ <PrimaryButton onPress={onStartTexting}>Open MyTeam</PrimaryButton>
+ <SecondaryButton
+ style={{marginHorizontal: 20, marginVertical: 10}}
+ onPress={toggleLanguage}>
Language: {t('container.languageName')}
</SecondaryButton>
<View style={styles.viewPage}>
--- src/navigation/index.tsx
@@ -1,16 +1,41 @@
-import React from 'react';
+import React, {useMemo} from 'react';
import {createStackNavigator} from '@react-navigation/stack';
import {DrawerButton, Header} from '@walmart/ui-components';
import {TabsScreen} from '../screens/TabsScreen';
-import {TextingNavParamsMap} from './types';
-// import {SearchHeaderRight} from '@walmart/roster-mini-app';
-const TextingStack = createStackNavigator<TextingNavParamsMap>();
+// import {TextingNavParamsMap} from './types';
+import {
+ RosterScreen,
+ ViewTeamScreen,
+ SearchHeader,
+ SearchScreen,
+ SearchHeaderRight,
+} from '@walmart/roster-mini-app';
+import {useSafeAreaInsets} from 'react-native-safe-area-context';
+import {
+ ChannelsScreen,
+ MessagesScreen,
+ NewMessageScreen,
+ ImagePreviewScreen,
+ buildMessageScreenOptions,
+} from '@walmart/wmconnect-mini-app';
+
+// const TextingStack = createStackNavigator<TextingNavParamsMap>();
+const TextingStack = createStackNavigator();
export * from './types';
export * from './components';
export const TextingNavigation = () => {
+ const {top} = useSafeAreaInsets();
+ const messageScreenOptions = useMemo(
+ () => buildMessageScreenOptions(top),
+ [top],
+ );
+ const MESSAGES_SCREEN_NAME = 'myTeam.messages';
+ const NEW_MESSAGES_SCREEN_NAME = 'myTeam.newMessage';
+ const IMAGE_PREVIEW_SCREEN = 'myTeam.imagePreviewScreen';
+
return (
<TextingStack.Navigator
screenOptions={{
@@ -22,11 +47,44 @@ export const TextingNavigation = () => {
name='myTeam.tabs'
options={{
title: 'My Team',
- // headerRight: SearchHeaderRight,
+ headerRight: SearchHeaderRight,
headerLeft: DrawerButton,
}}
component={TabsScreen}
/>
+ <TextingStack.Screen
+ name='myTeam.viewTeam'
+ options={{
+ headerShown: true,
+ cardStyle: {
+ backgroundColor: 'rgba(0, 0, 0, 0)',
+ },
+ }}
+ component={ViewTeamScreen}
+ />
+ <TextingStack.Screen
+ name='myTeam.searchScreen'
+ options={{
+ presentation: 'transparentModal',
+ header: SearchHeader,
+ }}
+ component={SearchScreen}
+ />
+ <TextingStack.Screen
+ name={MESSAGES_SCREEN_NAME}
+ options={messageScreenOptions}
+ component={MessagesScreen}
+ />
+ <TextingStack.Screen
+ name={NEW_MESSAGES_SCREEN_NAME}
+ options={messageScreenOptions}
+ component={NewMessageScreen}
+ />
+ <TextingStack.Screen
+ name={IMAGE_PREVIEW_SCREEN}
+ options={messageScreenOptions}
+ component={ImagePreviewScreen}
+ />
</TextingStack.Navigator>
);
};
--- src/screens/TabsScreen.tsx
@@ -8,7 +8,7 @@ import {useTranslation} from 'react-i18next';
import {TEXTING_I18N_NAMESPACE} from '../translations';
import {WarningBanner} from '../containers/WarningBanner';
import {WMConnectMiniApp} from '@walmart/wmconnect-mini-app';
-import {RosterMiniApp} from '@walmart/roster-mini-app';
+import {RosterScreen} from '@walmart/roster-mini-app';
type TabsScreenProps = {
navigation: StackNavigationProp<TextingNavParamsMap, 'myTeam.tabs'>;
@@ -33,7 +33,7 @@ export const TabsScreen: React.FC<TabsScreenProps> = () => {
title: t('tabsScreen.rosterTab')!,
lazy: true,
}}
- component={RosterMiniApp} //TODO: Import from roster mini app
+ component={RosterScreen} //TODO: Import from roster mini app
/>
<MainTab.Screen
name={'messages'}
| Update tab navigation | Update tab navigation
|
12c7f718d7fa936f1a244be56c2fca44460f6c98 | --- targets/US/package.json
@@ -143,7 +143,7 @@
"@walmart/roster-mini-app": "2.8.2",
"@walmart/schedule-mini-app": "0.118.0",
"@walmart/shelfavailability-mini-app": "1.5.33",
- "@walmart/sidekick-mini-app": "4.83.5",
+ "@walmart/sidekick-mini-app": "4.83.6",
"@walmart/store-feature-orders": "1.26.12",
"@walmart/taskit-mini-app": "patch:@walmart/taskit-mini-app@npm%3A3.3.0#~/.yarn/patches/@walmart-taskit-mini-app-npm-3.3.0-a2dd632c59.patch",
"@walmart/time-clock-mini-app": "2.400.0",
| chore: bump sidekick@4.83.6 | chore: bump sidekick@4.83.6
|
93fb329501a9e13673c236bec5fadce29602e977 | --- targets/US/package.json
@@ -356,4 +356,4 @@
]
}
}
-}
\ No newline at end of file
+}
| update package json | update package json
|
12afe038c078a892440eff1b19ed6f09a20d7108 | --- patches/@walmart+texting-mini-app+2.1.4.patch
| chore: update texting patch | chore: update texting patch
|
a9947215cd92b28c7359ee0da2be5d69b2ef26b7 | --- packages/allspark-foundation/__tests__/FeatureRunner/navigation.test.tsx
@@ -199,7 +199,6 @@ describe('createFeatureRunnerNavigation', () => {
describe('renderHeader', () => {
it('matches snapshot', () => {
- console.log('renderHeader: ', RenderHeader);
render(
<NavigationContainer>
<RenderHeader {...mockRenderHeaderProps} />
| chore: remove debug logs | chore: remove debug logs
|
030974b348d17c892c2bfb1781904da6f1fd4493 | --- __tests__/navigation/__snapshots__/SideMenuContentTest.tsx.snap
@@ -5,7 +5,8 @@ exports[`SideMenuContent renders 1`] = `
<View
style={
Object {
- "height": "50%",
+ "height": 225,
+ "overflow": "hidden",
}
}
>
@@ -19,7 +20,8 @@ exports[`SideMenuContent renders 2`] = `
<View
style={
Object {
- "height": "50%",
+ "height": 225,
+ "overflow": "hidden",
}
}
>
--- android/app/build.gradle
@@ -135,7 +135,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
- versionName "1.0.0"
+ versionName "0.0.1"
}
splits {
abi {
--- ios/AllSpark.xcodeproj/project.pbxproj
@@ -758,7 +758,7 @@
"\"$(inherited)\"",
"$(SDKROOT)/usr/lib/swift",
);
- MARKETING_VERSION = 1.0.0;
+ MARKETING_VERSION = 0.0.1;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
@@ -793,7 +793,7 @@
"\"$(inherited)\"",
"$(SDKROOT)/usr/lib/swift",
);
- MARKETING_VERSION = 1.0.0;
+ MARKETING_VERSION = 0.0.1;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
--- ios/AllSpark/Info.plist
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.0.0</string>
+ <string>0.0.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -106,9 +106,9 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
+ <key>UIUserInterfaceStyle</key>
+ <string>Light</string>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
- <key>UIUserInterfaceStyle</key>
- <string>Light</string>
</dict>
</plist>
--- package-lock.json
@@ -1932,9 +1932,9 @@
}
},
"@walmart/config-components": {
- "version": "1.0.7",
- "resolved": "https://npme.walmart.com/@walmart/config-components/-/config-components-1.0.7.tgz",
- "integrity": "sha512-jrHd8momPaFtq2uMCEuqbJTTsRBjwyRplTcNEWjS6gvrc+WVFI5vVD1zcsSNpLevc4UFRdUYkvw0AYvF9yhdPw=="
+ "version": "1.0.8",
+ "resolved": "https://npme.walmart.com/@walmart/config-components/-/config-components-1.0.8.tgz",
+ "integrity": "sha512-Pe55V+hzs8Z1aqVW3BNuHKpC92fViArzNHp754Y2ZKINFPv6pXTlxkEDNw5x4qQ1m9qBsQyS8LpBPGOllAlnEg=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.0.29",
@@ -1977,9 +1977,9 @@
}
},
"@walmart/inbox-mini-app": {
- "version": "0.0.14",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.0.14.tgz",
- "integrity": "sha512-UZDyReWisEfUBD+5rQGmFQXHYtiOQEmIiksHBvjFaoH0hPr6z9UoDAkmDZqcu6YB9AJeVj9HkLT4Dkcu76fFOg=="
+ "version": "0.0.18",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.0.18.tgz",
+ "integrity": "sha512-Hu0CW1+XM3Nln8++zVgvANiH2L6/6MDE/Y3Qt8dAQaLWhzkTz6TvnJuD55txS8lYdTMNV8PgdKE5Ak4eNHqfzw=="
},
"@walmart/moment-walmart": {
"version": "1.0.4",
@@ -2059,9 +2059,9 @@
}
},
"@walmart/settings-mini-app": {
- "version": "1.1.5",
- "resolved": "https://npme.walmart.com/@walmart/settings-mini-app/-/settings-mini-app-1.1.5.tgz",
- "integrity": "sha512-LbHoqiU3zTvPrZ0rK7X1UICXTdJnK4iK0ZetSxF/zC+Kp8EKrAe3nkZhPnRqtJ6Q6Ql4xcN/EJYvc9JLQ9bB3g=="
+ "version": "1.1.7",
+ "resolved": "https://npme.walmart.com/@walmart/settings-mini-app/-/settings-mini-app-1.1.7.tgz",
+ "integrity": "sha512-IwbTV54rfPz6UUcw2blm3TiaGb/CUAqpape+wb6I65L69U59h747TLJCySX0pw3bfuX/X4KczT9w7qX5yhjdBA=="
},
"@walmart/time-clock-mini-app": {
"version": "0.0.21",
@@ -9348,9 +9348,9 @@
"integrity": "sha512-Ls9qiNZzW/OLFoI25wfjjAcrf2DZ975hn2vr6U9gyuxi2nooVbzQeFoQS5vQcbCt9QX5NY8ASEEAtlLdIa6KVg=="
},
"react-native-ssmp-sso-allspark": {
- "version": "0.0.1",
- "resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-0.0.1.tgz",
- "integrity": "sha512-36ec8XVQEYQiBN4ooxpMciWBmTGAV8kevp/PGUeu302eY0S98r4RJew9SGB0JbDdi17W+HEvGpbsQUJcZbglNw=="
+ "version": "0.0.2",
+ "resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-0.0.2.tgz",
+ "integrity": "sha512-uGEn3yUmJzMJFfWljCfnJjp0ZgKAQd7alaaJVfMV9cekSL9ECsIhk244PBIVH6a1J8mYO8ArJxSFUoJkNlfmcQ=="
},
"react-native-sumo-sdk": {
"version": "2.7.1",
--- package.json
@@ -82,7 +82,7 @@
"react-native-screens": "^2.10.1",
"react-native-sha256": "^1.3.6",
"react-native-splash-screen": "^3.2.0",
- "react-native-ssmp-sso-allspark": "0.0.1",
+ "react-native-ssmp-sso-allspark": "0.0.2",
"react-native-sumo-sdk": "^2.7.1",
"react-native-svg": "^12.1.0",
"react-native-tab-view": "^2.15.2",
--- src/navigation/SideMenuContentStyle.ts
@@ -2,6 +2,7 @@ import {StyleSheet} from 'react-native';
export default StyleSheet.create({
globalNavContainer: {
- height: '50%',
+ height: 225,
+ overflow: 'hidden',
},
});
| updated SSO version and fixed android signOut issue (#179) | updated SSO version and fixed android signOut issue (#179)
* update sso and fixed android signOut issue
* updated marketing version to 0.0.1
* updated snapshot
Co-authored-by: Hitesh Arora <> |
928ba6619f6de1795695a8d225126f879122902e | --- android/app/build.gradle
@@ -135,7 +135,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 51
- versionName "1.0.2"
+ versionName "1.0.3"
}
splits {
abi {
--- ios/AllSpark/Info.plist
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.0.2</string>
+ <string>1.0.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
--- ios/AllSparkTests/Info.plist
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
- <string>1.0.2</string>
+ <string>1.0.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
--- package-lock.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.0.2",
+ "version": "1.0.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.0.2",
+ "version": "1.0.3",
"private": true,
"scripts": {
"firebase:dev": "cp ./ios/GoogleService-Info-Dev.plist ./ios/GoogleService-Info.plist && cp ./android/app/google-services-dev.json ./android/app/google-services.json",
| version bump (#376) | version bump (#376)
Co-authored-by: Hitesh Arora <> |
781cc739389b59512cc128d0a862d7d547d1dc16 | --- package-lock.json
@@ -5283,9 +5283,9 @@
}
},
"@walmart/mod-flex-mini-app": {
- "version": "1.1.0",
- "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.1.0.tgz",
- "integrity": "sha512-NGsMRu+oM/pGJ7OxcCfKsj5QGpSSpUZVtWTlGxksR0iAAO13ktuOAALRkiaX557AYMoJ/stUjUVQcaA9dxDK9w=="
+ "version": "1.1.2",
+ "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.1.2.tgz",
+ "integrity": "sha512-Qy9DT3Ol4B5eAHMX2ry5nfDXnwkZK+L3FnXpJERETqEyXvqukbQKrePehnuO7i6FfNsIIpeS7Ep+EKCtuKb0ww=="
},
"@walmart/moment-walmart": {
"version": "1.0.4",
--- package.json
@@ -96,7 +96,7 @@
"@walmart/manager-approvals-miniapp": "0.0.62",
"@walmart/me-field-mini-app": "1.1.14",
"@walmart/metrics-mini-app": "0.9.9",
- "@walmart/mod-flex-mini-app": "1.1.0",
+ "@walmart/mod-flex-mini-app": "1.1.2",
"@walmart/moment-walmart": "1.0.4",
"@walmart/payrollsolution_miniapp": "0.125.8",
"@walmart/price-changes-mini-app": "1.4.7",
| Update mod-flex-mini-app to 1.1.2 | Update mod-flex-mini-app to 1.1.2
|
80da51d4caa83d513886881e92312abb3b3e0053 | --- scripts/updateAndroidProjectConfig.sh
@@ -1,4 +1,3 @@
-#!/bin/bash
###############################################
# Script for swapping out Android package name
| Update updateAndroidProjectConfig.sh | Update updateAndroidProjectConfig.sh |
38027a9ec74065fd43e8be736e5c1d50bd776190 | --- __tests__/navigation/AssociateHallwayNav/Tabs/__snapshots__/HomeStackNavTest.tsx.snap
@@ -58,6 +58,19 @@ exports[`HomeStackNav matches snapshot 1`] = `
<Screen
name="timeClockTabs"
/>
+ <Screen
+ name="modalScreen"
+ options={
+ Object {
+ "cardStyle": Object {
+ "backgroundColor": "rgba(0, 0, 0, 0.3)",
+ "paddingTop": 375,
+ },
+ "headerShown": false,
+ "presentation": "transparentModal",
+ }
+ }
+ />
<Screen
component="CelebrationListScreen"
name="AnniversaryListScreen"
@@ -224,6 +237,19 @@ exports[`HomeStackNav matches snapshot when user is not present 1`] = `
<Screen
name="timeClockTabs"
/>
+ <Screen
+ name="modalScreen"
+ options={
+ Object {
+ "cardStyle": Object {
+ "backgroundColor": "rgba(0, 0, 0, 0.3)",
+ "paddingTop": 375,
+ },
+ "headerShown": false,
+ "presentation": "transparentModal",
+ }
+ }
+ />
<Screen
component="CelebrationListScreen"
name="AnniversaryListScreen"
--- src/navigation/AssociateHallwayNav/Tabs/HomeStackNav.tsx
@@ -1,7 +1,12 @@
import React from 'react';
import {useSelector} from 'react-redux';
-import {View, StyleSheet, TouchableOpacity} from 'react-native';
-import {createStackNavigator} from '@react-navigation/stack';
+import {
+ View,
+ StyleSheet,
+ TouchableOpacity,
+ useWindowDimensions,
+} from 'react-native';
+import {createStackNavigator, TransitionPresets} from '@react-navigation/stack';
import {NavigationProp, useNavigation} from '@react-navigation/native';
import {
@@ -30,6 +35,7 @@ import {
import {ScheduleMiniApp} from '@walmart/schedule-mini-app';
import {useBadgesCount, InboxScreen} from '@walmart/inbox-mini-app';
import {
+ ModalScreen,
NewTorScreen,
TimeClockTabs,
TorInboxScreen,
@@ -97,6 +103,8 @@ export const HomeStackNav = () => {
const inboxHeaderEnabled = useSelector(getInboxHeaderEnabled);
const user = useSelector(UserSelectors.getUser);
+ const width = useWindowDimensions().width;
+
if (!user) {
return (
<View style={styles.loadingView}>
@@ -149,6 +157,20 @@ export const HomeStackNav = () => {
{/* Only accessible from TimeClockWidget (Home) and TimeClockIconWidget (Me) */}
<HomeStack.Screen name='timeClockTabs' component={TimeClockTabs} />
+ <HomeStack.Screen
+ name='modalScreen'
+ component={ModalScreen}
+ options={{
+ presentation: 'transparentModal',
+ headerShown: false,
+ ...TransitionPresets.ModalSlideFromBottomIOS,
+ cardStyle: {
+ paddingTop: width / 2,
+ backgroundColor: 'rgba(0, 0, 0, 0.3)',
+ },
+ }}
+ />
+
<HomeStack.Screen
name='AnniversaryListScreen'
options={{headerShown: false}}
| Add modalscreen to homestack | Add modalscreen to homestack
|
ff1f2fc35c725e196f0a2b1338dfa40c17945c51 | --- __tests__/navigation/AssociateHallwayNav/Tabs/__snapshots__/HomeStackNavTest.tsx.snap
@@ -152,6 +152,9 @@ exports[`HomeStackNav matches snapshot 1`] = `
component="WoshAssociatesScreen"
name="metrics.woshDrilldown"
/>
+ <Screen
+ name="metrics.wagesMarketDrilldown"
+ />
<Screen
name="metrics.ftprDepartmentScreen"
/>
@@ -161,6 +164,9 @@ exports[`HomeStackNav matches snapshot 1`] = `
<Screen
name="metrics.actualToDemandDrilldown"
/>
+ <Screen
+ name="metrics.actualToDemandMarketDrilldown"
+ />
</Navigator>
`;
@@ -333,6 +339,9 @@ exports[`HomeStackNav matches snapshot when user is not present 1`] = `
component="WoshAssociatesScreen"
name="metrics.woshDrilldown"
/>
+ <Screen
+ name="metrics.wagesMarketDrilldown"
+ />
<Screen
name="metrics.ftprDepartmentScreen"
/>
@@ -342,6 +351,9 @@ exports[`HomeStackNav matches snapshot when user is not present 1`] = `
<Screen
name="metrics.actualToDemandDrilldown"
/>
+ <Screen
+ name="metrics.actualToDemandMarketDrilldown"
+ />
</Navigator>
`;
--- src/navigation/AssociateHallwayNav/Tabs/HomeStackNav.tsx
@@ -21,9 +21,11 @@ import {
SalesItemizedComparisonScreen,
SalesItemizedMarketScreen,
ActualToDemandItemizedScreen,
+ ActualToDemandMarketItemizedScreen,
ExpensesTabNav,
MetricsOutScansTabNavigation,
MetricsOutScansItemTabNavigation,
+ WagesMarketScreen,
} from '@walmart/metrics-mini-app';
import {useTelemetry} from '@walmart/core-services/Telemetry';
import {useTranslation} from '@walmart/core-services/Translations';
@@ -227,6 +229,10 @@ export const HomeStackNav = () => {
component={WoshAssociatesScreen}
name='metrics.woshDrilldown'
/>
+ <HomeStack.Screen
+ component={WagesMarketScreen}
+ name='metrics.wagesMarketDrilldown'
+ />
<HomeStack.Screen
component={FtprDepartmentScreen}
name='metrics.ftprDepartmentScreen'
@@ -239,6 +245,10 @@ export const HomeStackNav = () => {
component={ActualToDemandItemizedScreen}
name='metrics.actualToDemandDrilldown'
/>
+ <HomeStack.Screen
+ component={ActualToDemandMarketItemizedScreen}
+ name='metrics.actualToDemandMarketDrilldown'
+ />
</HomeStack.Navigator>
);
};
| added metrics screens to home nav | added metrics screens to home nav
|
fe68603a33d2566013a65fdd1dbcceb267f472df | --- package.json
@@ -76,7 +76,7 @@
"@walmart/impersonation-mini-app": "1.0.15",
"@walmart/ims-print-services-ui": "0.0.18",
"@walmart/inbox-mini-app": "0.0.94",
- "@walmart/iteminfo-mini-app": "^1.0.4",
+ "@walmart/iteminfo-mini-app": "1.0.4",
"@walmart/manager-approvals-miniapp": "0.0.25",
"@walmart/moment-walmart": "1.0.4",
"@walmart/push-to-talk-mini-app": "0.5.21",
| correct item info version | correct item info version
|
92c0b13d317b345f5e8a2d6c71ee0419d0800e75 | --- packages/allspark-foundation/src/Network/client.ts
@@ -1,4 +1,5 @@
import NetInfo from '@react-native-community/netinfo';
+import { SharedPromise } from '@walmart/allspark-utils';
import { debounce } from 'lodash';
import {
@@ -17,6 +18,24 @@ export class NetworkClient {
private _previousNetworkState: NetworkDetails | undefined;
private _config: AllsparkNetworkConfig | undefined;
+ /**
+ * Gets the connection type using the method defined in the config.
+ * Shared promise ensures multiple rapid calls to this method share the same promise.
+ */
+ private _getConnectionType = new SharedPromise(async () => {
+ const type = await this._config?.getConnectionType?.();
+ return type || 'External';
+ });
+
+ /**
+ * Gets the wifi site id using the method defined in the config.
+ * Shared promise ensures multiple rapid calls to this method share the same promise.
+ */
+ private _getWifiSiteId = new SharedPromise(async () => {
+ const wifiSiteId = await this._config?.getWifiSiteId?.();
+ return wifiSiteId;
+ });
+
/**
* Enriches the network state with additional details derived from the config.
* @example
@@ -33,10 +52,18 @@ export class NetworkClient {
private _enrichNetworkState = async (
nextState: NetworkDetails
): Promise<NetworkDetails> => {
- // If connected to internet, check connection type
- if (nextState.isInternetReachable) {
- const nextConnectionType =
- (await this._config?.getConnectionType?.()) || 'External';
+ const typeChanged = nextState.type !== this._previousNetworkState?.type;
+ const isConnectedChanged =
+ nextState.isConnected !== this._previousNetworkState?.isConnected;
+
+ // If connection type or isConnected flag changed, or if connection type has not been set...get connection type
+ // using method defined in the config
+ if (
+ typeChanged ||
+ isConnectedChanged ||
+ !this._previousNetworkState?.connectionType
+ ) {
+ const nextConnectionType = await this._getConnectionType.call();
// Add to state if field has changed
if (nextConnectionType !== this._previousNetworkState?.connectionType) {
@@ -44,9 +71,9 @@ export class NetworkClient {
}
}
- // If connected to wifi, try to get site id from config method
- if (nextState.type === NetworkStateType.wifi) {
- const wifiSiteId = await this._config?.getWifiSiteId?.();
+ // If connected to wifi when not previously, try to get site id from config method
+ if (typeChanged && nextState.type === NetworkStateType.wifi) {
+ const wifiSiteId = await this._getWifiSiteId.call();
// Add to state if field has changed
if (
| fix: network type and site id were being checked too often due to state change conditions | fix: network type and site id were being checked too often due to state change conditions
|
fd3620e5f188891f26d5c0b8a44d9893e9916fb8 | --- src/components/AssociateRosterItem/index.tsx
@@ -39,6 +39,7 @@ import AsyncStorage from '@react-native-async-storage/async-storage';
import {LOCAL_STORAGE_KEY_PREFIX} from '../../constants';
import {useDispatch} from 'react-redux';
import {textingSlice} from '../../redux/reducer';
+import {logger} from '../../logger/Logger';
const RECENT_SEARCH_HISTORY_KEY = `${LOCAL_STORAGE_KEY_PREFIX}_recent_search_history`;
export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
@@ -81,33 +82,40 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
const searchHistoryList = await AsyncStorage.getItem(
RECENT_SEARCH_HISTORY_KEY,
);
- if (searchHistoryList) {
- const recentSearchHistoryList = JSON.parse(searchHistoryList);
- if (
- recentSearchHistoryList &&
- !recentSearchHistoryList.includes(associateName)
- ) {
- if (recentSearchHistoryList.length >= searchHistoryLimit) {
- recentSearchHistoryList.pop();
+ try {
+ if (searchHistoryList) {
+ const recentSearchHistoryList = JSON.parse(searchHistoryList);
+ if (
+ recentSearchHistoryList &&
+ !recentSearchHistoryList.includes(associateName)
+ ) {
+ if (recentSearchHistoryList.length >= searchHistoryLimit) {
+ recentSearchHistoryList.pop();
+ }
+ await AsyncStorage.setItem(
+ RECENT_SEARCH_HISTORY_KEY,
+ JSON.stringify([associateName, ...recentSearchHistoryList]),
+ );
+ } else {
+ const filteredRecentSearchHistoryList =
+ recentSearchHistoryList.filter(
+ (item: string) => item !== associateName,
+ );
+ await AsyncStorage.setItem(
+ RECENT_SEARCH_HISTORY_KEY,
+ JSON.stringify([associateName, ...filteredRecentSearchHistoryList]),
+ );
}
- await AsyncStorage.setItem(
- RECENT_SEARCH_HISTORY_KEY,
- JSON.stringify([associateName, ...recentSearchHistoryList]),
- );
} else {
- const filteredRecentSearchHistoryList = recentSearchHistoryList.filter(
- (item: string) => item !== associateName,
- );
await AsyncStorage.setItem(
RECENT_SEARCH_HISTORY_KEY,
- JSON.stringify([associateName, ...filteredRecentSearchHistoryList]),
+ JSON.stringify([associateName]),
);
}
- } else {
- await AsyncStorage.setItem(
- RECENT_SEARCH_HISTORY_KEY,
- JSON.stringify([associateName]),
- );
+ } catch (error: any) {
+ logger.error('Error in setting the recent search history result', {
+ message: JSON.stringify((error as Error).message),
+ });
}
};
--- src/screens/SearchScreen.tsx
@@ -199,7 +199,7 @@ export const SearchScreen: React.FC<SearchScreenProps> = (props) => {
if (recentSearchAssociates) {
setRecentSearchHistory(JSON.parse(recentSearchAssociates));
}
- } catch (error) {
+ } catch (error: any) {
logger.error('Error in fetching the recent search history result', {
message: JSON.stringify((error as Error).message),
});
--- src/components/AssociateRosterItem/index.tsx
@@ -39,6 +39,7 @@ import AsyncStorage from '@react-native-async-storage/async-storage';
import {LOCAL_STORAGE_KEY_PREFIX} from '../../constants';
import {useDispatch} from 'react-redux';
import {textingSlice} from '../../redux/reducer';
+import {logger} from '../../logger/Logger';
const RECENT_SEARCH_HISTORY_KEY = `${LOCAL_STORAGE_KEY_PREFIX}_recent_search_history`;
export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
@@ -81,33 +82,40 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
const searchHistoryList = await AsyncStorage.getItem(
RECENT_SEARCH_HISTORY_KEY,
);
- if (searchHistoryList) {
- const recentSearchHistoryList = JSON.parse(searchHistoryList);
- if (
- recentSearchHistoryList &&
- !recentSearchHistoryList.includes(associateName)
- ) {
- if (recentSearchHistoryList.length >= searchHistoryLimit) {
- recentSearchHistoryList.pop();
+ try {
+ if (searchHistoryList) {
+ const recentSearchHistoryList = JSON.parse(searchHistoryList);
+ if (
+ recentSearchHistoryList &&
+ !recentSearchHistoryList.includes(associateName)
+ ) {
+ if (recentSearchHistoryList.length >= searchHistoryLimit) {
+ recentSearchHistoryList.pop();
+ }
+ await AsyncStorage.setItem(
+ RECENT_SEARCH_HISTORY_KEY,
+ JSON.stringify([associateName, ...recentSearchHistoryList]),
+ );
+ } else {
+ const filteredRecentSearchHistoryList =
+ recentSearchHistoryList.filter(
+ (item: string) => item !== associateName,
+ );
+ await AsyncStorage.setItem(
+ RECENT_SEARCH_HISTORY_KEY,
+ JSON.stringify([associateName, ...filteredRecentSearchHistoryList]),
+ );
}
- await AsyncStorage.setItem(
- RECENT_SEARCH_HISTORY_KEY,
- JSON.stringify([associateName, ...recentSearchHistoryList]),
- );
} else {
- const filteredRecentSearchHistoryList = recentSearchHistoryList.filter(
- (item: string) => item !== associateName,
- );
await AsyncStorage.setItem(
RECENT_SEARCH_HISTORY_KEY,
- JSON.stringify([associateName, ...filteredRecentSearchHistoryList]),
+ JSON.stringify([associateName]),
);
}
- } else {
- await AsyncStorage.setItem(
- RECENT_SEARCH_HISTORY_KEY,
- JSON.stringify([associateName]),
- );
+ } catch (error: any) {
+ logger.error('Error in setting the recent search history result', {
+ message: JSON.stringify((error as Error).message),
+ });
}
};
--- src/screens/SearchScreen.tsx
@@ -199,7 +199,7 @@ export const SearchScreen: React.FC<SearchScreenProps> = (props) => {
if (recentSearchAssociates) {
setRecentSearchHistory(JSON.parse(recentSearchAssociates));
}
- } catch (error) {
+ } catch (error: any) {
logger.error('Error in fetching the recent search history result', {
message: JSON.stringify((error as Error).message),
});
| update the recent message history changes | update the recent message history changes
|
8f02efc1656e2f2e46d77e3bccaa5a5ec632a11d | --- packages/allspark-foundation-hub/src/HubFeature/Shared/Components/ActionButtonGroup/ActionButtonGroup.tsx
@@ -15,33 +15,35 @@ export const ActionButtonGroup = ({
}: ButtonGroupProps) => {
const showCancelButton = useSelector(cancelActionButtonEnabled);
return (
- <View style={styles.buttonContainer}>
- {secondaryButtonLabel && onSecondaryButtonPress && showCancelButton && (
- <Button
- variant='tertiary'
- size='small'
- onPress={onSecondaryButtonPress}
- accessibilityRole='button'
- accessibilityLabel={secondaryButtonLabel}
- testID='secondary-button'
- >
- {secondaryButtonLabel}
- </Button>
- )}
- <View style={styles.primaryButtonContainer}>
- <Button
- variant='primary'
- size='medium'
- isFullWidth
- onPress={onPrimaryButtonPress}
- accessibilityRole='button'
- accessibilityLabel={primaryButtonLabel}
- testID='primary-button'
- disabled={isPrimaryButtonDisabled}
- >
- {primaryButtonLabel}
- </Button>
+ <>
+ <View style={styles.buttonContainer}>
+ {secondaryButtonLabel && onSecondaryButtonPress && showCancelButton && (
+ <Button
+ variant='tertiary'
+ size='small'
+ onPress={onSecondaryButtonPress}
+ accessibilityRole='button'
+ accessibilityLabel={secondaryButtonLabel}
+ testID='secondary-button'
+ >
+ {secondaryButtonLabel}
+ </Button>
+ )}
+ <View style={styles.primaryButtonContainer}>
+ <Button
+ variant='primary'
+ size='medium'
+ isFullWidth
+ onPress={onPrimaryButtonPress}
+ accessibilityRole='button'
+ accessibilityLabel={primaryButtonLabel}
+ testID='primary-button'
+ disabled={isPrimaryButtonDisabled}
+ >
+ {primaryButtonLabel}
+ </Button>
+ </View>
</View>
- </View>
+ </>
);
};
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Screens/UpdateTeamsModal/UpdateTeamsModal.tsx
@@ -71,7 +71,6 @@ export const UpdateTeamsModal = ({ modal: { closeModal } }: ModalProps) => {
const isShiftUpsertError = useSelector(
ManagerExperienceSelectors.getIsShiftUpsertError
);
-
const handleSelection = useCallback(
(item: string) => {
setSelectedTeams([item]);
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Screens/UpdateTeamsModal/styles.ts
@@ -13,7 +13,7 @@ export const styles = StyleSheet.create({
borderTopLeftRadius: 16,
height,
paddingHorizontal: 8,
- marginBottom: LAYOUT_MARGIN * 5,
+ // marginBottom: LAYOUT_MARGIN * 5,
},
filterContainer: {
paddingHorizontal: LAYOUT_MARGIN,
| Adding error scenarios | Adding error scenarios
|
32c28e79f87b0766cc0818db8a88eff9f46f115a | --- src/channels/constants.ts
@@ -14,5 +14,5 @@ export const DEFAULT_CHANNELS_STATE: ChannelsState = {
totalUnread: 0,
isError: false,
error: null,
- firstLoad: true
+ firstLoad: true,
};
--- src/channels/provider.tsx
@@ -64,8 +64,8 @@ export const ChannelsProvider = (props: PropsWithChildren<{}>) => {
...normalizeChannelSnapshot(
snapshot as ChannelQuerySnapshot,
viewerId,
- ),
- firstLoad: false
+ ),
+ firstLoad: false,
}));
});
--- src/screens/ChannelsScreen.tsx
@@ -3,7 +3,12 @@ import {FlatList, ListRenderItem, StyleSheet, View} from 'react-native';
import {SafeAreaView} from 'react-native-safe-area-context';
import {StackNavigationProp} from '@react-navigation/stack';
import {useFocusEffect} from '@react-navigation/native';
-import {Alert, Button, ChatBubbleIcon, Spinner} from '@walmart/gtp-shared-components';
+import {
+ Alert,
+ Button,
+ ChatBubbleIcon,
+ Spinner,
+} from '@walmart/gtp-shared-components';
import {TextingNavParamsMap} from '../navigation/types';
import {useChannelContext} from '../channels/hooks';
@@ -24,8 +29,8 @@ const styles = StyleSheet.create({
padding: 15,
},
loadingView: {
- padding: 30
- }
+ padding: 30,
+ },
});
export type ChannelScreenProps = {
@@ -62,14 +67,18 @@ export const ChannelsScreen: React.FC<ChannelScreenProps> = (
channels.lastMessageTrackingOff();
};
});
- const ErrorComponent = () => <View style={styles.errorView}>
- <Alert variant='error' children={'Connection lost'} />
- </View>
+ const ErrorComponent = () => (
+ <View style={styles.errorView}>
+ <Alert variant='error' children={'Connection lost'} />
+ </View>
+ );
- if(channels?.firstLoad) {
- return <View style={styles.loadingView}>
- <Spinner />
- </View>;
+ if (channels?.firstLoad) {
+ return (
+ <View style={styles.loadingView}>
+ <Spinner />
+ </View>
+ );
}
return (
--- src/screens/MessagesScreen.tsx
@@ -159,7 +159,7 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => {
(snapshot) => {
const docs =
snapshot.docs as FirebaseFirestoreTypes.QuerySnapshot<FirebaseMessage>['docs'];
-
+
setIsLoading(false);
if (docs.length) {
const newMessages = createMessageList({
--- src/channels/constants.ts
@@ -14,5 +14,5 @@ export const DEFAULT_CHANNELS_STATE: ChannelsState = {
totalUnread: 0,
isError: false,
error: null,
- firstLoad: true
+ firstLoad: true,
};
--- src/channels/provider.tsx
@@ -64,8 +64,8 @@ export const ChannelsProvider = (props: PropsWithChildren<{}>) => {
...normalizeChannelSnapshot(
snapshot as ChannelQuerySnapshot,
viewerId,
- ),
- firstLoad: false
+ ),
+ firstLoad: false,
}));
});
--- src/screens/ChannelsScreen.tsx
@@ -3,7 +3,12 @@ import {FlatList, ListRenderItem, StyleSheet, View} from 'react-native';
import {SafeAreaView} from 'react-native-safe-area-context';
import {StackNavigationProp} from '@react-navigation/stack';
import {useFocusEffect} from '@react-navigation/native';
-import {Alert, Button, ChatBubbleIcon, Spinner} from '@walmart/gtp-shared-components';
+import {
+ Alert,
+ Button,
+ ChatBubbleIcon,
+ Spinner,
+} from '@walmart/gtp-shared-components';
import {TextingNavParamsMap} from '../navigation/types';
import {useChannelContext} from '../channels/hooks';
@@ -24,8 +29,8 @@ const styles = StyleSheet.create({
padding: 15,
},
loadingView: {
- padding: 30
- }
+ padding: 30,
+ },
});
export type ChannelScreenProps = {
@@ -62,14 +67,18 @@ export const ChannelsScreen: React.FC<ChannelScreenProps> = (
channels.lastMessageTrackingOff();
};
});
- const ErrorComponent = () => <View style={styles.errorView}>
- <Alert variant='error' children={'Connection lost'} />
- </View>
+ const ErrorComponent = () => (
+ <View style={styles.errorView}>
+ <Alert variant='error' children={'Connection lost'} />
+ </View>
+ );
- if(channels?.firstLoad) {
- return <View style={styles.loadingView}>
- <Spinner />
- </View>;
+ if (channels?.firstLoad) {
+ return (
+ <View style={styles.loadingView}>
+ <Spinner />
+ </View>
+ );
}
return (
--- src/screens/MessagesScreen.tsx
@@ -159,7 +159,7 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => {
(snapshot) => {
const docs =
snapshot.docs as FirebaseFirestoreTypes.QuerySnapshot<FirebaseMessage>['docs'];
-
+
setIsLoading(false);
if (docs.length) {
const newMessages = createMessageList({
| lint fixes | lint fixes
|
9d11eb0c27f0a5b500e1af6e1f7cac9719688af3 | --- packages/expo-config-plugins/src/withRuler.ts
@@ -17,7 +17,7 @@ const withRuler: ConfigPlugin = (config) => {
abi.set("arm64-v8a")
locale.set("en")
screenDensity.set(480)
- sdkVersion.set(rootProject.ext.buildToolsVersion)
+ sdkVersion.set(rootProject.ext.compileSdkVersion)
}`
];
| feat(plugin): allspark-6443 updated ruler plugin | feat(plugin): allspark-6443 updated ruler plugin
|
3069c6d7a9af1b424ab8635a0c9669b4f06eb58c | --- src/types/index.ts
@@ -1,5 +1,4 @@
// Type definition barrel exports
export * from './api';
-export * from './store';
export * from './components';
export * from './telemetry';
--- src/types/store/index.ts
@@ -1,2 +0,0 @@
-// Store type exports
-export * from './state-types';
--- src/types/store/state-types.ts
@@ -1,16 +0,0 @@
-export interface RootState {
- team?: {
- selectedTeam?: string;
- teams?: Array<{
- teamId: string;
- teamName: string;
- [key: string]: any;
- }>;
- };
- hub?: {
- isLoading?: boolean;
- error?: string | null;
- lastRefresh?: string;
- };
- [key: string]: any;
-}
| feat(ui): update the associate exp hub structure and widgets | feat(ui): update the associate exp hub structure and widgets
|
3a274bdef0be37e8760125d6466b8d026fbd7ea8 | --- .looper.yml
@@ -4,6 +4,8 @@ tools:
- 20.5.1
sonarscanner: 4.6.2.2472
+updateTaskStatusOnGit: true
+
scheduling: concurrent
triggers:
| chore: add flag to git checks | chore: add flag to git checks
|
209482570bcf93350383c09b8f7da59b32507b63 | --- __tests__/home/containers/__snapshots__/CelebrationListScreenTest.tsx.snap
@@ -288,7 +288,41 @@ exports[`CelebrationListScreen should render based on the tab pressed 2`] = `
keyExtractor={[Function]}
onMomentumScrollBegin={[Function]}
onMomentumScrollEnd={[Function]}
- onScroll={[Function]}
+ onScroll={
+ AnimatedEvent {
+ "__isNative": true,
+ "__platformConfig": undefined,
+ "_argMapping": [
+ {
+ "nativeEvent": {
+ "contentOffset": {
+ "y": {
+ "_value": 10,
+ "addListener": [MockFunction] {
+ "calls": [
+ [
+ [Function],
+ ],
+ ],
+ "results": [
+ {
+ "type": "return",
+ "value": undefined,
+ },
+ ],
+ },
+ "interpolate": [MockFunction],
+ "removeAllListeners": [MockFunction],
+ },
+ },
+ },
+ },
+ ],
+ "_attachedEvent": null,
+ "_callListeners": [Function],
+ "_listeners": [],
+ }
+ }
onScrollEndDrag={[Function]}
renderItem={[Function]}
showsVerticalScrollIndicator={false}
@@ -319,7 +353,41 @@ exports[`CelebrationListScreen should render based on the tab pressed 3`] = `
keyExtractor={[Function]}
onMomentumScrollBegin={[Function]}
onMomentumScrollEnd={[Function]}
- onScroll={[Function]}
+ onScroll={
+ AnimatedEvent {
+ "__isNative": true,
+ "__platformConfig": undefined,
+ "_argMapping": [
+ {
+ "nativeEvent": {
+ "contentOffset": {
+ "y": {
+ "_value": 10,
+ "addListener": [MockFunction] {
+ "calls": [
+ [
+ [Function],
+ ],
+ ],
+ "results": [
+ {
+ "type": "return",
+ "value": undefined,
+ },
+ ],
+ },
+ "interpolate": [MockFunction],
+ "removeAllListeners": [MockFunction],
+ },
+ },
+ },
+ },
+ ],
+ "_attachedEvent": null,
+ "_callListeners": [Function],
+ "_listeners": [],
+ }
+ }
onScrollEndDrag={[Function]}
renderItem={[Function]}
showsVerticalScrollIndicator={false}
--- package.json
@@ -320,7 +320,7 @@
"jest-sonar-reporter": "^2.0.0",
"jetifier": "^2.0.0",
"madge": "^8.0.0",
- "react-test-renderer": "18.3.1",
+ "react-test-renderer": "18.2.0",
"reactotron-react-native": "^5.1.12",
"reactotron-redux": "^3.1.11",
"ts-node": "^10.4.0",
--- yarn.lock
@@ -7909,7 +7909,7 @@ __metadata:
react-native-wm-telemetry: "npm:6.3.17"
react-native-wm-voice-text: "patch:react-native-wm-voice-text@npm%3A1.1.3#~/.yarn/patches/react-native-wm-voice-text-npm-1.1.3-a6f86bd373.patch"
react-redux: "npm:^8.1.3"
- react-test-renderer: "npm:18.3.1"
+ react-test-renderer: "npm:18.2.0"
reactotron-react-native: "npm:^5.1.12"
reactotron-redux: "npm:^3.1.11"
redux: "npm:^4.2.1"
@@ -19141,7 +19141,7 @@ __metadata:
languageName: node
linkType: hard
-"react-is@npm:^16.12.0 || ^17.0.0 || ^18.0.0, react-is@npm:^18.0.0, react-is@npm:^18.3.1":
+"react-is@npm:^16.12.0 || ^17.0.0 || ^18.0.0, react-is@npm:^18.0.0, react-is@npm:^18.2.0, react-is@npm:^18.3.1":
version: 18.3.1
resolution: "react-is@npm:18.3.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Freact-is%2F-%2Freact-is-18.3.1.tgz"
checksum: 10c0/f2f1e60010c683479e74c63f96b09fb41603527cd131a9959e2aee1e5a8b0caf270b365e5ca77d4a6b18aae659b60a86150bb3979073528877029b35aecd2072
@@ -20033,6 +20033,19 @@ __metadata:
languageName: node
linkType: hard
+"react-test-renderer@npm:18.2.0":
+ version: 18.2.0
+ resolution: "react-test-renderer@npm:18.2.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Freact-test-renderer%2F-%2Freact-test-renderer-18.2.0.tgz"
+ dependencies:
+ react-is: "npm:^18.2.0"
+ react-shallow-renderer: "npm:^16.15.0"
+ scheduler: "npm:^0.23.0"
+ peerDependencies:
+ react: ^18.2.0
+ checksum: 10c0/53dfada1da1e8dd0498a5601e9eea3dc6ca23c6c2694d1cab9712faea869c11e4ce1c9a618d674cb668a668b41fb6bcf9a7b0a078cd853b1922f002fa22f42c8
+ languageName: node
+ linkType: hard
+
"react-test-renderer@npm:18.3.1":
version: 18.3.1
resolution: "react-test-renderer@npm:18.3.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Freact-test-renderer%2F-%2Freact-test-renderer-18.3.1.tgz"
@@ -20786,7 +20799,7 @@ __metadata:
languageName: node
linkType: hard
-"scheduler@npm:^0.23.2":
+"scheduler@npm:^0.23.0, scheduler@npm:^0.23.2":
version: 0.23.2
resolution: "scheduler@npm:0.23.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Fscheduler%2F-%2Fscheduler-0.23.2.tgz"
dependencies:
| chore: update snapshots | chore: update snapshots
|
a9c572ca0fc1f67abd5892cd2f7c65607a060c25 | --- CODEOWNERS
@@ -11,3 +11,4 @@
# subdirectories
/packages/allspark-foundation-hub/ @allspark/push-to-talk
+/packages/allspark-foundation/ @allspark/allspark-architects
| Update CODEOWNERS | Update CODEOWNERS |
7ca0f1f188b3e06c73fd9f7de22b8cc84c7c6c05 | --- src/ccmFallbacks.ts
@@ -0,0 +1,3 @@
+export const CCMFallbacks = {
+ teamLeadJobDescriptions: ['team lead'],
+};
--- src/redux/selectors.ts
@@ -2,6 +2,7 @@ import {createSelector} from 'reselect';
import {UserSelectors, GlobalState} from '@walmart/redux-store';
import {encryptUserId} from '../utils/user';
import {SharedReduxState} from './types';
+import {CCMFallbacks} from '../ccmFallbacks';
export const getEncryptedUserId = createSelector(
[UserSelectors.getUserWIN],
@@ -30,10 +31,20 @@ export const getUploadingBlob = createSelector(
(state) => state.uploadingBlob,
);
+//TODO: I believe we need to move these CCM fields into the texting mini app CCM namespace
export const getPttAppConfigData = (state: GlobalState) =>
state.appConfig.data?.ptt || {};
+export const getTextingAppConfigData = (state: GlobalState) =>
+ state.appConfig.data?.texting || {};
+
export const codeOfConductLink = createSelector(
[getPttAppConfigData],
(state) => state?.codeOfConductLink,
);
+
+export const teamLeadJobDescriptions = createSelector(
+ [getTextingAppConfigData],
+ (state) =>
+ state?.teamLeadJobDescriptions || CCMFallbacks.teamLeadJobDescriptions,
+);
--- src/ccmFallbacks.ts
@@ -0,0 +1,3 @@
+export const CCMFallbacks = {
+ teamLeadJobDescriptions: ['team lead'],
+};
--- src/redux/selectors.ts
@@ -2,6 +2,7 @@ import {createSelector} from 'reselect';
import {UserSelectors, GlobalState} from '@walmart/redux-store';
import {encryptUserId} from '../utils/user';
import {SharedReduxState} from './types';
+import {CCMFallbacks} from '../ccmFallbacks';
export const getEncryptedUserId = createSelector(
[UserSelectors.getUserWIN],
@@ -30,10 +31,20 @@ export const getUploadingBlob = createSelector(
(state) => state.uploadingBlob,
);
+//TODO: I believe we need to move these CCM fields into the texting mini app CCM namespace
export const getPttAppConfigData = (state: GlobalState) =>
state.appConfig.data?.ptt || {};
+export const getTextingAppConfigData = (state: GlobalState) =>
+ state.appConfig.data?.texting || {};
+
export const codeOfConductLink = createSelector(
[getPttAppConfigData],
(state) => state?.codeOfConductLink,
);
+
+export const teamLeadJobDescriptions = createSelector(
+ [getTextingAppConfigData],
+ (state) =>
+ state?.teamLeadJobDescriptions || CCMFallbacks.teamLeadJobDescriptions,
+);
| adding new ccm selector | adding new ccm selector
|
170a4a810965dd49e1a82b3920101ee45b339a85 | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 94
+ versionCode 95
versionName "1.0.7"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>94</string>
+ <string>95</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
| Incrementing build number | Incrementing build number
|
e69b1aa003108150c878da8194da4eb3e0fa8289 | --- __tests__/developerMenu/EnvironmentToggleScreen.test.tsx
@@ -13,6 +13,9 @@ jest.mock('@walmart/react-native-encrypted-storage', () => ({
AllsparkLocalStorage: {
clear: jest.fn(),
set: jest.fn(),
+ },
+ AllsparkNotificationClient :{
+ unregister: jest.fn(),
}
}));
--- src/developerMenu/EnvironmentToggleScreen.tsx
@@ -1,6 +1,6 @@
import {Platform, View, StyleSheet} from 'react-native';
import {Body, Button, Radio} from '@walmart/gtp-shared-components';
-import {AllsparkEnvironment, AllsparkLocalStorage} from '@walmart/allspark-foundation';
+import {AllsparkEnvironment, AllsparkLocalStorage, AllsparkNotificationClient} from '@walmart/allspark-foundation';
import {SUPPORTED_ENVIRONMENTS, ENVIRONMENT_OVERRIDE} from './constants';
import {useEffect, useState} from 'react';
import EncryptedStorage from '@walmart/react-native-encrypted-storage';
@@ -8,6 +8,7 @@ import {exitApp} from '@logicwind/react-native-exit-app';
const cleanup = async () => {
// Clear caches
+ await AllsparkNotificationClient.unregister();
await EncryptedStorage.clear();
await AllsparkLocalStorage.clear();
}
| feat: unregister sumo on dev menu (#4891) | feat: unregister sumo on dev menu (#4891)
Co-authored-by: t0s0qvk <t0s0qvk@walmart.com>
Co-authored-by: Aroushi Sharma - a0s11tw <Aroushi.Sharma@walmart.com> |
ea0eeb5d7ed3c518b7f3ee4a6d619b59189b4b9e | --- src/managerExperience/components/FilterChip/FilterChip.tsx
@@ -0,0 +1,27 @@
+import React from 'react';
+import {Chip} from '@walmart/gtp-shared-components/dist';
+import {chipStyles as styles} from './styles';
+import {FilterChipProps} from './types';
+import {Text} from 'react-native';
+
+export const FilterChip = ({
+ disabled = false,
+ handlePress,
+ label,
+ isApplied,
+}: FilterChipProps) => {
+ return (
+ <Chip
+ UNSAFE_style={
+ isApplied ? styles.chipContainerActive : styles.chipContainerInactive
+ }
+ disabled={disabled}
+ onPress={handlePress}
+ selected={isApplied}
+ id={label}>
+ <Text style={isApplied ? styles.chipTextActive : styles.chipTextInactive}>
+ {label}
+ </Text>
+ </Chip>
+ );
+};
--- src/managerExperience/components/FilterChip/index.ts
@@ -0,0 +1 @@
+export {FilterChip} from './FilterChip';
--- src/managerExperience/components/FilterChip/styles.ts
@@ -0,0 +1,27 @@
+import {StyleSheet, ViewStyle} from 'react-native';
+import {colors} from '@walmart/gtp-shared-components';
+
+const chipContainerShared: ViewStyle = {
+ borderWidth: 0,
+ borderRadius: 1000,
+ justifyContent: 'center',
+ alignSelf: 'center',
+ minWidth: 10,
+};
+
+export const chipStyles = StyleSheet.create({
+ chipContainerActive: {
+ ...chipContainerShared,
+ backgroundColor: colors.gray['160'],
+ },
+ chipContainerInactive: {
+ ...chipContainerShared,
+ backgroundColor: colors.gray['10'],
+ },
+ chipTextActive: {
+ color: colors.white,
+ },
+ chipTextInactive: {
+ color: colors.gray['160'],
+ },
+});
--- src/managerExperience/components/FilterChip/types.ts
@@ -0,0 +1,6 @@
+export interface FilterChipProps {
+ disabled?: boolean;
+ handlePress: () => void;
+ label: string;
+ isApplied: boolean;
+}
| feat: created filter chip component | feat: created filter chip component
|
0203b9205841f8eaf7355d0ffdd539869332364c | --- package.json
@@ -117,7 +117,7 @@
"@walmart/me-at-walmart-athena-queries": "6.1.4",
"@walmart/me-at-walmart-common": "6.1.4",
"@walmart/me-at-walmart-container": "6.1.4",
- "@walmart/metrics-mini-app": "0.22.3",
+ "@walmart/metrics-mini-app": "0.22.4",
"@walmart/mod-flex-mini-app": "1.17.5",
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "0.1.4",
| metrics version bump | metrics version bump
|
e29f188393eb3f55e9b073de3d27f13ec1776c9e | --- packages/allspark-foundation/__tests__/Config/ConfigModule.test.ts
@@ -0,0 +1,87 @@
+import { ConfigModule } from '../../src/Config/ConfigModule';
+import { IConfigService } from '../../src/Config/types';
+import { ConfigManager } from '../../src/Config/ConfigManager';
+import { ReduxModule } from '../../src/Redux';
+import { createMockConfigService } from '../utils/mockFactories';
+
+describe('ConfigModule', () => {
+ let mockService: IConfigService;
+
+ beforeAll(() => {
+ // Create a single mock service that will be used across all tests
+ mockService = createMockConfigService();
+ });
+
+ beforeEach(() => {
+ // Clear mock calls before each test
+ jest.clearAllMocks();
+ });
+
+ it('should provide a singleton instance', () => {
+ const manager1 = ConfigModule.manager;
+ const manager2 = ConfigModule.manager;
+ expect(manager1).toBe(manager2);
+ });
+
+ it('should expose a ConfigManager as the manager', () => {
+ const manager = ConfigModule.manager;
+ expect(manager).toBeInstanceOf(ConfigManager);
+ });
+
+ it('should add config reducer to Redux store on initialization', () => {
+ // Access manager to trigger initialization
+ ConfigModule.manager;
+ expect(ReduxModule.manager.getState().appConfig).toBeDefined();
+ });
+
+ it('should inject service into the facade', () => {
+ // Create a spy to verify the facade's setService method is called
+ ConfigModule.manager;
+
+ // Access the private facade to spy on it
+ const facade = (ConfigModule as any).instance._facade;
+ const setServiceSpy = jest.spyOn(facade, 'setService');
+
+ ConfigModule.injectService(mockService);
+
+ expect(setServiceSpy).toHaveBeenCalledWith(mockService);
+ });
+
+ it('should maintain the same instance across multiple accesses', () => {
+ const instance1 = (ConfigModule as any).instance;
+ const instance2 = (ConfigModule as any).instance;
+ expect(instance1).toBe(instance2);
+ });
+
+ it('should create manager with facade and dispatch function', () => {
+ const manager = ConfigModule.manager;
+
+ // Verify that the manager has the expected service (facade)
+ const managerService = (manager as any)._service;
+ const moduleInstance = (ConfigModule as any).instance;
+ expect(managerService).toBe(moduleInstance._facade);
+
+ // Verify that the manager has a dispatch function
+ const managerDispatch = (manager as any)._dispatch;
+ expect(typeof managerDispatch).toBe('function');
+ });
+
+ it('should register the config slice with the correct name and reducer', () => {
+ // Spy on ReduxModule.manager.addReducer to verify it's called correctly
+ const addReducerSpy = jest.spyOn(ReduxModule.manager, 'addReducer');
+
+ // Clear any previous calls
+ addReducerSpy.mockClear();
+
+ // Force re-initialization by clearing the instance
+ (ConfigModule as any)._instance = undefined;
+
+ // Access manager to trigger initialization
+ ConfigModule.manager;
+
+ expect(addReducerSpy).toHaveBeenCalledWith(
+ 'appConfig',
+ expect.any(Function)
+ );
+ });
+});
| test(config): add config module test | test(config): add config module test
|
5c67697ed9fb405e37adacae003d1bf50c500a52 | --- packages/allspark-foundation-hub/src/Store/Modules/Hub/HubDashboard.tsx
@@ -7,7 +7,7 @@ import React, {
} from 'react';
import moment from 'moment';
import { Animated, ScrollView, RefreshControl, View } from 'react-native';
-import { useDispatch, useSelector, shallowEqual } from 'react-redux';
+import { useDispatch, useSelector } from 'react-redux';
import { LayoutConfig } from '@walmart/allspark-utils';
import { UserSelectors } from '@walmart/allspark-foundation/User';
import {
@@ -49,8 +49,7 @@ export const HubDashboard = ({
}: HubDashboardProps) => {
const dispatch = useDispatch();
const teamState = useSelector(
- StoreManagerExperienceSelectors.getActiveTeamState,
- shallowEqual
+ StoreManagerExperienceSelectors.getActiveTeamState
);
const setTeamState = useCallback(
| Revert "feat(ui): switcher reload bug fix" | Revert "feat(ui): switcher reload bug fix"
|
b1519165e662c6619c286187369e63b5f5fb134c | --- package.json
@@ -83,7 +83,7 @@
"@walmart/core-services": "~1.4.15",
"@walmart/core-services-allspark": "~1.10.18",
"@walmart/core-utils": "~1.3.0",
- "@walmart/core-widget-registry": "~0.7.2",
+ "@walmart/core-widget-registry": "~0.9.5",
"@walmart/counts-component-miniapp": "0.1.2",
"@walmart/emergency-mini-app": "1.19.0",
"@walmart/exception-mini-app": "1.0.16",
@@ -116,7 +116,7 @@
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.5.1",
"@walmart/receipt-check-miniapp": "1.9.10",
- "@walmart/redux-store": "3.1.3",
+ "@walmart/redux-store": "3.1.4",
"@walmart/returns-mini-app": "0.12.0",
"@walmart/schedule-mini-app": "0.33.0",
"@walmart/settings-mini-app": "1.12.0",
@@ -222,7 +222,7 @@
"@walmart/core-services": "$@walmart/core-services",
"@walmart/core-services-allspark": "$@walmart/core-services-allspark",
"@walmart/core-utils": "~1.3.0",
- "@walmart/core-widget-registry": "~0.7.2",
+ "@walmart/core-widget-registry": "~0.9.5",
"@walmart/moment-walmart": "1.0.4",
"@react-native-community/datetimepicker": "^5.1.0",
"axios": "^1.2.6",
| version bump for redux-store & widget registry | version bump for redux-store & widget registry
|
a098b57c40036d004b1ef80f69d2bc13e015ccc0 | --- packages/celebration-mini-app-graphql/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.28.1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.28.0...@walmart/celebration-mini-app-graphql@1.28.1) (2025-12-19)
+
+**Note:** Version bump only for package @walmart/celebration-mini-app-graphql
+
# [1.28.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.27.1...@walmart/celebration-mini-app-graphql@1.28.0) (2025-12-18)
### Features
--- packages/celebration-mini-app-graphql/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app-graphql",
- "version": "1.28.0",
+ "version": "1.28.1",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/celebration-mini-app/CHANGELOG.md
@@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.38.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.37.0...@walmart/celebration-mini-app@1.38.0) (2025-12-19)
+
+### Features
+
+- **ui:** update performance ([1259605](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/1259605fc5e90942b4e410ddae1051b368129dda))
+- **ui:** update performance and tests ([881790d](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/881790ddab3beadbf5d2556753d581ee998b8882))
+
# [1.37.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.36.1...@walmart/celebration-mini-app@1.37.0) (2025-12-18)
### Features
--- packages/celebration-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app",
- "version": "1.37.0",
+ "version": "1.38.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/celebration-mini-app@1.38.0
- @walmart/celebration-mini-app-graphql@1.28.1
|
8228ca5e849e035f0d4039bddff90d0845b671d9 | --- package-lock.json
@@ -84,7 +84,7 @@
"@walmart/schedule-mini-app": "0.55.0",
"@walmart/shelfavailability-mini-app": "1.5.17",
"@walmart/taskit-mini-app": "2.47.9",
- "@walmart/texting-mini-app": "2.1.0",
+ "@walmart/texting-mini-app": "2.1.1",
"@walmart/time-clock-mini-app": "2.175.2",
"@walmart/topstock-mini-app": "1.3.1",
"@walmart/ui-components": "1.15.1",
@@ -9233,9 +9233,9 @@
}
},
"node_modules/@walmart/texting-mini-app": {
- "version": "2.1.0",
- "resolved": "https://npme.walmart.com/@walmart/texting-mini-app/-/texting-mini-app-2.1.0.tgz",
- "integrity": "sha512-xZ2cMleuIkij6JXr/5IfMBIV5hxcWtsK5D6DmWVj3wVVGfpxLS2ruwzEHk8Z0W53OXo4bfhamcnbDPlnNQjLtw==",
+ "version": "2.1.1",
+ "resolved": "https://npme.walmart.com/@walmart/texting-mini-app/-/texting-mini-app-2.1.1.tgz",
+ "integrity": "sha512-/LT2Pc0ky5PZvNlNQF3Yd1OX/AAkVaF0TdJdRR/81m7/IvmwdTrCbahjp5560e7C/oXd+koWqr5UYplgo+XLZA==",
"hasInstallScript": true
},
"node_modules/@walmart/time-clock-mini-app": {
@@ -34566,9 +34566,9 @@
}
},
"@walmart/texting-mini-app": {
- "version": "2.1.0",
- "resolved": "https://npme.walmart.com/@walmart/texting-mini-app/-/texting-mini-app-2.1.0.tgz",
- "integrity": "sha512-xZ2cMleuIkij6JXr/5IfMBIV5hxcWtsK5D6DmWVj3wVVGfpxLS2ruwzEHk8Z0W53OXo4bfhamcnbDPlnNQjLtw=="
+ "version": "2.1.1",
+ "resolved": "https://npme.walmart.com/@walmart/texting-mini-app/-/texting-mini-app-2.1.1.tgz",
+ "integrity": "sha512-/LT2Pc0ky5PZvNlNQF3Yd1OX/AAkVaF0TdJdRR/81m7/IvmwdTrCbahjp5560e7C/oXd+koWqr5UYplgo+XLZA=="
},
"@walmart/time-clock-mini-app": {
"version": "2.175.2",
--- package.json
@@ -125,7 +125,7 @@
"@walmart/schedule-mini-app": "0.55.0",
"@walmart/shelfavailability-mini-app": "1.5.17",
"@walmart/taskit-mini-app": "2.47.9",
- "@walmart/texting-mini-app": "2.1.0",
+ "@walmart/texting-mini-app": "2.1.1",
"@walmart/time-clock-mini-app": "2.175.2",
"@walmart/topstock-mini-app": "1.3.1",
"@walmart/ui-components": "1.15.1",
| Update texting mini app version for RN update | Update texting mini app version for RN update
|
32027df5dd8284fa066968c1f42caa60abf73ace | --- package-lock.json
@@ -8004,6 +8004,7 @@
"version": "1.21.0",
"resolved": "https://npme.walmart.com/@react-native-async-storage/async-storage/-/async-storage-1.21.0.tgz",
"integrity": "sha512-JL0w36KuFHFCvnbOXRekqVAUplmOyT/OuCQkogo6X98MtpSaJOKEAeZnYO8JB0U/RIEixZaGI5px73YbRm/oag==",
+ "dev": true,
"license": "MIT",
"dependencies": {
"merge-options": "^3.0.4"
@@ -22871,6 +22872,7 @@
"version": "3.0.4",
"resolved": "https://npme.walmart.com/merge-options/-/merge-options-3.0.4.tgz",
"integrity": "sha512-2Sug1+knBjkaMsMgf1ctR1Ujx+Ayku4EdJN4Z+C2+JzoeF7A3OZ9KM2GY0CpQS51NR61LTurMJrRKPhSs3ZRTQ==",
+ "dev": true,
"license": "MIT",
"dependencies": {
"is-plain-obj": "^2.1.0"
@@ -22883,6 +22885,7 @@
"version": "2.1.0",
"resolved": "https://npme.walmart.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz",
"integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -28186,17 +28189,6 @@
"url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/rn-flipper-async-storage-advanced": {
- "version": "1.0.5",
- "resolved": "https://npme.walmart.com/rn-flipper-async-storage-advanced/-/rn-flipper-async-storage-advanced-1.0.5.tgz",
- "integrity": "sha512-IW2qXGyf+wgZKNV01li02e7c/DR/NQGIdQZ5CKynhVtl0Od8tO4AS/mZtRjmPbRtqSSGTdOUBSJ4d2JsCVZUPw==",
- "license": "ISC",
- "peerDependencies": {
- "@react-native-async-storage/async-storage": "^1.17.12",
- "react": "^18.2.0",
- "react-native-flipper": "*"
- }
- },
"node_modules/run-async": {
"version": "2.4.1",
"resolved": "https://npme.walmart.com/run-async/-/run-async-2.4.1.tgz",
@@ -33352,8 +33344,7 @@
"@walmart/allspark-utils": "^6.0.15",
"jwt-decode": "^3.1.2",
"nanoid": "4.0.2",
- "redux-flipper": "^2.0.2",
- "rn-flipper-async-storage-advanced": "^1.0.5"
+ "redux-flipper": "^2.0.2"
},
"devDependencies": {
"@react-native-async-storage/async-storage": "^1.19.4",
--- packages/allspark-foundation/src/Translation/modals/ChangeLanguageModal.tsx
@@ -5,7 +5,7 @@ import { SafeAreaView } from 'react-native-safe-area-context';
import { useAllsparkModal } from '../../Navigation';
import { AllsparkTranslationClient, useAllsparkTranslation } from '../index';
-import { AllsparkFeature } from '../../Feature';
+import { AllsparkFeature } from '../../Feature/AllsparkFeature';
const styles = StyleSheet.create({
radioButton: {
--- packages/allspark-utils/__tests__/RenderGuardTest.tsx
@@ -1,5 +1,5 @@
import React from 'react';
-import {RenderGuard} from '../src/RenderGuard';
+import {RenderGuard, RenderHookGuard} from '../src/RenderGuard';
import { View } from 'react-native';
import { render } from '@testing-library/react-native';
@@ -17,9 +17,9 @@ describe("Render guard tests", () => {
const testHook = () => {
return true;
}
- const { findByTestId } = render(<RenderGuard preRenderHook={testHook}>
+ const { findByTestId } = render(<RenderHookGuard preRenderHook={testHook}>
<MockTestComponent />
- </RenderGuard>);
+ </RenderHookGuard>);
expect(await (findByTestId('testRender'))).toBeDefined();
})
})
| chore: test fixes | chore: test fixes
|
c7442a9ff352530500158fb7cf850a757ede30de | --- ios/Podfile.lock
@@ -180,7 +180,7 @@ PODS:
- RNPermissions
- PromisesObjC (2.0.0)
- Protobuf (3.17.0)
- - PTT (0.6.0-rc.6):
+ - PTT (0.6.1):
- BinaryCodable (~> 0.2.1)
- CocoaAsyncSocket (~> 7.6.3)
- Starscream (~> 3.0.2)
@@ -364,8 +364,8 @@ PODS:
- React-Core
- react-native-pdf (6.2.2):
- React-Core
- - react-native-ptt-module (1.3.6):
- - PTT (= 0.6.0-rc.6)
+ - react-native-ptt-module (1.3.7):
+ - PTT (= 0.6.1)
- React
- react-native-safe-area-context (3.1.8):
- React-Core
@@ -833,7 +833,7 @@ SPEC CHECKSUMS:
Permission-Notifications: 4325073de6e418cfbbdd8d296822c419d8ddc7ef
PromisesObjC: 68159ce6952d93e17b2dfe273b8c40907db5ba58
Protobuf: 7327d4444215b5f18e560a97f879ff5503c4581c
- PTT: 77f5b7578dbdc8a8f5b4509844a6e9f234bd5b83
+ PTT: 52528d6f7b90d7984161f4dfe4516cfda9754c02
RCTRequired: 082f10cd3f905d6c124597fd1c14f6f2655ff65e
RCTTypeSafety: 8c9c544ecbf20337d069e4ae7fd9a377aadf504b
React: b0a957a2c44da4113b0c4c9853d8387f8e64e615
@@ -851,7 +851,7 @@ SPEC CHECKSUMS:
react-native-logger: 95fe964398913088bd1add74ff671916c4ddfd76
react-native-netinfo: 77d133105df525d4a11f10fcaa8d0b8883ea6429
react-native-pdf: 4b5a9e4465a6a3b399e91dc4838eb44ddf716d1f
- react-native-ptt-module: 65c70129b84f1a1d8a9e12bfb6b4ff74f27361a4
+ react-native-ptt-module: 0d956aa611f2df9269efc4af39869359fa3b3b3f
react-native-safe-area-context: 01158a92c300895d79dee447e980672dc3fb85a6
react-native-splash-screen: 200d11d188e2e78cea3ad319964f6142b6384865
react-native-video: 8d97379f3c2322a569f1e27542ad1a646cad9444
--- package-lock.json
@@ -3471,9 +3471,9 @@
}
},
"@walmart/push-to-talk-mini-app": {
- "version": "0.5.37",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.37.tgz",
- "integrity": "sha512-A67/TLeREAlUGETQzPBib7lc6zp4GSiHvFFI+vymAmDfWe+eguSXhQextY0kbWQz3YI1ijQ1nw7AoHzuf+kw4w=="
+ "version": "0.5.39",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.39.tgz",
+ "integrity": "sha512-AedOJJJ2M6AH756v/jqOZvleYBc630E/6W9bxhqjilJ7lppZe4+S7NVBci760T4PIL+fi3hv6/wZjcVH51/juw=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
@@ -12858,9 +12858,9 @@
"integrity": "sha512-PO99dptMocEfUSS3SM7gY6UqophaBxizKjnZ7FcEwa+H4ONVxTk310/JCXJ9vdNunomgpxHluKRXnApfm9Md1w=="
},
"react-native-ptt-module": {
- "version": "1.3.6",
- "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.3.6.tgz",
- "integrity": "sha512-6MExVB9ZOhXvF50Z3M98jdvRhHlkIc0KzOkDuzMO0h4xKp+5Hi57lRVM8YlaOGBwYVybb3MyNlWPQt4HMbPS4Q=="
+ "version": "1.3.7",
+ "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.3.7.tgz",
+ "integrity": "sha512-RBm+FrAXrgrr7yH6aFM08SCed3fp57lWUOA5YN6CYL9YpqJjrUta7WRF+J9GZF9sLzYJGsAH6w2gTiU9p/G9xg=="
},
"react-native-qrcode-svg": {
"version": "6.0.6",
--- package.json
@@ -88,7 +88,7 @@
"@walmart/manager-approvals-miniapp": "0.0.51",
"@walmart/metrics-mini-app": "0.4.12",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/push-to-talk-mini-app": "0.5.37",
+ "@walmart/push-to-talk-mini-app": "0.5.39",
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.27.0",
"@walmart/react-native-shared-navigation": "^0.4.0",
@@ -133,7 +133,7 @@
"react-native-pdf": "^6.2.0",
"react-native-permissions": "3.0.0",
"react-native-popup-menu": "^0.15.9",
- "react-native-ptt-module": "1.3.6",
+ "react-native-ptt-module": "1.3.7",
"react-native-qrcode-svg": "^6.0.6",
"react-native-reanimated": "^1.10.2",
"react-native-safe-area-context": "^3.1.3",
| chore: ptt xcode build fix (SMDV-1944) | chore: ptt xcode build fix (SMDV-1944)
|
5d61543fd984983e400ef4d26daf93229e760aa6 | --- package-lock.json
@@ -37061,7 +37061,7 @@
"version": "2.1.6",
"dev": true,
"requires": {
- "axios": "^0.21.4"
+ "axios": "~1.2.6"
}
},
"chalk": {
| reverted the package lock change | reverted the package lock change
|
18c8523ce1af6cab3b31e4e0d7e7d81b5204d067 | --- __tests__/auth/AuthenticatorViewTest.tsx
@@ -143,7 +143,11 @@ describe('AuthenticatorView', () => {
},
};
- mockUseSelector.mockRejectedValueOnce(ssoState);
+ mockUseSelector.mockImplementation((selector: (state: any) => any) => {
+ const result = selector({user: ssoState});
+ expect(result).toEqual(ssoState);
+ return ssoState;
+ });
let component: ReactTestRenderer;
@@ -155,5 +159,14 @@ describe('AuthenticatorView', () => {
);
});
expect(component.toJSON()).toMatchSnapshot();
+
+ act(() => {
+ component.update(
+ <AuthenticatorView {...props}>
+ <Content />
+ </AuthenticatorView>,
+ );
+ });
+ expect(mockConnectedSSO.getFreshAccessToken).toHaveBeenCalled();
});
});
--- __tests__/auth/moduleTest.ts
@@ -0,0 +1,22 @@
+const mockSSO = {
+ stuff: 'junk',
+};
+jest.mock('react-native', () => ({
+ NativeModules: {
+ WMSingleSignOn: {
+ stuff: 'junk',
+ },
+ },
+ NativeEventEmitter: jest.fn().mockImplementation((arg) => ({
+ module: arg,
+ })),
+}));
+
+import WMSingleSignOn, {ssoEventEmitter} from '../../src/auth/module';
+
+describe('module', () => {
+ it('wraps native module stuff', () => {
+ expect(WMSingleSignOn).toEqual(mockSSO);
+ expect(ssoEventEmitter.module).toEqual(WMSingleSignOn);
+ });
+});
--- __tests__/home/HomeTest.tsx
@@ -8,15 +8,32 @@ import {useSelector} from 'react-redux';
import {Home} from '../../src/home/Home';
describe('Home', () => {
- it('renders', () => {
+ const mockUseSelector = useSelector as jest.Mock;
+ it('renders with user', () => {
const user = {displayName: 'test user'};
- (useSelector as jest.Mock).mockReturnValue({
- user,
+ mockUseSelector.mockImplementationOnce((selector: (state: any) => any) => {
+ selector({user: {user}});
+ return {user};
});
+
let component: ReactTestRenderer;
act(() => {
component = create(<Home />);
});
expect(component!.toJSON()).toMatchSnapshot();
});
+
+ it('renders without user', () => {
+ const user = null;
+ mockUseSelector.mockImplementationOnce((selector: (state: any) => any) => {
+ selector({user: {user}});
+ return {user};
+ });
+
+ let component: ReactTestRenderer;
+ act(() => {
+ component = create(<Home />);
+ });
+ expect(component.toJSON()).toMatchSnapshot();
+ });
});
--- __tests__/home/__snapshots__/HomeTest.tsx.snap
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`Home renders 1`] = `
+exports[`Home renders with user 1`] = `
<View>
<Text
style={
@@ -17,63 +17,7 @@ exports[`Home renders 1`] = `
Welcome
test user
</Text>
- <View
- collapsable={true}
- style={
- Object {
- "flexDirection": "row",
- "justifyContent": "center",
- "overflow": "visible",
- }
- }
- >
- <View
- accessibilityRole="button"
- accessibilityState={
- Object {
- "selected": undefined,
- }
- }
- accessible={true}
- focusable={true}
- forwardedRef={[Function]}
- onClick={[Function]}
- onResponderGrant={[Function]}
- onResponderMove={[Function]}
- onResponderRelease={[Function]}
- onResponderTerminate={[Function]}
- onResponderTerminationRequest={[Function]}
- onStartShouldSetResponder={[Function]}
- style={
- Object {
- "backgroundColor": "rgba(0, 113, 220, 1)",
- "borderColor": "rgba(0, 113, 220, 1)",
- "borderRadius": 40,
- "borderWidth": 1,
- "flexDirection": "row",
- "flexShrink": 1,
- "paddingHorizontal": 23,
- }
- }
- >
- <Text
- forwardedRef={[Function]}
- style={
- Object {
- "color": "#FFFFFF",
- "fontFamily": "Bogle",
- "fontSize": 16,
- "fontStyle": "normal",
- "fontWeight": "700",
- "height": 38,
- "lineHeight": 38,
- "textAlign": "center",
- }
- }
- >
- Stuff
- </Text>
- </View>
- </View>
</View>
`;
+
+exports[`Home renders without user 1`] = `null`;
--- __tests__/navigation/TabBarTest.tsx
@@ -45,6 +45,7 @@ describe('TabBar', () => {
},
navigation: {
navigate: jest.fn(),
+ emit: jest.fn(),
},
state: {
routes: [
@@ -80,5 +81,36 @@ describe('TabBar', () => {
});
expect(component.toJSON()).toMatchSnapshot();
+
+ // press ask sam button
+ const askSamTabBarButton = component.root.findByProps({
+ testID: 'askSamTabBarButton',
+ });
+ askSamTabBarButton.props.onPress();
+ expect(props.navigation.navigate).toHaveBeenCalledWith('askSam');
+
+ const mockEmit = props.navigation.emit as jest.Mock;
+ mockEmit.mockReturnValue({});
+
+ // press already focused button
+ const tabButtonHome = component.root.findByProps({testID: 'tabButtonHome'});
+ tabButtonHome.props.onPress();
+ expect(props.navigation.navigate).not.toHaveBeenCalledWith('home');
+ expect(mockEmit).toHaveBeenCalledWith({
+ type: 'tabPress',
+ target: 'home',
+ canPreventDefault: true,
+ });
+
+ // press not focused button
+ const tabButtonMe = component.root.findByProps({testID: 'tabButtonMe'});
+ tabButtonMe.props.onPress();
+ expect(props.navigation.navigate).toHaveBeenCalledWith('me');
+
+ // press not focused button; default prevented
+ mockEmit.mockReturnValue({defaultPrevented: true});
+ (props.navigation.navigate as jest.Mock).mockClear();
+ tabButtonMe.props.onPress();
+ expect(props.navigation.navigate).not.toHaveBeenCalledWith('me');
});
});
--- package.json
@@ -100,7 +100,7 @@
"collectCoverageFrom": [
"<rootDir>/src/**/*.{js,jsx,ts,tsx}",
"!<rootDir>/src/navigation/Navigation.tsx",
- "!<rootDir>/src/navigation/NavigationStyle.tsx",
+ "!<rootDir>/src/navigation/NavigationStyle.ts",
"!<rootDir>/src/navigation/SideMenuContent.tsx"
],
"coverageThreshold": {
--- src/home/Home.tsx
@@ -2,7 +2,7 @@ import React from 'react';
import {View} from 'react-native';
import {useSelector} from 'react-redux';
-import {PrimaryButton, Body} from '@walmart/gtp-shared-components';
+import {Body} from '@walmart/gtp-shared-components';
import {SSOState} from '@walmart/redux-store';
export const Home = () => {
@@ -12,9 +12,6 @@ export const Home = () => {
return (
<View>
<Body>Welcome {user.displayName}</Body>
- <PrimaryButton onPress={() => console.log('pressed')}>
- Stuff
- </PrimaryButton>
</View>
);
}
| improving coverage | improving coverage
|
b4416dead9b48445a9587317142ef991b8339480 | --- src/appBlockPrompt/redux.ts
@@ -13,11 +13,11 @@ export const getAppAccessibleConfig = createSelector(
};
}
- const isAccessible = appConfig.data?.core.isAccessible !== false;
+ const isAccessible = appConfig.data?.core?.isAccessible !== false;
return {
isAccessible,
- ...appConfig.data?.core.accessConfigContent,
+ ...appConfig.data?.core?.accessConfigContent,
};
},
);
| handle case where app config is not loaded (#451) | handle case where app config is not loaded (#451)
|
f3beb3a82eadcdb82c6ae0e2c54529cf73415e20 | --- src/components/Roster/AssociateListItem.tsx
@@ -99,36 +99,36 @@ export const AssociateListItem: React.FC<AssociateListItemProps> = React.memo(
)
}
</>
- }
- />
- <Body weight='400' size='small' numberOfLines={1}>
- {namecase(associate?.jobCategoryCodeDesc)}
- </Body>
- {isStoreScheduleValid && (
+ }>
<Body weight='400' size='small' numberOfLines={1}>
- {namecase(formatSchedule(associate?.storeSchedule))}
+ {namecase(associate?.jobCategoryCodeDesc)}
</Body>
- )}
- {shouldShowStatusChipAndWeeklySchedule && (
- <TouchableOpacity
- onPress={() => {
- goToIndividualSchedule(
- associate.userId,
- associate.fullName,
- siteId,
- );
- }}
- disabled={!associate.userId}>
- <Body
- weight='400'
- size='small'
- numberOfLines={1}
- UNSAFE_style={styles.viewSchedule}
- testID='viewSchedule'>
- {t('rosterScreen.associateRosterItem.viewSchedule')}
+ {isStoreScheduleValid && (
+ <Body weight='400' size='small' numberOfLines={1}>
+ {namecase(formatSchedule(associate?.storeSchedule))}
</Body>
- </TouchableOpacity>
- )}
+ )}
+ {shouldShowStatusChipAndWeeklySchedule && (
+ <TouchableOpacity
+ onPress={() => {
+ goToIndividualSchedule(
+ associate.userId,
+ associate.fullName,
+ siteId,
+ );
+ }}
+ disabled={!associate.userId}>
+ <Body
+ weight='400'
+ size='small'
+ numberOfLines={1}
+ UNSAFE_style={styles.viewSchedule}
+ testID='viewSchedule'>
+ {t('rosterScreen.associateRosterItem.viewSchedule')}
+ </Body>
+ </TouchableOpacity>
+ )}
+ </ListItem>
</CardContent>
</Card>
);
| updating roster list item | updating roster list item
|
eb6adb90638310b36bdc967f70a918d88c872fbb | --- .looper-pr.yml
@@ -15,4 +15,6 @@ envs:
MONO_REPO: allspark/allspark-core
MONO_REPO_BASE_BRANCH: develop
AUTHOR: temp
- SLACK_CHANNEL: "smdv-miniapp"
\ No newline at end of file
+ SLACK_CHANNEL: "smdv-miniapp"
+
+
\ No newline at end of file
| feat(ci): update to new looper template SSMP-1101 | feat(ci): update to new looper template SSMP-1101
|
abf467d8c8984e9d6951659f8e5d69f965acbe5c | --- package-lock.json
@@ -47,7 +47,7 @@
"@walmart/calling-mini-app": "0.1.8",
"@walmart/compass-sdk-rn": "5.18.15",
"@walmart/config-components": "4.2.16",
- "@walmart/copilot-mini-app": "3.50.4",
+ "@walmart/copilot-mini-app": "3.50.5",
"@walmart/core-services": "~2.3.0",
"@walmart/core-services-allspark": "~2.13.5",
"@walmart/core-utils": "~2.0.5",
@@ -8711,9 +8711,9 @@
}
},
"node_modules/@walmart/copilot-mini-app": {
- "version": "3.50.4",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.50.4.tgz",
- "integrity": "sha512-6QlSBYHicRz46FMVDzOJWMmNaRcdflW1N6QM0I9gBu4mcCvSOuycWjb+qk8i/YPt/yDZFUlItX+wYtAN3VMpwQ==",
+ "version": "3.50.5",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.50.5.tgz",
+ "integrity": "sha512-h4GTDrTxy6NNzvsQ68mikTRPq5ip7spOsbMe+ury9xjTXHv+Y5ikhuYceDt3+X9PPsHYGtygkfc3QtjV2nToiA==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -33315,9 +33315,9 @@
}
},
"@walmart/copilot-mini-app": {
- "version": "3.50.4",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.50.4.tgz",
- "integrity": "sha512-6QlSBYHicRz46FMVDzOJWMmNaRcdflW1N6QM0I9gBu4mcCvSOuycWjb+qk8i/YPt/yDZFUlItX+wYtAN3VMpwQ=="
+ "version": "3.50.5",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.50.5.tgz",
+ "integrity": "sha512-h4GTDrTxy6NNzvsQ68mikTRPq5ip7spOsbMe+ury9xjTXHv+Y5ikhuYceDt3+X9PPsHYGtygkfc3QtjV2nToiA=="
},
"@walmart/core-services": {
"version": "2.3.2",
--- package.json
@@ -88,7 +88,7 @@
"@walmart/calling-mini-app": "0.1.8",
"@walmart/compass-sdk-rn": "5.18.15",
"@walmart/config-components": "4.2.16",
- "@walmart/copilot-mini-app": "3.50.4",
+ "@walmart/copilot-mini-app": "3.50.5",
"@walmart/core-services": "~2.3.0",
"@walmart/core-services-allspark": "~2.13.5",
"@walmart/core-utils": "~2.0.5",
| chore: bump copilot@3.50.5 | chore: bump copilot@3.50.5
|
5cac14f1e48e2136e35fcb07fd42acb9da9ce4ed | --- __tests__/rbacConfig/utility/updateMeganavDataTest.tsx
@@ -185,7 +185,7 @@ const rbacData = {
rn: 'SIDENAV/setting-me/home',
a: 'DENY',
cnds: [],
- }
+ },
],
groups: {
Local: ['Language Group'],
| Changes done which were suggested and required | Changes done which were suggested and required
|
040c3a3c72c4fa6eb94d9ddd116805e9a29a979c | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Components/ShiftFilter/types.ts
@@ -1,15 +1,14 @@
-export interface ShiftFilterProps {
+export type Shift = {
shiftId: string;
teamImage?: {
uri: string;
};
+};
+export interface ShiftFilterProps extends Shift {
handleSelectShift: (shiftId: string) => void;
}
export interface ShiftFilterListProps {
- filterListData: Array<{
- shiftId: string;
- teamImage: { uri: string };
- }>;
+ filterListData: Array<Shift>;
handleSelectShift: (shiftId: string) => void;
}
| Updatin types | Updatin types
|
08ec689bd6ae96c5334d6af5d03ace84dbc41305 | --- src/managerExperience/components/FilterChipGroup/styles.ts
@@ -12,7 +12,7 @@ export const filterChipGroupStyles = StyleSheet.create({
},
shiftChip: {
borderWidth: 0,
- backgroundColor: colors.separator['100'],
+ backgroundColor: colors.gray['10'],
borderRadius: 16,
display: 'flex',
flexDirection: 'row',
| adjust Shift Chip color | adjust Shift Chip color
|
2650e8e18e2f0a564ae7d3393d55cde8a1fea7e9 | --- package.json
@@ -110,7 +110,7 @@
"@walmart/gta-react-native-calendars": "0.7.0",
"@walmart/gtp-shared-components": "2.2.7",
"@walmart/ims-print-services-ui": "2.21.1",
- "@walmart/inbox-mini-app": "0.101.1",
+ "@walmart/inbox-mini-app": "0.102.2",
"@walmart/invue-react-native-sdk": "0.1.26-alpha.12",
"@walmart/iteminfo-mini-app": "8.4.2",
"@walmart/learning-mini-app": "20.0.76",
--- yarn.lock
@@ -7247,9 +7247,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/inbox-mini-app@npm:0.101.1":
- version: 0.101.1
- resolution: "@walmart/inbox-mini-app@npm:0.101.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.101.1.tgz"
+"@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"
peerDependencies:
"@walmart/allspark-foundation": "*"
"@walmart/allspark-utils": ">=1.6.4"
@@ -7260,7 +7260,7 @@ __metadata:
"@walmart/onewalmart-miniapp": "*"
"@walmart/schedule-mini-app": "*"
"@walmart/walmart-fiscal-week": "*"
- checksum: 10c0/a583a98a00518cbeee0f9139ea91575321f807f4d3bf0a8f134a85db5bc54d74dbe02a7c2ac767cbb3e2e1ca8ff2d3299b860ee07004ef1a9ef3215d4e615144
+ checksum: 10c0/bf3aaaa43afb64fcc3f383d200a5fe784b1c12d9e2327f155d730fb6c81dfd0c4e40368ef95d004912c9e87aea53ddd603749abdcfc6ee050b8ac3dca9c48bf5
languageName: node
linkType: hard
@@ -7615,7 +7615,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.21.1"
- "@walmart/inbox-mini-app": "npm:0.101.1"
+ "@walmart/inbox-mini-app": "npm:0.102.2"
"@walmart/invue-react-native-sdk": "npm:0.1.26-alpha.12"
"@walmart/iteminfo-mini-app": "npm:8.4.2"
"@walmart/learning-mini-app": "npm:20.0.76"
| fix(version): updated the versions for inbox changes SSMP-10807 (#4481) | fix(version): updated the versions for inbox changes SSMP-10807 (#4481)
Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com> |
cc619e70b7798fd09aff5cd53a9f1df786581ffb | --- package-lock.json
@@ -45,7 +45,7 @@
"@walmart/counts-component-miniapp": "0.1.2",
"@walmart/emergency-mini-app": "1.19.0",
"@walmart/exception-mini-app": "1.1.11",
- "@walmart/facilities-management-miniapp": "0.6.2",
+ "@walmart/facilities-management-miniapp": "0.6.3",
"@walmart/feedback-all-spark-miniapp": "0.9.10",
"@walmart/financial-wellbeing-feature-app": "1.3.1",
"@walmart/functional-components": "~4.0.3",
@@ -5084,9 +5084,9 @@
}
},
"node_modules/@walmart/facilities-management-miniapp": {
- "version": "0.6.2",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.2.tgz",
- "integrity": "sha512-B8Cu5fmrPmk8HwMcE4aCTQ2ztik7p7d3svB6X2EWZwKgVE6UNJusB8r9IqhFGajse4qbIE7Xyp7nthQ4BK4PaQ==",
+ "version": "0.6.3",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.3.tgz",
+ "integrity": "sha512-TZREKLi6L6H9uYJpPuIMt3MxC7PhTgy/6N6sBiI0n/Ybcc48K52MM4tIgURUrG4vDAsSb7oK2nOW54Rfk9+2KA==",
"hasInstallScript": true,
"peerDependencies": {
"@react-native-community/async-storage": "^1.12.1",
@@ -25073,9 +25073,9 @@
"version": "1.1.11"
},
"@walmart/facilities-management-miniapp": {
- "version": "0.6.2",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.2.tgz",
- "integrity": "sha512-B8Cu5fmrPmk8HwMcE4aCTQ2ztik7p7d3svB6X2EWZwKgVE6UNJusB8r9IqhFGajse4qbIE7Xyp7nthQ4BK4PaQ=="
+ "version": "0.6.3",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.3.tgz",
+ "integrity": "sha512-TZREKLi6L6H9uYJpPuIMt3MxC7PhTgy/6N6sBiI0n/Ybcc48K52MM4tIgURUrG4vDAsSb7oK2nOW54Rfk9+2KA=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.9.10"
--- package.json
@@ -87,7 +87,7 @@
"@walmart/counts-component-miniapp": "0.1.2",
"@walmart/emergency-mini-app": "1.19.0",
"@walmart/exception-mini-app": "1.1.11",
- "@walmart/facilities-management-miniapp": "0.6.2",
+ "@walmart/facilities-management-miniapp": "0.6.3",
"@walmart/feedback-all-spark-miniapp": "0.9.10",
"@walmart/financial-wellbeing-feature-app": "1.3.1",
"@walmart/functional-components": "~4.0.3",
| Updating package.json - @walmart/facilities-management-miniapp to 0.6.3 | Updating package.json - @walmart/facilities-management-miniapp to 0.6.3
|
86bf80abb2cb78c0966b7545cb964f2a0f2ab3ed | --- packages/allspark-foundation/src/Components/ComponentContainers.md
@@ -66,6 +66,43 @@ Or with `AllsparkComponentContainers`:
<AllsparkComponentContainers.Component container='Me@Walmart.HomeScreen' id='emergency-card' {...props} />
```
+#### Custom component layout
+
+Use the `Layout` component to customize render order and layout.
+
+Layout configuration is specified through the `layout` prop and is an array matching the following format:
+
+```ts
+// { componentId: string; width?: number }[][]
+
+// example
+const layout = [
+ [{componentId: 'component1'}],
+ [{componentId: 'component2', width: 2}, {componentId: 'component3', width: 1}],
+ [{componentId: 'component4'}],
+]
+
+// This would render 3 rows with 1, 2, and 1 components respectively.
+```
+
+Other props on the layout component are:
+
+- `style` - Style object to apply to the container.
+- `scrollable` - If layout should be wrapped with a scrollview. Defaults to `true`.
+- `props` - Props to pass to the child components.
+
+On the container instance:
+
+```tsx
+<HomeScreen.Layout layout={layout} scrollable={false} style={...} props={{...}} />
+```
+
+Or with `AllsparkComponentContainers`:
+
+```tsx
+<AllsparkComponentContainers.Layout container='Me@Walmart.HomeScreen' layout={layout} scrollable={false} style={...} props={{...}} />
+```
+
### Adding a Component
```tsx
--- packages/allspark-foundation/src/Components/ComponentContainers.tsx
@@ -4,12 +4,19 @@ import {
useRenderOnChange,
DynamicQueue,
AnyObject,
+ Layout,
+ LayoutProps,
} from '@walmart/allspark-utils';
type ComponentContainerListConfig = {
allow?: string[];
};
+type ComponentLayoutConfig<P extends AnyObject> = Omit<
+ LayoutProps<P>,
+ 'config'
+>;
+
/**
* A component container manages a set of components with a given set of props.
*
@@ -109,6 +116,22 @@ export class ComponentContainer<Props extends AnyObject> {
return <Component {...rest} />;
};
+ /**
+ * Renders components added to the container for a given layout config.
+ * An extension of the `Layout` component from '@walmart/allspark-utils'.
+ *
+ * Useful if needing to organize components into a grid or in a certain order.
+ */
+ public Layout = (props: ComponentLayoutConfig<Props>) => {
+ const config = Object.fromEntries(this._components.entries());
+
+ useRenderOnChange({
+ addChangeListener: (cb) => this._eventManager.addListener('change', cb),
+ });
+
+ return <Layout {...props} config={config} />;
+ };
+
/**
* Renders all components added to the container with the given props
* @param props - Props to pass to the components.
@@ -230,6 +253,21 @@ class ComponentContainerManager<Containers extends Record<string, AnyObject>> {
return container;
};
+ /**
+ * Renders components added to the container for a given layout config.
+ * An extension of the `Layout` component from '@walmart/allspark-utils'.
+ *
+ * Useful if needing to organize components into a grid or in a certain order.
+ */
+ public Layout = <K extends keyof Containers>(
+ props: { container: K } & ComponentLayoutConfig<Containers[K]>
+ ) => {
+ const { container, ...rest } = props;
+ const Container = this._containers[container];
+
+ return <Container.Layout {...rest} />;
+ };
+
/**
* Renders container component for a given container ID.
* @param props.container - The ID of the container to render.
| feat: add layout component to component container | feat: add layout component to component container
|
de863475229c39382c7240505bae0ddf50ec3cff | --- yarn.lock
@@ -7009,7 +7009,7 @@ __metadata:
"@walmart/emergency-mini-app": "npm:1.29.8"
"@walmart/exception-mini-app": "npm:1.8.11"
"@walmart/facilities-management-miniapp": "npm:0.14.6"
- "@walmart/feedback-all-spark-miniapp": "npm:0.9.69"
+ "@walmart/feedback-all-spark-miniapp": "npm:0.9.70"
"@walmart/financial-wellbeing-feature-app": "npm:1.26.0"
"@walmart/functional-components": "npm:~6.3.20"
"@walmart/gta-react-native-calendars": "npm:0.7.0"
| GDVCVR-17270 P1 Accessibility bug fixes | GDVCVR-17270 P1 Accessibility bug fixes
|
c2853b6a992e07c9c0f57b56288d24d1eb006832 | --- docs/CHANGELOG.md
@@ -1,3 +1,21 @@
+# [2.38.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.37.1...v2.38.0) (2025-05-21)
+
+
+### Bug Fixes
+
+* **ui:** update package ([7740f38](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/7740f38ac8489f25dc05862ed187559e03076588))
+* **ui:** update package ([d86532d](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/d86532de637f0817dd8a0893709644e2a1b74d26))
+* **ui:** update package ([d755114](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/d755114dd64c6f9c9aab0b21295ca8c20fd17b63))
+
+
+### Features
+
+* **ui:** update scripts ([28265c6](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/28265c6083c8ad9f634787a934a9a552a7899141))
+* **ui:** update scripts ([718ecf9](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/718ecf9202fc3e581d2fcded7e8e3900f5fc4939))
+* **ui:** update scripts ([58cffa5](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/58cffa58569edbcd00112b27bf8022e11450bab6))
+* **ui:** update scripts ([9dd6691](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/9dd66919c421696c7177624d653c196b72af977e))
+* **ui:** update scripts ([c75fae6](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/c75fae65c4370a60303c577928de2c8e5946285c))
+
## [2.37.1](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.37.0...v2.37.1) (2025-05-10)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.37.1",
+ "version": "2.38.0",
"main": "dist/index.js",
"files": [
"dist",
@@ -194,5 +194,10 @@
"skipScope": false,
"jiraPrefix": "JIRA_PROJECT"
}
+ },
+ "dependencies": {
+ "expo": "~51.0.28",
+ "react": "18.2.0",
+ "react-native": "0.74.5"
}
}
| chore(release): 2.38.0 [skip ci] | chore(release): 2.38.0 [skip ci]
# [2.38.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.37.1...v2.38.0) (2025-05-21)
### Bug Fixes
* **ui:** update package ([7740f38](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/7740f38ac8489f25dc05862ed187559e03076588))
* **ui:** update package ([d86532d](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/d86532de637f0817dd8a0893709644e2a1b74d26))
* **ui:** update package ([d755114](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/d755114dd64c6f9c9aab0b21295ca8c20fd17b63))
### Features
* **ui:** update scripts ([28265c6](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/28265c6083c8ad9f634787a934a9a552a7899141))
* **ui:** update scripts ([718ecf9](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/718ecf9202fc3e581d2fcded7e8e3900f5fc4939))
* **ui:** update scripts ([58cffa5](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/58cffa58569edbcd00112b27bf8022e11450bab6))
* **ui:** update scripts ([9dd6691](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/9dd66919c421696c7177624d653c196b72af977e))
* **ui:** update scripts ([c75fae6](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/c75fae65c4370a60303c577928de2c8e5946285c))
|
9bb9869d9e6ff282f1c9ddd84375d198ef59334f | --- __tests__/startup/StartupFlowTest.ts
@@ -22,7 +22,7 @@ import {
} from '../../src/whatsNew/WhatsNewRedux';
import {checkAvailableSurveys} from '../../src/survey/SurveySaga';
import {handleAppReviewPrompt} from '../../src/appReview/sagas';
-import {DoNotDisturbAutoResetSaga} from '@walmart/texting-mini-app';
+import {DoNotDisturbAutoResetSaga} from '@walmart/wmconnect-mini-app';
import {callingAppOnboardingFlow} from '@walmart/calling-mini-app';
jest.mock('../../src/core/Auth', () => ({
| My team mini app version update for Drop 19 | My team mini app version update for Drop 19
|
1bffeced7e7542ce65ff1c670160b6882ae8bfe5 | --- package.json
@@ -14,7 +14,7 @@
"clean:tsbuildinfo": "rm -rf packages/*.tsbuildinfo || true",
"clean": "yarn run clean:tsbuildinfo && yarn workspaces foreach --all --topological-dev run clean",
"commit": "commit",
- "coverage": "jest --coverage --no-watchman",
+ "coverage": "npm run build && jest --coverage --no-watchman",
"lint": "yarn workspaces foreach --all -p run lint",
"lint:fix": "yarn workspaces foreach --all -p run lint:fix",
"prepare": "husky",
--- packages/allspark-foundation-hub/package.json
@@ -16,7 +16,7 @@
"lint": "npx eslint ./ --ext .js,.jsx,.ts,.tsx",
"lint:fix": "npx eslint ./ --ext .js,.jsx,.ts,.tsx --fix",
"clean:tsbuildinfo": "rm -rf *.tsbuildinfo || true",
- "clean": "yarn run clean:tsbuildinfo || true",
+ "clean": "yarn run clean:tsbuildinfo && rm -rf lib || true",
"build": "yarn run clean && tsc"
},
"engines": {
| feat: fix clean script and build before coverage | feat: fix clean script and build before coverage
|
50e7ead38e4a3cd8ec0a815a6799feb8470f89b8 | --- ios/Podfile.lock
@@ -1584,7 +1584,7 @@ PODS:
- FirebaseMessaging (<= 10.18.0)
- StructuredLogAssistantIOS (= 0.0.7)
- TOCropViewController (2.6.1)
- - topstock-mini-app (1.7.1):
+ - topstock-mini-app (1.8.5):
- React
- VisionCamera (3.7.1):
- React
@@ -2213,7 +2213,7 @@ SPEC CHECKSUMS:
StructuredLogAssistantIOS: d48c327b3b67366d954435891dc1e748a6aeb9c1
SumoSDK: 95c692d2e6644ca3c2cd1a856aa823e163acac45
TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863
- topstock-mini-app: 6ed181f5414334e7ef24068f576b4430db99cb7c
+ topstock-mini-app: e34fc5ae3e1f79ffdeca89b75537fc6647659a74
VisionCamera: ef56ac9d3e0fef4b94c7cf75735aaccc2326e35a
walmart-react-native-sumo-sdk: 00f0285ccb2b0a56f72a5f3ab86295af0d29021c
WebexSDK: 1efbb609d59b63ea9486352ce025feab1d8bd274
@@ -2221,6 +2221,6 @@ SPEC CHECKSUMS:
Yoga: b76f1acfda8212aa16b7e26bcce3983230c82603
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
-PODFILE CHECKSUM: 7b7b281b751e96e34f3bafe613be21dba2e71ef3
+PODFILE CHECKSUM: 17bff6a3a98766ccda0ab984171c89f81f02b9d2
COCOAPODS: 1.12.0
--- package-lock.json
@@ -95,8 +95,8 @@
"@walmart/react-native-shared-navigation": "6.0.7",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.6.4",
- "@walmart/receipt-check-miniapp": "1.19.4",
"@walmart/react-native-webex-sdk": "0.1.8",
+ "@walmart/receipt-check-miniapp": "1.19.4",
"@walmart/redux-store": "6.0.7",
"@walmart/returns-mini-app": "4.6.0",
"@walmart/rfid-scan-mini-app": "2.2.8",
@@ -104,7 +104,7 @@
"@walmart/schedule-mini-app": "0.94.1",
"@walmart/shelfavailability-mini-app": "1.5.23",
"@walmart/store-feature-orders": "1.26.5",
- "@walmart/taskit-mini-app": "2.64.8",
+ "@walmart/taskit-mini-app": "2.81.0",
"@walmart/time-clock-mini-app": "2.338.1",
"@walmart/topstock-mini-app": "1.8.5",
"@walmart/ui-components": "1.15.11",
@@ -12461,9 +12461,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "2.64.8",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.64.8.tgz",
- "integrity": "sha512-4tWlR5ffA8Wj2iNGxqxABlYe6PihOUtcYWewNRs45WvTZdeJGsBTei2Pq/qVwxDH7pbmrWjfg5rGKmgx1hTPgw==",
+ "version": "2.81.0",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.81.0.tgz",
+ "integrity": "sha512-7rKsM5dZ+TkTztg+1gGxOsFY43Q9TfOouyuXvTbiMdK/PUAc/l7DL1dpPyaMj5GL6KYRKxGOZp0fisopxkWqUA==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
--- package.json
@@ -136,8 +136,8 @@
"@walmart/react-native-shared-navigation": "6.0.7",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.6.4",
- "@walmart/receipt-check-miniapp": "1.19.4",
"@walmart/react-native-webex-sdk": "0.1.8",
+ "@walmart/receipt-check-miniapp": "1.19.4",
"@walmart/redux-store": "6.0.7",
"@walmart/returns-mini-app": "4.6.0",
"@walmart/rfid-scan-mini-app": "2.2.8",
@@ -145,7 +145,7 @@
"@walmart/schedule-mini-app": "0.94.1",
"@walmart/shelfavailability-mini-app": "1.5.23",
"@walmart/store-feature-orders": "1.26.5",
- "@walmart/taskit-mini-app": "2.64.8",
+ "@walmart/taskit-mini-app": "2.81.0",
"@walmart/time-clock-mini-app": "2.338.1",
"@walmart/topstock-mini-app": "1.8.5",
"@walmart/ui-components": "1.15.11",
@@ -406,7 +406,7 @@
"@walmart/schedule-mini-app": "0.94.1",
"@walmart/shelfavailability-mini-app": "1.5.23",
"@walmart/store-feature-orders": "1.26.5",
- "@walmart/taskit-mini-app": "2.64.8",
+ "@walmart/taskit-mini-app": "2.81.0",
"@walmart/time-clock-mini-app": "2.338.1",
"@walmart/topstock-mini-app": "1.8.5",
"@walmart/ui-components": "1.15.11",
| Updated taskit version | Updated taskit version
|
7036ce32bef6e08d46befa6df84d43ae2f977957 | --- packages/allspark-utils/src/addProxy.ts
@@ -31,3 +31,11 @@ export const addProxyMethod = <T extends Object>(value: T) => {
return new Proxy(newValue, proxyHandler);
};
+
+export class Proxyable {
+ constructor() {}
+
+ public proxy<T extends typeof this>(instance: T) {
+ return addProxyMethod<T>(instance);
+ }
+}
--- packages/allspark-utils/src/cacheValue.ts
@@ -0,0 +1,48 @@
+export type Cache = {
+ setItem: (key: string, value: string) => Promise<void>;
+ getItem: (key: string) => Promise<string>;
+ removeItem: (key: string) => Promise<void>;
+};
+
+export type CacheValueConfig = {
+ cache: Cache;
+} & (
+ | { key: string; getKey: never }
+ | { getKey: () => string | Promise<string>; key: never }
+);
+
+export const safeJsonParse = (value: string | null | undefined) => {
+ if (!value) return value;
+
+ try {
+ return JSON.parse(value);
+ } catch {
+ return value;
+ }
+};
+
+/**
+ * @description Create utilities for a key in a given cache.
+ */
+export const CacheValue = (config: CacheValueConfig) => {
+ const get = async (): Promise<string | null | undefined> => {
+ try {
+ const key = config.key || (await config.getKey());
+ return config.cache.getItem(key).then(safeJsonParse);
+ } catch {
+ return undefined;
+ }
+ };
+
+ const set = async (value: any) => {
+ const key = config.key || (await config.getKey());
+ return config.cache.setItem(key, JSON.stringify(value));
+ };
+
+ const remove = async () => {
+ const key = config.key || (await config.getKey());
+ return config.cache.removeItem(key);
+ };
+
+ return { get, set, remove };
+};
--- packages/allspark-utils/src/hooks/index.ts
@@ -1,6 +1,7 @@
export { useAppState, useAppStateEffect } from './useAppState';
export { useAsync } from './useAsync';
export { useBackButton } from './useBackButton';
+export { useCacheValue } from './useCacheValue';
export { useDeviceOrientation } from './useDeviceOrientation';
export { useIsMounted } from './useIsMounted';
export { usePaginateList } from './usePaginateList';
--- packages/allspark-utils/src/hooks/useCacheValue.ts
@@ -0,0 +1,7 @@
+import { useRef } from 'react';
+import { CacheValue, CacheValueConfig } from '../cacheValue';
+
+export const useCacheValue = (config: CacheValueConfig) => {
+ const ref = useRef(CacheValue(config));
+ return ref.current;
+};
--- packages/allspark-utils/src/index.ts
@@ -1,4 +1,6 @@
-export { addProxyMethod } from './addProxy';
+export { addProxyMethod, Proxyable } from './addProxy';
+export { CacheValue } from './cacheValue';
+export type { CacheValueConfig } from './cacheValue';
export { createFallbackInstance } from './createFallback';
export { createGlobalInstance } from './createGlobal';
export { Deferred, DeferredValue } from './deferred';
| feat: add cache value util and hook | feat: add cache value util and hook
|
7ced5e37e2fa29289e534c1381d4d1e7beba26e9 | --- src/home/components/CelebrationCard/index.tsx
@@ -23,7 +23,7 @@ import {ErrorComponent} from '../ErrorComponent';
import {CelebrationCardProps} from './types';
import {AssociateNameList} from './AssociateNameList';
import styles from './styles';
-import { Divider } from '@walmart/gtp-shared-components-3';
+import {Divider} from '@walmart/gtp-shared-components-3';
export const CelebrationCard = (props: CelebrationCardProps) => {
const {style, onRefreshStart, onRefreshEnd, refresh: parentRefresh} = props;
| feat(ui-issues): fix ui issues | feat(ui-issues): fix ui issues
|
16ce78f8d86343a0c564a156d2650cc975ccd006 | --- packages/allspark-foundation/__tests__/TeamOnboarding/TeamSelection.test.tsx
@@ -88,4 +88,14 @@ describe('TeamSelectionList Component Tests', () => {
);
expect(queryByTestId('teamItem')).toBeNull();
});
+
+ test('renders footer as sticky', () => {
+ const { getByTestId } = render(<TeamSelectionList {...props} areas={[]} />);
+ const footer = getByTestId('team-selection-footer');
+ expect(footer).toBeTruthy();
+ const footerStyles = footer.props.style;
+ expect(footerStyles.position).toBe('absolute');
+ expect(footerStyles.bottom).toBe(0);
+ expect(footerStyles.width).toBe('100%');
+ });
});
--- packages/allspark-foundation/src/Components/Onboarding/TeamSelection/Component/TeamSelectionList.tsx
@@ -100,16 +100,14 @@ export const TeamSelectionList = ({
</View>
)}
stickySectionHeadersEnabled={false}
- ListFooterComponent={
- <>
- <SelectionBanner selectedTeams={selectedTeams?.length} />
- <SelectionBannerFooterButtons
- onCancelButtonPress={handleCancelButton}
- onSaveButtonPress={handleSaveButton}
- />
- </>
- }
/>
+ <View testID='team-selection-footer' style={styles.footer}>
+ <SelectionBanner selectedTeams={selectedTeams?.length} />
+ <SelectionBannerFooterButtons
+ onCancelButtonPress={handleCancelButton}
+ onSaveButtonPress={handleSaveButton}
+ />
+ </View>
</View>
);
};
--- packages/allspark-foundation/src/Components/Onboarding/TeamSelection/styles.ts
@@ -108,11 +108,16 @@ export const teamSelectionListStyles = StyleSheet.create({
paddingLeft: 16,
paddingRight: 16,
},
+ footer: {
+ position: 'absolute',
+ bottom: 0,
+ width: '100%',
+ }
});
export const FooterButtonComponentStyle = StyleSheet.create({
buttonContainer: {
- width: 375,
+ width: '100%',
height: 72,
gap: 24,
flexDirection: 'row',
| Team selection screen - sticky footer | Team selection screen - sticky footer
|
5c8d74a33ac89895e093cedef754cb066a03140e | --- .looper.yml
@@ -11,10 +11,6 @@ flows:
- call: pr
- yarn run build
- npm publish
- # - sonar("Sonar"):
- # - (name Sonar Scanner) sonar-scanner -Dproject.settings=sonar-project.properties
- # - (name Publish Hygieia to Sonar) hygieia.publishSonar()
- # - (name Hygieia Publish Build) hygieia.publishBuild()
pr:
- (name Corepack enable) corepack enable
| Update the roster widget for manager experience | Update the roster widget for manager experience
|
63746ef7ab430d03d4353329dec8f62aaf9596c4 | --- ios/Podfile.lock
@@ -763,7 +763,7 @@ PODS:
- React
- React-callinvoker
- React-Core
- - vizpick-mini-app (1.0.5-256-391e1fb):
+ - vizpick-mini-app (1.0.6):
- React
- walmart-react-native-sumo-sdk (2.5.1):
- React
@@ -1302,7 +1302,7 @@ SPEC CHECKSUMS:
TextServiceProto: 8af27cc52ab3421f79c94e7c7fdcd6f3579b5fdc
TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863
VisionCamera: 4cfd685b1e671fea4aa0400905ab397f0e972210
- vizpick-mini-app: d903bc6d62022aef2662e91acc9a73ce683cfc02
+ vizpick-mini-app: 1bd1f0e424bf3fe929269fe56841f471e5e63be8
walmart-react-native-sumo-sdk: 0c9a5bd5f514bce7eed9f4a31b5d7b76ad6749a8
wifi-store-locator: 56782767136ebc63eeafa5b8a368a0321d8e1969
Yoga: dc109b79db907f0f589fc423e991b09ec42d2295
--- package-lock.json
@@ -82,7 +82,7 @@
"@walmart/shelfavailability-mini-app": "1.5.13",
"@walmart/taskit-mini-app": "2.28.14",
"@walmart/time-clock-mini-app": "2.85.0",
- "@walmart/topstock-mini-app": "1.0.5-256-fb5f5bc",
+ "@walmart/topstock-mini-app": "1.0.6",
"@walmart/ui-components": "1.11.1",
"@walmart/welcomeme-mini-app": "0.76.0",
"@walmart/wfm-ui": "0.2.26",
@@ -6142,9 +6142,9 @@
"license": "GPL-3.0-or-later"
},
"node_modules/@walmart/topstock-mini-app": {
- "version": "1.0.5-256-fb5f5bc",
- "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.0.5-256-fb5f5bc.tgz",
- "integrity": "sha512-990vkfKtWCdNpUidKW4qY3xVfwLpwHudTDh6/UcQRXYhQ1GDBvXxHhM9QBCRMMu+CQNnEfmv6EBg07k0rPL3xA==",
+ "version": "1.0.6",
+ "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.0.6.tgz",
+ "integrity": "sha512-YEG9Nd2E3vDQg8YHR+HBC2D8eq4SPxJD2TESngf/87HDNk+GiYKks0XkZlnLYf4/fk1rbR8T0XaMKDOM4gnubQ==",
"dependencies": {
"javascript-time-ago": "^2.5.7"
},
@@ -25503,9 +25503,9 @@
"version": "1.0.4"
},
"@walmart/topstock-mini-app": {
- "version": "1.0.5-256-fb5f5bc",
- "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.0.5-256-fb5f5bc.tgz",
- "integrity": "sha512-990vkfKtWCdNpUidKW4qY3xVfwLpwHudTDh6/UcQRXYhQ1GDBvXxHhM9QBCRMMu+CQNnEfmv6EBg07k0rPL3xA==",
+ "version": "1.0.6",
+ "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.0.6.tgz",
+ "integrity": "sha512-YEG9Nd2E3vDQg8YHR+HBC2D8eq4SPxJD2TESngf/87HDNk+GiYKks0XkZlnLYf4/fk1rbR8T0XaMKDOM4gnubQ==",
"requires": {
"javascript-time-ago": "^2.5.7"
}
--- package.json
@@ -124,7 +124,7 @@
"@walmart/shelfavailability-mini-app": "1.5.13",
"@walmart/taskit-mini-app": "2.28.14",
"@walmart/time-clock-mini-app": "2.85.0",
- "@walmart/topstock-mini-app": "1.0.5-256-fb5f5bc",
+ "@walmart/topstock-mini-app": "1.0.6",
"@walmart/ui-components": "1.11.1",
"@walmart/welcomeme-mini-app": "0.76.0",
"@walmart/wfm-ui": "0.2.26",
| build(version) update topstock version - 1.0.6 | build(version) update topstock version - 1.0.6
|
1b80e666cc3ffc54bfce865765aac434a22d81b9 | --- packages/me-at-walmart-container/src/translations/index.ts
@@ -8,11 +8,13 @@ export const MeAtWalmartTranslationConfig: TranslationClientOptions = {
compatibilityJSON: 'v3',
localeConfig: {
'en-US': {
+ descriptor: 'English (EN)',
currency: '$',
dateFormat: 'MM/DD/YYYY',
languageCode: 101,
},
'es-MX': {
+ descriptor: 'Español (ES)',
currency: '₱',
dateFormat: 'DD/MM/YYYY',
languageCode: 102,
| chore: add language descriptors to translation config | chore: add language descriptors to translation config
|
833c4b7d191b1e61788f57601391f295bf211b3b | --- package.json
@@ -101,7 +101,7 @@
"@walmart/taskit-mini-app": "0.0.77-rc.0",
"@walmart/time-clock-mini-app": "0.4.24",
"@walmart/ui-components": "v1.3.0-rc.0",
- "@walmart/welcomeme-mini-app": "0.38.0",
+ "@walmart/welcomeme-mini-app": "0.40.0",
"@walmart/wfm-ui": "^0.1.50",
"axios-cache-adapter": "2.7.3",
"crypto-js": "^3.3.0",
| chore(welecomeMe): version bump to 0.40.0 | chore(welecomeMe): version bump to 0.40.0
|
e2744b1802a4ce6ffe29585e78b523beec6cb6a2 | --- ios/AllSpark.xcodeproj/project.pbxproj
@@ -485,6 +485,7 @@
"${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/ScanditBarcodeCapture/ScanditBarcodeCapture.framework/ScanditBarcodeCapture",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/ScanditCaptureCore/ScanditCaptureCore.framework/ScanditCaptureCore",
+ "${PODS_XCFRAMEWORKS_BUILD_DIR}/compass-sdk-rn/compass_sdk_ios.framework/compass_sdk_ios",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/hermes.framework/hermes",
);
name = "[CP] Embed Pods Frameworks";
@@ -494,6 +495,7 @@
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OpenSSL.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ScanditBarcodeCapture.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ScanditCaptureCore.framework",
+ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/compass_sdk_ios.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework",
);
runOnlyForDeploymentPostprocessing = 0;
--- ios/Podfile.lock
@@ -16,6 +16,8 @@ PODS:
- BVLinearGradient (2.6.2):
- React-Core
- CocoaAsyncSocket (7.6.5)
+ - compass-sdk-rn (3.16.0):
+ - React-Core
- DoubleConversion (1.1.6)
- FBLazyVector (0.70.9)
- FBReactNativeSpec (0.70.9):
@@ -689,6 +691,8 @@ PODS:
- React-Core
- React-RCTImage
- TOCropViewController
+ - RNInAppBrowser (3.7.0):
+ - React-Core
- RNPermissions (3.6.1):
- React-Core
- RNReactNativeHapticFeedback (1.14.0):
@@ -774,6 +778,7 @@ DEPENDENCIES:
- boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
- BVLinearGradient (from `../node_modules/react-native-linear-gradient`)
- CocoaAsyncSocket
+ - "compass-sdk-rn (from `../node_modules/@walmart/compass-sdk-rn`)"
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
- FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)
@@ -883,6 +888,7 @@ DEPENDENCIES:
- RNFS (from `../node_modules/react-native-fs`)
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
- RNImageCropPicker (from `../node_modules/react-native-image-crop-picker`)
+ - RNInAppBrowser (from `../node_modules/react-native-inappbrowser-reborn`)
- RNPermissions (from `../node_modules/react-native-permissions`)
- RNReactNativeHapticFeedback (from `../node_modules/react-native-haptic-feedback`)
- RNReanimated (from `../node_modules/react-native-reanimated`)
@@ -959,6 +965,8 @@ EXTERNAL SOURCES:
:podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec"
BVLinearGradient:
:path: "../node_modules/react-native-linear-gradient"
+ compass-sdk-rn:
+ :path: "../node_modules/@walmart/compass-sdk-rn"
DoubleConversion:
:podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
FBLazyVector:
@@ -1119,6 +1127,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-gesture-handler"
RNImageCropPicker:
:path: "../node_modules/react-native-image-crop-picker"
+ RNInAppBrowser:
+ :path: "../node_modules/react-native-inappbrowser-reborn"
RNPermissions:
:path: "../node_modules/react-native-permissions"
RNReactNativeHapticFeedback:
@@ -1154,6 +1164,7 @@ SPEC CHECKSUMS:
boost: a7c83b31436843459a1961bfd74b96033dc77234
BVLinearGradient: 34a999fda29036898a09c6a6b728b0b4189e1a44
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
+ compass-sdk-rn: fba4b8a37f252c4e8b40caf862b1e1e27fe8d427
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
FBLazyVector: bc76253beb7463b688aa6af913b822ed631de31a
FBReactNativeSpec: 85d34420d92cb178897de05e3aba90e7a8568162
@@ -1269,6 +1280,7 @@ SPEC CHECKSUMS:
RNFS: 4ac0f0ea233904cb798630b3c077808c06931688
RNGestureHandler: 071d7a9ad81e8b83fe7663b303d132406a7d8f39
RNImageCropPicker: 648356d68fbf9911a1016b3e3723885d28373eda
+ RNInAppBrowser: e36d6935517101ccba0e875bac8ad7b0cb655364
RNPermissions: dcdb7b99796bbeda6975a6e79ad519c41b251b1c
RNReactNativeHapticFeedback: 1e3efeca9628ff9876ee7cdd9edec1b336913f8c
RNReanimated: 6668b0587bebd4b15dd849b99e5a9c70fc12ed95
@@ -1296,6 +1308,6 @@ SPEC CHECKSUMS:
Yoga: dc109b79db907f0f589fc423e991b09ec42d2295
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
-PODFILE CHECKSUM: 5d9ba60be3dfb87f4278eff1d4ebb95b0c7dbcf4
+PODFILE CHECKSUM: 340c54641dd37d27c3a9990204f4eb561b5b7fac
COCOAPODS: 1.12.0
--- package-lock.json
@@ -80,7 +80,7 @@
"@walmart/schedule-mini-app": "0.33.0",
"@walmart/settings-mini-app": "1.18.1",
"@walmart/shelfavailability-mini-app": "1.5.13",
- "@walmart/taskit-mini-app": "2.28.14",
+ "@walmart/taskit-mini-app": "2.32.1",
"@walmart/time-clock-mini-app": "2.85.0",
"@walmart/topstock-mini-app": "1.0.5",
"@walmart/ui-components": "1.11.1",
@@ -6036,7 +6036,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "2.28.14",
+ "version": "2.32.1",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.32.1.tgz",
+ "integrity": "sha512-Iurup1CErFvoLKLpB+YQaNh641VF87SanQDcaLnhOvYqE3b/6RsNV59Ny7wjpn0YtG5U7DIsN3QHipPIPRWo+g==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
@@ -25468,7 +25470,9 @@
"version": "1.5.13"
},
"@walmart/taskit-mini-app": {
- "version": "2.28.14"
+ "version": "2.32.1",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.32.1.tgz",
+ "integrity": "sha512-Iurup1CErFvoLKLpB+YQaNh641VF87SanQDcaLnhOvYqE3b/6RsNV59Ny7wjpn0YtG5U7DIsN3QHipPIPRWo+g=="
},
"@walmart/tcnumber": {
"version": "2.3.3",
--- package.json
@@ -122,7 +122,7 @@
"@walmart/schedule-mini-app": "0.33.0",
"@walmart/settings-mini-app": "1.18.1",
"@walmart/shelfavailability-mini-app": "1.5.13",
- "@walmart/taskit-mini-app": "2.28.14",
+ "@walmart/taskit-mini-app": "2.32.1",
"@walmart/time-clock-mini-app": "2.85.0",
"@walmart/topstock-mini-app": "1.0.5",
"@walmart/ui-components": "1.11.1",
| updated taskit version | updated taskit version
|
597c041c434a16ab4713a88d384ee5781aa6b883 | --- __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(true);
- expect(result.data.data[2].navs[0].enabled).toEqual(true);
+ expect(result.data.data[1].navs[0].enabled).toEqual(false);
+ expect(result.data.data[2].navs[0].enabled).toEqual(false);
});
it('testing when rbacData is not there', () => {
| Fix unit test | Fix unit test
|
fbe4227b95b383d0d2297c5af66e6ac6f4c0c556 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.12.8",
+ "version": "2.12.9",
"main": "dist/index.js",
"files": [
"dist"
--- src/navigation/index.tsx
@@ -1,7 +1,8 @@
import React from 'react';
import {createStackNavigator} from '@react-navigation/stack';
import {RosterNavParamsMap} from './types';
-import rosterFeature from '../index';
+import {RosterDetailScreen} from '../screens/RosterDetailScreen';
+import {AllTeamsScreen} from '../screens/AllTeamsScreen';
const RosterStack = createStackNavigator<RosterNavParamsMap>();
@@ -10,9 +11,27 @@ export * from './types';
export const RosterNavigation = () => {
return (
<RosterStack.Navigator>
- {rosterFeature.buildAllScreens({
- Navigator: RosterStack as any,
- })}
+ {/* TODO: update stack navigation for new roster experience */}
+ <RosterStack.Screen
+ name='myTeam.rosterDetail'
+ options={{
+ headerShown: false,
+ cardStyle: {
+ backgroundColor: 'rgba(0, 0, 0, 0)',
+ },
+ }}
+ component={RosterDetailScreen}
+ />
+ <RosterStack.Screen
+ name='myTeam.allTeams'
+ options={{
+ headerShown: false,
+ cardStyle: {
+ backgroundColor: 'rgba(0, 0, 0, 0)',
+ },
+ }}
+ component={AllTeamsScreen}
+ />
</RosterStack.Navigator>
);
};
--- src/screens/index.tsx
@@ -1,38 +1,28 @@
+import React from 'react';
import {ScreenTags} from '@walmart/me-at-walmart-common';
-
import {RosterFeature} from '../common/feature';
-import {RosterNavParamsMap} from '../navigation';
-import {RosterDetailScreen} from './RosterDetailScreen';
-import {AllTeamsScreen} from './AllTeamsScreen';
-import {Header} from '@walmart/allspark-foundation';
+import {RosterNavParamsMap, RosterNavigation} from '../navigation';
-const rosterDetailsScreen = RosterFeature.createScreen<
- RosterNavParamsMap,
- 'myTeam.rosterDetail'
->(RosterDetailScreen, {
- tags: [ScreenTags.MyTeamTab],
- clockCheckRequired: true,
- options: {
- title: 'Roster',
- headerShown: false,
- header: Header,
- },
-});
+export const RosterMiniApp = () => {
+ return (
+ <>
+ <RosterNavigation />
+ </>
+ );
+};
-const allTeamsScreen = RosterFeature.createScreen<
- RosterNavParamsMap,
- 'myTeam.allTeams'
->(AllTeamsScreen, {
- tags: [ScreenTags.MyTeamTab],
- clockCheckRequired: true,
- options: {
- title: 'All teams',
- headerShown: false,
- header: Header,
+const rosterScreens = RosterFeature.createScreen<RosterNavParamsMap, 'myTeam'>(
+ RosterMiniApp,
+ {
+ tags: [ScreenTags.MyTeamTab],
+ clockCheckRequired: true,
+ options: {
+ title: 'Roster',
+ headerShown: false,
+ },
},
-});
+);
export default RosterFeature.createScreens({
- ['myTeam.rosterDetail']: rosterDetailsScreen,
- ['myTeam.allTeams']: allTeamsScreen,
+ ['myTeam.roster']: rosterScreens,
});
| Update roster navigation | Update roster navigation
|
2e83111a5f557637de3216284ac1fc3175cbf2b0 | --- src/screens/RosterDetailScreen/StoreRosterDetailScreen.tsx
@@ -498,9 +498,7 @@ export const StoreRosterDetailScreen = ({route}: RosterDetailScreenProps) => {
filterChips={filterChips}
headerText={
!isSalariedOrLead && isPrimaryTeam
- ? t('rosterScreen.primaryTeamRosterName', {
- teamName: teamState.teamLabel,
- })
+ ? `${teamState.teamLabel}${t('rosterScreen.teamRosterName')}`
: t('rosterScreen.rosterName')
}
loading={dataLoading}
--- src/screens/RosterDetailScreen/SupplyChainRosterDetailScreen.tsx
@@ -621,9 +621,9 @@ export const SupplyChainRosterDetailScreen = ({
dataLoading
? ''
: !isSalariedOrLead && isPrimaryTeam
- ? t('rosterScreen.primaryTeamRosterName', {
- teamName: `${teamState.teamLabel} | ${loggedInUserShift}`,
- })
+ ? `${teamState.teamLabel} | ${loggedInUserShift}${t(
+ 'rosterScreen.teamRosterName',
+ )}`
: t('rosterScreen.rosterName')
}
loading={dataLoading}
--- src/translations/en-US.ts
@@ -5,6 +5,7 @@ export const enUS = {
},
rosterScreen: {
rosterName: "Today's roster",
+ teamRosterName: ' roster',
primaryTeamRosterName: '{{teamName}} roster',
primaryTeamRosterDetailHeader: 'Your team this shift',
primaryTeamRosterDetailSubText:
--- src/translations/es-MX.ts
@@ -5,6 +5,7 @@ export const esMX = {
},
rosterScreen: {
rosterName: 'Lista de Hoy',
+ teamRosterName: ' lista',
primaryTeamRosterName: '{{teamName}} lista',
primaryTeamRosterDetailHeader: 'Tu equipo en este cambio',
primaryTeamRosterDetailSubText:
| fix: remove translation for team Name | fix: remove translation for team Name
|
a4c5b263a7f8f447bf4e90318ca6e098a3a4781f | --- docs/CHANGELOG.md
@@ -1,3 +1,12 @@
+# [2.33.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.32.0...v2.33.0) (2025-05-01)
+
+
+### Features
+
+* **ui:** update grphql queries ([1297adb](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/1297adb385d5c6233720697b2012d9c61eab9eb3))
+* **ui:** update grphql queries ([c8be9ff](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/c8be9ff76ac742f360ad3f79964320257a5ed733))
+* **ui:** update grphql queries ([20a26a1](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/20a26a19bb8f29b3c43f35b0bb756e4432fccad5))
+
# [2.32.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.31.0...v2.32.0) (2025-05-01)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.32.0",
+ "version": "2.33.0",
"main": "dist/index.js",
"files": [
"dist/"
| chore(release): 2.33.0 [skip ci] | chore(release): 2.33.0 [skip ci]
# [2.33.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.32.0...v2.33.0) (2025-05-01)
### Features
* **ui:** update grphql queries ([1297adb](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/1297adb385d5c6233720697b2012d9c61eab9eb3))
* **ui:** update grphql queries ([c8be9ff](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/c8be9ff76ac742f360ad3f79964320257a5ed733))
* **ui:** update grphql queries ([20a26a1](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/20a26a19bb8f29b3c43f35b0bb756e4432fccad5))
|
1ecd9c1c5737ffe6c0657029216e01682b005ca1 | --- packages/allspark-utils/__tests__/__snapshots__/LayoutTest.tsx.snap
@@ -670,82 +670,3 @@ exports[`Layout tests renders row layout correctly 1`] = `
</View>
</RCTScrollView>
`;
-
-exports[`Layout tests uses PassThrough component when no error boundary is provided 1`] = `
-<RCTScrollView>
- <View>
- <View
- style={
- {
- "alignItems": "center",
- "flexDirection": "row",
- }
- }
- >
- <View
- style={
- [
- {
- "flex": 1,
- },
- {
- "flex": 20,
- },
- ]
- }
- >
- <Text
- testID="one"
- >
- One
- </Text>
- </View>
- <View
- style={
- [
- {
- "flex": 1,
- },
- {
- "flex": 20,
- },
- ]
- }
- >
- <Text
- testID="two"
- >
- Two
- </Text>
- </View>
- </View>
- <View
- style={
- {
- "alignItems": "center",
- "flexDirection": "row",
- }
- }
- >
- <View
- style={
- [
- {
- "flex": 1,
- },
- {
- "flex": 20,
- },
- ]
- }
- >
- <Text
- testID="three"
- >
- Three
- </Text>
- </View>
- </View>
- </View>
-</RCTScrollView>
-`;
| chore(errorboundary): updated snapshot | chore(errorboundary): updated snapshot
|
a5f1657150f313aa756d262dce567978b1fc871a | --- packages/expo-config-plugins/jest.config.js
@@ -8,4 +8,7 @@ module.exports = {
__DEV__: true,
},
testPathIgnorePatterns: ['__mocks__/', '__tests__/utils/'],
+ coveragePathIgnorePatterns: [
+ ".*/expo-config-plugins/src/.*",
+ ],
};
| feat(plugin): allspark-6539 updated coverage report | feat(plugin): allspark-6539 updated coverage report
|
6abdc6f14160ee858d60af65361c24476b81a282 | --- android/app/build.gradle
@@ -139,8 +139,8 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 700
- versionName "1.3.1"
+ versionCode 701
+ versionName "1.3.2"
}
splits {
abi {
--- ios/AllSpark/Info.plist
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.3.1</string>
+ <string>1.3.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>700</string>
+ <string>701</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
--- package-lock.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.3.1",
+ "version": "1.3.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.3.1",
+ "version": "1.3.2",
"private": true,
"scripts": {
"firebase:dev": "cp ./ios/GoogleService-Info-Dev.plist ./ios/GoogleService-Info.plist && cp ./android/app/google-services-dev.json ./android/app/google-services.json",
| Version increment | Version increment
|
7f2e686ee40bf8ba4505df52a072e33f56457243 | --- src/auth/ErrorScreen.tsx
@@ -26,7 +26,7 @@ import {SSO_APP} from '../types/telemetryConstants';
import {logger} from '../services/Logger';
import {encryptUserId} from '../services/MaskUserId';
import styles from './styles';
-import {initialConfig} from './constants';
+import {defaultConfig} from './constants';
import WmConfig from 'react-native-wm-config';
interface Lang {
@@ -48,10 +48,11 @@ export const ErrorScreen: FC<any> = (props) => {
const [formDirty, setFormDirty] = useState(false);
const [errorCategory, setErrorCategory] = useState('');
const [errorCategoriesFb, setErrorCategoriesFb] = useState(
- initialConfig.issues,
+ defaultConfig.issues,
);
- const [otherErrorFb, setOtherErrorFb] = useState(initialConfig.otherIssues);
+ const [otherErrorFb, setOtherErrorFb] = useState(defaultConfig.otherIssues);
const [selectedOther, setSelectedOther] = useState({});
+ const [formatedMsgOther, setFormatedOther] = useState({});
const userIdValid = !formDirty || !!userId;
const siteIdValid = !formDirty || !!siteId;
@@ -95,15 +96,24 @@ export const ErrorScreen: FC<any> = (props) => {
userId: encryptUserId(userIdValue.toUpperCase(), siteId),
siteId: siteId,
errorCategory: errorCategory,
- otherOptions: selectedOther,
+ otherOptions: formatedMsgOther,
});
}
};
- const getOptions2 = (list: Array<Lang>) => {
+ const getErrCategoryList = (list: Array<Lang>) => {
return list.map((opn) => opn[lang]);
};
+ const updateFormatedOther = (
+ optionList: Array,
+ title: string,
+ selectedList: Array<string>,
+ ) => {
+ const selectedOption = selectedList.map((opnId) => optionList[opnId].label);
+ setFormatedOther({...formatedMsgOther, [title]: selectedOption});
+ };
+
const getOptions = (list: Array<Lang>) => {
return list.map((opn, index) => ({
id: index,
@@ -185,7 +195,7 @@ export const ErrorScreen: FC<any> = (props) => {
label=''
placeholder={translate('ssoError.selectIssue')}
value={errorCategory}
- values={getOptions2(errorCategoriesFb)}
+ values={getErrCategoryList(errorCategoriesFb)}
onSelect={(value) => {
setErrorCategory(value);
}}
@@ -208,24 +218,27 @@ export const ErrorScreen: FC<any> = (props) => {
<View>
{otherErrorFb.map((question) => {
const title = question.title[lang];
+ const items = getOptions(question.options);
return (
<View key={title}>
<Text style={styles.otherErr}>{title}</Text>
{question.componentType === 'checkbox' ? (
<CheckboxItemGroup
- items={getOptions(question.options)}
+ items={items}
selectedIds={selectedOther[title]}
- onSelect={(id) =>
- setSelectedOther({...selectedOther, [title]: id})
- }
+ onSelect={(id) => {
+ setSelectedOther({...selectedOther, [title]: id});
+ updateFormatedOther(items, title, id);
+ }}
/>
) : (
<RadioItemGroup
- items={getOptions(question.options)}
+ items={items}
selectedId={selectedOther[title]}
- onSelect={(id) =>
- setSelectedOther({...selectedOther, [title]: id})
- }
+ onSelect={(id) => {
+ setSelectedOther({...selectedOther, [title]: id});
+ updateFormatedOther(items, title, [id]);
+ }}
/>
)}
</View>
| refactor method name | restructure logger msg | refactor method name | restructure logger msg
|
0f171dbc72afc38450e7fadd07b12528546b3ac7 | --- targets/US/package.json
@@ -91,7 +91,7 @@
"@walmart/avp-shared-library": "0.10.1",
"@walmart/backroom-mini-app": "1.7.5",
"@walmart/calling-mini-app": "0.5.17",
- "@walmart/checkout-mini-app": "4.2.0",
+ "@walmart/checkout-mini-app": "4.3.0",
"@walmart/compass-sdk-rn": "5.19.15",
"@walmart/config-components": "4.5.2",
"@walmart/core-services": "~6.5.2",
--- yarn.lock
@@ -6439,9 +6439,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/checkout-mini-app@npm:4.2.0":
- version: 4.2.0
- resolution: "@walmart/checkout-mini-app@npm:4.2.0"
+"@walmart/checkout-mini-app@npm:4.3.0":
+ version: 4.3.0
+ resolution: "@walmart/checkout-mini-app@npm:4.3.0"
dependencies:
"@stomp/stompjs": "npm:^7.0.0"
cpc-input: "npm:^1.7.28"
@@ -6479,7 +6479,7 @@ __metadata:
react-native-safe-area-context: "*"
react-redux: ^8.1.3
redux: ^4.0.5
- checksum: 10c0/bd0d93c755cfae89df4d38653bdd2a324ba13832b8c2865546d098dfc2c47c03bb5c6d4fd7162037a548336df258b1f3017cb3588042f9a4147e2f66cc29fd32
+ checksum: 10c0/2e27b2f2c36ce85aad25fbc9fbe2792f6ba75838455d258cfded73545c4629372c37c2a82496c5c1de06229443cbce849e86b7b7317c066a064809a262dfffe3
languageName: node
linkType: hard
@@ -7289,7 +7289,7 @@ __metadata:
"@walmart/avp-shared-library": "npm:0.10.1"
"@walmart/backroom-mini-app": "npm:1.7.5"
"@walmart/calling-mini-app": "npm:0.5.17"
- "@walmart/checkout-mini-app": "npm:4.2.0"
+ "@walmart/checkout-mini-app": "npm:4.3.0"
"@walmart/compass-sdk-rn": "npm:5.19.15"
"@walmart/config-components": "npm:4.5.2"
"@walmart/core-services": "npm:~6.5.2"
| CO 4.3.0 | CO 4.3.0
|
a51cd14ca8ccf5cd24f3e02d7960a9d9a0927ab3 | --- package-lock.json
@@ -3305,9 +3305,9 @@
"integrity": "sha512-PaVy13mQ/ehDdi+UiSK0Z4DG1iuL4PId2bYlccy1uHj5FEGW/S2tPrPJL/xIEjv3P6XLQnw/C05OObgyq9RY7A=="
},
"@walmart/counts-component-miniapp": {
- "version": "0.0.14",
- "resolved": "https://npme.walmart.com/@walmart/counts-component-miniapp/-/counts-component-miniapp-0.0.14.tgz",
- "integrity": "sha512-y2FCYWn5O/goXpXKnFTe6ACgSHR28/G7w+xBYt/0oEQJNxrXFKcyjr+s6tM2DEfwcfkF+6qh+vjfkXOSPGlESQ=="
+ "version": "0.0.15",
+ "resolved": "https://npme.walmart.com/@walmart/counts-component-miniapp/-/counts-component-miniapp-0.0.15.tgz",
+ "integrity": "sha512-EQAXiiNzF4D/LqiAH06fsC9PjtCLgi1XKJhK9wbKf0UPlJvIRruy6lO5mrqVNGo1RdkeuY7Kv/jaQ5bCmOBeUQ=="
},
"@walmart/exception-mini-app": {
"version": "0.28.0",
--- package.json
@@ -68,7 +68,7 @@
"@walmart/allspark-me-mini-app": "0.1.0",
"@walmart/ask-sam-mini-app": "0.30.6",
"@walmart/config-components": "^1.0.26",
- "@walmart/counts-component-miniapp": "0.0.14",
+ "@walmart/counts-component-miniapp": "0.0.15",
"@walmart/exception-mini-app": "0.28.0",
"@walmart/feedback-all-spark-miniapp": "0.0.55",
"@walmart/functional-components": "1.0.30",
| Update counts component | Update counts component
|
6325bb766d7888cf300f04927a3471874851c626 | --- package-lock.json
@@ -3389,9 +3389,9 @@
"integrity": "sha512-73HAEev8DeHModZVTry22tqKnV5jJcaL4IyUVWvlvoyZ4iZfNgdIsR6VEzYN1TW5DHH5d44heAIR3K8kdUb4Qw=="
},
"@walmart/iteminfo-mini-app": {
- "version": "2.0.12",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-2.0.12.tgz",
- "integrity": "sha512-CjWSsz7nVReEzQS5NXe8f2VK40+J+mZoZ3jVUN6DQ+sF1zR+TsvJcmVMmb/irD8CL+PIpbTAV5Qwjp7dv0ulFQ==",
+ "version": "2.0.15",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-2.0.15.tgz",
+ "integrity": "sha512-FzuuQEVmI5eDeRzJV2lnr4DeXw93fEp6zUnL3W1iVfwawuBJsRpDkuczMBmr44/Hn9PnYvELb0wuGeB2hLzSDQ==",
"requires": {
"react-native-chart-kit": "6.6.1"
}
@@ -12712,7 +12712,7 @@
"react-native-connect-sso-redux": {
"version": "1.0.1",
"resolved": "https://npme.walmart.com/react-native-connect-sso-redux/-/react-native-connect-sso-redux-1.0.1.tgz",
- "integrity": "sha512-RJADBxeUB3qlJ6D0qyljw6ePrCWobUObZ/j7cxK1M4NTYCn/OGVm6TuVO80WzHyi3/1wVscTSNdoF/m/+10ipQ=="
+ "integrity": "sha1-qd4UZjKEiXDiPtd13qB/sjL988Y="
},
"react-native-device-info": {
"version": "5.6.5",
@@ -13163,27 +13163,27 @@
"react-native-wm-config": {
"version": "0.1.1",
"resolved": "https://npme.walmart.com/react-native-wm-config/-/react-native-wm-config-0.1.1.tgz",
- "integrity": "sha512-s3S3bciDoyVqUyfzVKsXJp+aQxPriU62yL+cvbBJB6d7sGnCFHDQHF7/2y8YfK4Qc756VQ2o3SgCzlcQEYoTEw=="
+ "integrity": "sha1-Nn+tRZascRxL031AMLmpsn4nbB4="
},
"react-native-wm-network": {
"version": "0.1.0",
"resolved": "https://npme.walmart.com/react-native-wm-network/-/react-native-wm-network-0.1.0.tgz",
- "integrity": "sha512-lDgyoghNlFRRCK0ET3vYy+HzYK0sENPxs77RkHbkr1VxY2vMlC8MbyU5Hg13ORnDf7qst5A0bVz2bocVHR2k8Q=="
+ "integrity": "sha1-FagRyJUW+/eIfL/NqCnPfrY632I="
},
"react-native-wm-notification": {
"version": "2.0.0",
"resolved": "https://npme.walmart.com/react-native-wm-notification/-/react-native-wm-notification-2.0.0.tgz",
- "integrity": "sha512-TqMxfERxOKomh3P9hGh0lGUTTLv5X6zCZMF2xXJp3hggtbT0l1o0LN5/S+ptR3QdEO48TxHLtWC0LgstkJ/UYQ=="
+ "integrity": "sha1-48bg0mzjuQpCaLOjUbwd+z20aj8="
},
"react-native-wm-telemetry": {
"version": "0.3.0",
"resolved": "https://npme.walmart.com/react-native-wm-telemetry/-/react-native-wm-telemetry-0.3.0.tgz",
- "integrity": "sha512-zTOSJ7BMbGHaqAF8+LDQI/s5winKcxsHSe4hv49gUbfDz19v71apgNchz31W1D2UQP+kNgrglrmCdmr5RdI8mw=="
+ "integrity": "sha1-8QwZvpngLi+J6pHSOcu+5HqQcLs="
},
"react-native-wm-voice-text": {
"version": "0.5.0",
"resolved": "https://npme.walmart.com/react-native-wm-voice-text/-/react-native-wm-voice-text-0.5.0.tgz",
- "integrity": "sha512-PKaL0MFy+VjTT4wcx/v90BlvlRXgdWGUU8Sz/760A2Esj175A8w/vFQCtZhUer5FVxmpYVKk7nHzoewii4ygRw=="
+ "integrity": "sha1-BCBLE9teUsdgAcNTXImFU/p4Niw="
},
"react-query": {
"version": "3.34.8",
@@ -14186,7 +14186,7 @@
"squiggly-localization": {
"version": "0.0.2",
"resolved": "https://npme.walmart.com/squiggly-localization/-/squiggly-localization-0.0.2.tgz",
- "integrity": "sha512-9j/XUl0XvLk5wksN/nhOcRHmHesVHopX7v3Z1Hv398/656CLarKW0FAqL28zjKO68YH566s8PM1gflrAayBuMA=="
+ "integrity": "sha1-3ksz5Io53VPnUBiRSVDpxDaSGHU="
},
"sshpk": {
"version": "1.16.1",
@@ -15446,7 +15446,7 @@
"wfm-allspark-data-library": {
"version": "0.0.11",
"resolved": "https://npme.walmart.com/wfm-allspark-data-library/-/wfm-allspark-data-library-0.0.11.tgz",
- "integrity": "sha512-o34ej3nNhCcy3uwWkOJcU/3zjXmX+VvbqiZrEgQwrxbO6cbJGxiK1Tz/JQX8j1lwi6cZFJKvDOucJtlduzVQrg==",
+ "integrity": "sha1-E27LsiPO+Sbj5h3p0FQpcH9VU8g=",
"requires": {
"@walmart/functional-components": "^1.0.22",
"@walmart/react-native-env": "^0.1.0",
@@ -15460,7 +15460,7 @@
"@walmart/react-native-env": {
"version": "0.1.0",
"resolved": "https://npme.walmart.com/@walmart/react-native-env/-/react-native-env-0.1.0.tgz",
- "integrity": "sha512-ooH0AqLGhS5PNcLaOWRHAEIIvrYIyTUXqshlHkgEKDLhLtGW8WvFu0mlcCXb1FEUc/PVmKEzHNHYV1gzGNBqxQ=="
+ "integrity": "sha1-ojNwDE5pPTzF1RuQXDc//Fnlpz0="
},
"moment": {
"version": "2.24.0",
@@ -15470,7 +15470,7 @@
"react-native-ssmp-sso-allspark": {
"version": "0.0.1-rc8",
"resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-0.0.1-rc8.tgz",
- "integrity": "sha512-4ZWTteIvddzP7Lg3EM0KP1fDfcN8nx7v5yvHASCLUpoZvhxHQUkjj8uTt4TkJxvTuEK16w7mTwHDauTrIC/BJg=="
+ "integrity": "sha1-/SHw48C+3muBMp2bynExhYPZl0s="
}
}
},
@@ -15527,12 +15527,12 @@
"wifi-store-locator": {
"version": "1.0.0-alpha2",
"resolved": "https://npme.walmart.com/wifi-store-locator/-/wifi-store-locator-1.0.0-alpha2.tgz",
- "integrity": "sha512-Gj0fP/NwQAguJrxEuRuHQjlUHDDH2qnFZAGgh1R0l1CUAPKFROL8L8gHZ1GDKnfoYMev7AOXKcEbZVcXpNomOg=="
+ "integrity": "sha1-W1OXsVMHI8dYMcI0QKg6pJO/R3Q="
},
"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": "sha512-pAcEq6iOVxzKM55qucKOkh2ML3kii4yGJ5YdmMEOcRAGH4fQ1lHa7BETIl+jzX5n1ZVKgWkzmAiH3vw0nkuklQ==",
+ "integrity": "sha1-vIAL0WOWBBaAsIuacYHnzsxTQxk=",
"requires": {
"lodash": "^4.0.0",
"prop-types": "^15.6.2",
--- package.json
@@ -84,7 +84,7 @@
"@walmart/impersonation-mini-app": "1.0.20",
"@walmart/ims-print-services-ui": "0.0.36",
"@walmart/inbox-mini-app": "0.14.0",
- "@walmart/iteminfo-mini-app": "2.0.12",
+ "@walmart/iteminfo-mini-app": "2.0.15",
"@walmart/manager-approvals-miniapp": "0.0.56",
"@walmart/metrics-mini-app": "0.4.12",
"@walmart/moment-walmart": "1.0.4",
| ItemInfo new version with profit margin design change | ItemInfo new version with profit margin design change
|
fce34c0aadf64edae32dfd81638a702f3cde7d98 | --- docs/CHANGELOG.md
@@ -1,3 +1,10 @@
+# [1.21.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.20.0...v1.21.0) (2025-03-28)
+
+
+### Features
+
+* **ui:** update the my team configs ([a70937b](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/a70937b966250d976842b3cda403470ed6f352db))
+
# [1.20.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.19.0...v1.20.0) (2025-03-21)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.20.0",
+ "version": "1.21.0",
"main": "dist/index.js",
"files": [
"dist"
@@ -231,7 +231,7 @@
"pre-commit": "run-p lint verifyBranchName"
}
},
- "packageManager": "yarn@4.6.0",
+ "packageManager": "yarn@4.4.0",
"engines": {
"node": ">=18"
}
| chore(release): 1.21.0 [skip ci] | chore(release): 1.21.0 [skip ci]
# [1.21.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.20.0...v1.21.0) (2025-03-28)
### Features
* **ui:** update the my team configs ([a70937b](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/a70937b966250d976842b3cda403470ed6f352db))
|
7e38b6995c2a546f901f520900c8c27919863679 | --- package.json
@@ -261,6 +261,7 @@
"util": "^0.12.4",
"uuid": "^3.3.2",
"victory-native": "^36.5.0",
+ "wfm-allspark-data-library": "^6.0.0",
"wifi-store-locator": "1.4.1",
"xdate": "^0.8.2",
"yargs": "^17.0.1",
--- yarn.lock
@@ -8306,43 +8306,6 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/schedule-mini-app@npm:>=0.120.0":
- version: 1.13.1
- resolution: "@walmart/schedule-mini-app@npm:1.13.1"
- dependencies:
- "@walmart/moment-walmart": "npm:^1.0.4"
- "@walmart/wfm-ui": "npm:^2.4.0"
- wfm-allspark-data-library: "npm:6.0.0"
- peerDependencies:
- "@react-native-community/datetimepicker": ^7.6.2
- "@react-native-firebase/remote-config": ">=10.1.1"
- "@react-navigation/elements": ">=1.3.1"
- "@react-navigation/native": ">=6.0.0"
- "@react-navigation/stack": ">=6.0.0"
- "@reduxjs/toolkit": ^2.2.8
- "@walmart/allspark-foundation": ">=6.17.0"
- "@walmart/allspark-http-client": ">=2.4.17"
- "@walmart/attendance-mini-app": ">=3.24.3"
- "@walmart/core-services": ^6.0.0
- "@walmart/gtp-shared-components": ">=0.2.2"
- "@walmart/react-native-shared-navigation": ">=0.2.0"
- "@walmart/redux-store": ">=1.0.15"
- "@walmart/ui-components": ">=1.15.0"
- crypto-js: ">=4.2.0"
- i18next: ">=19.8.7"
- javascript-time-ago: ">=2.3.4"
- react: ">=18.2.0"
- react-i18next: ">=12.0.0"
- react-native: ">=0.72.6"
- react-native-tab-view: ">=3.3.0"
- react-native-wm-config: ">=0.1.1"
- react-redux: ">=7.2.1"
- redux: ">=4.0.5"
- reselect: ">=4.0.0"
- checksum: 10c0/2ff05d68b71f89e3a0cf0168f81398b70a9de5c74cdfb3669ab8b9cdc90de755fb53d649da4db99c5ab7a6c303b784b8d6cce0045f3314f2e45d926778928c87
- languageName: node
- linkType: hard
-
"@walmart/service-environment-js@npm:^1.0.2":
version: 1.0.4
resolution: "@walmart/service-environment-js@npm:1.0.4"
@@ -23289,9 +23252,9 @@ __metadata:
languageName: node
linkType: hard
-"wfm-allspark-data-library@npm:6.0.0":
+"wfm-allspark-data-library@npm:^6.0.0":
version: 6.0.0
- resolution: "wfm-allspark-data-library@npm:6.0.0"
+ resolution: "wfm-allspark-data-library@npm:6.0.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Fwfm-allspark-data-library%2F-%2Fwfm-allspark-data-library-6.0.0.tgz"
peerDependencies:
"@walmart/allspark-foundation": "*"
azure-storage: 2.10.3
@@ -23303,22 +23266,6 @@ __metadata:
languageName: node
linkType: hard
-"wfm-allspark-data-library@npm:^5.1.0":
- version: 5.1.0
- resolution: "wfm-allspark-data-library@npm:5.1.0"
- dependencies:
- "@walmart/schedule-mini-app": "npm:>=0.120.0"
- peerDependencies:
- "@walmart/allspark-foundation": "*"
- azure-storage: 2.10.3
- moment: ">=2.29.4"
- react: ">=18.1.0"
- react-native: ">=0.72.6"
- url: ^0.11.0
- checksum: 10c0/33db8012c2f38b22aeeeb16e520d00a6f5ab352169e1231f42a7395a12160f71b5308c3a74db7a648e87300c3aea9f7fa4a8f4ae4fafedfb3e8af1ab0f7d6e01
- languageName: node
- linkType: hard
-
"whatwg-fetch@npm:>=0.10.0, whatwg-fetch@npm:^3.0.0":
version: 3.6.20
resolution: "whatwg-fetch@npm:3.6.20"
| Add resolution for wfm-allspark-data-library | Add resolution for wfm-allspark-data-library
|
3f7755b9962eb1c41c0d2d768397b9bda799b625 | --- app.config.US.ts
@@ -115,7 +115,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
@@ -246,7 +246,7 @@
"react-native-uuid": "2.0.2",
"react-native-video": "^6.3.1",
"react-native-view-shot": "^3.4.0",
- "react-native-vision-camera": "4.6.3",
+ "react-native-vision-camera": "4.6.4",
"react-native-web": "~0.19.10",
"react-native-webview": "13.8.6",
"react-native-wm-config": "0.1.1",
--- yarn.lock
@@ -8494,7 +8494,7 @@ __metadata:
react-native-uuid: "npm:2.0.2"
react-native-video: "npm:^6.3.1"
react-native-view-shot: "npm:^3.4.0"
- 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.8.6"
react-native-wm-config: "npm:0.1.1"
@@ -20887,9 +20887,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::__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.3.tgz"
+"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: "*"
@@ -20903,7 +20903,7 @@ __metadata:
optional: true
react-native-worklets-core:
optional: true
- checksum: 10c0/d086a2e48dd7a390d4515bdfcf24dd95a25ec8591296aaba9c78ce46e985c27703972d2cf4c153d99cc6e955b38e1a9f074da2490ed4ce1a8767a5b2cf08c2ed
+ checksum: 10c0/e626763b481ad435bb72632d275cfb0e9b415ce29efa0239c2575d626cb9096cd1be27fb004741bc57ae1c25ab4e70d70583f30a5471a00ddda5cb84519ed42a
languageName: node
linkType: hard
| fix(info/plist): ALLSPARK-12345 update vision camera & infoplist grp idt (#4182) | fix(info/plist): ALLSPARK-12345 update vision camera & infoplist grp idt (#4182)
|
d67dac4c1f2064e012d0be6b66c240f764681baf | --- packages/allspark-foundation-hub/__tests__/Hub/TeamSwitcher.test.tsx
@@ -178,7 +178,7 @@ describe('TeamSwitcher', () => {
const { getByTestId } = render(
<TeamSwitcher onTeamChange={onTeamChange} refreshing={false} />
);
- const myTeamLabel = getByTestId('team-label-My teams');
+ const myTeamLabel = getByTestId('team-label-myTeams');
fireEvent.press(myTeamLabel);
expect(myTeamLabel.props.UNSAFE_style).toEqual(
expect.arrayContaining([
@@ -270,7 +270,7 @@ describe('TeamSwitcher', () => {
blurhash: 'KdM7in%J~q=pn#M{~VNIxU',
uri: 'https://i5-me.walmartimages.com/images/teams/my-teams-mgr-exp-1edac1ba4a.png',
}),
- teamLabel: 'My teams',
+ teamLabel: 'myTeams',
},
...mockTeamData,
]);
@@ -301,7 +301,7 @@ describe('TeamSwitcher', () => {
blurhash: 'KdM7in%J~q=pn#M{~VNIxU',
uri: 'https://i5-me.walmartimages.com/images/teams/my-teams-mgr-exp-1edac1ba4a.png',
}),
- teamLabel: 'My teams',
+ teamLabel: 'myTeams',
},
...mockTeamData,
]);
--- packages/allspark-foundation-hub/__tests__/Hub/__snapshots__/TeamSwitcher.test.tsx.snap
@@ -591,7 +591,53 @@ exports[`TeamSwitcher renders correctly with team data 1`] = `
"teamName": "My teams",
"uri": "https://i5-me.walmartimages.com/images/teams/my-teams-mgr-exp-1edac1ba4a.png",
},
- "teamLabel": "My teams",
+ "teamLabel": "myTeams",
+ },
+ {
+ "teamId": "1000100",
+ "teamImage": {
+ "blurhash": "KyL}88t7-oact7xv_4ofbI",
+ "uri": "https://i5-me.walmartimages.com/images/teams/task-image-store-02bdfd7611.png",
+ },
+ "teamLabel": "Admin & Support",
+ },
+ {
+ "teamId": "1000329",
+ "teamImage": {
+ "blurhash": "K%P$ju%Nx^%hWAjY.TWAWA",
+ "uri": "https://i5-me.walmartimages.com/images/teams/deli-and-bakery-mgr-exp-1fbe7c4976.png",
+ },
+ "teamLabel": "Deli & Bakery",
+ },
+ {
+ "teamId": "1000319",
+ "teamImage": {
+ "blurhash": "KNR:Nc%M^#xbIoxt~Ta#4;",
+ "uri": "https://i5-me.walmartimages.com/images/teams/fuel-mgr-exp-ba49035dfd.png",
+ },
+ "teamLabel": "Fuel",
+ },
+ ]
+ }
+ extraData={
+ [
+ {
+ "teamId": "total",
+ "teamImage": {
+ "blurhash": "KyL}88t7-oact7xv_4ofbI",
+ "teamName": "Total store",
+ "uri": "https://i5-me.walmartimages.com/images/teams/task-image-store-02bdfd7611.png",
+ },
+ "teamLabel": "Total store",
+ },
+ {
+ "teamId": "myTeams",
+ "teamImage": {
+ "blurhash": "KdM7in%J~q=pn#M{~VNIxU",
+ "teamName": "My teams",
+ "uri": "https://i5-me.walmartimages.com/images/teams/my-teams-mgr-exp-1edac1ba4a.png",
+ },
+ "teamLabel": "myTeams",
},
{
"teamId": "1000100",
@@ -630,6 +676,7 @@ exports[`TeamSwitcher renders correctly with team data 1`] = `
onScroll={[Function]}
onScrollBeginDrag={[Function]}
onScrollEndDrag={[Function]}
+ onScrollToIndexFailed={[Function]}
removeClippedSubviews={false}
renderItem={[Function]}
scrollEventThrottle={0.0001}
@@ -775,7 +822,7 @@ exports[`TeamSwitcher renders correctly with team data 1`] = `
}
>
<View
- accessibilityLabel="team-image-My teams"
+ accessibilityLabel="team-image-myTeams"
accessibilityRole="image"
accessibilityState={
{
@@ -831,7 +878,7 @@ exports[`TeamSwitcher renders correctly with team data 1`] = `
"width": "100%",
}
}
- testID="team-image-My teams"
+ testID="team-image-myTeams"
/>
<Body
UNSAFE_style={
@@ -847,7 +894,7 @@ exports[`TeamSwitcher renders correctly with team data 1`] = `
},
]
}
- testID="team-label-My teams"
+ testID="team-label-myTeams"
>
My teams
</Body>
--- packages/allspark-foundation-hub/__tests__/__mocks__/data/redux/mockState/index.ts
@@ -70,7 +70,7 @@ export const initialStateMock = {
userTeamSelectionError: null,
userTeamSelectionUpdatedTime: '',
},
- supplychainManagerExperience: {
+ supplyChainManagerExperience: {
selectedTeamIDs: [] as string[],
selectedShifts: [] as string[],
defaultWidgets: ['Roster'],
--- packages/allspark-foundation-hub/src/Store/Modules/TeamSwitcher/index.tsx
@@ -120,12 +120,19 @@ export const TeamSwitcher = ({
const handleScrollToIndex = useMemo(() => {
return () => {
- if (selectedTeamIndex >= 0 && flatListRef.current) {
- flatListRef.current.scrollToIndex({
- animated: false,
- index: selectedTeamIndex,
- viewOffset: 0.5,
- });
+ if (
+ selectedTeamIndex !== -1 &&
+ flatListRef.current &&
+ flatListRef.current?.props.data
+ ) {
+ const totalTeams = flatListRef.current.props.data.length;
+ if (selectedTeamIndex < totalTeams) {
+ flatListRef.current.scrollToIndex({
+ animated: false,
+ index: selectedTeamIndex,
+ viewOffset: 0.5,
+ });
+ }
}
};
}, [selectedTeamIndex, flatListRef]);
@@ -151,7 +158,7 @@ export const TeamSwitcher = ({
const isPrefAvaialable = userPrefTeams && userPrefTeams.length > 0;
const setCurrentTeam = (team: any) => {
- if (team.teamId === 'myTeams') {
+ if (team.teamId === MY_TEAMS_TEAM_ID) {
const selectedTeamsList = teamData
.filter((teamInfo) => teamInfo.teamLabel)
.map((teamInfo) => teamInfo.teamId);
@@ -191,8 +198,10 @@ export const TeamSwitcher = ({
if (isPrefAvaialable) {
const primaryTeamData = userPrimaryTeam?.[0] as Team;
if (
- userPrefTeams.length == 1 &&
- userPrefTeams.some((pref) => pref.teamId === primaryTeamData.teamId)
+ userPrefTeams.length === 1 &&
+ userPrefTeams.some(
+ (pref: TeamSwitcherTypes) => pref.teamId === primaryTeamData.teamId
+ )
) {
evaluatedTeamList = [totalStore, userPrefTeams?.[0]];
evaluatedSelectTeam = userPrefTeams?.[0];
@@ -261,7 +270,7 @@ export const TeamSwitcher = ({
dispatch(
StoreManagerExperienceCreators.updateSelectedTeamPreference(teamLabel)
);
- if (teamId === 'myTeams') {
+ if (teamId === MY_TEAMS_TEAM_ID) {
const selectedTeamsList = teamData
.filter((team: any) => team.teamLabel)
.map((team: any) => team.teamId);
@@ -299,7 +308,7 @@ export const TeamSwitcher = ({
const isSelected =
item?.teamLabel === (selectedTeamPreference || selectedTeam);
const teamLabel =
- item.teamLabel === 'myTeams' ? 'My teams' : item.teamLabel;
+ item.teamLabel === MY_TEAMS_TEAM_LABEL ? 'My teams' : item.teamLabel;
if (!item.teamLabel) {
return null;
}
| team switcher test failure fixed | team switcher test failure fixed
|
052a3749b7ea5d03c6830f905372bc008fb5e6be | --- src/channels/provider.tsx
@@ -236,9 +236,7 @@ export const ChannelsProvider = (props: PropsWithChildren<{}>) => {
let totalUnreadChannelsCount = 0;
for (const id of Object.keys(channelState.dataById)) {
const channelData = channelState.dataById[id];
- const lastReadTime =
- channelData.recentRead?.[viewerId]?.toDate() ||
- SEVEN_DAYS_AGO_TIMESTAMP.toDate();
+ const lastReadTime = channelData.recentRead?.[viewerId]?.toDate();
// get count of messages created after last read time by viewer
if (lastReadTime) {
try {
--- src/channels/provider.tsx
@@ -236,9 +236,7 @@ export const ChannelsProvider = (props: PropsWithChildren<{}>) => {
let totalUnreadChannelsCount = 0;
for (const id of Object.keys(channelState.dataById)) {
const channelData = channelState.dataById[id];
- const lastReadTime =
- channelData.recentRead?.[viewerId]?.toDate() ||
- SEVEN_DAYS_AGO_TIMESTAMP.toDate();
+ const lastReadTime = channelData.recentRead?.[viewerId]?.toDate();
// get count of messages created after last read time by viewer
if (lastReadTime) {
try {
| fix flashing issue on badge count | fix flashing issue on badge count
|
6c25e788be13b0de7e4b2b8f105014914895886b | --- package.json
@@ -93,7 +93,7 @@
"@walmart/attendance-mini-app": "3.174.5",
"@walmart/avp-feature-app": "0.26.15",
"@walmart/avp-shared-library": "0.25.36",
- "@walmart/backroom-mini-app": "1.16.1",
+ "@walmart/backroom-mini-app": "1.16.2",
"@walmart/beneficiary-online-mini-app": "0.1.19",
"@walmart/beneficiary-online-shared-library": "1.2.6",
"@walmart/calling-mini-app": "0.8.18",
--- yarn.lock
@@ -7386,9 +7386,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/backroom-mini-app@npm:1.16.1":
- version: 1.16.1
- resolution: "@walmart/backroom-mini-app@npm:1.16.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fbackroom-mini-app%2F-%2F%40walmart%2Fbackroom-mini-app-1.16.1.tgz"
+"@walmart/backroom-mini-app@npm:1.16.2":
+ version: 1.16.2
+ resolution: "@walmart/backroom-mini-app@npm:1.16.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fbackroom-mini-app%2F-%2F%40walmart%2Fbackroom-mini-app-1.16.2.tgz"
peerDependencies:
"@react-navigation/native": ^6.0.0
"@react-navigation/stack": ^6.1.0
@@ -7410,7 +7410,7 @@ __metadata:
react-native-svg-transformer: ">=1.0.0"
react-redux: ">=8.0.0"
redux: ">=4.0.0"
- checksum: 10c0/0535fba2b3b05634656590fb71ceeb1cd74b526add855aec88830268f77b05d55def9c7262919c1f694a019bfa9282ccf65a83fe0ea0a8f016d6c96d0690284f
+ checksum: 10c0/fb75845cfd3445fca057d7783e2ca4d1b65b8d508ffdf6b58883487dc597e8bb1783985d8a18e9c579883859fbbdaa0c21dde3229e6950bdaca31569f572ff2a
languageName: node
linkType: hard
@@ -8270,7 +8270,7 @@ __metadata:
"@walmart/attendance-mini-app": "npm:3.174.5"
"@walmart/avp-feature-app": "npm:0.26.15"
"@walmart/avp-shared-library": "npm:0.25.36"
- "@walmart/backroom-mini-app": "npm:1.16.1"
+ "@walmart/backroom-mini-app": "npm:1.16.2"
"@walmart/beneficiary-online-mini-app": "npm:0.1.19"
"@walmart/beneficiary-online-shared-library": "npm:1.2.6"
"@walmart/calling-mini-app": "npm:0.8.18"
| fix: Fix backroom image url | fix: Fix backroom image url
|
15e89d1a8b3bf273f9dc707f025b5d319ff2d2e9 | --- packages/allspark-foundation-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.
+# [1.17.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.16.1...@walmart/allspark-foundation-hub@1.17.0) (2025-10-01)
+
+### Features
+
+- **ui:** refactored bottomsheet close handler functionality ([#404](https://gecgithub01.walmart.com/allspark/allspark/issues/404)) ([ab299cc](https://gecgithub01.walmart.com/allspark/allspark/commit/ab299cc59d99a27c3c37890157c642f589e943bc))
+
## [1.16.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.16.0...@walmart/allspark-foundation-hub@1.16.1) (2025-09-30)
**Note:** Version bump only for package @walmart/allspark-foundation-hub
--- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.16.1",
+ "version": "1.17.0",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-foundation-hub@1.17.0
|
a9f00d24df06205117f63c7823488610e5fbffce | --- __tests__/navigation/USHallway/ErrorLogBoundaryTest.tsx
@@ -31,6 +31,7 @@ describe('ErrorLogBoundary', () => {
'BOUNDARY_ERROR',
{
message: childError,
+ stack: expect.any(String), // stack trace will be dynamic depending on test run location
},
);
}
@@ -47,6 +48,7 @@ describe('ErrorLogBoundary', () => {
'BOUNDARY_ERROR',
{
message: childError,
+ stack: expect.any(String), // stack trace will be dynamic depending on test run location
},
);
});
--- src/navigation/USHallway/ErrorLogBoundary.ts
@@ -5,6 +5,7 @@ export class ErrorLogBoundary extends Component<PropsWithChildren<{}>> {
componentDidCatch(e: Error) {
LoggerService.getContainerInstance().error('BOUNDARY_ERROR', {
message: e.message,
+ stack: e.stack || 'stack trace not available',
});
// We will let app crash by rethrowing the error
| feat: add stack trace log on boundary error (#4394) | feat: add stack trace log on boundary error (#4394)
|
c7735c187513fb2f56676434387b0ea968a403a3 | --- package-lock.json
@@ -3623,9 +3623,9 @@
}
},
"@walmart/welcomeme-mini-app": {
- "version": "0.26.2",
- "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.26.2.tgz",
- "integrity": "sha512-7Vo1RcnaETMYG6nFrGtwPjzc35rA+lS9RWY96lL7N9hsbwnPvmN/7m5QCp8XYSj+mBWok5yvikls+MgJsuyNZw=="
+ "version": "0.28.1",
+ "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.28.1.tgz",
+ "integrity": "sha512-zOlC/gq2KSQ1Cn6Tdwfoeh4g4gNqGZKF689OV/MrSWlcN6n4nWU88BXkGKFwLTZZOorRL5kuYHGn7wyg1QSdGg=="
},
"@walmart/wfm-ui": {
"version": "0.1.50",
--- package.json
@@ -91,7 +91,7 @@
"@walmart/shelfavailability-mini-app": "0.3.64",
"@walmart/time-clock-mini-app": "0.3.10",
"@walmart/ui-components": "1.1.53",
- "@walmart/welcomeme-mini-app": "0.26.2",
+ "@walmart/welcomeme-mini-app": "0.28.1",
"@walmart/wfm-ui": "^0.1.50",
"axios-cache-adapter": "2.7.3",
"crypto-js": "^3.3.0",
| welcomeMe version bump | welcomeMe version bump
|
5b1d2b673caef4f570fe7a66f04e1d8781bd3df2 | --- packages/allspark-foundation/src/HubFeature/Hub/TeamSwitcher/index.tsx
@@ -49,7 +49,7 @@ export const TeamSwitcher = ({
>
<TeamImage
style={styles.teamImage}
- source={item.teamImage}
+ source={{ uri: item.teamImage }}
testID={`team-image-${item.teamLabel}`}
/>
<Text
--- packages/allspark-foundation/src/HubFeature/HubImages/types.ts
@@ -1,5 +1,5 @@
import { ComponentType } from 'react';
-import { StyleProp, ViewStyle } from 'react-native';
+import { ImageStyle } from 'react-native';
export type ImageContentFit =
| 'cover'
| 'contain'
@@ -7,11 +7,24 @@ export type ImageContentFit =
| 'none'
| 'scale-down';
+export type ImageSource = {
+ uri?: string;
+ blurhash?: string;
+ headers?: Record<string, string>;
+ width?: number;
+ height?: number;
+ thumbhash?: string;
+ cacheKey?: string;
+ webMaxViewportWidth?: number;
+};
+
+export type HubImageProps = {
+ source: ImageSource;
+ style?: ImageStyle;
+ testID?: string;
+ contentFit?: ImageContentFit;
+};
+
export type IHubContext = {
- TeamImageComponent: ComponentType<{
- source: string;
- style?: StyleProp<ViewStyle>;
- testID?: string;
- contentFit?: ImageContentFit;
- }>;
+ TeamImageComponent: ComponentType<HubImageProps>;
};
--- packages/allspark-foundation/src/HubFeature/Onboarding/TeamOnboarding/Screens/TeamOnboardingScreen.tsx
@@ -32,7 +32,7 @@ export const TeamOnboardingScreen = ({
<View style={styles.imageContainer}>
<TeamImage
contentFit='contain'
- source={Images.teamOnboarding}
+ source={{ uri: Images.teamOnboarding }}
style={styles.imageSize}
/>
</View>
--- packages/allspark-foundation/src/HubFeature/Onboarding/TeamSelection/Component/TeamSelectionListItem.tsx
@@ -27,7 +27,7 @@ export const TeamSelectionListItem = ({
<View style={styles.teamInfoContainer}>
<TeamImage
contentFit='contain'
- source={images[teamName]}
+ source={{ uri: images[teamName] }}
style={styles.teamImage}
/>
<Text style={styles.teamName}>{teamName}</Text>
--- packages/allspark-foundation/src/HubFeature/index.tsx
@@ -4,5 +4,4 @@ export * from './Hub/TeamSwitcher';
export * from './Onboarding/TeamOnboarding';
export * from './BottomSheet';
export * from './Hub/HubWidget';
-
-export { HubImageProvider } from './HubImages';
+export * from './HubImages';
| update imports | update imports
|
34689cf7f9ccfa07a3ce9e50dee5a013002ede00 | --- 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.6.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.5.1...@walmart/celebration-mini-app-graphql@1.6.0) (2025-09-03)
+
+### Features
+
+- **ui:** update celebration mini app version ([a355ce3](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/a355ce34cca248829c3d1c69a09c78ebb4f9a735))
+
## [1.5.1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.5.0...@walmart/celebration-mini-app-graphql@1.5.1) (2025-09-02)
**Note:** Version bump only for package @walmart/celebration-mini-app-graphql
--- packages/celebration-mini-app-graphql/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app-graphql",
- "version": "1.5.1",
+ "version": "1.6.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/celebration-mini-app/CHANGELOG.md
@@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.9.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.8.0...@walmart/celebration-mini-app@1.9.0) (2025-09-03)
+
+### Features
+
+- **ui:** update celebration mini app version ([a355ce3](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/a355ce34cca248829c3d1c69a09c78ebb4f9a735))
+- **ui:** update empty list ([38f8099](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/38f8099fcd394f8c677a650ebb1cb016960b391d))
+
# [1.8.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.7.0...@walmart/celebration-mini-app@1.8.0) (2025-09-02)
### Features
--- packages/celebration-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app",
- "version": "1.8.0",
+ "version": "1.9.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/celebration-mini-app@1.9.0
- @walmart/celebration-mini-app-graphql@1.6.0
|
877d8f372109354f1f3258e3a95892c5f6a9100b | --- package-lock.json
@@ -53,7 +53,7 @@
"@walmart/exception-mini-app": "1.5.1",
"@walmart/facilities-management-miniapp": "0.6.67",
"@walmart/feedback-all-spark-miniapp": "0.9.43",
- "@walmart/financial-wellbeing-feature-app": "1.10.4",
+ "@walmart/financial-wellbeing-feature-app": "1.13.2",
"@walmart/functional-components": "~4.0.3",
"@walmart/gta-react-native-calendars": "0.0.16",
"@walmart/gtp-shared-components": "2.0.10",
@@ -8360,9 +8360,9 @@
}
},
"node_modules/@walmart/financial-wellbeing-feature-app": {
- "version": "1.10.4",
- "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.10.4.tgz",
- "integrity": "sha512-BXW7zDMnNnhOMVQVDPwI6XVeQtEgW/txshgQWKLhv1dAklTYjIgEIGA2AyligrbzvgV0KEp5z7K6mm5l4YQFpQ==",
+ "version": "1.13.2",
+ "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.13.2.tgz",
+ "integrity": "sha512-xhlzLOSrHcw2anneMdp9O+vrV7FPlPugoWr6ekpO967CvdykcrnRNm7Cn3Bd3Vv9ccenR12vCyFEUrleoI74KQ==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -33600,9 +33600,9 @@
"integrity": "sha512-6/R50+Ga6eY7nIqreH8m7KmNEXPz1kQ8DO6/l8J6aGHvTuLRZeFHAH8h3ZsvuWip8/0xUqwd4nyRsd/aeA/g5A=="
},
"@walmart/financial-wellbeing-feature-app": {
- "version": "1.10.4",
- "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.10.4.tgz",
- "integrity": "sha512-BXW7zDMnNnhOMVQVDPwI6XVeQtEgW/txshgQWKLhv1dAklTYjIgEIGA2AyligrbzvgV0KEp5z7K6mm5l4YQFpQ=="
+ "version": "1.13.2",
+ "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.13.2.tgz",
+ "integrity": "sha512-xhlzLOSrHcw2anneMdp9O+vrV7FPlPugoWr6ekpO967CvdykcrnRNm7Cn3Bd3Vv9ccenR12vCyFEUrleoI74KQ=="
},
"@walmart/functional-components": {
"version": "4.0.3",
--- package.json
@@ -94,7 +94,7 @@
"@walmart/exception-mini-app": "1.5.1",
"@walmart/facilities-management-miniapp": "0.6.67",
"@walmart/feedback-all-spark-miniapp": "0.9.43",
- "@walmart/financial-wellbeing-feature-app": "1.10.4",
+ "@walmart/financial-wellbeing-feature-app": "1.13.2",
"@walmart/functional-components": "~4.0.3",
"@walmart/gta-react-native-calendars": "0.0.16",
"@walmart/gtp-shared-components": "2.0.10",
| bumped financial-wellbeing-feature-app to 1.13.2 | bumped financial-wellbeing-feature-app to 1.13.2
|
5d79335f0c8917eec6e6ade92a0c1d938ec3ecf1 | --- package.json
@@ -131,7 +131,7 @@
"@walmart/react-native-encrypted-storage": "~1.1.3",
"@walmart/react-native-env": "6.1.4",
"@walmart/react-native-logger": "1.34.8",
- "@walmart/react-native-scanner-3.0": "0.6.3",
+ "@walmart/react-native-scanner-3.0": "0.6.5",
"@walmart/react-native-shared-navigation": "6.1.4",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.7.0",
--- yarn.lock
@@ -6831,12 +6831,12 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/react-native-scanner-3.0@npm:0.6.3":
- version: 0.6.3
- resolution: "@walmart/react-native-scanner-3.0@npm:0.6.3"
+"@walmart/react-native-scanner-3.0@npm:0.6.5":
+ version: 0.6.5
+ resolution: "@walmart/react-native-scanner-3.0@npm:0.6.5"
peerDependencies:
react-native: ">=0.47.1"
- checksum: 10c0/f355e04845ce3955b5c71a098c1035364c45908c0a15fd6bd4200cc8bc1fa066b33a2931fd1d195b83f704ab27810c61452a43dae85bfd7f39ee3a8b72186ae7
+ checksum: 10c0/d9e57560d435a57a0af04891857cefe07d14e4be16e05320287e83ff0a6357f91565455b81273c71a95f5ec54793cffaef32ceb4967f875b12dff89f988a8f35
languageName: node
linkType: hard
@@ -7748,7 +7748,7 @@ __metadata:
"@walmart/react-native-encrypted-storage": "npm:~1.1.3"
"@walmart/react-native-env": "npm:6.1.4"
"@walmart/react-native-logger": "npm:1.34.8"
- "@walmart/react-native-scanner-3.0": "npm:0.6.3"
+ "@walmart/react-native-scanner-3.0": "npm:0.6.5"
"@walmart/react-native-shared-navigation": "npm:6.1.4"
"@walmart/react-native-store-map": "npm:0.3.7"
"@walmart/react-native-sumo-sdk": "npm:2.7.0"
| VS-5190 : Scanner version upgrade to 0.6.5 | VS-5190 : Scanner version upgrade to 0.6.5
|
06f8462fdfbba6befa6895f1beb5df5c219c45f5 | --- packages/me-at-walmart-container/src/redux/navConfig.ts
@@ -7,15 +7,16 @@ import {
UserActionTypes,
UserSelectors,
UserSagas,
+ USER_CHANGED_ACTIONS,
} from '@walmart/allspark-foundation/User';
import {SiteSelectors, SiteSagas} from '@walmart/allspark-foundation/Site';
+import {AuthActionTypes} from '@walmart/allspark-foundation/Auth';
import {
DeviceSelectors,
DeviceSagas,
} from '@walmart/allspark-foundation/Device';
import {
INavConfigActions,
- NavConfigActionTypes,
NavConfigSagas,
} from '@walmart/allspark-foundation/Navigation';
import {EnvironmentSelectors} from '@walmart/allspark-foundation/Environment';
@@ -181,15 +182,13 @@ export function* onFetchNavConfig(
}
export const NavigationConfigSagas = [
- call(initializeNavConfig),
takeLeading(
[
- NavConfigActionTypes.INIT_SUCCESS, // when nav config is initialized
- UserActionTypes.START_IMPERSONATION, // when user is impersonating
- UserActionTypes.EXIT_IMPERSONATION, // when user exits impersonation
+ ...USER_CHANGED_ACTIONS,
MeAtWalmartNavConfigActions.REFETCH_CONFIG.type, // when config is manually re-fetched
UserActionTypes.UPDATE, // when user info is updated
],
onFetchNavConfig,
),
+ takeLeading(AuthActionTypes.SIGN_IN_SUCCESS, initializeNavConfig),
];
| modify navconfig saga to account for signout | modify navconfig saga to account for signout
|
dd1bd521f5868f86d77831d9f07fb31427c99d2d | --- targets/US/package.json
@@ -140,7 +140,7 @@
"@walmart/redux-store": "~6.3.28",
"@walmart/returns-mini-app": "4.15.0",
"@walmart/rfid-scan-mini-app": "2.4.4",
- "@walmart/rn-receiving-mini-app": "2.3.211",
+ "@walmart/rn-receiving-mini-app": "2.3.325",
"@walmart/roster-mini-app": "2.9.0",
"@walmart/schedule-mini-app": "0.118.2",
"@walmart/shelfavailability-mini-app": "1.5.37",
--- yarn.lock
@@ -5973,9 +5973,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/atlas-rn-ui-components@npm:1.0.192":
- version: 1.0.192
- resolution: "@walmart/atlas-rn-ui-components@npm:1.0.192"
+"@walmart/atlas-rn-ui-components@npm:1.1.1":
+ version: 1.1.1
+ resolution: "@walmart/atlas-rn-ui-components@npm:1.1.1"
peerDependencies:
"@livingdesign/tokens": ">=0.63.0"
"@react-native-picker/picker": ">=2.4.0"
@@ -5997,7 +5997,7 @@ __metadata:
bin:
installFonts: scripts/installFonts
runCodemods: scripts/runCodemods
- checksum: 10c0/aba39be4e9f82add840c12e07d9c26c3ed245aeeea85864d387e2cd53b3d1bf9a7e69ce865c0ba411ec75b5f4e8fe0aad78842847dfaef2f2893832b2d217137
+ checksum: 10c0/2054381fbe04197353be3df7db78a49de2c2b27644012e0712ecdbb59a5dfc653db5ebce68ccd5cb710c49c46f85c90c650e52bd8d8296778e1674ad2a2ed40c
languageName: node
linkType: hard
@@ -6667,9 +6667,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/loadquality-mini-app@npm:1.0.106":
- version: 1.0.106
- resolution: "@walmart/loadquality-mini-app@npm:1.0.106"
+"@walmart/loadquality-mini-app@npm:1.0.139":
+ version: 1.0.139
+ resolution: "@walmart/loadquality-mini-app@npm:1.0.139"
peerDependencies:
"@react-navigation/native": ^6.0.0
"@react-navigation/stack": ^6.1.0
@@ -6678,7 +6678,7 @@ __metadata:
axios-cache-adapter: ">=2.7.3"
react: ^18.2.0
react-native: ~0.70.5
- checksum: 10c0/5455b83f722f50169658ecde85656b1f0eaf21811c1b755c6f34a13721a1edccd3c29d8c32497c943ac575e65771d895f3d80810f891be5a79471f74bf2aa043
+ checksum: 10c0/b8058cbcf9ca239e8ee56c18f41f9465badb3620e3e5acaaaf8a90c9055447bb3cef2d86ec810bbc25209779c96f8d066a0666e0225b4fe79b940f3bd2438661
languageName: node
linkType: hard
@@ -7056,7 +7056,7 @@ __metadata:
"@walmart/redux-store": "npm:~6.3.28"
"@walmart/returns-mini-app": "npm:4.15.0"
"@walmart/rfid-scan-mini-app": "npm:2.4.4"
- "@walmart/rn-receiving-mini-app": "npm:2.3.211"
+ "@walmart/rn-receiving-mini-app": "npm:2.3.325"
"@walmart/roster-mini-app": "npm:2.9.0"
"@walmart/schedule-mini-app": "npm:0.118.2"
"@walmart/shelfavailability-mini-app": "npm:1.5.37"
@@ -7769,12 +7769,12 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/rn-receiving-mini-app@npm:2.3.211":
- version: 2.3.211
- resolution: "@walmart/rn-receiving-mini-app@npm:2.3.211"
+"@walmart/rn-receiving-mini-app@npm:2.3.325":
+ version: 2.3.325
+ resolution: "@walmart/rn-receiving-mini-app@npm:2.3.325"
dependencies:
- "@walmart/atlas-rn-ui-components": "npm:1.0.192"
- "@walmart/loadquality-mini-app": "npm:1.0.106"
+ "@walmart/atlas-rn-ui-components": "npm:1.1.1"
+ "@walmart/loadquality-mini-app": "npm:1.0.139"
peerDependencies:
"@react-native-clipboard/clipboard": ">=1.14.0"
"@react-navigation/native": ^6.0.8
@@ -7797,7 +7797,7 @@ __metadata:
react-native-svg: ">=14.1.0"
react-native-svg-transformer: ">=1.1.0"
react-native-vision-camera: ^2.16.8
- checksum: 10c0/ebd2252ae815ac8a57a5076daf5851efb82934847ff95a55b38ecef7e60de508eef034fda0d542b3b2644c70b70056d81ab987576021cb460cfb7122f216fcba
+ checksum: 10c0/c6c7026a77afe65b8e8dfb19affcc6070d055cd13cbe4f7f31b8a1ebb19c57c6cbc9fab8f448e70da93a191e90730f71a0cc9d894856e6d4c13f2280a83eb75f
languageName: node
linkType: hard
| Drop26 - Receiving version - 2.3.325 | Drop26 - Receiving version - 2.3.325
|
a2e74c312b659d1908626b4d7ff3600f2b076a39 | --- package-lock.json
@@ -56,7 +56,7 @@
"@walmart/ims-print-services-ui": "1.2.1",
"@walmart/inbox-mini-app": "0.81.3",
"@walmart/iteminfo-mini-app": "5.3.2",
- "@walmart/manager-approvals-miniapp": "0.2.0",
+ "@walmart/manager-approvals-miniapp": "0.2.1",
"@walmart/me-field-mini-app": "1.1.36",
"@walmart/metrics-mini-app": "0.9.38",
"@walmart/mod-flex-mini-app": "1.3.15",
@@ -5410,9 +5410,9 @@
}
},
"node_modules/@walmart/manager-approvals-miniapp": {
- "version": "0.2.0",
- "resolved": "https://npme.walmart.com/@walmart/manager-approvals-miniapp/-/manager-approvals-miniapp-0.2.0.tgz",
- "integrity": "sha512-gM36xzfK3RCeMg5gqnpT4ShAa65+KyYI7w0Ods4dvGW8bX+Co3vQeAzLP/FaBiCfLQzVddNlOJoVP1RHcSajOQ==",
+ "version": "0.2.1",
+ "resolved": "https://npme.walmart.com/@walmart/manager-approvals-miniapp/-/manager-approvals-miniapp-0.2.1.tgz",
+ "integrity": "sha512-zmboOlWLlIW/CgLTWKgMOZvkE+b+Z3ltDxB0rAB8RqW95I4q7O6BkK/OFWFAAateYddhtE9wVvSS9A3vFxBAyw==",
"hasInstallScript": true,
"peerDependencies": {
"@react-native-community/async-storage": "^1.12.1",
@@ -25243,9 +25243,9 @@
"integrity": "sha512-psbMzJx895210LbITEcHpk3hQgAhdvhAz1uw0/jF7IlSr4NUPtgXDkXLKrkHo0uEzEeNYA6nta1P2l2/4bIL6Q=="
},
"@walmart/manager-approvals-miniapp": {
- "version": "0.2.0",
- "resolved": "https://npme.walmart.com/@walmart/manager-approvals-miniapp/-/manager-approvals-miniapp-0.2.0.tgz",
- "integrity": "sha512-gM36xzfK3RCeMg5gqnpT4ShAa65+KyYI7w0Ods4dvGW8bX+Co3vQeAzLP/FaBiCfLQzVddNlOJoVP1RHcSajOQ=="
+ "version": "0.2.1",
+ "resolved": "https://npme.walmart.com/@walmart/manager-approvals-miniapp/-/manager-approvals-miniapp-0.2.1.tgz",
+ "integrity": "sha512-zmboOlWLlIW/CgLTWKgMOZvkE+b+Z3ltDxB0rAB8RqW95I4q7O6BkK/OFWFAAateYddhtE9wVvSS9A3vFxBAyw=="
},
"@walmart/me-field-mini-app": {
"version": "1.1.36",
--- package.json
@@ -99,7 +99,7 @@
"@walmart/ims-print-services-ui": "1.2.1",
"@walmart/inbox-mini-app": "0.81.3",
"@walmart/iteminfo-mini-app": "5.3.2",
- "@walmart/manager-approvals-miniapp": "0.2.0",
+ "@walmart/manager-approvals-miniapp": "0.2.1",
"@walmart/me-field-mini-app": "1.1.36",
"@walmart/metrics-mini-app": "0.9.38",
"@walmart/mod-flex-mini-app": "1.3.15",
| Bump manager approvals v0.2.1 | Bump manager approvals v0.2.1
|
beddfe0eb660a0ac578d07dd09dc02a3599b4557 | --- __tests__/core/loggerInitTest.ts
@@ -68,9 +68,8 @@ jest.mock('../../src/services/MaskUserId', () => ({
encryptUserId: jest.fn(),
}));
-import env from '../../env';
import {DefaultLogger} from '@walmart/react-native-logger';
-import {ELevel, TUserInfo} from '@walmart/react-native-logger/dist/types';
+import {TUserInfo} from '@walmart/react-native-logger/dist/types';
import {addSagas} from '@walmart/redux-store';
import type {User} from '@walmart/redux-store';
import {
@@ -95,7 +94,6 @@ import {
getOriginalSite,
getEncryptionKey,
} from '../../src/redux';
-import {SESSION_ID} from '../../src/services/Session';
import {encryptUserId} from '../../src/services/MaskUserId';
import {
@@ -109,27 +107,6 @@ import {
describe('module', () => {
it('pulls env values and sets the logger config', () => {
- const {splunk, logLevel} = env;
-
- expect(DefaultLogger.setConfig).toHaveBeenCalledWith({
- url: splunk.url,
- index: splunk.index,
- format: splunk.format,
- });
-
- expect(DefaultLogger.setLogLevel).toHaveBeenCalledWith({
- defaultLevel: logLevel,
- overrides: [
- {
- key: 'impersonating',
- value: 'true',
- level: ELevel.DEBUG,
- },
- ],
- });
-
- expect(DefaultLogger.setSessionInfo).toHaveBeenLastCalledWith(SESSION_ID);
-
expect(addSagas).toHaveBeenCalledWith(loggerInitSagas);
});
});
--- android/app/build.gradle
@@ -134,8 +134,8 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 136
- versionName "1.0.13"
+ versionCode 137
+ versionName "1.0.14"
}
splits {
abi {
--- ios/AllSpark/Info.plist
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.0.13</string>
+ <string>1.0.14</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>136</string>
+ <string>137</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
--- package-lock.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.0.13",
+ "version": "1.0.14",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.0.13",
+ "version": "1.0.14",
"private": true,
"scripts": {
"firebase:dev": "cp ./ios/GoogleService-Info-Dev.plist ./ios/GoogleService-Info.plist && cp ./android/app/google-services-dev.json ./android/app/google-services.json",
--- src/core/loggerInit.ts
@@ -19,7 +19,6 @@ import {
getModel,
isEmulator,
} from 'react-native-device-info';
-import {EFormat, ELevel} from '@walmart/react-native-logger/dist/types';
import {addSagas, User} from '@walmart/redux-store';
import {Platform} from 'react-native';
import {
@@ -31,7 +30,6 @@ import {
getOriginalSite,
getEncryptionKey,
} from '../redux';
-import {SESSION_ID} from '../services/Session';
import {encryptUserId} from '../services/MaskUserId';
import {defaultCountryCode} from '../transforms/user';
@@ -184,25 +182,4 @@ export function* loggerInitSagas() {
);
}
-const {splunk} = env;
-
-DefaultLogger.setConfig({
- url: splunk.url,
- index: splunk.index,
- format: splunk.format as EFormat,
-});
-
-DefaultLogger.setSessionInfo(SESSION_ID);
-
-DefaultLogger.setLogLevel({
- defaultLevel: env.logLevel as ELevel,
- overrides: [
- {
- key: 'impersonating',
- value: 'true',
- level: ELevel.DEBUG,
- },
- ],
-});
-
addSagas(loggerInitSagas);
--- src/services/Logger.ts
@@ -1,6 +1,28 @@
import {DefaultLogger} from '@walmart/react-native-logger';
-import {ELevel} from '@walmart/react-native-logger/dist/types';
+import {EFormat, ELevel} from '@walmart/react-native-logger/dist/types';
import {SESSION_ID} from '../services/Session';
+import env from '../../env';
+
+const {splunk} = env;
+
+DefaultLogger.setConfig({
+ url: splunk.url,
+ index: splunk.index,
+ format: splunk.format as EFormat,
+});
+
+DefaultLogger.setSessionInfo(SESSION_ID);
+
+DefaultLogger.setLogLevel({
+ defaultLevel: env.logLevel as ELevel,
+ overrides: [
+ {
+ key: 'impersonating',
+ value: 'true',
+ level: ELevel.DEBUG,
+ },
+ ],
+});
export const logger = DefaultLogger.clone({}, {id: 'allspark-core'});
| Hotfix/logger session (#499) | Hotfix/logger session (#499)
* move default logger setup to logger service to ensure it has a session before core logger is used
* bump versions |
5347d68f958dc7b23d7bb0b3ff6926d477a2e5ce | --- packages/allspark-foundation/package.json
@@ -174,4 +174,4 @@
"optional": true
}
}
-}
\ No newline at end of file
+}
--- yarn.lock
@@ -7380,10 +7380,8 @@ __metadata:
react-hook-form: "npm:^7.51.0"
react-i18next: "npm:^13.3.1"
react-native: "npm:~0.73.7"
- react-native-apollo-devtools-client: "npm:^1.0.4"
react-native-device-info: "npm:~10.13.1"
react-native-drop-shadow: "npm:^1.0.0"
- react-native-flipper: "npm:^0.212.0"
react-native-gesture-handler: "npm:^2.13.3"
react-native-modalfy: "npm:^3.5.2"
react-native-permissions: "npm:^3.10.1"
@@ -7396,11 +7394,9 @@ __metadata:
typed-redux-saga: "npm:^1.5.0"
peerDependencies:
"@react-native-async-storage/async-storage": "*"
- "@react-native-community/datetimepicker": "*"
"@react-native-community/netinfo": 11.x
"@react-native-firebase/analytics": 17.x
"@react-native-firebase/app": 17.x
- "@react-native-picker/picker": "*"
"@react-navigation/drawer": 6.x
"@react-navigation/native": 6.x
"@react-navigation/stack": 6.x
@@ -7420,14 +7416,10 @@ __metadata:
"@walmart/redux-store": ">=6.3"
react: "*"
react-native: "*"
- react-native-apollo-devtools-client: "*"
- react-native-drop-shadow: "*"
- react-native-flipper: "*"
react-native-gesture-handler: 2.x
react-native-permissions: 3.x
react-native-reanimated: 3.x
react-native-safe-area-context: 4.x
- react-native-screens: 3.x
peerDependenciesMeta:
"@walmart/allspark-graphql-client":
optional: true
@@ -7451,10 +7443,6 @@ __metadata:
optional: true
"@walmart/redux-store":
optional: true
- react-native-apollo-devtools-client:
- optional: true
- react-native-flipper:
- optional: true
bin:
allspark-generate-graphql: ./cli/generate.js
languageName: unknown
| fix: broken yarn lock file | fix: broken yarn lock file
|
7a07c218c8c74b103c2ab30ffe1dfabf876c2e0b | --- .looper.multibranch.yml
@@ -264,9 +264,6 @@ flows:
- shell: gem --version
- (name Bundle) https_proxy=http://sysproxy.wal-mart.com:8080 http_proxy=http://sysproxy.wal-mart.com:8080 bundle
- (var versionCode = bundle exec fastlane get_android_version_code)
- - exposeVars(fastlane/fastlane-session.json)
- - echo "Android version code ${fastlane-session.android_version_code}"
- - echo "Android version code ${fastlane-session.version_code}"
# Set the version code and build number of the native project
@@ -274,6 +271,10 @@ flows:
- (name Check Versioning) git clone https://${GITHUB_TOKEN}@gecgithub01.walmart.com/allspark/allspark-core-version.git -b master
- (set version code) bundle exec fastlane set_build
- var(GIT_DIRECTORY = "allspark-core-version")
+ - dir(fastlane):
+ - exposeVars(fastlane-session.json)
+ - echo "Android version code ${fastlane-session.android_version_code}"
+ - echo "Android version code ${fastlane-session.version_code}"
- |
(name Set Versioning)
cd ${GIT_DIRECTORY}
| adding code block after incrementing build | adding code block after incrementing build
|
8e7fd6ef3dc370b17ca7d2ce021aff997021b063 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/wmconnect-mini-app",
- "version": "3.7.6",
+ "version": "3.7.7",
"main": "dist/index.js",
"files": [
"dist",
| feat(ui): update package version | feat(ui): update package version
|
fc501ab406959c31400f04cf1d07afac3ee59871 | --- __tests__/communications/__snapshots__/oneToOneChatTest.tsx.snap
@@ -848,9 +848,6 @@ exports[`One to One Chat can send a text message 1`] = `
"justifyContent": "center",
"width": 30,
},
- Object {
- "backgroundColor": undefined,
- },
]
}
>
--- __tests__/communications/oneToOneChatTest.tsx
@@ -36,7 +36,10 @@ describe('One to One Chat', () => {
firestore,
'STORE_100',
);
- const presenceContext = await createMockPresenceContext(firestore, 'STORE_100');
+ const presenceContext = await createMockPresenceContext(
+ firestore,
+ 'STORE_100',
+ );
const messagesScreen = renderWithProviders(
<MessagesScreen navigation={navigation} route={mockRoute} />,
{channelsContext: channelsContext, presenceContext: presenceContext},
--- __tests__/communications/__snapshots__/oneToOneChatTest.tsx.snap
@@ -848,9 +848,6 @@ exports[`One to One Chat can send a text message 1`] = `
"justifyContent": "center",
"width": 30,
},
- Object {
- "backgroundColor": undefined,
- },
]
}
>
--- __tests__/communications/oneToOneChatTest.tsx
@@ -36,7 +36,10 @@ describe('One to One Chat', () => {
firestore,
'STORE_100',
);
- const presenceContext = await createMockPresenceContext(firestore, 'STORE_100');
+ const presenceContext = await createMockPresenceContext(
+ firestore,
+ 'STORE_100',
+ );
const messagesScreen = renderWithProviders(
<MessagesScreen navigation={navigation} route={mockRoute} />,
{channelsContext: channelsContext, presenceContext: presenceContext},
| fix coverage and lint | fix coverage and lint
|
68ef8280a3e70632a3db637f8db5545644ae6668 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.12.0-alpha.3",
+ "version": "2.12.0-alpha.4",
"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": "latest",
- "@walmart/allspark-foundation-hub": "1.0.1-alpha.3",
+ "@walmart/allspark-foundation-hub": "latest",
"@walmart/allspark-graphql-client": "^1.4.6",
"@walmart/allspark-http-client": "6.1.4",
"@walmart/config-components": "4.4.0",
--- yarn.lock
@@ -5856,9 +5856,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation-hub@npm:1.0.1-alpha.3":
- version: 1.0.1-alpha.3
- resolution: "@walmart/allspark-foundation-hub@npm:1.0.1-alpha.3"
+"@walmart/allspark-foundation-hub@npm:latest":
+ version: 1.0.0-beat.1
+ resolution: "@walmart/allspark-foundation-hub@npm:1.0.0-beat.1"
dependencies:
"@apollo/client": "npm:^3.8.6"
"@graphql-codegen/cli": "npm:^5.0.0"
@@ -5954,7 +5954,7 @@ __metadata:
allspark-generate-graphql: cli/generate.js
allspark-link: cli/link.js
allspark-setup: cli/setup.js
- checksum: 10c0/47f226109a4ec5ee98dad76c0bfac8032ecaf21f216bc5651ad3dc929999c197c4611a211f8b2139204ad78def2081f9e962b10c399af9078080d32e606136f1
+ checksum: 10c0/60c73e30b5dc699843686daed994671f169602fd4cf856eccb84b5985c4247333fa49af210c355b6643afb4ed1fefe3c4c33de124e2086494ccc00e2cd3ac3ac
languageName: node
linkType: hard
@@ -6405,7 +6405,7 @@ __metadata:
"@typescript-eslint/parser": "npm:^5.37.0"
"@walmart/allspark-authentication": "npm:6.1.4"
"@walmart/allspark-foundation": "npm:latest"
- "@walmart/allspark-foundation-hub": "npm:1.0.1-alpha.3"
+ "@walmart/allspark-foundation-hub": "npm:latest"
"@walmart/allspark-graphql-client": "npm:^1.4.6"
"@walmart/allspark-http-client": "npm:6.1.4"
"@walmart/config-components": "npm:4.4.0"
| Update mini app version | Update mini app version
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.