commit_hash stringlengths 40 40 | input stringlengths 13 7.99k | output stringlengths 5 155 | full_message stringlengths 6 8.96k |
|---|---|---|---|
be889dc18eae68807d39ce4062f67fe72b31c707 | --- ios/Podfile.lock
@@ -410,7 +410,7 @@ PODS:
- RNPermissions
- PromisesObjC (1.2.12)
- Protobuf (3.14.0)
- - PTT (0.5.11):
+ - PTT (0.5.16-stg):
- BinaryCodable (~> 0.2.1)
- CocoaAsyncSocket (~> 7.6.3)
- Starscream (~> 3.0.2)
@@ -590,8 +590,8 @@ PODS:
- React-Core
- react-native-pdf (6.2.2):
- React-Core
- - react-native-ptt-module (1.2.5):
- - PTT (= 0.5.11)
+ - react-native-ptt-module (1.2.12):
+ - PTT (= 0.5.16-stg)
- React
- react-native-safe-area-context (3.1.8):
- React-Core
@@ -1038,7 +1038,7 @@ SPEC CHECKSUMS:
Permission-Notifications: 4325073de6e418cfbbdd8d296822c419d8ddc7ef
PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97
Protobuf: 0cde852566359049847168e51bd1c690e0f70056
- PTT: 9aaf05f7d53510d5c760d3db980819371eb84971
+ PTT: 4e998274c95cb1225659f640e9c06ddbc686915e
RCTRequired: f13f25e7b12f925f1f6a6a8c69d929a03c0129fe
RCTTypeSafety: 44982c5c8e43ff4141eb519a8ddc88059acd1f3a
React: e1c65dd41cb9db13b99f24608e47dd595f28ca9a
@@ -1054,7 +1054,7 @@ SPEC CHECKSUMS:
react-native-logger: 88537463b366327369573223d504dc806fccde02
react-native-netinfo: e36c1bb6df27ab84aa933679b3f5bbf9d180b18f
react-native-pdf: 4b5a9e4465a6a3b399e91dc4838eb44ddf716d1f
- react-native-ptt-module: c59650c285203ee68b084b850a59eb34c9065d81
+ react-native-ptt-module: 5349e9414aa2cbf015aeae856d873767368a0287
react-native-safe-area-context: 01158a92c300895d79dee447e980672dc3fb85a6
react-native-splash-screen: 200d11d188e2e78cea3ad319964f6142b6384865
react-native-sumo-sdk: 8a034fe724417d8c9465951630e229edef2f738f
--- package-lock.json
@@ -3124,9 +3124,9 @@
}
},
"@walmart/push-to-talk-mini-app": {
- "version": "0.2.7",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.2.7.tgz",
- "integrity": "sha512-uVUSnN70DvhpAHdufW9wv1CtqHswHeqDXnYX+kKGctOnLtk8TT3A9nxiNc0y0N8Nf/Y2APmJ1wiTT8Hfs/yPrA=="
+ "version": "0.3.0",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.3.0.tgz",
+ "integrity": "sha512-njw8kpPIVA1gRVe+Y0o/bNnY2kwVi+vuazW3iTTcL80czDDrF+IOMvVdkQKPN/f7IZdhi22PbInT0kotlGkXZw=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
@@ -12258,9 +12258,9 @@
"integrity": "sha512-PO99dptMocEfUSS3SM7gY6UqophaBxizKjnZ7FcEwa+H4ONVxTk310/JCXJ9vdNunomgpxHluKRXnApfm9Md1w=="
},
"react-native-ptt-module": {
- "version": "1.2.5",
- "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.2.5.tgz",
- "integrity": "sha512-++OzmoJTQFDbZRqUFfYo9DkIa+6r/9sA7qKUI9tAhMe8y7bJlHFUMwvCcMCHYwPaJJV8v3ubjgMUwaHjcUpDDw=="
+ "version": "1.2.12",
+ "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.2.12.tgz",
+ "integrity": "sha512-vyg/uJw+mmho3tw7oadDOX/fQcSsiG8WafGqp3ydBl0i5Dy0UWzNMzQtyzOVeKBDB5o+iaEpKij+CzI9qXD2FA=="
},
"react-native-qrcode-svg": {
"version": "6.0.6",
--- package.json
@@ -58,7 +58,7 @@
"@walmart/impersonation-mini-app": "1.0.12",
"@walmart/inbox-mini-app": "0.0.53",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/push-to-talk-mini-app": "0.2.7",
+ "@walmart/push-to-talk-mini-app": "0.3.0",
"@walmart/react-native-env": "^0.1.0",
"@walmart/react-native-logger": "^1.22.0",
"@walmart/react-native-shared-navigation": "^0.3.0",
@@ -88,7 +88,7 @@
"react-native-pdf": "^6.2.0",
"react-native-permissions": "3.0.0",
"react-native-popup-menu": "^0.15.9",
- "react-native-ptt-module": "1.2.5",
+ "react-native-ptt-module": "1.2.12",
"react-native-qrcode-svg": "^6.0.6",
"react-native-reanimated": "^1.10.2",
"react-native-safe-area-context": "^3.1.3",
| Bumping PTT version (#366) | Bumping PTT version (#366)
|
31dfa3dd8bbbc504e73dedaa9b3101f5e9a6ff83 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "3.0.2-alpha.3",
+ "version": "3.0.2-alpha.4",
"main": "dist/index.js",
"files": [
"dist",
| chore(ui): update roster and myteam mini app | chore(ui): update roster and myteam mini app
|
83d994297f93cf8db21a99a2e6fbbc64947678f0 | --- package-lock.json
@@ -37,7 +37,7 @@
"@walmart/amp-mini-app": "1.0.11",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.3.52",
- "@walmart/attendance-mini-app": "0.51.0",
+ "@walmart/attendance-mini-app": "0.52.0",
"@walmart/config-components": "4.0.2",
"@walmart/core-services": "~1.4.11",
"@walmart/core-services-allspark": "~2.2.2",
@@ -5562,9 +5562,9 @@
}
},
"node_modules/@walmart/attendance-mini-app": {
- "version": "0.51.0",
- "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.51.0.tgz",
- "integrity": "sha512-tvZ9xBgHXMYQZTLP99qBz8zcxUokq8/P7uH4J0JdzpeH3n9b6avtQPaQidLFrs7l1LQHbRMfC8AIxTJpafVQ4Q==",
+ "version": "0.52.0",
+ "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.52.0.tgz",
+ "integrity": "sha512-uEf2w6eAKfVEDtaEzFDSVzI8IyVRvg3Dg+oQ0LXwE0pRe4Me+FNat3DKYE22ZaXC8xzyod4kSnFYLOVnRcpLcg==",
"dependencies": {
"@walmart/gta-react-native-calendars": "0.0.16",
"moment-timezone": "0.5.40",
@@ -29106,9 +29106,9 @@
}
},
"@walmart/attendance-mini-app": {
- "version": "0.51.0",
- "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.51.0.tgz",
- "integrity": "sha512-tvZ9xBgHXMYQZTLP99qBz8zcxUokq8/P7uH4J0JdzpeH3n9b6avtQPaQidLFrs7l1LQHbRMfC8AIxTJpafVQ4Q==",
+ "version": "0.52.0",
+ "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.52.0.tgz",
+ "integrity": "sha512-uEf2w6eAKfVEDtaEzFDSVzI8IyVRvg3Dg+oQ0LXwE0pRe4Me+FNat3DKYE22ZaXC8xzyod4kSnFYLOVnRcpLcg==",
"requires": {
"@walmart/gta-react-native-calendars": "0.0.16",
"moment-timezone": "0.5.40",
--- package.json
@@ -79,7 +79,7 @@
"@walmart/amp-mini-app": "1.0.11",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.3.52",
- "@walmart/attendance-mini-app": "0.51.0",
+ "@walmart/attendance-mini-app": "0.52.0",
"@walmart/config-components": "4.0.2",
"@walmart/core-services": "~1.4.11",
"@walmart/core-services-allspark": "~2.2.2",
| Bump AMA to 0.52.0 | Bump AMA to 0.52.0
|
fe16c11dfc9caeb2dc444b16e40c12177c2ace9f | --- .looper.yml
@@ -34,9 +34,9 @@ triggers:
# - manual:
# name: Publish Major
# call: publishMajor
- # - manual:
- # name: Publish Pre-Release
- # call: publishPrerelease
+ - manual:
+ name: Publish Pre-Release
+ call: publishPrerelease
# - manual:
# name: Publish Graduate
# call: publishGraduate
| feat: enable publish pre release trigger | feat: enable publish pre release trigger
|
39f1d88add2cf8ef528d451e37ed1b071bddf242 | --- package.json
@@ -13,7 +13,7 @@
"clean:tsbuildinfo": "rm -rf packages/*.tsbuildinfo || true",
"clean": "yarn run clean:tsbuildinfo && yarn workspaces foreach --all --topological-dev run clean",
"commit": "commit",
- "coverage": "jest --coverage",
+ "coverage": "jest --coverage --no-watchman",
"lint": "yarn workspaces foreach --all -p run lint",
"lint:fix": "yarn workspaces foreach --all -p run lint:fix",
"prepare": "husky",
| update jest without watchman | update jest without watchman
|
6f92ad6ceb8f22e08e5354d51bf4339696ff70c7 | --- fastlane/Fastfile
@@ -35,7 +35,7 @@ end
desc 'Set xcode version'
lane :set_xcodeversion do |values|
- xcversion(version:"13.0")
+ xcode_select('/Applications/xcode_version/Xcode_13.app/Contents/Developer/')
end
desc 'Evaluate and Set Build Number and Version Code'
| update hallway | update hallway
|
72891cbed184ad201a90275c72c31cd6a80d5278 | --- __tests__/__mocks__/@walmart/allspark-home-mini-app.js
@@ -1,3 +1,6 @@
module.exports = {
HomeMiniApp: 'HomeMiniApp',
+ Screens: {
+ CelebrationListScreen: 'CelebrationListScreen',
+ },
};
--- __tests__/navigation/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap
@@ -187,6 +187,15 @@ exports[`AssociateHallwayNav matches snapshot 1`] = `
}
}
/>
+ <Screen
+ component="CelebrationListScreen"
+ name="AnniversaryListScreen"
+ options={
+ Object {
+ "headerShown": false,
+ }
+ }
+ />
<Screen
component="GuardedExceptionMiniApp"
name="Pinpoint"
@@ -415,6 +424,15 @@ exports[`AssociateHallwayNav matches snapshot when time value are undefined 1`]
}
}
/>
+ <Screen
+ component="CelebrationListScreen"
+ name="AnniversaryListScreen"
+ options={
+ Object {
+ "headerShown": false,
+ }
+ }
+ />
<Screen
component="GuardedExceptionMiniApp"
name="Pinpoint"
--- package-lock.json
@@ -3272,9 +3272,9 @@
}
},
"@walmart/allspark-home-mini-app": {
- "version": "0.4.24",
- "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.4.24.tgz",
- "integrity": "sha512-dScm3ED9DeCV/UCnX0sLuXKRh8TCkVjtfmTAZzCqbawza/SFpx/CFU5jSB2O0t8KyLf8/0X3CMY2v7Kj9g1f1g==",
+ "version": "0.4.38",
+ "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.4.38.tgz",
+ "integrity": "sha512-ruD2ZC00TozaM15tyqnNkJRhk5cNOWBkd+rgolmOsfRkHp+ACJfSGhDSqovSbOsjBZT2rkjb5thVVBSlxqCdRQ==",
"requires": {
"moment": "^2.29.0",
"uuid": "^8.3.1"
--- package.json
@@ -65,7 +65,7 @@
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@walmart/shelfavailability-mini-app": "0.3.61",
"@walmart/allspark-health-survey-mini-app": "0.0.41",
- "@walmart/allspark-home-mini-app": "0.4.24",
+ "@walmart/allspark-home-mini-app": "0.4.38",
"@walmart/allspark-me-mini-app": "0.1.0",
"@walmart/ask-sam-mini-app": "0.30.10",
"@walmart/config-components": "^1.0.26",
--- src/navigation/AssociateHallwayNav/MainStackNav.tsx
@@ -17,6 +17,7 @@ import {HealthSurveyMiniApp} from '@walmart/allspark-health-survey-mini-app';
import SettingsMiniApp from '@walmart/settings-mini-app';
import ImpersonationMiniApp from '@walmart/impersonation-mini-app';
import {Components, Properties} from '@walmart/push-to-talk-mini-app';
+import {Screens} from '@walmart/allspark-home-mini-app';
import {FeedbackMiniApp} from '@walmart/feedback-all-spark-miniapp';
import {FeedbackDialogScreen} from '@walmart/feedback-all-spark-miniapp/dist/src/feedback/containers/FeedbackDialogScreen';
import {SurveySaysDialogScreen} from '@walmart/feedback-all-spark-miniapp/dist/src/feedback/containers/SurveySaysDialogScreen';
@@ -271,6 +272,11 @@ export const MainStackNav = () => {
component={ImpersonationMiniApp}
options={{headerShown: false}}
/>
+ <MainStack.Screen
+ name='AnniversaryListScreen'
+ component={Screens.CelebrationListScreen}
+ options={{headerShown: false}}
+ />
{WorkMiniAppScreens}
</MainStack.Navigator>
| Updated version number. | Updated version number.
|
26198bf702872a79a687f7fdc0aeed1fce30c3f4 | --- packages/allspark-foundation/src/Navigation/NavigationManager.ts
@@ -192,7 +192,7 @@ export class NavigationManager<
theme: this._config.theme as Theme,
linking: this._linkingService.linking,
// If using deprecated navigation enable navigation in child
- navigationInChildEnabled: this._config.useDeprecatedNavigation,
+ navigationInChildEnabled: Boolean(this._config.useDeprecatedNavigation),
};
}
--- packages/allspark-foundation/src/Navigation/NavigationModule.tsx
@@ -117,7 +117,6 @@ export class NavigationModule {
return (
<ContainerComponent
- navigationInChildEnabled={true}
{...this._instance?._manager.NavigationContainerProps}
testID='nav-container'
>
| fix: disable navigationInChildEnabled (#460) | fix: disable navigationInChildEnabled (#460)
Co-authored-by: Shubhang Shah <s0s0zug@homeoffice.wal-mart.com> |
98241782ef34f75a274f51eda6130b74bfcf9326 | --- __tests__/setup.ts
@@ -12,6 +12,9 @@ jest.mock('@walmart/functional-components', () => {
};
});
+jest.mock('expo-image');
+jest.mock('expo-modules-core');
+
// ------ React Navigator Related Mocks: https://reactnavigation.org/docs/testing/ ----- //
import 'react-native-gesture-handler/jestSetup';
jest.mock('react-native-reanimated', () => {
--- src/managerExperience/components/AssociateListItem/AssociateAvatar.tsx
@@ -1,27 +1,26 @@
import React from 'react';
import {Text, View} from 'react-native';
+import {Image} from 'expo-image';
import {associateAvatarStyles as styles} from './styles';
import {generateAssociateInitials} from '../../utils/associateList';
import {AssociateAvatarProps} from './types';
-import {useAllsparkImage} from '@walmart/allspark-foundation/Components/context';
export const AssociateAvatar = ({
associateName,
isClockedIn,
profileImageUrl,
}: AssociateAvatarProps) => {
- const Image = useAllsparkImage();
return (
<View>
<View style={styles.initialsContainer}>
{profileImageUrl ? (
- <Image
- testID='associate-profile-picture'
- source={{
- uri: profileImageUrl,
- }}
- style={styles.profileImage}
- />
+ <View testID='associate-profile-picture'>
+ <Image
+ contentFit='contain'
+ source={profileImageUrl}
+ style={styles.profileImage}
+ />
+ </View>
) : (
<Text style={styles.associateInitials}>
{generateAssociateInitials(associateName)}
| feat: fixed expo image tests | feat: fixed expo image tests
|
f096c96fa34ddeb759fdb8151633223cbe09df78 | --- package.json
@@ -109,7 +109,7 @@
"@walmart/exception-mini-app": "1.8.19",
"@walmart/expo-config-plugins": "~0.5.3",
"@walmart/facilities-management-miniapp": "0.18.33",
- "@walmart/feedback-all-spark-miniapp": "0.9.75",
+ "@walmart/feedback-all-spark-miniapp": "patch:@walmart/feedback-all-spark-miniapp@npm%3A0.9.75#~/.yarn/patches/@walmart-feedback-all-spark-miniapp-npm-0.9.75-733d2d347a.patch",
"@walmart/financial-wellbeing-feature-app": "1.31.6",
"@walmart/functional-components": "~6.3.28",
"@walmart/global-vpi-mini-app": "1.1.40",
--- yarn.lock
@@ -7809,6 +7809,29 @@ __metadata:
languageName: node
linkType: hard
+"@walmart/feedback-all-spark-miniapp@patch:@walmart/feedback-all-spark-miniapp@npm%3A0.9.75#~/.yarn/patches/@walmart-feedback-all-spark-miniapp-npm-0.9.75-733d2d347a.patch":
+ version: 0.9.75
+ resolution: "@walmart/feedback-all-spark-miniapp@patch:@walmart/feedback-all-spark-miniapp@npm%3A0.9.75%3A%3A__archiveUrl=https%253A%252F%252Fnpm.ci.artifacts.walmart.com%253A443%252Fartifactory%252Fapi%252Fnpm%252Fnpme-npm%252F%2540walmart%252Ffeedback-all-spark-miniapp%252F-%252F%2540walmart%252Ffeedback-all-spark-miniapp-0.9.75.tgz#~/.yarn/patches/@walmart-feedback-all-spark-miniapp-npm-0.9.75-733d2d347a.patch::version=0.9.75&hash=f7be98"
+ peerDependencies:
+ "@react-navigation/native": ^6.0.0
+ "@react-navigation/stack": ^6.1.0
+ "@walmart/allspark-foundation": "*"
+ "@walmart/core-services": ">=6"
+ "@walmart/gtp-shared-components": ^2.1.9
+ "@walmart/react-native-shared-navigation": ">=1.0.2"
+ "@walmart/redux-store": ">=6"
+ "@walmart/ui-components": ">=1.10.1"
+ crypto-js: ~4.2.0
+ react: ^18.2.0
+ react-native: ~0.73.7
+ react-navigation: ^4.4.3
+ react-redux: ^7.2.1
+ reduxsauce: ^1.2.0
+ reselect: ^4.0.0
+ checksum: 10c0/7fdd906c973c9b359ee6c497e404dde8ed12602d86dd2ce0ba0c8d7fa4fb678b41e0ad525460ca42c2ee9526f3c187e55bcb1c9d9b4ffa957ee1c7401baa0954
+ languageName: node
+ linkType: hard
+
"@walmart/financial-wellbeing-feature-app@npm:1.31.6":
version: 1.31.6
resolution: "@walmart/financial-wellbeing-feature-app@npm:1.31.6::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ffinancial-wellbeing-feature-app%2F-%2F%40walmart%2Ffinancial-wellbeing-feature-app-1.31.6.tgz"
@@ -8327,7 +8350,7 @@ __metadata:
"@walmart/exception-mini-app": "npm:1.8.19"
"@walmart/expo-config-plugins": "npm:~0.5.3"
"@walmart/facilities-management-miniapp": "npm:0.18.33"
- "@walmart/feedback-all-spark-miniapp": "npm:0.9.75"
+ "@walmart/feedback-all-spark-miniapp": "patch:@walmart/feedback-all-spark-miniapp@npm%3A0.9.75#~/.yarn/patches/@walmart-feedback-all-spark-miniapp-npm-0.9.75-733d2d347a.patch"
"@walmart/financial-wellbeing-feature-app": "npm:1.31.6"
"@walmart/functional-components": "npm:~6.3.28"
"@walmart/global-vpi-mini-app": "npm:1.1.40"
| fix: apply feedback mini app patch from drop 33 | fix: apply feedback mini app patch from drop 33
|
1097edcf4eb3a3e7baedcb7457e818479324bcc5 | --- src/translations/utils.ts
@@ -1,16 +1,28 @@
/* eslint-disable curly */
import {Platform, NativeModules} from 'react-native';
+import {localeActions, Locale} from '@walmart/redux-store';
import {LocalStorage} from '../core/LocalStorage';
import {Translation} from './index';
-export const LANGUAGE_KEY = 'allspark_language';
+// Settings was also maintaining this in async storage for some reason so
+// moving to use their key.
+export const LANGUAGE_KEY = 'settings/selectedLocale';
-// Returns language code base on device settings
-export const getDeviceLanguage = async () => {
- const persistedLanguage = await LocalStorage.get(LANGUAGE_KEY);
+export const getPersistedLanguage = async () => {
+ try {
+ const persistedLocale = await LocalStorage.get(LANGUAGE_KEY);
- if (persistedLanguage) return persistedLanguage;
+ if (persistedLocale) {
+ const localeState: Locale = JSON.parse(persistedLocale);
+ return localeState.language;
+ }
+ } catch (e) {
+ return null;
+ }
+};
+// Returns language code base on device settings
+export const getDeviceLanguage = async () => {
const deviceLanguage =
Platform.OS === 'ios'
? NativeModules.SettingsManager?.settings?.AppleLocale ||
@@ -26,19 +38,33 @@ export const getDeviceLanguage = async () => {
return 'en-US';
};
-export const persistLanguage = (lng: string) => {
- LocalStorage.set(LANGUAGE_KEY, lng);
+export const getLocaleForLanguage = (language: string): Locale => ({
+ language,
+ languageCode: language === 'en-US' ? 101 : 102,
+});
+
+export const onLanguageChange = (language: string) => {
+ const locale = getLocaleForLanguage(language);
+
+ LocalStorage.set(LANGUAGE_KEY, JSON.stringify(locale));
+ localeActions.localeConfigSuccess(locale);
};
export const syncDeviceLanguage = async () => {
- const deviceLanguage = await getDeviceLanguage();
+ let language = await getPersistedLanguage();
+
+ if (!language) {
+ language = await getDeviceLanguage();
+ }
+
const currentLanguage = Translation.language;
- if (deviceLanguage !== currentLanguage) {
- Translation.changeLanguage(deviceLanguage);
+ if (language !== currentLanguage) {
+ Translation.changeLanguage(language);
+ localeActions.localeConfigSuccess(getLocaleForLanguage(language));
}
- Translation.on('languageChanged', persistLanguage);
+ Translation.on('languageChanged', onLanguageChange);
};
// Mini apps add resources on init. The initial init above happens before their
| Update translation to sync with redux | Update translation to sync with redux
|
3cf4e5afed84e194b296f3cd42a8f838f4dd718b | --- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.35",
+ "version": "2.0.36",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/texting-mini-app",
- "version": "2.0.35",
+ "version": "2.0.36",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.8.4",
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.35",
+ "version": "2.0.36",
"private": false,
"main": "dist/index.js",
"files": [
--- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.35",
+ "version": "2.0.36",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/texting-mini-app",
- "version": "2.0.35",
+ "version": "2.0.36",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.8.4",
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.35",
+ "version": "2.0.36",
"private": false,
"main": "dist/index.js",
"files": [
| update version | update version
|
341c68f6a1922f2bf646cd148d3b598104c1f5f9 | --- package-lock.json
@@ -5332,9 +5332,9 @@
"integrity": "sha512-7d62eBeJoUnnl5KOoDe+aOxU7C6VpkCM7Bl5iRgg1TMMqmUDM8iI2YDPRppU7hBr134Zbl5aVEGyR/IBQrPRxA=="
},
"@walmart/me-field-mini-app": {
- "version": "1.1.28",
- "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-1.1.28.tgz",
- "integrity": "sha512-xJyqk0Oc7IVOvHg/aU7vtjCi/h+SPLATdM6yYn/WdpcdM4Zt4ga1XeUq4D2IGPPKjEGcLYC86PUp2CC4WsND1A=="
+ "version": "1.1.29",
+ "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-1.1.29.tgz",
+ "integrity": "sha512-rDy9h9J2SvvOvxcw1O5n+tQNbPgT+CozqbIw0mdRl8+p8VIf43qMATFrieSF36YfT3qgrneZsDiMxygBdkB9GQ=="
},
"@walmart/metrics-mini-app": {
"version": "0.9.27",
--- package.json
@@ -98,7 +98,7 @@
"@walmart/inbox-mini-app": "0.58.0",
"@walmart/iteminfo-mini-app": "5.1.5",
"@walmart/manager-approvals-miniapp": "0.1.1",
- "@walmart/me-field-mini-app": "1.1.28",
+ "@walmart/me-field-mini-app": "1.1.29",
"@walmart/metrics-mini-app": "0.9.27",
"@walmart/mod-flex-mini-app": "1.2.2",
"@walmart/moment-walmart": "1.0.4",
| feat: :package: Bump learning mini app version to 1.1.29 | feat: :package: Bump learning mini app version to 1.1.29
|
9ae46b0287ebb33e91bd48800dbf195d84b3c228 | --- core/src/features/attendance.ts
@@ -20,6 +20,8 @@ export default AttendanceFeature.createModule({
onConnect: () => {
const {TorInboxWidget} = require('@walmart/attendance-mini-app');
InboxContainer.add('torWidget', TorInboxWidget);
+ const {addLanguageResources} = require('@walmart/attendance-mini-app/dist/localization');
+ addLanguageResources();
},
},
},
| fix attendance language | fix attendance language
|
147854634fe36be6e043a36d125d60c5b26d5ad4 | --- package-lock.json
@@ -80,7 +80,7 @@
"@walmart/react-native-sumo-sdk": "2.5.1",
"@walmart/receipt-check-miniapp": "1.14.6",
"@walmart/redux-store": "3.4.0",
- "@walmart/returns-mini-app": "3.4.0",
+ "@walmart/returns-mini-app": "3.5.0",
"@walmart/schedule-mini-app": "0.37.0",
"@walmart/settings-mini-app": "1.19.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
@@ -9001,9 +9001,9 @@
}
},
"node_modules/@walmart/returns-mini-app": {
- "version": "3.4.0",
- "resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-3.4.0.tgz",
- "integrity": "sha512-w9cKpr4szaEflNjHf+t7B6QQN1gmw89g6ZgeQ5m17kAhij5KdJbAEaZa673OCk89V57Bcw1Wmuh39q/9iDEimw==",
+ "version": "3.5.0",
+ "resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-3.5.0.tgz",
+ "integrity": "sha512-/UWhdUdMu18s6fKKIPp696HNbrm4j64pQ0FFGC7dF00Gezo44mhmfEkDxJZccIA8+rQq9qz1Nh4JU3jlpB1DRg==",
"hasInstallScript": true,
"dependencies": {
"@walmart/common-utilities-js": "^1.2.10",
@@ -33803,9 +33803,9 @@
}
},
"@walmart/returns-mini-app": {
- "version": "3.4.0",
- "resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-3.4.0.tgz",
- "integrity": "sha512-w9cKpr4szaEflNjHf+t7B6QQN1gmw89g6ZgeQ5m17kAhij5KdJbAEaZa673OCk89V57Bcw1Wmuh39q/9iDEimw==",
+ "version": "3.5.0",
+ "resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-3.5.0.tgz",
+ "integrity": "sha512-/UWhdUdMu18s6fKKIPp696HNbrm4j64pQ0FFGC7dF00Gezo44mhmfEkDxJZccIA8+rQq9qz1Nh4JU3jlpB1DRg==",
"requires": {
"@walmart/common-utilities-js": "^1.2.10",
"@walmart/virtual-zpl-printer-model": "^0.2.11",
--- package.json
@@ -121,7 +121,7 @@
"@walmart/react-native-sumo-sdk": "2.5.1",
"@walmart/receipt-check-miniapp": "1.14.6",
"@walmart/redux-store": "3.4.0",
- "@walmart/returns-mini-app": "3.4.0",
+ "@walmart/returns-mini-app": "3.5.0",
"@walmart/schedule-mini-app": "0.37.0",
"@walmart/settings-mini-app": "1.19.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
| Returns drop 15 | Returns drop 15
|
7403da82e07b3e00252c077df6e44a83e0f92c62 | --- package.json
@@ -102,7 +102,7 @@
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "6.1.4",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "2.4.0",
+ "@walmart/wmconnect-mini-app": "2.4.1",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
--- yarn.lock
@@ -6256,7 +6256,7 @@ __metadata:
"@walmart/react-native-sumo-sdk": "npm:2.6.0"
"@walmart/redux-store": "npm:6.1.4"
"@walmart/ui-components": "npm:1.15.1"
- "@walmart/wmconnect-mini-app": "npm:2.4.0"
+ "@walmart/wmconnect-mini-app": "npm:2.4.1"
babel-jest: "npm:^29.2.1"
chance: "npm:^1.1.11"
eslint: "npm:8.22.0"
@@ -6389,9 +6389,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:2.4.0":
- version: 2.4.0
- resolution: "@walmart/wmconnect-mini-app@npm:2.4.0"
+"@walmart/wmconnect-mini-app@npm:2.4.1":
+ version: 2.4.1
+ resolution: "@walmart/wmconnect-mini-app@npm:2.4.1"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6431,7 +6431,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/66cc0aa6f3bac72f6c18667e198c5cb95738cfd9a167ec09a8e1f28f64a9bdf1cabc4d1fb4ced10df7cb024677811420416b6b70f9a2f71122735fc978ed159c
+ checksum: 10c0/97a9b527b354b61bd532f03ef8868cca3043d45d921823954027d60194af53943dee3b65fa812fd2a4c9c6b3f48ec7532037e925ace48063ff299ed75296b56b
languageName: node
linkType: hard
| feat(ui): update mini app version SMDV-5955 | feat(ui): update mini app version SMDV-5955
|
c04b9904e0dadd8f1274cb2c41f8a8d2c774d104 | --- targets/US/package.json
@@ -138,7 +138,7 @@
"@walmart/react-native-webex-sdk": "0.3.4",
"@walmart/receipt-check-miniapp": "1.23.4",
"@walmart/redux-store": "~6.3.20",
- "@walmart/returns-mini-app": "4.14.0",
+ "@walmart/returns-mini-app": "4.15.0",
"@walmart/rfid-scan-mini-app": "2.3.16",
"@walmart/rn-receiving-mini-app": "2.2.165",
"@walmart/roster-mini-app": "2.8.2",
--- yarn.lock
@@ -7116,7 +7116,7 @@ __metadata:
"@walmart/react-native-webex-sdk": "npm:0.3.4"
"@walmart/receipt-check-miniapp": "npm:1.23.4"
"@walmart/redux-store": "npm:~6.3.20"
- "@walmart/returns-mini-app": "npm:4.14.0"
+ "@walmart/returns-mini-app": "npm:4.15.0"
"@walmart/rfid-scan-mini-app": "npm:2.3.16"
"@walmart/rn-receiving-mini-app": "npm:2.2.165"
"@walmart/roster-mini-app": "npm:2.8.2"
@@ -7763,9 +7763,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/returns-mini-app@npm:4.14.0":
- version: 4.14.0
- resolution: "@walmart/returns-mini-app@npm:4.14.0"
+"@walmart/returns-mini-app@npm:4.15.0":
+ version: 4.15.0
+ resolution: "@walmart/returns-mini-app@npm:4.15.0"
dependencies:
"@walmart/common-utilities-js": "npm:^1.2.10"
"@walmart/virtual-zpl-printer-model": "npm:^0.2.11"
@@ -7787,7 +7787,7 @@ __metadata:
react-native-mask-input: ^1.2.3
react-redux: "*"
redux: "*"
- checksum: 10c0/410596f4d5fd70692b36c8803e7b0b26973f12732a2cf8e7a4b7350bb4c72f26599432f7d2f801cbdf477cf39560a0ae3d898216354dd33cc23e47fe028d0a97
+ checksum: 10c0/01515d1c0d0b5d46772f92415c78ae4c031a615b5affdd3b0851ffd03492bae8db10d5ba2891ee25d89d5766f4446e0226f0899b657bb8644efb2219111bd60c
languageName: node
linkType: hard
| updated the right package | updated the right package
|
dc2c04cf50cb3feb5bc134546c23da15905e4f80 | --- 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.19.15](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.19.14...@walmart/allspark-foundation-hub@1.19.15) (2025-10-29)
+
+**Note:** Version bump only for package @walmart/allspark-foundation-hub
+
## [1.19.14](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.19.13...@walmart/allspark-foundation-hub@1.19.14) (2025-10-29)
**Note:** Version bump only for package @walmart/allspark-foundation-hub
--- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.19.14",
+ "version": "1.19.15",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/allspark-foundation/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.
+# [7.7.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.6.2...@walmart/allspark-foundation@7.7.0) (2025-10-29)
+
+### Features
+
+- **dynamic components:** add options to give records priority ranking ([#452](https://gecgithub01.walmart.com/allspark/allspark/issues/452)) ([3b609a2](https://gecgithub01.walmart.com/allspark/allspark/commit/3b609a2e031a7757751a9a23a73e7ee7553436e1))
+
## [7.6.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.6.1...@walmart/allspark-foundation@7.6.2) (2025-10-29)
**Note:** Version bump only for package @walmart/allspark-foundation
--- packages/allspark-foundation/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation",
- "version": "7.6.2",
+ "version": "7.7.0",
"description": "",
"main": "Core/index.js",
"types": "Core/index.d.ts",
--- packages/me-at-walmart-geolocation/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.3.14](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-geolocation@1.3.13...@walmart/me-at-walmart-geolocation@1.3.14) (2025-10-29)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-geolocation
+
## [1.3.13](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-geolocation@1.3.12...@walmart/me-at-walmart-geolocation@1.3.13) (2025-10-29)
**Note:** Version bump only for package @walmart/me-at-walmart-geolocation
--- packages/me-at-walmart-geolocation/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-geolocation",
- "version": "1.3.13",
+ "version": "1.3.14",
"description": "Geofencing, location tracking and location services for me@ apps",
"author": "m0n09mr <maksym.novakh@walmart.com>",
"main": "./lib/cjs/index.js",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-foundation@7.7.0
- @walmart/allspark-foundation-hub@1.19.15
- @walmart/me-at-walmart-geolocation@1.3.14
|
387692a2a3e88350ee46d5ba1c5676e3cf5a8ad3 | --- src/utils/user.ts
@@ -11,6 +11,8 @@ export const encryptUserId = (userId: string) =>
baseEncryptUserId(userId, OBFUSCATION_KEY).replace(/\//g, '\\');
export const decryptUserId = (userId: string) => {
+ if (isNil(userId)) return userId;
+
const id = userId.replace(/\\/g, '/');
const encodedKey = CryptoJS.enc.Hex.parse(OBFUSCATION_PARSE_KEY);
const decrypted = CryptoJS.AES.decrypt(id, encodedKey, {
| Remove code which is not required in myteam mini app | Remove code which is not required in myteam mini app
|
fbbbec56df765e0e691c80532c134167f1682048 | --- packages/allspark-foundation/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation",
- "version": "2.0.1",
+ "version": "2.0.2",
"description": "",
"main": "index.js",
"types": "index.d.ts",
--- packages/me-at-walmart-container/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-container",
- "version": "1.8.1",
+ "version": "1.8.2",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/me-at-walmart-foundation/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-foundation",
- "version": "1.8.1",
+ "version": "1.8.2",
"description": "",
"author": "rlane1 <russell.lane@walmart.com>",
"homepage": "",
| chore: manual version bump | chore: manual version bump
|
0c26b9e4ae3b7a510b1a5068eb64abfd81cbfc3e | --- __tests__/__snapshots__/AppTest.tsx.snap
@@ -27,7 +27,40 @@ exports[`RootContainer renders and fires startup event 1`] = `
"warning": [MockFunction],
}
}
- />
+ >
+ <PushToTalkProvider>
+ <NavigationContainer
+ linking={
+ Object {
+ "config": Object {
+ "screens": Object {
+ "main": Object {
+ "screens": Object {
+ "mainStack": Object {
+ "screens": Object {
+ "Returns": Object {
+ "screens": Object {
+ "Returns.Landing": "returns/:siteId/:printerAddress",
+ },
+ },
+ },
+ },
+ },
+ },
+ },
+ },
+ "prefixes": Array [
+ "meatwmt://",
+ ],
+ }
+ }
+ theme={Object {}}
+ >
+ <RootNav />
+ <UpdateVersionModal />
+ </NavigationContainer>
+ </PushToTalkProvider>
+ </LoggerProvider>
</AllsparkCoreServices>
</LivingDesignProvider>
</SafeAreaProvider>
@@ -75,7 +108,16 @@ exports[`RootContainer renders with no linking config on undefined userid 1`] =
"warning": [MockFunction],
}
}
- />
+ >
+ <PushToTalkProvider>
+ <NavigationContainer
+ theme={Object {}}
+ >
+ <RootNav />
+ <UpdateVersionModal />
+ </NavigationContainer>
+ </PushToTalkProvider>
+ </LoggerProvider>
</AllsparkCoreServices>
</LivingDesignProvider>
</SafeAreaProvider>
| updating snapshots | updating snapshots
|
e11265bee68f38bfedc47774c151258b4e930012 | --- package.json
@@ -95,7 +95,7 @@
"@walmart/react-native-shared-navigation": "6.1.4",
"@walmart/react-native-sumo-sdk": "2.8.0",
"@walmart/redux-store": "6.3.29",
- "@walmart/roster-mini-app": "2.39.0",
+ "@walmart/roster-mini-app": "2.40.0",
"@walmart/ui-components": "1.15.1",
"@walmart/wmconnect-mini-app": "2.37.0",
"babel-jest": "^29.6.3",
--- yarn.lock
@@ -7047,7 +7047,7 @@ __metadata:
"@walmart/react-native-shared-navigation": "npm:6.1.4"
"@walmart/react-native-sumo-sdk": "npm:2.8.0"
"@walmart/redux-store": "npm:6.3.29"
- "@walmart/roster-mini-app": "npm:2.39.0"
+ "@walmart/roster-mini-app": "npm:2.40.0"
"@walmart/ui-components": "npm:1.15.1"
"@walmart/wmconnect-mini-app": "npm:2.37.0"
babel-jest: "npm:^29.6.3"
@@ -7173,9 +7173,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:2.39.0":
- version: 2.39.0
- resolution: "@walmart/roster-mini-app@npm:2.39.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2Froster-mini-app-2.39.0.tgz"
+"@walmart/roster-mini-app@npm:2.40.0":
+ version: 2.40.0
+ resolution: "@walmart/roster-mini-app@npm:2.40.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2Froster-mini-app-2.40.0.tgz"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -7217,7 +7217,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/4c087eef4c16d430590a1e3d9016aa2dd5c6260023ee1101a83ea604c4c81092e8883dbee2704be7c17571f141eee42033b463c864a14615b20644d6b13da4ff
+ checksum: 10c0/6d48d084be89c6edb6d4d3cacfddf34699ffa0b8548bf4933c388a9496bd7fd2bfaf725e0e7be6d2284a26e6108ddc6f2403010800272c6fa7aa0de2673307f6
languageName: node
linkType: hard
| feat(ui): updating version | feat(ui): updating version
|
b6e7940c3976a3961688e08377fac4386ac83add | --- jest.config.js
@@ -22,7 +22,7 @@ module.exports = {
},
},
transformIgnorePatterns: [
- '<rootDir>/node_modules/(?!(react-native|react-redux|@react-native|expo|expo-av|react-native-flipper|@react-native-community/async-storage|axios|@lifeomic/axios-fetch|react-native-reanimated|@walmart/gtp-shared-components|@walmart/gtp-shared-icons|@react-native-community/picker|@walmart/redux-store|@react-native-firebase|@react-native-community/netinfo|react-native-iphone-x-helper|react-native-gesture-handler|@react-native/polyfills|@react-native/normalize-color|@walmart/ui-components|@walmart/core-services|@walmart/core-utils|@walmart/allspark-graphql-client|@walmart/core-services/Environment|@walmart/allspark-http-client|@walmart/allspark-utils|@walmart/allspark-foundation|@walmart/config-components|@walmart/react-native-shared-navigation|@walmart/wmconnect-mini-app|@walmart/allspark-foundation/Navigation|@walmart/allspark-foundation/Redux|@walmart/allspark-foundation/User|@walmart/allspark-foundation/Site))',
+ '<rootDir>/node_modules/(?!(react-native|react-redux|@react-native|expo|expo-av|react-native-flipper|@react-native-community/async-storage|axios|@lifeomic/axios-fetch|react-native-reanimated|@walmart/gtp-shared-components|@walmart/gtp-shared-icons|@react-native-community/picker|@react-native-firebase|@react-native-community/netinfo|react-native-iphone-x-helper|react-native-gesture-handler|@react-native/polyfills|@react-native/normalize-color|@walmart/ui-components|@walmart/core-services/Environment|@walmart/allspark-utils|@walmart/allspark-foundation|@walmart/config-components|@walmart/wmconnect-mini-app|@walmart/allspark-foundation/Navigation|@walmart/allspark-foundation/Redux|@walmart/allspark-foundation/User|@walmart/allspark-foundation/Site))',
],
testPathIgnorePatterns: [
'<rootDir>/__tests__/setup.ts',
| removing deprecated libraries from jest.config | removing deprecated libraries from jest.config
|
20ade7209ee84d245395f189ac5ebfea0cb1301a | --- package-lock.json
@@ -76,7 +76,7 @@
"@walmart/react-native-sumo-sdk": "2.5.1",
"@walmart/receipt-check-miniapp": "1.9.10",
"@walmart/redux-store": "3.1.3",
- "@walmart/returns-mini-app": "0.13.1",
+ "@walmart/returns-mini-app": "0.13.2",
"@walmart/schedule-mini-app": "0.33.0",
"@walmart/settings-mini-app": "1.12.0",
"@walmart/shelfavailability-mini-app": "1.5.11",
@@ -6054,9 +6054,9 @@
}
},
"node_modules/@walmart/returns-mini-app": {
- "version": "0.13.1",
- "resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-0.13.1.tgz",
- "integrity": "sha512-iiOG1Z1T7FgpV1YXpv58twizBAh4leUySoZsfryF94HzMynUogNHo7jr/bjoUXCREEIx/usvcN0qchXYSSkg0g==",
+ "version": "0.13.2",
+ "resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-0.13.2.tgz",
+ "integrity": "sha512-ferNPmsrq3nrCri7xLB/ScW/aSEiE2z1bHTcb0IdLOGhtybOFzc6CCyyyFF+8qMWq7AD98pSuRca/IYU8q4PgA==",
"hasInstallScript": true,
"dependencies": {
"@walmart/common-utilities-js": "^1.2.10",
@@ -25929,9 +25929,9 @@
}
},
"@walmart/returns-mini-app": {
- "version": "0.13.1",
- "resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-0.13.1.tgz",
- "integrity": "sha512-iiOG1Z1T7FgpV1YXpv58twizBAh4leUySoZsfryF94HzMynUogNHo7jr/bjoUXCREEIx/usvcN0qchXYSSkg0g==",
+ "version": "0.13.2",
+ "resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-0.13.2.tgz",
+ "integrity": "sha512-ferNPmsrq3nrCri7xLB/ScW/aSEiE2z1bHTcb0IdLOGhtybOFzc6CCyyyFF+8qMWq7AD98pSuRca/IYU8q4PgA==",
"requires": {
"@walmart/common-utilities-js": "^1.2.10",
"@walmart/virtual-zpl-printer-model": "^0.2.11",
--- package.json
@@ -118,7 +118,7 @@
"@walmart/react-native-sumo-sdk": "2.5.1",
"@walmart/receipt-check-miniapp": "1.9.10",
"@walmart/redux-store": "3.1.3",
- "@walmart/returns-mini-app": "0.13.1",
+ "@walmart/returns-mini-app": "0.13.2",
"@walmart/schedule-mini-app": "0.33.0",
"@walmart/settings-mini-app": "1.12.0",
"@walmart/shelfavailability-mini-app": "1.5.11",
| version bump | version bump
|
32b3856c1ccdf7e34645e2146f8fc9ecd896093c | --- package.json
@@ -84,7 +84,7 @@
"@walmart/gtp-shared-components": "1.6.0",
"@walmart/impersonation-mini-app": "1.1.0",
"@walmart/ims-print-services-ui": "0.1.34",
- "@walmart/inbox-mini-app": "v0.37.0-beta.1",
+ "@walmart/inbox-mini-app": "0.37.0-beta.1",
"@walmart/iteminfo-mini-app": "4.2.3",
"@walmart/manager-approvals-miniapp": "0.0.60",
"@walmart/metrics-mini-app": "0.7.68",
| version name fix for inbox | version name fix for inbox
|
b9ad316e9bd1948f304c8b8a4cd733ab6b96645c | --- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.0.3",
+ "version": "1.0.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/myteam-mini-app",
- "version": "1.0.3",
+ "version": "1.0.4",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.20.0",
@@ -66,9 +66,9 @@
"@walmart/react-native-scanner-3.0": "0.4.2",
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
- "@walmart/roster-mini-app": "1.0.5",
+ "@walmart/roster-mini-app": "1.0.6",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.5",
+ "@walmart/wmconnect-mini-app": "1.0.6",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
@@ -11834,9 +11834,9 @@
}
},
"node_modules/@walmart/roster-mini-app": {
- "version": "1.0.5",
- "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.5.tgz",
- "integrity": "sha512-zpBMZ/yEnqiYtBIWNZToHdASeHPvx2d5q08Sl+CdsaQmUcpdG9y8NvCC8XEwXFmsM4B0hgUwK7zqsfc+f159bA==",
+ "version": "1.0.6",
+ "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.6.tgz",
+ "integrity": "sha512-TlkTdqh3AKU6JF5UEiRb5yfgpXrmV8XkH9A8QOOAZATNV1jGBQFKtFh1hPSmcMN9wfq6LKQGn7RY1MZX+9/Ffg==",
"dev": true,
"hasInstallScript": true
},
@@ -11863,9 +11863,9 @@
}
},
"node_modules/@walmart/wmconnect-mini-app": {
- "version": "1.0.5",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.5.tgz",
- "integrity": "sha512-UknVlgxDqjQgmOWLkSuw+w9aowxzOETeAhDtWnbuLZUO8yCfl4Oo2Mfz9N/FesUleQ6woTgKlZqZ11O3UypFmg==",
+ "version": "1.0.6",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.6.tgz",
+ "integrity": "sha512-1+LEnQr5HCI7BSDxUd75pCRDm8jG4/elNxrD4MzZEUt/bYo7m2g0Z3k4M4WGH/ARlt84clFZPWS9U7OEvoEm7w==",
"dev": true,
"hasInstallScript": true
},
@@ -41072,9 +41072,9 @@
}
},
"@walmart/roster-mini-app": {
- "version": "1.0.5",
- "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.5.tgz",
- "integrity": "sha512-zpBMZ/yEnqiYtBIWNZToHdASeHPvx2d5q08Sl+CdsaQmUcpdG9y8NvCC8XEwXFmsM4B0hgUwK7zqsfc+f159bA==",
+ "version": "1.0.6",
+ "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.6.tgz",
+ "integrity": "sha512-TlkTdqh3AKU6JF5UEiRb5yfgpXrmV8XkH9A8QOOAZATNV1jGBQFKtFh1hPSmcMN9wfq6LKQGn7RY1MZX+9/Ffg==",
"dev": true
},
"@walmart/ui-components": {
@@ -41089,9 +41089,9 @@
}
},
"@walmart/wmconnect-mini-app": {
- "version": "1.0.5",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.5.tgz",
- "integrity": "sha512-UknVlgxDqjQgmOWLkSuw+w9aowxzOETeAhDtWnbuLZUO8yCfl4Oo2Mfz9N/FesUleQ6woTgKlZqZ11O3UypFmg==",
+ "version": "1.0.6",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.6.tgz",
+ "integrity": "sha512-1+LEnQr5HCI7BSDxUd75pCRDm8jG4/elNxrD4MzZEUt/bYo7m2g0Z3k4M4WGH/ARlt84clFZPWS9U7OEvoEm7w==",
"dev": true
},
"@whatwg-node/events": {
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.0.3",
+ "version": "1.0.4",
"private": false,
"main": "dist/index.js",
"files": [
@@ -89,8 +89,8 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.5",
- "@walmart/roster-mini-app": "1.0.5",
+ "@walmart/wmconnect-mini-app": "1.0.6",
+ "@walmart/roster-mini-app": "1.0.6",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
| Update my team mini app version | Update my team mini app version
|
9e30da542d558937b157a8f8b8a07e1fbea4aa17 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.2",
+ "version": "2.0.3",
"private": false,
"main": "bundle/dist/index.js",
"files": [
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.2",
+ "version": "2.0.3",
"private": false,
"main": "bundle/dist/index.js",
"files": [
| Update package.json | Update package.json |
aa2bde77ccf58af4d6373c98038eea93aa7f33b7 | --- package-lock.json
@@ -4400,9 +4400,9 @@
}
},
"@walmart/refrigeration-alarms-mini-app": {
- "version": "1.28.0",
- "resolved": "https://npme.walmart.com/@walmart/refrigeration-alarms-mini-app/-/refrigeration-alarms-mini-app-1.28.0.tgz",
- "integrity": "sha512-BC4PpdZR31CT3V6QUKWiRbNDnyTQJ9e6Pl0ob84zd98eZ+tg9G1FPSEDOEI2s1En0TuMeVwDRD8ojZcSbj4vRA=="
+ "version": "1.29.0",
+ "resolved": "https://npme.walmart.com/@walmart/refrigeration-alarms-mini-app/-/refrigeration-alarms-mini-app-1.29.0.tgz",
+ "integrity": "sha512-aSNd9hj9ANAB8zeUU2z2M965mLR/MEOFyB0qtA/cSYX3nbNkxVN8R2AIpNAtxN7yfFWQ2rTK9tHyzuUmdEdw1g=="
},
"@walmart/schedule-mini-app": {
"version": "0.11.0",
--- package.json
@@ -99,7 +99,7 @@
"@walmart/redux-store": "1.1.26",
"@walmart/settings-mini-app": "1.6.0",
"@walmart/taskit-mini-app": "0.169.0-rc.2",
- "@walmart/refrigeration-alarms-mini-app": "1.28.0",
+ "@walmart/refrigeration-alarms-mini-app": "1.29.0",
"@walmart/schedule-mini-app": "0.11.0",
"@walmart/shelfavailability-mini-app": "0.8.0",
"@walmart/ui-components": "1.3.0-rc.10",
| Typo fix on alarms home screen navigation | Typo fix on alarms home screen navigation
|
d0b823b56fc0fba2f9cd82a851cdb60e5834c6d1 | --- package-lock.json
@@ -36,7 +36,7 @@
"@walmart/allspark-neon-core": "0.1.31",
"@walmart/amp-mini-app": "0.2.13",
"@walmart/ask-sam-chat-components": "^0.2.7",
- "@walmart/ask-sam-mini-app": "1.3.49",
+ "@walmart/ask-sam-mini-app": "1.3.51",
"@walmart/attendance-mini-app": "0.33.0",
"@walmart/config-components": "4.0.1",
"@walmart/core-services": "~1.4.11",
@@ -4731,9 +4731,9 @@
}
},
"node_modules/@walmart/ask-sam-mini-app": {
- "version": "1.3.49",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.49.tgz",
- "integrity": "sha512-knHZP8VlcnYSesvrQoAb9Sx+f4LHhWzD4JEojvJfXxZfMGa3g/0oICzDFB6hhCZH75mt9hJZGD3O0zmw649X+A==",
+ "version": "1.3.51",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.51.tgz",
+ "integrity": "sha512-yLptLK/DwzghLhIGoLG4fGzM1wz+xo3yHKzH+wqjYZJPO9aqv8SS4/QWj1GZEQGbHwsmWmk0yupUkOdp+JxSig==",
"license": "NONE",
"dependencies": {
"apisauce": "^1.1.2",
@@ -25058,9 +25058,9 @@
}
},
"@walmart/ask-sam-mini-app": {
- "version": "1.3.49",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.49.tgz",
- "integrity": "sha512-knHZP8VlcnYSesvrQoAb9Sx+f4LHhWzD4JEojvJfXxZfMGa3g/0oICzDFB6hhCZH75mt9hJZGD3O0zmw649X+A==",
+ "version": "1.3.51",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.51.tgz",
+ "integrity": "sha512-yLptLK/DwzghLhIGoLG4fGzM1wz+xo3yHKzH+wqjYZJPO9aqv8SS4/QWj1GZEQGbHwsmWmk0yupUkOdp+JxSig==",
"requires": {
"apisauce": "^1.1.2",
"axios-cache-adapter": "^2.7.3",
--- package.json
@@ -79,7 +79,7 @@
"@walmart/allspark-neon-core": "0.1.31",
"@walmart/amp-mini-app": "0.2.13",
"@walmart/ask-sam-chat-components": "^0.2.7",
- "@walmart/ask-sam-mini-app": "1.3.49",
+ "@walmart/ask-sam-mini-app": "1.3.51",
"@walmart/attendance-mini-app": "0.33.0",
"@walmart/config-components": "4.0.1",
"@walmart/core-services": "~1.4.11",
| SMBLV-2986: AskSam version upgrade | SMBLV-2986: AskSam version upgrade
|
a0e2f1c51b5a4831d402e4350b54a54abaca40b0 | --- docs/CHANGELOG.md
@@ -1,3 +1,12 @@
+## [2.35.1](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/compare/v2.35.0...v2.35.1) (2025-05-05)
+
+
+### Bug Fixes
+
+* **ui:** lint fix ([e967b79](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/e967b79ccf134a5cfb6c719839aaeb167229c447))
+* **ui:** update default team ([41d136d](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/41d136d399912205c080dccb0908f4bef2ec3b9c))
+* **ui:** update primary team ([b359d5e](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/b359d5e863b881dcd262ef90413e3caa4a48f039))
+
# [2.35.0](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/compare/v2.34.0...v2.35.0) (2025-05-01)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/wmconnect-mini-app",
- "version": "2.35.0",
+ "version": "2.35.1",
"main": "dist/index.js",
"files": [
"dist/"
| chore(release): 2.35.1 [skip ci] | chore(release): 2.35.1 [skip ci]
## [2.35.1](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/compare/v2.35.0...v2.35.1) (2025-05-05)
### Bug Fixes
* **ui:** lint fix ([e967b79](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/e967b79ccf134a5cfb6c719839aaeb167229c447))
* **ui:** update default team ([41d136d](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/41d136d399912205c080dccb0908f4bef2ec3b9c))
* **ui:** update primary team ([b359d5e](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/b359d5e863b881dcd262ef90413e3caa4a48f039))
|
da2f0cf7af6da64902b7db0c66517ed0f2ddc349 | --- ios/Podfile.lock
@@ -443,7 +443,7 @@ PODS:
- React
- react-native-webview (10.10.0):
- React-Core
- - react-native-wm-app-review (0.2.0-rc.4):
+ - react-native-wm-app-review (0.3.0):
- React-Core
- react-native-wm-barcode (2.36.6):
- Firebase/Analytics
@@ -1010,7 +1010,7 @@ SPEC CHECKSUMS:
react-native-video: 8d97379f3c2322a569f1e27542ad1a646cad9444
react-native-view-shot: 08c46c9e8e92f6681e8f2ffa55ac3d06e7e99070
react-native-webview: 2e330b109bfd610e9818bf7865d1979f898960a7
- react-native-wm-app-review: fe02a265a54d1563e2aee2a859b9e27a5aacebb7
+ react-native-wm-app-review: f3539e622411158d5f25926bcb505cfad87ea7a8
react-native-wm-barcode: c29f14f511476c7ce29532843f696c2447670aef
react-native-wm-voice-text: e41ea4227df3f52f3e2cab2f08fd89fbdcd02cfd
React-perflogger: 0afaf2f01a47fd0fc368a93bfbb5bd3b26db6e7f
--- package-lock.json
@@ -19810,9 +19810,9 @@
}
},
"react-native-wm-app-review": {
- "version": "0.2.0-rc.4",
- "resolved": "https://npme.walmart.com/react-native-wm-app-review/-/react-native-wm-app-review-0.2.0-rc.4.tgz",
- "integrity": "sha512-8KkVC2RVSJQ/TABtwD7YZOFAuMKw4eD2FxJpVZBm1fTT0Z0hglrCXlAozIhYrLeatqDRS4v2yL/XEqgi/A+XWw==",
+ "version": "0.3.0",
+ "resolved": "https://npme.walmart.com/react-native-wm-app-review/-/react-native-wm-app-review-0.3.0.tgz",
+ "integrity": "sha512-/a9zmxqoPTfqu1KDb+YjLBoByp+pOwjvaiL6qz9++y2qXpi+a9W2EnIatb3sihiVyJdz2hxMFtE/0EY9ncAxvg==",
"requires": {
"@react-native-community/async-storage": "^1.11.0"
}
--- package.json
@@ -184,7 +184,7 @@
"react-native-view-shot": "^3.1.2",
"react-native-vision-camera": "1.0.10",
"react-native-webview": "^10.7.0",
- "react-native-wm-app-review": "0.2.0-rc.4",
+ "react-native-wm-app-review": "0.3.0",
"react-native-wm-barcode": "2.36.6",
"react-native-wm-config": "^0.1.1",
"react-native-wm-network": "^0.2.0",
| version bump | version bump
|
7b104f0d3e06446e218c6bbf9eaaf5b6ae47bcf4 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.35.0",
+ "version": "2.36.0",
"main": "dist/index.js",
"files": [
"dist"
--- src/hooks/teams.ts
@@ -11,6 +11,7 @@ import {
MANAGEMENT_TEAM_ID,
MANAGEMENT_TEAM_LABEL,
MY_TEAMS_TEAM_ID,
+ TOTAL_SITE_TEAM_ID,
TOTAL_STORE_TEAM_ID,
} from '@walmart/allspark-foundation-hub';
import {useGetSupplyChainTeamByIdQuery} from '../queries/getSupplyChainTeamById';
@@ -180,7 +181,7 @@ export const useGetViewersPrimaryTeamId = () => {
});
}
}
- return '';
+ return TOTAL_STORE_TEAM_ID || TOTAL_SITE_TEAM_ID || '';
};
export const useGetViewersPrimaryTeamName = () => {
--- src/screens/AllTeamsScreen/AllTeamsScreen.tsx
@@ -1,11 +1,20 @@
-import React from 'react';
+import React, {useEffect} from 'react';
import {useSelector} from 'react-redux';
import {SiteSelectors} from '@walmart/allspark-foundation/Site';
import {SupplyChainAllTeamsScreen} from './SupplyChainAllTeamsScreen';
import {StoreAllTeamsScreen} from './StoreAllTeamsScreen';
+import {useNavigation} from '@react-navigation/native';
+import {translationClient} from '../../common';
export const AllTeamsScreen = () => {
const siteIsDC = useSelector(SiteSelectors.getWorkingSiteIsDC);
+ const navigation = useNavigation();
+
+ useEffect(() => {
+ navigation.setOptions({
+ title: translationClient.translate('allTeams'),
+ });
+ }, [navigation]);
return (
<>{siteIsDC ? <SupplyChainAllTeamsScreen /> : <StoreAllTeamsScreen />}</>
--- src/screens/AllTeamsScreen/StoreAllTeamsScreen.tsx
@@ -7,6 +7,7 @@ import {
TOTAL_STORE_TEAM_LABEL,
ErrorScreen,
TeamListItem,
+ TOTAL_SITE_TEAM_ID,
} from '@walmart/allspark-foundation-hub';
import {allTeamsScreenStyles as styles} from './styles';
import {rosterDetailScreenStyles as borrowedStyles} from '../RosterDetailScreen/styles';
@@ -101,10 +102,17 @@ export const StoreAllTeamsScreen = () => {
teamName: TOTAL_STORE_TEAM_LABEL,
teamId: TOTAL_STORE_TEAM_ID,
});
- navigation.navigate('myTeam.rosterDetail', {
- teamId: TOTAL_STORE_TEAM_ID,
- teamName: TOTAL_STORE_TEAM_LABEL,
- });
+ if (
+ primaryTeamId === TOTAL_STORE_TEAM_ID ||
+ primaryTeamId === TOTAL_SITE_TEAM_ID
+ ) {
+ navigation.goBack();
+ } else {
+ navigation.navigate('myTeam.rosterDetail', {
+ teamId: TOTAL_STORE_TEAM_ID,
+ teamName: TOTAL_STORE_TEAM_LABEL,
+ });
+ }
}}
/>
<View style={styles.separator} />
@@ -213,7 +221,11 @@ export const StoreAllTeamsScreen = () => {
teamName,
teamId,
});
- navigation.navigate('myTeam.rosterDetail', {teamId, teamName});
+ if (teamId === primaryTeamId) {
+ navigation.goBack();
+ } else {
+ navigation.navigate('myTeam.rosterDetail', {teamId, teamName});
+ }
}}
/>
)}
--- src/screens/RosterDetailScreen/RosterDetailScreen.tsx
@@ -1,12 +1,21 @@
-import React from 'react';
+import React, {useEffect} from 'react';
import {SiteSelectors} from '@walmart/allspark-foundation/Site';
import {useSelector} from 'react-redux';
import {SupplyChainRosterDetailScreen} from './SupplyChainRosterDetailScreen';
import {StoreRosterDetailScreen} from './StoreRosterDetailScreen';
import {RosterDetailScreenProps} from './types';
+import {useNavigation} from '@react-navigation/native';
+import {translationClient} from '../../common';
export const RosterDetailScreen = ({route}: RosterDetailScreenProps) => {
const isSiteDC = useSelector(SiteSelectors.getWorkingSiteIsDC);
+ const navigation = useNavigation();
+
+ useEffect(() => {
+ navigation.setOptions({
+ title: translationClient.translate('roster'),
+ });
+ }, [navigation]);
return (
<>
--- src/screens/index.tsx
@@ -1,46 +1,38 @@
-import React from 'react';
+// import React from 'react';
import {ScreenTags} from '@walmart/me-at-walmart-common';
import {RosterFeature} from '../common/feature';
-import {RosterNavParamsMap, RosterNavigation} from '../navigation';
-// import {AllTeamsScreen} from './AllTeamsScreen';
-// import {RosterDetailScreen} from './RosterDetailScreen';
+// import {RosterNavParamsMap, RosterNavigation} from '../navigation';
+import {AllTeamsScreen} from './AllTeamsScreen';
+import {RosterDetailScreen} from './RosterDetailScreen';
-export const RosterMiniApp = () => {
- return (
- <>
- <RosterNavigation />
- </>
- );
-};
+// export const RosterMiniApp = () => {
+// return (
+// <>
+// <RosterNavigation />
+// </>
+// );
+// };
-const rosterScreens = RosterFeature.createScreen<RosterNavParamsMap, 'myTeam'>(
- RosterMiniApp,
- {
- tags: [ScreenTags.MyTeamTab],
- clockCheckRequired: true,
- options: {
- title: 'Roster',
- headerShown: false,
- },
- },
-);
+// const rosterScreens = RosterFeature.createScreen<RosterNavParamsMap, 'myTeam'>(
+// RosterMiniApp,
+// {
+// tags: [ScreenTags.MyTeamTab],
+// clockCheckRequired: true,
+// options: {
+// title: 'Roster',
+// headerShown: false,
+// },
+// },
+// );
export default RosterFeature.createScreens({
- ['myTeam.roster']: rosterScreens,
- // ['myTeam.rosterDetail']: RosterFeature.createScreen(RosterDetailScreen, {
- // tags: [ScreenTags.MyTeamTab],
- // clockCheckRequired: true,
- // options: {
- // title: 'Roster',
- // headerShown: false,
- // },
- // }),
- // ['myTeam.allTeams']: RosterFeature.createScreen(AllTeamsScreen, {
- // tags: [ScreenTags.MyTeamTab],
- // clockCheckRequired: true,
- // options: {
- // title: 'All teams',
- // headerShown: false,
- // },
- // }),
+ // ['myTeam.roster']: rosterScreens,
+ ['myTeam.rosterDetail']: RosterFeature.createScreen(RosterDetailScreen, {
+ tags: [ScreenTags.MyTeamTab],
+ clockCheckRequired: true,
+ }),
+ ['myTeam.allTeams']: RosterFeature.createScreen(AllTeamsScreen, {
+ tags: [ScreenTags.MyTeamTab],
+ clockCheckRequired: true,
+ }),
});
--- src/shared/index.tsx
@@ -1,5 +1,5 @@
export {RosterDetailScreen} from '../screens/RosterDetailScreen';
export {AllTeamsScreen} from '../screens/AllTeamsScreen';
export {RosterWidget} from '../components/RosterWidget';
-export {RosterMiniApp} from '../screens';
+// export {RosterMiniApp} from '../screens';
export * from '../navigation';
--- src/translations/en-US.ts
@@ -1,4 +1,6 @@
export const enUS = {
+ roster: 'Roster',
+ allTeams: 'All teams',
userHeader: {
clockedIn: 'Clocked in',
clockedOut: 'Clocked out',
--- src/translations/es-MX.ts
@@ -1,4 +1,6 @@
export const esMX = {
+ roster: 'Lista',
+ allTeams: 'Todos los equipos',
userHeader: {
clockedIn: 'Dentro de horario',
clockedOut: 'Fuera de turno',
| Update roster navigation | Update roster navigation
|
e2d5d7be363f2019e4d2e1d9a44d7d0c35d315df | --- __tests__/screens/RosterScreenTest.tsx
--- __tests__/screens/RosterScreenTest.tsx
| renaming test file | renaming test file
|
256e000cd3e4488977a8d2085de64e1e98f3e6ec | --- .looper.multibranch.yml
@@ -18,7 +18,6 @@ tools:
- build-tools;29.0.2
- build-tools;29.0.3
- build-tools;30.0.2
- - build-tools;30.0.3
- extras;android;m2repository
- extras;google;m2repository
nodejs: 12.4.0
@@ -48,7 +47,6 @@ cache:
envs:
global:
variables:
- CI: "true"
LOOPER_NODES: "((osx||stable_osx)&&!MAC-LAB-MINI29&&!MAC-LAB-MINI39&&!MAC-LAB-MINI32&&!MAC-LAB-MINI22)"
GITHUB_TOKEN: "%{credentials.secret('GITHUB_TOKEN')}"
@@ -490,14 +488,13 @@ flows:
- |
(name build and align apk)
#!/bin/sh -x
- export CI=true
echo "env is ${env}"
first=${env:0:1}
rest=${env:1}
firstUpper=`echo ${first} |tr '[:lower:]' '[:upper:]'`
upperEnv="${firstUpper}${rest}"
echo "about to run build ${env} / ${upperEnv}"
- ./gradlew assemble${upperEnv}Release --stacktrace
+ ./gradlew assemble${upperEnv}Release --info --stacktrace
# uploads build artifact to maven and MS App Center
#
| reverting looper changes | reverting looper changes
|
c2c476c6ab4cf1f8a9edc9824fcaf86620727c5d | --- packages/allspark-foundation-hub/src/SupplyChain/Modals/UpdateTeamsModal/UpdateTeamsModal.tsx
@@ -1,4 +1,4 @@
-import React, { useCallback, useState } from 'react';
+import React, { useEffect, useCallback, useRef, useState } from 'react';
import { ScrollView, View } from 'react-native';
import { Divider } from '@walmart/gtp-shared-components';
import { useAllsparkTranslation } from '@walmart/allspark-foundation/Translation';
@@ -66,6 +66,7 @@ export const UpdateTeamsModal = ({
const shiftData =
shiftPreferenceData.length === 0 ? ['A1'] : shiftPreferenceData;
const [selectedShifts, setSelectedShifts] = useState<string[]>(shiftData);
+ const scrollViewRef = useRef<ScrollView>(null);
// eslint-disable-next-line react-hooks/exhaustive-deps
const sectionListData = [
...[
@@ -155,6 +156,12 @@ export const UpdateTeamsModal = ({
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [dispatch]);
+ useEffect(() => {
+ if (showMandatoryShiftAlert && scrollViewRef.current) {
+ scrollViewRef.current.scrollTo({ x: 0, y: 0, animated: true });
+ }
+ }, [showMandatoryShiftAlert]);
+
if (allTeamsError) {
return (
<ModalErrorScreen
@@ -175,7 +182,11 @@ export const UpdateTeamsModal = ({
return (
<>
- <ScrollView stickyHeaderIndices={[0]} style={styles.rootContainer}>
+ <ScrollView
+ stickyHeaderIndices={[0]}
+ style={styles.rootContainer}
+ ref={scrollViewRef}
+ >
<ModalHeader
title={t('updateTeamsModal.screenTitle')}
closeModal={handleClose}
--- packages/allspark-foundation-hub/src/SupplyChain/Screens/OnboardingScreen/OnboardingScreen.tsx
@@ -1,4 +1,4 @@
-import React, { useCallback, useEffect, useState } from 'react';
+import React, { useCallback, useEffect, useRef, useState } from 'react';
import {
SupplyChainImages as Images,
AlertBanner,
@@ -62,7 +62,7 @@ export const OnboardingScreen = () => {
SC_ManagerExperienceSelectors.getIsShiftUpsertError
);
const showUpsertAlertBanner = isTeamPreferenceError || isShiftUpsertError;
-
+ const scrollViewRef = useRef<ScrollView>(null);
useEffect(() => {
setSearchedsections(allSiteTeamsSections);
}, [allSiteTeamsSections]);
@@ -163,6 +163,12 @@ export const OnboardingScreen = () => {
const Divider = () => <View style={styles.divider} />;
+ useEffect(() => {
+ if (showMandatoryShiftAlert && scrollViewRef.current) {
+ scrollViewRef.current.scrollTo({ x: 0, y: 0, animated: true });
+ }
+ }, [showMandatoryShiftAlert]);
+
if (teamsError) {
return (
<ErrorScreen
@@ -178,7 +184,10 @@ export const OnboardingScreen = () => {
return (
<>
- <ScrollView contentContainerStyle={styles.rootContainer}>
+ <ScrollView
+ contentContainerStyle={styles.rootContainer}
+ ref={scrollViewRef}
+ >
{showHubHeader && (
<PageHeader
title={t('dashboard.header.title')}
| Adding scroll fix | Adding scroll fix
|
652dffaece1477c9cf786b437cab49a4cf50ccb1 | --- __tests__/navigation/USHallway/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap
@@ -306,6 +306,15 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
}
}
/>
+ <Screen
+ component={[Function]}
+ name="supportPayNav"
+ options={
+ {
+ "headerShown": false,
+ }
+ }
+ />
InboxScreen
EmergencyMiniAppScreens
<Screen
@@ -781,6 +790,15 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
}
}
/>
+ <Screen
+ component={[Function]}
+ name="supportPayNav"
+ options={
+ {
+ "headerShown": false,
+ }
+ }
+ />
InboxScreen
EmergencyMiniAppScreens
<Screen
--- package.json
@@ -85,7 +85,7 @@
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.28.21",
"@walmart/associate-listening-mini-app": "1.2.14",
- "@walmart/attendance-mini-app": "3.145.1",
+ "@walmart/attendance-mini-app": "3.155.0",
"@walmart/avp-feature-app": "0.16.5",
"@walmart/avp-shared-library": "0.10.7",
"@walmart/backroom-mini-app": "1.9.0",
--- src/navigation/USHallway/AssociateHallwayNav/MainStackNav.tsx
@@ -26,6 +26,7 @@ import {
FWBNav,
FWB_NAV_SCREEN_NAME,
} from '@walmart/financial-wellbeing-feature-app';
+import {SupportPayNav} from '@walmart/attendance-mini-app';
import InboxFeature from '@walmart/inbox-mini-app';
import ItemInfoFeature from '@walmart/iteminfo-mini-app';
import {FieldLearningApp} from '@walmart/learning-mini-app';
@@ -341,6 +342,15 @@ const MiniAppScreens = createMiniAppScreens(MainStack, [
},
clockCheckEnabled: true,
},
+ {
+ featureId: MINI_APPS.SUPPORT_PAY,
+ name: 'supportPayNav',
+ component: SupportPayNav,
+ options: {
+ headerShown: false,
+ },
+ clockCheckEnabled: false,
+ },
] as const);
export const MainStackNav = () => {
--- src/oneClick/MiniApps.ts
@@ -66,6 +66,7 @@ export enum MINI_APPS {
SHOP_GNFR = 'shop-gnfr',
GLOBAL_VPI = 'global-vpi',
TRANSLATOR = 'translator',
+ SUPPORT_PAY = 'supportPay',
}
// Mapping of other possible identifiers to their correct feature identifier
--- yarn.lock
@@ -6425,9 +6425,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/attendance-mini-app@npm:3.145.1":
- version: 3.145.1
- resolution: "@walmart/attendance-mini-app@npm:3.145.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fattendance-mini-app%2F-%2F%40walmart%2Fattendance-mini-app-3.145.1.tgz"
+"@walmart/attendance-mini-app@npm:3.155.0":
+ version: 3.155.0
+ resolution: "@walmart/attendance-mini-app@npm:3.155.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fattendance-mini-app%2F-%2F%40walmart%2Fattendance-mini-app-3.155.0.tgz"
peerDependencies:
"@react-native-community/datetimepicker": ">=5.1.0"
"@react-navigation/native": ">=6.0.8"
@@ -6458,7 +6458,7 @@ __metadata:
redux-saga: ">=1.2.3"
reselect: ">=4.1.0"
wfm-allspark-data-library: ">=3.3.0"
- checksum: 10c0/21d389956276c916bb1841935d627dba568deac1f9a0a1cd18fae6ad6a3a34a1604fcb048af7d6a5625c927110cd811282ace8229b3b2e8eb27d1c12fc19c554
+ checksum: 10c0/50a291b4081a03eaf208a00dd14eab506f83349835fefca4f7717d0f1a0d72002ce557a0d13dbd5461b81812a51aea478734a480e1a60e3591f49150448215a9
languageName: node
linkType: hard
@@ -7306,7 +7306,7 @@ __metadata:
"@walmart/ask-sam-chat-components": "npm:^0.2.7"
"@walmart/ask-sam-mini-app": "npm:1.28.21"
"@walmart/associate-listening-mini-app": "npm:1.2.14"
- "@walmart/attendance-mini-app": "npm:3.145.1"
+ "@walmart/attendance-mini-app": "npm:3.155.0"
"@walmart/avp-feature-app": "npm:0.16.5"
"@walmart/avp-shared-library": "npm:0.10.7"
"@walmart/backroom-mini-app": "npm:1.9.0"
| feat(attdMiniApp): GTA-156346 bump attendance mini app for drop29 (#3897) | feat(attdMiniApp): GTA-156346 bump attendance mini app for drop29 (#3897)
* feat: bump attendance mini app version for support pay feature
* feat: update snapshots
* bump attd mini app version
* feat: bump attd mini app version
* feat: yarn.lock commit
* feat: bump config components version for side nav
* feat: bump attd version
* feat: merge latest drop/29 and update yarn lock
* feat: update snapshots attd mini app
* feat: bump attd mini app version
* feat: attd mini app bump version
* feat: add yarn lock file
* feat: fix lint error
* feat: bump attd mini app version
* chore(attd bump version): attd bump version
* chore(attendance): bump up attd mini app
* feat(attendance): bump attd mini app
* feat(attdMiniApp-ui): GTA-156346 bump attendance mini app
* feat(attdMiniApp-ui): GTA-156346 bump attendance mini app
* feat(attdMiniApp-ui): GTA-156346 bump attendance mini app
* fix(eslint): GTA-156346 fix eslint file diff
* fix(mainstacknav): GTA-156346 fix mainstack nav support pay entry
* fix(fix spacing issue): GTA-156346 fix spacing issue diff
* fix(attendance): GTA-156346 fix unwanted constant
* chore(yarnlock): GTA-156346 bump attd mini app
---------
Co-authored-by: Pavan Lingamallu - p0l04ug <Pavan.Lingamallu@walmart.com> |
60a8f0c55f2011d74c0046daa59c866722434cd5 | --- packages/core-services-allspark/src/index.tsx
@@ -1,4 +1,8 @@
import { MeAtWalmartContainer } from '@walmart/me-at-walmart-container';
+// Imports needed for TS errors
+// The inferred type of X cannot be named without a reference to '...'. This is likely not portable. A type annotation is necessary.
+import '@walmart/allspark-foundation/Container';
+import '@walmart/allspark-foundation/Feature';
/**
* @deprecated - use MeAtWalmartContainer from "@walmart/allspark-foundation" to
| chore: type fix | chore: type fix
|
940ea6ad21154d0d9352f0cd3f4fa59e25913d6a | --- targets/US/package.json
@@ -144,7 +144,7 @@
"@walmart/roster-mini-app": "2.8.2",
"@walmart/schedule-mini-app": "0.118.0",
"@walmart/shelfavailability-mini-app": "1.5.33",
- "@walmart/shop-gnfr-mini-app": "1.0.114",
+ "@walmart/shop-gnfr-mini-app": "1.0.115",
"@walmart/sidekick-mini-app": "4.67.15",
"@walmart/store-feature-orders": "1.26.12",
"@walmart/taskit-mini-app": "patch:@walmart/taskit-mini-app@npm%3A3.3.0#~/.yarn/patches/@walmart-taskit-mini-app-npm-3.3.0-a2dd632c59.patch",
--- yarn.lock
@@ -7141,7 +7141,7 @@ __metadata:
"@walmart/roster-mini-app": "npm:2.8.2"
"@walmart/schedule-mini-app": "npm:0.118.0"
"@walmart/shelfavailability-mini-app": "npm:1.5.33"
- "@walmart/shop-gnfr-mini-app": "npm:1.0.114"
+ "@walmart/shop-gnfr-mini-app": "npm:1.0.115"
"@walmart/sidekick-mini-app": "npm:4.67.15"
"@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"
@@ -8017,9 +8017,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/shop-gnfr-mini-app@npm:1.0.114":
- version: 1.0.114
- resolution: "@walmart/shop-gnfr-mini-app@npm:1.0.114"
+"@walmart/shop-gnfr-mini-app@npm:1.0.115":
+ version: 1.0.115
+ resolution: "@walmart/shop-gnfr-mini-app@npm:1.0.115"
dependencies:
"@testing-library/react-native": "npm:^12.5.1"
react-native-drop-shadow: "npm:^1.0.0"
@@ -8033,7 +8033,7 @@ __metadata:
"@walmart/gtp-shared-components": ^2.0.0
react: ^18.2.0
react-native: ~0.70.5
- checksum: 10c0/0fb52a0751e6c8092ea7226b30ed9537906fe4b45c988086731da116b0875b4da978df9ade6a5873d5f009b6b7175d5bdfc09ec3c7eaddbcf861a8f2edfd2a40
+ checksum: 10c0/48282dfae9d23f44fd8b294cc9a5caf833338d3f674f45dd9fdf4fe232c68737c60f3d98f4f4fc2878e812776f6002ef9d3f91e0cfb9999dd6366f799cdfd16d
languageName: node
linkType: hard
| version update to 1.1.115 | version update to 1.1.115
|
0dbbb97349ca2195e6eeabbd36846cc7d1ce1ed3 | --- docs/CHANGELOG.md
@@ -1,3 +1,22 @@
+# [1.35.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.34.1...v1.35.0) (2025-05-29)
+
+
+### Bug Fixes
+
+* **ui:** update libraries ([13ee881](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/13ee88198490c5718af9d31e05285d9450300b8e))
+* **ui:** update package ([d7498a4](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/d7498a45a43d9a094c28da47fbad67c2bca7f40e))
+* **ui:** update packages ([13bfc14](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/13bfc14ac626fc2d663d8c8c6728526df905632e))
+
+
+### Features
+
+* **ui:** update package ([158f28a](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/158f28a67562a590aacacafb5776b525e71724b3))
+* **ui:** update scripts ([ce038b6](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/ce038b6f395db92cef7c8336593340ae6a344f86))
+* **ui:** update scripts ([948f594](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/948f5949bb2beb337756d88617ce60f93cba6347))
+* **ui:** update scripts for myteam ([008a445](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/008a4459b734618ec8b023e0539f709a5157ca0e))
+* **ui:** update scripts for myteam ([27b6839](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/27b6839c191d3661605104394b2f2be1d674e918))
+* **ui:** updating version ([4ec9cba](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/4ec9cba6532ff68a0e52570a00e9b1a5543cf979))
+
## [1.34.1](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.34.0...v1.34.1) (2025-05-21)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.34.1",
+ "version": "1.35.0",
"main": "dist/index.js",
"files": [
"dist",
| chore(release): 1.35.0 [skip ci] | chore(release): 1.35.0 [skip ci]
# [1.35.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.34.1...v1.35.0) (2025-05-29)
### Bug Fixes
* **ui:** update libraries ([13ee881](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/13ee88198490c5718af9d31e05285d9450300b8e))
* **ui:** update package ([d7498a4](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/d7498a45a43d9a094c28da47fbad67c2bca7f40e))
* **ui:** update packages ([13bfc14](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/13bfc14ac626fc2d663d8c8c6728526df905632e))
### Features
* **ui:** update package ([158f28a](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/158f28a67562a590aacacafb5776b525e71724b3))
* **ui:** update scripts ([ce038b6](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/ce038b6f395db92cef7c8336593340ae6a344f86))
* **ui:** update scripts ([948f594](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/948f5949bb2beb337756d88617ce60f93cba6347))
* **ui:** update scripts for myteam ([008a445](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/008a4459b734618ec8b023e0539f709a5157ca0e))
* **ui:** update scripts for myteam ([27b6839](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/27b6839c191d3661605104394b2f2be1d674e918))
* **ui:** updating version ([4ec9cba](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/4ec9cba6532ff68a0e52570a00e9b1a5543cf979))
|
84e385ea101d7c763488cffc2f1dd9f8db76a651 | --- packages/celebration-mini-app/src/services/celebrationBackendApi.ts
@@ -43,7 +43,7 @@
import {
HttpModule,
} from '@walmart/allspark-foundation/HTTP';
-import {EnvironmentModule} from '@walmart/allspark-foundation/Environment';
+import {AllsparkEnvironment} from '@walmart/allspark-foundation/Environment';
import {ReduxModule} from '@walmart/allspark-foundation/Redux';
import {DefaultCelebrationConfig, CelebrationUrls} from '../config/appConfig';
@@ -84,6 +84,7 @@ export const getFullUrlForRoute = async (routeConfigKey: keyof CelebrationUrls)
}
};
+//Todo: Replace deprecated AllsparkEnvironment with EnvironmentModule with appropriate configuration
export const CelebrationApi = {
getAnniversaryData: async (variables: AnniversaryQueryVariables) => {
const {siteId, domain, userId, timeZone} = variables;
@@ -92,7 +93,7 @@ export const CelebrationApi = {
`${url}anniversaries/homescreen?storeNbr=${siteId}&domain=${domain}&userId=${userId}&siteTimeZone=${timeZone}`,
{
headers: {
- 'wm_consumer.id': EnvironmentModule.manager.current?.VALUES.appConsumerId || '',
+ 'wm_consumer.id': AllsparkEnvironment.VALUES.appConsumerId,
},
cache: {
ttl: 24 * 60 * 60000, // 24 hour,
| feat(ui): update celebration api | feat(ui): update celebration api
|
8e378fad825d97abd1771bd918c1211fba28e5b2 | --- src/settings/versions/utils.ts
@@ -87,7 +87,7 @@ const getAppVersion = () => {
try {
const baseAppVersion = DeviceInfo.getVersion();
const otaVersion = getCodePushOTAVersion();
- return `${baseAppVersion}-cp-${otaVersion}`;
+ return !!otaVersion ? `${baseAppVersion}-cp-${otaVersion}` : baseAppVersion;
} catch(err) {
versionsActions.versionsFetchError(err as Error);
| fix get version fn in settings | fix get version fn in settings
|
ec0b5e37537e45ab0a5f34d2492c1681fbce4ddd | --- packages/celebration-mini-app-graphql/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.17.2](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.17.1...@walmart/celebration-mini-app-graphql@1.17.2) (2025-11-12)
+
+### Bug Fixes
+
+- update env and logger modules ([565dd94](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/565dd942eae350d928ce9517ad1272c523b078eb))
+
## [1.17.1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.17.0...@walmart/celebration-mini-app-graphql@1.17.1) (2025-11-12)
**Note:** Version bump only for package @walmart/celebration-mini-app-graphql
--- packages/celebration-mini-app-graphql/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app-graphql",
- "version": "1.17.1",
+ "version": "1.17.2",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/celebration-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.25.2](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.25.1...@walmart/celebration-mini-app@1.25.2) (2025-11-12)
+
+### Bug Fixes
+
+- update env and logger modules ([565dd94](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/565dd942eae350d928ce9517ad1272c523b078eb))
+
## [1.25.1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.25.0...@walmart/celebration-mini-app@1.25.1) (2025-11-12)
**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.25.1",
+ "version": "1.25.2",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/celebration-mini-app@1.25.2
- @walmart/celebration-mini-app-graphql@1.17.2
|
45412193cbcbd20773d4c6ec35eae29b2a498cbe | --- package-lock.json
@@ -50,7 +50,7 @@
"@walmart/core-widget-registry": "~1.2.4",
"@walmart/counts-component-miniapp": "0.1.5",
"@walmart/emergency-mini-app": "1.25.1",
- "@walmart/exception-mini-app": "1.5.1",
+ "@walmart/exception-mini-app": "1.5.3",
"@walmart/facilities-management-miniapp": "0.6.67",
"@walmart/feedback-all-spark-miniapp": "0.9.43",
"@walmart/financial-wellbeing-feature-app": "1.10.4",
@@ -7182,15 +7182,19 @@
}
},
"node_modules/@walmart/exception-mini-app": {
- "version": "1.5.1",
- "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-1.5.1.tgz",
- "integrity": "sha512-d5j7mlW+7Muw6vSZzc0WvoPbOOlF0oLkniWfAS6IP/o9SZ08Ph6NRIRAg95PWOqeW52zh7YTJZwEi24Zpaf93g==",
+ "version": "1.5.3",
+ "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-1.5.3.tgz",
+ "integrity": "sha512-2iSrQ4Lkwr3Pm5qEwJsJOSbN21eIDxy+zu5iuaUjycAuxk6rdEnRko+8tncCJi8eGH1crTgPBjrSNEf5y/zKrw==",
"peerDependencies": {
"@walmart/core-services": "^2.0.15",
"@walmart/core-services-allspark": "^2.10.3",
+ "@walmart/functional-components": ">=2.0.6",
+ "@walmart/gtp-shared-components": "2.0.2",
+ "@walmart/ims-print-services-ui": "2.0.6",
"@walmart/react-native-logger": ">=1.31.0-rc.0",
"@walmart/redux-store": ">=3.1.3",
"@walmart/ui-components": ">=1.6.0",
+ "luxon": ">=1.28.0",
"react-i18next": ">=12.0.0",
"react-native-device-info": ">=10.3.0",
"react-native-new-snap-carousel": "^3.9.3",
@@ -30472,9 +30476,9 @@
}
},
"@walmart/exception-mini-app": {
- "version": "1.5.1",
- "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-1.5.1.tgz",
- "integrity": "sha512-d5j7mlW+7Muw6vSZzc0WvoPbOOlF0oLkniWfAS6IP/o9SZ08Ph6NRIRAg95PWOqeW52zh7YTJZwEi24Zpaf93g=="
+ "version": "1.5.3",
+ "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-1.5.3.tgz",
+ "integrity": "sha512-2iSrQ4Lkwr3Pm5qEwJsJOSbN21eIDxy+zu5iuaUjycAuxk6rdEnRko+8tncCJi8eGH1crTgPBjrSNEf5y/zKrw=="
},
"@walmart/facilities-management-miniapp": {
"version": "0.6.67",
--- package.json
@@ -91,7 +91,7 @@
"@walmart/core-widget-registry": "~1.2.4",
"@walmart/counts-component-miniapp": "0.1.5",
"@walmart/emergency-mini-app": "1.25.1",
- "@walmart/exception-mini-app": "1.5.1",
+ "@walmart/exception-mini-app": "1.5.3",
"@walmart/facilities-management-miniapp": "0.6.67",
"@walmart/feedback-all-spark-miniapp": "0.9.43",
"@walmart/financial-wellbeing-feature-app": "1.10.4",
| Hotfix for favorite department 1.5.3 | Hotfix for favorite department 1.5.3
|
dc463df48021f8f2bf79a21fd729cedd026442f6 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/wmconnect-mini-app",
- "version": "3.2.0-alpha.4",
+ "version": "3.2.0",
"main": "dist/index.js",
"files": [
"dist",
| feat(ui): new version for drop 33 | feat(ui): new version for drop 33
|
860f69c6e883b261aa941cdea4ed47563d25bb48 | --- src/redux/selectors.ts
@@ -230,6 +230,6 @@ export const shouldDisplayWarningBanner = createSelector(
export const warningMessageContent = createSelector(
[getRosterConfigData],
(state) =>
- state?.warningMessageContent?.content?.toString() ??
+ state?.warningMessageContent?.toString() ??
CCMFallbacks.warningMessageContent,
);
| Update seletctor | Update seletctor
|
d7768c154f5cd5a58285c56111bc5b6e4b31a9c8 | --- src/services/PushNotificationApi.ts
@@ -53,6 +53,7 @@ export const PushNotificationApi: IPushNotificationApi = {
},
headers: {
'Content-Type': 'application/json',
+ 'wm_correlation.id': '123-123',
},
},
)
--- src/services/PushNotificationApi.ts
@@ -53,6 +53,7 @@ export const PushNotificationApi: IPushNotificationApi = {
},
headers: {
'Content-Type': 'application/json',
+ 'wm_correlation.id': '123-123',
},
},
)
| adding back old correlation id to pass the request | adding back old correlation id to pass the request
|
92d12aa8bfbace3dbbcc15d284aa2af2dae20e29 | --- package-lock.json
@@ -42,7 +42,7 @@
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.18.5",
"@walmart/attendance-mini-app": "3.10.0",
- "@walmart/avp-feature-app": "0.0.33",
+ "@walmart/avp-feature-app": "0.0.34",
"@walmart/avp-shared-library": "0.0.54",
"@walmart/calling-mini-app": "0.1.8",
"@walmart/compass-sdk-rn": "5.18.15",
@@ -8555,9 +8555,9 @@
}
},
"node_modules/@walmart/avp-feature-app": {
- "version": "0.0.33",
- "resolved": "https://npme.walmart.com/@walmart/avp-feature-app/-/avp-feature-app-0.0.33.tgz",
- "integrity": "sha512-5EexWNo/yXnagIqmHoFTZCydvt7fkQoSH3EuFeGmlyJVmyo2vBJSULkHLhxgpVNmDCWF3W3xVZMR54dKl6j2FA==",
+ "version": "0.0.34",
+ "resolved": "https://npme.walmart.com/@walmart/avp-feature-app/-/avp-feature-app-0.0.34.tgz",
+ "integrity": "sha512-6p4RQ/3eOodVp+Os3ap3z4pb7OcxAK7XKUrsxC6UuygMaZRcDfS0BkXHVls3p8NB2yBD6ww0L9IcfG6FAbb8MQ==",
"hasInstallScript": true,
"engines": {
"node": ">=16"
@@ -33248,9 +33248,9 @@
}
},
"@walmart/avp-feature-app": {
- "version": "0.0.33",
- "resolved": "https://npme.walmart.com/@walmart/avp-feature-app/-/avp-feature-app-0.0.33.tgz",
- "integrity": "sha512-5EexWNo/yXnagIqmHoFTZCydvt7fkQoSH3EuFeGmlyJVmyo2vBJSULkHLhxgpVNmDCWF3W3xVZMR54dKl6j2FA=="
+ "version": "0.0.34",
+ "resolved": "https://npme.walmart.com/@walmart/avp-feature-app/-/avp-feature-app-0.0.34.tgz",
+ "integrity": "sha512-6p4RQ/3eOodVp+Os3ap3z4pb7OcxAK7XKUrsxC6UuygMaZRcDfS0BkXHVls3p8NB2yBD6ww0L9IcfG6FAbb8MQ=="
},
"@walmart/avp-shared-library": {
"version": "0.0.54",
--- package.json
@@ -83,7 +83,7 @@
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.18.5",
"@walmart/attendance-mini-app": "3.10.0",
- "@walmart/avp-feature-app": "0.0.33",
+ "@walmart/avp-feature-app": "0.0.34",
"@walmart/avp-shared-library": "0.0.54",
"@walmart/calling-mini-app": "0.1.8",
"@walmart/compass-sdk-rn": "5.18.15",
--- patches/@walmart+avp-feature-app+0.0.33.patch
@@ -1,13 +0,0 @@
-diff --git a/node_modules/@walmart/avp-feature-app/dist/screens/ContributeAsppScreen/Walmart/index.js b/node_modules/@walmart/avp-feature-app/dist/screens/ContributeAsppScreen/Walmart/index.js
-index d2162c8..f1499e0 100644
---- a/node_modules/@walmart/avp-feature-app/dist/screens/ContributeAsppScreen/Walmart/index.js
-+++ b/node_modules/@walmart/avp-feature-app/dist/screens/ContributeAsppScreen/Walmart/index.js
-@@ -259,7 +259,7 @@ export const ContributeAsppWalmartScreen = () => {
- date: paycheckDate,
- })
- : t('common.na')} companyContribution={t('contribute_aspp_screen.modal.desc2', {
-- amount: formatToUSD(((asppCurrentAmount * asppCompanyMatchPercentage) / 100).toFixed(2)),
-+ amount: formatToUSD((walmartMatch).toFixed(2)),
- })} companyContributionLine2={t('contribute_aspp_screen.modal.per_paycheck')} companyContributionStartDate={paycheckDate
- ? t('contribute_aspp_screen.modal.date2', {
- date: paycheckDate,
| removed patch file and bumped the version | removed patch file and bumped the version
|
0847198ad0b3446dc0bd228c3c524eb505384728 | --- packages/allspark-foundation/__tests__/Navigation/components/Header/AllsparkHeader.test.tsx
@@ -101,6 +101,15 @@ describe('AppHeader components', () => {
expect(UNSAFE_getByProps({ size: 'large' })).toBeTruthy();
});
+
+ it('uses size when set', () => {
+ mockCanGoBack.mockReturnValue(false);
+ const { UNSAFE_getByProps } = render(
+ <HeaderTitle size='medium'>Test Title</HeaderTitle>
+ );
+
+ expect(UNSAFE_getByProps({ size: 'medium' })).toBeTruthy();
+ });
});
describe('HeaderLeft', () => {
--- packages/allspark-foundation/src/Navigation/components/Header/AllsparkHeader.tsx
@@ -57,13 +57,15 @@ export const HeaderTitle = (props: {
tintColor?: string;
allowFontScaling?: boolean;
style?: Animated.WithAnimatedValue<StyleProp<TextStyle>>;
+ size?: 'large' | 'medium' | 'small';
}) => {
const navigation = useNavigation();
+ const dynamicSize = navigation.canGoBack() ? 'medium' : 'large'
return (
<Heading
// Root header title is always large, while "sub pages" are medium.
- size={navigation.canGoBack() ? 'medium' : 'large'}
+ size={props.size ?? dynamicSize}
// @ts-ignore
color={props.tintColor}
allowFontScaling={props.allowFontScaling}
--- packages/allspark-foundation/src/Navigation/components/Header/index.tsx
@@ -1,4 +1,4 @@
export * from './Header';
export { type AllsparkStackHeaderOptions } from './LegacyHeader';
export * from './HeaderBuilder';
-export { useMyWalmartHeaderOptions } from './AllsparkHeader';
\ No newline at end of file
+export { useMyWalmartHeaderOptions, HeaderTitle } from './AllsparkHeader';
\ No newline at end of file
| fix(ui): contextual header render issue (#560) | fix(ui): contextual header render issue (#560)
Co-authored-by: Hariharan Sundaram <hariharan.sundaram0@walmart.com> |
a70194998a826ade86fbd465447187bc19647b4c | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.4",
+ "version": "2.0.5",
"private": false,
"main": "bundle/dist/index.js",
"files": [
--- src/mocks/associatesMock.ts
@@ -3,6 +3,38 @@ import {Associate} from '../types';
//TODO: Fix typing for associate object, possibly wait until athena is migrated to do this
export const associatesMock = [
+ {
+ userId: 'a0p0ioy',
+ win: 123468784,
+ firstName: 'Abinash',
+ lastName: 'Panda',
+ fullName: 'Panda, Abinash',
+ preferredFirstName: 'Abinash',
+ preferredLastName: 'Panda',
+ preferredMiddleName: '',
+ displayName: 'Abinash Panda',
+ payType: 'H',
+ employmentStatus: 'A',
+ jobCategoryCodeDesc: 'ENGINEER',
+ mewImPresence: {
+ status: null,
+ groups: null,
+ },
+ teams: [
+ {
+ teamId: '1000329',
+ teamName: 'Deli/Bakery',
+ },
+ ],
+ punch: {
+ clockStatus: '1',
+ clockStatusDesc: 'ON THE CLOCK',
+ lastPunchTime: '2023-02-09 16:43:10',
+ lastPunchType: '1',
+ },
+ absentData: null,
+ storeSchedule: [],
+ },
{
userId: 'j0y0231',
win: 219468784,
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.4",
+ "version": "2.0.5",
"private": false,
"main": "bundle/dist/index.js",
"files": [
--- src/mocks/associatesMock.ts
@@ -3,6 +3,38 @@ import {Associate} from '../types';
//TODO: Fix typing for associate object, possibly wait until athena is migrated to do this
export const associatesMock = [
+ {
+ userId: 'a0p0ioy',
+ win: 123468784,
+ firstName: 'Abinash',
+ lastName: 'Panda',
+ fullName: 'Panda, Abinash',
+ preferredFirstName: 'Abinash',
+ preferredLastName: 'Panda',
+ preferredMiddleName: '',
+ displayName: 'Abinash Panda',
+ payType: 'H',
+ employmentStatus: 'A',
+ jobCategoryCodeDesc: 'ENGINEER',
+ mewImPresence: {
+ status: null,
+ groups: null,
+ },
+ teams: [
+ {
+ teamId: '1000329',
+ teamName: 'Deli/Bakery',
+ },
+ ],
+ punch: {
+ clockStatus: '1',
+ clockStatusDesc: 'ON THE CLOCK',
+ lastPunchTime: '2023-02-09 16:43:10',
+ lastPunchType: '1',
+ },
+ absentData: null,
+ storeSchedule: [],
+ },
{
userId: 'j0y0231',
win: 219468784,
| Update mock | Update mock
|
a33e91aa45abd8daa9d5e8b95dc3e317eae2ee7e | --- yarn.lock
@@ -6419,7 +6419,7 @@ __metadata:
"@walmart/react-native-shared-navigation": "npm:6.1.4"
"@walmart/react-native-sumo-sdk": "npm:2.6.0"
"@walmart/redux-store": "npm:3.7.0"
- "@walmart/roster-mini-app": "npm:2.12.4"
+ "@walmart/roster-mini-app": "npm:2.12.5"
"@walmart/ui-components": "npm:1.15.1"
babel-jest: "npm:^29.2.1"
chance: "npm:^1.1.11"
@@ -6600,9 +6600,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:2.12.4":
- version: 2.12.4
- resolution: "@walmart/roster-mini-app@npm:2.12.4"
+"@walmart/roster-mini-app@npm:2.12.5":
+ version: 2.12.5
+ resolution: "@walmart/roster-mini-app@npm:2.12.5"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6644,7 +6644,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/6725b0ce2205b62780418986058e2d0ed8920a7197fda4d6f572e71c05a44b1cde676616e77b8a06f5da475ea5ee4f7282f7f6bc4e030f56905007a2ea17b566
+ checksum: 10c0/bdcb9fc9f70f7a1737909012f322d5603f32f3b651f2bec48db8f5146e32865e44ba615a1baefe5df2af655042232642e0021a75f827fed5dfbb1f3cfc2f3672
languageName: node
linkType: hard
| Update my team mini app version | Update my team mini app version
|
42b6d9c567af604152eb43d136e480af02c8284b | --- package.json
@@ -122,7 +122,7 @@
"@walmart/settings-mini-app": "1.12.0",
"@walmart/shelfavailability-mini-app": "1.5.11",
"@walmart/taskit-mini-app": "0.49.12",
- "@walmart/time-clock-mini-app": "2.33.0",
+ "@walmart/time-clock-mini-app": "2.34.0",
"@walmart/ui-components": "1.9.0",
"@walmart/welcomeme-mini-app": "0.76.0",
"@walmart/wfm-ui": "0.2.26",
| Upgrade timeclock mini app to 2.34.0 | Upgrade timeclock mini app to 2.34.0
|
6a6e73971c37f0601b1ee618afd66356dc266bbc | --- core/src/core/translations.ts
@@ -3,7 +3,7 @@ export const enUS = {
appNames: {
'@walmart/allspark-me-mini-app': 'Me',
'@walmart/amp-mini-app': 'Amp',
- '@walmart/ask-sam-mini-app': 'Ask Sam',
+ '@walmart/ask-sam-mini-app': 'Sidekick (Ask Sam)',
'@walmart/associate-listening-mini-app': 'Associate Listening',
'@walmart/attendance-mini-app': 'Attendance',
'@walmart/avp-feature-app': 'AVP',
@@ -127,8 +127,8 @@ export const enUS = {
whatsNew: "What's new",
},
navigation: {
- askSam: 'Ask Sam',
- askSamTab: 'Ask Sam',
+ askSam: 'Sidekick',
+ askSamTab: 'Sidekick',
emergency: 'Message Details',
feedback: 'Feedback',
home: 'Home',
@@ -204,7 +204,7 @@ export const enUS = {
itemScannerDesc:
'Quickly scan an item to navigate to Item Info to learn all about it. Then close that page and resume your work.',
maybeLater: 'Maybe later',
- openAskSam: 'Open Ask Sam',
+ openAskSam: 'Open Sidekick',
openItemScanner: 'Open item scanner',
permissionDescription:
'To use the side button when the app is closed you’ll need to allow MyWalmart to appear on top of other apps.',
@@ -212,7 +212,7 @@ export const enUS = {
selectWhichAction:
'Select which action you want to trigger when you press the side button on your device',
startPageDesc:
- 'Press the side button on your device to launch a helpful tool such as Item Scanner, or Ask Sam.',
+ 'Press the side button on your device to launch a helpful tool such as Item Scanner, or Sidekick.',
startPageHeading: 'Use your device side button',
},
signoutConfirmationDialog: {
@@ -242,7 +242,7 @@ export const esMX = {
appNames: {
'@walmart/allspark-me-mini-app': 'Me',
'@walmart/amp-mini-app': 'Amp',
- '@walmart/ask-sam-mini-app': 'Ask Sam',
+ '@walmart/ask-sam-mini-app': 'Sidekick (Ask Sam)',
'@walmart/associate-listening-mini-app': 'Asociado Escuchando',
'@walmart/attendance-mini-app': 'Attendance',
'@walmart/avp-feature-app': 'AVP',
@@ -370,8 +370,8 @@ export const esMX = {
whatsNew: 'Novedades en la app',
},
navigation: {
- askSam: 'Ask Sam',
- askSamTab: 'Ask Sam',
+ askSam: 'Sidekick',
+ askSamTab: 'Sidekick',
emergency: 'Message Details',
feedback: 'Comentarios',
home: 'Inicio',
--- core/src/oneClick/FeatureNames.ts
@@ -1,5 +1,5 @@
export const FEATURE_NAMES = {
- ask_sam: 'Ask Sam',
+ ask_sam: 'Sidekick',
item_info: 'Item Info',
messages: 'Messages',
tasks: 'Tasks',
--- core/src/settings/translations.ts
@@ -55,10 +55,10 @@ export const enUS = {
},
privacyPreferences: {
anniversaryDesc:
- 'Show the anniversary of my first day with Walmart, including years or months worked and hire data. Visible at the bottom of the homepage and by typing “anniversaries” in Ask Sam.',
+ 'Show the anniversary of my first day with Walmart, including years or months worked and hire data. Visible at the bottom of the homepage and by typing “anniversaries” in Sidekick.',
anniversaryLabel: 'Show my work anniversary',
birthdayDesc:
- 'Show my birthday so that others can celebrate with me. Visible at the bottom of the homepage and by typing "birthdays" in Ask Sam.',
+ 'Show my birthday so that others can celebrate with me. Visible at the bottom of the homepage and by typing "birthdays" in Sidekick.',
birthdayLabel: 'Show my birthday',
error: 'Something went wrong',
subTitle:
@@ -158,7 +158,7 @@ export const esMX = {
'Mostrar el aniversario de mi primer día en Walmart, incluidos los años o meses trabajados y los datos de contratación. Visible en la parte inferior de la página de inicio y al escribir anniversaries (aniversarios) en Pregúntale a Sam.',
anniversaryLabel: 'Mostrar mi aniversario de trabajo',
birthdayDesc:
- 'Mostrar mi cumpleaños para que otros puedan celebrarlo conmigo. Visible en la parte inferior de la página de inicio y al escribir "birthdays" (cumpleaños) en Ask Sam.',
+ 'Mostrar mi cumpleaños para que otros puedan celebrarlo conmigo. Visible en la parte inferior de la página de inicio y al escribir "birthdays" (cumpleaños) en Sidekick.',
birthdayLabel: 'Mostrar mi cumpleaños',
error: 'Algo salio mal',
subTitle:
| ALLSPARK-5115: Rebranding of Ask Sam to Sidekick | ALLSPARK-5115: Rebranding of Ask Sam to Sidekick
|
d428317763b1545a0bfb202d128e088182058e74 | --- src/components/TeamList.tsx
@@ -177,7 +177,6 @@ const TeamItem = (props: {
const userIsInRoster = useUserIsInRoster();
const isMessageButtonEnabled: boolean = useSelector(messageButtonEnabled);
const userIsImpersonatedOnDev: boolean = useIsImpersonatedOnDev();
- const isPushToTalkEnabled: boolean = useSelector(pushToTalkEnabled);
const startTeamText = useStartTeamText();
@@ -221,46 +220,26 @@ const TeamItem = (props: {
/>
}
trailing={
- <>
- {isPushToTalkEnabled && (
- <Button
- testID='totalStoreTalkButton'
- variant='secondary'
- UNSAFE_style={styles.pushToTalkBtn}
- onPress={() => {
- navigation.navigate('myTeam.pushToTalk', {
- // @ts-ignore
- details: {
- channelName: 'TEAM_' + team.teamId,
- },
- });
- }}
+ canMessage && isMessageButtonEnabled ? (
+ <Button
+ variant='secondary'
+ onPress={onMessage}
+ size='small'
+ disabled={!userIsInRoster || !userIsImpersonatedOnDev}>
+ <Text>{t('rosterScreen.teamListItem.messageBtn')}</Text>
+ </Button>
+ ) : (
+ <TouchableOpacity onPress={onViewTeam}>
+ <Body
+ weight='400'
size='small'
- disabled={!userIsInRoster || !userIsImpersonatedOnDev}>
- <Text>{t('rosterScreen.associateRosterItem.pushToTalkBtn')}</Text>
- </Button>
- )}
- {canMessage && isMessageButtonEnabled ? (
- <Button
- variant='secondary'
- onPress={onMessage}
- size='small'
- disabled={!userIsInRoster || !userIsImpersonatedOnDev}>
- <Text>{t('rosterScreen.teamListItem.messageBtn')}</Text>
- </Button>
- ) : (
- <TouchableOpacity onPress={onViewTeam}>
- <Body
- weight='400'
- size='small'
- numberOfLines={1}
- UNSAFE_style={styles.viewTeam}
- testID='viewTeamButton'>
- {t('rosterScreen.teamListItem.viewTeam')}
- </Body>
- </TouchableOpacity>
- )}
- </>
+ numberOfLines={1}
+ UNSAFE_style={styles.viewTeam}
+ testID='viewTeamButton'>
+ {t('rosterScreen.teamListItem.viewTeam')}
+ </Body>
+ </TouchableOpacity>
+ )
}>
<Body weight='400' size='small'>
{t('rosterScreen.teamListItem.clockedIn', {
--- src/components/TeamList.tsx
@@ -177,7 +177,6 @@ const TeamItem = (props: {
const userIsInRoster = useUserIsInRoster();
const isMessageButtonEnabled: boolean = useSelector(messageButtonEnabled);
const userIsImpersonatedOnDev: boolean = useIsImpersonatedOnDev();
- const isPushToTalkEnabled: boolean = useSelector(pushToTalkEnabled);
const startTeamText = useStartTeamText();
@@ -221,46 +220,26 @@ const TeamItem = (props: {
/>
}
trailing={
- <>
- {isPushToTalkEnabled && (
- <Button
- testID='totalStoreTalkButton'
- variant='secondary'
- UNSAFE_style={styles.pushToTalkBtn}
- onPress={() => {
- navigation.navigate('myTeam.pushToTalk', {
- // @ts-ignore
- details: {
- channelName: 'TEAM_' + team.teamId,
- },
- });
- }}
+ canMessage && isMessageButtonEnabled ? (
+ <Button
+ variant='secondary'
+ onPress={onMessage}
+ size='small'
+ disabled={!userIsInRoster || !userIsImpersonatedOnDev}>
+ <Text>{t('rosterScreen.teamListItem.messageBtn')}</Text>
+ </Button>
+ ) : (
+ <TouchableOpacity onPress={onViewTeam}>
+ <Body
+ weight='400'
size='small'
- disabled={!userIsInRoster || !userIsImpersonatedOnDev}>
- <Text>{t('rosterScreen.associateRosterItem.pushToTalkBtn')}</Text>
- </Button>
- )}
- {canMessage && isMessageButtonEnabled ? (
- <Button
- variant='secondary'
- onPress={onMessage}
- size='small'
- disabled={!userIsInRoster || !userIsImpersonatedOnDev}>
- <Text>{t('rosterScreen.teamListItem.messageBtn')}</Text>
- </Button>
- ) : (
- <TouchableOpacity onPress={onViewTeam}>
- <Body
- weight='400'
- size='small'
- numberOfLines={1}
- UNSAFE_style={styles.viewTeam}
- testID='viewTeamButton'>
- {t('rosterScreen.teamListItem.viewTeam')}
- </Body>
- </TouchableOpacity>
- )}
- </>
+ numberOfLines={1}
+ UNSAFE_style={styles.viewTeam}
+ testID='viewTeamButton'>
+ {t('rosterScreen.teamListItem.viewTeam')}
+ </Body>
+ </TouchableOpacity>
+ )
}>
<Body weight='400' size='small'>
{t('rosterScreen.teamListItem.clockedIn', {
| revert teamslist changes | revert teamslist changes
|
fe67b513999a6548ced7a38103f0221fbfe6375c | --- packages/allspark-foundation/src/User/redux.ts
@@ -1,9 +1,9 @@
import { createSlice, PayloadAction } from '@reduxjs/toolkit';
+import { merge } from 'lodash';
import { AuthActionCreators } from '../Auth';
import { generateActionTypes } from '../Redux/utils';
import { InferActionTypes } from '../Redux/types';
import { AllsparkUserService, ImpersonationUser, User } from './types';
-import { merge } from 'lodash';
export type UserState = {
loading: boolean;
| chore: change import order | chore: change import order
|
e50af8b65f204acc28af09a79ffc220b7c13a1be | --- packages/me-at-walmart-common/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-common",
- "version": "6.29.0-alpha.0",
+ "version": "6.32.0",
"description": "Common utilities and components for Me@Walmat mini apps",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/me-at-walmart-container/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-container",
- "version": "6.29.0-alpha.0",
+ "version": "6.32.0",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore: bump me-at-walmart-common and me-at-walmart-container package versions (#4439) | chore: bump me-at-walmart-common and me-at-walmart-container package versions (#4439)
* chore: update packages
* chore: trigger build |
c25e0b97de5ead625363121dd593f0faa033d30c | --- src/translations/es-MX.ts
@@ -260,7 +260,7 @@ export const esMX_common = {
selectWhichAction:
'Selecciona la acción que deseas activar cuando presiones el botón lateral en tu dispositivo',
startPageDesc:
- 'Presiona el botón lateral de tu dispositivo para lanzar una herramienta útil como el Escáner de Artículos o Pregunta a Sam.',
+ 'Presiona el botón lateral en tu dispositivo para lanzar una herramienta útil como el Escáner de Artículos o, Pregunta a Sam.',
startPageHeading: 'Usa el botón lateral de tu dispositivo ',
},
signoutConfirmationDialog: {
| fixing translation | fixing translation
|
d755114dd64c6f9c9aab0b21295ca8c20fd17b63 | --- package.json
@@ -96,7 +96,7 @@
"@walmart/react-native-sumo-sdk": "2.7.4",
"@walmart/redux-store": "6.3.29",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "2.35.1",
+ "@walmart/wmconnect-mini-app": "2.36.0",
"babel-jest": "^29.6.3",
"chance": "^1.1.11",
"crypto-js": "~4.2.0",
--- yarn.lock
@@ -6653,7 +6653,7 @@ __metadata:
"@walmart/react-native-sumo-sdk": "npm:2.7.4"
"@walmart/redux-store": "npm:6.3.29"
"@walmart/ui-components": "npm:1.15.1"
- "@walmart/wmconnect-mini-app": "npm:2.35.1"
+ "@walmart/wmconnect-mini-app": "npm:2.36.0"
babel-jest: "npm:^29.6.3"
chance: "npm:^1.1.11"
crypto-js: "npm:~4.2.0"
@@ -6736,13 +6736,13 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:2.35.1":
- version: 2.35.1
- resolution: "@walmart/wmconnect-mini-app@npm:2.35.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-2.35.1.tgz"
+"@walmart/wmconnect-mini-app@npm:2.36.0":
+ version: 2.36.0
+ resolution: "@walmart/wmconnect-mini-app@npm:2.36.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-2.36.0.tgz"
dependencies:
- expo: "npm:^51.0.0"
+ expo: "npm:~51.0.28"
react: "npm:18.2.0"
- react-native: "npm:~0.75.4"
+ react-native: "npm:0.74.5"
peerDependencies:
"@walmart/allspark-foundation": ">=6.32.0"
expo: ^51.0.0
@@ -6753,7 +6753,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/34cb5b3048bcf49c47a2adbcd9ea5f4f776c2cf882f3a69cfe10ebbb63515efb49582f5452e2c15d79d3e3e5b9d9012f271d354055134855cda3ed9cd76aee8c
+ checksum: 10c0/196111698e252f23d8709fb60076e0ae37ebd21e1c885bf8580ac53ffb1869ceeb45b6a930898b010b4e207e9e8886fc16832f6a0504c3351cb178f2d972a5e7
languageName: node
linkType: hard
@@ -10025,7 +10025,7 @@ __metadata:
languageName: node
linkType: hard
-"expo@npm:^51.0.0":
+"expo@npm:^51.0.0, expo@npm:~51.0.28":
version: 51.0.39
resolution: "expo@npm:51.0.39::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Fexpo%2F-%2Fexpo-51.0.39.tgz"
dependencies:
| fix(ui): update package | fix(ui): update package
|
d80e0ff1592f054396852111df4319b3e4d6ce7d | --- packages/allspark-foundation/src/Components/TeamListItem/TeamListItem.tsx
@@ -38,7 +38,12 @@ export const TeamListItem = ({
source={{ uri: images[teamName] }}
style={styles.teamImage}
/>
- <View style={styles.teamInnerContainer}>
+ <View
+ accessible={true}
+ accessibilityLabel={`${teamName} ${subText || ''}`}
+ accessibilityRole='header'
+ style={styles.teamInnerContainer}
+ >
<Text style={styles.teamName}>{teamName}</Text>
{subText && <Text style={styles.subText}>{subText}</Text>}
</View>
@@ -46,11 +51,20 @@ export const TeamListItem = ({
<View style={styles.iconContainer}>
{isPrimaryTeam && (
<View style={styles.primaryTeamContainer}>
- <Text style={styles.primaryTeamText}>{primaryTeamText}</Text>
+ <Text
+ accessibilityLabel={primaryTeamText}
+ style={styles.primaryTeamText}
+ >
+ {primaryTeamText}
+ </Text>
</View>
)}
{iconType === 'checkbox' && (
<Checkbox
+ accessibilityState={{
+ selected: isSelected,
+ disabled: checkboxDisabled,
+ }}
checked={isSelected}
disabled={checkboxDisabled}
onPress={handlePress}
@@ -59,6 +73,8 @@ export const TeamListItem = ({
)}
{iconType === 'navArrow' && (
<TouchableOpacity
+ accessibilityRole='button'
+ accessibilityLabel={`View ${teamName}`}
onPress={handlePress}
testID={`team-selection-nav-arrow-${teamName}`}
>
--- packages/allspark-foundation/src/HubFeature/Onboarding/TeamSelection/Component/TeamSelectionList.tsx
@@ -135,6 +135,7 @@ export const TeamSelectionList = ({
<View>
{section.isPrimaryArea ? (
<View
+ accessible={true}
accessibilityRole='header'
accessibilityLabel={section.title!}
>
| feat(ui): added accessibility | feat(ui): added accessibility
|
24cb9a93e5cf0e80b9c7e6db19400cdee2236be4 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "3.4.0-alpha.2",
+ "version": "3.6.0",
"main": "dist/index.js",
"files": [
"dist",
@@ -89,7 +89,7 @@
"@walmart/react-native-scanner-3.0": "0.10.4",
"@walmart/react-native-sumo-sdk": "2.8.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "3.4.0-alpha.2",
+ "@walmart/wmconnect-mini-app": "3.6.0",
"babel-jest": "^29.6.3",
"chance": "^1.1.11",
"crypto-js": "~4.2.0",
--- yarn.lock
@@ -6368,7 +6368,7 @@ __metadata:
"@walmart/react-native-scanner-3.0": "npm:0.10.4"
"@walmart/react-native-sumo-sdk": "npm:2.8.0"
"@walmart/ui-components": "npm:1.15.1"
- "@walmart/wmconnect-mini-app": "npm:3.4.0-alpha.2"
+ "@walmart/wmconnect-mini-app": "npm:3.6.0"
babel-jest: "npm:^29.6.3"
chance: "npm:^1.1.11"
crypto-js: "npm:~4.2.0"
@@ -6451,9 +6451,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:3.4.0-alpha.2":
- version: 3.4.0-alpha.2
- resolution: "@walmart/wmconnect-mini-app@npm:3.4.0-alpha.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.4.0-alpha.2.tgz"
+"@walmart/wmconnect-mini-app@npm:3.6.0":
+ version: 3.6.0
+ resolution: "@walmart/wmconnect-mini-app@npm:3.6.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.6.0.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=6.32.0"
expo: ~52.0.46
@@ -6464,7 +6464,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/689f63f126024d93e0b7695062aacb12b90dd16fda2a78902df9eaf18e43bbf85a19e9231ceef42a9ba312435d5d2fff9f9bca71b1dc3f2dc0ba35a9e304b134
+ checksum: 10c0/1ba0b0dfadb2f9dc7813bda36d88c9961e2cf2b8204fbda6a2c4465c09fb077b2c65b60f425787c5d7bf866e63d2d6a60d2ac14270667f8b7b746c58edbc7912
languageName: node
linkType: hard
| feat(ui): new version for drop 34 | feat(ui): new version for drop 34
|
807ae842bc349d75034789ea51a5af5fd2fc2b78 | --- package-lock.json
@@ -34,10 +34,10 @@
"@terrylinla/react-native-sketch-canvas": "0.8.0",
"@walmart/allspark-graphql-client": "^1.4.5",
"@walmart/allspark-neon-core": "0.1.31",
- "@walmart/amp-mini-app": "1.1.42",
+ "@walmart/amp-mini-app": "1.1.44",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.12.2",
- "@walmart/attendance-mini-app": "0.190.2",
+ "@walmart/attendance-mini-app": "0.238.0",
"@walmart/compass-sdk-rn": "4.0.0",
"@walmart/config-components": "4.2.1 ",
"@walmart/core-services": "~2.0.19",
@@ -55,7 +55,7 @@
"@walmart/gtp-shared-components": "2.0.6",
"@walmart/impersonation-mini-app": "1.20.1",
"@walmart/ims-print-services-ui": "2.4.1",
- "@walmart/inbox-mini-app": "0.85.1",
+ "@walmart/inbox-mini-app": "0.85.2",
"@walmart/iteminfo-mini-app": "7.3.4",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-field-mini-app": "12.0.25",
@@ -4792,9 +4792,9 @@
}
},
"node_modules/@walmart/amp-mini-app": {
- "version": "1.1.42",
- "resolved": "https://npme.walmart.com/@walmart/amp-mini-app/-/amp-mini-app-1.1.42.tgz",
- "integrity": "sha512-pXTSVA92bcyIwwvLeY1brwDduIhkaePSYmS9clkz2JdCPfutJAnBVSp/3fQ5xnM5icBmPOM9oOK5gSJQVFvesA==",
+ "version": "1.1.44",
+ "resolved": "https://npme.walmart.com/@walmart/amp-mini-app/-/amp-mini-app-1.1.44.tgz",
+ "integrity": "sha512-7G8J8KhLlaxXrucovUz2LBIWxcDKWcc2w1xkRVQQBHTdCkFIRX+pKesTaspASDdxUBLo7qzDMUzzIvW/cVDdiA==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -4886,9 +4886,9 @@
}
},
"node_modules/@walmart/attendance-mini-app": {
- "version": "0.190.2",
- "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.190.2.tgz",
- "integrity": "sha512-/Q+xnLF/VG/yQqDAeSch/k2N/J+Y6etnlHJsX5QN21WPqf1NBgc9e+PgL7EpelP+ZPlIcN4ZcU0FsHW70bb7eg==",
+ "version": "0.238.0",
+ "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.238.0.tgz",
+ "integrity": "sha512-kQN/NcSo++tbpMnk4jid92alVPexATJ3WTT/3IjOSAf9C9kgEFvlb270L+PDIpcofAniHCNI2hbJ5JdlOHnl+A==",
"dependencies": {
"@walmart/gta-react-native-calendars": "^0.0.16",
"@walmart/wfm-ui": "^0.2.26",
@@ -5354,9 +5354,9 @@
}
},
"node_modules/@walmart/inbox-mini-app": {
- "version": "0.85.1",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.85.1.tgz",
- "integrity": "sha512-LdxqAV+zOOIK6zy/32Hjlnlphf8sCa8zg8rYHVTuWBXOjEHSTxAqeCzzdcVhFI90mXciDo/RjBX7vXgra3RPvQ==",
+ "version": "0.85.2",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.85.2.tgz",
+ "integrity": "sha512-AAOapIuGpqsEHJO0lP9A1jWYus3t2IZT8LGyUN7bKDyBRdry/Dgoe8SBlGX7p9iZ2PJ5CjQn9eXipvYqav0mXA==",
"dependencies": {
"@walmart/moment-walmart": "^1.0.4",
"@walmart/walmart-fiscal-week": "^0.3.6"
@@ -25119,9 +25119,9 @@
}
},
"@walmart/amp-mini-app": {
- "version": "1.1.42",
- "resolved": "https://npme.walmart.com/@walmart/amp-mini-app/-/amp-mini-app-1.1.42.tgz",
- "integrity": "sha512-pXTSVA92bcyIwwvLeY1brwDduIhkaePSYmS9clkz2JdCPfutJAnBVSp/3fQ5xnM5icBmPOM9oOK5gSJQVFvesA=="
+ "version": "1.1.44",
+ "resolved": "https://npme.walmart.com/@walmart/amp-mini-app/-/amp-mini-app-1.1.44.tgz",
+ "integrity": "sha512-7G8J8KhLlaxXrucovUz2LBIWxcDKWcc2w1xkRVQQBHTdCkFIRX+pKesTaspASDdxUBLo7qzDMUzzIvW/cVDdiA=="
},
"@walmart/ask-sam-chat-components": {
"version": "0.2.13",
@@ -25159,9 +25159,9 @@
}
},
"@walmart/attendance-mini-app": {
- "version": "0.190.2",
- "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.190.2.tgz",
- "integrity": "sha512-/Q+xnLF/VG/yQqDAeSch/k2N/J+Y6etnlHJsX5QN21WPqf1NBgc9e+PgL7EpelP+ZPlIcN4ZcU0FsHW70bb7eg==",
+ "version": "0.238.0",
+ "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.238.0.tgz",
+ "integrity": "sha512-kQN/NcSo++tbpMnk4jid92alVPexATJ3WTT/3IjOSAf9C9kgEFvlb270L+PDIpcofAniHCNI2hbJ5JdlOHnl+A==",
"requires": {
"@walmart/gta-react-native-calendars": "^0.0.16",
"@walmart/wfm-ui": "^0.2.26",
@@ -25311,9 +25311,9 @@
"version": "2.4.1"
},
"@walmart/inbox-mini-app": {
- "version": "0.85.1",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.85.1.tgz",
- "integrity": "sha512-LdxqAV+zOOIK6zy/32Hjlnlphf8sCa8zg8rYHVTuWBXOjEHSTxAqeCzzdcVhFI90mXciDo/RjBX7vXgra3RPvQ==",
+ "version": "0.85.2",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.85.2.tgz",
+ "integrity": "sha512-AAOapIuGpqsEHJO0lP9A1jWYus3t2IZT8LGyUN7bKDyBRdry/Dgoe8SBlGX7p9iZ2PJ5CjQn9eXipvYqav0mXA==",
"requires": {
"@walmart/moment-walmart": "1.0.4",
"@walmart/walmart-fiscal-week": "^0.3.6"
--- package.json
@@ -76,10 +76,10 @@
"@terrylinla/react-native-sketch-canvas": "0.8.0",
"@walmart/allspark-graphql-client": "^1.4.5",
"@walmart/allspark-neon-core": "0.1.31",
- "@walmart/amp-mini-app": "1.1.42",
+ "@walmart/amp-mini-app": "1.1.44",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.12.2",
- "@walmart/attendance-mini-app": "0.190.2",
+ "@walmart/attendance-mini-app": "0.238.0",
"@walmart/compass-sdk-rn": "4.0.0",
"@walmart/config-components": "4.2.1 ",
"@walmart/core-services": "~2.0.19",
@@ -97,7 +97,7 @@
"@walmart/gtp-shared-components": "2.0.6",
"@walmart/impersonation-mini-app": "1.20.1",
"@walmart/ims-print-services-ui": "2.4.1",
- "@walmart/inbox-mini-app": "0.85.1",
+ "@walmart/inbox-mini-app": "0.85.2",
"@walmart/iteminfo-mini-app": "7.3.4",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-field-mini-app": "12.0.25",
| Platform bug fixes | Platform bug fixes
|
3a4c0344eb45ac08c95840e6c43561c93fd9f279 | --- packages/associate-exp-hub-mini-app/src/translations/en-US.json
@@ -2,7 +2,7 @@
"total": "Total",
"done": "Done",
"searchTeamInput": {
- "placeholder": "Search team member"
+ "placeholder": "Search"
},
"shiftFilter": {
"filterTitle": "Shift",
--- packages/associate-exp-hub-mini-app/src/translations/es-MX.json
@@ -2,7 +2,7 @@
"total": "Total",
"done": "Hecho",
"searchTeamInput": {
- "placeholder": "Miembro del equipo de búsqueda"
+ "placeholder": "Buscar"
},
"shiftFilter": {
"filterTitle": "Turno",
| feat(ui): update translation | feat(ui): update translation
|
5ae2bfbe896ed3d38ff882a231d71c69a954877d | --- graphql.yml
@@ -59,7 +59,7 @@ applications:
- name: "stage"
persistedQueries:
- name: "getStoreAssociateTeamPreference"
- hash: "11ec652dd0d72a1112b8e8c4c7632fcdda40c4e3579fda6dfbe84438a2fdc568"
+ hash: "6ca7b21a72881630b5f4995de9b12e903767ddbd6cef917a77dec37a7dc0e0f6"
queryTemplate: "src/common/queries/getStoreAssociateTeamPreference.graphql"
tags:
- "v1"
@@ -89,12 +89,12 @@ applications:
tags:
- "v1"
- name: "getTeamsByStore"
- hash: "175371bf5e48cf64c9d66fd32d1ab69b1550d124972da0028660d1eb012b8ff7"
+ hash: "c853b5ca979fab14adeba6a915f8b9a685cd0c468a6e3b4ad0ff718bb73d511b"
queryTemplate: "src/common/queries/getTeamsByStore.graphql"
tags:
- "v1"
- name: "upsertStoreAssociatePreference"
- hash: "226eed0bafd2e216574d2517b0f6acd2ac0634b883cd56d4217f03f3f0c482e9"
+ hash: "cfbdf150c89fc1ed29f403e889b718d8322a4e6d2018f6147bfd5a09e19a1ada"
queryTemplate: "src/common/queries/upsertStoreAssociatePreference.graphql"
tags:
- "v1"
--- src/common/queries/getStoreAssociateTeamPreference.graphql
@@ -15,6 +15,12 @@ query getStoreAssociateTeamPreference($site: Int!, $win: String!) {
}
teamId
teamName
+ merchDeptNbrs
+ metricsStoreArea {
+ data {
+ departmentNumbers
+ }
+ }
}
}
}
--- src/common/queries/getTeamsByStore.graphql
@@ -23,5 +23,11 @@ query getTeamsByStore($countryCode: String!, $includeManagement: Boolean, $siteN
teamName
workgroup
workgroupId
+ merchDeptNbrs
+ metricsStoreArea {
+ data {
+ departmentNumbers
+ }
+ }
}
}
\ No newline at end of file
--- src/common/queries/upsertStoreAssociatePreference.graphql
@@ -12,6 +12,12 @@ mutation upsertStoreAssociatePreference($site: Int!, $teams: [ManagerExperienceT
countryCode
site
teamId
+ merchDeptNbrs
+ metricsStoreArea {
+ data {
+ departmentNumbers
+ }
+ }
}
}
}
| feat(ui): updated queries and hash for stage | feat(ui): updated queries and hash for stage
|
eab3b48a7cbde7e83ff117d537db284bd7693e73 | --- package.json
@@ -96,7 +96,7 @@
"@walmart/gtp-shared-components": "2.0.3",
"@walmart/impersonation-mini-app": "1.11.0",
"@walmart/ims-print-services-ui": "1.2.2",
- "@walmart/inbox-mini-app": "0.81.7",
+ "@walmart/inbox-mini-app": "0.81.8",
"@walmart/iteminfo-mini-app": "5.3.5",
"@walmart/manager-approvals-miniapp": "0.2.1",
"@walmart/me-field-mini-app": "1.1.45",
| update inbox version | update inbox version
|
d01e3036e6301ed92955301d60f880337dedbf5c | --- package-lock.json
@@ -40,7 +40,7 @@
"@walmart/amp-mini-app": "1.1.59",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.15.4",
- "@walmart/attendance-mini-app": "1.62.2",
+ "@walmart/attendance-mini-app": "1.62.3",
"@walmart/compass-sdk-rn": "5.5.0",
"@walmart/config-components": "4.2.5",
"@walmart/copilot-mini-app": "2.3.19",
@@ -7992,9 +7992,9 @@
}
},
"node_modules/@walmart/attendance-mini-app": {
- "version": "1.62.2",
- "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-1.62.2.tgz",
- "integrity": "sha512-pUXrN5bWlrGzp6Tch1U0FwEhq1V++PXlMNtNyN86sC0JbLmUvGsTt1QOECkY/qQpL7OU5mWJCVjJLwxcPPqr9Q==",
+ "version": "1.62.3",
+ "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-1.62.3.tgz",
+ "integrity": "sha512-JVj4itivaT+WHBMBFTszW7x9nu7sRJVWpoXzoU8ULZcxkDnFQHsZt0XXBgkuFDiBIdlzEbldz2amCobfH4okyA==",
"dependencies": {
"@walmart/gta-react-native-calendars": "^0.0.16",
"@walmart/wfm-ui": "^0.2.26",
@@ -33560,9 +33560,9 @@
}
},
"@walmart/attendance-mini-app": {
- "version": "1.62.2",
- "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-1.62.2.tgz",
- "integrity": "sha512-pUXrN5bWlrGzp6Tch1U0FwEhq1V++PXlMNtNyN86sC0JbLmUvGsTt1QOECkY/qQpL7OU5mWJCVjJLwxcPPqr9Q==",
+ "version": "1.62.3",
+ "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-1.62.3.tgz",
+ "integrity": "sha512-JVj4itivaT+WHBMBFTszW7x9nu7sRJVWpoXzoU8ULZcxkDnFQHsZt0XXBgkuFDiBIdlzEbldz2amCobfH4okyA==",
"requires": {
"@walmart/gta-react-native-calendars": "^0.0.16",
"@walmart/wfm-ui": "^0.2.26",
--- package.json
@@ -81,7 +81,7 @@
"@walmart/amp-mini-app": "1.1.59",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.15.4",
- "@walmart/attendance-mini-app": "1.62.2",
+ "@walmart/attendance-mini-app": "1.62.3",
"@walmart/compass-sdk-rn": "5.5.0",
"@walmart/config-components": "4.2.5",
"@walmart/copilot-mini-app": "2.3.19",
| ama v1.62.3 fix for navigation bug | ama v1.62.3 fix for navigation bug
|
b7f56f3936753e5914e93988625e7ff63f1f86d9 | --- 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.17.1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.17.0...@walmart/celebration-mini-app-graphql@1.17.1) (2025-11-12)
+
+**Note:** Version bump only for package @walmart/celebration-mini-app-graphql
+
# [1.17.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.16.0...@walmart/celebration-mini-app-graphql@1.17.0) (2025-11-11)
### Features
--- packages/celebration-mini-app-graphql/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app-graphql",
- "version": "1.17.0",
+ "version": "1.17.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.25.1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.25.0...@walmart/celebration-mini-app@1.25.1) (2025-11-12)
+
+**Note:** Version bump only for package @walmart/celebration-mini-app
+
# [1.25.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.24.2...@walmart/celebration-mini-app@1.25.0) (2025-11-11)
### Features
--- packages/celebration-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app",
- "version": "1.25.0",
+ "version": "1.25.1",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/celebration-mini-app@1.25.1
- @walmart/celebration-mini-app-graphql@1.17.1
|
aac93b2119f32d67f4db253ee089ebbe11d3ece5 | --- __tests__/AppTest.tsx
@@ -2,6 +2,9 @@ import React from 'react';
import {create} from 'react-test-renderer';
import {App} from '../src/index';
import {useSelector} from 'react-redux';
+import { BaseApp } from '../src/index';
+import { Logger } from '../src/core/Logger';
+import CodePush from 'react-native-code-push';
jest.mock('../env', () => ({
__esModule: true,
@@ -10,9 +13,9 @@ jest.mock('../env', () => ({
jest.mock('../src/core/Auth', () => ({
AuthRef: {current: {}},
}));
-jest.mock('../src/core/Logger', () => ({
- CoreLoggerProvider: 'CoreLoggerProvider',
-}));
+// jest.mock('../src/core/Logger', () => ({
+// CoreLoggerProvider: 'CoreLoggerProvider',
+// }));
jest.mock('../src/core/Telemetry', () => ({
TelemetryRef: {current: {}},
}));
@@ -45,3 +48,49 @@ describe('RootContainer', () => {
expect(create(<App />).toJSON()).toMatchSnapshot();
});
});
+
+describe("Codepush related tests", () => {
+ it("is downloading an update package", () => {
+ const infoSpy = jest.spyOn(Logger, 'info');
+ const app = new BaseApp({});
+ app.codePushStatusDidChange("DOWNLOADING_PACKAGE");
+ expect(infoSpy).toHaveBeenCalledWith("Codepush: Downloading update");
+ });
+
+ it("an update was installed: unknown scenario", async () => {
+ const infoSpy = jest.spyOn(Logger, 'info');
+ const app = new BaseApp({});
+ (CodePush.getUpdateMetadata as jest.Mock).mockResolvedValue(null)
+ await app.codePushStatusDidChange("UPDATE_INSTALLED"); // This needs to await for some reason!
+ expect(infoSpy).toHaveBeenCalledWith("Codepush: Update installed", {"updateLabel": ""});
+ });
+
+ it("an update was installed: known version", async () => {
+ const infoSpy = jest.spyOn(Logger, 'info');
+ const app = new BaseApp({});
+ (CodePush.getUpdateMetadata as jest.Mock).mockResolvedValue({
+ label: 'v2'
+ })
+ await app.codePushStatusDidChange("UPDATE_INSTALLED"); // This needs to await for some reason!
+ expect(infoSpy).toHaveBeenCalledWith("Codepush: Update installed", {"updateLabel": "v2"});
+ });
+
+ it("Logs an error if CP runs into an unknown error", () => {
+ const errorSpy = jest.spyOn(Logger, 'error');
+ const app = new BaseApp({});
+ app.codePushStatusDidChange("UNKNOWN_ERROR");
+ expect(errorSpy).toHaveBeenCalledWith("Codepush: update error")
+ })
+
+ it("doesn't do anything for other values of statusDidChange", () => {
+ jest.clearAllMocks();
+ const app = new BaseApp({});
+ const infoSpy = jest.spyOn(Logger, 'info');
+ app.codePushStatusDidChange("UNKNOWN_STATUS");
+ expect(infoSpy).not.toHaveBeenCalled();
+ })
+
+
+
+
+})
--- __tests__/__mocks__/react-native-code-push.js
@@ -4,7 +4,15 @@ const codePushConfig = {
ON_APP_START: 'ON_APP_START',
},
CheckFrequency: {ON_APP_RESUME: 'ON_APP_RESUME', IMMEDIATE: 'IMMEDIATE'},
- getUpdateMetadata: jest.fn(),
+ getUpdateMetadata: jest.fn(),
+ SyncStatus: {
+ DOWNLOADING_PACKAGE: 'DOWNLOADING_PACKAGE',
+ UPDATE_INSTALLED: 'UPDATE_INSTALLED',
+ UNKNOWN_ERROR: 'UNKNOWN_ERROR'
+ },
+ UpdateState: {
+ PENDING: 'PENDING'
+ }
};
const codePush = (_) => (app) => app;
--- __tests__/__snapshots__/AppTest.tsx.snap
@@ -16,40 +16,18 @@ exports[`RootContainer renders and fires startup event 1`] = `
<TranslationConsumer />
<LocalStorageConsumer />
<AuthConsumer />
- <CoreLoggerProvider>
- <PushToTalkProvider>
- <NavigationContainer
- linking={
- Object {
- "config": Object {
- "screens": Object {
- "main": Object {
- "screens": Object {
- "mainStack": Object {
- "screens": Object {
- "Returns": Object {
- "screens": Object {
- "Returns.Landing": "returns/:siteId/:printerAddress",
- },
- },
- },
- },
- },
- },
- },
- },
- "prefixes": Array [
- "meatwmt://",
- ],
- }
- }
- theme={Object {}}
- >
- <RootNav />
- <UpdateVersionModal />
- </NavigationContainer>
- </PushToTalkProvider>
- </CoreLoggerProvider>
+ <LoggerProvider
+ instance={
+ Object {
+ "clone": [MockFunction],
+ "debug": [MockFunction],
+ "error": [MockFunction],
+ "info": [MockFunction],
+ "setLogLevel": [MockFunction],
+ "warning": [MockFunction],
+ }
+ }
+ />
</AllsparkCoreServices>
</LivingDesignProvider>
</SafeAreaProvider>
@@ -71,16 +49,33 @@ exports[`RootContainer renders with no linking config on undefined userid 1`] =
<TranslationConsumer />
<LocalStorageConsumer />
<AuthConsumer />
- <CoreLoggerProvider>
- <PushToTalkProvider>
- <NavigationContainer
- theme={Object {}}
- >
- <RootNav />
- <UpdateVersionModal />
- </NavigationContainer>
- </PushToTalkProvider>
- </CoreLoggerProvider>
+ <LoggerProvider
+ instance={
+ Object {
+ "clone": [MockFunction],
+ "debug": [MockFunction],
+ "error": [MockFunction],
+ "info": [MockFunction],
+ "setLogLevel": [MockFunction] {
+ "calls": Array [
+ Array [
+ Object {
+ "defaultLevel": "info",
+ "overrides": Array [],
+ },
+ ],
+ ],
+ "results": Array [
+ Object {
+ "type": "return",
+ "value": undefined,
+ },
+ ],
+ },
+ "warning": [MockFunction],
+ }
+ }
+ />
</AllsparkCoreServices>
</LivingDesignProvider>
</SafeAreaProvider>
--- src/index.tsx
@@ -56,13 +56,10 @@ export class BaseApp extends Component {
Logger.info("Codepush: Downloading update")
} else if(codePushStatus === codePush.SyncStatus.UPDATE_INSTALLED) {
codePush.getUpdateMetadata(codePush.UpdateState.PENDING).then(update => {
- if(update !== null) {
- Logger.info("Codepush: Update installed", {
- updateLabel: update.label
- })
- } else {
- Logger.info("Codepush: Update installed")
- }
+ console.log("getUpdateMetadata called", update);
+ Logger.info("Codepush: Update installed", {
+ updateLabel: update?.label ?? ''
+ })
})
} else if(codePushStatus === codePush.SyncStatus.UNKNOWN_ERROR) {
Logger.error("Codepush: update error");
| adding unit tests | adding unit tests
|
62864c8690ba21e21827c8d23315e16ae68950d4 | --- lerna.json
@@ -11,7 +11,7 @@
},
"version": {
"message": "chore(version): updating package version",
- "allowBranch": ["main", "develop"],
+ "allowBranch": ["main", "develop", "patch/*"],
"conventionalCommits": true,
"conventionalPrerelease": false
}
| chore: update lerna config to allow for patch branch publishing | chore: update lerna config to allow for patch branch publishing
|
9e13ce9cbc6c4a07bc6bb5ff7d1d7a856c44c908 | --- packages/allspark-foundation/__tests__/cli/linkUtils.test.ts
@@ -1,5 +1,7 @@
-import { mergeDeep } from '@apollo/client/utilities';
-import { isObject } from '@walmart/gtp-shared-components/dist/next/utils';
+import {
+ mergeDeep,
+ isObject,
+} from '../../../allspark-foundation/src/cli/linkUtils';
describe('isObject', () => {
it('should return true if the passed argument is an object', () => {
@@ -11,6 +13,9 @@ describe('isObject', () => {
expect(isObject(undefined as any)).toBeFalsy();
expect(isObject(null as any)).toBeFalsy();
});
+ it('should return false if the passed argument is an array', () => {
+ expect(isObject([1, 2, 3])).toBeFalsy();
+ });
});
describe('mergDeep', () => {
@@ -26,4 +31,20 @@ describe('mergDeep', () => {
mergeDeep({ a: 1, b: { f: 1, g: 2, h: 2 } }, { b: { h: 1 } })
).toStrictEqual({ a: 1, b: { f: 1, g: 2, h: 1 } });
});
+ it('should add the key if it does not already exist in the target', () => {
+ expect(mergeDeep(target, { d: 4 })).toStrictEqual({
+ a: 1,
+ b: 2,
+ c: 4,
+ d: 4,
+ });
+ });
+ it('should handle merging arrays', () => {
+ expect(mergeDeep({ x: 1, y: 1, z: 2 }, { q: { a: 1 } })).toStrictEqual({
+ x: 1,
+ y: 1,
+ z: 2,
+ q: { a: 1 },
+ });
+ });
});
--- packages/allspark-foundation/src/cli/linkUtils.ts
@@ -1,11 +1,11 @@
import fs from 'fs';
import fsPromises from 'fs/promises';
-function isObject(item: any) {
+export function isObject(item: any) {
return item && typeof item === 'object' && !Array.isArray(item);
}
-function mergeDeep(
+export function mergeDeep(
target: Record<string, any>,
...sources: Record<string, any>[]
): any {
@@ -38,7 +38,7 @@ function mergeDeep(
return mergeDeep(target, ...sources);
}
-async function writeConfig(config: any, filePath: string) {
+export async function writeConfig(config: any, filePath: string) {
const fileContent = `module.exports = ${JSON.stringify(config, null, 2)};\n`;
await fsPromises.writeFile(filePath, fileContent);
}
| test(foundation): more tests for merge deep | test(foundation): more tests for merge deep
|
b990c3f239477c4bd91d949278c299b16a2bd1fb | --- packages/allspark-foundation/__tests__/Auth/sagas.test.ts
@@ -16,7 +16,8 @@ jest.mock('../../src/Auth/service', ()=>({
}))
describe('Auth/sagas.ts', () => {
it('should call onGetUser when GET_USER action is dispatched', ()=>{
- const mockGetUser = jest.spyOn(AuthService, 'getUser').mockImplementation(() => Promise.resolve(null));
+ const mockGetUser = AuthService.getUser as jest.Mock;
+ mockGetUser.mockImplementation(() => Promise.resolve(null));
const action: IAuthActions['GET_USER'] = { type: AuthActionTypes.GET_USER, payload: undefined };
const generator = onGetUser(action);
expect(generator.next().done).toBe(true);
| remove spy on and calling directly | remove spy on and calling directly
|
aa08443bf976a7bcf6a371a0885d74353caaf12f | --- package-lock.json
@@ -19453,9 +19453,9 @@
}
},
"react-native-wm-barcode": {
- "version": "2.36.4",
- "resolved": "https://npme.walmart.com/react-native-wm-barcode/-/react-native-wm-barcode-2.36.4.tgz",
- "integrity": "sha512-AoHUibBYTRy6GOqiSC5j0BXRyiOP2dV/TcynBSvPPdfLFZrGtxPgMbZicRNnKFfUJLKF+Z+r54FBZMXrH4s4dg=="
+ "version": "2.36.5",
+ "resolved": "https://npme.walmart.com/react-native-wm-barcode/-/react-native-wm-barcode-2.36.5.tgz",
+ "integrity": "sha512-ktwViAMXN/XZz9KgRmPAjbRsSWGEpwAMtIAwczywtQmR0VUZHzEbvk13iqLn/6fzWLxHjyWZ1THMPjGXVnmpXg=="
},
"react-native-wm-config": {
"version": "0.1.1",
--- package.json
@@ -176,7 +176,7 @@
"react-native-vision-camera": "1.0.10",
"react-native-webview": "^10.7.0",
"react-native-wm-app-review": "^0.2.0-rc.3",
- "react-native-wm-barcode": "2.36.4",
+ "react-native-wm-barcode": "2.36.5",
"react-native-wm-config": "^0.1.1",
"react-native-wm-network": "^0.2.0",
"react-native-wm-notification": "^2.0.1",
| Update wm barcode version to 2.36.5 | Update wm barcode version to 2.36.5
|
2182094bd52b565490f5fe54ecc4b6ed7ca244c1 | --- src/managerExperience/screens/RosterDetailScreen/index.ts
@@ -0,0 +1 @@
+export {RosterDetailScreen} from './RosterDetailScreen';
--- src/managerExperience/screens/RosterDetailScreen/types.tsx
@@ -0,0 +1,6 @@
+import {RouteProp} from '@react-navigation/native';
+import {TextingNavParamsMap} from '../../../navigation';
+
+export interface RosterDetailScreenProps {
+ route: RouteProp<TextingNavParamsMap, 'myTeam.rosterDetail'>;
+}
--- src/navigation/index.tsx
@@ -5,6 +5,7 @@ import {TextingNavParamsMap} from './types';
import {RosterScreen} from '../screens/RosterScreen';
import {SearchHeader} from '../components/SearchHeader';
import {ViewTeamScreen} from '../screens/ViewTeamScreen';
+import {RosterDetailScreen} from '../managerExperience/screens/RosterDetailScreen';
const RosterStack = createStackNavigator<TextingNavParamsMap>();
@@ -42,6 +43,15 @@ export const RosterNavigation = () => {
}}
component={SearchScreen}
/>
+ <RosterStack.Screen
+ name='myTeam.rosterDetail'
+ options={{
+ cardStyle: {
+ backgroundColor: 'rgba(0, 0, 0, 0)',
+ },
+ }}
+ component={RosterDetailScreen}
+ />
</RosterStack.Navigator>
);
};
--- src/navigation/types.ts
@@ -12,4 +12,5 @@ export type TextingNavParamsMap = {
};
'myTeam.searchScreen': {searchInput: string};
'myTeam.clockedOutScreen': any;
+ 'myTeam.rosterDetail': {teamId: string};
};
| feat: created initial roster detail screen nav | feat: created initial roster detail screen nav
|
59433fd7b0b536c0dbc5ebbc31ffd02a3c5218c8 | --- package-lock.json
@@ -80,7 +80,7 @@
"@walmart/react-native-sumo-sdk": "2.5.1",
"@walmart/receipt-check-miniapp": "1.14.6",
"@walmart/redux-store": "3.4.0",
- "@walmart/returns-mini-app": "1.9.0",
+ "@walmart/returns-mini-app": "3.4.0",
"@walmart/schedule-mini-app": "0.37.0",
"@walmart/settings-mini-app": "1.19.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
@@ -8047,6 +8047,8 @@
},
"node_modules/@walmart/common-utilities-js": {
"version": "1.2.10",
+ "resolved": "https://npme.walmart.com/@walmart/common-utilities-js/-/common-utilities-js-1.2.10.tgz",
+ "integrity": "sha1-X7mBRw5hPxLFASDw3Ynax2sgDHE=",
"license": "GPL-3.0-or-later",
"dependencies": {
"lodash": "^4.17.15"
@@ -8999,9 +9001,9 @@
}
},
"node_modules/@walmart/returns-mini-app": {
- "version": "1.9.0",
- "resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-1.9.0.tgz",
- "integrity": "sha512-DaWZZpyeg+GpLDYw4Ibl9emKxrUJUAmgJz3CRNPwnffuFc7fA5fxa0Pxj4lYSE54y903mm9t1R9bSJlnn/aKPA==",
+ "version": "3.4.0",
+ "resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-3.4.0.tgz",
+ "integrity": "sha512-w9cKpr4szaEflNjHf+t7B6QQN1gmw89g6ZgeQ5m17kAhij5KdJbAEaZa673OCk89V57Bcw1Wmuh39q/9iDEimw==",
"hasInstallScript": true,
"dependencies": {
"@walmart/common-utilities-js": "^1.2.10",
@@ -9256,6 +9258,8 @@
},
"node_modules/@walmart/timeamount": {
"version": "1.0.4",
+ "resolved": "https://npme.walmart.com/@walmart/timeamount/-/timeamount-1.0.4.tgz",
+ "integrity": "sha1-QVwJoEY4zaaC39G6HDOGH7COw/Y=",
"license": "GPL-3.0-or-later"
},
"node_modules/@walmart/topstock-mini-app": {
@@ -9306,6 +9310,8 @@
},
"node_modules/@walmart/virtual-zpl-printer-model": {
"version": "0.2.11",
+ "resolved": "https://npme.walmart.com/@walmart/virtual-zpl-printer-model/-/virtual-zpl-printer-model-0.2.11.tgz",
+ "integrity": "sha1-UcTl6y++FvP5RM9ihdndc+OlhCY=",
"license": "GPL-3.0-or-later",
"dependencies": {
"@walmart/timeamount": "^1.0.3",
@@ -33510,6 +33516,8 @@
},
"@walmart/common-utilities-js": {
"version": "1.2.10",
+ "resolved": "https://npme.walmart.com/@walmart/common-utilities-js/-/common-utilities-js-1.2.10.tgz",
+ "integrity": "sha1-X7mBRw5hPxLFASDw3Ynax2sgDHE=",
"requires": {
"lodash": "^4.17.15"
}
@@ -33795,9 +33803,9 @@
}
},
"@walmart/returns-mini-app": {
- "version": "1.9.0",
- "resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-1.9.0.tgz",
- "integrity": "sha512-DaWZZpyeg+GpLDYw4Ibl9emKxrUJUAmgJz3CRNPwnffuFc7fA5fxa0Pxj4lYSE54y903mm9t1R9bSJlnn/aKPA==",
+ "version": "3.4.0",
+ "resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-3.4.0.tgz",
+ "integrity": "sha512-w9cKpr4szaEflNjHf+t7B6QQN1gmw89g6ZgeQ5m17kAhij5KdJbAEaZa673OCk89V57Bcw1Wmuh39q/9iDEimw==",
"requires": {
"@walmart/common-utilities-js": "^1.2.10",
"@walmart/virtual-zpl-printer-model": "^0.2.11",
@@ -33873,7 +33881,9 @@
}
},
"@walmart/timeamount": {
- "version": "1.0.4"
+ "version": "1.0.4",
+ "resolved": "https://npme.walmart.com/@walmart/timeamount/-/timeamount-1.0.4.tgz",
+ "integrity": "sha1-QVwJoEY4zaaC39G6HDOGH7COw/Y="
},
"@walmart/topstock-mini-app": {
"version": "1.0.13",
@@ -33895,6 +33905,8 @@
},
"@walmart/virtual-zpl-printer-model": {
"version": "0.2.11",
+ "resolved": "https://npme.walmart.com/@walmart/virtual-zpl-printer-model/-/virtual-zpl-printer-model-0.2.11.tgz",
+ "integrity": "sha1-UcTl6y++FvP5RM9ihdndc+OlhCY=",
"requires": {
"@walmart/timeamount": "^1.0.3",
"lodash": "^4.17.15"
--- package.json
@@ -121,7 +121,7 @@
"@walmart/react-native-sumo-sdk": "2.5.1",
"@walmart/receipt-check-miniapp": "1.14.6",
"@walmart/redux-store": "3.4.0",
- "@walmart/returns-mini-app": "1.9.0",
+ "@walmart/returns-mini-app": "3.4.0",
"@walmart/schedule-mini-app": "0.37.0",
"@walmart/settings-mini-app": "1.19.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
| returns drop 15 | returns drop 15
|
ea457cfca3f74342af5eb30c125575aa8a9c75b4 | --- packages/allspark-foundation/src/DeveloperMenu/components/JsonEditor/MaxDepthItem.tsx
@@ -24,7 +24,7 @@ export const MaxDepthItem = (props: MaxDepthItemProps) => {
}
accessible={true}
>
- <Body>{configKey}: Key exceeds maximum depth</Body>
+ <Body size="small">{configKey}: Key exceeds maximum depth</Body>
</ListItem>
);
};
--- packages/allspark-foundation/src/DeveloperMenu/components/JsonEditor/index.tsx
@@ -51,7 +51,7 @@ const SectionItem = ({
<MaxDepthItem
configKey={configKey}
keyDepth={keyDepth}
- style={[styles.item, !isSimpleSection && styles.groupedItem]}
+ style={[styles.item, !isSimpleSection && styles.groupedItem, styles.maxDepthItem]}
/>
);
}
@@ -147,7 +147,7 @@ export const JsonEditor = (props: JsonEditorProps) => {
// Track which sections are collapsed (by section title)
const [collapsedSections, setCollapsedSections] = useState<Set<string>>(
- new Set()
+ new Set(sections.map(section => section.title))
);
const toggleSection = (sectionTitle: string) => {
@@ -206,9 +206,9 @@ export const JsonEditor = (props: JsonEditorProps) => {
UNSAFE_style={styles.sectionHeader}
trailing={
isCollapsed ? (
- <CaretUpIcon size='large' />
- ) : (
<CaretDownIcon size='large' />
+ ) : (
+ <CaretUpIcon size='large' />
)
}
accessible={true}
@@ -312,4 +312,7 @@ const styles = StyleSheet.create({
borderTopColor: '#e5e5e5',
backgroundColor: colors.white,
},
+ maxDepthItem: {
+ paddingHorizontal: 5
+ }
});
| fix: cleaner json edit in dev menu (#490) | fix: cleaner json edit in dev menu (#490)
* fix: cleaner json edit in dev menu
---------
Co-authored-by: Dylan Lane - rlane1 <Russell.Lane@walmart.com> |
991c4bf748f446485d57470e203f84b60a53d51f | --- src/modals/MessagesScreen.tsx
@@ -227,7 +227,7 @@ export const MessagesScreen = ({
const unsubscribeChannelDoc = useRef<() => void>();
const channelExistsRef = useRef<boolean>();
const isTeamMessage = channelPath?.includes(channelTypes.TEAM);
- // Extract team ID from channel path for team messages
+ // Extract team ID from channel path for team messages.
const channelTeamId = isTeamMessage ? channelPath.split('/').pop() || '' : '';
const primaryTeamData = useGetTeamById(channelTeamId);
| feat(ui): dummy commit | feat(ui): dummy commit
|
63e5a1a81bac92f871df4acf5027dafc2dde529a | --- __tests__/config/foundationConfig.test.ts
@@ -33,7 +33,7 @@ describe('foundationModuleConfig', () => {
expect(foundationModuleConfig.tags).toEqual([FeatureTags.associate]);
});
- it('should have the correct listeners', () => {
+ it('should have the correct listeners', () => {
expect(foundationModuleConfig.listeners).toBe(rosterListeners);
});
| test(ui): update the tests | test(ui): update the tests
|
60991b0ab5781a804bdd79b68e5d671f4e47502e | --- package-lock.json
@@ -74,7 +74,7 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.5.0",
- "@walmart/receipt-check-miniapp": "1.9.9",
+ "@walmart/receipt-check-miniapp": "1.9.10",
"@walmart/redux-store": "3.1.3",
"@walmart/refrigeration-alarms-mini-app": "1.35.0",
"@walmart/returns-mini-app": "0.6.0",
@@ -5849,9 +5849,9 @@
}
},
"node_modules/@walmart/receipt-check-miniapp": {
- "version": "1.9.9",
- "resolved": "https://npme.walmart.com/@walmart/receipt-check-miniapp/-/receipt-check-miniapp-1.9.9.tgz",
- "integrity": "sha512-1915Tp8E0r84HLyS4bMIUO4jA3YVkzUE11bg0cT/gea4TJqHpCqHTkb8MsXD/CsvfHIHBm8n0DygY7MYF9T+PA==",
+ "version": "1.9.10",
+ "resolved": "https://npme.walmart.com/@walmart/receipt-check-miniapp/-/receipt-check-miniapp-1.9.10.tgz",
+ "integrity": "sha512-vbchzFQoNaKBxoFLSrHn+Dpkg7lLE9xnNfxGYEhRZ+TV81IIqCVT8LZeBJ4g7k3lP3pePQbGSbXDi6ycvPK3BQ==",
"dependencies": {
"@walmart/tcnumber": "^2.3.3",
"@xstate/react": "^3.0.1",
@@ -25370,9 +25370,9 @@
"integrity": "sha512-VkGT8BSZOsxR4FJjxeu6ursO3qzAVZea6jEwT6KJsXgBJ9MIHhkBo78guM6kEbqqQl3SlGS/+5tbOxKdWrvStQ=="
},
"@walmart/receipt-check-miniapp": {
- "version": "1.9.9",
- "resolved": "https://npme.walmart.com/@walmart/receipt-check-miniapp/-/receipt-check-miniapp-1.9.9.tgz",
- "integrity": "sha512-1915Tp8E0r84HLyS4bMIUO4jA3YVkzUE11bg0cT/gea4TJqHpCqHTkb8MsXD/CsvfHIHBm8n0DygY7MYF9T+PA==",
+ "version": "1.9.10",
+ "resolved": "https://npme.walmart.com/@walmart/receipt-check-miniapp/-/receipt-check-miniapp-1.9.10.tgz",
+ "integrity": "sha512-vbchzFQoNaKBxoFLSrHn+Dpkg7lLE9xnNfxGYEhRZ+TV81IIqCVT8LZeBJ4g7k3lP3pePQbGSbXDi6ycvPK3BQ==",
"requires": {
"@walmart/tcnumber": "^2.3.3",
"@xstate/react": "^3.0.1",
--- package.json
@@ -116,7 +116,7 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.5.0",
- "@walmart/receipt-check-miniapp": "1.9.9",
+ "@walmart/receipt-check-miniapp": "1.9.10",
"@walmart/redux-store": "3.1.3",
"@walmart/refrigeration-alarms-mini-app": "1.35.0",
"@walmart/returns-mini-app": "0.6.0",
| bump version for logging fix | bump version for logging fix
|
c1a961d538dcbe7e95782e84d9d6262d8224dc5e | --- __tests__/containers/ChatInput/AudioRecording.test.tsx
@@ -10,7 +10,7 @@ const {finishPendingRequests} = require('../../harness/utils');
jest.mock('@walmart/allspark-utils', () => ({
...jest.requireActual('@walmart/allspark-utils'),
- encryptUserId: jest.fn((userId, key) => `encrypted-${userId}`),
+ encryptUserId: jest.fn((userId) => `encrypted-${userId}`),
useTimeout: jest.fn(() => ({
start: jest.fn(),
stop: jest.fn(),
| feat(ui): fixing lint erros | feat(ui): fixing lint erros
|
bd38dcde24979f5a7abe6083b60ce721c93314ea | --- package.json
@@ -112,7 +112,7 @@
"@walmart/ims-print-services-ui": "2.18.1",
"@walmart/inbox-mini-app": "0.98.4",
"@walmart/invue-react-native-sdk": "0.1.26-alpha.8-wt2",
- "@walmart/iteminfo-mini-app": "8.1.2",
+ "@walmart/iteminfo-mini-app": "8.2.9",
"@walmart/learning-mini-app": "20.0.41",
"@walmart/manager-approvals-miniapp": "0.3.2",
"@walmart/me-at-walmart-athena-queries": "6.31.0",
--- yarn.lock
@@ -6983,9 +6983,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/iteminfo-mini-app@npm:8.1.2":
- version: 8.1.2
- resolution: "@walmart/iteminfo-mini-app@npm:8.1.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fiteminfo-mini-app%2F-%2Fiteminfo-mini-app-8.1.2.tgz"
+"@walmart/iteminfo-mini-app@npm:8.2.9":
+ version: 8.2.9
+ resolution: "@walmart/iteminfo-mini-app@npm:8.2.9::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fiteminfo-mini-app%2F-%2F%40walmart%2Fiteminfo-mini-app-8.2.9.tgz"
peerDependencies:
"@apollo/client": ">=3.7.3"
"@react-native-community/art": 1.2.0
@@ -7030,7 +7030,7 @@ __metadata:
reselect: ">=4.1.0"
uuid: ">=3.3.2"
victory-native: ">=36.5.0"
- checksum: 10c0/48fb977c69ab3bde1e009ed2be00f0145f1f7a402bd14bba5405f3d23f52bc4102d460ef037cf33143e660123570d691f87d2ab9a5a48edf61f2fb8700a3fab9
+ checksum: 10c0/f91cf07e34cd41f17a45cf4011b09c4ae31c80ecf03281a99f21fb4af6342741992d731fe8751f01fd3761f364919e40135c1c09523df3ce705fcc194943f900
languageName: node
linkType: hard
@@ -7333,7 +7333,7 @@ __metadata:
"@walmart/ims-print-services-ui": "npm:2.18.1"
"@walmart/inbox-mini-app": "npm:0.98.4"
"@walmart/invue-react-native-sdk": "npm:0.1.26-alpha.8-wt2"
- "@walmart/iteminfo-mini-app": "npm:8.1.2"
+ "@walmart/iteminfo-mini-app": "npm:8.2.9"
"@walmart/learning-mini-app": "npm:20.0.41"
"@walmart/manager-approvals-miniapp": "npm:0.3.2"
"@walmart/me-at-walmart-athena-queries": "npm:6.31.0"
| feat(component): SII-4965 bump up ItemInfo for Drop 29 (#3934) | feat(component): SII-4965 bump up ItemInfo for Drop 29 (#3934)
Co-authored-by: y0l0dru <yan.lu2@walmart.com> |
82d52943ed3310a0108d7cdbeda0eae29fb00042 | --- __tests__/navigation/AssociateHallwayNav/Tabs/__snapshots__/HomeStackNavTest.tsx.snap
@@ -130,6 +130,9 @@ exports[`HomeStackNav matches snapshot 1`] = `
component="WoshAssociatesScreen"
name="metrics.woshDrilldown"
/>
+ <Screen
+ name="metrics.ftprDepartmentScreen"
+ />
</Navigator>
`;
@@ -293,6 +296,9 @@ exports[`HomeStackNav matches snapshot when user is not present 1`] = `
component="WoshAssociatesScreen"
name="metrics.woshDrilldown"
/>
+ <Screen
+ name="metrics.ftprDepartmentScreen"
+ />
</Navigator>
`;
--- src/navigation/AssociateHallwayNav/Tabs/HomeStackNav.tsx
@@ -17,6 +17,7 @@ import {
ViewMoreMetrics,
WoshAssociatesScreen,
SafetyItemizedScreen,
+ FtprDepartmentScreen,
} from '@walmart/metrics-mini-app';
import {useTelemetry} from '@walmart/core-services/Telemetry';
import {useTranslation} from '@walmart/core-services/Translations';
@@ -205,6 +206,10 @@ export const HomeStackNav = () => {
component={WoshAssociatesScreen}
name='metrics.woshDrilldown'
/>
+ <HomeStack.Screen
+ component={FtprDepartmentScreen}
+ name='metrics.ftprDepartmentScreen'
+ />
</HomeStack.Navigator>
);
};
| adding metrics navigation screen for categories drilldown | adding metrics navigation screen for categories drilldown
|
0c7ab1b4b7853f2092d5d2b68fc0245a8597b2cb | --- package-lock.json
@@ -4286,9 +4286,9 @@
}
},
"@walmart/impersonation-mini-app": {
- "version": "1.0.28-beta.9",
- "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.0.28-beta.9.tgz",
- "integrity": "sha512-n8UJ9OpwlO/HTo62gCzy2hU1mewj8SHz6H2uPExmuc9gny175mrRh+btVFyWfYxyAO8AJU6rKjNNTnL9DEGXHw=="
+ "version": "1.1.0",
+ "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.1.0.tgz",
+ "integrity": "sha512-ODkeFRNGrPQ51Dy1CnCUx4wGNZlv6sjDH+1wTehemr1V+a3TPhJwhQRTq6567A06aziSzRtgoK0hhNyH4nhXiA=="
},
"@walmart/ims-print-services-ui": {
"version": "0.1.28",
@@ -15876,7 +15876,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"
}
@@ -18593,7 +18593,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
@@ -82,7 +82,7 @@
"@walmart/functional-components": "1.0.34",
"@walmart/gta-react-native-calendars": "0.0.15",
"@walmart/gtp-shared-components": "1.2.0",
- "@walmart/impersonation-mini-app": "1.0.28-beta.9",
+ "@walmart/impersonation-mini-app": "1.1.0",
"@walmart/ims-print-services-ui": "0.1.28",
"@walmart/inbox-mini-app": "0.37.0",
"@walmart/iteminfo-mini-app": "4.1.8",
| version bump stable | version bump stable
|
e6533ed9ba00e0a3f7f46d6334bc64ffb8f25e80 | --- src/ccmFallbacks.ts
@@ -6,5 +6,5 @@ export const CCMFallbacks = {
pushToTalkEnabled: false,
shouldDisplayWarningBanner: false,
warningMessageContent:
- 'We’ve improved text and voice messaging. Update now to the latest version of the Me@Walmart app to continue using these features.',
+ "We've improved text and voice messaging. Update now to the latest version of the Me@Walmart app to continue using these features.",
};
--- src/ccmFallbacks.ts
@@ -6,5 +6,5 @@ export const CCMFallbacks = {
pushToTalkEnabled: false,
shouldDisplayWarningBanner: false,
warningMessageContent:
- 'We’ve improved text and voice messaging. Update now to the latest version of the Me@Walmart app to continue using these features.',
+ "We've improved text and voice messaging. Update now to the latest version of the Me@Walmart app to continue using these features.",
};
| update the warning message | update the warning message
|
b91982f6e7c731bb9a4ce7a84e54bfd1113c645d | --- packages/allspark-foundation/src/Container/README.md
@@ -1,6 +1,6 @@
# Allspark Container
-An AllsparkContainer acts as the provider for a set of AllsparkFeatures. It sets the implementation of [dynamic allspark services]() and configures [static allspark services](). Features inherit these implementations and configurations automatically.
+An `AllsparkContainer` acts as the provider for a set of AllsparkFeatures. It sets the implementation of [dynamic allspark services]() and configures [static allspark services](). Features inherit these implementations and configurations automatically.
An AllsparkContainer provides two primary functions, a [Provider]() and [FeatureRunner]().
| Update README.md | Update README.md |
c05834014029f09cfc16b5e1671aabf0244dd573 | --- src/components/MessagesHeader.tsx
@@ -52,7 +52,7 @@ const styles = StyleSheet.create({
export const NewMessageHeader = (props: {
title: string;
closeModal: () => void;
- closeButtonRef?: React.RefObject<TouchableOpacity>;
+ closeButtonRef?: React.RefObject<React.ElementRef<typeof TouchableOpacity>>;
}) => {
const {title, closeModal, closeButtonRef} = props;
--- src/hooks/index.ts
@@ -3,3 +3,4 @@ export * from './roster';
export * from './user';
export * from './teams';
export * from './useForceCloseOnClockOut';
+export * from './useAccessibilityFocus';
--- src/hooks/useAccessibilityFocus.ts
@@ -0,0 +1,20 @@
+import {useEffect, RefObject} from 'react';
+import {AccessibilityInfo, findNodeHandle} from 'react-native';
+
+export const useAccessibilityFocus = (
+ ref: RefObject<any>,
+ delay: number = 200
+): void => {
+ useEffect(() => {
+ AccessibilityInfo.isScreenReaderEnabled().then((isEnabled) => {
+ if (isEnabled && ref.current) {
+ const reactTag = findNodeHandle(ref.current);
+ if (reactTag) {
+ setTimeout(() => {
+ AccessibilityInfo.setAccessibilityFocus(reactTag);
+ }, delay);
+ }
+ }
+ });
+ }, [delay, ref]);
+};
--- src/modals/ImagePreviewScreen.tsx
@@ -1,8 +1,8 @@
-import React, {useCallback, useState, useEffect, useRef} from 'react';
-import {Dimensions, StyleSheet, TouchableOpacity, View, AccessibilityInfo, findNodeHandle} from 'react-native';
+import React, {useCallback, useState, useRef} from 'react';
+import {Dimensions, StyleSheet, TouchableOpacity, View} from 'react-native';
import {Image} from 'expo-image';
import {CloseIcon, colors, Spinner} from '@walmart/gtp-shared-components';
-import {useForceCloseOnClockOut} from '../hooks';
+import {useForceCloseOnClockOut, useAccessibilityFocus} from '../hooks';
import {modalProps} from '.';
const styles = StyleSheet.create({
@@ -34,21 +34,10 @@ export const ImagePreviewScreen = ({
}: modalProps) => {
const imageSource = getParam('imageSource', '');
const [loading, setLoading] = useState(true);
- const closeButtonRef = useRef<TouchableOpacity>(null);
+ const closeButtonRef = useRef<React.ElementRef<typeof TouchableOpacity>>(null);
- useEffect(() => {
- // Focus on close button when modal opens
- AccessibilityInfo.isScreenReaderEnabled().then((isEnabled) => {
- if (isEnabled && closeButtonRef.current) {
- const reactTag = findNodeHandle(closeButtonRef.current);
- if (reactTag) {
- setTimeout(() => {
- AccessibilityInfo.setAccessibilityFocus(reactTag);
- }, 200);
- }
- }
- });
- }, []);
+ // Focus on close button when modal opens
+ useAccessibilityFocus(closeButtonRef);
// Monitor clock status and close modal when clocked out
useForceCloseOnClockOut(closeModal, 'ImagePreviewScreen', {
--- src/modals/NewMessageScreen.tsx
@@ -1,4 +1,4 @@
-import React, {useCallback, useEffect, useMemo, useRef, useState} from 'react';
+import React, {useCallback, useMemo, useRef, useState} from 'react';
import {debounce} from 'lodash';
import {
Dimensions,
@@ -7,8 +7,6 @@ import {
TextInput,
TextInputChangeEventData,
View,
- AccessibilityInfo,
- findNodeHandle,
TouchableOpacity,
} from 'react-native';
import {useSafeAreaInsets} from 'react-native-safe-area-context';
@@ -18,7 +16,7 @@ import {onCloseNewMessage} from '../navigation/utils';
import {Associate} from '../common/types';
import {NewMessageHeader, renderAssociateRosterItem} from '../components';
-import {useDailyRoster, useForceCloseOnClockOut} from '../hooks';
+import {useDailyRoster, useForceCloseOnClockOut, useAccessibilityFocus} from '../hooks';
import {analytics} from '../logger/Analytics';
import {translationClient} from '../common/translation';
import {WarningAlert} from '../components/WarningAlert/WarningAlert';
@@ -60,7 +58,7 @@ export const NewMessageScreen = ({modal: {closeModal}}: any) => {
const [search, setSearch] = useState<string>();
const [filteredData, setFilteredData] = useState<Associate[]>([]);
const modalContainerRef = useRef<View>(null);
- const closeButtonRef = useRef<TouchableOpacity>(null);
+ const closeButtonRef = useRef<React.ElementRef<typeof TouchableOpacity>>(null);
/**
@@ -98,24 +96,8 @@ export const NewMessageScreen = ({modal: {closeModal}}: any) => {
closeModal();
}, [closeModal]);
- useEffect(() => {
- // Focus on the close button when screen reader is enabled
- AccessibilityInfo.isScreenReaderEnabled().then((isEnabled) => {
- if (isEnabled) {
- // Wait a bit for the modal to fully render
- setTimeout(() => {
- // Try to find and focus the close button
- const closeButton = closeButtonRef.current;
- if (closeButton) {
- const reactTag = findNodeHandle(closeButton);
- if (reactTag) {
- AccessibilityInfo.setAccessibilityFocus(reactTag);
- }
- }
- }, 200);
- }
- });
- }, []);
+ // Focus on the close button when screen reader is enabled
+ useAccessibilityFocus(closeButtonRef);
// Monitor clock status and close modal when clocked out
useForceCloseOnClockOut(closeModal, 'NewMessageScreen');
| fix(ada-fix): SMDV-7807 create reusable hook | fix(ada-fix): SMDV-7807 create reusable hook
|
fd3af21931ae883ce74865c543d99c471b0db5d9 | --- package-lock.json
@@ -5052,9 +5052,9 @@
}
},
"@walmart/welcomeme-mini-app": {
- "version": "0.66.0",
- "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.66.0.tgz",
- "integrity": "sha512-GTIQUNN7e/iMRwOphMocZ1112vWR4cPJqUwqipqlfBXmM5qxXxn4koTAEDumjjmS8n8xcxZAjjlvHKOjopEYsw=="
+ "version": "0.63.0-rc.0",
+ "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.63.0-rc.0.tgz",
+ "integrity": "sha512-9okNlrhVKa2QBkenNLb/iu2lW7+TcbxmH6OWFs2qPWFHzasArzPMxlmfmg4rNX4in+42/4JZQR3Tp4p7VBNf2w=="
},
"@walmart/wfm-ui": {
"version": "0.2.14",
--- package.json
@@ -106,7 +106,7 @@
"@walmart/taskit-mini-app": "0.24.0",
"@walmart/time-clock-mini-app": "0.5.3",
"@walmart/ui-components": "1.4.0-rc.0",
- "@walmart/welcomeme-mini-app": "0.66.0",
+ "@walmart/welcomeme-mini-app": "0.63.0-rc.0",
"@walmart/wfm-ui": "0.2.14",
"axios": "^0.26.1",
"axios-cache-adapter": "2.7.3",
| downgrade welcomeme | downgrade welcomeme
|
0fb8865cc9606dde4e029a21c278106aca39dfde | --- package-lock.json
@@ -3343,9 +3343,9 @@
"integrity": "sha512-tJX/GKopS1N77pk6HxYFo3xvaa1YJL6VrMVM3kZ5UXafitUBKhtyAmJitLgsLeJsDrBHU32cgTgnPE8slU3nzw=="
},
"@walmart/feedback-all-spark-miniapp": {
- "version": "0.0.58",
- "resolved": "https://npme.walmart.com/@walmart/feedback-all-spark-miniapp/-/feedback-all-spark-miniapp-0.0.58.tgz",
- "integrity": "sha512-HYOJB0nAi7ygO52kSNtqccXhYvAYZVr4gqQIpXZWGjrAMuwC4qQ2YzE8Yp07R4AYTd6XfpYjBsLesr4JcYXlKA=="
+ "version": "0.0.59",
+ "resolved": "https://npme.walmart.com/@walmart/feedback-all-spark-miniapp/-/feedback-all-spark-miniapp-0.0.59.tgz",
+ "integrity": "sha512-KDL4QbdhuOnIeMs4dIZ9wbDdj2wO2VBR4aYaJ8CxKW+xrZA13k0PzpAiZiH6BcP3gxr10DvdRIg6lcJuLHJ8Dw=="
},
"@walmart/functional-components": {
"version": "1.0.33",
--- package.json
@@ -77,7 +77,7 @@
"@walmart/config-components": "^1.0.31",
"@walmart/counts-component-miniapp": "0.0.20",
"@walmart/exception-mini-app": "0.36.0",
- "@walmart/feedback-all-spark-miniapp": "0.0.58",
+ "@walmart/feedback-all-spark-miniapp": "0.0.59",
"@walmart/functional-components": "1.0.33",
"@walmart/gta-react-native-calendars": "0.0.15",
"@walmart/gtp-shared-components": "^1.2.0",
| updated feedback-mini-app version | updated feedback-mini-app version
|
7ef3e59153f548827f2a8ce2bba350b751d48e60 | --- .yarn/patches/@react-native-community-art-npm-1.2.0-1c93d63acc.patch
@@ -1,13 +0,0 @@
-diff --git a/android/src/main/java/com/reactnativecommunity/art/ARTShapeShadowNode.java b/android/src/main/java/com/reactnativecommunity/art/ARTShapeShadowNode.java
-index cf57bbb0b76c473cc37968a2ad6511bdca49c410..c2e7f77f2e2d5288554a50b4157cae8ed2453163 100644
---- a/android/src/main/java/com/reactnativecommunity/art/ARTShapeShadowNode.java
-+++ b/android/src/main/java/com/reactnativecommunity/art/ARTShapeShadowNode.java
-@@ -22,8 +22,6 @@ import com.facebook.react.common.ReactConstants;
- import com.facebook.react.uimanager.annotations.ReactProp;
- import javax.annotation.Nullable;
-
--import static com.facebook.react.common.ArrayUtils.copyArray;
--
- /**
- * Shadow node for virtual ARTShape view
- */
--- .yarn/patches/@walmart-checkout-mini-app-npm-4.8.0-c8392b072c.patch
@@ -1,13 +0,0 @@
-diff --git a/src/screens/ItemCheck/ItemMissing/ItemMissing.tsx b/src/screens/ItemCheck/ItemMissing/ItemMissing.tsx
-index 9e78eebd886db235db716bcd623155b7334f75c8..f349ead49c8356538a6019b2af12c37543bf7a14 100644
---- a/src/screens/ItemCheck/ItemMissing/ItemMissing.tsx
-+++ b/src/screens/ItemCheck/ItemMissing/ItemMissing.tsx
-@@ -10,7 +10,7 @@ import {
- } from '@walmart/gtp-shared-components/dist';
- import React, {useCallback, useLayoutEffect} from 'react';
- import {FlatList, Platform, Pressable, ScrollView, View} from 'react-native';
--import Barcode from 'react-native-barcode-builder';
-+import Barcode from '@walmart/react-native-barcode-builder';
- import {useDispatch, useSelector} from 'react-redux';
- import {
- BUSINESS_UNIT,
--- .yarn/patches/@walmart-iteminfo-mini-app-npm-8.2.9-06a4a40b76.patch
@@ -1,12 +0,0 @@
-diff --git a/src/components/ItemBarcode/ItemBarcode.tsx b/src/components/ItemBarcode/ItemBarcode.tsx
-index 8d5bb201bf09fd1dcbc783c9d4ded325c630f744..2e6428650e2530b1d8a464575de7e66a92f94d76 100644
---- a/src/components/ItemBarcode/ItemBarcode.tsx
-+++ b/src/components/ItemBarcode/ItemBarcode.tsx
-@@ -1,6 +1,6 @@
- import React from 'react';
- import { View, StyleSheet } from 'react-native';
--import Barcode, { Format } from 'react-native-barcode-builder';
-+import Barcode, { Format } from '@walmart/react-native-barcode-builder';
- import AnimatedFill from '../LoadableContent/AnimatedFill';
- import { testId } from '../../utils';
-
--- .yarn/patches/@walmart-react-native-webex-sdk-npm-0.8.37-93b1e40bf7.patch
@@ -1,42 +0,0 @@
-diff --git a/CallingSdk.podspec b/CallingSdk.podspec
-index 8a1ddb93d50eaa7601f191248d0bf121f1633898..3444549b3e4d13de3192cc9faf45421c7a6340c5 100644
---- a/CallingSdk.podspec
-+++ b/CallingSdk.podspec
-@@ -22,7 +22,7 @@ Pod::Spec.new do |s|
- }
- s.dependency "React-Core"
- s.dependency "WebexSDK/Wxc", "= 3.11.5"
-- s.dependency 'SumoSDK', '~> 2.7.2'
-+ s.dependency 'SumoSDK', '~> 2.8.0'
- s.dependency 'react-native-logger'
- s.xcconfig = {
- "HEADER_SEARCH_PATHS" => '"${PODS_CONFIGURATION_BUILD_DIR}/SumoSDK/Swift Compatibility Header"'
-diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml
-index 95407521faf5a919c91354f66fcc5b4b0125d319..6c9b0a0541f2338097cb30126430074faf082ca5 100644
---- a/android/src/main/AndroidManifest.xml
-+++ b/android/src/main/AndroidManifest.xml
-@@ -6,7 +6,6 @@
- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
- <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
- <uses-permission android:name="android.permission.VIBRATE" />
-- <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
- <uses-permission android:name="android.permission.MANAGE_OWN_CALLS"/>
- <uses-permission android:name="android.permission.BIND_TELECOM_CONNECTION_SERVICE" />
- <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
-@@ -17,16 +16,13 @@
- <uses-permission
- android:name="android.permission.READ_PHONE_STATE"
- tools:remove="android:maxSdkVersion" />
-- <uses-permission android:name="android.permission.MANAGE_OWN_CALLS"/>
- <uses-permission android:name="android.permission.CALL_PHONE" />
- <uses-permission android:name="android.permission.READ_PHONE_NUMBERS" />
-- <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
- <!-- Permissions needed for toggling audio during call -->
- <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
- <!-- Permissions needed access webex sdk logs -->
- <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
- <uses-permission android:name="android.permission.READ_INTERNAL_STORAGE" />
-- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
-
- <application>
- <provider
--- .yarn/patches/react-native-wm-voice-text-npm-1.0.4-12e5a0dfbf.patch
@@ -1,15 +0,0 @@
-diff --git a/android/src/main/java/com/walmart/stores/voiceinteraction/Recognition.kt b/android/src/main/java/com/walmart/stores/voiceinteraction/Recognition.kt
-index 99f16db6899ae1076aa0239c5642568f419bd9e7..b0940e52edb1092fe4eac54f7318b9022b898db6 100644
---- a/android/src/main/java/com/walmart/stores/voiceinteraction/Recognition.kt
-+++ b/android/src/main/java/com/walmart/stores/voiceinteraction/Recognition.kt
-@@ -106,8 +106,8 @@ class Recognition : RecognitionListener {
- val permissions = arrayOf(Manifest.permission.RECORD_AUDIO)
- if (currentActivity is PermissionAwareActivity) {
- currentActivity.requestPermissions(permissions, 1, object: PermissionListener {
-- override fun onRequestPermissionsResult(requestCode: Int, permissions: Array<out String>?, grantResults: IntArray?): Boolean {
-- if (grantResults != null && grantResults.all { it == PackageManager.PERMISSION_GRANTED }) {
-+ override fun onRequestPermissionsResult(requestCode: Int, permissions: Array<String>, grantResults: IntArray): Boolean {
-+ if (grantResults.isNotEmpty() && grantResults.all { it == PackageManager.PERMISSION_GRANTED }) {
- startSpeechRecognition(locale, currentActivity, googleCloudCredentials)
- return true
- }
| chore(patches): ALLSPARK-6416 delete unused/outdated patches | chore(patches): ALLSPARK-6416 delete unused/outdated patches
|
439ddb14e011cf52d4f6cca3c7b69673493f091a | --- src/screens/RosterDetailScreen/RosterDetailScreen.tsx
@@ -96,15 +96,17 @@ export const RosterDetailScreen = ({route}: RosterDetailScreenProps) => {
const showRoster = useSelector(displayRoster);
const showSearchInput = useSelector(displaySearchInput);
const isSalariedOrLead = isTeamLead || isSalaried || isPeopleLead;
+ const defaultTeamLabel = isSalariedOrLead
+ ? selectedTeamPreference
+ : initialTeamName;
+ const defaultTeamIds = isSalariedOrLead ? selectedTeamIds : [initialTeamId];
const userIsInRoster = useUserIsInRoster();
const [teamState, setTeamState] = useState<{
teamLabel: string | null;
teamIds: string[];
}>({
- teamLabel: selectedTeamPreference
- ? selectedTeamPreference
- : initialTeamName,
- teamIds: selectedTeamIds ? selectedTeamIds : [initialTeamId],
+ teamLabel: defaultTeamLabel,
+ teamIds: defaultTeamIds,
});
const isPrimaryTeam = primaryTeamId === teamState.teamIds?.[0];
@@ -115,12 +117,10 @@ export const RosterDetailScreen = ({route}: RosterDetailScreenProps) => {
useEffect(() => {
setTeamState({
- teamLabel: selectedTeamPreference
- ? selectedTeamPreference
- : initialTeamName,
- teamIds: selectedTeamIds ? selectedTeamIds : [initialTeamId],
+ teamLabel: defaultTeamLabel,
+ teamIds: defaultTeamIds,
});
- }, [initialTeamName, initialTeamId]);
+ }, [route.params?.teamId, route.params?.teamName]);
/**Refresh props */
const [state, setState] = useState<{
| Update query name | Update query name
|
fc0a06091228d938225b61331ac8a461233dd443 | --- src/components/RosterFiltersAndInfo/RosterFiltersAndInfo.tsx
@@ -11,6 +11,7 @@ import {RosterFiltersAndInfoProps} from './types';
import {RosterFiltersAndInfoLoading} from './RosterFiltersAndInfoLoading';
import {displayFilterChips} from '../../redux/selectors';
import {useSelector} from 'react-redux';
+import {SiteSelectors} from '@walmart/allspark-foundation/Site';
export const RosterFiltersAndInfo = ({
totalScheduleCount,
@@ -26,6 +27,7 @@ export const RosterFiltersAndInfo = ({
const showFilterChips = useSelector(displayFilterChips);
const isWeeklyScheduleVisible: boolean | undefined =
useRbacConfigWithJobCode();
+ const siteIsDC = useSelector(SiteSelectors.getWorkingSiteIsDC);
const associateWINs = useMemo(
() =>
@@ -50,7 +52,7 @@ export const RosterFiltersAndInfo = ({
numberOfAssociates={totalScheduleCount}
/>
</View>
- {isWeeklyScheduleVisible && (
+ {isWeeklyScheduleVisible && !siteIsDC && (
<Link
onPress={viewWeeklySchedule}
disabled={!associateWINs.length}
| comments reviewed | comments reviewed
|
8a7b01a411271fbf3086e1563dee12a51feed8bb | --- package.json
@@ -136,7 +136,7 @@
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.7.0",
"@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.1.11#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.1.11-31a5a73745.patch",
- "@walmart/receipt-check-miniapp": "1.21.2",
+ "@walmart/receipt-check-miniapp": "1.22.5",
"@walmart/redux-store": "6.1.4",
"@walmart/returns-mini-app": "4.6.0",
"@walmart/rfid-scan-mini-app": "2.3.10",
--- yarn.lock
@@ -6906,9 +6906,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/receipt-check-miniapp@npm:1.21.2":
- version: 1.21.2
- resolution: "@walmart/receipt-check-miniapp@npm:1.21.2"
+"@walmart/receipt-check-miniapp@npm:1.22.5":
+ version: 1.22.5
+ resolution: "@walmart/receipt-check-miniapp@npm:1.22.5"
dependencies:
"@walmart/tcnumber": "npm:^2.3.3"
"@xstate/react": "npm:^3.0.1"
@@ -6923,7 +6923,7 @@ __metadata:
react-native-device-info: ^10.3.0
react-redux: ^7.2.1
redux: ^4.1.2
- checksum: 10c0/f5e9ec6061fe315c03e835a204fbd9f12af8d31183956899d846d080518be48af4c338b9381b734c2f7c42971580b1ba55343bc32a9bd388ab745c6ffcb3a526
+ checksum: 10c0/3731b27fe5c385d451bbeca5db69065791e7e8e31ac175a38b19f8396dba496ecf12c2aa2cf244b410f82a2a46587f5fe3fbe953bf0a234f1738bc4cf11073d0
languageName: node
linkType: hard
@@ -7776,7 +7776,7 @@ __metadata:
"@walmart/react-native-store-map": "npm:0.3.7"
"@walmart/react-native-sumo-sdk": "npm:2.7.0"
"@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.1.11#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.1.11-31a5a73745.patch"
- "@walmart/receipt-check-miniapp": "npm:1.21.2"
+ "@walmart/receipt-check-miniapp": "npm:1.22.5"
"@walmart/redux-store": "npm:6.1.4"
"@walmart/returns-mini-app": "npm:4.6.0"
"@walmart/rfid-scan-mini-app": "npm:2.3.10"
| update | update
|
096fc9a73cac87afc8a40814df1e399b9912cc4c | --- packages/allspark-foundation/src/Components/Hub/Container/index.tsx
@@ -1,2 +1,75 @@
export * from './types';
-export const Container = () => <></>;
+
+interface TeamWidget {
+ name: string;
+ rank: number;
+ enable: boolean;
+ }
+
+ interface Team {
+ name: string;
+ widgets: TeamWidget[];
+ }
+
+ interface TeamWidgetMapping {
+ [key: string]: Team;
+ }
+
+ interface ValidatedTeamWidgetMapping {
+ [key: string]: { name: string, widgets: string[] };
+ }
+
+const jsonData = {"teamWidgetMapping":
+ {
+ "total": {"name": "Total", "widgets": [{"name": "roster", "rank": 1, "enable": true},{"name": "learning", "rank": 2, "enable": false}, {"name": "GTA", "rank": 3, "enable": true}, {"name": "celebrations", "rank": 4, "enable": true}]},
+ "teamid1": {"name": "Deli & Bakery", "widgets": [{"name": "roster", "rank": 1, "enable": true}, {"name": "learning", "rank": 2, "enable": true}, {"name": "celebrations", "rank": 3, "enable": true}]},
+ "teamid2": {"name": "Digital", "widgets": [{"name": "learning", "rank": 1, "enable": true},{"name": "GTA", "rank": 2, "enable": true}, {"name": "celebrations", "rank": 3, "enable": true}]},
+ "teamid3": {"name": "Apparel", "widgets": [{"name": "roster", "rank": 1, "enable": true}, {"name": "learning", "rank": 3, "enable": true},{"name": "GTA", "rank": 2, "enable": true}, {"name": "celebrations", "rank": 4, "enable": true}]},
+ "teamid4": {"name": "Entertainment", "widgets": [{"name": "roster", "rank": 1, "enable": true}, {"name": "learning", "rank": 1, "enable": true},{"name": "GTA", "rank": 2, "enable": true}, {"name": "celebrations", "rank": 3, "enable": true}]},
+ "teamid5": {"name": "Auto Care Center", "widgets": [{"name": "roster", "rank": 1, "enable": true}, {"name": "learning", "rank": 1, "enable": true},{"name": "GTA", "rank": 2, "enable": true}, {"name": "celebrations", "rank": 3, "enable": true}]},
+ "teamid6": {"name": "Food & Consumables", "widgets": [{"name": "learning", "rank": 1, "enable": true},{"name": "GTA", "rank": 2, "enable": true}, {"name": "celebrations", "rank": 3, "enable": true}]},
+ "teamid7": {"name": "Fuel", "widgets": [{"name": "roster", "rank": 1, "enable": false}]},
+ "teamid8": {"name": "Hardlines", "widgets": [{"name": "learning", "rank": 2, "enable": true}, {"name": "celebrations", "rank": 1, "enable": true}]},
+ "teamid9": {"name": "Health & Beauty", "widgets": [{"name": "learning", "rank": 1, "enable": true},{"name": "GTA", "rank": 2, "enable": true}, {"name": "celebrations", "rank": 3, "enable": true}]},
+ "teamid10": {"name": "Home", "widgets": [{"name": "roster", "rank": 1, "enable": true}, {"name": "learning", "rank": 3, "enable": true},{"name": "GTA", "rank": 3, "enable": true}, {"name": "celebrations", "rank": 4, "enable": true}]}
+ }
+}
+
+export const Container = () => {
+
+ function validateAndTransformData(data: { teamWidgetMapping: TeamWidgetMapping }): ValidatedTeamWidgetMapping {
+ const validatedData: ValidatedTeamWidgetMapping = {};
+
+ // Iterate over each team in the data
+ for (const teamId in data.teamWidgetMapping) {
+ if (Object.prototype.hasOwnProperty.call(data.teamWidgetMapping, teamId)) {
+ const team = data.teamWidgetMapping[teamId];
+ const validatedTeam: { name: string, widgets: string[] } = {
+ name: team.name,
+ widgets: []
+ };
+
+ // Sort widgets by rank
+ team.widgets.sort((a, b) => a.rank - b.rank);
+
+ // Validate each widget
+ for (const widget of team.widgets) {
+ if (widget.enable) {
+ validatedTeam.widgets.push(widget.name);
+ }
+ }
+
+ // Add the validated team to the result
+ validatedData[teamId] = validatedTeam;
+ }
+ }
+
+ return validatedData;
+ }
+
+ const validatedWidgets = validateAndTransformData(jsonData)
+ console.log('WIDGETS LIST--', validatedWidgets);
+
+
+ return <></>
+}
| rebase commit | rebase commit
|
2a532a3bca829a078ca45ccb8ce000abaf1f0308 | --- src/components/TeamList.tsx
@@ -341,6 +341,9 @@ export const TeamChatCard = (props: {
primaryWorkGroup,
);
+ const startTeamText = useStartTeamText(); //Todo: import from wm connect mini app
+ const startStoreText = useStartStoreText(); //Todo: import from wmconnect mini app
+
const renderWorkgroups = () => {
if (!sortedWorkgroupKeys || sortedWorkgroupKeys.length <= 0) {
return null;
@@ -358,6 +361,14 @@ export const TeamChatCard = (props: {
style={isLastItem && styles.lastTeamItem}
clockedInCount={teamItemInfo.mewClockedInCount ?? 0}
absentCount={teamItemInfo.mewAbsentCount ?? 0}
+ actionButtons={[
+ {
+ i18nLabel: t('rosterScreen.associateRosterItem.messageBtn'),
+ action(team) {
+ startTeamText(team.teamId, team?.teamName || team.teamId);
+ },
+ },
+ ]}
/>
);
});
@@ -423,10 +434,28 @@ export const TeamChatCard = (props: {
clockedInCount={clockedInCount}
absentCount={absentCount}
style={styles.firstItem}
+ actionButtons={[
+ {
+ i18nLabel: t('rosterScreen.associateRosterItem.messageBtn'),
+ action(team) {
+ startTeamText(team.teamId, team?.teamName || team.teamId);
+ },
+ },
+ ]}
/>
</>
) : (
- <StoreTeamItem style={styles.firstItem} />
+ <StoreTeamItem
+ style={styles.firstItem}
+ actionButtons={[
+ {
+ i18nLabel: t('rosterScreen.associateRosterItem.messageBtn'),
+ action(team) {
+ startStoreText(team);
+ },
+ },
+ ]}
+ />
)}
</>
</CardContent>
| Add team message button | Add team message button
|
e7d41d8efdc2600a942b81e80fbc6487fa31a43c | --- package.json
@@ -302,7 +302,7 @@
}
},
"transformIgnorePatterns": [
- "<rootDir>/node_modules/(?!(react-native|@walmart/core-utils|@walmart/core-services|@walmart/core-services-allspark|@walmart/gtp-shared-components|@react-native-community/picker|@walmart/redux-store|@react-native-firebase|react-native-gesture-handler|@react-native|@living-design|@react-native-community/datetimepicker|@testing-library)/)"
+ "<rootDir>/node_modules/(?!(react-native|@walmart/core-utils|@walmart/core-services|@walmart/core-services-allspark|@walmart/gtp-shared-components|@react-native-community/picker|@walmart/redux-store|@react-native-firebase|react-native-gesture-handler|@react-native|@living-design|@react-native-community/datetimepicker|@testing-library|jest)/)"
],
"moduleNameMapper": {
"@walmart/react-native-logger/(.*)": "<rootDir>/__tests__/__mocks__/@walmart/react-native-logger.js",
| chore: looper fix | chore: looper fix
|
6b81402f7061314b8f20f6d9b55fab006f238745 | --- packages/allspark-foundation/__tests__/Navigation/config/connect.test.ts
@@ -0,0 +1,91 @@
+import {
+ initialize,
+ fetch,
+ connectNavConfigService,
+ } from '../../../src/Navigation/config/connect';
+
+ import { AllsparkReduxStore } from '../../../src/Redux';
+ import { NavConfigActionCreators, NavConfigState } from '../../../src/Navigation/config/redux';
+ import { AllsparkNavConfigService } from '../../../src/Navigation/config/types';
+
+ describe('NavConfig/connect.ts', () => {
+ let navConfigService: AllsparkNavConfigService;
+
+ beforeEach(() => {
+ navConfigService = {
+ initialize: jest.fn(),
+ fetch: jest.fn(),
+ addChangeListener: jest.fn(),
+ };
+ });
+
+ afterEach(() => {
+ jest.clearAllMocks();
+ });
+
+ describe('initialize', () => {
+ test('should dispatch INIT_SUCCESS if initialized successfully', async () => {
+ AllsparkReduxStore.dispatch(
+ NavConfigActionCreators.INIT_PROGRESS()
+ );
+ (navConfigService.initialize as jest.Mock).mockResolvedValue(true);
+ const result = await initialize.call(navConfigService);
+ expect(result).toBe(true);
+ });
+
+ test('should dispatch INIT_ERROR if initialization fails', async () => {
+ AllsparkReduxStore.dispatch(
+ NavConfigActionCreators.INIT_PROGRESS()
+ );
+ (navConfigService.initialize as jest.Mock).mockResolvedValue(false);
+ const result = await initialize.call(navConfigService);
+ expect(result).toBe(false);
+ });
+
+ test('should dispatch INIT_ERROR on error', async () => {
+ const error = new Error('Initialization error');
+ (navConfigService.initialize as jest.Mock).mockRejectedValue(error);
+ await expect(initialize.call(navConfigService)).rejects.toThrow(error);
+ });
+ });
+
+ describe('fetch', () => {
+ test('should dispatch FETCH_SUCCESS with data', async () => {
+ const data = { some: 'data' };
+ AllsparkReduxStore.dispatch(
+ NavConfigActionCreators.FETCH_PROGRESS()
+ );
+ (navConfigService.fetch as jest.Mock).mockResolvedValue(data);
+ const result = await fetch.call(navConfigService);
+ expect(result).toBe(data);
+ });
+ test('should dispatch FETCH_ERROR on error', async () => {
+ const error = new Error('Fetch error');
+ AllsparkReduxStore.dispatch(
+ NavConfigActionCreators.FETCH_PROGRESS()
+ );
+ (navConfigService.fetch as jest.Mock).mockRejectedValue(error);
+ await expect(fetch.call(navConfigService)).rejects.toThrow(error);
+ });
+ });
+
+ describe('connectNavConfigService', () => {
+ let extendedNavConfigService: AllsparkNavConfigService;
+ beforeEach(() => {
+ extendedNavConfigService = connectNavConfigService(navConfigService);
+ });
+ test('should dispatch STATE_CHANGED on state change', async () => {
+ const state: NavConfigState = { initializing: false,
+ initialized: false,
+ loading: false,
+ loaded: false,
+ error: false,
+ data: null, };
+ await (navConfigService.addChangeListener as jest.Mock).mockImplementation((listener) => {
+ listener(state);
+ });
+ connectNavConfigService(navConfigService);
+ expect(navConfigService.addChangeListener).toHaveBeenCalled();
+ });
+ });
+ });
\ No newline at end of file
| nav config connect uni test | nav config connect uni test
|
907a5d00178a7c616fb2b620c5dbc417320480b1 | --- packages/allspark-foundation/src/HubFeature/Hub/TeamSwitcher/index.tsx
@@ -20,7 +20,6 @@ export const TeamSwitcher = ({
onTeamChange,
loading = false,
}: TeamSwitcherProps) => {
- const [selectedTeam, setSelectedTeam] = useState<string | null>(null);
const { teamData, loading: isLoading } = useUserPreferences(data);
const styles = useMemo(() => TeamSwitcherStyles(), []);
const TeamImage = useTeamHubImage();
@@ -28,6 +27,9 @@ export const TeamSwitcher = ({
const selectedTeamId = useSelector(
ManagerExperienceSelectors.getSelectedTeamPreference
);
+ const [selectedTeam, setSelectedTeam] = useState<string | null>(
+ selectedTeamId
+ );
const getTeamsData = useCallback(() => {
const totalStore = {
@@ -54,13 +56,9 @@ export const TeamSwitcher = ({
}, [getTeamsData]);
const handlePress = (teamId: string, teamLabel: string) => {
- if (selectedTeamId) {
- setSelectedTeam(selectedTeamId);
- } else {
- setSelectedTeam(teamLabel);
- }
+ setSelectedTeam(teamLabel);
onTeamChange(teamId);
- dispatch(ManagerExperienceCreators.updateSelectedTeamPreference(teamId));
+ dispatch(ManagerExperienceCreators.updateSelectedTeamPreference(teamLabel));
if (teamId === 'myTeams') {
const selectedTeamsList = teamData.map((team) => team.teamId);
dispatch(
@@ -88,34 +86,37 @@ export const TeamSwitcher = ({
return loading || isLoading ? (
renderLoadingSkeleton()
) : (
- <View style={styles.teamItemContainer}>
- <TouchableOpacity
- accessible
- accessibilityRole='image'
- accessibilityLabel={`team-image-${item.teamLabel}`}
- onPress={() => handlePress(item.teamId, item.teamLabel)}
- style={styles.teamItem}
- >
- <TeamImage
- style={styles.teamImage}
- source={{ uri: teamImageIcon[item.teamId ?? item.teamLabel] }}
- testID={`team-image-${item.teamLabel}`}
- />
- <Text
- style={[styles.teamLabel, isSelected && styles.selectedTeamLabel]}
- testID={`team-label-${item.teamLabel}`}
+ <>
+ <View style={styles.teamItemContainer}>
+ <TouchableOpacity
+ accessible
+ accessibilityRole='image'
+ accessibilityLabel={`team-image-${item.teamLabel}`}
+ onPress={() => handlePress(item.teamId, item.teamLabel)}
+ style={styles.teamItem}
>
- {item.teamLabel}
- </Text>
- {isSelected && (
- <View style={styles.selectorContainer} testID='selector-line'>
- <View style={styles.selectorLine} />
- <View style={styles.selectorPointer} testID='selector-pointer' />
- </View>
- )}
- </TouchableOpacity>
- {<VerticalDivider />}
- </View>
+ <TeamImage
+ style={styles.teamImage}
+ source={{ uri: teamImageIcon[item.teamId ?? item.teamLabel] }}
+ testID={`team-image-${item.teamLabel}`}
+ contentFit='contain'
+ />
+ <Text
+ style={[styles.teamLabel, isSelected && styles.selectedTeamLabel]}
+ testID={`team-label-${item.teamLabel}`}
+ >
+ {item.teamLabel}
+ </Text>
+ </TouchableOpacity>
+ {<VerticalDivider />}
+ </View>
+ {isSelected && (
+ <View style={styles.selectorContainer} testID='selector-line'>
+ <View style={styles.selectorLine} />
+ <View style={styles.selectorPointer} testID='selector-pointer' />
+ </View>
+ )}
+ </>
);
};
--- packages/allspark-foundation/src/HubFeature/Hub/TeamSwitcher/styles.ts
@@ -21,7 +21,6 @@ export const TeamSwitcherStyles = () =>
container: {
flexDirection: 'row',
backgroundColor: colors.white,
- height: 92,
paddingTop: 12,
},
flatListContent: {
@@ -50,7 +49,7 @@ export const TeamSwitcherStyles = () =>
marginBottom: 4,
},
teamImage: {
- width: 44,
+ width: '100%',
height: 44,
},
selectedTeamLabel: {
@@ -91,10 +90,11 @@ export const TeamSwitcherStyles = () =>
},
//Vertical Divider Styles
divider: {
- height: 64,
+ height: 44,
width: 1,
backgroundColor: colors.gray['20'],
alignSelf: 'center',
+ marginBottom: 24,
},
//Add/Edit Button Styles
@@ -120,6 +120,7 @@ export const TeamSwitcherStyles = () =>
fontSize: 14,
color: colors.black,
textDecorationLine: 'underline',
+ fontFamily: 'Bogle-Regular',
},
skeletonContainer: {
justifyContent: 'center',
| feat(ui): update team switcher changes | feat(ui): update team switcher changes
|
c30af21d57e56c54f52b1b6c24e72a135cfff7ce | --- package-lock.json
@@ -18770,14 +18770,6 @@
"resolved": "https://npme.walmart.com/react-is/-/react-is-16.13.1.tgz",
"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
},
- "react-keyed-flatten-children": {
- "version": "1.3.0",
- "resolved": "https://npme.walmart.com/react-keyed-flatten-children/-/react-keyed-flatten-children-1.3.0.tgz",
- "integrity": "sha512-qB7A6n+NHU0x88qTZGAJw6dsqwI941jcRPBB640c/CyWqjPQQ+YUmXOuzPziuHb7iqplM3xksWAbGYwkQT0tXA==",
- "requires": {
- "react-is": "^16.8.6"
- }
- },
"react-native": {
"version": "0.67.4",
"resolved": "https://npme.walmart.com/react-native/-/react-native-0.67.4.tgz",
| Update package-lock.json | Update package-lock.json |
a3e4187ee10848772967e8f3b86acf55bf199ad9 | --- jest.config.js
@@ -17,10 +17,10 @@ module.exports = {
],
coverageThreshold: {
global: {
- statements: 87,
- branches: 75,
+ statements: 85,
+ branches: 72,
functions: 85,
- lines: 87,
+ lines: 84,
},
},
transformIgnorePatterns: [
| Update version | Update version
|
bf04542cec1bd818f492b659390bf6484b4dc011 | --- package-lock.json
@@ -58,7 +58,7 @@
"@walmart/iteminfo-mini-app": "7.2.2",
"@walmart/manager-approvals-miniapp": "0.2.2",
"@walmart/me-field-mini-app": "1.3.0",
- "@walmart/metrics-mini-app": "0.12.1",
+ "@walmart/metrics-mini-app": "0.12.2",
"@walmart/mod-flex-mini-app": "1.8.6",
"@walmart/moment-walmart": "1.0.4",
"@walmart/onewalmart-miniapp": "1.0.14",
@@ -5524,9 +5524,9 @@
}
},
"node_modules/@walmart/metrics-mini-app": {
- "version": "0.12.1",
- "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.12.1.tgz",
- "integrity": "sha512-QS70B4y3U0Jo5O1z/Rcle1QkGaSwwe/WsbNSC1q6Y61w8crT8nDpiWUWk0CdG/T07FKrn5ogRjxWnNhb97LB8w==",
+ "version": "0.12.2",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.12.2.tgz",
+ "integrity": "sha512-gmOXjjVL+8ndQGBJqmPTwUelCEOOOtZn//3gXSb+/KnHvQLIvA7ihIUaPrIcP6iVfkYX06b9LYgu/BG7KC/FRg==",
"dependencies": {
"@types/base-64": "^1.0.0",
"apisauce": "1.1.2",
@@ -25347,9 +25347,9 @@
"version": "1.3.0"
},
"@walmart/metrics-mini-app": {
- "version": "0.12.1",
- "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.12.1.tgz",
- "integrity": "sha512-QS70B4y3U0Jo5O1z/Rcle1QkGaSwwe/WsbNSC1q6Y61w8crT8nDpiWUWk0CdG/T07FKrn5ogRjxWnNhb97LB8w==",
+ "version": "0.12.2",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.12.2.tgz",
+ "integrity": "sha512-gmOXjjVL+8ndQGBJqmPTwUelCEOOOtZn//3gXSb+/KnHvQLIvA7ihIUaPrIcP6iVfkYX06b9LYgu/BG7KC/FRg==",
"requires": {
"@types/base-64": "^1.0.0",
"apisauce": "1.1.2",
--- package.json
@@ -100,7 +100,7 @@
"@walmart/iteminfo-mini-app": "7.2.2",
"@walmart/manager-approvals-miniapp": "0.2.2",
"@walmart/me-field-mini-app": "1.3.0",
- "@walmart/metrics-mini-app": "0.12.1",
+ "@walmart/metrics-mini-app": "0.12.2",
"@walmart/mod-flex-mini-app": "1.8.6",
"@walmart/moment-walmart": "1.0.4",
"@walmart/onewalmart-miniapp": "1.0.14",
| Bumping the metrics mini-app-version to 0.12.2 | Bumping the metrics mini-app-version to 0.12.2
|
bfe90eb0711fed29360ce4d798bd4e834dcea420 | --- packages/allspark-foundation/__tests__/Components/__snapshots__/AllsparkBanner.test.tsx.snap
@@ -1,10 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`AllsparkBanner renders banner correctly 1`] = `
-<View
- entering={BaseAnimationMock {}}
- exiting={BaseAnimationMock {}}
->
+<View>
<View
style={
[
--- packages/allspark-utils/src/queue.ts
@@ -55,7 +55,7 @@ export class Queue<T> {
while (this._queue.length > 0) {
const item = this._queue.shift();
- callback(item);
+ callback(item as T);
}
};
@@ -65,7 +65,7 @@ export class Queue<T> {
}
while (this._queue.length > 0) {
const item = this._queue.shift();
- await callback(item);
+ await callback(item as T);
}
};
| chore: type and snapshot fix | chore: type and snapshot fix
|
43f718443a3b650ae029798a2a9dc60bf9638c02 | --- ios/Podfile.lock
@@ -2232,7 +2232,7 @@ PODS:
- FirebaseMessaging (<= 10.18.0)
- StructuredLogAssistantIOS (= 0.0.7)
- TOCropViewController (2.6.1)
- - topstock-mini-app (1.10.8):
+ - topstock-mini-app (1.12.0):
- React
- VisionCamera (3.7.1):
- React
@@ -2899,7 +2899,7 @@ SPEC CHECKSUMS:
StructuredLogAssistantIOS: d48c327b3b67366d954435891dc1e748a6aeb9c1
SumoSDK: 58664bf3b83e2f4bcdfc52704235ab4bca519ceb
TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863
- topstock-mini-app: b194faed10e28756619b4105d6de60965bcd2058
+ topstock-mini-app: 37f838d08fe79248fc2e39c3f003e07afa51c2df
VisionCamera: ef56ac9d3e0fef4b94c7cf75735aaccc2326e35a
walmart-react-native-sumo-sdk: a6dc20c0ec3c8ab878886529a0e2fc22e747821c
WebexSDK: d652713bd7ad5902e81918121912ba75a0056c3b
--- package.json
@@ -146,7 +146,7 @@
"@walmart/store-feature-orders": "1.26.9",
"@walmart/taskit-mini-app": "3.0.2",
"@walmart/time-clock-mini-app": "2.395.0",
- "@walmart/topstock-mini-app": "1.10.8",
+ "@walmart/topstock-mini-app": "1.12.0",
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.14#~/.yarn/patches/@walmart-ui-components-npm-1.15.14-a6f67304be.patch",
"@walmart/welcomeme-mini-app": "0.94.0",
"@walmart/wfm-ui": "0.8.12",
--- yarn.lock
@@ -7259,9 +7259,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/topstock-mini-app@npm:1.10.8":
- version: 1.10.8
- resolution: "@walmart/topstock-mini-app@npm:1.10.8"
+"@walmart/topstock-mini-app@npm:1.12.0":
+ version: 1.12.0
+ resolution: "@walmart/topstock-mini-app@npm:1.12.0"
peerDependencies:
"@react-native-firebase/app": ^15.1.1
"@react-native-firebase/crashlytics": ^15.1.1
@@ -7278,7 +7278,7 @@ __metadata:
react-native-haptic-feedback: ^1.13.0
react-native-vector-icons: ">=6.6.0"
react-redux: ">=7.2.0"
- checksum: 10c0/ba43295c85f5376b0cb43bf10e1487d3b9c28ec2bfc94abe01442f4c3a7dd36ef27dea9b3d9305878828e6fa8e6fdb3110920ff9125af31b501a1567ee166281
+ checksum: 10c0/64d49669316e55d8ed1bdce780f830cdf660d919b314d1f351dbc0e9877442cc268c3a1c34d768a1f4ed180f82ddfb6dae0e8cf7fe91483f9f2824c9c0fae105
languageName: node
linkType: hard
@@ -7861,7 +7861,7 @@ __metadata:
"@walmart/store-feature-orders": "npm:1.26.9"
"@walmart/taskit-mini-app": "npm:3.0.2"
"@walmart/time-clock-mini-app": "npm:2.395.0"
- "@walmart/topstock-mini-app": "npm:1.10.8"
+ "@walmart/topstock-mini-app": "npm:1.12.0"
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.14#~/.yarn/patches/@walmart-ui-components-npm-1.15.14-a6f67304be.patch"
"@walmart/welcomeme-mini-app": "npm:0.94.0"
"@walmart/wfm-ui": "npm:0.8.12"
| fix(topstock): fix drop22 topstock | fix(topstock): fix drop22 topstock
|
22c994f6d91ee37de09adfa0269b0edea7b6d5bf | --- packages/allspark-foundation/src/Components/TeamOnboarding/TeamSelection/TeamSelectionList.tsx
@@ -3,9 +3,9 @@ import { View, Text, ScrollView } from 'react-native';
import { TeamSelectionListItem } from './TeamSelectionListItem';
import { Checkbox } from '@walmart/gtp-shared-components/dist';
import { teamSelectionListStyles as styles } from './styles';
-import { Area, TeamName, TeamSelectionListProps } from './types';
+import { Area, Team, TeamSelectionListProps } from './types';
-export const areaTeamMap: Record<Area, TeamName[]> = {
+export const areaTeamMap: Record<Area, Team[]> = {
'Admin & Support': ['Admin & Support'],
'Digital': ['Digital', 'Digital Overnight'],
'Food & Consumables': [
--- packages/allspark-foundation/src/Components/TeamOnboarding/TeamSelection/types.ts
@@ -23,20 +23,18 @@ export type Team =
| 'Stocking Overnight'
| 'Vision Center';
-export enum Areas {
- 'Admin & Support' = 'Admin & Support',
- Digital = 'Digital',
- 'Food & Consumables' = 'Food & Consumables',
- 'Front End' = 'Front End',
- Fuel = 'Fuel',
- 'General Merchandise' = 'General Merchandise',
- Management = 'Management',
- Pharmacy = 'Pharmacy',
- Stocking = 'Stocking',
- 'Vision Center' = 'Vision Center',
-}
+export type Area =
+ | 'Admin & Support'
+ | 'Digital'
+ | 'Food & Consumables'
+ | 'Front End'
+ | 'Fuel'
+ | 'General Merchandise'
+ | 'Management'
+ | 'Pharmacy'
+ | 'Stocking'
+ | 'Vision Center';
-export type Area = keyof typeof Areas;
export interface TeamSelectionListItemProps {
teamName: Team;
isLastListItem: boolean;
@@ -48,9 +46,9 @@ export interface TeamSelectionListItemProps {
export interface TeamSelectionListProps {
areas: Area[];
- selectedTeams: TeamName[];
+ selectedTeams: Team[];
myArea: Area;
- primaryTeam: TeamName;
- handleSelectSingle: (teamName: TeamName) => void;
+ primaryTeam: Team;
+ handleSelectSingle: (teamName: Team) => void;
handleSelectAll: () => void;
}
| feat: updated area type | feat: updated area type
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.