commit_hash
stringlengths
40
40
input
stringlengths
13
7.99k
output
stringlengths
5
155
full_message
stringlengths
6
8.96k
7fd11ba4ed6c416cfb19c754af5de1a811d1f84f
--- package-lock.json @@ -46,7 +46,7 @@ "@walmart/counts-component-miniapp": "0.0.42", "@walmart/emergency-mini-app": "1.17.0", "@walmart/exception-mini-app": "1.0.14", - "@walmart/facilities-management-miniapp": "0.5.20", + "@walmart/facilities-management-miniapp": "0.5.21", "@walmart/feedback-all-spark-miniapp": "0.9.9", "@walmart/financial-wellbeing-feature-app": "1.0.64", "@walmart/functional-components": "2.0.6", @@ -5082,9 +5082,9 @@ } }, "node_modules/@walmart/facilities-management-miniapp": { - "version": "0.5.20", - "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.20.tgz", - "integrity": "sha512-KfC0MkI2RGq9F2JCSCp44nHbyz8X1Ja7zMIdRAq1ZCIdwiXlpJg0crsUFwjdyt9Go4bU1KvVSuwf1RNKqtmDrg==", + "version": "0.5.21", + "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.21.tgz", + "integrity": "sha512-e80iTeFeeY5lzVwM+F2osAQ99t6f5OzrbcPpG3VOC79PJxJj/b5y9Woq3qmY+/kCePbEexvPqzvC11+h9BlI+Q==", "hasInstallScript": true, "peerDependencies": { "@react-native-community/async-storage": "^1.12.1", @@ -25164,9 +25164,9 @@ "integrity": "sha512-SaexB86EUhjf0oQiOc3RbsEMz9TsSM3av62l46CVznEOOVGmdcrm3naA37GxXSX5LeD0Brft2bWJ5xJbRkqwKg==" }, "@walmart/facilities-management-miniapp": { - "version": "0.5.20", - "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.20.tgz", - "integrity": "sha512-KfC0MkI2RGq9F2JCSCp44nHbyz8X1Ja7zMIdRAq1ZCIdwiXlpJg0crsUFwjdyt9Go4bU1KvVSuwf1RNKqtmDrg==" + "version": "0.5.21", + "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.21.tgz", + "integrity": "sha512-e80iTeFeeY5lzVwM+F2osAQ99t6f5OzrbcPpG3VOC79PJxJj/b5y9Woq3qmY+/kCePbEexvPqzvC11+h9BlI+Q==" }, "@walmart/feedback-all-spark-miniapp": { "version": "0.9.9", --- package.json @@ -89,7 +89,7 @@ "@walmart/counts-component-miniapp": "0.0.42", "@walmart/emergency-mini-app": "1.17.0", "@walmart/exception-mini-app": "1.0.14", - "@walmart/facilities-management-miniapp": "0.5.20", + "@walmart/facilities-management-miniapp": "0.5.21", "@walmart/feedback-all-spark-miniapp": "0.9.9", "@walmart/financial-wellbeing-feature-app": "1.0.64", "@walmart/functional-components": "2.0.6", --- patches/@walmart+facilities-management-miniapp+0.5.21.patch
Version bump
Version bump
4c79766184d569101e4afaadb6d5114c6fd7b35e
--- .looper.multibranch.yml @@ -494,7 +494,7 @@ flows: firstUpper=`echo ${first} |tr '[:lower:]' '[:upper:]'` upperEnv="${firstUpper}${rest}" echo "about to run build ${env} / ${upperEnv}" - ./gradlew assemble${upperEnv}Release --info --stacktrace + ./gradlew assemble${upperEnv}Release --info --stacktrace # uploads build artifact to maven and MS App Center #
reverting looper changes
reverting looper changes
8c00f965752c98b34c8a4a88971d86014fd71356
--- package.json @@ -143,7 +143,7 @@ "@walmart/roster-mini-app": "2.4.0", "@walmart/schedule-mini-app": "0.114.2", "@walmart/shelfavailability-mini-app": "1.5.26", - "@walmart/store-feature-orders": "1.26.11", + "@walmart/store-feature-orders": "1.26.12", "@walmart/taskit-mini-app": "3.0.2", "@walmart/time-clock-mini-app": "2.395.0", "@walmart/topstock-mini-app": "1.12.0", --- yarn.lock @@ -7152,9 +7152,9 @@ __metadata: languageName: node linkType: hard -"@walmart/store-feature-orders@npm:1.26.11": - version: 1.26.11 - resolution: "@walmart/store-feature-orders@npm:1.26.11" +"@walmart/store-feature-orders@npm:1.26.12": + version: 1.26.12 + resolution: "@walmart/store-feature-orders@npm:1.26.12" peerDependencies: "@react-navigation/native": ^6.0.0 "@react-navigation/stack": ^6.1.0 @@ -7163,7 +7163,7 @@ __metadata: "@walmart/react-native-env": 0.2.0 react: ^18.2.0 react-native: ^0.73.7 - checksum: 10c0/9ff794d396176107d8a1e34fb5427c88cd0327d4f19010a33866f1845825b518182cda6d0c255c9680b950c7992dd296e4712a9f4101a344e0cc82137aedbc6e + checksum: 10c0/077aac6be3ffaaa41a10cf413d1f7568a4358fc5d2e92f0e4d918de81e862be5b214b0f049eb08666321d0962fddc44fd37199725336683433a5399698044866 languageName: node linkType: hard @@ -7858,7 +7858,7 @@ __metadata: "@walmart/roster-mini-app": "npm:2.4.0" "@walmart/schedule-mini-app": "npm:0.114.2" "@walmart/shelfavailability-mini-app": "npm:1.5.26" - "@walmart/store-feature-orders": "npm:1.26.11" + "@walmart/store-feature-orders": "npm:1.26.12" "@walmart/taskit-mini-app": "npm:3.0.2" "@walmart/time-clock-mini-app": "npm:2.395.0" "@walmart/topstock-mini-app": "npm:1.12.0"
version update sfot 1.26.12
version update sfot 1.26.12
c79c38257c10285a93495158e3e2ffb7101cb63e
--- android/app/src/main/res/values/strings.xml @@ -1,3 +1,3 @@ <resources> - <string name="app_name">AllSpark</string> + <string name="app_name">Me@Walmart Beta</string> </resources> --- ios/AllSpark.xcodeproj/project.pbxproj @@ -45,7 +45,7 @@ 00E356EE1AD99517003FC87E /* AllSparkTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AllSparkTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; 00E356F21AD99517003FC87E /* AllSparkTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AllSparkTests.m; sourceTree = "<group>"; }; - 13B07F961A680F5B00A75B9A /* AllSpark.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AllSpark.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 13B07F961A680F5B00A75B9A /* Me@Walmart Beta.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Me@Walmart Beta.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = AllSpark/AppDelegate.h; sourceTree = "<group>"; }; 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = AllSpark/AppDelegate.m; sourceTree = "<group>"; }; 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = AllSpark/Images.xcassets; sourceTree = "<group>"; }; @@ -168,7 +168,7 @@ 83CBBA001A601CBA00E9B192 /* Products */ = { isa = PBXGroup; children = ( - 13B07F961A680F5B00A75B9A /* AllSpark.app */, + 13B07F961A680F5B00A75B9A /* Me@Walmart Beta.app */, 00E356EE1AD99517003FC87E /* AllSparkTests.xctest */, ); name = Products; @@ -251,7 +251,7 @@ ); name = AllSpark; productName = AllSpark; - productReference = 13B07F961A680F5B00A75B9A /* AllSpark.app */; + productReference = 13B07F961A680F5B00A75B9A /* Me@Walmart Beta.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -722,7 +722,7 @@ "-lc++", ); PRODUCT_BUNDLE_IDENTIFIER = com.walmart.stores.allspark.beta; - PRODUCT_NAME = AllSpark; + PRODUCT_NAME = "Me@Walmart Beta"; PROVISIONING_PROFILE_SPECIFIER = "Allspark (MeAtWM Beta) Dev"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; @@ -752,7 +752,7 @@ "-lc++", ); PRODUCT_BUNDLE_IDENTIFIER = com.walmart.stores.allspark.beta; - PRODUCT_NAME = AllSpark; + PRODUCT_NAME = "Me@Walmart Beta"; PROVISIONING_PROFILE_SPECIFIER = "Allspark (MeAtWM Beta) InHouse Profile"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; --- ios/AllSpark.xcodeproj/xcshareddata/xcschemes/AllSpark.xcscheme @@ -15,7 +15,7 @@ <BuildableReference BuildableIdentifier = "primary" BlueprintIdentifier = "13B07F861A680F5B00A75B9A" - BuildableName = "AllSpark.app" + BuildableName = "Me@Walmart Beta.app" BlueprintName = "AllSpark" ReferencedContainer = "container:AllSpark.xcodeproj"> </BuildableReference> @@ -55,7 +55,7 @@ <BuildableReference BuildableIdentifier = "primary" BlueprintIdentifier = "13B07F861A680F5B00A75B9A" - BuildableName = "AllSpark.app" + BuildableName = "Me@Walmart Beta.app" BlueprintName = "AllSpark" ReferencedContainer = "container:AllSpark.xcodeproj"> </BuildableReference> @@ -78,7 +78,7 @@ <BuildableReference BuildableIdentifier = "primary" BlueprintIdentifier = "13B07F861A680F5B00A75B9A" - BuildableName = "AllSpark.app" + BuildableName = "Me@Walmart Beta.app" BlueprintName = "AllSpark" ReferencedContainer = "container:AllSpark.xcodeproj"> </BuildableReference> --- ios/AllSpark/Info.plist @@ -5,7 +5,7 @@ <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleDisplayName</key> - <string>AllSpark</string> + <string>$(PRODUCT_NAME)</string> <key>CFBundleExecutable</key> <string>$(EXECUTABLE_NAME)</string> <key>CFBundleIdentifier</key>
changing app display name
changing app display name
d4c038c3f227753f96cb3b45cdc837ed99bf083d
--- android/app/build.gradle @@ -358,10 +358,6 @@ dependencies { } else { implementation jscFlavor } - configurations { - all*.exclude group: 'com.squareup.okhttp3', module: 'okhttp' - all*.exclude group: 'com.squareup.okio', module: 'okio' - } implementation "com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava" } @@ -447,6 +443,4 @@ android { // Fixes "Duplicate class found in modules" error during build configurations.implementation.exclude(group: 'com.google.firebase', module: 'protolite-well-known-types') configurations.implementation.exclude(group: 'com.google.protobuf', module: 'protobuf-javalite') -configurations.implementation.exclude(group: 'com.google.protobuf', module: 'protobuf-lite') -// configurations.implementation.exclude(group: 'com.squareup.okhttp3', module: 'okhttp') -// configurations.implementation.exclude(group: 'com.squareup.okio', module: 'okio') +configurations.implementation.exclude(group: 'com.google.protobuf', module: 'protobuf-lite') \ No newline at end of file
revert: :rewind: Reverted okio and okhttp module changes as it is also fixed by allspark
revert: :rewind: Reverted okio and okhttp module changes as it is also fixed by allspark
350874d0c442bb4b8934643d4ea11bbd164b216b
--- package-lock.json @@ -86,7 +86,7 @@ "@walmart/shelfavailability-mini-app": "1.5.16", "@walmart/taskit-mini-app": "2.40.8", "@walmart/texting-mini-app": "2.0.29", - "@walmart/time-clock-mini-app": "2.170.0", + "@walmart/time-clock-mini-app": "2.174.0", "@walmart/topstock-mini-app": "1.0.13", "@walmart/ui-components": "1.15.1", "@walmart/welcomeme-mini-app": "0.82.1", @@ -9228,9 +9228,9 @@ "hasInstallScript": true }, "node_modules/@walmart/time-clock-mini-app": { - "version": "2.170.0", - "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.170.0.tgz", - "integrity": "sha512-GxR6Wg+LfzQNCek1Fh3SuL6ZZqIlhNb3ps+afDMHCZXXKrz5KwNBRMpYanoyeOZtNTP0+n6SvxGUWMRiFfBVNA==", + "version": "2.174.0", + "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.174.0.tgz", + "integrity": "sha512-7uocAhhro4PeI5kNEbhztq/v2myTQm51Gtym9LZeljJ0FfawR24gQZVIMcfxmOJqZblBTMy0JyyVYQ5tHz/AOg==", "hasInstallScript": true, "license": "UNLICENSED", "dependencies": { @@ -33933,9 +33933,9 @@ "integrity": "sha512-Du6CSDtOyhYWft5l8q5TYYNy9c5QE4nRwQ83YyEKH8rbXUbAY3ImmBVoIbocGtR0nKYsILgaCcWjOKWfhFRqTQ==" }, "@walmart/time-clock-mini-app": { - "version": "2.170.0", - "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.170.0.tgz", - "integrity": "sha512-GxR6Wg+LfzQNCek1Fh3SuL6ZZqIlhNb3ps+afDMHCZXXKrz5KwNBRMpYanoyeOZtNTP0+n6SvxGUWMRiFfBVNA==", + "version": "2.174.0", + "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.174.0.tgz", + "integrity": "sha512-7uocAhhro4PeI5kNEbhztq/v2myTQm51Gtym9LZeljJ0FfawR24gQZVIMcfxmOJqZblBTMy0JyyVYQ5tHz/AOg==", "requires": { "@react-navigation/elements": "^1.3.1", "moment-timezone": "0.5.33", --- package.json @@ -127,7 +127,7 @@ "@walmart/shelfavailability-mini-app": "1.5.16", "@walmart/taskit-mini-app": "2.40.8", "@walmart/texting-mini-app": "2.0.29", - "@walmart/time-clock-mini-app": "2.170.0", + "@walmart/time-clock-mini-app": "2.174.0", "@walmart/topstock-mini-app": "1.0.13", "@walmart/ui-components": "1.15.1", "@walmart/welcomeme-mini-app": "0.82.1",
Time clock mini app daily buid version 2.174.0
Time clock mini app daily buid version 2.174.0
86a4f9d4918255443414f31c841a1e4c88e8e57a
--- Gemfile @@ -8,9 +8,8 @@ eval_gemfile(plugins_path) if File.exist?(plugins_path) # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version ruby ">= 2.6.10" -# Cocoapods 1.15 introduced a bug which break the build. We will remove the upper -# bound in the template on Cocoapods with next React Native release. -gem 'cocoapods', '>= 1.13', '< 1.15' -gem 'activesupport', '>= 6.1.7.5', '< 7.1.0' +# Exclude problematic versions of cocoapods and activesupport that causes build failures. +gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1' +gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0' gem 'xcodeproj', '< 1.26.0' gem 'concurrent-ruby', '<= 1.3.4'
choe: update gemfile for rn 75 template changes
choe: update gemfile for rn 75 template changes
e4c6610e341876565f11d9f1482b036200408507
--- scripts/BuildSupport/build-archive.sh @@ -0,0 +1,61 @@ +#!/bin/bash + +BUILD_DIR="build/${ARCHIVE_TYPE}" +WORK_DIR="${BUILD_DIR}/Temporary" +ARTIFACTS_DIR="${BUILD_DIR}/Artifacts" +XCODE_ARCHIVE_DIR="${WORK_DIR}/${XC_SCHEME}.xcarchive" +XCODE_EXPORT_DIR="${WORK_DIR}/${XC_SCHEME}.xcexport" +LOG_FILE="${ARTIFACTS_DIR}/${ARCHIVE_TYPE}.log" +IPA_FILE="${ARTIFACTS_DIR}/${ARCHIVE_TYPE}-${XC_SCHEME}.ipa" + +rm -rf ${BUILD_DIR} +mkdir -p ${ARTIFACTS_DIR} + +echo "BUILD_DIR ==== $BUILD_DIR" +echo "IPA_FILE_NAME === $IPA_FILE" + + +#SETTING PROXY +export https_proxy=http://sysproxy.wal-mart.com:8080 +export http_proxy=http://sysproxy.wal-mart.com:8080 + +echo "Build Archive" +xcodebuild -workspace ${XC_WORKSPACE} \ + -scheme ${XC_SCHEME} \ + -sdk iphoneos \ + -configuration ${XCODE_CONFIG} \ + archive \ + -archivePath ${XCODE_ARCHIVE_DIR} + +rc=$? +if [ ${rc} -ne 0 ] +then + exit ${rc} +fi + +echo "" +echo " ====== Export Archive (code signing) ======= " + +echo "Entitlements === ${ENTITLEMENTS}" +echo "XCODE_ARCHIVE_DIR === ${XCODE_ARCHIVE_DIR}" +echo "XCODE_EXPORT_DIR === ${XCODE_EXPORT_DIR}" + + +xcodebuild -exportArchive \ + -archivePath ${XCODE_ARCHIVE_DIR} \ + -exportOptionsPlist ${ENTITLEMENTS} \ + -exportPath ${XCODE_EXPORT_DIR} + +rc=$? +if [ ${rc} -ne 0 ] +then + exit ${rc} +fi + +echo "PRODUCT_NAME === ${PRODUCT_NAME}" +echo "IPA_FILE === ${IPA_FILE}" + +mv "${XCODE_EXPORT_DIR}/${PRODUCT_NAME}.ipa" "${IPA_FILE}" + +echo " ====== Uploading .dsym manually to Firebase ======= " +find ${XCODE_ARCHIVE_DIR} -name "*.dSYM" | xargs -I \{\} ./Pods/FirebaseCrashlytics/upload-symbols -gsp ./GoogleService-Info.plist -p ios \{\}
feat(ui): update scripts
feat(ui): update scripts
faf1208a25776932030ee8e3a2d6c71880a3978d
--- core/src/features/welcomeMe.ts @@ -1,25 +1,30 @@ -import {StatusBar} from 'react-native'; import {AllsparkFeatureModule} from '@walmart/allspark-foundation/Feature'; -import {AllsparkTranslationClient} from '@walmart/allspark-foundation/Translation'; import {ScreenTags} from '@walmart/me-at-walmart-common'; +import {lightenStatusBar} from '../navigation/constants'; export const WelcomeMeFeature = new AllsparkFeatureModule('welcomeMe', { name: 'WelcomeMe', + listeners: { + feature: { + onConnect: () => { + const { + addLanguageResources, + } = require('@walmart/welcomeme-mini-app/dist/translations/index'); + addLanguageResources(); + }, + }, + }, screens: { WelcomeMeMiniApp: { tags: [ScreenTags.RootStack], - getComponent: () => { - const app = require('@walmart/welcomeme-mini-app'); - AllsparkTranslationClient.emit('initialized'); - return app; - }, + getComponent: () => require('@walmart/welcomeme-mini-app').default, options: { headerShown: false, gestureEnabled: false, animationTypeForReplace: 'push', }, listeners: { - focus: () => StatusBar.setBarStyle('light-content', true), + focus: lightenStatusBar, }, }, },
fix: welcome me mini app not loading successfully
fix: welcome me mini app not loading successfully
ad511871f8269f33ade022a341f657467a8e8478
--- packages/allspark-foundation-hub/src/Store/Utils/utils.ts @@ -65,8 +65,6 @@ const createTeamMap = ( return teamMap; }; -let teamMap: Map<string, TeamSwitcherTypes> | null = null; - /** * Finds the team by label * @@ -78,9 +76,8 @@ export const findTeamByLabel = ( teamList: TeamSwitcherTypes[], teamPreference: string ) => { - if (!teamMap) { - teamMap = createTeamMap(teamList); - } + const teamMap: Map<string, TeamSwitcherTypes> | null = + createTeamMap(teamList); return teamMap.get(teamPreference); };
fix(ui): team switcher issue fix
fix(ui): team switcher issue fix
828a6138167b44377a1f9219176e582f38a2a6e3
--- package-lock.json @@ -3367,9 +3367,9 @@ "integrity": "sha512-obMi22nJz2FN8CWuJ/0ekV9pKMRQJz0u4qiX5lQTAv6yOVUmtJtksvErLAlZtc+ACiLUakj2EiRyw1bUcN+YNQ==" }, "@walmart/ims-print-services-ui": { - "version": "0.0.32", - "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-0.0.32.tgz", - "integrity": "sha512-7awLRsOjpMuAT6khSXmSHxNJECj7uZ17rWzfNkql4QSXOGGpbBm+42Fib4PKcLt2ZGefbB8grTOXnS3DirO5Cw==" + "version": "0.0.35", + "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-0.0.35.tgz", + "integrity": "sha512-L9Ig27eukaRF9mCTo7bJjv0SL84iDLlmM8FNb0882XTBFeeQT7PuBVWDnQSNjhmxmrWHXOH/cC05G/wBHjgCHA==" }, "@walmart/inbox-mini-app": { "version": "0.0.105", @@ -3611,7 +3611,7 @@ "wfm-allspark-data-library": { "version": "0.0.19", "resolved": "https://npme.walmart.com/wfm-allspark-data-library/-/wfm-allspark-data-library-0.0.19.tgz", - "integrity": "sha1-m7vgBO4/FPNOk2I/by5gR9NGNd0=", + "integrity": "sha512-oSOCmyqrck/dJBNhry3TvzVgjBOhFTvW/hr46SGL5dV6EPSdlDPoAvMPfn2sk1bYGNC3T8KR/NQLS7vy1wh37w==", "requires": { "azure-storage": "2.10.3", "crypto-js": "^3.3.0", --- package.json @@ -81,7 +81,7 @@ "@walmart/functional-components": "1.0.31", "@walmart/gtp-shared-components": "^1.2.0", "@walmart/impersonation-mini-app": "1.0.18", - "@walmart/ims-print-services-ui": "0.0.32", + "@walmart/ims-print-services-ui": "0.0.35", "@walmart/inbox-mini-app": "0.0.105", "@walmart/iteminfo-mini-app": "2.0.6", "@walmart/manager-approvals-miniapp": "0.0.46",
bumping up print version
bumping up print version
1cd5636207641cdcc09821d66f855e16c2a17c2a
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Components/ShiftFilter/ShiftFilter.tsx @@ -25,7 +25,7 @@ export const ShiftFilter = ({ return ( <TouchableOpacity style={styles.container} - testID='shift-filter' + testID={`shift-filter-${shiftId}`} onPress={handleSelect} > <View style={styles.shiftFilterOuterContainer}> @@ -45,6 +45,7 @@ export const ShiftFilter = ({ shiftId: shiftId, }); }} + testID='teamImage-shiftFilter' /> <View accessible={true}
Adding test Id's
Adding test Id's
4410d415857cef6bd4d1be094b0aa6974d65d7e8
--- package.json @@ -187,7 +187,7 @@ "react-native-canvas": "^0.1.38", "react-native-check-app-install": "patch:react-native-check-app-install@npm%3A0.0.5#~/.yarn/patches/react-native-check-app-install-npm-0.0.5-fa2d399164.patch", "react-native-circular-progress": "^1.3.7", - "react-native-code-push": "7.1.0", + "react-native-code-push": "~8.2.2", "react-native-device-info": "~10.13.1", "react-native-drop-shadow": "^1.0.0", "react-native-error-boundary": "^1.1.6", @@ -442,7 +442,7 @@ "react-native-canvas": "^0.1.38", "react-native-check-app-install": "patch:react-native-check-app-install@npm%3A0.0.5#~/.yarn/patches/react-native-check-app-install-npm-0.0.5-fa2d399164.patch", "react-native-circular-progress": "^1.3.7", - "react-native-code-push": "7.1.0", + "react-native-code-push": "~8.2.2", "react-native-device-info": "~10.13.1", "react-native-drop-shadow": "^1.0.0", "react-native-error-boundary": "^1.1.6", --- yarn.lock @@ -7818,7 +7818,7 @@ __metadata: react-native-canvas: "npm:^0.1.38" react-native-check-app-install: "patch:react-native-check-app-install@npm%3A0.0.5#~/.yarn/patches/react-native-check-app-install-npm-0.0.5-fa2d399164.patch" react-native-circular-progress: "npm:^1.3.7" - react-native-code-push: "npm:7.1.0" + react-native-code-push: "npm:~8.2.2" react-native-device-info: "npm:~10.13.1" react-native-drop-shadow: "npm:^1.0.0" react-native-error-boundary: "npm:^1.1.6" @@ -9464,7 +9464,7 @@ __metadata: languageName: node linkType: hard -"code-push@npm:^4.1.0": +"code-push@npm:^4.2.1": version: 4.2.1 resolution: "code-push@npm:4.2.1" dependencies: @@ -17954,18 +17954,18 @@ __metadata: languageName: node linkType: hard -"react-native-code-push@npm:7.1.0": - version: 7.1.0 - resolution: "react-native-code-push@npm:7.1.0" +"react-native-code-push@npm:~8.2.2": + version: 8.2.2 + resolution: "react-native-code-push@npm:8.2.2" dependencies: - code-push: "npm:^4.1.0" + code-push: "npm:^4.2.1" glob: "npm:^7.1.7" hoist-non-react-statics: "npm:^3.3.2" inquirer: "npm:^8.1.5" plist: "npm:^3.0.4" semver: "npm:^7.3.5" xcode: "npm:3.0.1" - checksum: 10c0/e6a0bb74bb216b81543fba479bdee84a6749e60c335609fe7d0300e5c79e8f6574220dbb549c1f04289f701ae98523e4b39ac20d901c19c89a66b062ca07d24d + checksum: 10c0/bbfb3d418cfaa9dea86c22711376d7df245af2052b5d806dd28332376613d804ee8226906c4f1bbbf419780138e2b443886458243783e3c1af284f86749abe9e languageName: node linkType: hard
fix: update code push library for RN 73 fixes
fix: update code push library for RN 73 fixes
8155a1ba4a206462ff9d032680063f5c5bbfa13b
--- package-lock.json @@ -39,7 +39,7 @@ "@walmart/attendance-mini-app": "0.190.2", "@walmart/compass-sdk-rn": "4.0.0", "@walmart/config-components": "4.1.0-rc.4", - "@walmart/copilot-mini-app": "^1.68.0", + "@walmart/copilot-mini-app": "^1.69.0", "@walmart/core-services": "~2.0.19", "@walmart/core-services-allspark": "~2.11.0", "@walmart/core-utils": "~2.0.5", @@ -4935,9 +4935,9 @@ } }, "node_modules/@walmart/copilot-mini-app": { - "version": "1.68.0", - "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.68.0.tgz", - "integrity": "sha512-mDQOjKvHGPMdCuBYeMc10Xs9iujE4/ywfztt5bM68kQMgks3VQWMvupJJVtQIZE4XVkInwz49sgemQBTXVfcfg==", + "version": "1.69.0", + "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.69.0.tgz", + "integrity": "sha512-tusYqjzjSSmlMO6egwy3pOJULYkt8dKDs30WuiKjj3QDnxXYBOzkCwfX/oF89SEiAGrR3gcaisbc6zU3FOotAw==", "hasInstallScript": true, "peerDependencies": { "@react-navigation/native": "^6.0.0", @@ -25130,9 +25130,9 @@ } }, "@walmart/copilot-mini-app": { - "version": "1.68.0", - "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.68.0.tgz", - "integrity": "sha512-mDQOjKvHGPMdCuBYeMc10Xs9iujE4/ywfztt5bM68kQMgks3VQWMvupJJVtQIZE4XVkInwz49sgemQBTXVfcfg==" + "version": "1.69.0", + "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.69.0.tgz", + "integrity": "sha512-tusYqjzjSSmlMO6egwy3pOJULYkt8dKDs30WuiKjj3QDnxXYBOzkCwfX/oF89SEiAGrR3gcaisbc6zU3FOotAw==" }, "@walmart/core-services": { "version": "2.0.19", --- package.json @@ -81,7 +81,7 @@ "@walmart/attendance-mini-app": "0.190.2", "@walmart/compass-sdk-rn": "4.0.0", "@walmart/config-components": "4.1.0-rc.4", - "@walmart/copilot-mini-app": "^1.68.0", + "@walmart/copilot-mini-app": "^1.69.0", "@walmart/core-services": "~2.0.19", "@walmart/core-services-allspark": "~2.11.0", "@walmart/core-utils": "~2.0.5", --- src/translations/en-US.ts @@ -5,6 +5,7 @@ export const enUS_common = { '@walmart/amp-mini-app': 'Amp', '@walmart/ask-sam-mini-app': 'Ask Sam', '@walmart/attendance-mini-app': 'Attendance', + '@walmart/copilot-mini-app': 'Copilot', '@walmart/counts-component-miniapp': 'Counts', '@walmart/emergency-mini-app': 'Emergency', '@walmart/exception-mini-app': 'Pinpoint', --- src/translations/es-MX.ts @@ -5,6 +5,7 @@ export const esMX_common = { '@walmart/amp-mini-app': 'Amp', '@walmart/ask-sam-mini-app': 'Ask Sam', '@walmart/attendance-mini-app': 'Attendance', + '@walmart/copilot-mini-app': 'Copilot', '@walmart/counts-component-miniapp': 'Counts', '@walmart/emergency-mini-app': 'Emergency', '@walmart/exception-mini-app': 'Pinpoint', --- src/versions/constants.ts @@ -9,8 +9,8 @@ export const LISTED_DEPENDENCIES = [ '@walmart/amp-mini-app', '@walmart/ask-sam-mini-app', '@walmart/attendance-mini-app', - '@walmart/counts-component-miniapp', '@walmart/copilot-mini-app', + '@walmart/counts-component-miniapp', '@walmart/emergency-mini-app', '@walmart/exception-mini-app', '@walmart/facilities-management-miniapp',
chore: bump copilot 1.69.0
chore: bump copilot 1.69.0
a04196e2ef520e71b33991af951e5bddbb0a80e6
--- 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.18.1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.18.0...@walmart/celebration-mini-app-graphql@1.18.1) (2025-11-26) + +**Note:** Version bump only for package @walmart/celebration-mini-app-graphql + # [1.18.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.17.2...@walmart/celebration-mini-app-graphql@1.18.0) (2025-11-20) ### Features --- packages/celebration-mini-app-graphql/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/celebration-mini-app-graphql", - "version": "1.18.0", + "version": "1.18.1", "packageManager": "yarn@4.6.0", "engines": { "node": ">=18" --- packages/celebration-mini-app/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.28.2](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.28.1...@walmart/celebration-mini-app@1.28.2) (2025-11-26) + +**Note:** Version bump only for package @walmart/celebration-mini-app + ## [1.28.1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.28.0...@walmart/celebration-mini-app@1.28.1) (2025-11-21) **Note:** Version bump only for package @walmart/celebration-mini-app --- packages/celebration-mini-app/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/celebration-mini-app", - "version": "1.28.1", + "version": "1.28.2", "packageManager": "yarn@4.6.0", "engines": { "node": ">=18"
chore(version): updating package version
chore(version): updating package version - @walmart/celebration-mini-app@1.28.2 - @walmart/celebration-mini-app-graphql@1.18.1
20cc79489df1dd9569100f454aff2b7364c3bf1f
--- src/screens/AllTeamsScreen/AllTeamsScreen.tsx @@ -1,3 +1,4 @@ +/* eslint-disable react/no-unstable-nested-components */ import React, {useState, useRef, useCallback} from 'react'; import {translationClient, Team, logger} from '../../common'; import {View, SectionList, Text, RefreshControl} from 'react-native'; @@ -71,7 +72,6 @@ export const AllTeamsScreen = () => { refreshing: false, })); - // eslint-disable-next-line react/no-unstable-nested-components const RefreshingBlock = () => { return ( <View testID='Hub.LastUpdatedText'> @@ -83,6 +83,43 @@ export const AllTeamsScreen = () => { ); }; + const ListHeaderComponent = () => { + return ( + <> + {state.refreshing && <RefreshingBlock />} + {showTotalStore ? ( + <> + <TeamListItem + teamId='total' + iconType='navArrow' + isLastListItem + subText={ + showClockInCount + ? t('rosterScreen.teamListItem.clockedIn', { + count: totalClockedInAssociates, + }) + : undefined + } + teamName={siteTranslationContext} + handlePress={() => { + analytics('view_team', { + message: 'View total store roster', + teamName: TOTAL_STORE_TEAM_LABEL, + teamId: TOTAL_STORE_TEAM_ID, + }); + navigation.navigate('myTeam.rosterDetail', { + teamId: TOTAL_STORE_TEAM_ID, + teamName: TOTAL_STORE_TEAM_LABEL, + }); + }} + /> + <View style={styles.separator} /> + </> + ) : null} + </> + ); + }; + const onRefresh = useCallback(async () => { setState((prev) => ({ ...prev, @@ -99,6 +136,17 @@ export const AllTeamsScreen = () => { lastUpdatedTimeout.current = setTimeout(stopRefreshing, 1500); }, [state.refreshing]); + const RefreshComponent = () => { + return ( + <RefreshControl + refreshing={state.refreshing} + onRefresh={onRefresh} + colors={['transparent']} + style={borrowedStyles.refreshControl} + /> + ); + }; + if (loading) { return <AllTeamsLoadingScreen />; } @@ -131,40 +179,7 @@ export const AllTeamsScreen = () => { keyExtractor={(item, index) => item.teamName + index} stickySectionHeadersEnabled={false} refreshing={loading} - ListHeaderComponent={ - <> - {state.refreshing && <RefreshingBlock />} - {showTotalStore ? ( - <> - <TeamListItem - teamId='total' - iconType='navArrow' - isLastListItem - subText={ - showClockInCount - ? t('rosterScreen.teamListItem.clockedIn', { - count: totalClockedInAssociates, - }) - : undefined - } - teamName={siteTranslationContext} - handlePress={() => { - analytics('view_team', { - message: 'View total store roster', - teamName: TOTAL_STORE_TEAM_LABEL, - teamId: TOTAL_STORE_TEAM_ID, - }); - navigation.navigate('myTeam.rosterDetail', { - teamId: TOTAL_STORE_TEAM_ID, - teamName: TOTAL_STORE_TEAM_LABEL, - }); - }} - /> - <View style={styles.separator} /> - </> - ) : null} - </> - } + ListHeaderComponent={<ListHeaderComponent />} renderSectionHeader={({section}) => ( <View testID='all-teams-list-section'> <Body UNSAFE_style={styles.areaHeader}>{section.title}</Body> @@ -195,14 +210,7 @@ export const AllTeamsScreen = () => { }} /> )} - refreshControl={ - <RefreshControl - refreshing={state.refreshing} - onRefresh={onRefresh} - colors={['transparent']} - style={borrowedStyles.refreshControl} - /> - } + refreshControl={<RefreshComponent />} ListFooterComponent={<View style={styles.bottomScreenPadding} />} /> ); @@ -229,40 +237,7 @@ export const AllTeamsScreen = () => { keyExtractor={(item, index) => item.teamName + index} stickySectionHeadersEnabled={false} refreshing={loading} - ListHeaderComponent={ - <> - {state.refreshing && <RefreshingBlock />} - {showTotalStore ? ( - <> - <TeamListItem - teamId='total' - iconType='navArrow' - isLastListItem - subText={ - showClockInCount - ? t('rosterScreen.teamListItem.clockedIn', { - count: totalClockedInAssociates, - }) - : undefined - } - teamName={siteTranslationContext} - handlePress={() => { - analytics('view_team', { - message: 'View total store roster', - teamName: TOTAL_STORE_TEAM_LABEL, - teamId: TOTAL_STORE_TEAM_ID, - }); - navigation.navigate('myTeam.rosterDetail', { - teamId: TOTAL_STORE_TEAM_ID, - teamName: TOTAL_STORE_TEAM_LABEL, - }); - }} - /> - <View style={styles.separator} /> - </> - ) : null} - </> - } + ListHeaderComponent={<ListHeaderComponent />} renderSectionHeader={({section}) => ( <View testID='all-teams-list-section'> {section.isPrimaryArea ? ( @@ -310,14 +285,7 @@ export const AllTeamsScreen = () => { }} /> )} - refreshControl={ - <RefreshControl - refreshing={state.refreshing} - onRefresh={onRefresh} - colors={['transparent']} - style={borrowedStyles.refreshControl} - /> - } + refreshControl={<RefreshComponent />} ListFooterComponent={<View style={styles.bottomScreenPadding} />} /> );
fix: review comments
fix: review comments
148a661848d028a480c6eca7d11cc509a249f303
--- package.json @@ -153,7 +153,7 @@ "@walmart/taskit-mini-app": "5.34.9", "@walmart/time-clock-mini-app": "3.19.2", "@walmart/time-clock-mini-app-next": "3.0.0", - "@walmart/topstock-mini-app": "1.23.4", + "@walmart/topstock-mini-app": "1.24.2", "@walmart/translator-mini-app": "1.6.4", "@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.23.1#~/.yarn/patches/@walmart-ui-components-npm-1.23.1-247996ccb0.patch", "@walmart/walmart-fiscal-week": "^0.3.6", --- yarn.lock @@ -8796,7 +8796,7 @@ __metadata: "@walmart/taskit-mini-app": "npm:5.34.9" "@walmart/time-clock-mini-app": "npm:3.19.2" "@walmart/time-clock-mini-app-next": "npm:3.0.0" - "@walmart/topstock-mini-app": "npm:1.23.4" + "@walmart/topstock-mini-app": "npm:1.24.2" "@walmart/translator-mini-app": "npm:1.6.4" "@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.23.1#~/.yarn/patches/@walmart-ui-components-npm-1.23.1-247996ccb0.patch" "@walmart/walmart-fiscal-week": "npm:^0.3.6" @@ -9755,9 +9755,9 @@ __metadata: languageName: node linkType: hard -"@walmart/topstock-mini-app@npm:1.23.4": - version: 1.23.4 - resolution: "@walmart/topstock-mini-app@npm:1.23.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftopstock-mini-app%2F-%2F%40walmart%2Ftopstock-mini-app-1.23.4.tgz" +"@walmart/topstock-mini-app@npm:1.24.2": + version: 1.24.2 + resolution: "@walmart/topstock-mini-app@npm:1.24.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftopstock-mini-app%2F-%2F%40walmart%2Ftopstock-mini-app-1.24.2.tgz" peerDependencies: "@react-navigation/native": ">=5.8.10" "@react-navigation/stack": ">=5.12.8" @@ -9770,7 +9770,7 @@ __metadata: react-native-haptic-feedback: ">=1.13.0" react-native-vector-icons: ">=6.6.0" react-redux: ">=7.2.0" - checksum: 10c0/023e3537de43a402184da8a5fec4eb0a8cd39cb4e442e275d3bc7eaa4f5fd1ada9501178bc033f30e48d5134e2b83db7729ced0d02d7655ebee824e051d666e9 + checksum: 10c0/38bce24db1ab61e8576411c4522706563b766b66674e7fe82fcd454bfa2a0d847b86cec65f3c2dc8f52186c3adc38ebb5f41bbba61046124725b7a34d86efab2 languageName: node linkType: hard
fix(topstock): Topstock bug fixes (#4237)
fix(topstock): Topstock bug fixes (#4237) * fix: VS-9092 ui fix for topstock * fix(ui fix): VS-9231 ui fix * fix: lock file fix --------- Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com>
34b80f5144f2351853c865e87a5e9c4f9c911412
--- package-lock.json @@ -67,7 +67,7 @@ "@walmart/mod-flex-mini-app": "1.11.6", "@walmart/moment-walmart": "1.0.4", "@walmart/onewalmart-miniapp": "1.0.16", - "@walmart/pay-stub-miniapp": "0.13.2", + "@walmart/pay-stub-miniapp": "0.13.5", "@walmart/payrollsolution_miniapp": "0.134.3", "@walmart/price-changes-mini-app": "1.10.1", "@walmart/profile-feature-app": "0.334.0", @@ -8839,9 +8839,9 @@ } }, "node_modules/@walmart/pay-stub-miniapp": { - "version": "0.13.2", - "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.13.2.tgz", - "integrity": "sha512-DQqt7Te5UDQqIbUzki/XxTKVznN+StK1YEtZv5x1SBoUqYk1C5+51vRL6w85Jtj87htYCq1rLIqmzb3wP26BMw==", + "version": "0.13.5", + "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.13.5.tgz", + "integrity": "sha512-J/rc62vfy5N2yO3t3QVpTPGbyfWJJZe59muSuAuZipkX9zbMVhjoE89WM+FDTykIWcBHXkMY8DCdPlTEUYpzBA==", "hasInstallScript": true, "dependencies": { "crypto-js": "^3.3.0", @@ -34433,9 +34433,9 @@ } }, "@walmart/pay-stub-miniapp": { - "version": "0.13.2", - "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.13.2.tgz", - "integrity": "sha512-DQqt7Te5UDQqIbUzki/XxTKVznN+StK1YEtZv5x1SBoUqYk1C5+51vRL6w85Jtj87htYCq1rLIqmzb3wP26BMw==", + "version": "0.13.5", + "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.13.5.tgz", + "integrity": "sha512-J/rc62vfy5N2yO3t3QVpTPGbyfWJJZe59muSuAuZipkX9zbMVhjoE89WM+FDTykIWcBHXkMY8DCdPlTEUYpzBA==", "requires": { "crypto-js": "^3.3.0", "expo-sharing": "~11.5.0" --- package.json @@ -108,7 +108,7 @@ "@walmart/mod-flex-mini-app": "1.11.6", "@walmart/moment-walmart": "1.0.4", "@walmart/onewalmart-miniapp": "1.0.16", - "@walmart/pay-stub-miniapp": "0.13.2", + "@walmart/pay-stub-miniapp": "0.13.5", "@walmart/payrollsolution_miniapp": "0.134.3", "@walmart/price-changes-mini-app": "1.10.1", "@walmart/profile-feature-app": "0.334.0",
bump version
bump version
3a9ee741dae2ac088103ce292c169bb9650f348f
--- __tests__/updates/UpdateCheckViewTest.tsx @@ -90,11 +90,18 @@ describe('UpdateVersionModal', () => { ); }); - it('matches snapshot when update is forced', () => { + it('matches snapshot when update is forced; with description', () => { mockUseSelector.mockReturnValue({ updateInfo: { ...mockUpdateInfo, forceUpdate: true, + releaseNotes: { + ...mockUpdateInfo.releaseNotes, + description: { + 'en-US': 'Update description', + 'es-MX': 'Update description now in Spanish', + }, + }, }, prompt: true, }); --- __tests__/updates/__snapshots__/UpdateCheckViewTest.tsx.snap @@ -511,7 +511,7 @@ exports[`UpdateVersionModal matches snapshot 1`] = ` </Modal> `; -exports[`UpdateVersionModal matches snapshot when update is forced 1`] = ` +exports[`UpdateVersionModal matches snapshot when update is forced; with description 1`] = ` <Modal animationType="fade" hardwareAccelerated={false} @@ -575,6 +575,20 @@ exports[`UpdateVersionModal matches snapshot when update is forced 1`] = ` > It is time to update the app. </Text> + <Text + style={ + Object { + "color": "#2e2f32", + "fontFamily": "Bogle-Regular", + "fontSize": 14, + "lineHeight": 20, + "marginBottom": 8, + "marginHorizontal": 16, + } + } + > + Update description + </Text> <Text style={ Object {
Completing update check test coverage
Completing update check test coverage
e522e1c30c003fc3143c9b7afdee2b6cf82cbcfe
--- src/screens/RosterDetailScreen/StoreRosterDetailScreen/StoreRosterDetailScreen.tsx @@ -120,6 +120,7 @@ export const StoreRosterDetailScreen = ({ route }: RosterDetailScreenProps) => { () => getCurrentTeamName(), [teamState, currentTeam] ); + const headerAndSubtext = getHeaderAndSubtext( currentTeam as { teamName: string } ); @@ -147,10 +148,6 @@ export const StoreRosterDetailScreen = ({ route }: RosterDetailScreenProps) => { FilterValue.all ); - const handleShiftChange = useCallback((newShift: ShiftType) => { - setSelectedShiftState(newShift); - }, []); - const handleSearchInputChange = useCallback((text: string) => { setSearchInput(text); }, []); @@ -303,24 +300,22 @@ export const StoreRosterDetailScreen = ({ route }: RosterDetailScreenProps) => { ); }, []); - const handleFilterPress = useCallback( - (filterId: FilterValue) => { - // Create a new filter value based on whether it's already selected - const newFilter = - filterId === selectedFilter ? FilterValue.all : filterId; - - analytics('filter_press', { - message: 'Filter associates', - filterName: newFilter, - }); - - // Set the correct toggled state - setSelectedFilter(filterId); - }, - [selectedFilter], - ); + const handleFilterPress = (filterId: FilterValue) => { + const newFilter = filterId === selectedFilter ? FilterValue.all : filterId; + + analytics("filter_press", { + message: "Filter associates", + filterName: newFilter, + }); - const listHeaderComponent = useCallback(() => { + setSelectedFilter(newFilter); + }; + + const handleShiftChange = (newShift: ShiftType) => { + setSelectedShiftState(newShift); + }; + + const listHeaderComponent = () => { return ( <> {refreshState.refreshing && ( @@ -363,7 +358,7 @@ export const StoreRosterDetailScreen = ({ route }: RosterDetailScreenProps) => { )} </> ); - }, [dataLoading]); + }; const renderRefreshControl = useCallback(() => { return ( --- src/screens/RosterDetailScreen/SupplyChainRosterDetailScreen/SupplyChainRosterDetailScreen.tsx @@ -193,8 +193,8 @@ export const SupplyChainRosterDetailScreen = ({ // Extract the callback function and memoize it const handleSearchInputChange = useCallback((text: string) => { setSearchInput(text); - analytics('search_associates', { - message: 'Search associates by name', + analytics("search_associates", { + message: "Search associates by name", searchText: text, }); }, []); // No dependencies since analytics is stable and setSearchInput from useState doesn't change @@ -397,30 +397,22 @@ export const SupplyChainRosterDetailScreen = ({ dataLoading, ]); - // Memoized filter handler - const handleFilterPress = useCallback( - (filterId: FilterValue, selectedShift: string | undefined) => { - // Calculate the new filter value - toggle between filter and "all" - const newFilter = - filterId === selectedFilter ? FilterValue.all : filterId; - - analytics('filter_press', { - message: 'Filter associates', - filterName: newFilter, - }); - - // Set the correct toggled state - setSelectedFilter(filterId); - setSelectedShift(selectedShift); - }, - [selectedFilter], // Only depends on selectedFilter - ); + const handleFilterPress = (filterId: FilterValue) => { + const newFilter = filterId === selectedFilter ? FilterValue.all : filterId; - const handleShiftChange = useCallback((newShift: ShiftType) => { + analytics("filter_press", { + message: "Filter associates", + filterName: newFilter, + }); + + setSelectedFilter(newFilter); + }; + + const handleShiftChange = (newShift: ShiftType) => { setSelectedShiftState(newShift); - }, []); + }; - const showListHeaderComponent = useCallback(() => { + const listHeaderComponent = () => { return ( <> {refreshState.refreshing && ( @@ -468,7 +460,7 @@ export const SupplyChainRosterDetailScreen = ({ )} </> ); - }, [dataLoading]); + }; useEffect(() => { const unsubscribe = navigation.addListener("focus", () => { @@ -549,7 +541,7 @@ export const SupplyChainRosterDetailScreen = ({ estimatedItemSize={100} contentInset={{ bottom: bottomInset }} showsVerticalScrollIndicator={false} - ListHeaderComponent={showListHeaderComponent()} + ListHeaderComponent={listHeaderComponent()} ListEmptyComponent={renderListEmptyComponent} renderItem={({ item, index }) => renderItem({ item, index })} refreshControl={refreshControl()}
potential fixes for filter chips
potential fixes for filter chips
e1019c1ac1dd1bbcedb1b0ef96b5a828723384e6
--- packages/allspark-foundation-hub/src/Store/Modules/Hub/HubDashboard.tsx @@ -196,12 +196,14 @@ export const HubDashboard = ({ }); }; - useFocusEffect( - useCallback(() => { - if (scrollViewRef.current) { - scrollViewRef.current.scrollTo({ y: 0, animated: false }); - } - }, [allowedWidgetsList]) +useFocusEffect( + useCallback(() => { + const scrollView = scrollViewRef.current; + if (scrollView) { + scrollView.scrollTo({ y: 0, animated: false }); + } + }, [allowedWidgetsList]) +) ); useEffect(() => {
Update packages/allspark-foundation-hub/src/Store/Modules/Hub/HubDashboard.tsx
Update packages/allspark-foundation-hub/src/Store/Modules/Hub/HubDashboard.tsx Co-authored-by: AI Code Assistant <AI-Code-Assistant@email.wal-mart.com>
8938226e56599aa99ec073fe4e42d2733f5b4253
--- package-lock.json @@ -64,7 +64,7 @@ "@walmart/pay-stub-miniapp": "0.9.31", "@walmart/payrollsolution_miniapp": "0.130.34", "@walmart/price-changes-mini-app": "1.8.7", - "@walmart/profile-feature-app": "0.143.0", + "@walmart/profile-feature-app": "0.184.0", "@walmart/push-to-talk-mini-app": "1.9.22", "@walmart/react-native-encrypted-storage": "1.1.3", "@walmart/react-native-env": "0.2.0", @@ -5701,7 +5701,9 @@ } }, "node_modules/@walmart/profile-feature-app": { - "version": "0.143.0", + "version": "0.184.0", + "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.184.0.tgz", + "integrity": "sha512-LBX6EMmdNYLz031zuB4V3Z/B0CiQFvNEjuGNe8WviitA9xtOWqzC86Qa2nXUxLbBQS+tcIV9w1Beg1GMAxaEWg==", "hasInstallScript": true, "peerDependencies": { "@react-navigation/bottom-tabs": "^6.0.0", @@ -25265,7 +25267,9 @@ "integrity": "sha512-M+CKb5lcsa+whMCVUh+D50N0JSLRLyBdmWAMEZn8DI0ks9+MtWQ6XIEyiPKD9q4c8UQGm2AZ+tgiGIT7hcg+IA==" }, "@walmart/profile-feature-app": { - "version": "0.143.0" + "version": "0.184.0", + "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.184.0.tgz", + "integrity": "sha512-LBX6EMmdNYLz031zuB4V3Z/B0CiQFvNEjuGNe8WviitA9xtOWqzC86Qa2nXUxLbBQS+tcIV9w1Beg1GMAxaEWg==" }, "@walmart/push-to-talk-mini-app": { "version": "1.9.22" --- package.json @@ -106,7 +106,7 @@ "@walmart/pay-stub-miniapp": "0.9.31", "@walmart/payrollsolution_miniapp": "0.130.34", "@walmart/price-changes-mini-app": "1.8.7", - "@walmart/profile-feature-app": "0.143.0", + "@walmart/profile-feature-app": "0.184.0", "@walmart/push-to-talk-mini-app": "1.9.22", "@walmart/react-native-encrypted-storage": "1.1.3", "@walmart/react-native-env": "0.2.0", --- src/navigation/AssociateHallwayNav/MainStackNav.tsx @@ -51,6 +51,7 @@ import { EditPreferredNameCard, EducationHistoryNav, JobHistoryNav, + MilitaryStatusNav, PersonalSettingsNav, ProfilePictureCard, ProfilePictureOptionScreen, @@ -174,6 +175,10 @@ export const MainStackNav = () => { name='profile.certificationsScreen' component={CertificationsNav} /> + <MainStack.Screen + name='profile.militaryStatusScreen' + component={MilitaryStatusNav} + /> <MainStack.Screen name='profile.personalSettingsScreen' component={PersonalSettingsNav}
Add military status to profile
Add military status to profile
2cd12a0af73bd0aaff74aa80c5cdbd7c359c96ff
--- yarn.lock @@ -7126,7 +7126,7 @@ __metadata: "@walmart/store-feature-orders": "npm: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": "npm:2.400.0" - "@walmart/topstock-mini-app": "npm:1.16.23" + "@walmart/topstock-mini-app": "npm:1.16.25" "@walmart/ui-components": "patch:@walmart/ui-components@patch%3A@walmart/ui-components@npm%253A1.16.1%23~/.yarn/patches/@walmart-ui-components-npm-1.16.1-c240fb0151.patch%3A%3Aversion=1.16.1&hash=79c828#~/.yarn/patches/@walmart-ui-components-patch-cd5ae6f92c.patch" "@walmart/welcomeme-mini-app": "npm:0.95.1" "@walmart/wfm-ui": "npm:1.6.0" @@ -8113,9 +8113,9 @@ __metadata: languageName: node linkType: hard -"@walmart/topstock-mini-app@npm:1.16.23": - version: 1.16.23 - resolution: "@walmart/topstock-mini-app@npm:1.16.23" +"@walmart/topstock-mini-app@npm:1.16.25": + version: 1.16.25 + resolution: "@walmart/topstock-mini-app@npm:1.16.25" peerDependencies: "@react-native-firebase/app": ^15.1.1 "@react-native-firebase/crashlytics": ^15.1.1 @@ -8132,7 +8132,7 @@ __metadata: react-native-haptic-feedback: ^1.13.0 react-native-vector-icons: ">=6.6.0" react-redux: ">=7.2.0" - checksum: 10c0/14c513f6c88b79e78be0c246bde39831c65dafe10ca9d85ce47908e8d36e7d2499cc6f1825feb07903b57c4698fa58b4fd74ee6c1f7fe6c6240a4586da592615 + checksum: 10c0/e214b9e8fc472d3099d2da6910f87cd0d6a486370832535150c8b7aaec1fd3e862b8cc9e96512c67527bfed1a8787c35c5d86ada1d5a950d2a13405b33d73bcc languageName: node linkType: hard
fix(): updated topstock version to 1.16.25
fix(): updated topstock version to 1.16.25
f3a7eb75fcc83791d4e0af216c34c0b8b5560673
--- packages/allspark-authentication/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/allspark-authentication", - "version": "2.0.9", + "version": "3.0.0", "description": "", "main": "lib/index.js", "types": "lib/index.d.ts", --- packages/allspark-foundation/package.json @@ -1,7 +1,7 @@ { "name": "@walmart/allspark-foundation", "private": false, - "version": "2.2.4", + "version": "3.0.0", "description": "", "main": "lib/index.js", "types": "lib/index.d.ts", --- packages/allspark-utils/package.json @@ -1,7 +1,7 @@ { "name": "@walmart/allspark-utils", - "version": "1.6.3", - "description": "> TODO: description", + "version": "3.0.0", + "description": "", "author": "rlane1 <russell.lane@walmart.com>", "homepage": "", "license": "ISC", --- packages/me-at-walmart-container/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/me-at-walmart-container", - "version": "2.0.4", + "version": "3.0.0", "description": "", "main": "lib/index.js", "types": "lib/index.d.ts",
chore: align packages to v3
chore: align packages to v3
4775f12e3166f9c2ca125c7c11138cdf39440481
--- docs/CHANGELOG.md @@ -1,3 +1,10 @@ +# [1.29.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.28.0...v1.29.0) (2025-05-01) + + +### Features + +* **ui:** update roster and wmconnect version ([917cb3c](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/917cb3cd8ffcf712277d095217f0f3d56111a555)) + # [1.28.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.27.0...v1.28.0) (2025-04-30) --- package.json @@ -1,6 +1,6 @@ { "name": "@walmart/myteam-mini-app", - "version": "1.28.0", + "version": "1.29.0", "main": "dist/index.js", "files": [ "dist/"
chore(release): 1.29.0 [skip ci]
chore(release): 1.29.0 [skip ci] # [1.29.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.28.0...v1.29.0) (2025-05-01) ### Features * **ui:** update roster and wmconnect version ([917cb3c](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/917cb3cd8ffcf712277d095217f0f3d56111a555))
831438cfbffa0d6e6635961fa649729eca069ceb
--- package.json @@ -1,6 +1,6 @@ { "name": "@walmart/myteam-mini-app", - "version": "1.13.0-alpha.4", + "version": "1.13.0-alpha.5", "main": "dist/index.js", "files": [ "dist" --- src/components/RosterWidget.tsx @@ -0,0 +1,52 @@ +import {useTranslation} from 'react-i18next'; +import {MY_TEAM_I18N_NAMESPACE} from '../translations'; +import React, {useEffect, useState} from 'react'; +import {HubWidget} from '@walmart/allspark-foundation-hub/HubFeature'; +import {View} from 'react-native'; +import {Body} from '@walmart/gtp-shared-components'; + +export type WidgetDataProps = { + selectedTeamPreference?: string; + selectedTeamIds?: string[]; + refresh?: string | null; +}; + +export const RosterWidget = (props: WidgetDataProps) => { + const {t} = useTranslation([MY_TEAM_I18N_NAMESPACE]); + const {selectedTeamIds, refresh} = props; + const [count, setCount] = useState(0); + const [widgetRefresh, setWidgetRefresh] = useState(false); + useEffect(() => { + console.log('On changing the team ids', selectedTeamIds); + }, [selectedTeamIds]); + + useEffect(() => { + console.log('On refreshing the widgets'); + setCount(count + 1); + setWidgetRefresh(true); + setTimeout(() => { + setWidgetRefresh(false); + }, 3500); + }, [refresh]); + + return ( + <HubWidget + variant='actionable' + iconName='CalendarIcon' + moduleTitle='Roster' + shortIntro={t('hubWidget.roster.shortIntro')} + content={ + <View> + <Body>Roster - {t('hubWidget.roster.contentText')}</Body> + <Body>Content for the teamIds: [{selectedTeamIds?.join(', ')}]</Body> + <Body>Update the count on refresh: {count}</Body> + </View> + } + actionText={t('hubWidget.roster.actionText')} + actionBtnText={t('hubWidget.roster.actionBtnText')} + onActionPress={() => {}} + routeName='miniApp' + refresh={widgetRefresh} + /> + ); +}; --- src/index.tsx @@ -8,6 +8,8 @@ import {SafeAreaProvider} from 'react-native-safe-area-context'; import {PresenceProvider} from '@walmart/wmconnect-mini-app'; import {useSelector} from 'react-redux'; import {UserSelectors} from '@walmart/allspark-foundation/User'; +import {AllsparkComponentContainers} from '@walmart/allspark-foundation'; +import {RosterWidget} from './components/RosterWidget'; // TODO: This needs to be reconsidered when we go production export const initialize = async (debugToken: string) => { @@ -34,6 +36,12 @@ export const initialize = async (debugToken: string) => { initi18n(); +AllsparkComponentContainers.add( + 'Me@Walmart.ManagerExperience.MyTeam', + 'roster', + RosterWidget, +); + export const MyTeamMiniApp = () => { return ( <SafeAreaProvider> --- src/translations/en-US.ts @@ -130,4 +130,13 @@ export const enUS = { cancel: 'Cancel', clearRecentSearch: 'Clear all recent searches', }, + hubWidget: { + roster: { + actionText: + '6 time off requests that were submitted over 2 days ago need your attention.', + shortIntro: 'This widget variant is actionable insight.', + actionBtnText: 'View Widget 1', + contentText: 'This is a placeholder for content.', + }, + }, }; --- src/translations/es-MX.ts @@ -126,4 +126,13 @@ export const esMX = { cancel: 'Cancelar', clearRecentSearch: 'Borrar todas las búsquedas recientes', }, + hubWidget: { + roster: { + actionText: + '6 solicitudes de tiempo libre enviadas hace más de 2 días necesitan su atención.', + shortIntro: 'Esta variante de widget es información procesable.', + actionBtnText: 'Ver Widget 1', + contentText: 'Este es un marcador de posición para el contenido.', + }, + }, };
feat(ui): update widget on myTeam
feat(ui): update widget on myTeam
19f5a25c738a1ce86d8f899eeb94566ef082aa2d
--- package.json @@ -111,7 +111,7 @@ "resolutions": { "@react-native-community/datetimepicker": "^7.6.2", "@walmart/allspark-utils": "6.3.3", - "@walmart/allspark-foundation": "6.9.1", + "@walmart/allspark-foundation": "6.9.2", "@walmart/me-at-walmart-athena-queries": "6.4.1", "@walmart/me-at-walmart-common": "workspace:^", "@walmart/me-at-walmart-container": "workspace:^", --- targets/US/package.json @@ -77,7 +77,7 @@ "@terrylinla/react-native-sketch-canvas": "patch:@terrylinla/react-native-sketch-canvas@patch%3A@terrylinla/react-native-sketch-canvas@npm%253A0.8.0%23~/.yarn/patches/@terrylinla-react-native-sketch-canvas-npm-0.8.0-c7b2afd4cd.patch%3A%3Aversion=0.8.0&hash=627c51#~/.yarn/patches/@terrylinla-react-native-sketch-canvas-patch-b841bbddec.patch", "@walmart/allspark-authentication": "6.3.2", "@walmart/allspark-cope-key-listener": "0.0.17", - "@walmart/allspark-foundation": "6.9.1", + "@walmart/allspark-foundation": "6.9.2", "@walmart/allspark-graphql-client": "6.3.4", "@walmart/allspark-http-client": "6.3.4", "@walmart/allspark-neon-core": "0.1.31", --- yarn.lock @@ -5410,9 +5410,9 @@ __metadata: languageName: node linkType: hard -"@walmart/allspark-foundation@npm:6.9.1": - version: 6.9.1 - resolution: "@walmart/allspark-foundation@npm:6.9.1" +"@walmart/allspark-foundation@npm:6.9.2": + version: 6.9.2 + resolution: "@walmart/allspark-foundation@npm:6.9.2" dependencies: "@apollo/client": "npm:^3.8.6" "@graphql-codegen/cli": "npm:^5.0.0" @@ -5502,7 +5502,7 @@ __metadata: allspark-generate-graphql: cli/generate.js allspark-link: cli/link.js allspark-setup: cli/setup.js - checksum: 10c0/cc8d5fe2966bb089b09ba760b0c0ccdc805e71ff6ac5b62ea346c518c31b9c95c4e6c2da643b134e33a9087f1d94db4cd64440787822630c2b39d09f2129540f + checksum: 10c0/95624aa38005c4d3bb96ee3ca870a1dfb3693a818bfe57784b0d037115af62479519aee348a8a6f9d4ae7f0fb0b0eed4c717a83b5fa51b0d50f536a01b9b57c0 languageName: node linkType: hard @@ -6625,7 +6625,7 @@ __metadata: "@types/uuid": "npm:^8.3.0" "@walmart/allspark-authentication": "npm:6.3.2" "@walmart/allspark-cope-key-listener": "npm:0.0.17" - "@walmart/allspark-foundation": "npm:6.9.1" + "@walmart/allspark-foundation": "npm:6.9.2" "@walmart/allspark-graphql-client": "npm:6.3.4" "@walmart/allspark-http-client": "npm:6.3.4" "@walmart/allspark-neon-core": "npm:0.1.31"
chore: bump foundation package.
chore: bump foundation package.
4f2afc91518638f87662d3383c38570c23370736
--- packages/allspark-foundation-hub/src/SupplyChain/Hub/SiteHubDashboard.tsx @@ -24,13 +24,11 @@ import { UserSelectors } from '@walmart/allspark-foundation/User'; import { useAllsparkTranslation } from '@walmart/allspark-foundation/Translation'; import { OnboardingScreen } from '../Screens/OnboardingScreen/OnboardingScreen'; import { useGetSupplyChainTeamsPreferenceQuery } from '../../SupplyChain/Hooks/useGetSupplyChainTeamPreference'; -import { AllsparkLocalStorage } from '@walmart/allspark-foundation'; import { TOTAL_SITE_TEAM_ID, TOTAL_SITE_TEAM_LABEL, Popover, FEATURE_ID, - POPOVER_KEY, SupplyChainCCMFallbacks as CCMFallbacks, createDefaultWidgetPlaceholder, } from '../../Shared'; @@ -47,8 +45,13 @@ import { ShiftMapping, ShiftMappingList } from './types'; import { ManagerExperienceSelectors } from '../../Container'; export const SiteHubDashboard = ({ name, widgets }: HubDashboardProps) => { - const { loading, showOnboarding, hideOnboardingFlow } = - useSupplyChainOnboardingContext(); + const { + loading, + showOnboarding, + hideOnboardingFlow, + showCalloutPopup, + hideCallout, + } = useSupplyChainOnboardingContext(); const { allSiteTeams, loading: teamsLoading } = useGetSupplyChainAllTeamsBySite(); const { @@ -65,7 +68,6 @@ export const SiteHubDashboard = ({ name, widgets }: HubDashboardProps) => { teamLabel: TOTAL_SITE_TEAM_ID, shiftsIds: ['A1'], }); - const [show, setShow] = useState(false); const [allowedWidgetsList, setAllowedWidgetsList] = useState<LayoutConfig>( [] ); @@ -81,7 +83,7 @@ export const SiteHubDashboard = ({ name, widgets }: HubDashboardProps) => { const defaultShift = useSelector(defaultShiftId) as string; - const showPopover = useSelector(calloutEnabled); + const isCalloutEnabled = useSelector(calloutEnabled); /**Refresh props */ @@ -106,7 +108,6 @@ export const SiteHubDashboard = ({ name, widgets }: HubDashboardProps) => { const originalSiteId = useSelector(UserSelectors.getHomeSite); const showOnboardingFlow = useSelector(onboardingFlowEnabled); - const associateId = useSelector(UserSelectors.getUserId) as string; const isNotPartOfRoster = currentSiteId && originalSiteId && currentSiteId !== originalSiteId; @@ -128,16 +129,6 @@ export const SiteHubDashboard = ({ name, widgets }: HubDashboardProps) => { // eslint-disable-next-line react-hooks/exhaustive-deps }, [selectedTeamIds]); // this fires when switcher value changes - const checkPopoverStatus = useCallback(async () => { - const isFirstTime = await AllsparkLocalStorage.get( - POPOVER_KEY + associateId - ); - if (!isFirstTime) { - setShow(true); - } - // eslint-disable-next-line react-hooks/exhaustive-deps - }, []); - const getTeamNameById = (teamIds: string[]): string[] => { const matchingTeamNames: string[] = []; @@ -167,7 +158,6 @@ export const SiteHubDashboard = ({ name, widgets }: HubDashboardProps) => { const teamData = getTeamNameById(listOfteamIds); // After changing store, reload all the hub widgets with new store data. useEffect(() => { - checkPopoverStatus(); if (currentSiteId !== parentSiteID.current) { if (isNotPartOfRoster) { hideOnboardingFlow(); @@ -176,7 +166,7 @@ export const SiteHubDashboard = ({ name, widgets }: HubDashboardProps) => { onRefresh(); } // eslint-disable-next-line react-hooks/exhaustive-deps - }, [currentSiteId, checkPopoverStatus]); + }, [currentSiteId]); const stopRefreshing = () => setState((prev) => ({ @@ -270,12 +260,6 @@ export const SiteHubDashboard = ({ name, widgets }: HubDashboardProps) => { ]) ); - const handlePopoverClose = useCallback(async () => { - await AllsparkLocalStorage.set(POPOVER_KEY + associateId, 'true'); - setShow(false); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, []); - const isLoading = useMemo( () => teamsLoading || preferencesLoading, [teamsLoading, preferencesLoading] @@ -340,11 +324,11 @@ export const SiteHubDashboard = ({ name, widgets }: HubDashboardProps) => { }); }} /> - {show && showPopover && ( + {showCalloutPopup && isCalloutEnabled && ( <Popover content={t('dashboard.callout.title')} - handleClose={handlePopoverClose} - showPopover={show} + handleClose={hideCallout} + showPopover={showCalloutPopup} UNSAFE_style={{ width: '60%' }} /> )} --- packages/allspark-foundation-hub/src/SupplyChain/Screens/OnboardingScreen/OnboardingContext.tsx @@ -22,6 +22,7 @@ export const useSupplyChainOnboardingContext = () => export const SupplyChainOnboardingProvider = ({ children }: any) => { const [showOnboarding, setShowOnboarding] = useState(false); + const [showCalloutPopup, setShowCalloutPopup] = useState(false); /**Personas identification */ const isPeopleLead: boolean = useSelector(UserSelectors.getIsUserPeopleLead); const isTeamLead: boolean = useSelector(UserSelectors.getIsUserTeamLead); @@ -43,6 +44,8 @@ export const SupplyChainOnboardingProvider = ({ children }: any) => { } = useGetSupplyChainTeamsPreferenceQuery(); const showOnboardingFlow = useCallback(() => setShowOnboarding(true), []); const hideOnboardingFlow = useCallback(() => setShowOnboarding(false), []); + const showCallout = useCallback(() => setShowCalloutPopup(true), []); + const hideCallout = useCallback(() => setShowCalloutPopup(false), []); const logger = LoggerService.getContainerInstance(); const loggerRef = useRef(logger); const onboardingTelemetry = useTelemetryService(); @@ -56,6 +59,7 @@ export const SupplyChainOnboardingProvider = ({ children }: any) => { if (userPreferences === null) { showOnboardingFlow(); + showCallout(); return; } const myTeamsPreferences = (await (teamPreferenceData || @@ -64,6 +68,7 @@ export const SupplyChainOnboardingProvider = ({ children }: any) => { if (Array.isArray(myTeamsPreferences) && !myTeamsPreferences.length) { // already onboarded hideOnboardingFlow(); + hideCallout(); return; } return myTeamsPreferences; @@ -90,9 +95,11 @@ export const SupplyChainOnboardingProvider = ({ children }: any) => { if (!userOnboarded || userOnboarded === null || isUserOnboarded) { loggerRef.current.info('Starting onboarding process...'); showOnboardingFlow(); + showCallout(); } else { loggerRef.current.info('User is already onboarded.'); hideOnboardingFlow(); + hideCallout(); } } }) @@ -113,6 +120,8 @@ export const SupplyChainOnboardingProvider = ({ children }: any) => { hideOnboardingFlow, disableOnboarding, loading: prefLoading, + showCalloutPopup, + hideCallout, }} > {children}
feat(ui): updated logic for callout
feat(ui): updated logic for callout
473e1486190f893f8c8ca326c0c910ed1311390e
--- .looper.multibranch.yml @@ -264,7 +264,7 @@ flows: - echo "default flow not required" pr: - - npm install --legacy-peer-deps + - npm install - npm run env:dev - npm run lint - npm run coverage -- --no-watchman @@ -377,7 +377,7 @@ flows: build-snapshot: - var(START_TIME): date +%s - - (name Install Dependencies) npm install --legacy-peer-deps + - (name Install Dependencies) npm install - declare(buildOutput) - declare(buildAabOutput) - declare(sourceMap) @@ -414,7 +414,7 @@ flows: # Checks if the build artifact is already published in the expected place. # if it is not, build it and publish it build-release: - - (name Install Dependencies) npm install --legacy-peer-deps + - (name Install Dependencies) npm install - declare(buildOutput) - declare(buildAabOutput) - declare(sourceMap) --- patches/@walmart+mod-flex-mini-app+1.3.15.patch @@ -1,5 +1,5 @@ diff --git a/node_modules/@walmart/mod-flex-mini-app/dist/utils/index.d.ts b/node_modules/@walmart/mod-flex-mini-app/dist/utils/index.d.ts -index 92533ce..85c2807 100644 +index 1c5829a..758badb 100644 --- a/node_modules/@walmart/mod-flex-mini-app/dist/utils/index.d.ts +++ b/node_modules/@walmart/mod-flex-mini-app/dist/utils/index.d.ts @@ -7,10 +7,6 @@ export declare const accessibilityId: (id?: string) => { @@ -14,18 +14,21 @@ index 92533ce..85c2807 100644 countryCode: string; } | null) => string; diff --git a/node_modules/@walmart/mod-flex-mini-app/dist/utils/index.js b/node_modules/@walmart/mod-flex-mini-app/dist/utils/index.js -index 646c466..811389c 100644 +index 5cf0d68..791b164 100644 --- a/node_modules/@walmart/mod-flex-mini-app/dist/utils/index.js +++ b/node_modules/@walmart/mod-flex-mini-app/dist/utils/index.js -@@ -1,11 +1,9 @@ +@@ -1,12 +1,12 @@ import { Platform } from 'react-native'; -import { Skeleton } from '@walmart/gtp-shared-components'; ++// import { Skeleton } from '@walmart/gtp-shared-components'; import { getStore } from '@walmart/redux-store'; import { networkingCountryCodeSelector } from '../model/selectors'; + import { enrichmentChunkSizeSelector } from '../model/selectors/configSelectors'; export const accessibilityId = (id = '') => Platform.OS === 'android' ? { accessibilityLabel: id, accessible: true } : { testID: id }; -export const obtainAnimator = () => Skeleton.createAnimator(); ++// export const obtainAnimator = () => Skeleton.createAnimator(); export const getCountryCode = (user) => { let countryCode = 'US'; const userCountryCode = user?.countryCode;
mod flex patches
mod flex patches
1a9a498d8222acbe37f61ecf670e6e0f8bf699f5
--- package.json @@ -150,7 +150,7 @@ "@walmart/react-native-webex-sdk": "0.9.20", "@walmart/receipt-check-miniapp": "1.34.4", "@walmart/redux-store": "~6.3.28", - "@walmart/returns-mini-app": "4.17.10", + "@walmart/returns-mini-app": "4.17.12", "@walmart/rfid-scan-mini-app": "2.14.3", "@walmart/rn-mobile-sdk-pairing": "2.1.8", "@walmart/rn-receiving-mini-app": "2.6.18", --- yarn.lock @@ -8391,7 +8391,7 @@ __metadata: "@walmart/react-native-webex-sdk": "npm:0.9.20" "@walmart/receipt-check-miniapp": "npm:1.34.4" "@walmart/redux-store": "npm:~6.3.28" - "@walmart/returns-mini-app": "npm:4.17.10" + "@walmart/returns-mini-app": "npm:4.17.12" "@walmart/rfid-scan-mini-app": "npm:2.14.3" "@walmart/rn-mobile-sdk-pairing": "npm:2.1.8" "@walmart/rn-receiving-mini-app": "npm:2.6.18" @@ -8989,9 +8989,9 @@ __metadata: languageName: node linkType: hard -"@walmart/returns-mini-app@npm:4.17.10": - version: 4.17.10 - resolution: "@walmart/returns-mini-app@npm:4.17.10::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Freturns-mini-app%2F-%2F%40walmart%2Freturns-mini-app-4.17.10.tgz" +"@walmart/returns-mini-app@npm:4.17.12": + version: 4.17.12 + resolution: "@walmart/returns-mini-app@npm:4.17.12::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Freturns-mini-app%2F-%2F%40walmart%2Freturns-mini-app-4.17.12.tgz" dependencies: "@walmart/common-utilities-js": "npm:^1.2.10" "@walmart/virtual-zpl-printer-model": "npm:^0.2.11" @@ -9010,7 +9010,7 @@ __metadata: react-native-mask-input: ^1.2.3 react-redux: "*" redux: "*" - checksum: 10c0/27920f2a7d395a663ef7ed11d3f22b9eae0bd372bd6afac26821460c5d8e24e3da5f427539ccbf181c5e57c097fd57cd4f1e03e37c1c386147d6f1bb7d973492 + checksum: 10c0/d0ee04f537d3bc6cb1e68c4ab86f5b4608d55f271583a57652f1745a60d1ed9a2f691c18407b4b09a2c47a327538fea0dec2bc742042fa462756cb5451244d5f languageName: node linkType: hard
fix: bug fix for returns image (#4839)
fix: bug fix for returns image (#4839)
22bd61978b80d8271ac516737a8c90db09734507
--- core/src/navigation/USHallway/AssociateHallwayNav/MainStackNav.tsx @@ -599,7 +599,7 @@ export const MainStackNav = () => { {AskSamFeature.buildAllScreens({ Navigator: MainStack as any, })} - + {ModFlexFeature.buildAllScreens({ Navigator: MainStack as any, })}
Resolved the linting issue
Resolved the linting issue
95823c41cfd9bd36f82dc40aae01f9af3a0d9b47
--- docs/CHANGELOG.md @@ -1,3 +1,10 @@ +# [1.25.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.24.0...v1.25.0) (2025-04-04) + + +### Features + +* **ui:** update package js and looper for myteam ([791b772](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/791b7725879eb3929b5e96a296d820564b827335)) + # [1.24.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.23.0...v1.24.0) (2025-04-04) --- package.json @@ -1,6 +1,6 @@ { "name": "@walmart/myteam-mini-app", - "version": "1.24.0", + "version": "1.25.0", "main": "dist/index.js", "files": [ "dist"
chore(release): 1.25.0 [skip ci]
chore(release): 1.25.0 [skip ci] # [1.25.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.24.0...v1.25.0) (2025-04-04) ### Features * **ui:** update package js and looper for myteam ([791b772](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/791b7725879eb3929b5e96a296d820564b827335))
2fedd9fbd2368acc5dccb18aec72fb81dc09c5b6
--- src/settings/timeclock/TimeClockSettings.tsx @@ -19,7 +19,7 @@ export const TimeClockSettings = ( ) => { const {navigation} = props; - const {t} = useTranslation('settings'); + const {t} = useTranslation(); const dispatch = useDispatch(); const snackbar = useSnackbar(); @@ -35,8 +35,8 @@ export const TimeClockSettings = ( const toggleHaptics = async () => { const nextValue = !timeclock.hapticsOn; const message = nextValue - ? 'timeClock:sound-on:snackbarTitle' - : 'timeClock:sound-off:snackbarTitle'; + ? 'settings:timeClock:sound-on:snackbarTitle' + : 'settings:timeClock:sound-off:snackbarTitle'; dispatch(SettingsActionCreators.TIMECLOCK_HAPTICS_CHANGED(nextValue)); snackbar.addSnack({ message: t(message), @@ -53,10 +53,10 @@ export const TimeClockSettings = ( return ( <View style={commonStyles.screen}> <ToggleSetting - labelOn={t('timeClock.sound-on.title')} - labelOff={t('timeClock.sound-off.title')} - descriptionOn={t('timeClock.sound-on.desc')} - descriptionOff={t('timeClock.sound-off.desc')} + labelOn={t('settings:timeClock:sound-on:title')} + labelOff={t('settings:timeClock:sound-off:title')} + descriptionOn={t('settings:timeClock:sound-on:desc')} + descriptionOff={t('settings:timeClock:sound-off:desc')} value={timeclock.hapticsOn} onToggle={toggleHaptics} testID='time_clock_haptics'
timeclock notification string fix
timeclock notification string fix
8963379fcd34eba84d6541565d113e232d7e2ae3
--- src/auth/LoginErrorScreen/index.tsx @@ -83,11 +83,11 @@ export const LoginErrorScreen = ( const [isNetworkError, isTimeMismatchError, isBrowserNotFoundError] = useMemo(() => { - const networkError = NETWORK_ERRORS.some( - (term) => customError?.toLowerCase()?.includes(term), + const networkError = NETWORK_ERRORS.some((term) => + customError?.toLowerCase()?.includes(term), ); - const timeMismatch = TIME_MISMATCH_ERRORS.some( - (term) => customError?.toLowerCase()?.includes(term), + const timeMismatch = TIME_MISMATCH_ERRORS.some((term) => + customError?.toLowerCase()?.includes(term), ); const noBrowserFound = NO_BROWSER_ERROR === customErrorCode; return [networkError, timeMismatch, noBrowserFound]; --- src/hooks/useCanImpersonate.ts @@ -11,9 +11,8 @@ export const useCanImpersonate = () => { const user: User | null = useSelector(UserSelectors.getOriginalUser); const impersonatorGroups: string[] = useSelector(getImpersonatorGroups); - return impersonatorGroups.some( - (group: string) => - // @ts-ignore - user?.memberOf?.includes(group), + return impersonatorGroups.some((group: string) => + // @ts-ignore + user?.memberOf?.includes(group), ); }; --- src/startup/AuthFlow.ts @@ -18,8 +18,8 @@ const SILENT_SSO_ERRORS = [ ]; export const isSilentSignInError = (error?: Error) => - SILENT_SSO_ERRORS.some( - (silentError) => `${error}`?.toLowerCase().includes(silentError), + SILENT_SSO_ERRORS.some((silentError) => + `${error}`?.toLowerCase().includes(silentError), ); export function* authFlow() {
chore: lint fixes
chore: lint fixes
295d8b5312ada24cb994137d8eb6f046e3e6f735
--- android/app/build.gradle @@ -153,8 +153,8 @@ android { applicationId "com.walmart.stores.allspark.beta" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 886 - versionName "1.8.0" + versionCode 891 + versionName "1.8.5" } splits { abi { --- ios/AllSpark/Info.plist @@ -19,7 +19,7 @@ <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> - <string>1.8.0</string> + <string>1.8.5</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleURLTypes</key> @@ -36,7 +36,7 @@ </dict> </array> <key>CFBundleVersion</key> - <string>886</string> + <string>891</string> <key>FirebaseAutomaticScreenReportingEnabled</key> <false /> <key>LSApplicationQueriesSchemes</key> @@ -108,7 +108,7 @@ <string>remote-notification</string> </array> <key>UILaunchStoryboardName</key> - <string>LaunchScreen-Dev</string> + <string>LaunchScreen-Beta</string> <key>UIRequiredDeviceCapabilities</key> <array> <string>armv7</string> --- package-lock.json @@ -1,6 +1,6 @@ { "name": "allspark-main", - "version": "1.8.0", + "version": "1.8.5", "lockfileVersion": 1, "requires": true, "dependencies": { --- package.json @@ -1,6 +1,6 @@ { "name": "allspark-main", - "version": "1.8.0", + "version": "1.8.5", "private": true, "scripts": { "android": "react-native run-android",
version bump for drop 8.5
version bump for drop 8.5
892e897d5851a58106b6fda8be9e5320d8f0a5dc
--- src/containers/ChatInput/ChatActions.tsx @@ -8,7 +8,6 @@ import { } from 'react-native'; import Animated, {FadeInLeft, FadeInRight} from 'react-native-reanimated'; import { - CameraIcon, ChevronRightIcon, colors, ImageIcon, @@ -29,7 +28,6 @@ export const ChatActions = (props: { collapsed: boolean; recording: boolean; onExpand: () => void; - onCamera: () => void; onGallery: () => void; onRecord: () => void; onStopRecord: () => void; @@ -39,7 +37,6 @@ export const ChatActions = (props: { collapsed, recording, onExpand, - onCamera, onGallery, onRecord, onStopRecord, @@ -71,9 +68,6 @@ export const ChatActions = (props: { {!collapsed && ( <Animated.View style={styles.actionRow} entering={FadeInLeft}> - <TouchableOpacity onPress={onCamera} style={styles.actionButton}> - <CameraIcon size='medium' color={colors.blue[100]} /> - </TouchableOpacity> <TouchableOpacity onPress={onGallery} style={styles.actionButton}> <ImageIcon size='medium' color={colors.blue[100]} /> </TouchableOpacity> --- src/containers/ChatInput/index.tsx @@ -14,7 +14,6 @@ import Animated, {withTiming} from 'react-native-reanimated'; import { Asset, ImagePickerResponse, - launchCamera, launchImageLibrary, } from 'react-native-image-picker'; import {colors} from '@walmart/gtp-shared-components'; @@ -200,15 +199,6 @@ export const ChatInput = (props: { const expandActions = () => setCollpased(false); // Images - const onCaptureImage = async () => { - const pickerResponse = await launchCamera({mediaType: 'photo'}); - - if (pickerResponse && pickerResponse.assets) { - setImageAssets(pickerResponse.assets); - collapseActions(); - } - }; - const onAttachImage = async () => { const pickerResponse: ImagePickerResponse | void = await launchImageLibrary( { @@ -268,7 +258,6 @@ export const ChatInput = (props: { collapsed={collapsed} recording={capturingAudio} onExpand={expandActions} - onCamera={onCaptureImage} onGallery={onAttachImage} onRecord={onStartRecording} onStopRecord={onTrashRecording} --- src/containers/ChatInput/ChatActions.tsx @@ -8,7 +8,6 @@ import { } from 'react-native'; import Animated, {FadeInLeft, FadeInRight} from 'react-native-reanimated'; import { - CameraIcon, ChevronRightIcon, colors, ImageIcon, @@ -29,7 +28,6 @@ export const ChatActions = (props: { collapsed: boolean; recording: boolean; onExpand: () => void; - onCamera: () => void; onGallery: () => void; onRecord: () => void; onStopRecord: () => void; @@ -39,7 +37,6 @@ export const ChatActions = (props: { collapsed, recording, onExpand, - onCamera, onGallery, onRecord, onStopRecord, @@ -71,9 +68,6 @@ export const ChatActions = (props: { {!collapsed && ( <Animated.View style={styles.actionRow} entering={FadeInLeft}> - <TouchableOpacity onPress={onCamera} style={styles.actionButton}> - <CameraIcon size='medium' color={colors.blue[100]} /> - </TouchableOpacity> <TouchableOpacity onPress={onGallery} style={styles.actionButton}> <ImageIcon size='medium' color={colors.blue[100]} /> </TouchableOpacity> --- src/containers/ChatInput/index.tsx @@ -14,7 +14,6 @@ import Animated, {withTiming} from 'react-native-reanimated'; import { Asset, ImagePickerResponse, - launchCamera, launchImageLibrary, } from 'react-native-image-picker'; import {colors} from '@walmart/gtp-shared-components'; @@ -200,15 +199,6 @@ export const ChatInput = (props: { const expandActions = () => setCollpased(false); // Images - const onCaptureImage = async () => { - const pickerResponse = await launchCamera({mediaType: 'photo'}); - - if (pickerResponse && pickerResponse.assets) { - setImageAssets(pickerResponse.assets); - collapseActions(); - } - }; - const onAttachImage = async () => { const pickerResponse: ImagePickerResponse | void = await launchImageLibrary( { @@ -268,7 +258,6 @@ export const ChatInput = (props: { collapsed={collapsed} recording={capturingAudio} onExpand={expandActions} - onCamera={onCaptureImage} onGallery={onAttachImage} onRecord={onStartRecording} onStopRecord={onTrashRecording}
remove camera
remove camera
703e7d821ee4b563ab260dc170e61ed513a6b1a3
--- package-lock.json @@ -40,7 +40,7 @@ "@walmart/amp-mini-app": "1.1.48", "@walmart/ask-sam-chat-components": "^0.2.7", "@walmart/ask-sam-mini-app": "1.13.4", - "@walmart/attendance-mini-app": "0.190.6", + "@walmart/attendance-mini-app": "1.29.0", "@walmart/compass-sdk-rn": "4.2.0", "@walmart/config-components": "4.2.1", "@walmart/copilot-mini-app": "1.77.9", @@ -81,7 +81,7 @@ "@walmart/receipt-check-miniapp": "1.14.6", "@walmart/redux-store": "3.4.0", "@walmart/returns-mini-app": "1.9.0", - "@walmart/schedule-mini-app": "0.37.0", + "@walmart/schedule-mini-app": "0.43.0", "@walmart/settings-mini-app": "1.19.1", "@walmart/shelfavailability-mini-app": "1.5.16", "@walmart/taskit-mini-app": "2.40.8", @@ -7991,9 +7991,9 @@ } }, "node_modules/@walmart/attendance-mini-app": { - "version": "0.190.6", - "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.190.6.tgz", - "integrity": "sha512-sQ9IXeWLuNkR5FplypvAPWp/8NHitlTCR0hngOdExJztV31tFzXRw2wRDH+HYJTc8zDVHfGYTBTBtlY/O0cjZg==", + "version": "1.29.0", + "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-1.29.0.tgz", + "integrity": "sha512-cgof0PK5lPRJymvMLvlNY1vC6ep9ZnyRDY+zQD5GPUSpGU/JvldomY1c4k8Zgt3+htfyfwZ0Y+dPdYisgG39kQ==", "dependencies": { "@walmart/gta-react-native-calendars": "^0.0.16", "@walmart/wfm-ui": "^0.2.26", @@ -9032,12 +9032,12 @@ } }, "node_modules/@walmart/schedule-mini-app": { - "version": "0.37.0", - "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.37.0.tgz", - "integrity": "sha512-FVuEOj/aux0N2jGWeg7le/CnuSpYZKlw+o0UG/saytT1CoDHtRf1ejIzUDPOKWa+9RsPLaBe7rO3T6lsLp3Nug==", + "version": "0.43.0", + "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.43.0.tgz", + "integrity": "sha512-9rJshETBgUZmpbDfpki+r8CwSQ+pku2rcBxoyK6rtRU16rfYIujvGDcLf7oOnNts0ZayMpBz/oDG0ivHbN5Qjg==", "dependencies": { "@walmart/moment-walmart": "^1.0.4", - "@walmart/wfm-ui": "0.2.26", + "@walmart/wfm-ui": "0.3.0", "crypto-js": "^3.3.0", "react-native-tab-view": "^2.4.0", "wfm-allspark-data-library": "^1.6.0" @@ -9047,13 +9047,13 @@ "@react-navigation/elements": "^1.3.1", "@react-navigation/native": ">=6.0.0", "@react-navigation/stack": ">=6.0.0", - "@walmart/attendance-mini-app": ">=0.50.0", + "@walmart/attendance-mini-app": ">=1.26.0", "@walmart/core-services": "^2.0.19", "@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.0.101", - "i18next": "*", + "@walmart/ui-components": ">=1.15.0", + "i18next": "^19.8.7", "javascript-time-ago": "^2.3.4", "react": ">=18.1.0", "react-i18next": ">=12.0.0", @@ -9064,6 +9064,33 @@ "reselect": ">=4.0.0" } }, + "node_modules/@walmart/schedule-mini-app/node_modules/@walmart/wfm-ui": { + "version": "0.3.0", + "resolved": "https://npme.walmart.com/@walmart/wfm-ui/-/wfm-ui-0.3.0.tgz", + "integrity": "sha512-NfM/uLBHwl7GLWxOtCUzK9RKQ+o5Pqv2YjRpIiP9Ep3GZHCpccnxs9MrIS3GjEU46cTKHPSG8gdIwVRkBBdoDA==", + "license": "ISC", + "dependencies": { + "@walmart/moment-walmart": "1.0.3", + "lodash": "^4.17.20", + "lodash.get": "^4.4.2", + "lodash.isequal": "^4.5.0", + "lodash.uniqby": "^4.7.0", + "react-native-material-menu": "^0.4.2", + "react-native-vector-icons": "^7.0.0", + "string.prototype.matchall": "^4.0.2", + "wm-react-native-vector-icons": "^1.0.26" + }, + "peerDependencies": { + "@walmart/gtp-shared-components": ">=0.2.2", + "i18next": "19.7.0", + "moment": "^2.29.4", + "react": "^16.13.1", + "react-i18next": "11.7.3", + "react-native": "^0.63.2", + "react-native-modal": "^11.5.6", + "xdate": "^0.8.0" + } + }, "node_modules/@walmart/service-environment-js": { "version": "1.0.4", "license": "GPL-3.0-or-later" @@ -33488,9 +33515,9 @@ } }, "@walmart/attendance-mini-app": { - "version": "0.190.6", - "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.190.6.tgz", - "integrity": "sha512-sQ9IXeWLuNkR5FplypvAPWp/8NHitlTCR0hngOdExJztV31tFzXRw2wRDH+HYJTc8zDVHfGYTBTBtlY/O0cjZg==", + "version": "1.29.0", + "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-1.29.0.tgz", + "integrity": "sha512-cgof0PK5lPRJymvMLvlNY1vC6ep9ZnyRDY+zQD5GPUSpGU/JvldomY1c4k8Zgt3+htfyfwZ0Y+dPdYisgG39kQ==", "requires": { "@walmart/gta-react-native-calendars": "^0.0.16", "@walmart/wfm-ui": "^0.2.26", @@ -33805,15 +33832,33 @@ } }, "@walmart/schedule-mini-app": { - "version": "0.37.0", - "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.37.0.tgz", - "integrity": "sha512-FVuEOj/aux0N2jGWeg7le/CnuSpYZKlw+o0UG/saytT1CoDHtRf1ejIzUDPOKWa+9RsPLaBe7rO3T6lsLp3Nug==", + "version": "0.43.0", + "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.43.0.tgz", + "integrity": "sha512-9rJshETBgUZmpbDfpki+r8CwSQ+pku2rcBxoyK6rtRU16rfYIujvGDcLf7oOnNts0ZayMpBz/oDG0ivHbN5Qjg==", "requires": { "@walmart/moment-walmart": "1.0.4", - "@walmart/wfm-ui": "0.2.26", + "@walmart/wfm-ui": "0.3.0", "crypto-js": "^3.3.0", "react-native-tab-view": "^3.3.0", "wfm-allspark-data-library": "^1.6.0" + }, + "dependencies": { + "@walmart/wfm-ui": { + "version": "0.3.0", + "resolved": "https://npme.walmart.com/@walmart/wfm-ui/-/wfm-ui-0.3.0.tgz", + "integrity": "sha512-NfM/uLBHwl7GLWxOtCUzK9RKQ+o5Pqv2YjRpIiP9Ep3GZHCpccnxs9MrIS3GjEU46cTKHPSG8gdIwVRkBBdoDA==", + "requires": { + "@walmart/moment-walmart": "1.0.4", + "lodash": "^4.17.20", + "lodash.get": "^4.4.2", + "lodash.isequal": "^4.5.0", + "lodash.uniqby": "^4.7.0", + "react-native-material-menu": "^0.4.2", + "react-native-vector-icons": "^9.2.0", + "string.prototype.matchall": "^4.0.2", + "wm-react-native-vector-icons": "^1.0.26" + } + } } }, "@walmart/service-environment-js": { --- package.json @@ -81,7 +81,7 @@ "@walmart/amp-mini-app": "1.1.48", "@walmart/ask-sam-chat-components": "^0.2.7", "@walmart/ask-sam-mini-app": "1.13.4", - "@walmart/attendance-mini-app": "0.190.6", + "@walmart/attendance-mini-app": "1.29.0", "@walmart/compass-sdk-rn": "4.2.0", "@walmart/config-components": "4.2.1", "@walmart/copilot-mini-app": "1.77.9", @@ -122,7 +122,7 @@ "@walmart/receipt-check-miniapp": "1.14.6", "@walmart/redux-store": "3.4.0", "@walmart/returns-mini-app": "1.9.0", - "@walmart/schedule-mini-app": "0.37.0", + "@walmart/schedule-mini-app": "0.43.0", "@walmart/settings-mini-app": "1.19.1", "@walmart/shelfavailability-mini-app": "1.5.16", "@walmart/taskit-mini-app": "2.40.8",
ama v1.29.0 and schedule-mini-app 0.43.0
ama v1.29.0 and schedule-mini-app 0.43.0
b2d21343a3d1f53ed7ba5f38a8860ec3567d1e3b
--- targets/US/package.json @@ -146,7 +146,7 @@ "@walmart/schedule-mini-app": "1.13.0", "@walmart/shelfavailability-mini-app": "1.5.41", "@walmart/shop-gnfr-mini-app": "1.0.137", - "@walmart/sidekick-mini-app": "4.168.19", + "@walmart/sidekick-mini-app": "4.168.24", "@walmart/store-feature-orders": "1.28.3", "@walmart/taskit-mini-app": "5.8.17", "@walmart/time-clock-mini-app": "2.448.1", --- yarn.lock @@ -7486,7 +7486,7 @@ __metadata: "@walmart/schedule-mini-app": "npm:1.13.0" "@walmart/shelfavailability-mini-app": "npm:1.5.41" "@walmart/shop-gnfr-mini-app": "npm:1.0.137" - "@walmart/sidekick-mini-app": "npm:4.168.19" + "@walmart/sidekick-mini-app": "npm:4.168.24" "@walmart/store-feature-orders": "npm:1.28.3" "@walmart/taskit-mini-app": "npm:5.8.17" "@walmart/time-clock-mini-app": "npm:2.448.1" @@ -8381,9 +8381,9 @@ __metadata: languageName: node linkType: hard -"@walmart/sidekick-mini-app@npm:4.168.19": - version: 4.168.19 - resolution: "@walmart/sidekick-mini-app@npm:4.168.19" +"@walmart/sidekick-mini-app@npm:4.168.24": + version: 4.168.24 + resolution: "@walmart/sidekick-mini-app@npm:4.168.24::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fsidekick-mini-app%2F-%2Fsidekick-mini-app-4.168.24.tgz" peerDependencies: "@apollo/client": "*" "@expo/config-plugins": 7.2.2 @@ -8402,7 +8402,7 @@ __metadata: react: "*" react-native: "*" redux: "*" - checksum: 10c0/9bc311af7fda80a5edf9b66c0084ea1c034ac6955618a3e1932644e8a5183bbb6a28d5678cead5ad854bd7898bbd7931e469d04b86d98448313126f2af18fbb6 + checksum: 10c0/ccb7046de78762289c9b44e0dcc3e4f54b4ae2e928edb6c3da03f7bf6d0eb41e5c0300479c9c7623deb4acf3792e8bc5d76ed04386f4a62a3ace44500672e1f4 languageName: node linkType: hard
chore: bump sidekick@4.168.24
chore: bump sidekick@4.168.24
50f7b7efab9fd4db46296e02ebfac67c9d70a939
--- packages/allspark-foundation/src/Components/Onboarding/OnBoardingFlow.tsx @@ -0,0 +1,63 @@ +import React from 'react'; +import { View } from 'react-native'; +import { TeamOnboardingScreen } from '../../../../allspark-foundation/src/HubFeature/Onboarding/TeamOnboarding/Screens/TeamOnboardingScreen'; +import { AllsparkNavigationClient } from '@walmart/allspark-foundation/Navigation'; +import { Icons } from '@walmart/gtp-shared-components/dist'; +import { useSelector } from 'react-redux'; +import { UserSelectors } from '@walmart/allspark-foundation/User'; +import { SiteSelectors } from '@walmart/allspark-foundation/Site'; +import { useGetAssociatePreferencesQuery } from '@walmart/me-at-walmart-athena-queries'; +import { isNil } from 'lodash'; + +export const OnBoardingFlow = () => { + const { data: siteData } = useSelector(SiteSelectors.getWorkingSite); + const site: number | undefined = siteData?.siteId; + const win: string | undefined = useSelector(UserSelectors.getWin); + const isPeopleLead: boolean = useSelector(UserSelectors.getIsUserPeopleLead); + const isTeamLead: boolean = useSelector(UserSelectors.getIsUserTeamLead); + const isSalaried: boolean = useSelector(UserSelectors.getIsUserSalaried); + const { data } = useGetAssociatePreferencesQuery({ + variables: { + site: site as number, + win: win as string, + }, + fetchPolicy: 'network-only', + }); + const myTeamData = + data?.associatePreferences?.meAtWalmartPreferences + ?.managerExperiencePreferences?.myTeams; + const isUserOnboarded = + (isTeamLead || isSalaried || isPeopleLead) && isNil(myTeamData); + const teamOnboardingCardsData = [ + { + icon: <Icons.AssociateIcon size='medium' color='#0071DC' />, + title: 'Centralized information', + description: + 'Easily manage team attendance, assignments, and work progress', + }, + { + icon: <Icons.AssociateIcon size='medium' color='#0071DC' />, + title: 'Insights and recommended actions', + description: + 'Get smart guidance to help you keep your team and the shift on track', + }, + ]; + const handleNavigation = () => { + AllsparkNavigationClient.navigate('teamHub.teamSelection'); + }; + return ( + <> + {isUserOnboarded ? ( + <TeamOnboardingScreen + heading='A new way to manage your Team and Work' + description='Get started by selecting your teams' + teamOnboardingCardsInfo={teamOnboardingCardsData} + buttonText='Choose teams' + handlePressButton={handleNavigation} + /> + ) : ( + <View></View> + )} + </> + ); +};
Adding onboarding flow wrapper component
Adding onboarding flow wrapper component
79390966d322368ce38cc6a9b2a6c1d2c592e4ba
--- package-lock.json @@ -32490,7 +32490,7 @@ }, "packages/allspark": { "name": "@walmart/allspark", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "dependencies": { "commander": "11.0.0", "inquirer": "^9.2.10", @@ -32499,10 +32499,10 @@ }, "packages/allspark-authentication": { "name": "@walmart/allspark-authentication", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "license": "ISC", "dependencies": { - "@walmart/allspark-utils": "^5.0.0-beta.2", + "@walmart/allspark-utils": "^5.0.0-beta.3", "lodash": "~4.17.21", "moment-timezone": "~0.5.43", "ts-retry-promise": "~0.7.1" @@ -32521,7 +32521,7 @@ }, "packages/allspark-foundation": { "name": "@walmart/allspark-foundation", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "dependencies": { "@apollo/client": "^3.8.6", "@graphql-codegen/cli": "^5.0.0", @@ -32531,7 +32531,7 @@ "@graphql-codegen/typescript-react-apollo": "^4.1.0", "@lifeomic/axios-fetch": "3.0.1", "@reduxjs/toolkit": "^1.9.7", - "@walmart/allspark-utils": "^5.0.0-beta.2", + "@walmart/allspark-utils": "^5.0.0-beta.3", "@walmart/gtp-shared-components": "^2.1.3", "axios": "~1.6.0", "crypto-js": "~4.2.0", @@ -32607,10 +32607,10 @@ }, "packages/allspark-graphql-client": { "name": "@walmart/allspark-graphql-client", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "license": "ISC", "dependencies": { - "@walmart/allspark-foundation": "^5.0.0-beta.2" + "@walmart/allspark-foundation": "^5.0.0-beta.3" }, "bin": { "allspark-graphql-client-generate": "npx allspark-foundation:generate-graphql" @@ -32618,15 +32618,15 @@ }, "packages/allspark-http-client": { "name": "@walmart/allspark-http-client", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "license": "ISC", "dependencies": { - "@walmart/allspark-foundation": "^5.0.0-beta.2" + "@walmart/allspark-foundation": "^5.0.0-beta.3" } }, "packages/allspark-utils": { "name": "@walmart/allspark-utils", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "license": "ISC", "dependencies": { "crypto-js": "~4.2.0", @@ -33029,62 +33029,62 @@ }, "packages/core-services": { "name": "@walmart/core-services", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "license": "ISC", "dependencies": { - "@walmart/allspark-foundation": "^5.0.0-beta.2", - "@walmart/allspark-utils": "^5.0.0-beta.2" + "@walmart/allspark-foundation": "^5.0.0-beta.3", + "@walmart/allspark-utils": "^5.0.0-beta.3" } }, "packages/core-services-allspark": { "name": "@walmart/core-services-allspark", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "license": "ISC", "dependencies": { - "@walmart/allspark-foundation": "^5.0.0-beta.2", - "@walmart/me-at-walmart-container": "^5.0.0-beta.2" + "@walmart/allspark-foundation": "^5.0.0-beta.3", + "@walmart/me-at-walmart-container": "^5.0.0-beta.3" } }, "packages/core-utils": { "name": "@walmart/core-utils", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "license": "ISC", "dependencies": { - "@walmart/allspark-utils": "^5.0.0-beta.2" + "@walmart/allspark-utils": "^5.0.0-beta.3" } }, "packages/core-widget-registry": { "name": "@walmart/core-widget-registry", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "license": "ISC", "dependencies": { - "@walmart/allspark-foundation": "^5.0.0-beta.2", - "@walmart/allspark-utils": "5.0.0-beta.2", - "@walmart/me-at-walmart-container": "^5.0.0-beta.2" + "@walmart/allspark-foundation": "^5.0.0-beta.3", + "@walmart/allspark-utils": "5.0.0-beta.3", + "@walmart/me-at-walmart-container": "^5.0.0-beta.3" } }, "packages/functional-components": { "name": "@walmart/functional-components", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "dependencies": { - "@walmart/allspark-foundation": "^5.0.0-beta.2" + "@walmart/allspark-foundation": "^5.0.0-beta.3" } }, "packages/me-at-walmart-athena-queries": { "name": "@walmart/me-at-walmart-athena-queries", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "license": "ISC", "dependencies": { - "@walmart/me-at-walmart-container": "^5.0.0-beta.2" + "@walmart/me-at-walmart-container": "^5.0.0-beta.3" } }, "packages/me-at-walmart-container": { "name": "@walmart/me-at-walmart-container", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "license": "ISC", "dependencies": { - "@walmart/allspark-foundation": "^5.0.0-beta.2", - "@walmart/allspark-utils": "^5.0.0-beta.2", + "@walmart/allspark-foundation": "^5.0.0-beta.3", + "@walmart/allspark-utils": "^5.0.0-beta.3", "@walmart/config-components": "4.1.0-rc.4", "jwt-decode": "^3.1.2", "nanoid": "4.0.2" @@ -33099,7 +33099,7 @@ "@react-native-firebase/database": "~17.4.2", "@react-native-firebase/perf": "~17.4.2", "@types/seamless-immutable": "7.1.16", - "@walmart/allspark-authentication": "^5.0.0-beta.2", + "@walmart/allspark-authentication": "^5.0.0-beta.3", "@walmart/react-native-encrypted-storage": "~1.1.13", "@walmart/react-native-logger": "1.29.0", "react": "~18.2.0", @@ -33113,7 +33113,7 @@ "@react-native-firebase/crashlytics": "~17.4.2", "@react-native-firebase/database": "~17.4.2", "@react-native-firebase/perf": "~17.4.2", - "@walmart/allspark-authentication": "^5.0.0-beta.2", + "@walmart/allspark-authentication": "^5.0.0-beta.3", "@walmart/react-native-encrypted-storage": "~1.1.13", "@walmart/react-native-logger": "1.29.0", "react": "~18.2.0", @@ -33142,42 +33142,42 @@ }, "packages/react-native-env": { "name": "@walmart/react-native-env", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "dependencies": { - "@walmart/allspark-foundation": "^5.0.0-beta.2" + "@walmart/allspark-foundation": "^5.0.0-beta.3" } }, "packages/react-native-shared-navigation": { "name": "@walmart/react-native-shared-navigation", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "dependencies": { - "@walmart/allspark-foundation": "^5.0.0-beta.2" + "@walmart/allspark-foundation": "^5.0.0-beta.3" } }, "packages/react-native-wm-network": { - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "dependencies": { - "@walmart/allspark-foundation": "^5.0.0-beta.2" + "@walmart/allspark-foundation": "^5.0.0-beta.3" } }, "packages/react-native-wm-notification": { "name": "@walmart/react-native-wm-notification", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "dependencies": { - "@walmart/allspark-foundation": "^5.0.0-beta.2" + "@walmart/allspark-foundation": "^5.0.0-beta.3" } }, "packages/react-native-wm-telemetry": { - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "dependencies": { - "@walmart/allspark-foundation": "^5.0.0-beta.2" + "@walmart/allspark-foundation": "^5.0.0-beta.3" } }, "packages/redux-store": { "name": "@walmart/redux-store", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "dependencies": { - "@walmart/allspark-foundation": "^5.0.0-beta.2" + "@walmart/allspark-foundation": "^5.0.0-beta.3" } } }
chore: update lock file
chore: update lock file
aacd74ca92bcc1ed5099d62d8fadef47289ab66c
--- package.json @@ -141,7 +141,7 @@ "@walmart/react-native-cookies": "1.0.1", "@walmart/react-native-encrypted-storage": "~1.1.3", "@walmart/react-native-logger": "1.38.1", - "@walmart/react-native-scanner-3.0": "0.15.4", + "@walmart/react-native-scanner-3.0": "0.15.5", "@walmart/react-native-shared-navigation": "~6.3.28", "@walmart/react-native-store-map": "0.3.7", "@walmart/react-native-sumo-sdk": "2.8.0", --- yarn.lock @@ -8734,7 +8734,7 @@ __metadata: "@walmart/react-native-cookies": "npm:1.0.1" "@walmart/react-native-encrypted-storage": "npm:~1.1.3" "@walmart/react-native-logger": "npm:1.38.1" - "@walmart/react-native-scanner-3.0": "npm:0.15.4" + "@walmart/react-native-scanner-3.0": "npm:0.15.5" "@walmart/react-native-shared-navigation": "npm:~6.3.28" "@walmart/react-native-store-map": "npm:0.3.7" "@walmart/react-native-sumo-sdk": "npm:2.8.0" @@ -9241,12 +9241,12 @@ __metadata: languageName: node linkType: hard -"@walmart/react-native-scanner-3.0@npm:0.15.4": - version: 0.15.4 - resolution: "@walmart/react-native-scanner-3.0@npm:0.15.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Freact-native-scanner-3.0%2F-%2F%40walmart%2Freact-native-scanner-3.0-0.15.4.tgz" +"@walmart/react-native-scanner-3.0@npm:0.15.5": + version: 0.15.5 + resolution: "@walmart/react-native-scanner-3.0@npm:0.15.5::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Freact-native-scanner-3.0%2F-%2F%40walmart%2Freact-native-scanner-3.0-0.15.5.tgz" peerDependencies: react-native: ">=0.47.1" - checksum: 10c0/54bff30dc1b7c084d0bae2b4588a06ec7dbd8cfa510414ddbfecf34e0df52d6190091a64934d655ce8e54279e00a567da87bf4bbd129e4cda7658845836e483e + checksum: 10c0/f6821873359f44c7c830d81ba6768b5019ac7a256c100cae21f106406ed76534f3d512171bc0fd4e3e186caaba8d9efb80b9ba8680e34378ee16d639e4b67c74 languageName: node linkType: hard
fix(VS-9954): adding backroom context switching fix VS-9954 (#4793)
fix(VS-9954): adding backroom context switching fix VS-9954 (#4793) Co-authored-by: t0s0qvk <t0s0qvk@walmart.com> Co-authored-by: Hitesh Arora - h0a006n <Hitesh.Arora@walmart.com>
5d70d26112473059f8e495312c57e37a837377d6
--- packages/allspark-foundation-hub/__tests__/HubFeature/HubContainer.test.tsx @@ -373,9 +373,9 @@ describe('findTeamById', () => { { teamId: '1', teamLabel: 'Admin & Support' }, { teamId: '2', teamLabel: 'Support' }, ] as TeamSwitcherTypes[]; - const teamLabel = 'Support'; + const teamId = '2'; - const result = findTeamById(teamList, teamLabel); + const result = findTeamById(teamList, teamId); expect(result).toEqual({ teamId: '2', teamLabel: 'Support' }); });
Update the team selection for removing the Cancel button
Update the team selection for removing the Cancel button
ad910e4c751f1a8604cd9aa150af6de80d9de020
--- graphql.yml @@ -82,7 +82,7 @@ applications: tags: - 'v1' - name: 'getForYouHeaderAssociateDetails' - hash: '02d4e03cdb0dfc6ef20c12cab454acc79a65cf533ed11370dc2cf060fde5c9c6' + hash: '52a5cdfe9b5ada9bb5680871d8994f241b839dcab30386c26aabba3676f45a36' queryTemplate: 'packages/me-at-walmart-athena-queries/src/getForYouHeaderAssociateDetails.graphql' tags: - 'v1' @@ -159,7 +159,7 @@ applications: tags: - 'v1' - name: 'getForYouHeaderAssociateDetails' - hash: '02d4e03cdb0dfc6ef20c12cab454acc79a65cf533ed11370dc2cf060fde5c9c6' + hash: '52a5cdfe9b5ada9bb5680871d8994f241b839dcab30386c26aabba3676f45a36' queryTemplate: 'packages/me-at-walmart-athena-queries/src/getForYouHeaderAssociateDetails.graphql' tags: - 'v1'
feat(graphql): fix hash
feat(graphql): fix hash
77f34861b9e746e0eb668d86ae2c2da97e992d7f
--- ios/Podfile.lock @@ -2395,4 +2395,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: c9f41cd0eea4c05c04347f7cd24fb8f8aa2bcd40 -COCOAPODS: 1.12.0 +COCOAPODS: 1.12.0 \ No newline at end of file
feat: removed extra line
feat: removed extra line
1506905dfaf705f31d084ba8e5d4d2e0a69cc9e7
--- package-lock.json @@ -52,9 +52,9 @@ "@walmart/gta-react-native-calendars": "0.0.16", "@walmart/gtp-shared-components": "2.0.4", "@walmart/impersonation-mini-app": "1.11.0", - "@walmart/ims-print-services-ui": "2.1.0", + "@walmart/ims-print-services-ui": "2.1.1", "@walmart/inbox-mini-app": "0.81.13", - "@walmart/iteminfo-mini-app": "7.1.2", + "@walmart/iteminfo-mini-app": "7.1.3", "@walmart/manager-approvals-miniapp": "0.2.1", "@walmart/me-field-mini-app": "1.1.45", "@walmart/metrics-mini-app": "0.9.44", @@ -5296,9 +5296,9 @@ } }, "node_modules/@walmart/ims-print-services-ui": { - "version": "2.1.0", - "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-2.1.0.tgz", - "integrity": "sha512-7befeww6DmBorpf1nIAFPAGtVMEIBAG9mjnztg67Y8kwZR7+BOgbCs9vTmI5VrOZnENM0jzWwAbH4eaF/Rrflw==", + "version": "2.1.1", + "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-2.1.1.tgz", + "integrity": "sha512-hAP1EzvgDaRVfQWaUdnGmPErdQKfTIZLEaojg+vEszSfbYXgrxPkGebs35Yx5SpNTmdPNuJ8APttyD4NaKXkDw==", "peerDependencies": { "@react-native-firebase/analytics": ">=10.5.1", "@react-native-firebase/app": ">=10.5.0", @@ -5336,9 +5336,9 @@ } }, "node_modules/@walmart/iteminfo-mini-app": { - "version": "7.1.2", - "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.1.2.tgz", - "integrity": "sha512-IHosBgCd6Kq/rsnEPiF0YlXaF4vyRw8tbCLbFQXgr1Xml0JL6TsD6ZZZy04Y83XxH5bSE/apwmNI+uPKCY/NwA==", + "version": "7.1.3", + "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.1.3.tgz", + "integrity": "sha512-ax0aspZ/d5L/R8iliVVggPpwHA2DOuoND6LL/1TmnVeslhLX6+71b4xwN1M/Et7M8cOT/K4hCFj8qFazs0GFVQ==", "peerDependencies": { "@react-native-community/async-storage": ">=1.12.1", "@react-native-community/netinfo": ">=9.3.6", @@ -5358,7 +5358,7 @@ "@walmart/counts-component-miniapp": ">=0.0.21", "@walmart/functional-components": ">=2.0.6", "@walmart/gtp-shared-components": ">=2.0.2", - "@walmart/ims-print-services-ui": ">=2.0.6", + "@walmart/ims-print-services-ui": ">=2.1.1", "@walmart/price-changes-mini-app": ">=1.4.5", "@walmart/react-native-env": ">=0.2.0", "@walmart/react-native-logger": ">=1.29.0", @@ -25135,9 +25135,9 @@ "version": "1.11.0" }, "@walmart/ims-print-services-ui": { - "version": "2.1.0", - "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-2.1.0.tgz", - "integrity": "sha512-7befeww6DmBorpf1nIAFPAGtVMEIBAG9mjnztg67Y8kwZR7+BOgbCs9vTmI5VrOZnENM0jzWwAbH4eaF/Rrflw==" + "version": "2.1.1", + "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-2.1.1.tgz", + "integrity": "sha512-hAP1EzvgDaRVfQWaUdnGmPErdQKfTIZLEaojg+vEszSfbYXgrxPkGebs35Yx5SpNTmdPNuJ8APttyD4NaKXkDw==" }, "@walmart/inbox-mini-app": { "version": "0.81.13", @@ -25147,9 +25147,9 @@ } }, "@walmart/iteminfo-mini-app": { - "version": "7.1.2", - "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.1.2.tgz", - "integrity": "sha512-IHosBgCd6Kq/rsnEPiF0YlXaF4vyRw8tbCLbFQXgr1Xml0JL6TsD6ZZZy04Y83XxH5bSE/apwmNI+uPKCY/NwA==" + "version": "7.1.3", + "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.1.3.tgz", + "integrity": "sha512-ax0aspZ/d5L/R8iliVVggPpwHA2DOuoND6LL/1TmnVeslhLX6+71b4xwN1M/Et7M8cOT/K4hCFj8qFazs0GFVQ==" }, "@walmart/manager-approvals-miniapp": { "version": "0.2.1" --- package.json @@ -94,9 +94,9 @@ "@walmart/gta-react-native-calendars": "0.0.16", "@walmart/gtp-shared-components": "2.0.4", "@walmart/impersonation-mini-app": "1.11.0", - "@walmart/ims-print-services-ui": "2.1.0", + "@walmart/ims-print-services-ui": "2.1.1", "@walmart/inbox-mini-app": "0.81.13", - "@walmart/iteminfo-mini-app": "7.1.2", + "@walmart/iteminfo-mini-app": "7.1.3", "@walmart/manager-approvals-miniapp": "0.2.1", "@walmart/me-field-mini-app": "1.1.45", "@walmart/metrics-mini-app": "0.9.44",
updated iteminfo version with emergency banner, sii-1954, sii-2235
updated iteminfo version with emergency banner, sii-1954, sii-2235
d288dd29de95b354fb8fd007b66f5a4da02d1e76
--- package-lock.json @@ -20465,9 +20465,9 @@ "integrity": "sha512-+4vPVbvtT+kRUtKIIJIjmL/bqefoUTAZ7CoiYhiwf+9zumrM+CxfVLmSGDwNtxjrOOfHQTXZhXf5TZO3nNVQZQ==" }, "react-native-webview": { - "version": "10.7.0", - "resolved": "https://npme.walmart.com/react-native-webview/-/react-native-webview-10.7.0.tgz", - "integrity": "sha512-4TSYwJqMBUTKB9+xqGbPwx+eLXbp6RRD7lQ2BumT8eSTfuuqr2rXNqcrlKU1VRla7QGGYowmYmxl2aXIx5k9wA==", + "version": "10.10.0", + "resolved": "https://npme.walmart.com/react-native-webview/-/react-native-webview-10.10.0.tgz", + "integrity": "sha512-T0AnZ0LVhaFBqZpl5attDDYo83zqdFRsFVINbrgHaIm6w5r0d/QK/dJRgXRNyFhn1fSONhe0ejdcnCYCT73B6g==", "requires": { "escape-string-regexp": "2.0.0", "invariant": "2.2.4" --- package.json @@ -190,7 +190,7 @@ "react-native-video": "^5.1.0-alpha8", "react-native-view-shot": "^3.1.2", "react-native-vision-camera": "1.0.10", - "react-native-webview": "^10.7.0", + "react-native-webview": "10.10.0", "react-native-wm-app-review": "0.3.0", "react-native-wm-barcode": "2.36.6", "react-native-wm-config": "^0.1.1",
Update react-native-webview to 10.10.0
Update react-native-webview to 10.10.0
9231f68dda0192347507b9379ac5d229949b6d91
--- package-lock.json @@ -18444,9 +18444,9 @@ } }, "react-native-wm-barcode": { - "version": "2.36.0", - "resolved": "https://npme.walmart.com/react-native-wm-barcode/-/react-native-wm-barcode-2.36.0.tgz", - "integrity": "sha512-wp3RIALmB1QuG+DHOuMsdBQo6hpNrbRoDvGiwlveqtVJ5Wckq89p45CijqtKeruhh5iC7qWiHpbNSr8/3N81Hw==" + "version": "2.36.1", + "resolved": "https://npme.walmart.com/react-native-wm-barcode/-/react-native-wm-barcode-2.36.1.tgz", + "integrity": "sha512-Wj6S7piM7E/S6kBxTswI5F1pmlcS0NsTSWbO8ZD4SzDrh/mPUpmGxntbCEcikrY5FwCgzkQ9xKcrAh+ovGuLhg==" }, "react-native-wm-config": { "version": "0.1.1", --- package.json @@ -166,7 +166,7 @@ "react-native-view-shot": "^3.1.2", "react-native-vision-camera": "1.0.10", "react-native-webview": "^10.7.0", - "react-native-wm-barcode": "2.36.0", + "react-native-wm-barcode": "2.36.1", "react-native-wm-config": "^0.1.1", "react-native-wm-network": "^0.2.0", "react-native-wm-notification": "^2.0.1",
barcode version bump
barcode version bump
746982993df1208b7e9e817d8a1d4e1d8d477cd1
--- package-lock.json @@ -4253,9 +4253,9 @@ "integrity": "sha512-DMXzHrlFBvd5qOHxju7irJ+4UkclgpwJVlEKzPqmL4oQPYXkjCydvbJR0O5FmZtDDyBrKxKtofD2vD4nyBeHPA==" }, "@walmart/inbox-mini-app": { - "version": "0.21.0", - "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.21.0.tgz", - "integrity": "sha512-YJoeT8wgDgmv1/8+Ex6dKzGKqRhVe3orE2plWw+fZ+wxKFXDlOCI0hhHRKizCLqYb3+ZieaHR+GGtGF7tcQPIg==" + "version": "0.22.0", + "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.22.0.tgz", + "integrity": "sha512-aUCXfilFVB8Wds6MYq4r4bylYHU4tQZVyW01JNp9Jn/1yoF2oeobLala+/hl8OOqanyjO8E4V4jn6lTj11m88w==" }, "@walmart/iteminfo-mini-app": { "version": "2.0.16", @@ -4373,9 +4373,9 @@ }, "dependencies": { "ramda": { - "version": "0.27.2", - "resolved": "https://npme.walmart.com/ramda/-/ramda-0.27.2.tgz", - "integrity": "sha512-SbiLPU40JuJniHexQSAgad32hfwd+DRUdwF2PlVuI5RZD0/vahUco7R8vD86J/tcEKKF9vZrUVwgtmGCqlCKyA==" + "version": "0.27.1", + "resolved": "https://npme.walmart.com/ramda/-/ramda-0.27.1.tgz", + "integrity": "sha512-PgIdVpn5y5Yns8vqb8FzBUEYn98V3xcPgawAkkgj0YJ0qDsnHCiNmZYfOGMgOvoB0eWFLpYbhxUR3mxfDIMvpw==" }, "reduxsauce": { "version": "1.2.1", --- package.json @@ -83,7 +83,7 @@ "@walmart/gtp-shared-components": "1.2.0", "@walmart/impersonation-mini-app": "1.0.24", "@walmart/ims-print-services-ui": "0.0.36", - "@walmart/inbox-mini-app": "0.21.0", + "@walmart/inbox-mini-app": "0.22.0", "@walmart/iteminfo-mini-app": "2.0.16", "@walmart/manager-approvals-miniapp": "0.0.58", "@walmart/metrics-mini-app": "0.4.14",
inbox bump
inbox bump
ead82d6bfa3a2e51fcd10173a08f46b6c84e9d42
--- packages/associate-exp-hub-hub/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.2.0](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-hub@2.1.0...@walmart/associate-exp-hub-hub@2.2.0) (2025-10-30) + +### Features + +- **ui:** update team id for total store and hub config ([634561a](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/commit/634561af7316aa9b45c87d1437b627112156b4ed)) + # 2.1.0 (2025-10-29) ### Features --- packages/associate-exp-hub-hub/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/associate-exp-hub-hub", - "version": "2.1.0", + "version": "2.2.0", "description": "Hub Framework module for Associate Experience Hub - can be moved to @walmart/my-walmart-hub", "packageManager": "yarn@4.6.0", "engines": { --- packages/associate-exp-hub-mini-app/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.4.0-alpha.25](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.4.0-alpha.24...@walmart/associate-exp-hub-mini-app@1.4.0-alpha.25) (2025-10-30) + +### Features + +- **ui:** update team id for total store and hub config ([634561a](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/634561af7316aa9b45c87d1437b627112156b4ed)) + # [1.4.0-alpha.24](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.4.0-alpha.23...@walmart/associate-exp-hub-mini-app@1.4.0-alpha.24) (2025-10-29) ### Features --- packages/associate-exp-hub-mini-app/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/associate-exp-hub-mini-app", - "version": "1.4.0-alpha.24", + "version": "1.4.0-alpha.25", "packageManager": "yarn@4.6.0", "engines": { "node": ">=18" --- packages/associate-exp-hub-team-switcher/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.2.0](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.1.0...@walmart/associate-exp-hub-team-switcher@2.2.0) (2025-10-30) + +### Features + +- **ui:** update team id for total store and hub config ([634561a](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/commit/634561af7316aa9b45c87d1437b627112156b4ed)) + # 2.1.0 (2025-10-29) ### Features --- packages/associate-exp-hub-team-switcher/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/associate-exp-hub-team-switcher", - "version": "2.1.0", + "version": "2.2.0", "description": "Team Switcher module for Associate Experience Hub", "packageManager": "yarn@4.6.0", "engines": {
chore(version): updating package version
chore(version): updating package version - @walmart/associate-exp-hub-hub@2.2.0 - @walmart/associate-exp-hub-mini-app@1.4.0-alpha.25 - @walmart/associate-exp-hub-team-switcher@2.2.0
f7d134a2cfbc57778031bec8241a606d3e6dec8a
--- android/app/build.gradle @@ -158,6 +158,7 @@ android { applicationId "com.walmart.stores.allspark.beta" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion + multiDexEnabled true versionCode 908 versionName "1.11.0" buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
Added multidex enabled true
Added multidex enabled true
77d1b7d0b197f57af8f3106b5126657bd0c25830
--- packages/allspark-foundation-hub/__tests__/supplyChain/Screens/__snapshots__/OnboardingScreen.test.tsx.snap @@ -20,7 +20,7 @@ exports[`OnboardingScreen renders OnboardingScreen screen component 1`] = ` "flexDirection": "row", "justifyContent": "space-between", "paddingBottom": 10, - "paddingLeft": 10, + "paddingLeft": 16, "paddingTop": 16, "width": "100%", } --- packages/allspark-foundation-hub/__tests__/supplyChain/__snapshots__/PageHeader.test.tsx.snap @@ -11,7 +11,7 @@ exports[`PageHeader renders Page header component with passed in optional props "flexDirection": "row", "justifyContent": "space-between", "paddingBottom": 10, - "paddingLeft": 10, + "paddingLeft": 16, "paddingTop": 16, "width": "100%", } @@ -101,7 +101,7 @@ exports[`PageHeader renders Page header component with required title correctly "flexDirection": "row", "justifyContent": "space-between", "paddingBottom": 8, - "paddingLeft": 10, + "paddingLeft": 16, "paddingTop": 16, "width": "100%", }
Update hub version
Update hub version
14df4588e865975cec0b0f55c31e83e730df2e83
--- .looper.multibranch.yml @@ -496,7 +496,7 @@ flows: firstUpper=`echo ${first} |tr '[:lower:]' '[:upper:]'` upperEnv="${firstUpper}${rest}" echo "about to run build ${env} / ${upperEnv}" - ./gradlew assemble${upperEnv}Release --info --stacktrace + ./gradlew assemble${upperEnv}Release --stacktrace # uploads build artifact to maven and MS App Center #
removing --info from assembleRelease
removing --info from assembleRelease
5c5b41e5d85216195efb868b1ba147d769e121f7
--- package-lock.json @@ -48,7 +48,6 @@ "@typescript-eslint/eslint-plugin": "^5.37.0", "@typescript-eslint/parser": "^5.37.0", "@walmart/allspark-graphql-client": "^1.4.1", - "@walmart/allspark-utils": "^1.5.2", "@walmart/config-components": "4.0.2", "@walmart/core-services": "~2.0.15", "@walmart/core-services-allspark": "~2.10.2", --- package.json @@ -83,7 +83,6 @@ "@walmart/react-native-shared-navigation": "1.0.2", "@walmart/react-native-sumo-sdk": "2.5.1", "@walmart/ui-components": "^1.6.0", - "@walmart/allspark-utils": "^1.5.2", "babel-jest": "^26.6.3", "eslint": "^7.32.0", "expo": "^48.0.15", --- package-lock.json @@ -48,7 +48,6 @@ "@typescript-eslint/eslint-plugin": "^5.37.0", "@typescript-eslint/parser": "^5.37.0", "@walmart/allspark-graphql-client": "^1.4.1", - "@walmart/allspark-utils": "^1.5.2", "@walmart/config-components": "4.0.2", "@walmart/core-services": "~2.0.15", "@walmart/core-services-allspark": "~2.10.2", --- package.json @@ -83,7 +83,6 @@ "@walmart/react-native-shared-navigation": "1.0.2", "@walmart/react-native-sumo-sdk": "2.5.1", "@walmart/ui-components": "^1.6.0", - "@walmart/allspark-utils": "^1.5.2", "babel-jest": "^26.6.3", "eslint": "^7.32.0", "expo": "^48.0.15",
removing extra package
removing extra package
9a7b460835e126c535b0a6f70b5bf614f2dbfe38
--- package.json @@ -91,7 +91,7 @@ "@walmart/calling-mini-app": "0.7.52", "@walmart/checkout-mini-app": "patch:@walmart/checkout-mini-app@npm%3A4.8.12#~/.yarn/patches/@walmart-checkout-mini-app-npm-4.8.12-47beb69cd1.patch", "@walmart/compass-sdk-rn": "6.2.17", - "@walmart/config-components": "4.8.1", + "@walmart/config-components": "4.8.2", "@walmart/core-services": "~6.5.2", "@walmart/core-services-allspark": "workspace:^", "@walmart/core-utils": "6.3.9", --- yarn.lock @@ -7846,9 +7846,9 @@ __metadata: languageName: node linkType: hard -"@walmart/config-components@npm:4.8.1": - version: 4.8.1 - resolution: "@walmart/config-components@npm:4.8.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fconfig-components%2F-%2F%40walmart%2Fconfig-components-4.8.1.tgz" +"@walmart/config-components@npm:4.8.2": + version: 4.8.2 + resolution: "@walmart/config-components@npm:4.8.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fconfig-components%2F-%2F%40walmart%2Fconfig-components-4.8.2.tgz" peerDependencies: "@react-native-firebase/app": ">=15.1.1" "@react-native-firebase/database": ">=15.1.1" @@ -7861,7 +7861,7 @@ __metadata: redux: ">=4.2.0" reduxsauce: ">=1" reselect: ">=4" - checksum: 10c0/a881038679a52c485f66908a15decc1983706eec47abecd8b3971892d6f1df0da17757a9888a08c8911f5580fd374d5f0e011c3c8428287a3944f12007a429d3 + checksum: 10c0/6c626c73dd84a412aeb73618a405d966ba2b60bbdbfd5f06dedef21a24eead210ad4e91a573384e21b80d5aab6c22bab553e186ede4ebaaa72b3d08d57484e30 languageName: node linkType: hard @@ -8565,7 +8565,7 @@ __metadata: "@walmart/calling-mini-app": "npm:0.7.52" "@walmart/checkout-mini-app": "patch:@walmart/checkout-mini-app@npm%3A4.8.12#~/.yarn/patches/@walmart-checkout-mini-app-npm-4.8.12-47beb69cd1.patch" "@walmart/compass-sdk-rn": "npm:6.2.17" - "@walmart/config-components": "npm:4.8.1" + "@walmart/config-components": "npm:4.8.2" "@walmart/core-services": "npm:~6.5.2" "@walmart/core-services-allspark": "workspace:^" "@walmart/core-utils": "npm:6.3.9"
fix(deviceconfig): sync with drop/30 Cope Device Identification Logic Change
fix(deviceconfig): sync with drop/30 Cope Device Identification Logic Change
a8f00c3fa0a57e579887e606b31df6dfc56bfda7
--- src/screens/MessagesScreen.tsx @@ -118,12 +118,8 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => { }; // join group messages if not listed - if (channelData.group) { - if (!channelData.participants?.includes(viewerId)) { - channelUpdates.participants = firestore.FieldValue.arrayUnion( - viewerId, - ); - } + if (channelData.group && !channelData.participants?.includes(viewerId)) { + channelUpdates.participants = firestore.FieldValue.arrayUnion(viewerId); } try { @@ -139,7 +135,9 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => { await channelDocument.set( { group: details.group, - participants: details.participants, + participants: firestore.FieldValue.arrayUnion( + ...details.participants, + ), channelName: details.group ? details.channelName : '', createdAt: firestore.FieldValue.serverTimestamp(), lastMessageTime: firestore.FieldValue.serverTimestamp(), --- src/screens/MessagesScreen.tsx @@ -118,12 +118,8 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => { }; // join group messages if not listed - if (channelData.group) { - if (!channelData.participants?.includes(viewerId)) { - channelUpdates.participants = firestore.FieldValue.arrayUnion( - viewerId, - ); - } + if (channelData.group && !channelData.participants?.includes(viewerId)) { + channelUpdates.participants = firestore.FieldValue.arrayUnion(viewerId); } try { @@ -139,7 +135,9 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => { await channelDocument.set( { group: details.group, - participants: details.participants, + participants: firestore.FieldValue.arrayUnion( + ...details.participants, + ), channelName: details.group ? details.channelName : '', createdAt: firestore.FieldValue.serverTimestamp(), lastMessageTime: firestore.FieldValue.serverTimestamp(),
fix: avoid participant list rewrite on channel connect
fix: avoid participant list rewrite on channel connect
45ee366c334eaf82b7d4f371122ad828931aa327
--- src/auth/ErrorScreen.tsx @@ -28,9 +28,10 @@ import {encryptUserId} from '../services/MaskUserId'; import styles from './styles'; import {initialConfig} from './constants'; import WmConfig from 'react-native-wm-config'; -import {isEmpty} from 'lodash'; +import {flatten, isEmpty} from 'lodash'; interface Lang { + code: ''; 'en-US': string; 'es-MX': string; } @@ -54,7 +55,7 @@ export const ErrorScreen: FC<any> = (props) => { ); const [otherErrorFb, setOtherErrorFb] = useState(initialConfig.otherIssues); const [selectedOther, setSelectedOther] = useState({}); - const [formatedMsgOther, setFormatedOther] = useState({}); + const [formatedMsgOther, setFormatedOther] = useState([[]]); const userIdValid = !formDirty || !!userId; const siteIdValid = !formDirty || !!siteId; @@ -97,7 +98,7 @@ export const ErrorScreen: FC<any> = (props) => { errorCategory: errorCategory[lang], }; if (errorCategory[lang] === translate('ssoError.other')) { - logMsg.options = formatedMsgOther; + logMsg.options = flatten(Object.values(formatedMsgOther)); } navigation.goBack(); WmTelemetry.logEvent(SSO_APP, 'feedback_submitted', {}); @@ -120,7 +121,10 @@ export const ErrorScreen: FC<any> = (props) => { title: string, selectedList: Array<string>, ) => { - const selectedOption = selectedList.map((opnId) => optionList[opnId].label); + const selectedOption = selectedList.map((opnId) => ({ + value: optionList[opnId].label, + code: optionList[opnId].code, + })); setFormatedOther({...formatedMsgOther, [title]: selectedOption}); }; @@ -128,6 +132,7 @@ export const ErrorScreen: FC<any> = (props) => { return list.map((opn, index) => ({ id: index, label: opn[lang], + code: opn.code, })); }; @@ -216,7 +221,7 @@ export const ErrorScreen: FC<any> = (props) => { }} /> </View> - {missingFields && formDirty && missingOther && ( + {(missingFields || missingOther) && formDirty && ( <View style={styles.requiredErrorContainer}> <Subheader testID='error-msg' style={styles.requiredError}> {translate('ssoError.requiredError')}
update log format for option
update log format for option
5efac6556b64a264cbe8ab7d98a268bed4b7035d
--- __tests__/__mocks__/@walmart/allspark-foundation/User.js @@ -15,6 +15,9 @@ module.exports = { getOriginalUserPreferredFullName: jest.fn(), getOriginalUserWorkingSite: jest.fn(), getPreferredFullName: jest.fn(), + getIsUserPeopleLead: jest.fn(), + getIsUserTeamLead: jest.fn(), + getIsUserSalaried: jest.fn(), }, UserActionCreators: { FETCH_SUCCESS: jest.fn().mockImplementation(() => jest.fn()), --- __tests__/setup.ts @@ -56,3 +56,9 @@ jest.mock('expo-modules-core', () => { }); jest.mock('expo-image', () => jest.requireActual('expo-image')); + +jest.mock('@walmart/allspark-foundation-hub/HubFeature', () => ({ + AllsparkHubContainer: { + ...jest.doMock('@walmart/allspark-foundation-hub/HubFeature'), + }, +})); --- src/index.tsx @@ -66,5 +66,5 @@ export const TextingMiniApp = () => { const isSalaried: boolean = useSelector(UserSelectors.getIsUserSalaried); const showManagerTeamHub = isTeamLead || isSalaried || isPeopleLead; - return showManagerTeamHub ? TeamHub : MyTeamMiniApp; + return showManagerTeamHub ? <TeamHub /> : <MyTeamMiniApp />; };
feat(ui): fixed tests
feat(ui): fixed tests
0f93425aff3e6e7b5d13695694bedf64599826cf
--- package.json @@ -1,6 +1,6 @@ { "name": "@walmart/wmconnect-mini-app", - "version": "3.7.0-alpha.0", + "version": "3.7.0-alpha.21", "main": "dist/index.js", "files": [ "dist",
chore(wmconnect): bump version to 3.7.0-alpha.21
chore(wmconnect): bump version to 3.7.0-alpha.21
c283842025cace26ac6a1aec0e4c65f52f8b43b7
--- packages/allspark-foundation/src/FeatureRunner/modals/TranslationModal.tsx @@ -51,6 +51,7 @@ export const TranslationModal = () => { label={LanguageTitles[language] || language} checked={i18n.language === language} onPress={() => onChangeLanguage(language)} + // eslint-disable-next-line react-native/no-inline-styles UNSAFE_style={{ marginBottom: 16 }} /> ))}
resolving commit
resolving commit
2c03829e06f93a674d0db10c484d2a80d4db19d2
--- .looper.yml @@ -14,7 +14,7 @@ triggers: - manual: name: Publish Changed call: publishFromChanges - - manual: + - manual: name: Publish From Package call: publishFromPackage # - manual:
chore: looper fix
chore: looper fix
a1308b1cdb1c0141f8c458061e60c94791e220cd
--- packages/allspark-foundation-hub/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.2.11](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.2.10...@walmart/allspark-foundation-hub@1.2.11) (2025-01-31) + +**Note:** Version bump only for package @walmart/allspark-foundation-hub + ## [1.2.10](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.2.9...@walmart/allspark-foundation-hub@1.2.10) (2025-01-31) ### Bug Fixes --- packages/allspark-foundation-hub/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/allspark-foundation-hub", - "version": "1.2.10", + "version": "1.2.11", "description": "", "main": "lib/index.js", "types": "lib/index.d.ts", --- packages/me-at-walmart-athena-queries/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. +## [6.30.3](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@6.30.2...@walmart/me-at-walmart-athena-queries@6.30.3) (2025-01-31) + +**Note:** Version bump only for package @walmart/me-at-walmart-athena-queries + ## [6.30.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@6.30.1...@walmart/me-at-walmart-athena-queries@6.30.2) (2025-01-31) **Note:** Version bump only for package @walmart/me-at-walmart-athena-queries --- packages/me-at-walmart-athena-queries/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/me-at-walmart-athena-queries", - "version": "6.30.2", + "version": "6.30.3", "description": "> TODO: description", "author": "rlane1 <russell.lane@walmart.com>", "homepage": "",
chore(version): updating package version
chore(version): updating package version - @walmart/allspark-foundation-hub@1.2.11 - @walmart/me-at-walmart-athena-queries@6.30.3
6eb328a781d37dc747eb0985370ccf9a9886ac65
--- scripts/BuildSupport/AppStore.keychain-db Binary files a/scripts/BuildSupport/AppStore.keychain-db and /dev/null differ --- scripts/BuildSupport/build-archive.sh @@ -1,61 +0,0 @@ -#!/bin/bash - -BUILD_DIR="build/${ARCHIVE_TYPE}" -WORK_DIR="${BUILD_DIR}/Temporary" -ARTIFACTS_DIR="${BUILD_DIR}/Artifacts" -XCODE_ARCHIVE_DIR="${WORK_DIR}/${XC_SCHEME}.xcarchive" -XCODE_EXPORT_DIR="${WORK_DIR}/${XC_SCHEME}.xcexport" -LOG_FILE="${ARTIFACTS_DIR}/${ARCHIVE_TYPE}.log" -IPA_FILE="${ARTIFACTS_DIR}/${ARCHIVE_TYPE}-${XC_SCHEME}.ipa" - -rm -rf ${BUILD_DIR} -mkdir -p ${ARTIFACTS_DIR} - -echo "BUILD_DIR ==== $BUILD_DIR" -echo "IPA_FILE_NAME === $IPA_FILE" - - -#SETTING PROXY -export https_proxy=http://sysproxy.wal-mart.com:8080 -export http_proxy=http://sysproxy.wal-mart.com:8080 - -echo "Build Archive" -xcodebuild -workspace ${XC_WORKSPACE} \ - -scheme ${XC_SCHEME} \ - -sdk iphoneos \ - -configuration ${XCODE_CONFIG} \ - archive \ - -archivePath ${XCODE_ARCHIVE_DIR} - -rc=$? -if [ ${rc} -ne 0 ] -then - exit ${rc} -fi - -echo "" -echo " ====== Export Archive (code signing) ======= " - -echo "Entitlements === ${ENTITLEMENTS}" -echo "XCODE_ARCHIVE_DIR === ${XCODE_ARCHIVE_DIR}" -echo "XCODE_EXPORT_DIR === ${XCODE_EXPORT_DIR}" - - -xcodebuild -exportArchive \ - -archivePath ${XCODE_ARCHIVE_DIR} \ - -exportOptionsPlist ${ENTITLEMENTS} \ - -exportPath ${XCODE_EXPORT_DIR} - -rc=$? -if [ ${rc} -ne 0 ] -then - exit ${rc} -fi - -echo "PRODUCT_NAME === ${PRODUCT_NAME}" -echo "IPA_FILE === ${IPA_FILE}" - -mv "${XCODE_EXPORT_DIR}/${PRODUCT_NAME}.ipa" "${IPA_FILE}" - -echo " ====== Uploading .dsym manually to Firebase ======= " -find ${XCODE_ARCHIVE_DIR} -name "*.dSYM" | xargs -I \{\} ./Pods/FirebaseCrashlytics/upload-symbols -gsp ./GoogleService-Info.plist -p ios \{\} --- scripts/BuildSupport/enterprise.cer Binary files a/scripts/BuildSupport/enterprise.cer and /dev/null differ
feat(ui): update scripts
feat(ui): update scripts
c8970af8d560b8f48dc61c75f95c4b8ed561c3b3
--- src/navigation/AssociateHallwayNav/SideMenuContent.tsx @@ -101,16 +101,26 @@ export const SideMenuContent: React.FC<DrawerContentComponentProps> = ( const handleSignOut = () => { setShowDialog(false); + connectedSSO.signOut(activityName, false); WmTelemetry.logEvent('global_navigation', 'sign_out_confirmed', { composite_app: appJson.displayName, }); onDrawerClose(); - connectedSSO.signOut(activityName, false); }; - const handlePressTimeClock = () => navigation.navigate('timeClockTabs'); + const handlePressTimeClock = () => { + WmTelemetry.logEvent('global_nav', 'time_clock_clicked', { + clock_status: `${clockedIn}`, + }); + navigation.navigate('timeClockTabs'); + }; - const onDevelopersOptionClick = () => navigation.navigate('Impersonation'); + const onDevelopersOptionClick = () => { + WmTelemetry.logEvent('global_nav', 'developers_clicked', { + composite_app: appJson.displayName, + }); + navigation.navigate('Impersonation'); + }; const onRetry = () => dispatch(NavConfigActionCreators.fetchNavConfig());
telemetry added
telemetry added
8dc3b83bc7103686c6eab5cf60ec6c2830af15db
--- src/home/components/GreetingRowV2/useUserInfo.ts @@ -196,6 +196,26 @@ export const useUserInfo = ( } }, [isFocused, cacheState.valid, cacheState.timestamp, TTL_MS, safeRefetch, invalidateCache]); + // Midnight refetch: invalidate cache and refetch when date changes + useEffect(() => { + if (!cacheState.valid || !cacheState.timestamp) return; + + const now = new Date(); + const midnight = new Date(now); + midnight.setHours(24, 0, 0, 0); // Next midnight + + const timeUntilMidnight = midnight.getTime() - now.getTime(); + + const timer = setTimeout(() => { + invalidateCache(); + safeRefetch().catch((error: any) => { + logServiceError('Error in useUserInfo (midnight refetch)', error); + }); + }, timeUntilMidnight); + + return () => clearTimeout(timer); + }, [cacheState.valid, cacheState.timestamp, safeRefetch, invalidateCache]); + // Determine data source and format const sourceData = cacheState.valid ? cacheState.data : data; const formattedData = transformGetForYouHeaderAssociateDetailsResponse(sourceData);
feat(header): add refetch on midnight
feat(header): add refetch on midnight
f3a2afbd560344a72cb33bc209467ccfbdd46ddc
--- src/hooks/teams.ts @@ -1,11 +1,11 @@ import {useSelector} from 'react-redux'; import {SiteSelectors, UserSelectors} from '@walmart/redux-store'; import {useGetTeamByIdQuery} from '../queries/getTeamById'; +import {useGetTeamsByStoreQuery} from '../queries/getTeamsbyStore'; import {Associate} from '../types'; import {useDailyRoster} from './roster'; import {Team} from '../queries/schema.types'; import moment from 'moment-timezone'; -import getTeamsByStoreMockResponse from './tempGetTeamsByStoreResponse'; export const useGetTeamById = (teamId: string) => { const storeNbr: string | undefined = useSelector( @@ -27,11 +27,21 @@ export const useGetTeamById = (teamId: string) => { }; export const useGetTeamsByStore = () => { - return { - error: null, - loading: false, - data: getTeamsByStoreMockResponse.data, - }; + const storeNbr: string | undefined = useSelector( + SiteSelectors.getUserWorkingSite, + ); + const countryCode: string | undefined = useSelector( + SiteSelectors.getSiteCountry, + ); + + return useGetTeamsByStoreQuery({ + variables: { + storeNbr: storeNbr!, + date: moment().format('YYYY-MM-DD'), + countryCode: countryCode!, + }, + skip: !storeNbr || !countryCode, + }); }; export const useGetRosterByTeam = (teamId: string) => { @@ -73,7 +83,10 @@ export const useGetViewersPrimaryTeamName = () => { }; export const useGetViewersPrimaryWorkGroup = () => { - // const viewerTeam: Team[] = useSelector(UserSelectors.getUserTeams); - // return viewerTeam && viewerTeam.length > 0 ? viewerTeam[0].workgroup.toLowerCase() : ''; - return 'food & consumables'; + const viewerTeam: Team[] = useSelector(UserSelectors.getUserTeams); + if (viewerTeam && viewerTeam.length > 0) { + return viewerTeam[0].workgroup?.toLowerCase() || ''; + } else { + return ''; + } }; --- src/hooks/teams.ts @@ -1,11 +1,11 @@ import {useSelector} from 'react-redux'; import {SiteSelectors, UserSelectors} from '@walmart/redux-store'; import {useGetTeamByIdQuery} from '../queries/getTeamById'; +import {useGetTeamsByStoreQuery} from '../queries/getTeamsbyStore'; import {Associate} from '../types'; import {useDailyRoster} from './roster'; import {Team} from '../queries/schema.types'; import moment from 'moment-timezone'; -import getTeamsByStoreMockResponse from './tempGetTeamsByStoreResponse'; export const useGetTeamById = (teamId: string) => { const storeNbr: string | undefined = useSelector( @@ -27,11 +27,21 @@ export const useGetTeamById = (teamId: string) => { }; export const useGetTeamsByStore = () => { - return { - error: null, - loading: false, - data: getTeamsByStoreMockResponse.data, - }; + const storeNbr: string | undefined = useSelector( + SiteSelectors.getUserWorkingSite, + ); + const countryCode: string | undefined = useSelector( + SiteSelectors.getSiteCountry, + ); + + return useGetTeamsByStoreQuery({ + variables: { + storeNbr: storeNbr!, + date: moment().format('YYYY-MM-DD'), + countryCode: countryCode!, + }, + skip: !storeNbr || !countryCode, + }); }; export const useGetRosterByTeam = (teamId: string) => { @@ -73,7 +83,10 @@ export const useGetViewersPrimaryTeamName = () => { }; export const useGetViewersPrimaryWorkGroup = () => { - // const viewerTeam: Team[] = useSelector(UserSelectors.getUserTeams); - // return viewerTeam && viewerTeam.length > 0 ? viewerTeam[0].workgroup.toLowerCase() : ''; - return 'food & consumables'; + const viewerTeam: Team[] = useSelector(UserSelectors.getUserTeams); + if (viewerTeam && viewerTeam.length > 0) { + return viewerTeam[0].workgroup?.toLowerCase() || ''; + } else { + return ''; + } };
updating hook to use athena
updating hook to use athena
caf2ebed6e6540b0703f2749f83dfffdb56b3417
--- docs/CHANGELOG.md @@ -1,3 +1,10 @@ +## [3.1.1](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v3.1.0...v3.1.1) (2025-07-01) + + +### Bug Fixes + +* **ui:** update wmconnect version for roster ([0ec24c1](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/0ec24c19e1876d9d079b8b4097873b938548c351)) + # [3.1.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v3.0.0...v3.1.0) (2025-06-30) --- package.json @@ -1,6 +1,6 @@ { "name": "@walmart/roster-mini-app", - "version": "3.1.0", + "version": "3.1.1", "main": "dist/index.js", "files": [ "dist",
chore(release): 3.1.1 [skip ci]
chore(release): 3.1.1 [skip ci] ## [3.1.1](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v3.1.0...v3.1.1) (2025-07-01) ### Bug Fixes * **ui:** update wmconnect version for roster ([0ec24c1](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/0ec24c19e1876d9d079b8b4097873b938548c351))
245ed26a21f176a7c58093dd03ac68cf23869156
--- src/components/TeamList.tsx @@ -343,16 +343,22 @@ export const TeamChatCard = (props: { if (isNil(teams) || teams.length === 0) { return null; } - const renderTeamItems = teams.map((teamItemInfo) => { - return <TeamItem teamId={teamItemInfo.teamId!} canMessage={false} />; + const renderTeamItems = teams.map((teamItemInfo, teamItemNdx) => { + const isLastItem = teamItemNdx === teams.length - 1; + return ( + <TeamItem + teamId={teamItemInfo.teamId!} + style={isLastItem && {borderBottomWidth: 0}} + canMessage={false} + /> + ); }); const workgroupName = teams[0].workgroup; - return ( <CardContent UNSAFE_style={styles.workgroupCardContainer}> <> { - <ListItem> + <ListItem UNSAFE_style={{paddingVertical: 0, marginVertical: 0}}> {workgroupKey === primaryWorkGroup && ( <Text style={styles.workgroupMyTeamOrAreaHeader}> My area --- src/components/TeamList.tsx @@ -343,16 +343,22 @@ export const TeamChatCard = (props: { if (isNil(teams) || teams.length === 0) { return null; } - const renderTeamItems = teams.map((teamItemInfo) => { - return <TeamItem teamId={teamItemInfo.teamId!} canMessage={false} />; + const renderTeamItems = teams.map((teamItemInfo, teamItemNdx) => { + const isLastItem = teamItemNdx === teams.length - 1; + return ( + <TeamItem + teamId={teamItemInfo.teamId!} + style={isLastItem && {borderBottomWidth: 0}} + canMessage={false} + /> + ); }); const workgroupName = teams[0].workgroup; - return ( <CardContent UNSAFE_style={styles.workgroupCardContainer}> <> { - <ListItem> + <ListItem UNSAFE_style={{paddingVertical: 0, marginVertical: 0}}> {workgroupKey === primaryWorkGroup && ( <Text style={styles.workgroupMyTeamOrAreaHeader}> My area
fixing borders
fixing borders
c0d41c13a7583976ef626b4d4541eea01a96fd8f
--- package.json @@ -1,6 +1,6 @@ { "name": "@walmart/roster-mini-app", - "version": "2.13.0", + "version": "2.13.1", "main": "dist/index.js", "files": [ "dist"
fix(ui): update roster and wmconnect mini app version smdv-9999
fix(ui): update roster and wmconnect mini app version smdv-9999
89949476bd34ff74e38b8c611db14542a6d3ef27
--- packages/allspark-redux-store/package.json @@ -28,19 +28,8 @@ "prepare": "rm -rf lib && tsc", "clean": "rm -rf lib/ || true" }, - "devDependencies": { - "@types/react-redux": "^7.1.9", - "graphql": "^16.6.0", - "react-native-flipper": "^0.152.0", - "redux-flipper": "^2.0.1" - }, - "peerDependencies": { - "react": "^18.2.0", - "redux-flipper": ">2" - }, "dependencies": { "@reduxjs/toolkit": "^1.9.1", - "@walmart/allspark-http-client": "^2.1.0", "lodash": "~4.17.21", "namecase": "^1.1.2", "react": "^18.2.0", @@ -49,5 +38,14 @@ "redux-saga": "^1.2.2", "reduxsauce": "^1.2.1", "reselect": "^4.1.5" + }, + "devDependencies": { + "@types/react-redux": "^7.1.9", + "graphql": "^16.6.0", + "react-native-flipper": "^0.152.0", + "redux-flipper": "^2.0.1" + }, + "peerDependencies": { + "redux-flipper": ">2" } } --- packages/allspark-redux-store/src/experimental/config.ts @@ -1,46 +1,47 @@ -import { BaseQueryFn, createApi } from '@reduxjs/toolkit/query/react'; -import HttpClient, { - HttpClientRequestConfig, - HttpClientError, -} from '@walmart/allspark-http-client'; -import { GlobalState } from '../types'; -import { AppConfig } from '../types/data'; +export const expiermental = true; +// import { createApi } from '@reduxjs/toolkit/query/react'; +// import HttpClient, { +// HttpClientRequestConfig, +// HttpClientError, +// } from '@walmart/allspark-http-client'; +// import { GlobalState } from '../types'; +// import { AppConfig } from '../types/data'; -export const baseQuery: BaseQueryFn< - HttpClientRequestConfig, - unknown, - HttpClientError -> = async (args, api) => { - try { - const { url, method, data, params } = args; - const state = api.getState() as GlobalState; - const baseUrl = state.envConfig.redux?.baseQueryUrl || ''; +// export const baseQuery: BaseQueryFn< +// HttpClientRequestConfig, +// unknown, +// HttpClientError +// > = async (args, api) => { +// try { +// const { url, method, data, params } = args; +// const state = api.getState() as GlobalState; +// const baseUrl = state.envConfig.redux?.baseQueryUrl || ''; - return HttpClient.request({ - url: baseUrl + url, - method, - data, - params, - }); - } catch (axiosError) { - const error = axiosError as HttpClientError; - return { - error, - }; - } -}; +// return HttpClient.request({ +// url: baseUrl + url, +// method, +// data, +// params, +// }); +// } catch (axiosError) { +// const error = axiosError as HttpClientError; +// return { +// error, +// }; +// } +// }; -export const configApi = createApi({ - reducerPath: 'config', - tagTypes: ['config'], - baseQuery, - endpoints: (builder) => ({ - fetchConfig: builder.query<AppConfig, HttpClientRequestConfig>({ - query: (args) => args, - // transformResponse: - }), - }), -}); +// export const configApi = createApi({ +// reducerPath: 'config', +// tagTypes: ['config'], +// baseQuery, +// endpoints: (builder) => ({ +// fetchConfig: builder.query<AppConfig, HttpClientRequestConfig>({ +// query: (args) => args, +// // transformResponse: +// }), +// }), +// }); // const useAppConfig = () => { // const query = configApi.useFetchConfigQuery({
fix: remove http client dependency
fix: remove http client dependency
fd81e4baff094c38bc8e082784d39de2fbde6d03
--- __tests__/PinAccess/PinCodeSagasTest.ts @@ -108,7 +108,8 @@ describe('handlePinCreation', () => { }); describe('handlePinPrompt', () => { - it('calls expected actions on reset true', () => { + it('calls expected actions on reset true; cancels biometric task', () => { + const biometricTask = createMockTask(); const iterator = handlePinPrompt('foreground_inactivity', true); expect(iterator.next().value).toEqual( call(WmTelemetry.logEvent, 'pin_access', 'pin_enter_screen_loaded', { @@ -119,12 +120,13 @@ describe('handlePinPrompt', () => { call(resetTo, 'PinAccessScreen', {flow: ENTRY}), ); expect(iterator.next().value).toEqual(fork(handleBiometricSetup)); - expect(iterator.next().value).toEqual( + expect(iterator.next(biometricTask).value).toEqual( take([ PinAccessTypes.PASSCODE_MATCH, BiometricTypes.BIOMETRIC_PROMPT_SUCCESS, ]), ); + expect(iterator.next().value).toEqual(cancel(biometricTask)); expect(iterator.next().done).toEqual(true); }); --- __tests__/biometrics/BiometricSagasTest.tsx @@ -17,7 +17,6 @@ import { getHasSkipped, getBiometricType, } from '../../src/biometrics/BiometricRedux'; -import {waitForInteractionManager} from '../../src/redux/SharedSagas'; import {logger} from '../../src/services/logger'; import {getShouldPromptOnCheckError} from '../../src/biometrics/utils'; import {getBiometricsEnabled} from '../../src/redux/SharedSelectors'; @@ -190,7 +189,6 @@ describe('checkBiometricsAvailable', () => { describe('promptBiometric', () => { it('calls expected actions on available', () => { const iterator = promptBiometric(); - expect(iterator.next().value).toEqual(call(waitForInteractionManager)); expect(iterator.next().value).toEqual(call(checkBiometricsAvailable)); expect(iterator.next(true).value).toEqual(call(handleBiometricPrompt)); expect(iterator.next().done).toEqual(true); @@ -198,7 +196,6 @@ describe('promptBiometric', () => { it('calls expected actions on not available', () => { const iterator = promptBiometric(); - expect(iterator.next().value).toEqual(call(waitForInteractionManager)); expect(iterator.next().value).toEqual(call(checkBiometricsAvailable)); expect(iterator.next(false).done).toEqual(true); }); --- __tests__/startup/StartupSagaTest.ts @@ -270,8 +270,6 @@ describe('handlePermissions', () => { describe('handleInitialPrompts', () => { it('calls expected actions', () => { const iterator = handleInitialPrompts(); - expect(iterator.next().value).toEqual(call(waitForAppConfig)); - expect(iterator.next().value).toEqual( put(UpdateCheckActionCreators.checkForUpdates()), ); --- src/PinAccess/PinCodeSagas.ts @@ -74,12 +74,16 @@ export function* handlePinPrompt(reason: string, resetNav: boolean): any { yield call(navMethod, pinScreen, {flow: ENTRY}); - yield fork(handleBiometricSetup); + const biometricTask = yield fork(handleBiometricSetup); yield take([ PinAccessTypes.PASSCODE_MATCH, BiometricTypes.BIOMETRIC_PROMPT_SUCCESS, ]); + + if (biometricTask) { + yield cancel(biometricTask); + } } export function* pinPromptFlow(): any { --- src/biometrics/BiometricSagas.ts @@ -5,7 +5,6 @@ import i18next from 'i18next'; import WmTelemetry from 'react-native-wm-telemetry'; import {logger} from '../services/Logger'; -import {waitForInteractionManager} from '../redux/SharedSagas'; import {createRestartableSaga} from '../redux/CreateRestartableSagas'; import { @@ -87,7 +86,6 @@ export function* checkBiometricsAvailable(): any { } export function* promptBiometric(): any { - yield call(waitForInteractionManager); const available = yield call(checkBiometricsAvailable); if (available) { --- src/startup/StartupSaga.ts @@ -119,8 +119,6 @@ export function* handlePermissions() { } export function* handleInitialPrompts() { - yield call(waitForAppConfig); - yield put(UpdateCheckActionCreators.checkForUpdates()); yield take(UpdateCheckTypes.CHECK_FOR_UPDATES_COMPLETE);
Removing interaction manager wait. Cancelling biometric task if needed (#580)
Removing interaction manager wait. Cancelling biometric task if needed (#580) Co-authored-by: rlane1 <rlane1@walmart.com>
740c55d7956f29b4b5771ca369fb265a7d0b4dc8
--- lerna.json @@ -22,7 +22,6 @@ ], "packages": [ "packages/allspark-utils", - "packages/me-at-walmart-athena-queries", "packages/allspark-foundation", "packages/allspark-authentication", "packages/me-at-walmart-container"
chore: update publish config for testing
chore: update publish config for testing
e64f1438870291a90ab65aa0848e0744ad3adb8d
--- packages/allspark-foundation-hub/__tests__/HubFeature/TeamListItem.test.tsx @@ -49,18 +49,14 @@ describe('TeamListItem', () => { it('calls handlePress when checkbox is pressed', () => { const { getByTestId } = render(<TeamListItem {...teamSelectionProps} />); - const checkbox = getByTestId( - `team-selection-checkbox-${teamSelectionProps.teamName}` - ); + const checkbox = getByTestId('team-list-item'); fireEvent.press(checkbox); expect(teamSelectionProps.handlePress).toHaveBeenCalled(); }); it('calls handlePress nav arrow is pressed', () => { const { getByTestId } = render(<TeamListItem {...allTeamsProps} />); - const navArrow = getByTestId( - `team-selection-nav-arrow-${allTeamsProps.teamName}` - ); + const navArrow = getByTestId('team-list-item'); fireEvent.press(navArrow); expect(allTeamsProps.handlePress).toHaveBeenCalled(); }); @@ -69,9 +65,7 @@ describe('TeamListItem', () => { const { getByTestId } = render( <TeamListItem {...teamSelectionProps} checkboxDisabled /> ); - const checkbox = getByTestId( - `team-selection-checkbox-${teamSelectionProps.teamName}` - ); + const checkbox = getByTestId('team-list-item'); fireEvent.press(checkbox); expect(teamSelectionProps.handlePress).not.toHaveBeenCalled(); }); --- packages/allspark-foundation-hub/__tests__/HubFeature/__snapshots__/TeamListItem.test.tsx.snap @@ -2,6 +2,33 @@ exports[`TeamListItem renders list item for all teams roster view correctly 1`] = ` <View + accessibilityState={ + { + "busy": undefined, + "checked": undefined, + "disabled": undefined, + "expanded": undefined, + "selected": undefined, + } + } + accessibilityValue={ + { + "max": undefined, + "min": undefined, + "now": undefined, + "text": undefined, + } + } + accessible={true} + collapsable={false} + focusable={true} + onClick={[Function]} + onResponderGrant={[Function]} + onResponderMove={[Function]} + onResponderRelease={[Function]} + onResponderTerminate={[Function]} + onResponderTerminationRequest={[Function]} + onStartShouldSetResponder={[Function]} style={ { "alignItems": "center", @@ -13,6 +40,7 @@ exports[`TeamListItem renders list item for all teams roster view correctly 1`] "justifyContent": "space-between", "marginLeft": 16, "marginRight": 16, + "opacity": 1, "paddingBottom": 16, "paddingTop": 16, } @@ -83,39 +111,6 @@ exports[`TeamListItem renders list item for all teams roster view correctly 1`] <View accessibilityLabel="View Management" accessibilityRole="button" - accessibilityState={ - { - "busy": undefined, - "checked": undefined, - "disabled": undefined, - "expanded": undefined, - "selected": undefined, - } - } - accessibilityValue={ - { - "max": undefined, - "min": undefined, - "now": undefined, - "text": undefined, - } - } - accessible={true} - collapsable={false} - focusable={true} - onClick={[Function]} - onResponderGrant={[Function]} - onResponderMove={[Function]} - onResponderRelease={[Function]} - onResponderTerminate={[Function]} - onResponderTerminationRequest={[Function]} - onStartShouldSetResponder={[Function]} - style={ - { - "opacity": 1, - } - } - testID="team-selection-nav-arrow-Management" > <ChevronRightIcon UNSAFE_style={ @@ -132,6 +127,33 @@ exports[`TeamListItem renders list item for all teams roster view correctly 1`] exports[`TeamListItem renders list item for team selection correctly 1`] = ` <View + accessibilityState={ + { + "busy": undefined, + "checked": undefined, + "disabled": undefined, + "expanded": undefined, + "selected": undefined, + } + } + accessibilityValue={ + { + "max": undefined, + "min": undefined, + "now": undefined, + "text": undefined, + } + } + accessible={true} + collapsable={false} + focusable={true} + onClick={[Function]} + onResponderGrant={[Function]} + onResponderMove={[Function]} + onResponderRelease={[Function]} + onResponderTerminate={[Function]} + onResponderTerminationRequest={[Function]} + onStartShouldSetResponder={[Function]} style={ { "alignItems": "center", @@ -143,6 +165,7 @@ exports[`TeamListItem renders list item for team selection correctly 1`] = ` "justifyContent": "space-between", "marginLeft": 16, "marginRight": 16, + "opacity": 1, "paddingBottom": 16, "paddingTop": 16, } --- packages/allspark-foundation-hub/src/HubFeature/TeamListItem/TeamListItem.tsx @@ -43,7 +43,12 @@ export const TeamListItem = ({ const showTeamSelectionNavArrow = useSelector(teamSelectionNavArrowEnabled); const showTeamImage = useSelector(teamImageEnabled); return ( - <View style={styles.container} testID='team-list-item'> + <TouchableOpacity + style={styles.container} + testID='team-list-item' + onPress={handlePress} + disabled={checkboxDisabled} + > <View style={styles.teamOuterContainer}> {showTeamImage ? ( <TeamImage @@ -100,21 +105,18 @@ export const TeamListItem = ({ }} checked={isSelected} disabled={checkboxDisabled} - onPress={handlePress} testID={`team-selection-checkbox-${teamName}`} /> )} {showTeamSelectionNavArrow && iconType === 'navArrow' && ( - <TouchableOpacity + <View accessibilityRole='button' accessibilityLabel={`View ${teamName}`} - onPress={handlePress} - testID={`team-selection-nav-arrow-${teamName}`} > <ChevronRightIcon UNSAFE_style={styles.chevronRight} /> - </TouchableOpacity> + </View> )} </View> - </View> + </TouchableOpacity> ); };
feat: updated team list item press
feat: updated team list item press
78c286278070ecd24279c8238185eb022c164c8e
--- packages/allspark-foundation/src/Container/AllsparkContainer.tsx @@ -30,6 +30,7 @@ import { UserServiceCreator } from '../User'; import { GraphQLClientProvider } from '../GraphQL/provider'; import { HttpClientSetupGuard } from '../HTTP/setup'; +import { AllsparkNavigationClient } from '../Navigation'; import { AllsparkNavigationProvider } from '../Navigation/provider'; import { AllsparkReduxProvider } from '../Redux/provider'; import { TranslationProvider } from '../Translation/provider'; @@ -291,6 +292,11 @@ export class AllsparkContainer< if (notification) { AllsparkNotificationClient.configure(notification); } + + const navigation = await AllsparkEnvironment.resolveDerivedValue(this.config.navigation); + if (navigation) { + AllsparkNavigationClient.configure(navigation); + } }; /**
fix: navigation setup missing from container initialization
fix: navigation setup missing from container initialization
0e65b0865352f110cf5f027431a50ce0ad855720
--- package-lock.json @@ -4400,7 +4400,7 @@ "@walmart/react-native-shared-navigation": { "version": "0.4.0", "resolved": "https://npme.walmart.com/@walmart/react-native-shared-navigation/-/react-native-shared-navigation-0.4.0.tgz", - "integrity": "sha512-xXCe5sJeytOO9HAKLaTiQQMzomfUS2wUP6ICLYv9BGtdJUDmoKNT7aFYeRDGPgvPvkc1A8oFrqJIrOshjLnxSg==" + "integrity": "sha1-dBX44FzZJKjZPuXiMoFiFQzybYE=" }, "@walmart/react-native-sumo-sdk": { "version": "2.2.1", @@ -15950,7 +15950,7 @@ "nano-time": { "version": "1.0.0", "resolved": "https://npme.walmart.com/nano-time/-/nano-time-1.0.0.tgz", - "integrity": "sha512-flnngywOoQ0lLQOTRNexn2gGSNuM9bKj9RZAWSzhQ+UJYaAFG9bac4DW9VHjUAzrOaIcajHybCTHe/bkvozQqA==", + "integrity": "sha1-sFVPaa2J4i0JB/ehKwmTpdlhN+8=", "requires": { "big-integer": "^1.6.16" } @@ -18239,9 +18239,9 @@ } }, "react-native-wm-barcode": { - "version": "2.35.0", - "resolved": "https://npme.walmart.com/react-native-wm-barcode/-/react-native-wm-barcode-2.35.0.tgz", - "integrity": "sha512-ygfQS3AzwK/j131QW8XbTsstWdA5mFNYbM8mv16LqOhsJHfeAo7w0kkufqpX6VnNESxr+aUP4BupqQVoSW+63w==" + "version": "2.36.0-alpha", + "resolved": "https://npme.walmart.com/react-native-wm-barcode/-/react-native-wm-barcode-2.36.0-alpha.tgz", + "integrity": "sha512-X1Wbh2ka751chue2vstxjg6FvRKzWBNdfVgA9IpiL2tMOuATSrp46UieD2rTym33VIq8anEvizQUD7Sa2vy4Ew==" }, "react-native-wm-config": { "version": "0.1.1", @@ -18666,7 +18666,7 @@ "remove-accents": { "version": "0.4.2", "resolved": "https://npme.walmart.com/remove-accents/-/remove-accents-0.4.2.tgz", - "integrity": "sha512-7pXIJqJOq5tFgG1A2Zxti3Ht8jJF337m4sowbuHsW30ZnkQFnDzy9qBNhgzX8ZLW4+UBcXiiR7SwR6pokHsxiA==" + "integrity": "sha1-CkPTqq4egNuRngeuJUsoXZ4ce7U=" }, "remove-trailing-separator": { "version": "1.1.0", --- package.json @@ -166,7 +166,7 @@ "react-native-view-shot": "^3.1.2", "react-native-vision-camera": "1.0.10", "react-native-webview": "^10.7.0", - "react-native-wm-barcode": "2.35.0", + "react-native-wm-barcode": "2.36.0-alpha", "react-native-wm-config": "^0.1.1", "react-native-wm-network": "^0.2.0", "react-native-wm-notification": "^2.0.1",
bump react-native-wm-barcode to 2.36.0-alpha
bump react-native-wm-barcode to 2.36.0-alpha
2a8ed1f219349ba3ae930c302829b01edee1c039
--- targets/US/package.json @@ -101,7 +101,7 @@ "@walmart/counts-component-miniapp": "0.1.14", "@walmart/emergency-mini-app": "1.30.5", "@walmart/exception-mini-app": "1.8.13", - "@walmart/facilities-management-miniapp": "0.17.0", + "@walmart/facilities-management-miniapp": "0.18.2", "@walmart/feedback-all-spark-miniapp": "0.9.72", "@walmart/financial-wellbeing-feature-app": "1.29.2", "@walmart/functional-components": "~6.3.28", --- yarn.lock @@ -6775,13 +6775,13 @@ __metadata: languageName: node linkType: hard -"@walmart/facilities-management-miniapp@npm:0.16.0-beta19": - version: 0.16.0-beta19 - resolution: "@walmart/facilities-management-miniapp@npm:0.16.0-beta19" +"@walmart/facilities-management-miniapp@npm:0.18.2": + version: 0.18.2 + resolution: "@walmart/facilities-management-miniapp@npm:0.18.2" peerDependencies: "@walmart/allspark-foundation": "*" redux: "*" - checksum: 10c0/42ab34d5a338c739ef0e4dad0166b5ca8e5994e7828f6406b1e888e943b6f53cbb65ed76654484d2e1306eb39911ad021682508b0fc921ebfa4cec1d1a9442da + checksum: 10c0/91ba0dea320ea8c734779adf5f477da82cc038ab4a1dd9ab598a40eab3c5cf75ccd5ae0d2fd214a9c038cb5cbac8b4ca57b1a5719342987524bb9b58bfac18d3 languageName: node linkType: hard @@ -7442,7 +7442,7 @@ __metadata: "@walmart/counts-component-miniapp": "npm:0.1.14" "@walmart/emergency-mini-app": "npm:1.30.5" "@walmart/exception-mini-app": "npm:1.8.13" - "@walmart/facilities-management-miniapp": "npm:0.17.0" + "@walmart/facilities-management-miniapp": "npm:0.18.2" "@walmart/feedback-all-spark-miniapp": "npm:0.9.72" "@walmart/financial-wellbeing-feature-app": "npm:1.29.2" "@walmart/functional-components": "npm:~6.3.28"
version bump
version bump
c8c7d69c70aaf1899a4673a8f5e9af5edc1824b8
--- core/__tests__/__mocks__/@walmart/allspark-foundation/Environment.js @@ -1,22 +0,0 @@ -module.exports = { - ...jest.requireActual('@walmart/allspark-foundation/Environment'), -useEnvironment: jest.fn(() => ({ auth: {associate: {"clientId": "MeAtWMT"}} })), - - AllsparkEnvironment: { - resolveDerivedValue: jest.fn(), - initialize: jest.fn(), - getCurrent: jest.fn(() => ({ consumerId:'mock-consumer-id' })), - getDeferred: jest.fn(), - VALUES: { - appConsumerId: 'appConsumerId', - deployment: 'prod' - }, - _environment: { - current: { - deployment: 'dev' - } - } - }, - - }; - \ No newline at end of file --- core/__tests__/home/services/HomeApi/indexTest.ts @@ -45,7 +45,7 @@ describe('getFullUrlForRoute', () => { const url = await getFullUrlForRoute('anniversary'); expect(logGeneralError).toHaveBeenCalled(); expect(url).toEqual( - 'https://developer.api.us.walmart.com/api-proxy/service/allspark/wcnp-anniversary/v1/', + 'https://developer.api.us.stg.walmart.com/api-proxy/service/allspark/wcnp-anniversary/v1/', ); }); }); @@ -64,7 +64,7 @@ describe('Routes', () => { timeZone: 'America/Chicago', }); expect(BaseHomeApi.get).toHaveBeenCalledWith( - 'https://developer.api.us.walmart.com/api-proxy/service/allspark/wcnp-anniversary/v1/anniversaries/homescreen?storeNbr=100&domain=Store/club&userId=sam.s00100&siteTimeZone=America/Chicago', + 'https://developer.api.us.stg.walmart.com/api-proxy/service/allspark/wcnp-anniversary/v1/anniversaries/homescreen?storeNbr=100&domain=Store/club&userId=sam.s00100&siteTimeZone=America/Chicago', { cache: { ttl: 24 * 60 * 60000, @@ -80,7 +80,7 @@ describe('Routes', () => { mockGetRouteConfig.mockReturnValueOnce(undefined); await HomeApi.getClockStatusForTeam(kQueryGraphVariables); expect(BaseHomeApi.post).toHaveBeenCalledWith( - 'https://developer.api.us.walmart.com/api-proxy/service/Associate/Read-Orchestrator/v1/graphql', + 'https://developer.api.us.stg.walmart.com/api-proxy/service/Associate/Read-Orchestrator/v1/graphql', { query: ` query ($storeId: String!, $teamId: String!, $countryCode: String!, $date: Date! ) { @@ -108,7 +108,7 @@ describe('Routes', () => { mockGetRouteConfig.mockReturnValueOnce(undefined); await HomeApi.getClockStatusForStore(kQueryGraphVariables); expect(BaseHomeApi.post).toHaveBeenCalledWith( - 'https://developer.api.us.walmart.com/api-proxy/service/Associate/Read-Orchestrator/v1/graphql', + 'https://developer.api.us.stg.walmart.com/api-proxy/service/Associate/Read-Orchestrator/v1/graphql', { query: ` query($storeId: String!, $countryCode: String!, $date: Date!) { --- core/__tests__/settings/versions/__snapshots__/VersionsListTest.tsx.snap @@ -20,7 +20,7 @@ exports[`VersionsList 1`] = ` [ { "data": [], - "title": "", + "title": "Me@Walmart", "version": null, }, ] @@ -65,7 +65,7 @@ exports[`VersionsList 1`] = ` size="medium" weight="700" > - appNames. + appNames.Me@Walmart </Body> <Body size="medium"
remove enviromental mock
remove enviromental mock
3b93a920051f9fe28e018b29d0077196e3639434
--- packages/me-at-walmart-container/__tests__/http/interceptors/workInterceptor.test.ts @@ -0,0 +1,28 @@ +import {WorkInterceptor} from '../../../src/http/interceptors/workInterceptor' + +import { InternalHttpClientRequestConfig } from '../../src/HTTP'; +import { AllsparkReduxStore } from '../../src/Core'; + +const actionId = '12345'; +const mockSet = jest.fn(); +const request = { + headers: { + set: mockSet, + }, +} as unknown as InternalHttpClientRequestConfig; + +describe('WorkInterceptor', () => { + it('sets work action ID as a header, if action is defined', () => { + jest + .spyOn(AllsparkReduxStore, 'select') + .mockImplementationOnce(() => actionId); + WorkInterceptor?.request?.fulfilled?.(request); + expect(mockSet).toHaveBeenCalledWith('work-action-id', actionId); + }); + it('does not set work action ID as a header when action ID is undefined', () => { + mockSet.mockClear(); + jest.spyOn(AllsparkReduxStore, 'select').mockImplementationOnce(() => null); + WorkInterceptor?.request?.fulfilled?.(request); + expect(mockSet).not.toHaveBeenCalled(); + }); +}); \ No newline at end of file
fix: add test for work interceptor DWORK-7538
fix: add test for work interceptor DWORK-7538
13d0ccc76ba5832ad04fc5c7bffb4369fbcd8ab3
--- android/app/build.gradle @@ -153,8 +153,8 @@ android { applicationId "com.walmart.stores.allspark.beta" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 879 - versionName "1.6.2" + versionCode 880 + versionName "1.6.3" } splits { abi { --- ios/AllSpark/Info.plist @@ -19,7 +19,7 @@ <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> - <string>1.6.2</string> + <string>1.6.3</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleURLTypes</key> @@ -36,7 +36,7 @@ </dict> </array> <key>CFBundleVersion</key> - <string>879</string> + <string>880</string> <key>FirebaseAutomaticScreenReportingEnabled</key> <false /> <key>LSApplicationQueriesSchemes</key> --- ios/Podfile.lock @@ -582,19 +582,19 @@ PODS: - AppAuth - Starscream (3.0.6) - StructuredLogAssistantIOS (0.0.6) - - SumoSDK (2.2.0): + - SumoSDK (2.1.0-alpha.2): - Apollo (= 0.42.0) - Apollo/SQLite (= 0.42.0) - - Firebase/Messaging (~> 8.4) + - Firebase/Messaging (= 8.4.0) - StructuredLogAssistantIOS (= 0.0.6) - SwiftProtobuf (1.19.0) - TextServiceProto (0.0.12): - SwiftProtobuf - VisionCamera (1.0.10): - React-Core - - walmart-react-native-sumo-sdk (2.2.0): + - walmart-react-native-sumo-sdk (2.1.0-alpha.3): - React - - SumoSDK (= 2.2.0) + - SumoSDK (= 2.1.0-alpha.2) - wifi-store-locator (1.0.0-alpha2): - React-Core - Yoga (1.14.0) @@ -1026,11 +1026,11 @@ SPEC CHECKSUMS: SSO: dde199615662c7a7f9d62828f898441074950864 Starscream: ef3ece99d765eeccb67de105bfa143f929026cf5 StructuredLogAssistantIOS: 68c6fc083b10202a570f4a737359dcc7f81ec6e4 - SumoSDK: fdaac9d36fa26540c84f80a454f495b1eb2b3b28 + SumoSDK: f8d7cf055c573e45367b993ebb0a435f8202b6df SwiftProtobuf: 6ef3f0e422ef90d6605ca20b21a94f6c1324d6b3 TextServiceProto: 07782a63b28a91b30d9a008ffd925768f6da6a2d VisionCamera: 60b74823ece943da919e2eb6dde62a676c486382 - walmart-react-native-sumo-sdk: a452de9879a2420f2cd522795be989596574d728 + walmart-react-native-sumo-sdk: 700ee1f22c04bcf4af934c321558659d820d06ae wifi-store-locator: 0f4d1e14ff9b98c559275105c655a5a6103ef427 Yoga: e7dc4e71caba6472ff48ad7d234389b91dadc280 --- package-lock.json @@ -1,6 +1,6 @@ { "name": "allspark-main", - "version": "1.6.2", + "version": "1.6.3", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -4371,9 +4371,9 @@ "integrity": "sha512-xXCe5sJeytOO9HAKLaTiQQMzomfUS2wUP6ICLYv9BGtdJUDmoKNT7aFYeRDGPgvPvkc1A8oFrqJIrOshjLnxSg==" }, "@walmart/react-native-sumo-sdk": { - "version": "2.2.0", - "resolved": "https://npme.walmart.com/@walmart/react-native-sumo-sdk/-/react-native-sumo-sdk-2.2.0.tgz", - "integrity": "sha512-y7qpakPUnLrHXskuvuMmyPGRfttJhllcUm31hE0awpa7ebveEOmfvBhlpa4zBgCkA3E54FRWKLN158sVynf64g==" + "version": "2.1.0-alpha.3", + "resolved": "https://npme.walmart.com/@walmart/react-native-sumo-sdk/-/react-native-sumo-sdk-2.1.0-alpha.3.tgz", + "integrity": "sha512-NSK68YKfA95rH9x90qwCNYORlTShIyVoJ2iysN6/OPWKiy59gK6P1yTrg6hAaysWSm/r90fWTkIuukzdSu99+A==" }, "@walmart/redux-store": { "version": "1.1.26", --- package.json @@ -1,6 +1,6 @@ { "name": "allspark-main", - "version": "1.6.2", + "version": "1.6.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", @@ -95,7 +95,7 @@ "@walmart/react-native-env": "^0.2.0", "@walmart/react-native-logger": "^1.28.0", "@walmart/react-native-shared-navigation": "^0.4.0", - "@walmart/react-native-sumo-sdk": "2.2.0", + "@walmart/react-native-sumo-sdk": "2.1.0-alpha.3", "@walmart/redux-store": "1.1.26", "@walmart/refrigeration-alarms-mini-app": "1.34.0", "@walmart/schedule-mini-app": "0.12.0",
revert sumo to alpha-3 for v1.6.3
revert sumo to alpha-3 for v1.6.3
aacf34be93284155af1ab85bdf7c46acdd1e2f33
--- package-lock.json @@ -72,7 +72,7 @@ "@walmart/ims-print-services-ui": "2.10.3", "@walmart/inbox-mini-app": "0.92.10", "@walmart/iteminfo-mini-app": "7.10.13", - "@walmart/learning-mini-app": "20.0.20", + "@walmart/learning-mini-app": "20.0.21", "@walmart/manager-approvals-miniapp": "0.2.4", "@walmart/me-at-walmart-athena-queries": "6.0.16", "@walmart/me-at-walmart-common": "6.0.16", @@ -11734,9 +11734,9 @@ } }, "node_modules/@walmart/learning-mini-app": { - "version": "20.0.20", - "resolved": "https://npme.walmart.com/@walmart/learning-mini-app/-/learning-mini-app-20.0.20.tgz", - "integrity": "sha512-MBIlgyt0TYotlAWmyZEwK3O/ci0DAUPqgD2+bjMtZfQGegOHvBhaBSiujH8vvmOaa9WHkPZ5nwU2K5dcG/FdqA==", + "version": "20.0.21", + "resolved": "https://npme.walmart.com/@walmart/learning-mini-app/-/learning-mini-app-20.0.21.tgz", + "integrity": "sha512-fAvwrPX0XNcovhzF//MDO1Hl4qs5F3sUyDqIG8jhl/kfE5Azhmc21YUBrFYMqoUxXoMAq/polQ10a+z/8DcCig==", "hasInstallScript": true, "peerDependencies": { "@atmt/feedback-component-native": "^8.0.0", --- package.json @@ -113,7 +113,7 @@ "@walmart/ims-print-services-ui": "2.10.3", "@walmart/inbox-mini-app": "0.92.10", "@walmart/iteminfo-mini-app": "7.10.13", - "@walmart/learning-mini-app": "20.0.20", + "@walmart/learning-mini-app": "20.0.21", "@walmart/manager-approvals-miniapp": "0.2.4", "@walmart/me-at-walmart-athena-queries": "6.0.16", "@walmart/me-at-walmart-common": "6.0.16", @@ -378,7 +378,7 @@ "@walmart/ims-print-services-ui": "2.10.3", "@walmart/inbox-mini-app": "0.92.10", "@walmart/iteminfo-mini-app": "7.10.13", - "@walmart/learning-mini-app": "20.0.20", + "@walmart/learning-mini-app": "20.0.21", "@walmart/manager-approvals-miniapp": "0.2.4", "@walmart/me-at-walmart-athena-queries": "6.0.16", "@walmart/me-at-walmart-common": "6.0.16",
feat: :sparkles: Bump learning mini app version to 20.0.21
feat: :sparkles: Bump learning mini app version to 20.0.21
f35d93c70743e4793aec8a6047d6629bb53ab844
--- __tests__/navigation/AssociateHallwayNav/MainStackNavTest.tsx @@ -58,6 +58,18 @@ jest.mock('@walmart/me-field-mini-app', () => { }; }); +jest.mock('@walmart/pay-stub-miniapp', () => { + return { + PayStubMiniApp: 'PayStubMiniApp', + }; +}); + +jest.mock('@walmart/financial-wellbeing-feature-app', () => { + return { + FWBNav: 'FWBNav', + }; +}); + describe('AssociateHallwayNav', () => { it('matches snapshot; handles mount and unmount effects', () => { let component: ReactTestRenderer; --- __tests__/navigation/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap @@ -109,6 +109,16 @@ Array [ <Screen name="paymentselection" /> + <Screen + component="PayStubMiniApp" + name="paystub" + /> + <Screen + component="FWBNav" + /> + <Screen + name="myMoneyScreen" + /> </Group> <Screen component="TimeClockScreen" @@ -262,6 +272,14 @@ Array [ } } /> + </Group> + <Group + screenOptions={ + Object { + "presentation": "transparentModal", + } + } + > <Screen name="preferredNameSnackbar" />
Updated test with new mocks
Updated test with new mocks
71632b7f9b99a07ce25fb36985d67643c965b5c9
--- src/components/AssociateList/AssociateListItem.tsx @@ -136,17 +136,21 @@ export const AssociateListItem = ({ </View> </View> <View style={styles.tagAndButtonContainer}> - {showStatusChipAndViewSchedule ? ( - <View accessible={false}> - <StatusChip - associate={associate} - encryptedId={encryptedId} - style={styles.tag} - /> - </View> - ) : ( - <View /> - )} + <> + {' '} + <AllsparkSharedComponents.Component + id='wmConnect.DNDStatusChip' + props={{userId: encryptedId, style: styles.tag}} + /> + {showStatusChipAndViewSchedule ? ( + <View accessible={false}> + <StatusChip associate={associate} style={styles.tag} /> + </View> + ) : ( + <View /> + )} + </> + {isMessageButtonEnabled && shouldShowMessageButton && ( <AllsparkSharedComponents.Component id='wmConnect.RosterMessageButton' --- src/components/StatusChip/StatusChip.tsx @@ -3,23 +3,14 @@ import {Tag} from '@walmart/gtp-shared-components'; import {translationClient} from '../../common/translation'; import {deriveAssociateStatus} from '../../utils'; import {StatusChipProps} from './types'; -import {AllsparkSharedComponents} from '@walmart/allspark-foundation/Components'; -export const StatusChip = ({ - associate, - encryptedId, - style, -}: StatusChipProps) => { +export const StatusChip = ({associate, style}: StatusChipProps) => { const {t} = translationClient.useTranslation(); const status = deriveAssociateStatus(associate, t); return ( <> - <AllsparkSharedComponents.Component - id='wmConnect.DNDStatusChip' - props={{userId: encryptedId, style: style}} - /> {!!status && ( <Tag testID='statusChip' --- src/components/StatusChip/types.ts @@ -3,6 +3,5 @@ import {Associate} from '../../common'; export interface StatusChipProps { associate: Associate; - encryptedId: string; style?: StyleProp<ViewStyle>; }
Update dnd status chip
Update dnd status chip
711d4c45a8f54db136684a48008427c75e85af88
--- package.json @@ -1,6 +1,6 @@ { "name": "@walmart/texting-mini-app", - "version": "2.0.15", + "version": "2.0.16", "private": false, "main": "bundle/dist/index.js", "files": [ --- package.json @@ -1,6 +1,6 @@ { "name": "@walmart/texting-mini-app", - "version": "2.0.15", + "version": "2.0.16", "private": false, "main": "bundle/dist/index.js", "files": [
Update package.json
Update package.json
1a6d6d5b50a8c4427479e843a4c3c1ed472360e5
--- android/app/build.gradle @@ -144,8 +144,8 @@ android { applicationId "com.walmart.stores.allspark.beta" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 855 - versionName "1.4.1" + versionCode 856 + versionName "1.4.2" } splits { abi { --- ios/AllSpark/Info.plist @@ -10,8 +10,8 @@ <string>$(EXECUTABLE_NAME)</string> <key>CFBundleIdentifier</key> <string>com.walmart.stores.allspark.beta</string> - <key>SumoAppGroupId</key> - <string>group.com.walmart</string> + <key>SumoAppGroupId</key> + <string>group.com.walmart</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> @@ -19,7 +19,7 @@ <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> - <string>1.4.1</string> + <string>1.4.2</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleURLTypes</key> @@ -36,7 +36,7 @@ </dict> </array> <key>CFBundleVersion</key> - <string>855</string> + <string>856</string> <key>FirebaseAutomaticScreenReportingEnabled</key> <false /> <key>LSApplicationQueriesSchemes</key> --- package-lock.json @@ -1,6 +1,6 @@ { "name": "allspark-main", - "version": "1.4.1", + "version": "1.4.2", "lockfileVersion": 1, "requires": true, "dependencies": { --- package.json @@ -1,6 +1,6 @@ { "name": "allspark-main", - "version": "1.4.1", + "version": "1.4.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 bump to 1.4.2
version bump to 1.4.2
23de05879f8b65638b357576f7eb46e89e0f5592
--- ios/AllSpark.xcodeproj/project.pbxproj @@ -540,7 +540,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = D994751F557438D6B85DBCC2 /* Pods-AllSpark.debug.xcconfig */; buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-Beta"; + ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-Dev"; CLANG_CXX_LANGUAGE_STANDARD = "c++17"; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = AllSpark/AllSpark.entitlements; @@ -586,7 +586,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 99D7C873A014A98046591001 /* Pods-AllSpark.release.xcconfig */; buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-Beta"; + ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-Dev"; CLANG_CXX_LANGUAGE_STANDARD = "c++17"; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = AllSpark/AllSpark.entitlements; --- ios/AllSpark/Info.plist @@ -134,7 +134,7 @@ <string>remote-notification</string> </array> <key>UILaunchStoryboardName</key> - <string>LaunchScreen-Beta</string> + <string>LaunchScreen-Dev</string> <key>UIRequiredDeviceCapabilities</key> <array> <string>armv7</string> --- package.json @@ -12,7 +12,7 @@ "androidConfig:dev": "sh scripts/updateAndroidProjectConfig.sh Dev", "androidConfig:prod": "sh scripts/updateAndroidProjectConfig.sh Prod", "androidConfig:teflon": "sh scripts/updateAndroidProjectConfig.sh Teflon", - "coverage": "sh ./scripts/verifyBranchName.sh", + "coverage": "jest --coverage", "env:beta": "npm run firebase:beta && cp env.beta.js env.js && npm run projConfig:beta", "env:dev": "npm run firebase:dev && cp env.dev.js env.js && npm run projConfig:dev", "env:prod": "npm run firebase:prod && cp env.prod.js env.js && npm run projConfig:prod", @@ -33,8 +33,8 @@ "iosConfig:prod": "sh scripts/updateiOSProjectConfig.sh Prod", "iosConfig:teflon": "sh scripts/updateiOSProjectConfig.sh Teflon", "jetifier": "jetifier", - "lint": "sh ./scripts/verifyBranchName.sh", - "lint:fix": "sh ./scripts/verifyBranchName.sh", + "lint": "eslint ./src ./__tests__ --ext .js,.jsx,.ts,.tsx --max-warnings 3", + "lint:fix": "eslint ./src ./__tests__ --ext .js,.jsx,.ts,.tsx --fix", "postinstall": "patch-package && npm run fixDependencies && npm run stubFirestore && npx sort-npm-scripts", "postversion": "react-native-version -A", "projConfig:beta": "npm run iosConfig:beta && npm run androidConfig:beta", --- src/index.tsx @@ -1,8 +1,7 @@ import React from 'react'; -import {StatusBar, LogBox} from 'react-native'; +import {StatusBar} from 'react-native'; import {SafeAreaProvider} from 'react-native-safe-area-context'; import {NavigationContainer} from '@react-navigation/native'; -LogBox.ignoreAllLogs(); import {LivingDesignProvider} from '@walmart/gtp-shared-components'; import {navContainerProps} from '@walmart/react-native-shared-navigation'; import { --- src/whatsNew/WhatsNewScreen.tsx @@ -24,7 +24,7 @@ import { } from './types'; import {BackgroundImage, WhatsNewScreenStyles as styles} from './styles'; import {renderWhatsNewItem, renderWhatsNewSection} from './utils'; -import { AuthSelectors, GlobalState, SiteSelectors } from "@walmart/redux-store"; +import {GlobalState, SiteSelectors} from '@walmart/redux-store'; import {createSelector} from 'reselect'; const keyExtractor = (item: any, index: number) => String(index); @@ -65,7 +65,6 @@ export const WhatsNewScreen = () => { const {whatsNew, whatsNext, restrictions, version} = useSelector(getWhatsNewWithIsDC); const renderSectionList = version === '2'; - const {refreshToken} = useSelector(AuthSelectors.getAuthData) return ( <View style={styles.container}> @@ -80,7 +79,7 @@ export const WhatsNewScreen = () => { contentContainerStyle={styles.scrollContainer}> <SparkIcon size={32} color='#ffc220' /> <Text style={styles.title}>{translate('whatsNew.screenTitle')}</Text> - <Text selectable={true} selectionColor='orange'>{refreshToken}</Text> + <SolidCard color='white' elevation={1}
revert unneeded changes.
revert unneeded changes.
df9c837900c809328a7364a661b4f97e2a8b415f
--- packages/allspark-foundation/src/Navigation/client.tsx @@ -7,6 +7,7 @@ import { type LinkingOptions, CommonActions, DrawerActions, + StackActions, ParamListBase, StackRouter, StackRouterOptions, @@ -441,6 +442,16 @@ export class NavigationClient< return; } + // If the action is a push action, build the navigation params based on client resolver config + if ((action as StackActionType).type === 'PUSH') { + const { name, params } = action.payload || ({} as any); + + this._ref.current?.dispatch( + StackActions.push(...this._buildNavigateParams(name, params)) + ); + return; + } + // Call dispatch on the navigation container ref this._ref.current?.dispatch(action); };
feat(navigation): add navigation resolver handling for push actions on client dispatch
feat(navigation): add navigation resolver handling for push actions on client dispatch
be7778d7e217afe858c9c473797328995984bdc3
--- package.json @@ -93,7 +93,7 @@ "@walmart/calling-mini-app": "0.2.13", "@walmart/checkout-mini-app": "3.9.310", "@walmart/compass-sdk-rn": "patch:@walmart/compass-sdk-rn@npm%3A5.19.3#~/.yarn/patches/@walmart-compass-sdk-rn-npm-5.19.3-6aa8f19bab.patch", - "@walmart/config-components": "4.4.0", + "@walmart/config-components": "4.4.1", "@walmart/copilot-mini-app": "3.92.10", "@walmart/core-services": "6.1.4", "@walmart/core-services-allspark": "6.1.4", --- yarn.lock @@ -5894,9 +5894,9 @@ __metadata: languageName: node linkType: hard -"@walmart/config-components@npm:4.4.0": - version: 4.4.0 - resolution: "@walmart/config-components@npm:4.4.0" +"@walmart/config-components@npm:4.4.1": + version: 4.4.1 + resolution: "@walmart/config-components@npm:4.4.1" dependencies: reduxsauce: "npm:^1.2.1" reselect: "npm:^4.1.5" @@ -5910,7 +5910,7 @@ __metadata: react-native: "*" react-native-check-app-install: ">=0.0.5" react-native-device-info: ^10.3.0 - checksum: 10c0/0b2e270189af562f40838621362936c0dbc3af12e37ea80133349b14cdf3b494e013d2774f54091675bfb1d2d35b2e8e686d80be3bca8b8cba8b9f285f210114 + checksum: 10c0/36c1ac41952b37160af2db7cf2f60c1525f1bf0eb41ff47542d6f996eba44794e17c52cb2051ed13de7b3566f4ca3768d7677c1b8b1bd16a745fa9f8e572a5ac languageName: node linkType: hard @@ -7735,7 +7735,7 @@ __metadata: "@walmart/calling-mini-app": "npm:0.2.13" "@walmart/checkout-mini-app": "npm:3.9.310" "@walmart/compass-sdk-rn": "patch:@walmart/compass-sdk-rn@npm%3A5.19.3#~/.yarn/patches/@walmart-compass-sdk-rn-npm-5.19.3-6aa8f19bab.patch" - "@walmart/config-components": "npm:4.4.0" + "@walmart/config-components": "npm:4.4.1" "@walmart/copilot-mini-app": "npm:3.92.10" "@walmart/core-services": "npm:6.1.4" "@walmart/core-services-allspark": "npm:6.1.4"
-config component version update
-config component version update
a53e678b5527f2bc1e449c07fe297a6d6290ff19
--- .looper-native-common.yml @@ -83,7 +83,7 @@ flows: sh scripts/isResourcePresent.sh ${fullUrl} - echo "checked for ${fullUrl}; result is ${result}" - if: | - %{(result != 200 or result != "200")} + %{(result != 200 or result != "200") and (GITHUB_BRANCH_URL == ALLSPARK_CORE_GITHUB_URL)} then: - echo "starting build and publish for Release builds" - if: |
Chore/looper (#252)
Chore/looper (#252) * Added a check to make sure we aren't building release builds from Forked repo and also the Slack notifications should get posted on the test channel if it's from Forked repo * updated slack script to show GitHub Repo URL * test * fixed the Slack script error * reverting changed * added condition to restrain any fork to make release builds Co-authored-by: Hitesh Arora <>
6ccaf6effc1ef07bfc0ce6d9d99154f634e3110b
--- package-lock.json @@ -45,7 +45,7 @@ "@walmart/avp-feature-app": "0.1.5", "@walmart/avp-shared-library": "0.1.6", "@walmart/calling-mini-app": "0.1.13", - "@walmart/compass-sdk-rn": "5.18.15", + "@walmart/compass-sdk-rn": "5.18.19", "@walmart/config-components": "4.2.17", "@walmart/copilot-mini-app": "3.50.6", "@walmart/core-services": "~2.3.0", @@ -55,7 +55,7 @@ "@walmart/counts-component-miniapp": "0.1.10", "@walmart/emergency-mini-app": "1.27.0", "@walmart/exception-mini-app": "1.7.4", - "@walmart/facilities-management-miniapp": "0.8.0", + "@walmart/facilities-management-miniapp": "0.8.1", "@walmart/feedback-all-spark-miniapp": "0.9.58", "@walmart/financial-wellbeing-feature-app": "1.20.1", "@walmart/functional-components": "~4.0.3", @@ -8644,9 +8644,9 @@ } }, "node_modules/@walmart/compass-sdk-rn": { - "version": "5.18.15", - "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-5.18.15.tgz", - "integrity": "sha512-688uMzLF2OpZQQWRcK2bC4m9EBbqkAegL0jHtxbRpnRXSClhhHTuFa6736h+q4s0Q/YfdyRAX64VlopkG5Y4jg==", + "version": "5.18.19", + "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-5.18.19.tgz", + "integrity": "sha512-U2MLzWhWhUoPpLBOphSBPKghNTZSTKe+uze/o8c+iYna//qFOvdjlosOxAOb9XyvtHFiN57Rc8p5pGP1PQ0VCA==", "license": "MIT", "engines": { "node": ">=16" @@ -8858,9 +8858,9 @@ } }, "node_modules/@walmart/facilities-management-miniapp": { - "version": "0.8.0", - "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.8.0.tgz", - "integrity": "sha512-4AXabaq4ZUa+3TJDeqaMz37mZ6ZoVM8vB2e+6YdJkLzJW/pD92o8WalGIAELpNCI2DDDIM5dO2eu3eFvoAM2Jw==", + "version": "0.8.1", + "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.8.1.tgz", + "integrity": "sha512-K4E/9TUOgaRh2ND4fxmdlHs0PnSpbvnTKwSXh6cOw3EZfpSAjKRvLVU5FQWMethULP8OBvF94dRRHf+iQkT8tQ==", "hasInstallScript": true, "engines": { "node": ">=16" @@ -33162,9 +33162,9 @@ } }, "@walmart/compass-sdk-rn": { - "version": "5.18.15", - "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-5.18.15.tgz", - "integrity": "sha512-688uMzLF2OpZQQWRcK2bC4m9EBbqkAegL0jHtxbRpnRXSClhhHTuFa6736h+q4s0Q/YfdyRAX64VlopkG5Y4jg==" + "version": "5.18.19", + "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-5.18.19.tgz", + "integrity": "sha512-U2MLzWhWhUoPpLBOphSBPKghNTZSTKe+uze/o8c+iYna//qFOvdjlosOxAOb9XyvtHFiN57Rc8p5pGP1PQ0VCA==" }, "@walmart/config-components": { "version": "4.2.17", @@ -33241,9 +33241,9 @@ "integrity": "sha512-tNTDiVtWXZhVur+SAWUjGFMa0xHVQQjHGR9JLcTQTz2cGk5+/JT0+9UzslJguzeI48HSRIPOAOZbEwam5IzGVQ==" }, "@walmart/facilities-management-miniapp": { - "version": "0.8.0", - "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.8.0.tgz", - "integrity": "sha512-4AXabaq4ZUa+3TJDeqaMz37mZ6ZoVM8vB2e+6YdJkLzJW/pD92o8WalGIAELpNCI2DDDIM5dO2eu3eFvoAM2Jw==" + "version": "0.8.1", + "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.8.1.tgz", + "integrity": "sha512-K4E/9TUOgaRh2ND4fxmdlHs0PnSpbvnTKwSXh6cOw3EZfpSAjKRvLVU5FQWMethULP8OBvF94dRRHf+iQkT8tQ==" }, "@walmart/feedback-all-spark-miniapp": { "version": "0.9.58", --- package.json @@ -86,7 +86,7 @@ "@walmart/avp-feature-app": "0.1.5", "@walmart/avp-shared-library": "0.1.6", "@walmart/calling-mini-app": "0.1.13", - "@walmart/compass-sdk-rn": "5.18.15", + "@walmart/compass-sdk-rn": "5.18.19", "@walmart/config-components": "4.2.17", "@walmart/copilot-mini-app": "3.50.6", "@walmart/core-services": "~2.3.0", @@ -96,7 +96,7 @@ "@walmart/counts-component-miniapp": "0.1.10", "@walmart/emergency-mini-app": "1.27.0", "@walmart/exception-mini-app": "1.7.4", - "@walmart/facilities-management-miniapp": "0.8.0", + "@walmart/facilities-management-miniapp": "0.8.1", "@walmart/feedback-all-spark-miniapp": "0.9.58", "@walmart/financial-wellbeing-feature-app": "1.20.1", "@walmart/functional-components": "~4.0.3",
version bump
version bump
7c07ddb684cf56cd2d474b2c05464c4d46ff1137
--- ios/Podfile.lock @@ -16,7 +16,7 @@ PODS: - BVLinearGradient (2.6.2): - React-Core - CocoaAsyncSocket (7.6.5) - - compass-sdk-rn (3.16.17): + - compass-sdk-rn (4.0.0): - React-Core - DoubleConversion (1.1.6) - FBLazyVector (0.70.9) @@ -1164,7 +1164,7 @@ SPEC CHECKSUMS: boost: a7c83b31436843459a1961bfd74b96033dc77234 BVLinearGradient: 34a999fda29036898a09c6a6b728b0b4189e1a44 CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 - compass-sdk-rn: ae72c59724e5864ef20582e487c93187a87dd4fa + compass-sdk-rn: 0d89df3396f4a3da1d0eeea454a6e5f98373b3f3 DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 FBLazyVector: bc76253beb7463b688aa6af913b822ed631de31a FBReactNativeSpec: 85d34420d92cb178897de05e3aba90e7a8568162
Updated pod file with latest compass sdk rn version
Updated pod file with latest compass sdk rn version
27a7de477288fb6e87a88af015eb1786128e5d75
--- package-lock.json @@ -35,7 +35,7 @@ "@walmart/allspark-neon-core": "0.1.31", "@walmart/amp-mini-app": "1.1.30", "@walmart/ask-sam-chat-components": "^0.2.7", - "@walmart/ask-sam-mini-app": "1.3.71", + "@walmart/ask-sam-mini-app": "1.3.73", "@walmart/attendance-mini-app": "0.86.0", "@walmart/config-components": "4.1.0-rc.4", "@walmart/core-services": "~2.0.19", @@ -4796,9 +4796,9 @@ } }, "node_modules/@walmart/ask-sam-mini-app": { - "version": "1.3.71", - "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.71.tgz", - "integrity": "sha512-VBc4w4HOVjNoPOiJ/W12Wkm6QxGxf9bhOjhRs9udvXYYfJrPl6lRjH+CYujMf1lUPYvz5DEkQI5rtCGQUWnWcg==", + "version": "1.3.73", + "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.73.tgz", + "integrity": "sha512-VRlp6HANsraYa9Wvc5wxgOI2muWf7PeKLvqY3QKy0rEwjV2AIaOUGiIrcWFIBZDgcDmBMXoyjkGKKmzIGfLl6g==", "license": "NONE", "dependencies": { "apisauce": "^1.1.2", @@ -25105,9 +25105,9 @@ } }, "@walmart/ask-sam-mini-app": { - "version": "1.3.71", - "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.71.tgz", - "integrity": "sha512-VBc4w4HOVjNoPOiJ/W12Wkm6QxGxf9bhOjhRs9udvXYYfJrPl6lRjH+CYujMf1lUPYvz5DEkQI5rtCGQUWnWcg==", + "version": "1.3.73", + "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.73.tgz", + "integrity": "sha512-VRlp6HANsraYa9Wvc5wxgOI2muWf7PeKLvqY3QKy0rEwjV2AIaOUGiIrcWFIBZDgcDmBMXoyjkGKKmzIGfLl6g==", "requires": { "apisauce": "^1.1.2", "axios-cache-adapter": "^2.7.3", --- package.json @@ -77,7 +77,7 @@ "@walmart/allspark-neon-core": "0.1.31", "@walmart/amp-mini-app": "1.1.30", "@walmart/ask-sam-chat-components": "^0.2.7", - "@walmart/ask-sam-mini-app": "1.3.71", + "@walmart/ask-sam-mini-app": "1.3.73", "@walmart/attendance-mini-app": "0.86.0", "@walmart/config-components": "4.1.0-rc.4", "@walmart/core-services": "~2.0.19",
ALLSPARK-1836: setting the config when channel Id changes
ALLSPARK-1836: setting the config when channel Id changes
aabf18f3987769420852510d88d1b13c00bbbb30
--- targets/US/package.json @@ -84,7 +84,7 @@ "@walmart/allspark-utils": "6.5.0", "@walmart/amp-mini-app": "1.1.98", "@walmart/ask-sam-chat-components": "^0.2.7", - "@walmart/ask-sam-mini-app": "1.28.12", + "@walmart/ask-sam-mini-app": "1.28.17", "@walmart/associate-listening-mini-app": "1.2.10", "@walmart/attendance-mini-app": "3.96.2", "@walmart/avp-feature-app": "0.10.19", --- yarn.lock @@ -6292,9 +6292,9 @@ __metadata: languageName: node linkType: hard -"@walmart/ask-sam-mini-app@npm:1.28.12": - version: 1.28.12 - resolution: "@walmart/ask-sam-mini-app@npm:1.28.12::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fask-sam-mini-app%2F-%2Fask-sam-mini-app-1.28.12.tgz" +"@walmart/ask-sam-mini-app@npm:1.28.17": + version: 1.28.17 + resolution: "@walmart/ask-sam-mini-app@npm:1.28.17::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fask-sam-mini-app%2F-%2F%40walmart%2Fask-sam-mini-app-1.28.17.tgz" dependencies: apisauce: "npm:^1.1.2" numeral: "npm:^2.0.6" @@ -6339,7 +6339,7 @@ __metadata: react-native-wm-voice-text: ">=0.3" reselect: ">=4" victory-native: ">=36.5" - checksum: 10c0/af4a45ee6e2b3aff2e3447a99abc7a280dab8bb5f2f47ab74f82e5fdec5d13b026f61aee47fa673a1a54927b84b18ab18fd5e94e38bccf89786698cbe941bfe0 + checksum: 10c0/43da61568abdb0b94d9e120204d79efa968629c9a8e7e9a20859f6997b8804efb6af21aeaf0b9a18ea73ffa9fa70face713e72bd9eca032a6b61bfd8701ebe2d languageName: node linkType: hard @@ -7381,7 +7381,7 @@ __metadata: "@walmart/allspark-utils": "npm:6.5.0" "@walmart/amp-mini-app": "npm:1.1.98" "@walmart/ask-sam-chat-components": "npm:^0.2.7" - "@walmart/ask-sam-mini-app": "npm:1.28.12" + "@walmart/ask-sam-mini-app": "npm:1.28.17" "@walmart/associate-listening-mini-app": "npm:1.2.10" "@walmart/attendance-mini-app": "npm:3.96.2" "@walmart/avp-feature-app": "npm:0.10.19"
ask sam version bump -artifactory changes
ask sam version bump -artifactory changes
babe7ecea08858591f521f131a766aff0bbf8db7
--- .looper-pr.yml @@ -5,10 +5,10 @@ envs: variables: APP_NAME: roster-miniapp STAGES_TO_RUN: - LINT: false - UNITTEST: false + LINT: true + UNITTEST: true BUILD: true - SONAR_SCAN: false + SONAR_SCAN: true ARTIFACT_PUBLISH: true AUTO_PR_MONO: false JIRAPREFIX: SSMP --- sonar-project.properties @@ -1,5 +1,5 @@ -sonar.projectKey=com.walmart.stores.allspark.texting -sonar.projectName=TextingMiniApp +sonar.projectKey=com.walmart.stores.allspark.roster +sonar.projectName=RosterMiniApp sonar.projectVersion=1.0.0 sonar.host.url=http://sonar.looper.prod.walmartlabs.com
Update version
Update version
ed626a76722b119f145b5670d9ff7711dee5f63c
--- ios/AllSpark/Info.plist @@ -120,6 +120,7 @@ <string>fetch</string> <string>remote-notification</string> <string>voip</string> + <string>external-accessory</string> </array> <key>UILaunchStoryboardName</key> <string>LaunchScreen-Dev</string>
Update info.plist to have external connections during background mode
Update info.plist to have external connections during background mode
43c2cc68e65a39b9d892326e399e7b5ee3e32a7c
--- package-lock.json @@ -5314,9 +5314,9 @@ "integrity": "sha512-kgl3PpMJiM1hqhpEfLMIEHBdq+e6mKLPZNT3fmJIgO3RZYV3xcCrO2gIacJL3j+nr8DuDdw/FzeCGzKdKurniw==" }, "@walmart/inbox-mini-app": { - "version": "0.59.0", - "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.59.0.tgz", - "integrity": "sha512-xPK2JBVx0AYPlgg+pz1ooVYqc3UCyEAi23FudhKp1JKSNUyV+rp0tNLZL+3GQOmBwmzeZs+7uEtiRKaBsKHRmw==", + "version": "0.60.0", + "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.60.0.tgz", + "integrity": "sha512-em0kIPqdXwWr8bXTF3wzRnQKekwL+7hRjT4+5boyoLHSJWLXBEWV736viUgIGmrTtJHzboBdqa+a2r3aKIo05A==", "requires": { "@walmart/walmart-fiscal-week": "^0.3.6" } --- package.json @@ -95,7 +95,7 @@ "@walmart/gtp-shared-components": "1.8.9", "@walmart/impersonation-mini-app": "1.2.0", "@walmart/ims-print-services-ui": "1.1.4", - "@walmart/inbox-mini-app": "0.59.0", + "@walmart/inbox-mini-app": "0.60.0", "@walmart/iteminfo-mini-app": "5.1.8", "@walmart/manager-approvals-miniapp": "0.1.1", "@walmart/me-field-mini-app": "1.1.30",
update version for empty screen case
update version for empty screen case
188028d8331abf5d1112e2449abe5683b50178e9
--- __tests__/channels/components/__snapshots__/UnreadBadge.test.tsx.snap @@ -10,6 +10,8 @@ exports[`UnreadBadge should display "99+" when unreadCount exceeds 99 1`] = ` [ { "backgroundColor": "#ffc220", + "borderColor": "#803d10", + "borderWidth": 1, }, { "alignItems": "center", @@ -20,7 +22,9 @@ exports[`UnreadBadge should display "99+" when unreadCount exceeds 99 1`] = ` "paddingHorizontal": 4, }, ], - undefined, + { + "borderWidth": 0, + }, ] } testID="unreadBadgeCount" @@ -65,6 +69,8 @@ exports[`UnreadBadge should render the badge when there are unread messages and [ { "backgroundColor": "#ffc220", + "borderColor": "#803d10", + "borderWidth": 1, }, { "alignItems": "center", @@ -75,7 +81,9 @@ exports[`UnreadBadge should render the badge when there are unread messages and "paddingHorizontal": 4, }, ], - undefined, + { + "borderWidth": 0, + }, ] } testID="unreadBadgeCount" --- __tests__/screens/MessagesScreen/__snapshots__/OneToOneChatTests.tsx.snap @@ -472,11 +472,6 @@ exports[`Messages Screen One To One Chat should load list empty state when no me testID="error-component" > <View - accessibilityLabel="error : Connection lost" - accessibilityRole="alert" - accessible={true} - importantForAccessibility="auto" - onAccessibilityAction={[Function]} style={ [ { @@ -543,6 +538,8 @@ exports[`Messages Screen One To One Chat should load list empty state when no me } > <Text + accessibilityRole="alert" + accessible={true} style={ [ { @@ -1311,11 +1308,6 @@ exports[`Messages Screen One To One Chat should send a text message and push not testID="error-component" > <View - accessibilityLabel="error : Connection lost" - accessibilityRole="alert" - accessible={true} - importantForAccessibility="auto" - onAccessibilityAction={[Function]} style={ [ { @@ -1382,6 +1374,8 @@ exports[`Messages Screen One To One Chat should send a text message and push not } > <Text + accessibilityRole="alert" + accessible={true} style={ [ {
feat(ui): update wmconnect version
feat(ui): update wmconnect version
a4a5566e051771d3544051127831c085e695cdf9
--- __tests__/navigation/AssociateHallwayNav/Tabs/__snapshots__/MainTabsNavTest.tsx.snap @@ -71,7 +71,7 @@ exports[`MainTabsNav matches snapshot with badges 1`] = ` } /> <Screen - component="TaskItMiniApp" + component={[Function]} name="taskit" options={ Object { @@ -210,7 +210,7 @@ exports[`MainTabsNav matches snapshot with no badges 1`] = ` } /> <Screen - component="TaskItMiniApp" + component={[Function]} name="taskit" options={ Object { --- __tests__/navigation/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap @@ -126,7 +126,7 @@ Array [ } /> <Screen - component="TaskItQuickActions" + component="GuardedTaskItQuickActions" name="taskItQuickActions" options={ Object {
Updated tests
Updated tests
2cbf4a460ba1d0d671f5fe1cb39c812220a0414d
--- ios/Podfile.lock @@ -427,7 +427,7 @@ PODS: - React - react-native-safe-area-context (3.3.2): - React-Core - - react-native-scanner-3.0 (0.1.10): + - react-native-scanner-3.0 (0.1.11): - Firebase/Analytics - React - ScanditBarcodeCapture (= 6.14.0-beta.3) @@ -1005,7 +1005,7 @@ SPEC CHECKSUMS: react-native-pdf: 33c622cbdf776a649929e8b9d1ce2d313347c4fa react-native-ptt-module: 03c55e2666382002ce515ab08941d81987a4b2e1 react-native-safe-area-context: 5cf05f49df9d17261e40e518481f2e334c6cd4b5 - react-native-scanner-3.0: 998d080253766deb9c281c994f63e70bbe237761 + react-native-scanner-3.0: 9e7b3d5fed5f163a5097b7f1a4461e4084cfcd00 react-native-splash-screen: 200d11d188e2e78cea3ad319964f6142b6384865 react-native-video: 8d97379f3c2322a569f1e27542ad1a646cad9444 react-native-view-shot: 08c46c9e8e92f6681e8f2ffa55ac3d06e7e99070 --- package-lock.json @@ -5449,9 +5449,9 @@ "integrity": "sha512-qxVserzdiG4xsZCLRIwYfRq/KuHsYSPkrl02tKHNhF5bhtWWo6oEUatBoSsY5BL8EVGOHk2ezsPWb2o5pg9Ryw==" }, "@walmart/react-native-scanner-3.0": { - "version": "0.1.10", - "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.1.10.tgz", - "integrity": "sha512-65FfEdUpT99FFpvK4POTP2PlKH1KW648C0xqgA6iLaqDiuWkl6wW4wuoVJ/4zZzvFW8nOK7ozkWmpAmPO/c7+g==" + "version": "0.1.11", + "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.1.11.tgz", + "integrity": "sha512-MOGuQwmFN+UoKheiT8BhpynchZf7JPFWYSjBlyP6keziyZ0FZhBIBC0XT/NkqNMfqebUAdZAqz5q2SvMMSWlNQ==" }, "@walmart/react-native-shared-navigation": { "version": "1.0.2", --- package.json @@ -107,7 +107,7 @@ "@walmart/react-native-encrypted-storage": "1.1.3", "@walmart/react-native-env": "^0.2.0", "@walmart/react-native-logger": "^1.29.0", - "@walmart/react-native-scanner-3.0": "0.1.10", + "@walmart/react-native-scanner-3.0": "0.1.11", "@walmart/react-native-shared-navigation": "1.0.2", "@walmart/react-native-store-map": "^0.3.7", "@walmart/react-native-sumo-sdk": "2.2.2-beta.2",
Scanner3: Android hot fix for crash on first install
Scanner3: Android hot fix for crash on first install
a7a2f5176bf06332ddba2b522de94b703c751895
--- __tests__/screens/TabsScreenTest.tsx @@ -0,0 +1,6 @@ +// eslint-disable-next-line @typescript-eslint/no-unused-vars +import React from 'react'; + +describe('TabsScreen', () => { + it('Should display clocked out screen guard if user clocked out', () => {}); +}); --- src/components/ClockedOutScreenGuard.tsx @@ -8,7 +8,7 @@ import {StyleSheet} from 'react-native'; import {Alert} from '@walmart/gtp-shared-components'; import {useSelector} from 'react-redux'; import {ClockStatusSelectors} from '@walmart/redux-store'; -import {useTranslation} from "@walmart/core-services/Translations"; +import {useTranslation} from '@walmart/core-services/Translations'; const styles = StyleSheet.create({ warning: { --- __tests__/screens/TabsScreenTest.tsx @@ -0,0 +1,6 @@ +// eslint-disable-next-line @typescript-eslint/no-unused-vars +import React from 'react'; + +describe('TabsScreen', () => { + it('Should display clocked out screen guard if user clocked out', () => {}); +}); --- src/components/ClockedOutScreenGuard.tsx @@ -8,7 +8,7 @@ import {StyleSheet} from 'react-native'; import {Alert} from '@walmart/gtp-shared-components'; import {useSelector} from 'react-redux'; import {ClockStatusSelectors} from '@walmart/redux-store'; -import {useTranslation} from "@walmart/core-services/Translations"; +import {useTranslation} from '@walmart/core-services/Translations'; const styles = StyleSheet.create({ warning: {
adding test case
adding test case
69390eadbe559897c89f5a4d3c5bcb10e94f9ff4
--- __tests__/components/RosterDetailPageHeader.test.tsx @@ -7,6 +7,7 @@ describe('RosterDetailPageHeader', () => { header: 'Entertainment', subText: 'See associates on your team', teamId: '123', + linkText: 'View other teams', handleNavigation: jest.fn(), }; @@ -16,6 +17,7 @@ describe('RosterDetailPageHeader', () => { ); expect(getByText('Entertainment')).toBeTruthy(); expect(getByText('See associates on your team')).toBeTruthy(); + expect(getByText('View other teams')).toBeTruthy(); expect(toJSON()).toMatchSnapshot(); }); --- __tests__/harness/redux/mockState/authState.ts @@ -1,18 +0,0 @@ -import {AuthResult, AuthState} from '@walmart/allspark-foundation/Auth'; - -const authData: AuthResult = { - // @ts-ignore - expirationDate: 'fake-expiration-date', - lastRefreshTime: 1234, -}; - -export const authState: AuthState = { - signingIn: false, - signInError: false, - signingOut: false, - signOutError: false, - fetchingToken: false, - fetchTokenError: false, - loaded: true, - data: authData, -}; --- __tests__/harness/redux/mockState/clockStatusState.ts @@ -1,18 +0,0 @@ -import { - ClockState, - ClockStatus, - ClockData, -} from '@walmart/allspark-foundation/Clock'; - -const clockCheckState: ClockData = { - clockStatus: ClockStatus.clockedIn, -}; - -export const clockStatusState: ClockState = { - initializing: false, - initialized: true, - loading: false, - loaded: true, - error: false, - data: clockCheckState, -}; --- __tests__/harness/redux/mockState/deviceInfoState.ts @@ -1,8 +0,0 @@ -import {DeviceState} from '@walmart/allspark-foundation/Device'; - -export const deviceInfoState: DeviceState = { - loading: false, - loaded: true, - error: false, - data: null, -}; --- __tests__/harness/redux/mockState/index.ts @@ -1,22 +1,10 @@ import {IAllsparkReduxState as GlobalState} from '@walmart/allspark-foundation/Redux'; -const {clockStatusState} = require('./clockStatusState'); -const {textingState} = require('./textingState'); const {hourlyUserState} = require('./userState'); const {appConfigState} = require('./appConfigState'); const {siteState} = require('./siteState'); -const {localeState} = require('./localeState'); -const {versionsState} = require('./versionsState'); -const {deviceInfoState} = require('./deviceInfoState'); -const {authState} = require('./authState'); export const initialStateMock: Partial<GlobalState> = { - auth: authState, user: hourlyUserState, site: siteState, - clockStatus: clockStatusState, - locale: localeState, - versions: versionsState, - deviceInfo: deviceInfoState, appConfig: appConfigState, - roster: textingState, }; --- __tests__/harness/redux/mockState/localeState.ts @@ -1,7 +0,0 @@ -export const localeState = { - loaded: true, - error: false, - fetchingLocale: false, - fetchingLocaleError: false, - data: null, -}; --- __tests__/harness/redux/mockState/textingState.ts @@ -1,10 +0,0 @@ -export const textingState = { - unreadMessagesCount: 0, - unreadChannelsCount: 0, - uploadingBlob: false, - sasToken: 'fake-SAS-token', - isReceivingPTT: false, - blobContainer: '/path/to/blob', - localBlobStorageAvailable: false, - teamLeadJobDescriptions: ['team lead'], -}; --- __tests__/harness/redux/mockState/versionsState.ts @@ -1,7 +0,0 @@ -export const versionsState = { - loaded: true, - error: false, - fetchingVersions: false, - fetchingVersionsError: false, - data: null, -}; --- __tests__/logger/analytics.test.tsx @@ -1,5 +1,5 @@ import {cleanup} from '@testing-library/react-native'; -import {analytics} from '../../src/logger/Analytics'; +import {analytics} from '../../src/logger/analytics'; import {rosterTelemetry} from '../../src/common/telemetry'; import random from 'lodash/random'; --- __tests__/utils/teams.test.ts --- __tests__/utils/user.test.ts --- src/navigation/utils.ts @@ -1,6 +1,6 @@ import {AllsparkNavigationClient} from '@walmart/allspark-foundation/Navigation'; import namecase from 'namecase'; -import {analytics} from '../logger/Analytics'; +import {analytics} from '../logger/analytics'; import {logger} from '../common/logger'; import {isNil} from 'lodash'; --- src/screens/AllTeamsScreen/AllTeamsScreen.tsx @@ -14,7 +14,7 @@ import {createAllTeamsSections} from '../../utils/allTeams'; import {AllTeamsLoadingScreen} from './AllTeamsLoadingScreen'; import {NavigationProp, useNavigation} from '@react-navigation/native'; import {RosterNavParamsMap} from '../../navigation'; -import {analytics} from '../../logger/Analytics'; +import {analytics} from '../../logger/analytics'; import { TOTAL_STORE_TEAM_ID, TOTAL_STORE_TEAM_LABEL, --- src/screens/RosterDetailScreen/RosterDetailScreen.tsx @@ -39,7 +39,7 @@ import {FlashList} from '@shopify/flash-list'; import {useSafeAreaInsets} from 'react-native-safe-area-context'; import {AssociateListLoading} from '../../components/AssociateList/AssociateListLoading'; import {AssociateListItem} from '../../components/AssociateList/AssociateListItem'; -import {analytics} from '../../logger/Analytics'; +import {analytics} from '../../logger/analytics'; import moment from 'moment'; import {Alert, Body} from '@walmart/gtp-shared-components'; import {
feat: misc cleanup
feat: misc cleanup
b54d3b279462bd1999c6cae624a5b987bcea3422
--- package.json @@ -83,7 +83,7 @@ "@walmart/allspark-utils": "6.5.3", "@walmart/amp-mini-app": "1.1.98", "@walmart/ask-sam-chat-components": "^0.2.7", - "@walmart/ask-sam-mini-app": "1.29.3", + "@walmart/ask-sam-mini-app": "1.29.5", "@walmart/associate-listening-mini-app": "1.2.14", "@walmart/attendance-mini-app": "3.156.0", "@walmart/avp-feature-app": "0.16.12", --- yarn.lock @@ -7285,9 +7285,9 @@ __metadata: languageName: node linkType: hard -"@walmart/ask-sam-mini-app@npm:1.29.3": - version: 1.29.3 - resolution: "@walmart/ask-sam-mini-app@npm:1.29.3::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fask-sam-mini-app%2F-%2F%40walmart%2Fask-sam-mini-app-1.29.3.tgz" +"@walmart/ask-sam-mini-app@npm:1.29.5": + version: 1.29.5 + resolution: "@walmart/ask-sam-mini-app@npm:1.29.5::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fask-sam-mini-app%2F-%2F%40walmart%2Fask-sam-mini-app-1.29.5.tgz" dependencies: apisauce: "npm:^1.1.2" numeral: "npm:^2.0.6" @@ -7332,7 +7332,7 @@ __metadata: react-native-wm-voice-text: ">=0.3" reselect: ">=4" victory-native: ">=36.5" - checksum: 10c0/965c9a2698b5bea208afcc4b1a6936440d293e3597ad8b729e6546cd20bcb5d65853c3b7da1627ae96929a93a2918bf6a50672b2234c4e351d180d1cd596a30e + checksum: 10c0/ca7a9b5ec5565944ae7d10e644d0c8c68621bf59f9473a49f49006437054ea9e7830527aab29e9af24e2fa9b9871efa19f50ef69106ca34bf6d3d6330e32892f languageName: node linkType: hard @@ -8256,7 +8256,7 @@ __metadata: "@walmart/allspark-utils": "npm:6.5.3" "@walmart/amp-mini-app": "npm:1.1.98" "@walmart/ask-sam-chat-components": "npm:^0.2.7" - "@walmart/ask-sam-mini-app": "npm:1.29.3" + "@walmart/ask-sam-mini-app": "npm:1.29.5" "@walmart/associate-listening-mini-app": "npm:1.2.14" "@walmart/attendance-mini-app": "npm:3.156.0" "@walmart/avp-feature-app": "npm:0.16.12"
refactor(buildconversepayload-assistant/converse): SMBLV-8901 ccm
refactor(buildconversepayload-assistant/converse): SMBLV-8901 ccm