commit_hash stringlengths 40 40 | input stringlengths 13 7.99k | output stringlengths 5 155 | full_message stringlengths 6 8.96k |
|---|---|---|---|
875a34248787af2b0b7dfcd32c7f3b543b9240a7 | --- .looper.yml
@@ -2,6 +2,7 @@ inherit: 'job:///metropolis/metroloop/metroloop-parent'
tools:
nodejs: 20.10.0
+ npm: 10.9.2
jdk:
flavor: azul
version: 17
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/wmconnect-mini-app",
- "version": "2.41.0",
+ "version": "2.42.0",
"main": "dist/index.js",
"files": [
"dist",
| fix: SMDV-8203 update version to 2.42.0 | fix: SMDV-8203 update version to 2.42.0
|
fc9111225b426d5fe8b95707771cdff96c498460 | --- targets/US/package.json
@@ -101,7 +101,7 @@
"@walmart/counts-component-miniapp": "0.1.13",
"@walmart/emergency-mini-app": "1.29.8",
"@walmart/exception-mini-app": "1.8.11",
- "@walmart/facilities-management-miniapp": "0.12.11",
+ "@walmart/facilities-management-miniapp": "0.14.6",
"@walmart/feedback-all-spark-miniapp": "0.9.66",
"@walmart/financial-wellbeing-feature-app": "1.26.0",
"@walmart/functional-components": "~6.3.20",
| FixIT - Drop 25 feature | FixIT - Drop 25 feature
|
c80852e4ad9a49ca6388393ab8a5a11bd8d5252e | --- package-lock.json
@@ -62,7 +62,6 @@
"@walmart/mod-flex-mini-app": "1.3.15",
"@walmart/moment-walmart": "1.0.4",
"@walmart/onewalmart-miniapp": "1.0.14",
- "@walmart/OneWalmart-MiniApp": "1.0.14",
"@walmart/pay-stub-miniapp": "0.9.21",
"@walmart/payrollsolution_miniapp": "0.130.23",
"@walmart/price-changes-mini-app": "1.6.10",
--- package.json
@@ -73,7 +73,6 @@
"@react-navigation/stack": "^6.1.0",
"@sharcoux/slider": "^6.1.1",
"@terrylinla/react-native-sketch-canvas": "0.8.0",
- "@walmart/OneWalmart-MiniApp": "1.0.14",
"@walmart/allspark-graphql-client": "^0.1.0",
"@walmart/allspark-home-mini-app": "0.6.14",
"@walmart/allspark-neon-core": "0.1.31",
| remove previous one walmart | remove previous one walmart
|
ea21845ff3d48de5fa37c683c9c9a5f27fe28483 | --- src/components/Roster/Roster.tsx
@@ -65,7 +65,7 @@ export const Roster: React.FC<RosterProps> = (props) => {
const {t} = useTranslation([ROSTER_I18N_NAMESPACE]);
const siteTranslationContext = useSiteTranslationContext();
const showTeamList = useSelector(displayTeamList);
- const rosterInitialized = useRef<boolean>();
+ // const rosterInitialized = useRef<boolean>();
const teamLeads = useSelector(teamLeadJobDescriptions) as string[];
@@ -155,23 +155,24 @@ export const Roster: React.FC<RosterProps> = (props) => {
setAssociates(filteredAssociates || []);
}, [associateListSearchQuery]);
- useEffect(() => {
- if (
- !rosterInitialized.current &&
- getDailyRosterResponse?.getDailyRoster?.length &&
- !associates.length
- ) {
- rosterInitialized.current = true;
- const sortedAssociates = sortedAssociateList(
- getDailyRosterResponse.getDailyRoster as Array<Associate>,
- teamLeads,
- );
- setAssociates(sortedAssociates);
- }
- return () => {
- rosterInitialized.current = false;
- };
- }, [associates.length]);
+ //Todo: Re consider this logic since its affecting the Filter functionality for Absent and Tardy
+ // useEffect(() => {
+ // if (
+ // !rosterInitialized.current &&
+ // getDailyRosterResponse?.getDailyRoster?.length &&
+ // !associates.length
+ // ) {
+ // rosterInitialized.current = true;
+ // const sortedAssociates = sortedAssociateList(
+ // getDailyRosterResponse.getDailyRoster as Array<Associate>,
+ // teamLeads,
+ // );
+ // setAssociates(sortedAssociates);
+ // }
+ // return () => {
+ // rosterInitialized.current = false;
+ // };
+ // }, [associates.length]);
const extraData = useMemo(
() => ({listLength: associates.length}),
| Update roster filter function | Update roster filter function
|
c7c59ef75db5e766f30fd2ec361871bc1f38ab00 | --- 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.14.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.14.3...@walmart/allspark-foundation-hub@1.14.4) (2025-09-17)
+
+**Note:** Version bump only for package @walmart/allspark-foundation-hub
+
## [1.14.3](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.14.2...@walmart/allspark-foundation-hub@1.14.3) (2025-09-15)
**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.14.3",
+ "version": "1.14.4",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-foundation-hub@1.14.4
|
8570b5d51f5f16b6ce1cbcfbe06ec7e70507c998 | --- src/components/AssociateRosterItem/index.tsx
@@ -46,7 +46,7 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
const currentUser = useSelector(UserSelectors.getUser) as Associate;
const isSalariedOrTeamLead = useIsSalariedOrTeamLead();
const userIsInRoster = useUserIsInRoster();
- const isPushToTalkEnabled: boolean = useSelector(pushToTalkEnabled) ?? false;
+ const isPushToTalkEnabled: boolean = useSelector(pushToTalkEnabled);
if (!associate) {
return null;
--- src/containers/StoreChatCard.tsx
@@ -42,7 +42,7 @@ export const StoreChatCard = (props: {style?: StyleProp<ViewStyle>}) => {
const onlineCount = useOnlineCount();
const userIsInRoster = useUserIsInRoster();
const navigation = useNavigation<StackNavigationProp<TextingNavParamsMap>>();
- const isPushToTalkEnabled: boolean = useSelector(pushToTalkEnabled) ?? false;
+ const isPushToTalkEnabled: boolean = useSelector(pushToTalkEnabled);
const onViewTeam = () => {
navigation.navigate('myTeam.viewTeam', {teamId: WHOLE_STORE});
--- src/redux/selectors.ts
@@ -41,7 +41,8 @@ export const codeOfConductLink = createSelector(
export const pushToTalkEnabled = createSelector(
[getTextingAppConfigData],
- (state) => state?.pushToTalkEnabled,
+ (state) =>
+ state?.pushToTalkEnabled.toString().toLowerCase() === 'true' ?? false,
);
export const teamLeadJobDescriptions = createSelector(
--- src/screens/TabsScreen.tsx
@@ -22,7 +22,7 @@ const MainTab = createMaterialTopTabNavigator();
export const TabsScreen: React.FC<TabsScreenProps> = () => {
const {t} = useTranslation([TEXTING_I18N_NAMESPACE]);
- const isPushToTalkEnabled: boolean = useSelector(pushToTalkEnabled) ?? false;
+ const isPushToTalkEnabled: boolean = useSelector(pushToTalkEnabled);
return (
<>
--- src/components/AssociateRosterItem/index.tsx
@@ -46,7 +46,7 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
const currentUser = useSelector(UserSelectors.getUser) as Associate;
const isSalariedOrTeamLead = useIsSalariedOrTeamLead();
const userIsInRoster = useUserIsInRoster();
- const isPushToTalkEnabled: boolean = useSelector(pushToTalkEnabled) ?? false;
+ const isPushToTalkEnabled: boolean = useSelector(pushToTalkEnabled);
if (!associate) {
return null;
--- src/containers/StoreChatCard.tsx
@@ -42,7 +42,7 @@ export const StoreChatCard = (props: {style?: StyleProp<ViewStyle>}) => {
const onlineCount = useOnlineCount();
const userIsInRoster = useUserIsInRoster();
const navigation = useNavigation<StackNavigationProp<TextingNavParamsMap>>();
- const isPushToTalkEnabled: boolean = useSelector(pushToTalkEnabled) ?? false;
+ const isPushToTalkEnabled: boolean = useSelector(pushToTalkEnabled);
const onViewTeam = () => {
navigation.navigate('myTeam.viewTeam', {teamId: WHOLE_STORE});
--- src/redux/selectors.ts
@@ -41,7 +41,8 @@ export const codeOfConductLink = createSelector(
export const pushToTalkEnabled = createSelector(
[getTextingAppConfigData],
- (state) => state?.pushToTalkEnabled,
+ (state) =>
+ state?.pushToTalkEnabled.toString().toLowerCase() === 'true' ?? false,
);
export const teamLeadJobDescriptions = createSelector(
--- src/screens/TabsScreen.tsx
@@ -22,7 +22,7 @@ const MainTab = createMaterialTopTabNavigator();
export const TabsScreen: React.FC<TabsScreenProps> = () => {
const {t} = useTranslation([TEXTING_I18N_NAMESPACE]);
- const isPushToTalkEnabled: boolean = useSelector(pushToTalkEnabled) ?? false;
+ const isPushToTalkEnabled: boolean = useSelector(pushToTalkEnabled);
return (
<>
| update ptt enabled type | update ptt enabled type
|
b0b6d5e27ce5547044bbe8de5e546e23dcc88169 | --- patches/@walmart+native-rfid-scanner+3.7.3.patch
@@ -0,0 +1,11 @@
+diff --git a/node_modules/@walmart/native-rfid-scanner/android/gradle.properties b/node_modules/@walmart/native-rfid-scanner/android/gradle.properties
+index ce7988e..c622c5c 100644
+--- a/node_modules/@walmart/native-rfid-scanner/android/gradle.properties
++++ b/node_modules/@walmart/native-rfid-scanner/android/gradle.properties
+@@ -7,4 +7,4 @@ FLIPPER_VERSION=0.35.0
+ JACKSON_VERSION = 2.9.3
+ LOG4J_VERSION = 2.13.3
+ MOCKITO_VERSION = 3.6.28
+-LOMBOK_VERSION = 1.18.18
+\ No newline at end of file
++LOMBOK_VERSION = 1.18.28
| chore: add rfid patch for lombok version | chore: add rfid patch for lombok version
|
fa0a56120b797d312daf9f5b8063c87263118e77 | --- __tests__/__mocks__/@walmart/gtp-shared-components.js
@@ -1,39 +0,0 @@
-module.exports = {
- colors: jest.requireActual(
- '@walmart/gtp-shared-components/dist/theme/colors.json',
- ),
- PrimaryButton: 'PrimaryButton',
- ChevronRightIcon: 'ChevronRightIcon',
- ChevronLeftIcon: 'ChevronLeftIcon',
- SolidCard: 'SolidCard',
- SecondaryButton: 'SecondaryButton',
- Body: 'Body',
- Title: 'Title',
- Title2: 'Title2',
- Title3: 'Title3',
- MenuIcon: 'MenuIcon',
- Headline: 'Headline',
- Caption: 'Caption',
- Display: 'Display',
- LinkButton: 'LinkButton',
- CloseIcon: 'CloseIcon',
- SparkIcon: 'SparkIcon',
- GlobeIcon: 'GlobeIcon',
- Subheader: 'Subheader',
- Subheader2: 'Subheader2',
- Snackbar: 'Snackbar',
- RadioItemGroup: 'RadioItemGroup',
- CheckboxItemGroup: 'CheckboxItemGroup',
- WarningIcon: 'WarningIcon',
- ExclamationCircleFillIcon: 'ExclamationCircleFillIcon',
- ExternalLinkIcon: 'ExternalLinkIcon',
- MessageWarning: 'MessageWarning',
- MessageError: 'MessageError',
- ExclamationCircleIcon: 'ExclamationCircleIcon',
- Spinner: 'Spinner',
- Dropdown: 'Dropdown',
- LivingDesignProvider: 'LivingDesignProvider',
- ThemeProvider: 'ThemeProvider',
- StoreIcon: 'StoreIcon',
- Alert: 'Alert',
-};
--- __tests__/__mocks__/@walmart/gtp-shared-components.js
@@ -1,39 +0,0 @@
-module.exports = {
- colors: jest.requireActual(
- '@walmart/gtp-shared-components/dist/theme/colors.json',
- ),
- PrimaryButton: 'PrimaryButton',
- ChevronRightIcon: 'ChevronRightIcon',
- ChevronLeftIcon: 'ChevronLeftIcon',
- SolidCard: 'SolidCard',
- SecondaryButton: 'SecondaryButton',
- Body: 'Body',
- Title: 'Title',
- Title2: 'Title2',
- Title3: 'Title3',
- MenuIcon: 'MenuIcon',
- Headline: 'Headline',
- Caption: 'Caption',
- Display: 'Display',
- LinkButton: 'LinkButton',
- CloseIcon: 'CloseIcon',
- SparkIcon: 'SparkIcon',
- GlobeIcon: 'GlobeIcon',
- Subheader: 'Subheader',
- Subheader2: 'Subheader2',
- Snackbar: 'Snackbar',
- RadioItemGroup: 'RadioItemGroup',
- CheckboxItemGroup: 'CheckboxItemGroup',
- WarningIcon: 'WarningIcon',
- ExclamationCircleFillIcon: 'ExclamationCircleFillIcon',
- ExternalLinkIcon: 'ExternalLinkIcon',
- MessageWarning: 'MessageWarning',
- MessageError: 'MessageError',
- ExclamationCircleIcon: 'ExclamationCircleIcon',
- Spinner: 'Spinner',
- Dropdown: 'Dropdown',
- LivingDesignProvider: 'LivingDesignProvider',
- ThemeProvider: 'ThemeProvider',
- StoreIcon: 'StoreIcon',
- Alert: 'Alert',
-};
| removing gtp components mock, in order to interact with real components | removing gtp components mock, in order to interact with real components
|
95b144b980d9fdb109766da3dd0778a49fada92a | --- package-lock.json
@@ -3328,9 +3328,9 @@
}
},
"@walmart/config-components": {
- "version": "1.0.28",
- "resolved": "https://npme.walmart.com/@walmart/config-components/-/config-components-1.0.28.tgz",
- "integrity": "sha512-GIK3yOpMOShJylR3pFnCnQhNOCknzhcpSE+qW51mUXrnVkOxUBK8ENtYurUc2GumOROfh+728tCHyXoY7yB+NQ=="
+ "version": "1.0.29",
+ "resolved": "https://npme.walmart.com/@walmart/config-components/-/config-components-1.0.29.tgz",
+ "integrity": "sha512-2lWd8SElggyOahK4nn0xJgPzSqTS5npYsrLCfOj3aeMy0/fXufGzmTvAVeI0dTAAOqGBHWXFhB87ANiVAf6F6w=="
},
"@walmart/counts-component-miniapp": {
"version": "0.0.20",
--- package.json
@@ -74,7 +74,7 @@
"@walmart/allspark-home-mini-app": "0.4.62",
"@walmart/allspark-me-mini-app": "0.2.4",
"@walmart/ask-sam-mini-app": "0.30.15",
- "@walmart/config-components": "^1.0.28",
+ "@walmart/config-components": "^1.0.29",
"@walmart/counts-component-miniapp": "0.0.20",
"@walmart/exception-mini-app": "0.33.0",
"@walmart/feedback-all-spark-miniapp": "0.0.58",
| ALLSPARK-347 | ALLSPARK-347
|
318498ca7948c722f57fa4fed5a9df768e16e74a | --- .looper-android-release.yml
@@ -22,5 +22,4 @@ flows:
sh scripts/getAndroidAppVersionFromGradle.sh android/app/build.gradle
- npm run jetifier
- (name replace gradle implementation in remote-config) sh scripts/fixAndroidProtobufError.sh
- - call: build-and-publish(os = "android", version = ${androidAppVersion}, packaging = "apk")
- - (name create release tag) sh scripts/releaseTagging.sh "${androidAppVersion}"
\ No newline at end of file
+ - call: build-and-publish(os = "android", version = ${androidAppVersion}, packaging = "apk")
\ No newline at end of file
--- .looper-native-common.yml
@@ -94,6 +94,7 @@ flows:
- var(buildOutput = "./android/app/build/outputs/apk/release/app-release-signed.apk")
- echo "starting building Android release build"
- call: build-android(env = ${env})
+ - (name create release tag) sh scripts/releaseTagging.sh "${version}"
- echo "uploading build"
- call: upload-build(version = ${version}, buildType = ${buildType}, artifactId = ${artifactId}, buildOutput = ${buildOutput}, packaging = ${packaging}, os = ${os})
else:
| Fix/tag (#204) | Fix/tag (#204)
* pod fix
* adding script to create tag in release flow
* veriiable rename
Co-authored-by: Hitesh Arora <> |
bb58c79008218c15b57652bc1df44b5e56f0fb89 | --- package.json
@@ -110,7 +110,7 @@
"@walmart/gtp-shared-components": "2.2.1",
"@walmart/impersonation-mini-app": "1.20.8",
"@walmart/ims-print-services-ui": "2.11.1",
- "@walmart/inbox-mini-app": "0.94.7",
+ "@walmart/inbox-mini-app": "0.94.6",
"@walmart/iteminfo-mini-app": "7.12.1",
"@walmart/learning-mini-app": "20.0.21",
"@walmart/manager-approvals-miniapp": "0.2.4",
--- yarn.lock
@@ -6290,9 +6290,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/inbox-mini-app@npm:0.94.7":
- version: 0.94.7
- resolution: "@walmart/inbox-mini-app@npm:0.94.7"
+"@walmart/inbox-mini-app@npm:0.94.6":
+ version: 0.94.6
+ resolution: "@walmart/inbox-mini-app@npm:0.94.6"
dependencies:
"@walmart/moment-walmart": "npm:^1.0.4"
"@walmart/walmart-fiscal-week": "npm:^0.3.6"
@@ -6305,7 +6305,7 @@ __metadata:
lodash: ">=4.17.20"
prop-types: 15.7.2
typescript: ^4.0.2
- checksum: 10c0/dbabb9694c64a9a62db0accf871e7d98c1894c741c8a33a27d5b61c557094f1d76a1a0cc788ee668a0eb41998337ee9f1b4b22e97f7176d7bc6ecaaab62e9d80
+ checksum: 10c0/9aa3cc07da074c0262e103a615e997614e548cbf134b43f2e5f4ed600f4914ad10feaaa95356c495f6080b7341f939d217d1d6a2e8518400c451b8c1bd34376b
languageName: node
linkType: hard
@@ -7752,7 +7752,7 @@ __metadata:
"@walmart/gtp-shared-components": "npm:2.2.1"
"@walmart/impersonation-mini-app": "npm:1.20.8"
"@walmart/ims-print-services-ui": "npm:2.11.1"
- "@walmart/inbox-mini-app": "npm:0.94.7"
+ "@walmart/inbox-mini-app": "npm:0.94.6"
"@walmart/iteminfo-mini-app": "npm:7.12.1"
"@walmart/learning-mini-app": "npm:20.0.21"
"@walmart/manager-approvals-miniapp": "npm:0.2.4"
| downgrade inbox version | downgrade inbox version
|
1286433f00d0660c5ede792feca9f1356024e45e | --- src/hooks/user.ts
@@ -33,15 +33,14 @@ export const useIsHourly = () => {
};
export const useUserIsInRoster = () => {
- // const workingSite: string = useSelector(UserSelectors.getUserWorkingSite);
- // const homeSite: string = useSelector(UserSelectors.getUserHomeSite);
- //
- // if (isNil(workingSite) || isNil(homeSite)) {
- // return false;
- // }
- //
- // return workingSite.toString() === homeSite.toString();
- return true;
+ const workingSite: string = useSelector(UserSelectors.getUserWorkingSite);
+ const homeSite: string = useSelector(UserSelectors.getUserHomeSite);
+
+ if (isNil(workingSite) || isNil(homeSite)) {
+ return false;
+ }
+
+ return workingSite.toString() === homeSite.toString();
};
export const useIsImpersonatedOnDev = () => {
| updating roster | updating roster
|
107ec2416f21f71f0e0193467f6f3474bd3185d6 | --- package-lock.json
@@ -85,7 +85,7 @@
"@walmart/schedule-mini-app": "0.63.0",
"@walmart/shelfavailability-mini-app": "1.5.18",
"@walmart/store-feature-orders": "1.23.0",
- "@walmart/taskit-mini-app": "2.51.0",
+ "@walmart/taskit-mini-app": "2.52.0",
"@walmart/texting-mini-app": "2.1.3",
"@walmart/time-clock-mini-app": "2.175.2",
"@walmart/topstock-mini-app": "1.4.8",
@@ -9195,6 +9195,31 @@
"wifi-store-locator": "^1.0.0-alpha2"
}
},
+ "node_modules/@walmart/manager-approvals-miniapp": {
+ "version": "0.2.4",
+ "resolved": "https://npme.walmart.com/@walmart/manager-approvals-miniapp/-/manager-approvals-miniapp-0.2.4.tgz",
+ "integrity": "sha512-IjgpoS1xzZAm8jtEI5fpTqpwRHQXC8FORd2OpRD5vCpJ2QIKVUzhH3iCEhyjZSOWQ5rmc9miUxt5HGtLABYhTg==",
+ "hasInstallScript": true,
+ "peerDependencies": {
+ "@react-navigation/native": "^6.0.0",
+ "@react-navigation/stack": "^6.1.0",
+ "@walmart/core-services-allspark": "~1.10.11",
+ "@walmart/core-utils": "~1.3.0",
+ "@walmart/gtp-shared-components": "2.0.2",
+ "@walmart/react-native-logger": "1.31.0-rc.1",
+ "@walmart/react-native-shared-navigation": "1.0.2",
+ "i18next": "^22.0.1",
+ "jwt-decode": "^3.1.2",
+ "react": "^18.2.0",
+ "react-i18next": "^12.0.0",
+ "react-native": "0.70.5",
+ "react-native-app-auth": "^6.4.3",
+ "react-native-device-info": "^10.3.0",
+ "react-native-wm-telemetry": "0.3.0",
+ "react-redux": "^8.0.4",
+ "reselect": "^4.1.0"
+ }
+ },
"node_modules/@walmart/me-at-homeoffice-ui-components": {
"version": "1.2.140",
"resolved": "https://npme.walmart.com/@walmart/me-at-homeoffice-ui-components/-/me-at-homeoffice-ui-components-1.2.140.tgz",
@@ -9215,6 +9240,15 @@
"react-native-webview": "^11.23.1"
}
},
+ "node_modules/@walmart/me-at-walmart-athena-queries": {
+ "version": "1.7.3",
+ "resolved": "https://npme.walmart.com/@walmart/me-at-walmart-athena-queries/-/me-at-walmart-athena-queries-1.7.3.tgz",
+ "integrity": "sha512-3ioO6FPcVDOxb609WaxlpeaOn4ojiV/htuzzTPKM5ygQb0R58LwdpypVj0oAx7OVHiKidERYWN/952+YGXlqtg==",
+ "license": "ISC",
+ "dependencies": {
+ "@walmart/allspark-graphql-client": "^1.4.12"
+ }
+ },
"node_modules/@walmart/metrics-mini-app": {
"version": "0.17.9",
"resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.17.9.tgz",
@@ -9731,9 +9765,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "2.51.0",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.51.0.tgz",
- "integrity": "sha512-hK/+QtWk7K9CXMmJFYTZI0s6Uou+P+pfHP+UYt1K/urtE+E2sqPjPHcAHkGc3+mMIAECQHF+3/iMUzt6yytFTQ==",
+ "version": "2.52.0",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.52.0.tgz",
+ "integrity": "sha512-WCEdmnp701p/JnjnwzFrGH43vRHu3jL9AtAXDkxnSfGdkR3CSwxMNe4oX1t2wWfvVBzXZI2zeyqpu/6V/JZycQ==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
@@ -33346,7 +33380,9 @@
}
},
"@walmart/manager-approvals-miniapp": {
- "version": "0.2.4"
+ "version": "0.2.4",
+ "resolved": "https://npme.walmart.com/@walmart/manager-approvals-miniapp/-/manager-approvals-miniapp-0.2.4.tgz",
+ "integrity": "sha512-IjgpoS1xzZAm8jtEI5fpTqpwRHQXC8FORd2OpRD5vCpJ2QIKVUzhH3iCEhyjZSOWQ5rmc9miUxt5HGtLABYhTg=="
},
"@walmart/me-at-homeoffice-ui-components": {
"version": "1.2.140",
@@ -33536,9 +33572,9 @@
"integrity": "sha512-yUGfrUJxc1nOTxfHsFhMFfF+9vRY9m5V8tSzhD8ISRXDZTCaAIp9XpjGaTOe6iY/5/gpNN9oISFsEO9LMfx5Iw=="
},
"@walmart/taskit-mini-app": {
- "version": "2.51.0",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.51.0.tgz",
- "integrity": "sha512-hK/+QtWk7K9CXMmJFYTZI0s6Uou+P+pfHP+UYt1K/urtE+E2sqPjPHcAHkGc3+mMIAECQHF+3/iMUzt6yytFTQ=="
+ "version": "2.52.0",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.52.0.tgz",
+ "integrity": "sha512-WCEdmnp701p/JnjnwzFrGH43vRHu3jL9AtAXDkxnSfGdkR3CSwxMNe4oX1t2wWfvVBzXZI2zeyqpu/6V/JZycQ=="
},
"@walmart/tcnumber": {
"version": "2.3.3",
--- package.json
@@ -126,7 +126,7 @@
"@walmart/schedule-mini-app": "0.63.0",
"@walmart/shelfavailability-mini-app": "1.5.18",
"@walmart/store-feature-orders": "1.23.0",
- "@walmart/taskit-mini-app": "2.51.0",
+ "@walmart/taskit-mini-app": "2.52.0",
"@walmart/texting-mini-app": "2.1.3",
"@walmart/time-clock-mini-app": "2.175.2",
"@walmart/topstock-mini-app": "1.4.8",
| Updated notes version | Updated notes version
|
e73e35f5f12804c1e74c0d8ed3fc03f3a36e7d22 | --- .yarn/patches/@walmart-time-clock-mini-app-npm-3.19.13-d3039974f6.patch
@@ -35,3 +35,15 @@ diff --git a/dist/containers/ClockOutScreen/index.js b/dist/containers/ClockOutS
}, [dispatch, navigation, navigationOrigin]);
// TO DO: FIGURE OUT BETTER WAY TO DETERMINE IF THERE ARE CHANGES TO THE EXISTING PUNCHES
const isExistingPunchEdit = () => {
+diff --git a/dist/data/redux/Ccm/ccmDefaults/defaults.js b/dist/data/redux/Ccm/ccmDefaults/defaults.js
+--- a/dist/data/redux/Ccm/ccmDefaults/defaults.js
++++ b/dist/data/redux/Ccm/ccmDefaults/defaults.js
+@@ -124,7 +124,7 @@ const timeClockData = {
+ calendarNavBackMonths: 6,
+ nonPrimaryButtonVariant: 'tertiary',
+ isPeopleApiEnabled: false,
+- isClockStatusUpdateEnabled: false,
++ isClockStatusUpdateEnabled: true,
+ isPunchReceiverEnabled: false,
+ isFetchLocationEnabled: true,
+ isShowNonBYODMessageVisible: false,
--- yarn.lock
@@ -10069,7 +10069,7 @@ __metadata:
"@walmart/time-clock-mini-app@patch:@walmart/time-clock-mini-app@npm%3A3.19.13#~/.yarn/patches/@walmart-time-clock-mini-app-npm-3.19.13-d3039974f6.patch":
version: 3.19.13
- resolution: "@walmart/time-clock-mini-app@patch:@walmart/time-clock-mini-app@npm%3A3.19.13%3A%3A__archiveUrl=https%253A%252F%252Fnpm.ci.artifacts.walmart.com%253A443%252Fartifactory%252Fapi%252Fnpm%252Fnpme-npm%252F%2540walmart%252Ftime-clock-mini-app%252F-%252F%2540walmart%252Ftime-clock-mini-app-3.19.13.tgz#~/.yarn/patches/@walmart-time-clock-mini-app-npm-3.19.13-d3039974f6.patch::version=3.19.13&hash=d90449"
+ resolution: "@walmart/time-clock-mini-app@patch:@walmart/time-clock-mini-app@npm%3A3.19.13%3A%3A__archiveUrl=https%253A%252F%252Fnpm.ci.artifacts.walmart.com%253A443%252Fartifactory%252Fapi%252Fnpm%252Fnpme-npm%252F%2540walmart%252Ftime-clock-mini-app%252F-%252F%2540walmart%252Ftime-clock-mini-app-3.19.13.tgz#~/.yarn/patches/@walmart-time-clock-mini-app-npm-3.19.13-d3039974f6.patch::version=3.19.13&hash=d8974e"
dependencies:
"@react-navigation/elements": "npm:^1.3.1"
moment-timezone: "npm:0.5.33"
@@ -10115,7 +10115,7 @@ __metadata:
uuid: ^3.3.2
wifi-store-locator: ^1.4.0
xdate: ^0.8.2
- checksum: 10c0/ead6c578da89e85796f4051e86b413c52a27f5fc0007692f45011e2ac2abd21ae9aa3a148fea89da4c74324d2f49c30dfe3284c11077b0bd6807c0d52bb466d2
+ checksum: 10c0/c7c7a7697dca360d9153e978d429b510c58bbac67ab7ebe01885d93f0422e240d0814494b3f09947e56a884ec9658ce93b598fa16f2a94428bdd4ad8c5b05373
languageName: node
linkType: hard
| fix(GTA-168225): Clock status fix (#5349) | fix(GTA-168225): Clock status fix (#5349)
Co-authored-by: Hitesh Arora - h0a006n <Hitesh.Arora@walmart.com> |
eb85d0db07164091021a0374a620508502fe8bc4 | --- src/managerExperience/screens/RosterDetailScreen/RosterDetailScreen.tsx
@@ -48,7 +48,6 @@ import {
associateIsTardy,
} from '../../../utils/user';
import {
- MY_TEAMS_TEAM_ID,
TOTAL_STORE_TEAM_ID,
TOTAL_STORE_TEAM_LABEL,
} from '@walmart/allspark-foundation-hub/HubFeature/constant';
| fix lint issues | fix lint issues
|
ad287a191e36c41133c92aac4a78451452b2a7b1 | --- src/components/AssociateList/AssociateListItem.tsx
@@ -137,7 +137,6 @@ export const AssociateListItem = ({
</View>
<View style={styles.tagAndButtonContainer}>
<>
- {' '}
<AllsparkSharedComponents.Component
id='wmConnect.DNDStatusChip'
props={{userId: encryptedId, style: styles.tag}}
| Update dnd status chip | Update dnd status chip
|
61f9bdac6d8f1bc1aed0305d0b2fb3994914a1f5 | --- packages/allspark-foundation-hub/src/SupplyChain/Hooks/useGetSupplyChainTeamPreference.ts
@@ -47,19 +47,22 @@ export const useGetSupplyChainTeamsPreferenceQuery = () => {
dispatch(SC_ManagerExperienceCreators.setMySupplyChainTeamsData(null));
setOnCompleted(true);
} else {
+ const shiftsFromPreferences = (
+ response?.associatePreferences?.meAtWalmartPreferences
+ ?.managerExperiencePreferences?.mySupplyChainTeams
+ ?.shiftCodePreference || []
+ ).filter(Boolean) as string[];
+
+ const teamsFromPreferences =
+ response?.associatePreferences?.meAtWalmartPreferences?.managerExperiencePreferences?.mySupplyChainTeams?.supplyChainTeamPreference
+ ?.map((team: any) => team?.teamId)
+ .filter(Boolean) || [];
+
dispatch(
- SC_ManagerExperienceCreators.setSavedSiteShifts(
- response?.associatePreferences?.meAtWalmartPreferences
- ?.managerExperiencePreferences?.mySupplyChainTeams
- ?.shiftCodePreference || []
- )
+ SC_ManagerExperienceCreators.setSavedSiteShifts(shiftsFromPreferences)
);
dispatch(
- SC_ManagerExperienceCreators.setSavedSiteTeams(
- response?.associatePreferences?.meAtWalmartPreferences?.managerExperiencePreferences?.mySupplyChainTeams?.supplyChainTeamPreference?.map(
- (team: any) => team?.teamId
- )
- )
+ SC_ManagerExperienceCreators.setSavedSiteTeams(teamsFromPreferences)
);
setOnCompleted(true);
}
--- packages/allspark-foundation-hub/src/SupplyChain/Hooks/useUpsertSupplyChainAssociatePreference.ts
@@ -56,20 +56,22 @@ export const useUpsertSupplyChainAssociatePreference = () => {
businessUnitNumber: Number(site),
},
onCompleted: (response) => {
+ const shiftsFromPreferences = (
+ response?.upsertAssociatePreference?.meAtWalmartPreferences
+ ?.managerExperiencePreferences?.mySupplyChainTeams
+ ?.shiftCodePreference || []
+ ).filter(Boolean) as string[];
+
+ const teamsFromPreferences =
+ response?.upsertAssociatePreference?.meAtWalmartPreferences?.managerExperiencePreferences?.mySupplyChainTeams?.supplyChainTeamPreference
+ ?.map((team: any) => team?.teamId)
+ .filter(Boolean) || [];
+
dispatch(
- SC_ManagerExperienceCreators.setSavedSiteShifts(
- (response?.upsertAssociatePreference?.meAtWalmartPreferences
- ?.managerExperiencePreferences?.mySupplyChainTeams
- ?.shiftCodePreference || []) as string[]
- )
+ SC_ManagerExperienceCreators.setSavedSiteShifts(shiftsFromPreferences)
);
dispatch(
- SC_ManagerExperienceCreators.setSavedSiteTeams(
- //@ts-ignore
- response?.upsertAssociatePreference?.meAtWalmartPreferences?.managerExperiencePreferences?.mySupplyChainTeams?.supplyChainTeamPreference?.map(
- (team: any) => team?.teamId
- )
- )
+ SC_ManagerExperienceCreators.setSavedSiteTeams(teamsFromPreferences)
);
},
onError: () => {
| feat(ui): more null guards | feat(ui): more null guards
|
259cb27b9acfc70426a2679bfe0a10402bf8bce5 | --- docs/CHANGELOG.md
@@ -1,3 +1,16 @@
+# [3.4.0](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/compare/v3.3.0...v3.4.0) (2025-08-28)
+
+
+### Bug Fixes
+
+* **ui:** reverting gtp version and adding styles ([b3dc01c](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/b3dc01cccaa47de1d40deb702d4d78031b4d077a))
+
+
+### Features
+
+* **ui:** creating branch against main ([435cb73](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/435cb7321358eb6ea0954193ca0761991faddaa0))
+* **ui:** updating snapshots ([bd799f8](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/bd799f8a9544e1176435d090710c0f274e4e9a31))
+
# [3.3.0](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/compare/v3.2.0...v3.3.0) (2025-08-25)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/wmconnect-mini-app",
- "version": "3.3.0",
+ "version": "3.4.0",
"main": "dist/index.js",
"files": [
"dist",
| chore(release): 3.4.0 [skip ci] | chore(release): 3.4.0 [skip ci]
# [3.4.0](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/compare/v3.3.0...v3.4.0) (2025-08-28)
### Bug Fixes
* **ui:** reverting gtp version and adding styles ([b3dc01c](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/b3dc01cccaa47de1d40deb702d4d78031b4d077a))
### Features
* **ui:** creating branch against main ([435cb73](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/435cb7321358eb6ea0954193ca0761991faddaa0))
* **ui:** updating snapshots ([bd799f8](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/bd799f8a9544e1176435d090710c0f274e4e9a31))
|
20d9e88156556f205f801e2163745b5af2a05473 | --- package.json
@@ -119,7 +119,7 @@
"@walmart/me-at-walmart-common": "workspace:^",
"@walmart/me-at-walmart-container": "workspace:^",
"@walmart/metrics-mini-app": "1.29.6",
- "@walmart/mod-flex-mini-app": "1.24.5",
+ "@walmart/mod-flex-mini-app": "1.25.4",
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "2.3.4",
"@walmart/myteam-mini-app": "1.20.0",
--- yarn.lock
@@ -7340,7 +7340,7 @@ __metadata:
"@walmart/me-at-walmart-common": "workspace:^"
"@walmart/me-at-walmart-container": "workspace:^"
"@walmart/metrics-mini-app": "npm:1.29.6"
- "@walmart/mod-flex-mini-app": "npm:1.24.5"
+ "@walmart/mod-flex-mini-app": "npm:1.25.4"
"@walmart/moment-walmart": "npm:1.0.4"
"@walmart/money-auth-shared-components": "npm:2.3.4"
"@walmart/myteam-mini-app": "npm:1.20.0"
@@ -7622,9 +7622,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/mod-flex-mini-app@npm:1.24.5":
- version: 1.24.5
- resolution: "@walmart/mod-flex-mini-app@npm:1.24.5::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fmod-flex-mini-app%2F-%2F%40walmart%2Fmod-flex-mini-app-1.24.5.tgz"
+"@walmart/mod-flex-mini-app@npm:1.25.4":
+ version: 1.25.4
+ resolution: "@walmart/mod-flex-mini-app@npm:1.25.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fmod-flex-mini-app%2F-%2F%40walmart%2Fmod-flex-mini-app-1.25.4.tgz"
peerDependencies:
"@react-navigation/drawer": ">=6"
"@react-navigation/material-top-tabs": ">=6"
@@ -7659,7 +7659,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
uuid: ^3.3.2
- checksum: 10c0/ddbfc0cd6dfdffb6b45789ba82f14ecbb4b7b9b96f972d9f74535084c821e18f7b0af0c6acbaf2de52e3503cdb4d5ea06e01b9f1ce74ebfe1e22440d13a21662
+ checksum: 10c0/59fb3838345f3345f259681f3232c3c0f414f2b6e5601380110f6fc4cb64a444c9b86e7348d98eb5a7913e5f6f254e7ecdfebdc845af1fdb9590887a3cd238ab
languageName: node
linkType: hard
| feat(mod-flex-mini-app): INNODELOC-13306 Mod-Flex Drop 29 Version Bump (#3972) | feat(mod-flex-mini-app): INNODELOC-13306 Mod-Flex Drop 29 Version Bump (#3972)
Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com> |
b0d06346094d3d4340a689b8228ae605bb5cfd90 | --- .env
@@ -1,2 +1 @@
-EXPO_NO_GIT_STATUS=1
-TARGET=US
\ No newline at end of file
+EXPO_NO_GIT_STATUS=1
\ No newline at end of file
--- app.config.US.ts
@@ -8,8 +8,7 @@ import pkg from "./package.json";
const Environment = {
select: <T extends { default: any; [key: string]: any }>(
config: T
- ): T[keyof T] =>
- config[process.env.NODE_ENV || "development"] || config.default,
+ ): T[keyof T] => config[process.env.NODE_ENV!] || config.default,
};
const bundleIdentifier = Environment.select({
@@ -64,7 +63,11 @@ const CONFIG: ExpoConfig = {
},
assetBundlePatterns: ["**/*"],
// Will be available on Constants.expoConfig.extra
- // extra: {},
+ extra: {
+ eas: {
+ projectId: "8235a61b-e3eb-4115-8f4b-c41536e33707",
+ },
+ },
icon: Environment.select({
production: `${__dirname}/assets/images/icon.png`,
beta: `${__dirname}/assets/images/icon-beta.png`,
@@ -155,13 +158,13 @@ const CONFIG: ExpoConfig = {
"@react-native-firebase/app",
"@react-native-firebase/crashlytics",
"@react-native-firebase/perf",
- [
- "expo-dev-launcher",
- {
- launchMode: "most-recent",
- addGeneratedScheme: false,
- },
- ],
+ // [
+ // "expo-dev-launcher",
+ // {
+ // launchMode: "most-recent",
+ // addGeneratedScheme: false,
+ // },
+ // ],
[
"expo-build-properties",
{
--- app.config.ts
@@ -3,6 +3,16 @@ import { ExpoConfig } from "expo/config";
import USConfig from "./app.config.US";
export default (): ExpoConfig => {
+ // Default to development
+ if (!process.env.NODE_ENV) {
+ process.env.NODE_ENV = "development";
+ }
+
+ // Default to US
+ if (!process.env.TARGET) {
+ process.env.TARGET = "US";
+ }
+
/**
* Translating CLI TARGET argument to expo variable so we can use it in JS code
*/
--- package.json
@@ -17,7 +17,7 @@
"android": "expo run:android",
"build-packages": "yarn workspaces foreach --all --topological-dev run build",
"build": "yarn workspaces foreach --all --topological-dev run build",
- "bundle-js": "expo export --no-bytecode --clear",
+ "bundle-js": "expo export --clear",
"check-expo-libs": "expo install --check",
"certify-booted-sim": "scripts/certifyBootedSim.sh",
"coverage": "echo 'Skipping tests to test native builds' > test-report.xml || jest --coverage",
| chore: add process env defaults in root app config | chore: add process env defaults in root app config
|
b8a7efbca308e5d8d63d057bab051adce6651619 | --- package-lock.json
@@ -4475,9 +4475,9 @@
}
},
"@walmart/taskit-mini-app": {
- "version": "0.2.0",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.2.0.tgz",
- "integrity": "sha512-tyoS/Ud2GLJTcb4cxkRa8yEFLxNHV7xEmQTcx1tHMEUv0f1EHlRXHe35JF3D6HW0uVb9/iKVM+3+g0JjYXUFdw=="
+ "version": "0.5.0",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.5.0.tgz",
+ "integrity": "sha512-JJFJXKIpGMLwJXTC2Px65BJVimp3M9i9PaDC56ZNraVKzh2yAFGEm+hXU7Zv9OL6MOE5Wr6ZTtJZJpmOjm+Jfw=="
},
"@walmart/time-clock-mini-app": {
"version": "0.4.33",
--- package.json
@@ -101,7 +101,7 @@
"@walmart/schedule-mini-app": "0.12.0",
"@walmart/settings-mini-app": "1.6.0",
"@walmart/shelfavailability-mini-app": "0.8.3",
- "@walmart/taskit-mini-app": "0.2.0",
+ "@walmart/taskit-mini-app": "0.5.0",
"@walmart/time-clock-mini-app": "0.4.33",
"@walmart/ui-components": "1.3.0-rc.14",
"@walmart/welcomeme-mini-app": "0.47.0",
| taskIt version bump | taskIt version bump
|
3fe204d5141d6b10d76075ea1ccd942c301a3d2a | --- ios/Podfile.lock
@@ -569,7 +569,7 @@ PODS:
- React-Core
- react-native-pdf (6.2.2):
- React-Core
- - react-native-ptt-module (1.1.62):
+ - react-native-ptt-module (1.1.63):
- PTT (= 0.4.7)
- React
- react-native-safe-area-context (3.1.8):
@@ -990,7 +990,7 @@ SPEC CHECKSUMS:
react-native-logger: 7b829af1706f15d4aec9c4354a1fe054305b51b9
react-native-netinfo: e36c1bb6df27ab84aa933679b3f5bbf9d180b18f
react-native-pdf: 4b5a9e4465a6a3b399e91dc4838eb44ddf716d1f
- react-native-ptt-module: a43a548cd22c6759900f931fcee752792b12608c
+ react-native-ptt-module: 05c253b0dec79f5c5ef81bd486a9e0c766006285
react-native-safe-area-context: 01158a92c300895d79dee447e980672dc3fb85a6
react-native-splash-screen: 200d11d188e2e78cea3ad319964f6142b6384865
react-native-sumo-sdk: 8a034fe724417d8c9465951630e229edef2f738f
--- package-lock.json
@@ -1211,14 +1211,6 @@
"chalk": "^3.0.0"
}
},
- "@react-native-async-storage/async-storage": {
- "version": "1.13.2",
- "resolved": "https://npme.walmart.com/@react-native-async-storage/async-storage/-/async-storage-1.13.2.tgz",
- "integrity": "sha512-isTDvUApRJPVWFxV15yrQSOGqarX7cIedq/y4N5yWSnotf68D9qvDEv1I7rCXhkBDi0u4OJt6GA9dksUT0D3wg==",
- "requires": {
- "deep-assign": "^3.0.0"
- }
- },
"@react-native-community/art": {
"version": "1.2.0",
"resolved": "https://npme.walmart.com/@react-native-community/art/-/art-1.2.0.tgz",
@@ -2003,9 +1995,9 @@
}
},
"@walmart/push-to-talk-mini-app": {
- "version": "0.0.62",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.0.62.tgz",
- "integrity": "sha512-tERFn+4tbA1q8hFZna9VRW8vsjsxIrOXCIJ96K4UMgb+jYtLGHYxVCKTJcpo/JevSY8TfozolEEI9j5gCAfdUA=="
+ "version": "0.0.63",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.0.63.tgz",
+ "integrity": "sha512-slmSuiUau17hYZk9fvDqmdTOLQE+aHlHPlYpHCZWKH+Jwdd71VksZ6MTt4n9G6vwSHOemrWcrVRoGRCgjEruug=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
@@ -9408,9 +9400,9 @@
"integrity": "sha512-PO99dptMocEfUSS3SM7gY6UqophaBxizKjnZ7FcEwa+H4ONVxTk310/JCXJ9vdNunomgpxHluKRXnApfm9Md1w=="
},
"react-native-ptt-module": {
- "version": "1.1.62",
- "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.1.62.tgz",
- "integrity": "sha512-hy/0dRWOLUyaPsdkTTENnf9notvNPegZF/u0+Y6trdJO5/XWbOOS+7Qxj9Z6ztAl6HoDmG8my/w0v1Mp18ngyA=="
+ "version": "1.1.63",
+ "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.1.63.tgz",
+ "integrity": "sha512-ZINR5L9V7z+ieWIq2T7beqx5geeYG9O3gzpiRxSTcg8OfU4jF1z7IPS9Gcx+zmVlfdckgg6jsM9Z48u5C0i0Nw=="
},
"react-native-qrcode-svg": {
"version": "6.0.6",
--- package.json
@@ -55,7 +55,7 @@
"@walmart/gtp-shared-components": "^0.2.2",
"@walmart/inbox-mini-app": "0.0.24",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/push-to-talk-mini-app": "0.0.62",
+ "@walmart/push-to-talk-mini-app": "0.0.63",
"@walmart/react-native-env": "^0.1.0",
"@walmart/react-native-logger": "^1.17.0",
"@walmart/react-native-shared-navigation": "^0.2.0",
@@ -81,7 +81,7 @@
"react-native-modal": "^11.5.6",
"react-native-pdf": "^6.2.0",
"react-native-popup-menu": "^0.15.9",
- "react-native-ptt-module": "1.1.62",
+ "react-native-ptt-module": "1.1.63",
"react-native-qrcode-svg": "^6.0.6",
"react-native-reanimated": "^1.10.2",
"react-native-safe-area-context": "^3.1.3",
@@ -114,8 +114,7 @@
"rn-fetch-blob": "^0.12.0",
"seamless-immutable": "^7.1.4",
"semver": "^7.3.4",
- "victory-native": "^35.0.1",
- "@react-native-async-storage/async-storage": "^1.13.2"
+ "victory-native": "^35.0.1"
},
"devDependencies": {
"@babel/core": "^7.8.4",
| PTT version update (#227) | PTT version update (#227)
* PTT fix
* missing PTT dependency
* updating PTT version
Co-authored-by: Anthony Helms - awhelms <awhelms@wal-mart.com> |
1627dee46e7318c28f1b6a33b63836d59087b679 | --- targets/US/package.json
@@ -141,7 +141,7 @@
"@walmart/redux-store": "~6.3.28",
"@walmart/returns-mini-app": "4.15.0",
"@walmart/rfid-scan-mini-app": "2.7.1",
- "@walmart/rn-receiving-mini-app": "2.4.76",
+ "@walmart/rn-receiving-mini-app": "2.4.80",
"@walmart/roster-mini-app": "2.9.0",
"@walmart/schedule-mini-app": "1.13.0",
"@walmart/shelfavailability-mini-app": "1.5.41",
--- yarn.lock
@@ -7065,9 +7065,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/loadquality-mini-app@npm:1.0.198":
- version: 1.0.198
- resolution: "@walmart/loadquality-mini-app@npm:1.0.198"
+"@walmart/loadquality-mini-app@npm:1.0.219":
+ version: 1.0.219
+ resolution: "@walmart/loadquality-mini-app@npm:1.0.219::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Floadquality-mini-app%2F-%2Floadquality-mini-app-1.0.219.tgz"
dependencies:
"@walmart/atlas-rn-ui-components": "npm:1.1.35"
peerDependencies:
@@ -7083,7 +7083,7 @@ __metadata:
"@walmart/allspark-foundation": "*"
"@walmart/allspark-http-client": ">=6.1.4"
"@walmart/core-services": ">=2.0.11"
- "@walmart/gtp-shared-components": ">=2.2.4"
+ "@walmart/gtp-shared-components": 2.2.4
"@walmart/me-at-walmart-common": ">=6.1.4"
"@walmart/react-native-scanner-3.0": ">=0.6.8"
"@walmart/react-native-shared-navigation": ">=6.3.20"
@@ -7098,7 +7098,7 @@ __metadata:
react-native-svg: ">=14.0.0"
react-native-svg-transformer: ">=1.3.0"
react-native-vision-camera: "*"
- checksum: 10c0/ea88c09a0badd1c06947112f011360dffcf68a5cbff162921ad9829b01bb91e7390b116538f909c6a74fe9722b13ca027c4cf32b6c264e6c79f028d4a8209f66
+ checksum: 10c0/0faca0f40e2bf05d682029392543e900551ee543df67cf1158f4fc5e128205d12dc810fc2909cbc5fd98e656984a32b26b80a629c72184ce976c1b20198d1a27
languageName: node
linkType: hard
@@ -7478,7 +7478,7 @@ __metadata:
"@walmart/redux-store": "npm:~6.3.28"
"@walmart/returns-mini-app": "npm:4.15.0"
"@walmart/rfid-scan-mini-app": "npm:2.7.1"
- "@walmart/rn-receiving-mini-app": "npm:2.4.76"
+ "@walmart/rn-receiving-mini-app": "npm:2.4.80"
"@walmart/roster-mini-app": "npm:2.9.0"
"@walmart/schedule-mini-app": "npm:1.13.0"
"@walmart/shelfavailability-mini-app": "npm:1.5.41"
@@ -8198,12 +8198,12 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/rn-receiving-mini-app@npm:2.4.76":
- version: 2.4.76
- resolution: "@walmart/rn-receiving-mini-app@npm:2.4.76"
+"@walmart/rn-receiving-mini-app@npm:2.4.80":
+ version: 2.4.80
+ resolution: "@walmart/rn-receiving-mini-app@npm:2.4.80::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Frn-receiving-mini-app%2F-%2F%40walmart%2Frn-receiving-mini-app-2.4.80.tgz"
dependencies:
"@walmart/atlas-rn-ui-components": "npm:1.1.53"
- "@walmart/loadquality-mini-app": "npm:1.0.198"
+ "@walmart/loadquality-mini-app": "npm:1.0.219"
peerDependencies:
"@react-native-clipboard/clipboard": ">=1.14.0"
"@react-native/metro-config": ">=0.73.0"
@@ -8229,7 +8229,7 @@ __metadata:
react-native-svg: ">=14.1.0"
react-native-svg-transformer: ">=1.3.0"
react-native-vision-camera: "*"
- checksum: 10c0/7a95693ffd64e02b87cbc47cd3538d845fbf5c945f8bce4274304691b3980e187a8c68b8d1dda87d4d54597478f9444b350420eb5ca2957b28c9c83887cfbce1
+ checksum: 10c0/1ee817b2373c469cec3320a4069137f8f1daaa488a4b2c75d1b2aa84f3a644db9eefd02ec04e6a5c8ebd2976c022028ddb3d0bac9b0832bc7b9f27cd33af4239
languageName: node
linkType: hard
| Receivig version update - LQ bug fixes | Receivig version update - LQ bug fixes
|
342ec0c822afcb1772de2b9634b29dfef4b03973 | --- yarn.lock
@@ -4837,7 +4837,7 @@ __metadata:
languageName: node
linkType: hard
-"@reduxjs/toolkit@npm:1.9.7":
+"@reduxjs/toolkit@npm:^1.9.7":
version: 1.9.7
resolution: "@reduxjs/toolkit@npm:1.9.7"
dependencies:
@@ -5966,26 +5966,6 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation-hub@npm:1.2.5":
- version: 1.2.5
- resolution: "@walmart/allspark-foundation-hub@npm:1.2.5"
- dependencies:
- "@reduxjs/toolkit": "npm:^1.9.7"
- lodash: "npm:~4.17.21"
- react-redux: "npm:^8.1.3"
- peerDependencies:
- "@react-navigation/native": 6.x
- "@walmart/allspark-foundation": "workspace:^"
- "@walmart/allspark-utils": "workspace:^"
- "@walmart/gtp-shared-components": ">=2"
- "@walmart/me-at-walmart-athena-queries": "workspace:^"
- react: "*"
- react-native: "*"
- react-native-safe-area-context: 4.x
- checksum: 10c0/8d1bcb0270dbdfdd26c06a85640c0cea60da533f36ec7e8e8e258e0d35ffb1cb35509af22ae46f4e8406391deaaf23c7136d81b74e41b406140fb6e5b5f4d3bf
- languageName: node
- linkType: hard
-
"@walmart/allspark-foundation@npm:6.25.0":
version: 6.25.0
resolution: "@walmart/allspark-foundation@npm:6.25.0"
@@ -7282,7 +7262,6 @@ __metadata:
"@walmart/allspark-authentication": "npm:~6.4.1"
"@walmart/allspark-cope-key-listener": "npm:0.0.18"
"@walmart/allspark-foundation": "npm:6.25.0"
- "@walmart/allspark-foundation-hub": "npm:1.2.5"
"@walmart/allspark-graphql-client": "npm:~6.3.28"
"@walmart/allspark-http-client": "npm:~6.3.28"
"@walmart/allspark-neon-core": "npm:0.1.31"
| Update yarn lock | Update yarn lock
|
46c546fccaac98b282fa296b93a73901d7dabe75 | --- yarn.lock
@@ -6522,9 +6522,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/metrics-mini-app@npm:0.22.3":
- version: 0.22.3
- resolution: "@walmart/metrics-mini-app@npm:0.22.3"
+"@walmart/metrics-mini-app@npm:0.22.4":
+ version: 0.22.4
+ resolution: "@walmart/metrics-mini-app@npm:0.22.4"
dependencies:
base-64: "npm:^1.0.0"
peerDependencies:
@@ -6548,7 +6548,7 @@ __metadata:
react-native-get-random-values: ">=1.8.0"
react-redux: ">=8.0.4"
reduxsauce: ">=1.2.0"
- checksum: 10c0/353715f01a4a196abf15217598694aeaff34d74ec0a46a2e996046203ea8cb039ee27a86be8f888663559bde2f5b0d069cb3f4a620796b72fae38a6f6b24b399
+ checksum: 10c0/5fd974a5fb7dc1d58884223b41eb67d3951f3d4119ddaa0a22c04d181f2dd5b29004bdf6b5b31506020942b1c5c06c05b2a60804917b3eb6555f8c7f14c0da84
languageName: node
linkType: hard
@@ -7757,7 +7757,7 @@ __metadata:
"@walmart/me-at-walmart-athena-queries": "npm:6.1.4"
"@walmart/me-at-walmart-common": "npm:6.1.4"
"@walmart/me-at-walmart-container": "npm:6.1.4"
- "@walmart/metrics-mini-app": "npm:0.22.3"
+ "@walmart/metrics-mini-app": "npm:0.22.4"
"@walmart/mod-flex-mini-app": "npm:1.17.5"
"@walmart/moment-walmart": "npm:1.0.4"
"@walmart/money-auth-shared-components": "npm:0.1.4"
| metrics version bump | metrics version bump
|
18b31a715b3eddf4036983940e62351d4c05aeb0 | --- lerna.json
@@ -12,7 +12,7 @@
},
"version": {
"message": "chore(version): updating package version",
- "allowBranch": "feature/lernaV7",
+ "allowBranch": "develop",
"conventionalCommits": true,
"conventionalPrerelease": true
}
| chore: lerna config change | chore: lerna config change
|
cca14ff98fb61f48c6401bf22de0049ae9f76682 | --- package-lock.json
@@ -38,7 +38,7 @@
"@walmart/allspark-cope-key-listener": "0.0.15",
"@walmart/allspark-graphql-client": "^1.4.5",
"@walmart/allspark-neon-core": "0.1.31",
- "@walmart/amp-mini-app": "1.1.72",
+ "@walmart/amp-mini-app": "1.1.78",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.18.5",
"@walmart/attendance-mini-app": "3.10.0",
@@ -8397,10 +8397,13 @@
}
},
"node_modules/@walmart/amp-mini-app": {
- "version": "1.1.72",
- "resolved": "https://npme.walmart.com/@walmart/amp-mini-app/-/amp-mini-app-1.1.72.tgz",
- "integrity": "sha512-uMPvYGMHz0IivWMxLcfWH/uvZh8BvenUJwftLhTkdMd5Suv3WZTxSFla2jy1RQ3ws2F0e73PMoFZopAxSeYqXQ==",
+ "version": "1.1.78",
+ "resolved": "https://npme.walmart.com/@walmart/amp-mini-app/-/amp-mini-app-1.1.78.tgz",
+ "integrity": "sha512-ebWi6Em4SsFfacSdEZN7ZHTMOfNL12Fh5w2Aw8ATvOMHuYNKfxc0vCOyC9qLM/GBmgZmbvhSk8v/Azqf4EL8WA==",
"hasInstallScript": true,
+ "dependencies": {
+ "deprecated-react-native-prop-types": "^5.0.0"
+ },
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
"@react-navigation/stack": "^6.1.0",
@@ -8412,6 +8415,26 @@
"react-native-drop-shadow": "^1.0.0"
}
},
+ "node_modules/@walmart/amp-mini-app/node_modules/@react-native/normalize-colors": {
+ "version": "0.73.2",
+ "resolved": "https://npme.walmart.com/@react-native/normalize-colors/-/normalize-colors-0.73.2.tgz",
+ "integrity": "sha512-bRBcb2T+I88aG74LMVHaKms2p/T8aQd8+BZ7LuuzXlRfog1bMWWn/C5i0HVuvW4RPtXQYgIlGiXVDy9Ir1So/w==",
+ "license": "MIT"
+ },
+ "node_modules/@walmart/amp-mini-app/node_modules/deprecated-react-native-prop-types": {
+ "version": "5.0.0",
+ "resolved": "https://npme.walmart.com/deprecated-react-native-prop-types/-/deprecated-react-native-prop-types-5.0.0.tgz",
+ "integrity": "sha512-cIK8KYiiGVOFsKdPMmm1L3tA/Gl+JopXL6F5+C7x39MyPsQYnP57Im/D6bNUzcborD7fcMwiwZqcBdBXXZucYQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@react-native/normalize-colors": "^0.73.0",
+ "invariant": "^2.2.4",
+ "prop-types": "^15.8.1"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
"node_modules/@walmart/ask-sam-chat-components": {
"version": "0.2.13",
"license": "ISC",
@@ -33186,9 +33209,29 @@
}
},
"@walmart/amp-mini-app": {
- "version": "1.1.72",
- "resolved": "https://npme.walmart.com/@walmart/amp-mini-app/-/amp-mini-app-1.1.72.tgz",
- "integrity": "sha512-uMPvYGMHz0IivWMxLcfWH/uvZh8BvenUJwftLhTkdMd5Suv3WZTxSFla2jy1RQ3ws2F0e73PMoFZopAxSeYqXQ=="
+ "version": "1.1.78",
+ "resolved": "https://npme.walmart.com/@walmart/amp-mini-app/-/amp-mini-app-1.1.78.tgz",
+ "integrity": "sha512-ebWi6Em4SsFfacSdEZN7ZHTMOfNL12Fh5w2Aw8ATvOMHuYNKfxc0vCOyC9qLM/GBmgZmbvhSk8v/Azqf4EL8WA==",
+ "requires": {
+ "deprecated-react-native-prop-types": "^5.0.0"
+ },
+ "dependencies": {
+ "@react-native/normalize-colors": {
+ "version": "0.73.2",
+ "resolved": "https://npme.walmart.com/@react-native/normalize-colors/-/normalize-colors-0.73.2.tgz",
+ "integrity": "sha512-bRBcb2T+I88aG74LMVHaKms2p/T8aQd8+BZ7LuuzXlRfog1bMWWn/C5i0HVuvW4RPtXQYgIlGiXVDy9Ir1So/w=="
+ },
+ "deprecated-react-native-prop-types": {
+ "version": "5.0.0",
+ "resolved": "https://npme.walmart.com/deprecated-react-native-prop-types/-/deprecated-react-native-prop-types-5.0.0.tgz",
+ "integrity": "sha512-cIK8KYiiGVOFsKdPMmm1L3tA/Gl+JopXL6F5+C7x39MyPsQYnP57Im/D6bNUzcborD7fcMwiwZqcBdBXXZucYQ==",
+ "requires": {
+ "@react-native/normalize-colors": "^0.73.0",
+ "invariant": "^2.2.4",
+ "prop-types": "^15.8.1"
+ }
+ }
+ }
},
"@walmart/ask-sam-chat-components": {
"version": "0.2.13",
--- package.json
@@ -79,7 +79,7 @@
"@walmart/allspark-cope-key-listener": "0.0.15",
"@walmart/allspark-graphql-client": "^1.4.5",
"@walmart/allspark-neon-core": "0.1.31",
- "@walmart/amp-mini-app": "1.1.72",
+ "@walmart/amp-mini-app": "1.1.78",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.18.5",
"@walmart/attendance-mini-app": "3.10.0",
| AMP version for Drop 19 | AMP version for Drop 19
|
28b9e0f8fe603ed3a3e1c6d708bfd0e595edd0c7 | --- targets/US/package.json
@@ -142,7 +142,7 @@
"@walmart/roster-mini-app": "2.4.0",
"@walmart/schedule-mini-app": "0.114.2",
"@walmart/shelfavailability-mini-app": "1.5.26",
- "@walmart/shop-gnfr-mini-app": "1.0.99",
+ "@walmart/shop-gnfr-mini-app": "1.0.111",
"@walmart/store-feature-orders": "1.26.9",
"@walmart/taskit-mini-app": "patch:@walmart/taskit-mini-app@npm%3A3.0.2#~/.yarn/patches/@walmart-taskit-mini-app-npm-3.0.2-4cbd5b8e6d.patch",
"@walmart/time-clock-mini-app": "2.395.0",
--- yarn.lock
@@ -6749,7 +6749,7 @@ __metadata:
"@walmart/roster-mini-app": "npm:2.4.0"
"@walmart/schedule-mini-app": "npm:0.114.2"
"@walmart/shelfavailability-mini-app": "npm:1.5.26"
- "@walmart/shop-gnfr-mini-app": "npm:1.0.99"
+ "@walmart/shop-gnfr-mini-app": "npm:1.0.111"
"@walmart/store-feature-orders": "npm:1.26.9"
"@walmart/taskit-mini-app": "patch:@walmart/taskit-mini-app@npm%3A3.0.2#~/.yarn/patches/@walmart-taskit-mini-app-npm-3.0.2-4cbd5b8e6d.patch"
"@walmart/time-clock-mini-app": "npm:2.395.0"
@@ -7590,9 +7590,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/shop-gnfr-mini-app@npm:1.0.99":
- version: 1.0.99
- resolution: "@walmart/shop-gnfr-mini-app@npm:1.0.99"
+"@walmart/shop-gnfr-mini-app@npm:1.0.111":
+ version: 1.0.111
+ resolution: "@walmart/shop-gnfr-mini-app@npm:1.0.111"
dependencies:
"@testing-library/react-native": "npm:^12.5.1"
react-native-drop-shadow: "npm:^1.0.0"
@@ -7606,7 +7606,7 @@ __metadata:
"@walmart/gtp-shared-components": ^2.0.0
react: ^18.2.0
react-native: ~0.70.5
- checksum: 10c0/33a1fcafc43b3491c724786d8c8fd5a5e253287d53c603af73a29f3013155753f67ff869cf1dd5827056245b5a6530aa6b55147c5283e85ae235af52b7689385
+ checksum: 10c0/dec3de1754e00a873b0dc24e513d6f9ca9388677bf7c1f2cc69af72a40a40be840899b8191aea43bcb11b3d9d0939695ca508c6c7e43c5214356d81bfd107761
languageName: node
linkType: hard
| version 1.0.111 | version 1.0.111
|
4741730e4f64f50c02737f3750a700f4d1f2b1ac | --- packages/allspark-foundation/__tests__/User/sagas.test.ts
@@ -0,0 +1,43 @@
+import { select, take } from 'redux-saga/effects';
+import { UserActionTypes, UserActionCreators } from '../../src/User/redux';
+import { UserSelectors } from '../../src/User/selectors';
+import { onFetch, onImpersonate, waitForUserFetch } from '../../src/User/sagas';
+
+
+describe('User Sagas', () => {
+ afterEach(() => {
+ jest.clearAllMocks();
+ });
+
+ it('should handle onFetch saga correctly', () => {
+ const generator = onFetch(UserActionCreators.FETCH('token'));
+ expect(generator.next().value).toEqual(undefined);
+ expect(generator.next().done).toBe(true);
+ });
+
+ it('should handle onImpersonate saga correctly', () => {
+ const generator = onImpersonate(UserActionCreators.IMPERSONATE('Test'));
+ expect(generator.next().value).toEqual(undefined);
+ expect(generator.next().done).toBe(true);
+ });
+
+ it('should handle waitForUserFetch saga immediately if already fetched', () => {
+ const generator = waitForUserFetch();
+ expect(generator.next().value).toEqual(select(UserSelectors.getLoading));
+ expect(generator.next(true).value).toEqual(select(UserSelectors.getLoaded));
+ expect(generator.next(false).value).toEqual(select(UserSelectors.getError));
+ expect(generator.next(false).value).toEqual(take([UserActionTypes.FETCH_SUCCESS, UserActionTypes.FETCH_ERROR]));
+ expect(generator.next({ type: UserActionTypes.FETCH_SUCCESS }).value).toEqual(select(UserSelectors.getData));
+ expect(generator.next().done).toBe(true);
+ expect(generator.next().value).toEqual(undefined);
+ });
+
+ it('waitForUserFetch should return data immediately if not loading, data is loaded, and no error', () => {
+ const generator = waitForUserFetch();
+ expect(generator.next().value).toEqual(select(UserSelectors.getLoading));
+ expect(generator.next(false).value).toEqual(select(UserSelectors.getLoaded));
+ expect(generator.next(true).value).toEqual(select(UserSelectors.getError));
+ expect(generator.next(false).done).toBe(false);
+ expect(generator.next().value).toEqual(undefined);
+ });
+});
| added unit user sagas | added unit user sagas
|
71a7c242b8763b1e9a89d69cfa67ec66245e9ff3 | --- 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": "0.2.11",
- "@walmart/receipt-check-miniapp": "1.22.11",
+ "@walmart/receipt-check-miniapp": "1.23.2",
"@walmart/redux-store": "6.1.4",
"@walmart/returns-mini-app": "4.6.0",
"@walmart/rfid-scan-mini-app": "2.3.16",
--- yarn.lock
@@ -6922,9 +6922,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/receipt-check-miniapp@npm:1.22.11":
- version: 1.22.11
- resolution: "@walmart/receipt-check-miniapp@npm:1.22.11"
+"@walmart/receipt-check-miniapp@npm:1.23.2":
+ version: 1.23.2
+ resolution: "@walmart/receipt-check-miniapp@npm:1.23.2"
dependencies:
"@walmart/tcnumber": "npm:^2.3.3"
"@xstate/react": "npm:^3.0.1"
@@ -6934,12 +6934,8 @@ __metadata:
uuid: "npm:^3.3.2"
xstate: "npm:^4.32.1"
peerDependencies:
- "@walmart/core-services": ^1.4.11
- "@walmart/redux-store": ^2.0.4
- react-native-device-info: ^10.3.0
- react-redux: ^7.2.1
- redux: ^4.1.2
- checksum: 10c0/b43ba9607f9a3991d6371565af5f5382c5e8134bfcf82fc3434ea49d31a584c5540b66ba5ea81a52588a33d48b1d2d1bac1349992bc94e9ff0fa23952a481aec
+ "@walmart/allspark-foundation": "*"
+ checksum: 10c0/15d762951e9cbc6a1d535235f367e36d18b6684613a674112b4e7aaf56dfdc2fdb8b2a65824900b3bac0729a79b436386f44bc9a7a046b177de89d50eb94b84e
languageName: node
linkType: hard
@@ -7851,7 +7847,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": "npm:0.2.11"
- "@walmart/receipt-check-miniapp": "npm:1.22.11"
+ "@walmart/receipt-check-miniapp": "npm:1.23.2"
"@walmart/redux-store": "npm:6.1.4"
"@walmart/returns-mini-app": "npm:4.6.0"
"@walmart/rfid-scan-mini-app": "npm:2.3.16"
| update | update
|
4daee6c630aa947f34d3c9c401546e1f30624d38 | --- __tests__/__mocks__/@walmart/redux-store.js
@@ -22,6 +22,7 @@ module.exports = {
storeConfigError: jest.fn(),
},
ssoActions: {
+ signInSuccess: jest.fn(),
signOutSuccess: jest.fn(),
signInProgress: jest.fn(),
startImpersonation: jest.fn(),
--- __tests__/startup/StartupSagaTest.ts
@@ -125,6 +125,7 @@ describe('captureMissedMiniAppEvents', () => {
};
const networkType = 'Internal';
const loadMiniAppsAction = {type: 'LOAD_MINI_APPS'};
+ const user = {};
const iterator = captureMissedMiniAppEvents();
expect(iterator.next().value).toEqual(
@@ -136,10 +137,11 @@ describe('captureMissedMiniAppEvents', () => {
expect(iterator.next(loadMiniAppsAction).value).toEqual(
select(WMNetworkSelectors.getNetworkType),
);
- expect(iterator.next(networkType).value).toEqual(
+ expect(iterator.next(networkType).value).toEqual(select(getUser));
+ expect(iterator.next(user).value).toEqual(
all([
put({type: WMNetworkReducerTypes.UPDATE_NETWORK_TYPE, networkType}),
- put(signInAction),
+ call(ssoActions.signInSuccess, user),
]),
);
expect(iterator.next().done).toEqual(true);
--- src/startup/StartupSaga.ts
@@ -52,17 +52,19 @@ import {StartupTypes} from './StartupRedux';
export function* captureMissedMiniAppEvents(): any {
// Capture early actions mini apps need.
- const signInAction = yield take([SIGN_IN_SUCCESS, START_IMPERSONATION]);
+ yield take([SIGN_IN_SUCCESS, START_IMPERSONATION]);
// Wait for mini app load
yield take(StartupTypes.LOAD_MINI_APPS);
const networkType = yield select(WMNetworkSelectors.getNetworkType);
+ const latestUser: User = yield select(getUser);
+
// Dispatch missed actions / emit missed events
yield all([
put({type: WMNetworkReducerTypes.UPDATE_NETWORK_TYPE, networkType}),
- put(signInAction),
+ call(ssoActions.signInSuccess, latestUser),
]);
}
| replay sign in success with current user | replay sign in success with current user
|
fe6706a82bc676226ec53a24232b9e647dfd5cee | --- targets/US/android/app/src/main/res/raw/vizpick_pop.mp3
Binary files /dev/null and b/targets/US/android/app/src/main/res/raw/vizpick_pop.mp3 differ
--- targets/US/ios/AllSpark.xcodeproj/project.pbxproj
@@ -35,6 +35,7 @@
6DA4A04F2B31FF560029B319 /* call_1_1_ringback.wav in Resources */ = {isa = PBXBuildFile; fileRef = 6DA4A0492B31FF560029B319 /* call_1_1_ringback.wav */; };
6DA4A0502B31FF560029B319 /* call_1_1_ringtone.wav in Resources */ = {isa = PBXBuildFile; fileRef = 6DA4A04A2B31FF560029B319 /* call_1_1_ringtone.wav */; };
6DA4A0512B31FF560029B319 /* CallWaiting.wav in Resources */ = {isa = PBXBuildFile; fileRef = 6DA4A04B2B31FF560029B319 /* CallWaiting.wav */; };
+ 7B77B52E2CD989F500074945 /* vizpick_pop.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = 7B77B52D2CD989F500074945 /* vizpick_pop.mp3 */; };
8063AF072BF52A9B00C02185 /* version.txt in Resources */ = {isa = PBXBuildFile; fileRef = 8063AF062BF52A9B00C02185 /* version.txt */; };
8081353125433D1300844649 /* PTMono-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 8081353025433D1300844649 /* PTMono-Regular.ttf */; };
9D01483725F17B3100A8E049 /* LaunchScreen-Prod.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9D01483625F17B3000A8E049 /* LaunchScreen-Prod.storyboard */; };
@@ -79,6 +80,7 @@
6DA4A04A2B31FF560029B319 /* call_1_1_ringtone.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; path = call_1_1_ringtone.wav; sourceTree = "<group>"; };
6DA4A04B2B31FF560029B319 /* CallWaiting.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; path = CallWaiting.wav; sourceTree = "<group>"; };
791B25E6CC3E142AC5BD129C /* Pods-AllSpark.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AllSpark.release.xcconfig"; path = "Target Support Files/Pods-AllSpark/Pods-AllSpark.release.xcconfig"; sourceTree = "<group>"; };
+ 7B77B52D2CD989F500074945 /* vizpick_pop.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = vizpick_pop.mp3; sourceTree = "<group>"; };
7E03751FFBC04D1E977A672C /* icomoon.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = icomoon.ttf; path = "../node_modules/@walmart/ui-components/assets/fonts/icomoon.ttf"; sourceTree = "<group>"; };
8063AF062BF52A9B00C02185 /* version.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = version.txt; path = "../../../node_modules/@walmart/gtp-shared-components/assets/fonts/version.txt"; sourceTree = "<group>"; };
8081353025433D1300844649 /* PTMono-Regular.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "PTMono-Regular.ttf"; sourceTree = "<group>"; };
@@ -230,6 +232,7 @@
83CBB9F61A601CBA00E9B192 = {
isa = PBXGroup;
children = (
+ 7B77B52D2CD989F500074945 /* vizpick_pop.mp3 */,
8063AF062BF52A9B00C02185 /* version.txt */,
252A4F092BDC5618006404A5 /* PrivacyInfo.xcprivacy */,
31C9750625D6BD2F00044347 /* icomoon.ttf */,
@@ -377,6 +380,7 @@
31E17248255A601A0039C18F /* Bogle-LightItalic.otf in Resources */,
31E17249255A601A0039C18F /* Bogle-Medium.otf in Resources */,
31E17243255A601A0039C18F /* Bogle-Black.otf in Resources */,
+ 7B77B52E2CD989F500074945 /* vizpick_pop.mp3 in Resources */,
31E17244255A601A0039C18F /* Bogle-BlackItalic.otf in Resources */,
6DA4A04C2B31FF560029B319 /* FastBusy.mp3 in Resources */,
E9AD4B182679309900D8DDD4 /* clockin.mp3 in Resources */,
--- targets/US/ios/vizpick_pop.mp3
Binary files /dev/null and b/targets/US/ios/vizpick_pop.mp3 differ
| Add VizPick pop sound to assets | Add VizPick pop sound to assets
|
3601296d01377a087d1f36e5cdb17d0dafb9cb96 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "3.0.2-alpha.11",
+ "version": "3.6.0-beta.1",
"main": "dist/index.js",
"files": [
"dist",
@@ -91,7 +91,7 @@
"@walmart/react-native-logger": "1.35.0",
"@walmart/react-native-scanner-3.0": "0.10.4",
"@walmart/react-native-sumo-sdk": "2.8.0",
- "@walmart/roster-mini-app": "3.2.0-alpha.10",
+ "@walmart/roster-mini-app": "3.8.0-beta.2",
"@walmart/ui-components": "1.15.1",
"@walmart/wmconnect-mini-app": "3.2.0-alpha.5",
"babel-jest": "^29.6.3",
--- yarn.lock
@@ -7017,7 +7017,7 @@ __metadata:
"@walmart/react-native-logger": "npm:1.35.0"
"@walmart/react-native-scanner-3.0": "npm:0.10.4"
"@walmart/react-native-sumo-sdk": "npm:2.8.0"
- "@walmart/roster-mini-app": "npm:3.2.0-alpha.10"
+ "@walmart/roster-mini-app": "npm:3.8.0-beta.2"
"@walmart/ui-components": "npm:1.15.1"
"@walmart/wmconnect-mini-app": "npm:3.2.0-alpha.5"
babel-jest: "npm:^29.6.3"
@@ -7125,9 +7125,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:3.2.0-alpha.10":
- version: 3.2.0-alpha.10
- resolution: "@walmart/roster-mini-app@npm:3.2.0-alpha.10::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2F%40walmart%2Froster-mini-app-3.2.0-alpha.10.tgz"
+"@walmart/roster-mini-app@npm:3.8.0-beta.2":
+ version: 3.8.0-beta.2
+ resolution: "@walmart/roster-mini-app@npm:3.8.0-beta.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2F%40walmart%2Froster-mini-app-3.8.0-beta.2.tgz"
dependencies:
expo: "npm:~52.0.46"
react: "npm:18.3.1"
@@ -7142,7 +7142,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/0ee963346295a8bf58b1ae9bfd8f18aed40ca7e8ff7ac6f26d0239067f6c09aec1d2d18dac20bf41d535a189f987a9215ea07ddace3ac9fd98acc8bb1b127598
+ checksum: 10c0/048e975747d22baa91bacc35ce6d0fe018e27e17dee684c9bc0041a803c732192736fb6e5656286fc1d4d2487287253acc91127187977929819eb59b5036e612
languageName: node
linkType: hard
| feat(ui): update package versions | feat(ui): update package versions
|
bfcd8786d20051769e73377abb141530c1e2140b | --- .looper.yml
@@ -1,5 +1,3 @@
-inherit: 'job:///metropolis/metroloop/metroloop-parent'
-
tools:
nodejs: 20.10.0
npm: 10.9.2
@@ -7,14 +5,16 @@ tools:
flavor: azul
version: 17
+updateTaskStatusOnGit: true
+
envs:
- global:
- variables:
- ALLOW_NPM_PUSH_TO_AF: true
+ global:
+ variables:
+ ALLOW_NPM_PUSH_TO_AF: true
branches:
- spec: feature/*
- triggers:
+ triggers:
- manual:
name: Canary Release
call: canaryRelease
@@ -23,8 +23,8 @@ branches:
- push:
call: publishFromChanges
skipAuthor:
- - jenkinspan
- - svc-looper
+ - jenkinspan
+ - svc-looper
- manual:
name: Publish Changed
call: publishFromChanges
@@ -39,8 +39,8 @@ branches:
- push:
call: publishFromChanges
skipAuthor:
- - jenkinspan
- - svc-looper
+ - jenkinspan
+ - svc-looper
- manual:
name: Publish Changed
call: publishFromChanges
@@ -81,24 +81,24 @@ flows:
- call: testPackages
- call: coverage
- branch:
+ branch:
- call: installDependencies
- (name Lint) npm run lint
- call: testPackages
- call: coverage
- call: sonar-branch
-
+
push:
- call: publishFromChanges
canaryRelease:
- call: preparePublish
- (name Publish Canary) HUSKY=0 npx lerna publish --canary preminor --preid beta --registry ${REPOSOLNS_NPM_REPO} --yes
-
+
publishFromChanges:
- call: preparePublish
- (name Publish From Changes) HUSKY=0 npx lerna publish --registry ${REPOSOLNS_NPM_REPO} --yes
-
+
publishAll:
- call: preparePublish
- (name Publish All) HUSKY=0 npx lerna publish --registry ${REPOSOLNS_NPM_REPO} --yes --force-publish
@@ -107,5 +107,5 @@ flows:
- call: preparePublish
- (name Publish from Package) HUSKY=0 npx lerna publish from-package --registry ${REPOSOLNS_NPM_REPO} --yes
- sonar-branch:
+ sonar-branch:
- sonar("Sonar"): sonar-scanner -X -Dproject.settings=sonar-project.properties
--- package.json
@@ -16,6 +16,7 @@
"postinstall": "yarn build",
"prepublishOnly": "yarn build",
"verifyBranchName": "bash ./scripts/verifyBranchName.sh",
+ "prettier": "prettier",
"build": "yarn run clean && yarn workspaces foreach --all --topological-dev run build",
"clean": "yarn workspaces foreach --all --topological-dev run clean",
"check-expo-libs": "yarn workspace @walmart/associate-exp-hub-container check-expo-libs",
@@ -41,6 +42,7 @@
"jest": "^29.6.3",
"lerna": "^7.0.0",
"patch-package": "^6.5.0",
+ "prettier": "^3.6.2",
"typescript": "~5.3.3"
},
"resolutions": {
| fix: add prettier script to package.json | fix: add prettier script to package.json
|
7fd15eab5c1e6e0fdaab21677c6f2887db2554a2 | --- __tests__/screens/RosterScreen/AssociateList.test.tsx
@@ -14,6 +14,7 @@ jest.mock('chance');
describe('AssociateListItem', () => {
const mockObject = {
win: '123456789',
+ site: '100',
};
const winSpy = jest
@@ -28,7 +29,7 @@ describe('AssociateListItem', () => {
<AssociateListItem associate={mockAssociate} />,
) as RenderAPI;
expect(winSpy).toHaveBeenCalledWith('123456789');
- expect(clockedInSpy).toHaveBeenCalledWith(mockAssociate);
+ expect(clockedInSpy).toHaveBeenCalledWith(mockAssociate, mockObject.site);
expect(element.toJSON()).toMatchSnapshot();
});
--- __tests__/screens/RosterScreen/__snapshots__/AssociateList.test.tsx.snap
@@ -96,8 +96,8 @@ exports[`AssociateListItem should render AssociateListItem 1`] = `
"width": 8,
},
{
- "backgroundColor": "#6dd400",
- "borderColor": "#2a8703",
+ "backgroundColor": "#fff",
+ "borderColor": "#5d5e63",
},
]
}
@@ -248,8 +248,8 @@ exports[`AssociateListItem should render List item with round corners 1`] = `
"width": 8,
},
{
- "backgroundColor": "#6dd400",
- "borderColor": "#2a8703",
+ "backgroundColor": "#fff",
+ "borderColor": "#5d5e63",
},
]
}
@@ -348,7 +348,21 @@ exports[`AssociateListItem should render List item with round corners 1`] = `
}
}
testID="ListItem-trailing"
- />
+ >
+ <Tag
+ UNSAFE_style={
+ {
+ "alignSelf": "flex-end",
+ "marginBottom": 8,
+ }
+ }
+ color="blue"
+ testID="statusChip"
+ variant="tertiary"
+ >
+ Not scheduled
+ </Tag>
+ </View>
</View>
</View>
</View>
@@ -450,8 +464,8 @@ exports[`AssociateListItem should render StatusChip if show chip prop is defined
"width": 8,
},
{
- "backgroundColor": "#6dd400",
- "borderColor": "#2a8703",
+ "backgroundColor": "#fff",
+ "borderColor": "#5d5e63",
},
]
}
@@ -569,7 +583,21 @@ exports[`AssociateListItem should render StatusChip if show chip prop is defined
}
}
testID="ListItem-trailing"
- />
+ >
+ <Tag
+ UNSAFE_style={
+ {
+ "alignSelf": "flex-end",
+ "marginBottom": 8,
+ }
+ }
+ color="blue"
+ testID="statusChip"
+ variant="tertiary"
+ >
+ Not scheduled
+ </Tag>
+ </View>
</View>
</View>
</View>
@@ -893,8 +921,8 @@ exports[`AssociateListItem should render action buttons if prop is defined 1`] =
"width": 8,
},
{
- "backgroundColor": "#6dd400",
- "borderColor": "#2a8703",
+ "backgroundColor": "#fff",
+ "borderColor": "#5d5e63",
},
]
}
@@ -1166,8 +1194,8 @@ exports[`AssociateListItem should trigger goToIndividualSchedule on status onPre
"width": 8,
},
{
- "backgroundColor": "#6dd400",
- "borderColor": "#2a8703",
+ "backgroundColor": "#fff",
+ "borderColor": "#5d5e63",
},
]
}
@@ -1266,7 +1294,21 @@ exports[`AssociateListItem should trigger goToIndividualSchedule on status onPre
}
}
testID="ListItem-trailing"
- />
+ >
+ <Tag
+ UNSAFE_style={
+ {
+ "alignSelf": "flex-end",
+ "marginBottom": 8,
+ }
+ }
+ color="blue"
+ testID="statusChip"
+ variant="tertiary"
+ >
+ Not scheduled
+ </Tag>
+ </View>
</View>
</View>
</View>
| Update clock in logic | Update clock in logic
|
a103c0663ff415f8f7469a2e5794e4bf5a3a3895 | --- targets/US/package.json
@@ -150,7 +150,7 @@
"@walmart/store-feature-orders": "1.27.9",
"@walmart/taskit-mini-app": "5.8.17",
"@walmart/time-clock-mini-app": "2.448.1",
- "@walmart/topstock-mini-app": "1.21.6",
+ "@walmart/topstock-mini-app": "1.21.10",
"@walmart/translator-mini-app": "1.4.2",
"@walmart/ui-components": "1.21.2",
"@walmart/walmart-fiscal-week": "^0.3.6",
--- yarn.lock
@@ -7437,7 +7437,7 @@ __metadata:
"@walmart/store-feature-orders": "npm:1.27.9"
"@walmart/taskit-mini-app": "npm:5.8.17"
"@walmart/time-clock-mini-app": "npm:2.448.1"
- "@walmart/topstock-mini-app": "npm:1.21.6"
+ "@walmart/topstock-mini-app": "npm:1.21.10"
"@walmart/translator-mini-app": "npm:1.4.2"
"@walmart/ui-components": "npm:1.21.2"
"@walmart/walmart-fiscal-week": "npm:^0.3.6"
@@ -8439,9 +8439,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/topstock-mini-app@npm:1.21.6":
- version: 1.21.6
- resolution: "@walmart/topstock-mini-app@npm:1.21.6"
+"@walmart/topstock-mini-app@npm:1.21.10":
+ version: 1.21.10
+ resolution: "@walmart/topstock-mini-app@npm:1.21.10::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftopstock-mini-app%2F-%2F%40walmart%2Ftopstock-mini-app-1.21.10.tgz"
peerDependencies:
"@react-navigation/native": ">=5.8.10"
"@react-navigation/stack": ">=5.12.8"
@@ -8454,7 +8454,7 @@ __metadata:
react-native-haptic-feedback: ">=1.13.0"
react-native-vector-icons: ">=6.6.0"
react-redux: ">=7.2.0"
- checksum: 10c0/14bd081f3bfe60e5b1e1130910a9bf4ec73fcd429775403542d8be1c4078741e4dd532899ace317d381546924f28480ca155fc2322f5bcea50b50df2b66f2fb4
+ checksum: 10c0/6f506f17ab476c928e487f5167d093b5106c1a7c6a2c40ee0c777849c19566de220bbadd05b2095c7d2cd6c99f277f1fc99de1bc87284ca65178292e1fec9d9a
languageName: node
linkType: hard
| updated topstock version | updated topstock version
|
b23ced1a293b5881ed9781b2e96847ad8c639a8a | --- package-lock.json
@@ -68,7 +68,7 @@
"@walmart/push-to-talk-mini-app": "1.8.15",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
- "@walmart/react-native-logger": "1.30.0",
+ "@walmart/react-native-logger": "1.31.0-rc.0",
"@walmart/react-native-scanner-3.0": "0.1.26",
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "0.3.7",
@@ -5618,9 +5618,9 @@
}
},
"node_modules/@walmart/react-native-logger": {
- "version": "1.30.0",
- "resolved": "https://npme.walmart.com/@walmart/react-native-logger/-/react-native-logger-1.30.0.tgz",
- "integrity": "sha512-rp06GzEda5jgKNeQbl1U2c8dHZqPeSwYK+XmqANfvx1tIA7celNWUf4mMIJY6olG026LFv0t0Ii/I3F7buAFEg==",
+ "version": "1.31.0-rc.0",
+ "resolved": "https://npme.walmart.com/@walmart/react-native-logger/-/react-native-logger-1.31.0-rc.0.tgz",
+ "integrity": "sha512-YFkjNJ94FEnmcLL6Q+9EaOgYZ/J6MmHS848/C557NJU5fzv4vAL3SX/IVjq7/0l8+6ubgBRWhNV0qXFDVwfDZQ==",
"peerDependencies": {
"react": "^16.8.1",
"react-native": ">=0.60.0-rc.0 <1.0.x"
@@ -24971,9 +24971,9 @@
"version": "0.2.0"
},
"@walmart/react-native-logger": {
- "version": "1.30.0",
- "resolved": "https://npme.walmart.com/@walmart/react-native-logger/-/react-native-logger-1.30.0.tgz",
- "integrity": "sha512-rp06GzEda5jgKNeQbl1U2c8dHZqPeSwYK+XmqANfvx1tIA7celNWUf4mMIJY6olG026LFv0t0Ii/I3F7buAFEg=="
+ "version": "1.31.0-rc.0",
+ "resolved": "https://npme.walmart.com/@walmart/react-native-logger/-/react-native-logger-1.31.0-rc.0.tgz",
+ "integrity": "sha512-YFkjNJ94FEnmcLL6Q+9EaOgYZ/J6MmHS848/C557NJU5fzv4vAL3SX/IVjq7/0l8+6ubgBRWhNV0qXFDVwfDZQ=="
},
"@walmart/react-native-scanner-3.0": {
"version": "0.1.26",
--- package.json
@@ -110,7 +110,7 @@
"@walmart/push-to-talk-mini-app": "1.8.15",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
- "@walmart/react-native-logger": "1.30.0",
+ "@walmart/react-native-logger": "1.31.0-rc.0",
"@walmart/react-native-scanner-3.0": "0.1.26",
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "0.3.7",
| chore: bump rn logger. | chore: bump rn logger.
|
2fa0552648c6d3a72f2cc43ccd07a1219935bba0 | --- docs/docs/components/hub framework/hub-intro.md
@@ -1,9 +1,9 @@
---
sidebar_position: 1
-title: Introduction
+title: Getting Started
---
-# Introduction
+# Getting Started
## Welcome to Me@ Hub Foundation Framework
@@ -32,9 +32,7 @@ That's it! The hub foundation framework takes care of the rest. In this introduc
### Prerequisites
The framework is primarily designed for me@ platform and is super opinionated in how processes and functionalities within a hub works. We don't recommend ever using any of the components within the hub framework outside me@ platform. With that said, let's discuss what are the prerequisites.
-* Nodejs: Should be same as allspark foundation requires.
-* npm: Same as required by allspark foundation.
-* Any dependencies ...
+* Ensure all the dependencies match from the allspark-core (https://gecgithub01.walmart.com/allspark/allspark-core)
### Installation
The hub framework is deployed as an npm package, install through yarn which is our recommeneded package manager or through npm.
@@ -49,7 +47,7 @@ npm install --save @walmart/allspark-foundation-hub
```
There are no dependencies required. The above are the only steps required to get going.
-### Setting up the hub as a gatekeeper
+### For Hub GateKeepers
Before diving into the setup process, it's essential to understand the underlying concepts that power our hub framework. Take some time to review the [Hub Concepts](./hub-concepts.md) documentation to ensure you have a solid grasp of the framework's capabilities.
@@ -59,40 +57,99 @@ As the hub gatekeeper – essentially the owner of the hub – it's your respons
**What Information Do I Need to Provide?**
-To create a new hub, you'll need to provide three essential pieces of information:
+To create a new hub, you'll need to provide four essential pieces of information:
1. **Well-formed hub name**: A unique and descriptive name for your hub. It is recommended to register and export this name from a common directory in allspark-core. This name will be used by widget providers to register their respective widgets with the hub.
2. **CCM namespace**: The namespace for the Cloud Configuration Management (CCM), which manages the hub's configuration.
-3. **Root navigation name**: The name of the root navigation point for your hub.
-
-**Code Snippet: Initializing a Hub**
+3. **Root navigation name**: The name of the root navigation point for your hub. This navigation route name must match the router name on the MainstackNav of allspark-core
+4. **Default Widget's ID**: Widget id of the default widget for the Hub. This widget will be rendered when there is failure in rendering Widgets from the CCM configurations.
Here's an example code snippet that demonstrates how to initialize a hub:
-1. Register and export your hub name from allspark-core common directory. E.g.,
+**1. Register and export your hub name from allspark-core/packages/me-at-walmart-common directory.**
```js
export TEAM_HUB_NAMESPACE = 'Me@Walmart.ManagerExperience.MyTeam';
+export CCM_NAMESPACE = 'my-team-hub';
+export ROUTE_NAME = 'myTeam'; /** This navigation route name must match the router name on the MainstackNav of allspark-core */
+export DEFAULT_WIDGETS_ID = ['roster'];
+
+export type WidgetDataProps = {
+ selectedTeamPreference?: string;
+ selectedTeamIds?: string[];
+ refresh?: string | null;
+};
```
-2. Create your hub
+**2. Create your hub**
```jsx
import { AllsparkHubContainer } from '@walmart/allspark-foundation-hub';
+import { TEAM_HUB_NAMESPACE, CCM_NAMESPACE, ROUTE_NAME, DEFAULT_WIDGETS_ID } from '@walmart/me-at-walmart-common';
export const TeamHub = () => {
const MyTeamHubContainer = new AllsparkHubContainer()
- .create(TEAM_HUB_NAMESPACE, 'my-team-hub', 'myTeam')
+ .create(TEAM_HUB_NAMESPACE, CCM_NAMESPACE, ROUTE_NAME, DEFAULT_WIDGETS_ID)
.validate()
.render();
return <>{MyTeamHubContainer}</>;
};
```
-This code snippet creates a new hub container using the `AllsparkHubContainer` component from the `@walmart/allspark-foundation-hub` library. It initializes the hub with a unique identifier, namespace, and name, validates the configuration, and renders the hub container as a JSX element.
+This code snippet creates a new hub container using the `AllsparkHubContainer` component from the `@walmart/allspark-foundation-hub` library. It initializes the hub with a unique identifier, namespace, route name and default widget, validates the configuration, and renders the hub container as a JSX element.
+
+**3. Managing your CCM**
+
+CCM management is essential in the process of Hub Configuration and Management. Please ensure that all the details are followed from the [CCM Management](./hub-ccm-management.md)
With these steps in mind, you're ready to set up your first hub! Remember to consult the [Hub Concepts](./hub-concepts.md) documentation if you have any questions or need further clarification. Happy building!
-### Register widgets with the hub
+### For Widget Providers
+
+**1. Create your Widgets**
+
+As Widget Providers, below code snippet shows how you can create the Widgets with the default HubWidget layout provided by the Hub framework. You can also choose to create your own custom widget. For detailed information on the Hub Widgets, refer to [Hub Widgets](./hub-widget.md)
+
+```js
+import {HubWidget} from '@walmart/allspark-foundation-hub/HubFeature/Hub/HubWidget';
+import {WidgetDataProps} from '@walmart/me-at-walmart-common';
+
+export const TimeAndAttendanceWidgetId = (props: WidgetDataProps) => {
+ /**
+ * selectedTeamIds: To update the widgets when there is change in team selection
+ * refresh: To update when there is Pull down to refresh triggered in the Hub Container
+ */
+ const {selectedTeamIds, refresh} = props;
+ useEffect(() => {
+ //Provide your on Team change logic here
+ }, [selectedTeamIds]);
+
+ useEffect(() => {
+ //Provide your on pull down to refresh logic here
+ }, [refresh]);
+
+ return (
+ <HubWidget
+ variant='actionable'
+ iconName='CalendarIcon'
+ moduleTitle='Time and Attendance'
+ shortIntro='This widget variant is actionable insight.'
+ content={
+ <View>
+ {Widget Content}
+ </View>
+ }
+ actionText='Time-sensitive action that is highly recommended.'
+ actionBtnText='Widget Actions'
+ onActionPress={() => {}}
+ routeName='miniApp'
+ refresh={refreshVal}
+ />
+ );
+};
+```
+
+**2. Register your widgets with the hub**
+
[Widget providers](./hub-concepts#3-widget-providers) is expected to register their widgets to exported namespace from allspark-core. Registering involves obtaining the exposed/exported hub name and your widgets, then adding the each with a unique id to identify that. Please follow naming recommendation for the widget ids. E.g.,
```js
@@ -105,5 +162,9 @@ TEAM_HUB_NAMESPACE.add(TimeAndAttendanceWidgetId, TimeAndAttendanceWidget);
```
+**3. Post registration, Communicate with GateKeepers**
+
+Once the widget registration is complete, reach out to the GateKeepers for Widget review process. Once the widgets are reviewed, it would be added into the respective Hub's CCM configuration.
+
### Next Steps
Refer to each component's documentation to learn more.
\ No newline at end of file
| Update getting started file | Update getting started file
|
df9d2049e30832f18f721e4db344953ace9e9fcc | --- package-lock.json
@@ -66,7 +66,7 @@
"@walmart/metrics-mini-app": "0.17.9",
"@walmart/mod-flex-mini-app": "1.13.7",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/money-auth-shared-components": "0.0.12",
+ "@walmart/money-auth-shared-components": "0.0.13",
"@walmart/onewalmart-miniapp": "1.0.16",
"@walmart/pay-stub-miniapp": "0.13.5",
"@walmart/payrollsolution_miniapp": "0.134.3",
@@ -9347,9 +9347,9 @@
}
},
"node_modules/@walmart/money-auth-shared-components": {
- "version": "0.0.12",
- "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.12.tgz",
- "integrity": "sha512-Y9K7SnrS/c0bERFFguXMFJ2NsMDXHOsVErYy3tqkva2S4VMGssmwWkSK5TFT5t9h5R5UEnuCK9F8u6aXG1+uZg==",
+ "version": "0.0.13",
+ "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.13.tgz",
+ "integrity": "sha512-2HX5KdpM2yqeRo/E78jxDFy5HyDT4s6yzE3I5UrVeC2zH67u9J4pW2tTQzRW4hyrURIPcOcH9GgIAbaG9o8kaQ==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -33416,9 +33416,9 @@
"version": "1.0.4"
},
"@walmart/money-auth-shared-components": {
- "version": "0.0.12",
- "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.12.tgz",
- "integrity": "sha512-Y9K7SnrS/c0bERFFguXMFJ2NsMDXHOsVErYy3tqkva2S4VMGssmwWkSK5TFT5t9h5R5UEnuCK9F8u6aXG1+uZg=="
+ "version": "0.0.13",
+ "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.13.tgz",
+ "integrity": "sha512-2HX5KdpM2yqeRo/E78jxDFy5HyDT4s6yzE3I5UrVeC2zH67u9J4pW2tTQzRW4hyrURIPcOcH9GgIAbaG9o8kaQ=="
},
"@walmart/onewalmart-miniapp": {
"version": "1.0.16",
--- package.json
@@ -107,7 +107,7 @@
"@walmart/metrics-mini-app": "0.17.9",
"@walmart/mod-flex-mini-app": "1.13.7",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/money-auth-shared-components": "0.0.12",
+ "@walmart/money-auth-shared-components": "0.0.13",
"@walmart/onewalmart-miniapp": "1.0.16",
"@walmart/pay-stub-miniapp": "0.13.5",
"@walmart/payrollsolution_miniapp": "0.134.3",
| bump version | bump version
|
4d0332916b1bad4148f250ef7c5933694108021a | --- ios/Podfile.lock
@@ -338,7 +338,7 @@ PODS:
- React-Core
- react-native-pdf (6.2.2):
- React-Core
- - react-native-ptt-module (1.3.5):
+ - react-native-ptt-module (1.3.6):
- PTT (= 0.6.0-rc.6)
- React
- react-native-safe-area-context (3.1.8):
@@ -802,7 +802,7 @@ SPEC CHECKSUMS:
react-native-logger: 6d1a4098b9b035278c3691760a45be8ce56acd2e
react-native-netinfo: e36c1bb6df27ab84aa933679b3f5bbf9d180b18f
react-native-pdf: 4b5a9e4465a6a3b399e91dc4838eb44ddf716d1f
- react-native-ptt-module: fd0a9eaa70d34a46254aae6eb208aae054e8c5dc
+ react-native-ptt-module: 65c70129b84f1a1d8a9e12bfb6b4ff74f27361a4
react-native-safe-area-context: 01158a92c300895d79dee447e980672dc3fb85a6
react-native-splash-screen: 200d11d188e2e78cea3ad319964f6142b6384865
react-native-sumo-sdk: 8a034fe724417d8c9465951630e229edef2f738f
--- package-lock.json
@@ -3154,9 +3154,9 @@
}
},
"@walmart/push-to-talk-mini-app": {
- "version": "0.5.10",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.10.tgz",
- "integrity": "sha512-ENKfPWuEgfER1n71tZeuCH4CXXL7YdEKqiu7L4nL+70BRz/x+LcUSnbokeG1oT47XVzmOgrddfQNKYDQ+Sx9cA=="
+ "version": "0.5.11",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.11.tgz",
+ "integrity": "sha512-/Koqd5NXYRxRp6uI+Kq6s/R6B6WJcbTxOmmje1yIhE8UZbhXxrPeUij7zJyD8M2kjlaZkPNd2FdoTrjHRPolMg=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
@@ -12488,9 +12488,9 @@
"integrity": "sha512-PO99dptMocEfUSS3SM7gY6UqophaBxizKjnZ7FcEwa+H4ONVxTk310/JCXJ9vdNunomgpxHluKRXnApfm9Md1w=="
},
"react-native-ptt-module": {
- "version": "1.3.5",
- "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.3.5.tgz",
- "integrity": "sha512-+EHxbfuZZSvTfmqePsdpOsNbaCzyuGZ+P3OKHhulUyg7MAX4bZfPn90dbg5ViVBfD6JcYaKRQ6YreU3OSItnng=="
+ "version": "1.3.6",
+ "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.3.6.tgz",
+ "integrity": "sha512-6MExVB9ZOhXvF50Z3M98jdvRhHlkIc0KzOkDuzMO0h4xKp+5Hi57lRVM8YlaOGBwYVybb3MyNlWPQt4HMbPS4Q=="
},
"react-native-qrcode-svg": {
"version": "6.0.6",
--- package.json
@@ -74,7 +74,7 @@
"@walmart/impersonation-mini-app": "1.0.15",
"@walmart/inbox-mini-app": "0.0.94",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/push-to-talk-mini-app": "0.5.10",
+ "@walmart/push-to-talk-mini-app": "0.5.11",
"@walmart/react-native-env": "^0.1.0",
"@walmart/react-native-logger": "^1.25.0",
"@walmart/react-native-shared-navigation": "^0.4.0",
@@ -111,7 +111,7 @@
"react-native-pdf": "^6.2.0",
"react-native-permissions": "3.0.0",
"react-native-popup-menu": "^0.15.9",
- "react-native-ptt-module": "1.3.5",
+ "react-native-ptt-module": "1.3.6",
"react-native-qrcode-svg": "^6.0.6",
"react-native-reanimated": "^1.10.2",
"react-native-safe-area-context": "^3.1.3",
| PTT version bump | PTT version bump
|
8002dbf524678d6dfde9dc0e6dbaaf0c6fe4513a | --- package.json
@@ -254,5 +254,8 @@
"packageManager": "yarn@4.1.1",
"engines": {
"node": ">=18"
+ },
+ "dependencies": {
+ "jest": "^29.7.0"
}
}
--- packages/me-at-walmart-common/__tests__/__mocks__/@walmart/allspark-foundation/Config.js
@@ -0,0 +1,9 @@
+module.exports = {
+ ConfigSelectors: {
+ getData: jest.fn((state) => state?.appConfig?.data || {}),
+ getLoading: jest.fn(() => false),
+ getLoaded: jest.fn(() => true),
+ getError: jest.fn(() => null),
+ createContainerConfigSelector: jest.fn(),
+ },
+};
--- packages/me-at-walmart-common/__tests__/__mocks__/@walmart/allspark-foundation/User.js
@@ -0,0 +1,11 @@
+module.exports = {
+ UserSelectors: {
+ getData: jest.fn((state) => state?.user?.data || {}),
+ getUserType: jest.fn((state) => state?.user?.userType || ''),
+ getOriginalUserUserType: jest.fn((state) => state?.user?.userType || ''),
+ getDomain: jest.fn((state) => state?.user?.domain || ''),
+ getOriginalUserDomain: jest.fn((state) => state?.user?.domain || ''),
+ getOriginalUser: jest.fn(),
+ },
+ UserActionTypes: {},
+};
--- packages/me-at-walmart-common/__tests__/navigationTest.ts
@@ -0,0 +1,18 @@
+import {ScreenTags, FeatureTags} from '../src/navigation'
+
+describe('Navigation screen tag', () => {
+ test('it should have the correct value for each screen tag', () => {
+ expect(ScreenTags.RootStack).toBe('RootStack')
+ expect(ScreenTags.AssociateStack).toBe('AssociateStack')
+ expect(ScreenTags.HomeTab).toBe('AssociateStack.HomeTab')
+ expect(ScreenTags.MyTeamTab).toBe('AssociateStack.MyTeamTab')
+ expect(ScreenTags.ProfileTab).toBe('AssociateStack.ProfileTab')
+ })
+})
+
+describe('Feature tag', () => {
+ test('it should havecorrect value for each feature tag', () => {
+ expect(FeatureTags.root).toBe('root')
+ expect(FeatureTags.associate).toBe('associate')
+ })
+})
\ No newline at end of file
--- packages/me-at-walmart-common/__tests__/redux/selectorsTest.ts
@@ -0,0 +1,57 @@
+import {ConfigSelectors} from '@walmart/allspark-foundation/Config';
+import {UserSelectors} from '@walmart/allspark-foundation/User';
+import {
+ MeAtWalmartUserSelectors
+} from '../../src/redux/selectors';
+import {UserType} from '../../src/types';
+
+jest.mock('../../src/redux/selectors', () => ({
+ MeAtWalmartUserSelectors: {
+ getMeAtWalmartUserDomain: jest.fn(state => state?.user?.domain || ''),
+ getMeAtWalmartUserIsPreHire: jest.fn(state => state?.user?.isPreHire || false)
+ },
+}));
+
+describe('Selector', () => {
+ describe('getMeAtWalmartUserDomain selector', () => {
+ const state = {
+ user: {
+ countryCode: 'US',
+ siteId: '100',
+ userId: 'johndoe3',
+ domain: 'STORE',
+ displayName: 'John Doe',
+ emailId: 'jdoe@homeoffice.wal-mart.com',
+ employeeType: 'S',
+ preHire: false
+ },
+ };
+
+ it('should compute the domain base on user data', () => {
+ // @ts-ignore
+ (UserSelectors.getDomain as jest.Mock).mockReturnValueOnce('STORE');
+ const result = MeAtWalmartUserSelectors.getMeAtWalmartUserDomain(state as any);
+ expect(result).toBe('STORE');
+ });
+ });
+
+ describe('getMeAtWalmartUserIsPreHire Selector', () => {
+ const mockState = {
+ user: {
+ userType: UserType.prehire,
+ isPreHire: true,
+ },
+ };
+ it('should return true if useType is associate or pre_hire', () => {
+ const state = {
+ user: {
+ ...mockState.user,
+ userType: UserType.prehire,
+ },
+ };
+ (UserSelectors.getUserType as jest.Mock).mockReturnValueOnce(true);
+ const result = MeAtWalmartUserSelectors.getMeAtWalmartUserIsPreHire(state as any);
+ expect(result).toBe(state.user.isPreHire);
+ });
+ });
+});
--- yarn.lock
@@ -6867,6 +6867,8 @@ __metadata:
"@walmart/me-at-walmart@workspace:.":
version: 0.0.0-use.local
resolution: "@walmart/me-at-walmart@workspace:."
+ dependencies:
+ jest: "npm:^29.7.0"
dependenciesMeta:
"@walmart/amp-mini-app":
built: false
@@ -14556,7 +14558,7 @@ __metadata:
languageName: node
linkType: hard
-"jest@npm:^29.2.1":
+"jest@npm:^29.2.1, jest@npm:^29.7.0":
version: 29.7.0
resolution: "jest@npm:29.7.0"
dependencies:
| Updated test coverage | Updated test coverage
|
e1fe5721c683ca37c4453e8180b8fb012fac5be0 | --- packages/me-at-walmart-container/__tests__/http/interceptors/errorLogger.test.ts
@@ -4,11 +4,6 @@ import {HttpLogger} from '../../../src/http/logger';
const {isCancel} = require('@walmart/allspark-foundation/HTTP');
describe('ErrorLoggerInterceptor', () => {
-<<<<<<< HEAD
- // beforeEach(() => {
- // jest.clearAllMocks();
- // });
-=======
const mockError = {
config: {
url: 'https://example.com',
@@ -41,15 +36,10 @@ describe('ErrorLoggerInterceptor', () => {
beforeEach(() => {
jest.clearAllMocks();
});
->>>>>>> 775cb508cdb851fa8b9d7badf59ff8f86f737b37
it('should add network details to request metadata', () => {
const mockRequest = {headers: {}};
const result = ErrorLoggerInterceptor.request!.fulfilled(mockRequest);
-<<<<<<< HEAD
-
- expect(result.metadata).toBeUndefined();
-=======
expect(result.metadata).toEqual({
preRequestNetworkState: {
type: 'N/A',
@@ -57,7 +47,6 @@ describe('ErrorLoggerInterceptor', () => {
isInternetReachable: 'N/A',
},
});
->>>>>>> 775cb508cdb851fa8b9d7badf59ff8f86f737b37
});
it('should reject the promise if the error is a cancellation', () => {
| Resolve conflict | Resolve conflict
|
29a7c6eb376dbc2166b6a93ba10ffd8dd9a0b692 | --- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/roster-mini-app",
- "version": "1.0.15",
+ "version": "1.0.16",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/roster-mini-app",
- "version": "1.0.15",
+ "version": "1.0.16",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.20.0",
@@ -66,7 +66,7 @@
"@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.13",
+ "@walmart/wmconnect-mini-app": "1.0.15",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
@@ -11834,9 +11834,9 @@
}
},
"node_modules/@walmart/wmconnect-mini-app": {
- "version": "1.0.13",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.13.tgz",
- "integrity": "sha512-8rrTfCmARDX3Y4wTfGG+o3bT4YXlZF4GysAJgn0KSjCq3Cr79r+6E3Zzbdlnqc883bamfAMrnqPe/cwTZSNiLw==",
+ "version": "1.0.15",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.15.tgz",
+ "integrity": "sha512-nPIUPqtMXnTwR1UahbkO6o2reB8J2kVg2F1h0LKBn8v2AebEfJXfYDelKDFgKd+BsMJ6g/oE2BdHmc5WoDX2/g==",
"dev": true,
"hasInstallScript": true
},
@@ -41046,9 +41046,9 @@
}
},
"@walmart/wmconnect-mini-app": {
- "version": "1.0.13",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.13.tgz",
- "integrity": "sha512-8rrTfCmARDX3Y4wTfGG+o3bT4YXlZF4GysAJgn0KSjCq3Cr79r+6E3Zzbdlnqc883bamfAMrnqPe/cwTZSNiLw==",
+ "version": "1.0.15",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.15.tgz",
+ "integrity": "sha512-nPIUPqtMXnTwR1UahbkO6o2reB8J2kVg2F1h0LKBn8v2AebEfJXfYDelKDFgKd+BsMJ6g/oE2BdHmc5WoDX2/g==",
"dev": true
},
"@whatwg-node/events": {
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "1.0.15",
+ "version": "1.0.16",
"private": false,
"main": "dist/index.js",
"files": [
@@ -89,7 +89,7 @@
"@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.13",
+ "@walmart/wmconnect-mini-app": "1.0.15",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
| Update version | Update version
|
48b5f4a776d1a6d3d041be77a61dfb433e6cd5d9 | --- packages/allspark-foundation-hub/src/SupplyChain/Components/TeamShiftSwitcher/TeamShiftSwitcher.tsx
@@ -82,7 +82,7 @@ export const TeamShiftSwitcher = ({
: teamPreferenceData;
const currentSelectedShifts = selectedShifts?.length
? selectedShifts
- : shiftPreferenceData.length
+ : shiftPreferenceData?.length
? shiftPreferenceData
: DEFAULT_SHIFT;
| Adding null check | Adding null check
|
24d412f6760dca41e387c19ceabcca0d39e92427 | --- jest.config.js
@@ -17,7 +17,7 @@ module.exports = {
testResultsProcessor: 'jest-sonar-reporter',
setupFilesAfterEnv: ['@testing-library/jest-native/extend-expect'],
transformIgnorePatterns: [
- '<rootDir>/node_modules/(?!(react-native|@react-navigation|@walmart/gtp-shared-components|@react-native-community/netinfo|@walmart/gtp-shared-icons|@react-native-community/picker|@react-native-firebase|axios|react-native-gesture-handler|@react-native|@living-design|@react-native-community/datetimepicker|@testing-library|jest-diff|jest-matcher-utils|@walmart/wmconnect-mini-app|nanoid|react-native-reanimated|react-native-flipper|react-native-modal|react-native-animatable)/)',
+ '<rootDir>/node_modules/(?!(react-native|@react-navigation|@walmart/react-native-logger|@walmart/gtp-shared-components|@react-native-community/netinfo|@walmart/gtp-shared-icons|@react-native-community/picker|@react-native-firebase|axios|react-native-gesture-handler|@react-native|@living-design|@react-native-community/datetimepicker|@testing-library|jest-diff|jest-matcher-utils|@walmart/wmconnect-mini-app|nanoid|react-native-reanimated|react-native-flipper|react-native-modal|react-native-animatable)/)',
],
transform: {
'^.+\\.(js|jsx|ts|tsx)$': [
--- packages/allspark-foundation/__tests__/HTTP/cache.test.ts
@@ -0,0 +1,33 @@
+import { getStorageForClient } from '../../src/HTTP/cache';
+import { LocalStorageService } from '../../src/LocalStorage';
+
+jest.mock('../../src/LocalStorage', () => ({
+ LocalStorageService: {
+ getContainerInstance: jest.fn(),
+ getFeatureInstance: jest.fn(),
+ },
+}));
+
+describe('HTTP/cache.ts', () => {
+ beforeEach(() => {
+ jest.clearAllMocks();
+ });
+
+ test('returns default storage when id is "default"', () => {
+ const containerInstanceMock = {
+ get: jest.fn().mockResolvedValue(undefined),
+ set: jest.fn().mockResolvedValue(undefined),
+ remove: jest.fn().mockResolvedValue(undefined),
+ };
+ (LocalStorageService.getContainerInstance as jest.Mock).mockReturnValue(
+ containerInstanceMock
+ );
+
+ const storage = getStorageForClient('default');
+
+ expect(storage).toBeDefined();
+ expect(storage.set).toBeDefined();
+ expect(storage.remove).toBeDefined();
+ expect(LocalStorageService.getContainerInstance).toHaveBeenCalled();
+ });
+});
--- packages/me-at-walmart-container/__tests__/services/user/transforms.test.ts
@@ -0,0 +1,90 @@
+import {
+ determineSiteProps,
+ determineTeams,
+} from '../../../src/services/user/transforms';
+import { BU_TYPE_DOMAIN } from '../../../src/services/user/types';
+
+describe('services/user/transforms.ts', () => {
+ describe('determineSiteProps function', () => {
+ test('returns correct site properties for DC user', () => {
+ const domain: BU_TYPE_DOMAIN = BU_TYPE_DOMAIN.DC;
+ const siteId = '123';
+ const workingSite = '456';
+ const expectedProps = {
+ siteId: '456',
+ homeSite: '456',
+ workingSite: '456',
+ };
+
+ const result = determineSiteProps(domain, siteId, workingSite);
+
+ expect(result).toEqual(expectedProps);
+ });
+
+ test('returns correct site properties for HO user', () => {
+ const domain: BU_TYPE_DOMAIN = BU_TYPE_DOMAIN.HO;
+ const siteId = '123';
+ const workingSite = '456';
+ const expectedProps = {
+ siteId: '123',
+ homeSite: '456',
+ workingSite: '123',
+ };
+
+ const result = determineSiteProps(domain, siteId, workingSite);
+
+ expect(result).toEqual(expectedProps);
+ });
+
+ test('returns correct site properties for undefined domain', () => {
+ const domain: string | undefined = undefined;
+ const siteId = '123';
+ const workingSite = '456';
+ const expectedProps = {
+ siteId: '123',
+ homeSite: '123',
+ workingSite: '123',
+ };
+
+ const result = determineSiteProps(domain, siteId, workingSite);
+
+ expect(result).toEqual(expectedProps);
+ });
+ });
+
+ describe('determineTeams function', () => {
+ test('returns teams from associate.teams if present', () => {
+ const associate = {
+ teams: [{ name: 'Team A' }, { name: 'Team B' }],
+ };
+ const expectedTeams = [{ name: 'Team A' }, { name: 'Team B' }];
+
+ const result = determineTeams(associate as any);
+
+ expect(result).toEqual(expectedTeams);
+ });
+
+ test('returns teams from associate.workdayTeams if present', () => {
+ const associate = {
+ workdayTeams: [{ name: 'Workday Team A' }, { name: 'Workday Team B' }],
+ };
+ const expectedTeams = [
+ { name: 'Workday Team A' },
+ { name: 'Workday Team B' },
+ ];
+
+ const result = determineTeams(associate as any);
+
+ expect(result).toEqual(expectedTeams);
+ });
+
+ test('returns empty array if no teams are present', () => {
+ const associate = {};
+ const expectedTeams: any[] = [];
+
+ const result = determineTeams(associate as any);
+
+ expect(result).toEqual(expectedTeams as any);
+ });
+ });
+});
| HTTP cache test in allspark-foundation | HTTP cache test in allspark-foundation
|
38571d75f6d8197d0a66c3e2716467b3a4556b11 | --- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/roster-mini-app",
- "version": "1.0.10",
+ "version": "1.0.11",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/roster-mini-app",
- "version": "1.0.10",
+ "version": "1.0.11",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.20.0",
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "1.0.10",
+ "version": "1.0.11",
"private": false,
"main": "dist/index.js",
"files": [
| Update version | Update version
|
f2073f7c919e1568ee07ed52a108dd226186a0bf | --- example/index.js
@@ -1,6 +1,9 @@
import 'react-native-get-random-values';
import {AppRegistry} from 'react-native';
import {name as appName} from './app.json';
-import {App} from './src/core';
+import {App} from './src/core';
AppRegistry.registerComponent(appName, () => App);
+
+// import {Feature1Standalone} from './src';
+// AppRegistry.registerComponent(appName, Feature1Standalone.App);
--- example/src/core/index.tsx
@@ -6,6 +6,7 @@ import {
createDrawerNavigator,
DrawerContentComponentProps,
} from '@react-navigation/drawer';
+import {NavigatorScreenParams} from '@react-navigation/native';
import {createBottomTabNavigator} from '@react-navigation/bottom-tabs';
import {ActiveAllsparkContainer} from '@walmart/allspark-foundation/Container';
@@ -188,3 +189,19 @@ export function App() {
}
TestContainer.addSetup('root', CoreSetup);
+
+type CoreRootParamList = {
+ 'container.root': NavigatorScreenParams<{
+ 'container.tabs': NavigatorScreenParams<{
+ 'container.homeTab': undefined;
+ 'container.tab1': NavigatorScreenParams<Allspark.ScreenParams>;
+ 'container.tab2': NavigatorScreenParams<Allspark.ScreenParams>;
+ }>;
+ }>;
+};
+
+declare global {
+ namespace Allspark {
+ interface RootParamList extends CoreRootParamList {}
+ }
+}
--- example/src/feature1/components.tsx
@@ -0,0 +1,58 @@
+import React from 'react';
+import {Feature1} from './feature';
+import {Heading} from '@walmart/gtp-shared-components';
+import {Text} from 'react-native';
+
+// --- Component Container --- //
+type ContainerParams = {
+ message: string;
+};
+
+type Feature1ContainerParams = {
+ 'feature1.container': ContainerParams;
+};
+
+export const Feature1ComponentContainer =
+ Feature1.createComponentContainer<ContainerParams>();
+
+// --- Dynamic Component --- //
+const HeaderComponent = (props: {title: string}) => (
+ <Heading>{props.title}</Heading>
+);
+
+type Feature1DynamicParams = {
+ 'feature1.dynamic': {title: string};
+};
+
+export const Feature1DynamicComponent =
+ Feature1.createDynamicComponent(HeaderComponent);
+
+// --- Shared Component --- //
+
+type Feature1SharedParams = {
+ 'feature1.shared': {message: string};
+};
+export const Feature1SharedComponent = (props: {message: string}) => (
+ <Text>Feature 1 says:{props.message}</Text>
+);
+
+// --- Allspark Typing --- //
+declare global {
+ namespace Allspark {
+ interface ComponentContainers extends Feature1ContainerParams {}
+ interface DynamicComponents extends Feature1DynamicParams {}
+ interface SharedComponents extends Feature1SharedParams {}
+ }
+}
+
+export const Feature1Components = {
+ containers: {
+ 'feature1.container': Feature1ComponentContainer,
+ },
+ dynamic: {
+ 'feature1.dynamic': Feature1DynamicComponent,
+ },
+ shared: {
+ 'feature1.shared': Feature1SharedComponent,
+ },
+};
--- example/src/feature1/index.tsx
@@ -1,3 +1,4 @@
+import {Feature1Components} from './components';
import {FEATURE_NAME} from './constants';
import {Feature1} from './feature';
import {Feature1Listeners} from './listeners';
@@ -7,6 +8,7 @@ import {Feature1Translations} from './translations';
export default Feature1.createModule({
name: FEATURE_NAME,
+ components: Feature1Components,
listeners: Feature1Listeners,
redux: Feature1Redux,
screens: Feature1Screens,
--- example/src/feature1/screens/index.ts
@@ -1,3 +1,4 @@
+import {NavigatorScreenParams} from '@react-navigation/native';
import {TestBottomSheet} from './bottomSheet';
import {TestModal} from './modal';
import {HomeScreen} from './screen';
@@ -8,7 +9,28 @@ export const Feature1Screens = {
'feature1.stack': FeatureStack,
};
+export type Feature1ScreenParams = {
+ 'feature1.home': undefined;
+ 'feature1.stack': NavigatorScreenParams<{
+ nestedScreen1: undefined;
+ nestedScreen2: undefined;
+ }>;
+};
+
export const Feature1Modals = {
'feature1.bottomsheet': TestBottomSheet,
'feature1.modal': TestModal,
};
+
+export type Feature1ModalParams = {
+ 'feature1.bottomsheet': undefined;
+ 'feature1.modal': undefined;
+};
+
+// --- Allspark Typing --- //
+declare global {
+ namespace Allspark {
+ interface ScreenParams extends Feature1ScreenParams {}
+ interface ModalParams extends Feature1ModalParams {}
+ }
+}
| chore: add component examples to example app | chore: add component examples to example app
|
cb7ecafd2cf54babd5dbb8958dd3063b33542466 | --- targets/US/package.json
@@ -128,7 +128,7 @@
"@walmart/native-rfid-scanner": "3.12.1",
"@walmart/onewalmart-miniapp": "1.0.24",
"@walmart/pay-stub-miniapp": "0.20.8",
- "@walmart/payrollsolution_miniapp": "0.145.22",
+ "@walmart/payrollsolution_miniapp": "0.145.23",
"@walmart/price-changes-mini-app": "1.10.25",
"@walmart/profile-feature-app": "patch:@walmart/profile-feature-app@npm%3A1.138.3#~/.yarn/patches/@walmart-profile-feature-app-npm-1.138.3-9802440ed6.patch",
"@walmart/react-native-cookies": "1.0.1",
--- yarn.lock
@@ -7365,7 +7365,7 @@ __metadata:
"@walmart/native-rfid-scanner": "npm:3.12.1"
"@walmart/onewalmart-miniapp": "npm:1.0.24"
"@walmart/pay-stub-miniapp": "npm:0.20.8"
- "@walmart/payrollsolution_miniapp": "npm:0.145.22"
+ "@walmart/payrollsolution_miniapp": "npm:0.145.23"
"@walmart/price-changes-mini-app": "npm:1.10.25"
"@walmart/profile-feature-app": "patch:@walmart/profile-feature-app@npm%3A1.138.3#~/.yarn/patches/@walmart-profile-feature-app-npm-1.138.3-9802440ed6.patch"
"@walmart/react-native-cookies": "npm:1.0.1"
@@ -7793,15 +7793,15 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/payrollsolution_miniapp@npm:0.145.22":
- version: 0.145.22
- resolution: "@walmart/payrollsolution_miniapp@npm:0.145.22"
+"@walmart/payrollsolution_miniapp@npm:0.145.23":
+ version: 0.145.23
+ resolution: "@walmart/payrollsolution_miniapp@npm:0.145.23"
dependencies:
crypto-js: "npm:^3.3.0"
expo: "npm:^50.0.0"
peerDependencies:
"@walmart/allspark-foundation": "*"
- checksum: 10c0/bae7788c0cd38cffca23bf32074c6ea78fe0c59bc0ae9517a3b19c0441b5674ba5e22f860037282ec23ac6a4e8d6fb25c403d728639b3d9acabafa31b7808a9c
+ checksum: 10c0/048b1d2d2aa401e389ac9e5080a8b4bda184df40331bb053c2d0fa3d9ef1e07581b2e75c0b5e3e560ad8c63c4d59fe39313afb1600f25a7be4775f097cfa952a
languageName: node
linkType: hard
| bump version | bump version
|
392016a45ceb5c51b892a71a82264228601a29dd | --- package-lock.json
@@ -4198,9 +4198,9 @@
"integrity": "sha512-EcUV5UbnNZBvacqLesY18XKO/o3G6/k61ocI/ydIIPOhLXRgkiztQqMBE75bYxU7lQkRYtqgxcK3SzvAKP0RoQ=="
},
"@walmart/counts-component-miniapp": {
- "version": "0.0.28",
- "resolved": "https://npme.walmart.com/@walmart/counts-component-miniapp/-/counts-component-miniapp-0.0.28.tgz",
- "integrity": "sha512-/k7ygyZcfutpFvQQC4JWQZrDxox69oDEk4nvDu1xxZ77a9ayAnOe7PJpovF3iSK2dYY3SEDTF78nzJnD+iQIsQ=="
+ "version": "0.0.32",
+ "resolved": "https://npme.walmart.com/@walmart/counts-component-miniapp/-/counts-component-miniapp-0.0.32.tgz",
+ "integrity": "sha512-AymRaP39YXybYN3VHLVNFMoA8J4XYZbd9JUT+bQOuc5KGf5SQQFMOhrqSd9UENvnbqnTRrfDbBhn/ua7/E54WA=="
},
"@walmart/exception-mini-app": {
"version": "0.38.1",
@@ -4336,9 +4336,9 @@
}
},
"@walmart/price-changes-mini-app": {
- "version": "1.0.5",
- "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.0.5.tgz",
- "integrity": "sha512-KuJZ9iZmpMq6BxWoSB0VePjLjdQEgGbJgXs0mwWqjpryfnfhk9tUHaEvwgps53CEcS67hsGK0XbENH4SSD+L0Q=="
+ "version": "1.0.6",
+ "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.0.6.tgz",
+ "integrity": "sha512-qJaaKPSs5rNbukmidrZoqqWylzPX1nos0NwavGpgMjfCIvRuAE83yxNgNMV2KNP8y42YfNhEQlMJ5dCnsg/vWw=="
},
"@walmart/push-to-talk-mini-app": {
"version": "0.5.39",
--- package.json
@@ -76,7 +76,7 @@
"@walmart/ask-sam-mini-app": "0.40.4",
"@walmart/allspark-neon-core": "0.1.25",
"@walmart/config-components": "1.0.35",
- "@walmart/counts-component-miniapp": "0.0.28",
+ "@walmart/counts-component-miniapp": "0.0.32",
"@walmart/exception-mini-app": "0.38.1",
"@walmart/feedback-all-spark-miniapp": "0.1.18",
"@walmart/functional-components": "1.0.34",
@@ -89,7 +89,7 @@
"@walmart/manager-approvals-miniapp": "0.0.58",
"@walmart/metrics-mini-app": "0.5.18",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/price-changes-mini-app": "1.0.5",
+ "@walmart/price-changes-mini-app": "1.0.6",
"@walmart/push-to-talk-mini-app": "0.5.39",
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.28.0",
| bump price changes to 1.0.6 | bump price changes to 1.0.6
|
127dff010a74a56f705ae6177649d779d28768a5 | --- src/containers/RosterFilters.tsx
@@ -5,6 +5,7 @@ import {noop} from 'lodash';
import {useSelector} from 'react-redux';
import {SiteSelectors} from '@walmart/redux-store';
import {Associate} from '../types';
+import firestore from "@react-native-firebase/firestore";
const styles = StyleSheet.create({
container: {
@@ -30,13 +31,26 @@ export const RosterFilters = (props: {
const storeId = useSelector(SiteSelectors.getUserWorkingSite);
const countryCode = useSelector(SiteSelectors.getSiteCountry);
+ const [availableCount, setAvailableCount] = useState(0);
+
+ useEffect(() => {
+ firestore()
+ .collection('user_status')
+ .where('state', '==', 'online')
+ .onSnapshot(
+ (snapshot) => {
+ setAvailableCount(snapshot.size);
+ },
+ (e) => console.log(e),
+ );
+ }, []);
+
useEffect(() => {
if (rosterData) {
const newFilters = rosterData.reduce(
(accm, associate) => {
if (associate?.punch?.clockStatus !== '2') {
accm.clockedIn++;
- accm.available++;
}
if (associate?.absentData?.absenceTypeCode === 1) {
accm.absent++;
@@ -51,7 +65,7 @@ export const RosterFilters = (props: {
absent: 0,
tardy: 0,
clockedIn: 0,
- available: 0,
+ available: availableCount,
},
);
setFilters(newFilters);
--- src/containers/RosterFilters.tsx
@@ -5,6 +5,7 @@ import {noop} from 'lodash';
import {useSelector} from 'react-redux';
import {SiteSelectors} from '@walmart/redux-store';
import {Associate} from '../types';
+import firestore from "@react-native-firebase/firestore";
const styles = StyleSheet.create({
container: {
@@ -30,13 +31,26 @@ export const RosterFilters = (props: {
const storeId = useSelector(SiteSelectors.getUserWorkingSite);
const countryCode = useSelector(SiteSelectors.getSiteCountry);
+ const [availableCount, setAvailableCount] = useState(0);
+
+ useEffect(() => {
+ firestore()
+ .collection('user_status')
+ .where('state', '==', 'online')
+ .onSnapshot(
+ (snapshot) => {
+ setAvailableCount(snapshot.size);
+ },
+ (e) => console.log(e),
+ );
+ }, []);
+
useEffect(() => {
if (rosterData) {
const newFilters = rosterData.reduce(
(accm, associate) => {
if (associate?.punch?.clockStatus !== '2') {
accm.clockedIn++;
- accm.available++;
}
if (associate?.absentData?.absenceTypeCode === 1) {
accm.absent++;
@@ -51,7 +65,7 @@ export const RosterFilters = (props: {
absent: 0,
tardy: 0,
clockedIn: 0,
- available: 0,
+ available: availableCount,
},
);
setFilters(newFilters);
| updating available to talk count to show actually available users | updating available to talk count to show actually available users
|
aeedcdd5e21016f5f2424c0812d6618170d2fc72 | --- __tests__/codeOfConduct/provider.test.tsx
@@ -16,18 +16,6 @@ jest.mock('@react-navigation/native', () => ({
useIsFocused: jest.fn().mockReturnValue(true),
}));
-jest.mock('@walmart/redux-store', () => ({
- ...jest.requireActual('@walmart/redux-store'),
- UserSelectors: {
- ...jest.requireActual('@walmart/redux-store/lib/selectors/user.selectors'),
- getUserId: jest.fn().mockReturnValue('111'),
- },
- DeviceInfoSelectors: {
- ...jest.requireActual('@walmart/redux-store/lib/selectors/index'),
- getDeviceInfo: jest.fn().mockReturnValue({os: 'ios'}),
- },
-}));
-
describe('Code Of Conduct Context', () => {
beforeEach(() => {
jest.clearAllMocks();
| Adding provider-test changes | Adding provider-test changes
|
150980090585c90200933676ccf480a74f7ee55b | --- example/src/core/index.tsx
@@ -21,6 +21,7 @@ import {AllsparkTranslationClient} from '@walmart/allspark-foundation/Translatio
import Feature1 from '../feature1';
import Feature2 from '../feature2';
+import TeamHub from '../teamHub';
import {TestContainer} from '../container';
import {HomeScreen} from './home';
@@ -208,7 +209,7 @@ const Navigation = () => {
);
};
-const getRootFeatures = () => [Feature1, Feature2];
+const getRootFeatures = () => [Feature1, Feature2, TeamHub];
export function App() {
return (
| Merge changes from parent repo | Merge changes from parent repo
|
f180a599f5f52074242c7653d20571a6bb53cb6d | --- scripts/mini-app-scan/package-deprecation/helper.ts
@@ -148,6 +148,17 @@ function groupFindingsBySource(findings: DeprecationFinding[]): Map<string, Depr
return findingsBySource;
}
+/**
+ * Helper function to extract clean library name without version ranges
+ */
+function cleanLibraryName(libraryString: string): string {
+ // Extract just the package name without version ranges
+ if (libraryString.includes('#')) {
+ return libraryString.split('#')[0];
+ }
+ return libraryString;
+}
+
/**
* Get the PR comment for deprecated libraries.
* @param findings The findings to include in the comment.
@@ -175,11 +186,15 @@ export function getPRComment(
sourceFindings.forEach(finding => {
const lib = finding.library;
+
+ // Clean library name to remove version ranges
+ const cleanLibName = cleanLibraryName(lib.legacyLibrary);
const versionInfo = finding.packageVersion ? `@${finding.packageVersion}` : '';
const fileInfo = finding.foundInFile ? ` (via ${finding.foundInFile})` : '';
const scheduleInfo = !isDeprecated && lib.enforcementDate ? ` (scheduled: ${lib.enforcementDate})` : '';
- prComment += `- \`${lib.legacyLibrary}${versionInfo}\`${scheduleInfo}${fileInfo}\n`;
+ // Display clean library name with actual version instead of library name with range + version
+ prComment += `- \`${cleanLibName}${versionInfo}\`${scheduleInfo}${fileInfo}\n`;
if (lib.replacement) {
const replacementLabel = isDeprecated ? 'Use' : 'Planned replacement';
| feat(lib): adjust comments | feat(lib): adjust comments
|
5de3d5e76323e186e079a9d63b905f9b83337c9f | --- src/storeInfo/useStoreInfo.ts
@@ -34,9 +34,9 @@ export const useStoreInfo = (store?: string) => {
const data: StoreInfo = {
siteId: state.data?.siteId?.toString(),
- address: createAddressString(state.data?.location.address),
+ address: createAddressString(state.data?.location?.address),
coordinates: createCoordinates(state.data?.location),
- isSiteWmtStore: divisionIsStore(state.data?.division.code),
+ isSiteWmtStore: divisionIsStore(state.data?.division?.code),
};
return {...state, data, fetch};
| fix: undefined store data breaking change store for undefined store | fix: undefined store data breaking change store for undefined store
|
a80650219816036fcfd0aa0231ddfcc737e7cb32 | --- yarn.lock
@@ -7260,9 +7260,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation-hub@npm:1.12.0-beta.4979+2eb5821e":
- version: 1.12.0-beta.4979
- resolution: "@walmart/allspark-foundation-hub@npm:1.12.0-beta.4979::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation-hub%2F-%2F%40walmart%2Fallspark-foundation-hub-1.12.0-beta.4979.tgz"
+"@walmart/allspark-foundation-hub@npm:1.13.0-beta.5047+b433a2a7":
+ version: 1.13.0-beta.5047
+ resolution: "@walmart/allspark-foundation-hub@npm:1.13.0-beta.5047::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation-hub%2F-%2F%40walmart%2Fallspark-foundation-hub-1.13.0-beta.5047.tgz"
peerDependencies:
"@react-navigation/native": 6.x
"@walmart/allspark-foundation": ">=6.27"
@@ -7272,7 +7272,7 @@ __metadata:
react: "*"
react-native: "*"
react-native-safe-area-context: 4.x
- checksum: 10c0/5285297b4f9ec1257cf736f1999959501ff330c428151929225076cc3fb84e992fa3e5878e983f2428542d959999792e7575fe58ce51e3f4b4ec3d7c3b876a5b
+ checksum: 10c0/7d065b8f7b4a0970714edfc307e0c94acf3f79b79fe9a7a098612cde0030e4654e8b30cb4130255c4501ab3faafb68a0a73baef6724101e14df2972576c1c6ee
languageName: node
linkType: hard
@@ -7541,7 +7541,7 @@ __metadata:
"@types/react-test-renderer": "npm:^18.0.7"
"@walmart/allspark-components-library": "npm:1.1.0"
"@walmart/allspark-foundation": "npm:^6.32.0"
- "@walmart/allspark-foundation-hub": "npm:1.12.0-beta.4979+2eb5821e"
+ "@walmart/allspark-foundation-hub": "npm:1.13.0-beta.5047+b433a2a7"
"@walmart/gtp-shared-components": "npm:2.2.4"
"@walmart/me-at-walmart-common": "npm:6.29.0-alpha.0"
eslint: "npm:^8.19.0"
@@ -7564,7 +7564,7 @@ __metadata:
typescript: "npm:~5.3.3"
peerDependencies:
"@walmart/allspark-foundation": ">=6.32.0"
- "@walmart/allspark-foundation-hub": 1.12.0-beta.4979+2eb5821e
+ "@walmart/allspark-foundation-hub": 1.13.0-beta.5047+b433a2a7
expo: 52.x
expo-image: "*"
react: "*"
@@ -7592,7 +7592,7 @@ __metadata:
"@types/react-test-renderer": "npm:^18.0.7"
"@walmart/allspark-components-library": "npm:1.1.0"
"@walmart/allspark-foundation": "npm:^6.32.0"
- "@walmart/allspark-foundation-hub": "npm:1.12.0-beta.4979+2eb5821e"
+ "@walmart/allspark-foundation-hub": "npm:1.13.0-beta.5047+b433a2a7"
"@walmart/gtp-shared-components": "npm:2.2.4"
"@walmart/me-at-walmart-common": "npm:6.29.0-alpha.0"
eslint: "npm:^8.19.0"
@@ -7615,7 +7615,7 @@ __metadata:
typescript: "npm:~5.3.3"
peerDependencies:
"@walmart/allspark-foundation": ">=6.32.0"
- "@walmart/allspark-foundation-hub": 1.12.0-beta.4979+2eb5821e
+ "@walmart/allspark-foundation-hub": 1.13.0-beta.5047+b433a2a7
expo: 52.x
expo-image: "*"
react: "*"
| feat(ui): update celebration mini app version | feat(ui): update celebration mini app version
|
37939ccd9f8127638a6665685946ec1c946bdd2e | --- __tests__/__mocks__/@walmart/financial-wellbeing-feature-app.js
@@ -0,0 +1,4 @@
+jest.mock('@walmart/financial-wellbeing-feature-app', () => ({
+ FWBNav: 'FWB',
+ FWB_NAV_SCREEN_NAME: 'FWB',
+}));
--- __tests__/__mocks__/@walmart/pay-stub-miniapp.js
@@ -0,0 +1,3 @@
+jest.mock('@walmart/pay-stub-miniapp', () => ({
+ PayStubMiniApp: 'PayStubMiniApp',
+}));
--- __tests__/navigation/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap
@@ -109,6 +109,13 @@ Array [
<Screen
name="paymentselection"
/>
+ <Screen
+ name="paystub"
+ />
+ <Screen
+ name="myMoneyScreen"
+ />
+ <Screen />
</Group>
<Screen
component="TimeClockScreen"
--- package.json
@@ -89,6 +89,7 @@
"@walmart/exception-mini-app": "0.42.1",
"@walmart/facilities-management-miniapp": "0.2.2",
"@walmart/feedback-all-spark-miniapp": "0.6.0",
+ "@walmart/financial-wellbeing-feature-app": "1.0.19",
"@walmart/functional-components": "2.0.6",
"@walmart/gta-react-native-calendars": "0.0.15",
"@walmart/gtp-shared-components": "1.8.9",
@@ -101,9 +102,10 @@
"@walmart/metrics-mini-app": "0.9.12",
"@walmart/mod-flex-mini-app": "1.1.3",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/payrollsolution_miniapp": "0.126.4",
+ "@walmart/pay-stub-miniapp": "0.7.1",
+ "@walmart/payrollsolution_miniapp": "0.126.54",
"@walmart/price-changes-mini-app": "1.4.11",
- "@walmart/profile-feature-app": "0.0.50",
+ "@walmart/profile-feature-app": "0.0.54",
"@walmart/push-to-talk-mini-app": "1.8.9",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "^0.2.0",
@@ -126,6 +128,7 @@
"axios-cache-adapter": "2.7.3",
"crypto-js": "^3.3.0",
"dayjs": "^1.10.5",
+ "i18n-iso-countries": "^7.5.0",
"i18next": "^21.6.3",
"intl": "^1.2.5",
"javascript-time-ago": "2.3.3",
@@ -143,6 +146,7 @@
"react-native-barcode-builder": "^2.0.0",
"react-native-biometrics": "^2.1.4",
"react-native-blob-util": "^0.13.14",
+ "react-native-chart-kit": "^6.6.1",
"react-native-check-app-install": "0.0.5",
"react-native-circular-progress": "^1.3.6",
"react-native-device-info": "^5.6.5",
--- src/navigation/AssociateHallwayNav/MainStackNav.tsx
@@ -54,7 +54,13 @@ import {
PersonalSettingsNav,
snackbarTransitionOptions,
SuccessSnackbar,
+ MyMoneyNav,
} from '@walmart/profile-feature-app';
+import {
+ FWBNav,
+ FWB_NAV_SCREEN_NAME,
+} from '@walmart/financial-wellbeing-feature-app';
+import {PayStubMiniApp} from '@walmart/pay-stub-miniapp';
//--- Main Stack --- //
const MainStack = createStackNavigator();
@@ -170,6 +176,9 @@ export const MainStackNav = () => {
name='paymentselection'
component={PaymentSelectionMiniApp}
/>
+ <MainStack.Screen name='paystub' component={PayStubMiniApp} />
+ <MainStack.Screen name='myMoneyScreen' component={MyMoneyNav} />
+ <MainStack.Screen name={FWB_NAV_SCREEN_NAME} component={FWBNav} />
</MainStack.Group>
{/* These screens do not have a Header defined. We provide one from Core */}
| financial wellbeing feature app and pay stub mini app integrated | financial wellbeing feature app and pay stub mini app integrated
|
f99bd1ebb50d4ff614bba68adcb9c95de5a7b7fc | --- container/index.tsx
@@ -2,6 +2,7 @@ import React, { useEffect } from 'react';
import {StatusBar, StyleSheet} from 'react-native';
import {SafeAreaView} from 'react-native-safe-area-context';
import {NavigationContainer, ParamListBase} from '@react-navigation/native';
+import {navContainerProps} from '@walmart/react-native-shared-navigation';
import {
createStackNavigator,
StackNavigationProp,
@@ -61,7 +62,7 @@ const RootApp = () => (
<AllsparkCoreServices recipe={AllsparkCoreServiceOverrides}>
<StatusBar barStyle='light-content' />
<AuthenticatorView>
- <NavigationContainer>
+ <NavigationContainer {...navContainerProps}>
<RootNav.Navigator>
<RootNav.Screen component={LauncherView} name='main' />
<RootNav.Screen name='texting' component={TextingMiniApp} options={{headerShown: false}} />
--- src/index.tsx
@@ -72,24 +72,6 @@ export const TextingMiniApp = () => {
const storeId: string = useSelector(SiteSelectors.getUserWorkingSite) ?? '1';
const countryCode: string = useSelector(SiteSelectors.getSiteCountry) ?? 'us';
- const staticEvent: SumoPushEvent = {
- sumoMessageId: 'fakeMessageId',
- correlationId: 'fakeId',
- title: 'A Static Test Notification',
- body: 'Some Body For The Push',
- sound: 'NotAvailable',
- contentAvailable: 0,
- mutableContent: 0,
- customData: {
- category: 'pushtotalkv2',
- },
- };
-
- WmNotification.runListeners(
- SumoPushEventTypes.ON_BACKGROUND_NOTIFICATION,
- staticEvent,
- );
-
useMemo(() => {
purgeOldFiles();
}, []);
--- src/notification.ts
@@ -2,16 +2,18 @@ import WmNotification, {
SumoPushEvent,
SumoPushEventTypes,
} from 'react-native-wm-notification';
-import {navigate} from '@walmart/react-native-shared-navigation';
+import {NotificationActions} from "./redux/Notifications";
+import {getStore} from '@walmart/redux-store';
export const onBackgroundNotification = (event?: SumoPushEvent) => {
let handled = false;
+ const dispatch = getStore()?.dispatch;
if (event?.customData?.category) {
console.log(
'***** Texting mini app is handling this notification! The category: ' +
event?.customData?.category,
);
- navigate('texting.newMessage');
+ dispatch(NotificationActions.routePushNotification(event?.customData));
handled = true;
}
@@ -38,4 +40,22 @@ export const initNotificationListeners = async () => {
SumoPushEventTypes.ON_TAPPED_NOTIFICATION_ACTION,
onBackgroundNotification,
);
+
+ const staticEvent: SumoPushEvent = {
+ sumoMessageId: 'fakeMessageId',
+ correlationId: 'fakeId',
+ title: 'A Static Test Notification',
+ body: 'Some Body For The Push',
+ sound: 'NotAvailable',
+ contentAvailable: 0,
+ mutableContent: 0,
+ customData: {
+ category: 'pushtotalkv2',
+ },
+ };
+
+ WmNotification.runListeners(
+ SumoPushEventTypes.ON_BACKGROUND_NOTIFICATION,
+ staticEvent,
+ );
};
--- src/redux/Notifications/sagas.ts
@@ -2,10 +2,11 @@ import {takeLatest, call} from 'redux-saga/effects';
import {NotificationTypes} from '.';
import {navigate} from '@walmart/react-native-shared-navigation';
+
export function* routePushNotification(action: any) {
const {pushNotificationEvent} = action;
console.log('invoking navigate method...');
- // yield call(navigate, 'texting.searchScreen');
+ yield call(navigate, 'texting');
console.log(
'*** routePushNotification saga invoked, routing based on event payload ***',
);
--- container/index.tsx
@@ -2,6 +2,7 @@ import React, { useEffect } from 'react';
import {StatusBar, StyleSheet} from 'react-native';
import {SafeAreaView} from 'react-native-safe-area-context';
import {NavigationContainer, ParamListBase} from '@react-navigation/native';
+import {navContainerProps} from '@walmart/react-native-shared-navigation';
import {
createStackNavigator,
StackNavigationProp,
@@ -61,7 +62,7 @@ const RootApp = () => (
<AllsparkCoreServices recipe={AllsparkCoreServiceOverrides}>
<StatusBar barStyle='light-content' />
<AuthenticatorView>
- <NavigationContainer>
+ <NavigationContainer {...navContainerProps}>
<RootNav.Navigator>
<RootNav.Screen component={LauncherView} name='main' />
<RootNav.Screen name='texting' component={TextingMiniApp} options={{headerShown: false}} />
--- src/index.tsx
@@ -72,24 +72,6 @@ export const TextingMiniApp = () => {
const storeId: string = useSelector(SiteSelectors.getUserWorkingSite) ?? '1';
const countryCode: string = useSelector(SiteSelectors.getSiteCountry) ?? 'us';
- const staticEvent: SumoPushEvent = {
- sumoMessageId: 'fakeMessageId',
- correlationId: 'fakeId',
- title: 'A Static Test Notification',
- body: 'Some Body For The Push',
- sound: 'NotAvailable',
- contentAvailable: 0,
- mutableContent: 0,
- customData: {
- category: 'pushtotalkv2',
- },
- };
-
- WmNotification.runListeners(
- SumoPushEventTypes.ON_BACKGROUND_NOTIFICATION,
- staticEvent,
- );
-
useMemo(() => {
purgeOldFiles();
}, []);
--- src/notification.ts
@@ -2,16 +2,18 @@ import WmNotification, {
SumoPushEvent,
SumoPushEventTypes,
} from 'react-native-wm-notification';
-import {navigate} from '@walmart/react-native-shared-navigation';
+import {NotificationActions} from "./redux/Notifications";
+import {getStore} from '@walmart/redux-store';
export const onBackgroundNotification = (event?: SumoPushEvent) => {
let handled = false;
+ const dispatch = getStore()?.dispatch;
if (event?.customData?.category) {
console.log(
'***** Texting mini app is handling this notification! The category: ' +
event?.customData?.category,
);
- navigate('texting.newMessage');
+ dispatch(NotificationActions.routePushNotification(event?.customData));
handled = true;
}
@@ -38,4 +40,22 @@ export const initNotificationListeners = async () => {
SumoPushEventTypes.ON_TAPPED_NOTIFICATION_ACTION,
onBackgroundNotification,
);
+
+ const staticEvent: SumoPushEvent = {
+ sumoMessageId: 'fakeMessageId',
+ correlationId: 'fakeId',
+ title: 'A Static Test Notification',
+ body: 'Some Body For The Push',
+ sound: 'NotAvailable',
+ contentAvailable: 0,
+ mutableContent: 0,
+ customData: {
+ category: 'pushtotalkv2',
+ },
+ };
+
+ WmNotification.runListeners(
+ SumoPushEventTypes.ON_BACKGROUND_NOTIFICATION,
+ staticEvent,
+ );
};
--- src/redux/Notifications/sagas.ts
@@ -2,10 +2,11 @@ import {takeLatest, call} from 'redux-saga/effects';
import {NotificationTypes} from '.';
import {navigate} from '@walmart/react-native-shared-navigation';
+
export function* routePushNotification(action: any) {
const {pushNotificationEvent} = action;
console.log('invoking navigate method...');
- // yield call(navigate, 'texting.searchScreen');
+ yield call(navigate, 'texting');
console.log(
'*** routePushNotification saga invoked, routing based on event payload ***',
);
| adding a navigator to go to appropriate screen | adding a navigator to go to appropriate screen
|
dc94e039e497977347b034311ae377282936c676 | --- packages/allspark-foundation/src/DeveloperMenu/ConsoleApi.ts
@@ -33,30 +33,32 @@ import { WorkModule } from '../Work';
* allspark.auth.refreshToken(); // Get a new auth token
* allspark.http.cancelRequests(); // Cancel all ongoing HTTP requests
*/
-export const attachConsoleApi = (target: Record<string, any>) => {
- target.allspark = {
- auth: AuthModule.manager,
- clock: ClockModule.manager,
- components: ComponentsModule,
- config: ConfigModule.manager,
- container: ContainerModule.container,
- device: DeviceModule.manager,
- environment: EnvironmentModule.manager,
- feature: FeatureModule.manager,
- graphql: GraphQLModule.client,
- http: HttpModule.client,
- localStorage: LocalStorageModule.factory,
- logger: LoggerModule.factory,
- navigation: NavigationModule.manager,
- navConfig: NavConfigModule.manager,
- network: NetworkModule.manager,
- notification: NotificationModule.manager,
- permissions: PermissionsModule.manager,
- redux: ReduxModule.manager,
- site: SiteModule.manager,
- telemetry: TelemetryModule.factory,
- translation: TranslationModule.client,
- user: UserModule.manager,
- work: WorkModule.manager,
- };
+export const ConsoleApi = {
+ attach: (target: Record<string, any>) => {
+ target.allspark = {
+ auth: AuthModule.manager,
+ clock: ClockModule.manager,
+ components: ComponentsModule,
+ config: ConfigModule.manager,
+ container: ContainerModule.container,
+ device: DeviceModule.manager,
+ environment: EnvironmentModule.manager,
+ feature: FeatureModule.manager,
+ graphql: GraphQLModule.client,
+ http: HttpModule.client,
+ localStorage: LocalStorageModule.factory,
+ logger: LoggerModule.factory,
+ navigation: NavigationModule.manager,
+ navConfig: NavConfigModule.manager,
+ network: NetworkModule.manager,
+ notification: NotificationModule.manager,
+ permissions: PermissionsModule.manager,
+ redux: ReduxModule.manager,
+ site: SiteModule.manager,
+ telemetry: TelemetryModule.factory,
+ translation: TranslationModule.client,
+ user: UserModule.manager,
+ work: WorkModule.manager,
+ };
+ },
};
| chore: renamed expoorted console api attach method | chore: renamed expoorted console api attach method
|
29add48b4d362c56101c93ef6dc81fdcd2430b23 | --- .looper-pr.yml
@@ -4,6 +4,8 @@ tools:
nodejs: 12.4.0
flows:
+ default:
+ - call: pr
pr:
- npm install
- npm run env:dev
| temp adding default flow to check pr flow works | temp adding default flow to check pr flow works
|
9f7c0a43cd4f47cc38edbf799cbe4a9dfad83aec | --- packages/celebration-mini-app-graphql/src/components/Widget/HubCelebrationWidget.tsx
@@ -153,7 +153,7 @@ const HubCelebrationWidgetCore: React.FC<HubCelebrationWidgetProps> = componentP
// Memoize refresh handler to prevent recreating on every render
const handleHubRefresh = useCallback(() => {
- if (!refresh || refresh === lastRefreshValue) return;
+ if (!refresh || refresh === lastRefreshValue) return undefined;
CelebrationGraphQLLogger.info('Celebration widget refresh triggered', {
message: 'Hub refresh triggered for celebration widget',
@@ -179,6 +179,8 @@ const HubCelebrationWidgetCore: React.FC<HubCelebrationWidgetProps> = componentP
refetchCelebrations?.()
.then(() => setIsRefreshLoading(false))
.catch(() => setIsRefreshLoading(false));
+
+ return undefined;
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [refresh, lastRefreshValue, refetchCelebrations]);
--- packages/celebration-mini-app/src/components/CelebrationSections/AnniversarySection.tsx
@@ -28,10 +28,14 @@ export const AnniversarySection: React.FC<AnniversarySectionProps> = ({
showAssociateJobTitle,
teamId,
}) => {
- if (items.length === 0) return null;
+ // Group anniversaries by years of service - MUST be called before any early returns
+ const groupedByYears = React.useMemo(
+ () => groupAnniversariesByYears(items),
+ [items]
+ );
- // Group anniversaries by years of service
- const groupedByYears = groupAnniversariesByYears(items);
+ // Early return AFTER all hooks
+ if (items.length === 0) return null;
return (
<Card UNSAFE_style={styles.sectionCard}>
| feat(ui): update store change functionality | feat(ui): update store change functionality
|
74fc9b6d518c47181ac86cb1489ddd957003227f | --- sr.yaml
@@ -28,4 +28,9 @@ applications:
type: DEVELOPMENT
consumerIdInfos:
- consumerId: 26c20afa-9b30-4799-aa5b-b9da6c07a16e
+ publicKey: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyHyrdLB0o84wsrv5DOk4ez39bx1gUKweE1CuSWKw16MLncT6HaaurbUAX+pzbTEcfNIlchacP1EeHaZ7xAL7Z1EMHFzcoL2zj9h7qBB/OOxie6H6liPn3YxwSjblITe/LaVM4XcRpZ+gb/TDWDSBGMJHvasG3F3QWOq1mgyLUkjqqBsHnNr4BSRGyKRmDtSHPp5lJSoI0akFH+IdWDYcCbEUqBn7btk4ghvFAS5X4qmKt+gB+qOQTJirVJkYLG7vnAYg6GLRR1xC+VKdADp2KOOjlSSBP1i8AOjqK7dCeB+Jvv3wF/fzhQe+JqtLDfEpTXWJQN/nRUV5wTUhsnCvNQIDAQAB
+ - name: prod
+ type: PRODUCTION
+ consumerIdInfos:
+ - consumerId: 382018d3-5841-41dd-8181-fa76a8c6d19b
publicKey: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyHyrdLB0o84wsrv5DOk4ez39bx1gUKweE1CuSWKw16MLncT6HaaurbUAX+pzbTEcfNIlchacP1EeHaZ7xAL7Z1EMHFzcoL2zj9h7qBB/OOxie6H6liPn3YxwSjblITe/LaVM4XcRpZ+gb/TDWDSBGMJHvasG3F3QWOq1mgyLUkjqqBsHnNr4BSRGyKRmDtSHPp5lJSoI0akFH+IdWDYcCbEUqBn7btk4ghvFAS5X4qmKt+gB+qOQTJirVJkYLG7vnAYg6GLRR1xC+VKdADp2KOOjlSSBP1i8AOjqK7dCeB+Jvv3wF/fzhQe+JqtLDfEpTXWJQN/nRUV5wTUhsnCvNQIDAQAB
\ No newline at end of file
| feat(ui): update sr yaml for prod set up | feat(ui): update sr yaml for prod set up
|
5068c58e08b59f180b020fb745f44a48c6f38bb0 | --- src/components/BottomNav.tsx
@@ -36,11 +36,8 @@ export const TabBarStyles = StyleSheet.create({
paddingBottom: TabBarBottomPadding,
},
}),
- // backgroundColor: 'rgba(0, 0, 0, 0.2)',
- },
- tabBarItemStyle: {
- // backgroundColor: 'rgba(0, 0, 0, 0.6)'
},
+ tabBarItemStyle: {},
});
/**
@@ -52,12 +49,10 @@ const styles = StyleSheet.create({
width: 40,
justifyContent: 'center',
alignItems: 'center',
- // backgroundColor: 'red',
marginTop: 2,
},
tabBarLabelWrapper: {
marginTop: 7,
- // backgroundColor: 'gray',
}
});
| chore: remove unused styles | chore: remove unused styles
|
a67e6610adb0f1985f7bc541d094528ac1e3a980 | --- packages/associate-exp-hub-mini-app/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.14.4](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.14.3...@walmart/associate-exp-hub-mini-app@1.14.4) (2026-01-16)
+
+### Bug Fixes
+
+- **ui:** MyWalmart 2.0 VQA Bugs ([7504526](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/75045263131f4a871359ec2943bcd7142682a7cf))
+
## [1.14.3](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.14.2...@walmart/associate-exp-hub-mini-app@1.14.3) (2026-01-13)
### Bug Fixes
--- packages/associate-exp-hub-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-mini-app",
- "version": "1.14.3",
+ "version": "1.14.4",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/associate-exp-hub-team-switcher/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.25.2](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.25.1...@walmart/associate-exp-hub-team-switcher@2.25.2) (2026-01-16)
+
+### Bug Fixes
+
+- **ui:** MyWalmart 2.0 VQA Bugs ([7504526](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/commit/75045263131f4a871359ec2943bcd7142682a7cf))
+
## [2.25.1](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.25.0...@walmart/associate-exp-hub-team-switcher@2.25.1) (2026-01-13)
### Bug Fixes
--- packages/associate-exp-hub-team-switcher/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-team-switcher",
- "version": "2.25.1",
+ "version": "2.25.2",
"description": "Team Switcher module for Associate Experience Hub",
"packageManager": "yarn@4.6.0",
"engines": {
| chore(version): updating package version | chore(version): updating package version
- @walmart/associate-exp-hub-mini-app@1.14.4
- @walmart/associate-exp-hub-team-switcher@2.25.2
|
3f054050eed0508535f0035a87049ff6ee99edd0 | --- packages/allspark-foundation-hub/src/HubFeature/Store/HubHeader/types.ts
@@ -1,6 +1,6 @@
export type HeaderTypes = {
title: string;
- subText: string;
+ subText: string | null;
backgroundColor?: string;
textColor?: string;
noPadding?: boolean;
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Components/ShiftFilter/ShiftFilterList.tsx
@@ -18,7 +18,7 @@ export const ShiftFilterList: React.FC<ShiftFilterListProps> = ({
<>
<HubHeader
title={t('shiftFilter.title')}
- subText={filterListData ? t('shiftFilter.subText') : ''}
+ subText={filterListData ? t('shiftFilter.subText') : null}
backgroundColor={colors.white}
textColor={colors.black}
noPadding
@@ -26,10 +26,9 @@ export const ShiftFilterList: React.FC<ShiftFilterListProps> = ({
{!filterListData && (
<Alert
variant='error'
- children={'Select at least one shift to continue.'}
+ children={t('shiftFilter.mandatoryShiftError')}
/>
)}
-
<View style={styles.container}>
{filterListData?.map(
(item) =>
| Updating type | Updating type
|
5db40e6098cc95b38774c7af9c05ee2568b95f0d | --- package-lock.json
@@ -40,7 +40,7 @@
"@walmart/allspark-neon-core": "0.1.31",
"@walmart/amp-mini-app": "1.1.72",
"@walmart/ask-sam-chat-components": "^0.2.7",
- "@walmart/ask-sam-mini-app": "1.19.4",
+ "@walmart/ask-sam-mini-app": "1.19.5",
"@walmart/attendance-mini-app": "3.10.0",
"@walmart/avp-feature-app": "0.0.32",
"@walmart/avp-shared-library": "0.0.53",
@@ -8443,9 +8443,9 @@
}
},
"node_modules/@walmart/ask-sam-mini-app": {
- "version": "1.19.4",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.19.4.tgz",
- "integrity": "sha512-Bn+HfVW1Q3iJdOASTYdWhNFC/aLoycwedHTQ3eL+oU3t5ANz9IjUbYnAQXGXgp+xSrM3gbCXxdzUe9QZpTiOCQ==",
+ "version": "1.19.5",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.19.5.tgz",
+ "integrity": "sha512-OaWUlDRDWZCEWHKZhxrWgK2XLTfMjf4eY53zTy2q+oX0vqwQKbTuVEstp+w7blpCLsEIgNR09iEcfnetQKY1vQ==",
"license": "NONE",
"dependencies": {
"apisauce": "^1.1.2",
@@ -8462,7 +8462,7 @@
"@walmart/core-services": ">=1.4.11",
"@walmart/core-utils": ">=1.2",
"@walmart/core-widget-registry": ">=0.2",
- "@walmart/gtp-shared-components": ">=2.1.3",
+ "@walmart/gtp-shared-components": ">=2.1.10",
"@walmart/redux-store": ">=3.1.4",
"@walmart/schedule-mini-app": "*",
"@walmart/ui-components": ">=1.5",
@@ -33216,9 +33216,9 @@
}
},
"@walmart/ask-sam-mini-app": {
- "version": "1.19.4",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.19.4.tgz",
- "integrity": "sha512-Bn+HfVW1Q3iJdOASTYdWhNFC/aLoycwedHTQ3eL+oU3t5ANz9IjUbYnAQXGXgp+xSrM3gbCXxdzUe9QZpTiOCQ==",
+ "version": "1.19.5",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.19.5.tgz",
+ "integrity": "sha512-OaWUlDRDWZCEWHKZhxrWgK2XLTfMjf4eY53zTy2q+oX0vqwQKbTuVEstp+w7blpCLsEIgNR09iEcfnetQKY1vQ==",
"requires": {
"apisauce": "^1.1.2",
"axios-cache-adapter": "^2.7.3",
--- package.json
@@ -81,7 +81,7 @@
"@walmart/allspark-neon-core": "0.1.31",
"@walmart/amp-mini-app": "1.1.72",
"@walmart/ask-sam-chat-components": "^0.2.7",
- "@walmart/ask-sam-mini-app": "1.19.4",
+ "@walmart/ask-sam-mini-app": "1.19.5",
"@walmart/attendance-mini-app": "3.10.0",
"@walmart/avp-feature-app": "0.0.32",
"@walmart/avp-shared-library": "0.0.53",
| ask sam version bump - gtp upgrade | ask sam version bump - gtp upgrade
|
47bec28af31ba993c340fb1758a696a8fed7fa8b | --- packages/allspark-foundation/src/Components/ComponentContainers.md
@@ -135,28 +135,6 @@ HomeScreen.remove('emergency-card');
AllsparkComponentContainers.remove('Me@Walmart.HomeScreen', 'emergency-card');
```
-### Typing a ComponentContainer
-
-Due to their shared nature a `ComponentContainer` type should be defined on the global `Allspark` namespace. This allows for other features to more easily discover your components name and typing.
-
-Refer to the [Allspark Types Doc](../Core/docs/GlobalTypes.md) for more information on the global Allspark namespace.
-
-Add your container name and props type under `Allspark.ComponentContainers.Config`. This would be in your `global.d.ts` file:
-
-```ts
-declare global {
- namespace Allspark {
- namespace ComponentContainers {
- interface Config {
- 'Me@Walmart.HomeScreen': {
- value: string;
- };
- }
- }
- }
-}
-```
-
### Example
```tsx
| chore: remove deprecated documentation | chore: remove deprecated documentation |
1b7d912d5e9787d426a82bafb5d1f85f3fd7df92 | --- package-lock.json
@@ -47,7 +47,7 @@
"@walmart/calling-mini-app": "0.1.8",
"@walmart/compass-sdk-rn": "5.18.15",
"@walmart/config-components": "4.2.16",
- "@walmart/copilot-mini-app": "3.58.3",
+ "@walmart/copilot-mini-app": "3.50.6",
"@walmart/core-services": "~2.3.0",
"@walmart/core-services-allspark": "~2.13.5",
"@walmart/core-utils": "~2.0.5",
@@ -8711,15 +8711,14 @@
}
},
"node_modules/@walmart/copilot-mini-app": {
- "version": "3.58.3",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.58.3.tgz",
- "integrity": "sha512-s2tM44pVPIgVRWPzpSo6uRv2AnL+zfOrERGL/DMWu4b/u/DslZWZgc2r4IiZNmqeMh2XCOImzo4wKPjt3aHaBg==",
+ "version": "3.50.6",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.50.6.tgz",
+ "integrity": "sha512-7P9YsR3y/mkRbOWIbDrvC0A/kN5LIoPFqbU3+Xkz0iusyflqXvInlE1yligkX0TiYC1lFuCb4xF77WaWG+gTtA==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
"@react-navigation/stack": "^6.1.0",
"@walmart/core-services": "~2.0.11",
- "@walmart/core-widget-registry": ">=0.2",
"@walmart/gtp-shared-components": "^2.0.0",
"react": "^18.2.0",
"react-native": "~0.70.5"
@@ -33316,9 +33315,9 @@
}
},
"@walmart/copilot-mini-app": {
- "version": "3.58.3",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.58.3.tgz",
- "integrity": "sha512-s2tM44pVPIgVRWPzpSo6uRv2AnL+zfOrERGL/DMWu4b/u/DslZWZgc2r4IiZNmqeMh2XCOImzo4wKPjt3aHaBg=="
+ "version": "3.50.6",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.50.6.tgz",
+ "integrity": "sha512-7P9YsR3y/mkRbOWIbDrvC0A/kN5LIoPFqbU3+Xkz0iusyflqXvInlE1yligkX0TiYC1lFuCb4xF77WaWG+gTtA=="
},
"@walmart/core-services": {
"version": "2.3.2",
--- package.json
@@ -88,7 +88,7 @@
"@walmart/calling-mini-app": "0.1.8",
"@walmart/compass-sdk-rn": "5.18.15",
"@walmart/config-components": "4.2.16",
- "@walmart/copilot-mini-app": "3.58.3",
+ "@walmart/copilot-mini-app": "3.50.6",
"@walmart/core-services": "~2.3.0",
"@walmart/core-services-allspark": "~2.13.5",
"@walmart/core-utils": "~2.0.5",
| chore: bump copilot@3.50.6 | chore: bump copilot@3.50.6
|
39229789e8eaa9ae12eb495952ee7c73a27db02d | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 125
+ versionCode 126
versionName "1.0.11"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>125</string>
+ <string>126</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
| Incrementing build number | Incrementing build number
|
346e934ddf627fc5d5f22b7deff297d4b8f29084 | --- packages/allspark-foundation-hub/__tests__/HubFeature/supplyChain/ShiftFilterList.test.tsx
@@ -113,4 +113,13 @@ describe('ShiftFilterList', () => {
expect(getByTestId('mandatory-shift-error')).toBeTruthy();
});
+
+ it('Test 6: Does not render subText when filterListData is null', () => {
+ const { queryByTestId } = render(
+ <ShiftFilterList {...mockShiftFilterListProps} filterListData={null} />
+ );
+ const subTextElement = queryByTestId('hub-header-subText');
+ const subTextChild = subTextElement?.props.children;
+ expect(subTextChild).toBe(null);
+ });
});
| Adding Test 6 | Adding Test 6
|
65275231ad10309ebcc65068c6214a755cde9b9a | --- .looper-pr.yml
@@ -11,7 +11,7 @@ flows:
- (name Yarn Set Version) yarn set version 4.4.0
- (name Yarn Version) yarn --version
- (name Yarn Install) yarn install
- # - (name Test Coverage) yarn run coverage
+ - (name Test Coverage) yarn run coverage
envs:
| fix(ui): update roster looper smdv-9999 | fix(ui): update roster looper smdv-9999
|
f3ae57cad51e32ee9b19d943b1547ca987018f9b | --- __tests__/__mocks__/@walmart/gtp-shared-components-3.js
@@ -0,0 +1,55 @@
+const React = require('react');
+
+// Try to get actual colors, but provide fallbacks
+let actualColors = {};
+try {
+ const actual = jest.requireActual('@walmart/gtp-shared-components-3');
+ actualColors = actual.colors || {};
+} catch (e) {
+ // Fallback if requireActual fails
+}
+
+// Mock Banner component that includes a close button
+const MockBanner = ({children, testID, onClose, variant}) => {
+ const {View, TouchableOpacity, Text} = require('react-native');
+ return React.createElement(
+ View,
+ {testID, 'data-variant': variant},
+ children,
+ onClose &&
+ React.createElement(
+ TouchableOpacity,
+ {
+ onPress: onClose,
+ accessibilityRole: 'button',
+ testID: 'banner-close-button',
+ },
+ React.createElement(Text, null, 'Close')
+ )
+ );
+};
+
+// Mock Body component to avoid reanimated issues
+const MockBody = ({children, testID, size, ...props}) => {
+ const {Text} = require('react-native');
+ return React.createElement(
+ Text,
+ {testID: testID || 'Body', accessibilityRole: 'text', ...props},
+ children
+ );
+};
+
+module.exports = {
+ Tag: 'Tag',
+ Banner: MockBanner,
+ Body: MockBody,
+ colors: {
+ ...actualColors,
+ green: actualColors.green || {},
+ gray: actualColors.gray || {},
+ blue: actualColors.blue || {},
+ spark: actualColors.spark || {},
+ black: actualColors.black || {},
+ },
+};
+
--- __tests__/__mocks__/@walmart/gtp-shared-components.js
@@ -1,4 +1,4 @@
module.exports = {
- ...jest.requireActual('@walmart/gtp-shared-components'),
+ ...jest.requireActual('@walmart/gtp-shared-components-3'),
Tag: 'Tag',
};
--- __tests__/components/WarningBanner.test.tsx
@@ -14,7 +14,34 @@ jest.mock('react-redux', () => ({
useSelector: jest.fn(),
}));
-describe('WarningBanner component', () => {
+// Mock the gtp-shared-components-3 Banner and Body components
+jest.mock('@walmart/gtp-shared-components-3', () => {
+ const React = require('react');
+ const {View, TouchableOpacity, Text} = require('react-native');
+
+ return {
+ Banner: ({children, testID, onClose}: any) =>
+ React.createElement(
+ View,
+ {testID},
+ children,
+ onClose &&
+ React.createElement(
+ TouchableOpacity,
+ {onPress: onClose, accessibilityRole: 'button'},
+ React.createElement(Text, null, 'Close')
+ )
+ ),
+ Body: ({children, testID}: any) =>
+ React.createElement(Text, {testID: testID || 'Body'}, children),
+ };
+});
+
+// TODO: These tests are currently skipped due to reanimated mocking issues with gtp-shared-components-3
+// The component itself works correctly (verified by TypeScript compilation and manual testing)
+// The issue is with the test setup and Banner/Body component mocking
+// See https://github.com/software-mansion/react-native-reanimated/issues/3125 for similar issues
+describe.skip('WarningBanner component', () => {
it('should render when dismissBanner is false', () => {
(useSelector as jest.Mock).mockReturnValue(true);
(useState as jest.Mock).mockReturnValue([false, jest.fn()]);
@@ -30,11 +57,12 @@ describe('WarningBanner component', () => {
});
it('should trigger onClose when pressed', () => {
+ const mockSetDismissBanner = jest.fn();
(useSelector as jest.Mock).mockReturnValue(true);
- (useState as jest.Mock).mockReturnValue([false, jest.fn()]);
+ (useState as jest.Mock).mockReturnValue([false, mockSetDismissBanner]);
const warningBanner = renderWithProviders(<WarningBanner />);
- const button = warningBanner.getByTestId('warningBanner');
- fireEvent.press(button.props.children[2], 'close');
- expect(useState).toHaveBeenCalled();
+ const button = warningBanner.getByRole('button');
+ fireEvent.press(button);
+ expect(mockSetDismissBanner).toHaveBeenCalledWith(true);
});
});
--- __tests__/setup.ts
@@ -6,6 +6,7 @@ import 'react-native-gesture-handler/jestSetup';
jest.mock('react-native/Libraries/EventEmitter/NativeEventEmitter');
jest.mock('@react-native-community/netinfo', () => mockRNCNetInfo);
+
jest.mock('react-native-reanimated', () => {
const Reanimated = require('react-native-reanimated/mock');
Reanimated.default.call = () => {};
@@ -13,18 +14,6 @@ jest.mock('react-native-reanimated', () => {
});
// jest.mock('react-native/Libraries/Animated/NativeAnimatedHelper');
-jest.mock('@walmart/gtp-shared-components', () => ({
- ...jest.requireActual('@walmart/gtp-shared-components'),
- Tag: jest.fn(),
- colors: {
- green: jest.fn(),
- gray: jest.fn(),
- blue: jest.fn(),
- spark: jest.fn(),
- black: jest.fn(),
- },
-}));
-
jest.mock('expo-modules-core', () => {
return {
NativeModulesProxy: {},
@@ -57,7 +46,7 @@ jest.mock('@walmart/allspark-foundation/Components', () => ({
})),
}));
-jest.mock('@walmart/allspark-foundation/Components/context', () => ({
+jest.mock('@walmart/allspark-foundation/Components', () => ({
AllsparkContext: {
Provider: jest.fn(({ children }) => children),
Consumer: jest.fn(),
@@ -69,9 +58,9 @@ jest.mock('@walmart/allspark-foundation/Components/context', () => ({
},
}), {virtual: true});
-jest.mock('@walmart/roster-mini-app', () =>
- jest.requireActual('@walmart/roster-mini-app'),
-);
+jest.mock('@walmart/roster-mini-app', () => ({
+ // Mock only what's needed from roster-mini-app
+}));
jest.doMock('@walmart/wmconnect-mini-app', () => ({
PresenceProvider: jest.fn().mockImplementation((children) => {
@@ -82,9 +71,13 @@ jest.doMock('@walmart/wmconnect-mini-app', () => ({
},
}));
-jest.mock('@walmart/me-at-walmart-common', () =>
- jest.requireActual('@walmart/me-at-walmart-common'),
-);
+jest.mock('@walmart/me-at-walmart-common', () => {
+ const React = require('react');
+ const {View} = require('react-native');
+ return {
+ AskSam: jest.fn(() => React.createElement(View, {testID: 'ask-sam'})),
+ };
+});
// jest.mock('expo-image', () => jest.requireActual('expo-image'));
jest.mock('expo-image', () => ({
--- containers/plugins/component-plugin.tsx
@@ -1,5 +1,5 @@
import React from 'react';
-import {Body, Card, CardContent} from '@walmart/gtp-shared-components';
+import {Body, Card, CardContent} from '@walmart/gtp-shared-components-3';
export const ExampleComponentPlugin = {
name: 'component-plugin',
--- src/components/TeamHubButton.tsx
@@ -1,5 +1,5 @@
import React from 'react';
-import {Button} from '@walmart/gtp-shared-components';
+import {Button} from '@walmart/gtp-shared-components-3';
import {StyleSheet, Text} from 'react-native';
export const style = StyleSheet.create({
--- src/components/WarningBanner.tsx
@@ -1,5 +1,5 @@
import React, {useCallback, useState} from 'react';
-import {Body, Banner} from '@walmart/gtp-shared-components';
+import {Body, Banner} from '@walmart/gtp-shared-components-3';
import {useSelector} from 'react-redux';
import {
shouldDisplayWarningBanner,
| feat(ui): update test fixes | feat(ui): update test fixes
|
8a5fa4d3e30a6cd18d7c4ed86b3e9def94fb8042 | --- src/queries/getTeamById.ts
@@ -22,6 +22,8 @@ export type GetTeamByIdQuery = {
site?: string | null;
teamId?: string | null;
teamName?: string | null;
+ workgroup?: string | null;
+ workgroupId?: string | null;
} | null;
};
--- src/queries/getTeamsbyStore.graphql
@@ -11,4 +11,4 @@ query GetTeamsByStore($countryCode: String!, $date: Date!, $storeNbr: String!) {
workgroup
workgroupId
}
-}
+}
\ No newline at end of file
--- src/queries/getTeamsbyStore.ts
@@ -41,6 +41,8 @@ export const GetTeamsByStoreDocument = gql`
site
teamId
teamName
+ workgroup
+ workgroupId
}
}
`;
--- src/queries/getTeamById.ts
@@ -22,6 +22,8 @@ export type GetTeamByIdQuery = {
site?: string | null;
teamId?: string | null;
teamName?: string | null;
+ workgroup?: string | null;
+ workgroupId?: string | null;
} | null;
};
--- src/queries/getTeamsbyStore.graphql
@@ -11,4 +11,4 @@ query GetTeamsByStore($countryCode: String!, $date: Date!, $storeNbr: String!) {
workgroup
workgroupId
}
-}
+}
\ No newline at end of file
--- src/queries/getTeamsbyStore.ts
@@ -41,6 +41,8 @@ export const GetTeamsByStoreDocument = gql`
site
teamId
teamName
+ workgroup
+ workgroupId
}
}
`;
| updating results from generate | updating results from generate
|
42fe9f05e085368964d992bcc328aa305a6def2d | --- android/app/build.gradle
@@ -96,8 +96,8 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 921
- versionName "1.18.0"
+ versionCode 923
+ versionName "1.19.0"
}
signingConfigs {
--- ios/AllSpark/Info.plist
@@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.18.0</string>
+ <string>1.19.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -42,7 +42,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>920</string>
+ <string>922</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
--- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "allspark-main",
- "version": "1.18.0",
+ "version": "1.19.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "allspark-main",
- "version": "1.18.0",
+ "version": "1.19.0",
"hasInstallScript": true,
"dependencies": {
"@firebase/firestore-types": "^2.5.1",
--- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.18.0",
+ "version": "1.19.0",
"private": true,
"scripts": {
"android": "react-native run-android",
| version bump v1.19.0 | version bump v1.19.0
|
0d30ac372f0b2b41baf719169bdf47151c883c54 | --- package-lock.json
@@ -3038,9 +3038,9 @@
}
},
"@walmart/ask-sam-mini-app": {
- "version": "0.10.38",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.10.38.tgz",
- "integrity": "sha512-9ZdJHiYatCI5Sx3OQ9i6FFBM4BXO+8GlXFMv4lzLYbSMfhq99gosLgU7g8EMFgPqz8OzdjlwakIW+DquhRrpkw==",
+ "version": "0.10.39",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.10.39.tgz",
+ "integrity": "sha512-z4JC81W4LKJ++O/o8qSeeq+9QANYO+lCAdKQSY2ElKRslkjQxKlr0qQNINzPs5mBZMp5/NjQvVdcuiuSyDKS3Q==",
"requires": {
"apisauce": "^1.1.2",
"lodash": "^4.17.19",
--- package.json
@@ -62,7 +62,7 @@
"@walmart/allspark-health-survey-mini-app": "0.0.31",
"@walmart/allspark-home-mini-app": "0.1.11",
"@walmart/allspark-me-mini-app": "0.0.22",
- "@walmart/ask-sam-mini-app": "0.10.38",
+ "@walmart/ask-sam-mini-app": "0.10.39",
"@walmart/config-components": "1.0.14",
"@walmart/feedback-all-spark-miniapp": "0.0.42",
"@walmart/functional-components": "1.0.25",
| fix ask sam to no use feedback with image for external network (#442) | fix ask sam to no use feedback with image for external network (#442)
|
5df55a0a581d39891b34b46b22c0fb779d393d75 | --- package-lock.json
@@ -43,7 +43,7 @@
"@walmart/attendance-mini-app": "1.62.13",
"@walmart/compass-sdk-rn": "5.18.9",
"@walmart/config-components": "4.2.13",
- "@walmart/copilot-mini-app": "^3.26.4",
+ "@walmart/copilot-mini-app": "3.26.4",
"@walmart/core-services": "~2.3.0",
"@walmart/core-services-allspark": "~2.13.4",
"@walmart/core-utils": "~2.0.5",
@@ -60,7 +60,7 @@
"@walmart/impersonation-mini-app": "1.20.7",
"@walmart/ims-print-services-ui": "2.7.3",
"@walmart/inbox-mini-app": "0.89.2",
- "@walmart/iteminfo-mini-app": "7.8.1",
+ "@walmart/iteminfo-mini-app": "7.8.2",
"@walmart/learning-mini-app": "17.0.4",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/metrics-mini-app": "0.17.9",
@@ -9046,20 +9046,21 @@
}
},
"node_modules/@walmart/iteminfo-mini-app": {
- "version": "7.8.1",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.8.1.tgz",
- "integrity": "sha512-ubfb7ZzRLLYjF47yZ3sQfnTtxKG2mUlKZ76AvSFSfBC37UR8gMYH4Ng1H5F2D6iQJ60Fk7E3vr0btWGpySkUsQ==",
+ "version": "7.8.2",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.8.2.tgz",
+ "integrity": "sha512-FrhiEoBDKQ1UFFCyLq+XfJaLtpFwq2rWdCDZ3I8KFwxqdP3ypXSc6YMuKZQ17POBoQcKAd+BsyUyLAMbyFHJ+w==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/drawer": ">=6.3.0",
"@react-navigation/native": ">=6.0.0",
"@react-navigation/stack": ">=6.1.0",
+ "@walmart/allspark-utils": ">=1.5.2",
"@walmart/ask-sam-mini-app": ">=1.15.4",
"@walmart/config-components": ">=4.2.8",
"@walmart/core-services": ">=2.2.1",
"@walmart/counts-component-miniapp": ">=0.0.21",
"@walmart/functional-components": ">=4.0.3",
- "@walmart/gtp-shared-components": ">=2.1.3",
+ "@walmart/gtp-shared-components": ">=2.1.7",
"@walmart/ims-print-services-ui": ">=2.7.1",
"@walmart/price-changes-mini-app": ">=1.4.5",
"@walmart/react-native-env": ">=0.2.0",
@@ -33343,9 +33344,9 @@
}
},
"@walmart/iteminfo-mini-app": {
- "version": "7.8.1",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.8.1.tgz",
- "integrity": "sha512-ubfb7ZzRLLYjF47yZ3sQfnTtxKG2mUlKZ76AvSFSfBC37UR8gMYH4Ng1H5F2D6iQJ60Fk7E3vr0btWGpySkUsQ=="
+ "version": "7.8.2",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.8.2.tgz",
+ "integrity": "sha512-FrhiEoBDKQ1UFFCyLq+XfJaLtpFwq2rWdCDZ3I8KFwxqdP3ypXSc6YMuKZQ17POBoQcKAd+BsyUyLAMbyFHJ+w=="
},
"@walmart/learning-mini-app": {
"version": "17.0.4",
--- package.json
@@ -101,7 +101,7 @@
"@walmart/impersonation-mini-app": "1.20.7",
"@walmart/ims-print-services-ui": "2.7.3",
"@walmart/inbox-mini-app": "0.89.2",
- "@walmart/iteminfo-mini-app": "7.8.1",
+ "@walmart/iteminfo-mini-app": "7.8.2",
"@walmart/learning-mini-app": "17.0.4",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/metrics-mini-app": "0.17.9",
| bump up ItemInfo to 7.8.2 | bump up ItemInfo to 7.8.2
|
300e046b895b618fbbadd657339c8f573b4479d6 | --- src/components/Avatar.tsx
@@ -14,7 +14,7 @@ import {useGetAssociateNameQuery} from '../queries/getAssociateName';
import {IdType} from '../queries/schema.types';
import {associateDisplayName, decryptUserId} from '../utils';
import {getGraphQLConfig} from '../services/config';
-import {getEnvContext} from '@walmart/core-services/Environment';
+import {useEnvironment} from '@walmart/core-services/Environment';
const styles = StyleSheet.create({
avatarContainer: {
@@ -63,6 +63,7 @@ export const Avatar = (props: AvatarProps) => {
} = props;
const [initials, setInitials] = useState<string>();
const viewerName: string = useSelector(UserSelectors.getUserName);
+ const envConfig = useEnvironment();
const {loading, data} = useGetAssociateNameQuery({
variables: {
@@ -71,7 +72,7 @@ export const Avatar = (props: AvatarProps) => {
},
errorPolicy: 'all',
skip: viewer,
- context: getGraphQLConfig(getEnvContext()!),
+ context: getGraphQLConfig(envConfig),
});
useEffect(() => {
--- src/hooks/roster.ts
@@ -5,7 +5,7 @@ import {useGetDailyRosterQuery} from '../queries/getDailyRoster';
import {useGetAssociateNameQuery} from '../queries/getAssociateName';
import {IdType} from '../queries/schema.types';
// import {useDailyRosterMock} from '../mocks';
-import {getEnvContext} from '@walmart/core-services/Environment';
+import {useEnvironment} from '@walmart/core-services/Environment';
import {getGraphQLConfig} from '../services/config';
export const useDailyRoster = () => {
@@ -16,6 +16,7 @@ export const useDailyRoster = () => {
const countryCode: string | undefined = useSelector(
SiteSelectors.getSiteCountry,
);
+ const envConfig = useEnvironment();
return useGetDailyRosterQuery({
variables: {
@@ -29,11 +30,12 @@ export const useDailyRoster = () => {
fetchPolicy: 'network-only', // For the first query execution
nextFetchPolicy: 'cache-and-network', // For the subsequent query execution
skip: !storeId || !countryCode,
- context: getGraphQLConfig(getEnvContext()!),
+ context: getGraphQLConfig(envConfig),
});
};
export const useGetAssociateId = (userWin: string) => {
+ const envConfig = useEnvironment();
const {data} = useGetAssociateNameQuery({
variables: {
id: userWin,
@@ -41,7 +43,7 @@ export const useGetAssociateId = (userWin: string) => {
},
errorPolicy: 'all',
skip: !userWin,
- context: getGraphQLConfig(getEnvContext()!),
+ context: getGraphQLConfig(envConfig),
});
return data?.getAssociateById?.associateId || '';
};
--- src/components/Avatar.tsx
@@ -14,7 +14,7 @@ import {useGetAssociateNameQuery} from '../queries/getAssociateName';
import {IdType} from '../queries/schema.types';
import {associateDisplayName, decryptUserId} from '../utils';
import {getGraphQLConfig} from '../services/config';
-import {getEnvContext} from '@walmart/core-services/Environment';
+import {useEnvironment} from '@walmart/core-services/Environment';
const styles = StyleSheet.create({
avatarContainer: {
@@ -63,6 +63,7 @@ export const Avatar = (props: AvatarProps) => {
} = props;
const [initials, setInitials] = useState<string>();
const viewerName: string = useSelector(UserSelectors.getUserName);
+ const envConfig = useEnvironment();
const {loading, data} = useGetAssociateNameQuery({
variables: {
@@ -71,7 +72,7 @@ export const Avatar = (props: AvatarProps) => {
},
errorPolicy: 'all',
skip: viewer,
- context: getGraphQLConfig(getEnvContext()!),
+ context: getGraphQLConfig(envConfig),
});
useEffect(() => {
--- src/hooks/roster.ts
@@ -5,7 +5,7 @@ import {useGetDailyRosterQuery} from '../queries/getDailyRoster';
import {useGetAssociateNameQuery} from '../queries/getAssociateName';
import {IdType} from '../queries/schema.types';
// import {useDailyRosterMock} from '../mocks';
-import {getEnvContext} from '@walmart/core-services/Environment';
+import {useEnvironment} from '@walmart/core-services/Environment';
import {getGraphQLConfig} from '../services/config';
export const useDailyRoster = () => {
@@ -16,6 +16,7 @@ export const useDailyRoster = () => {
const countryCode: string | undefined = useSelector(
SiteSelectors.getSiteCountry,
);
+ const envConfig = useEnvironment();
return useGetDailyRosterQuery({
variables: {
@@ -29,11 +30,12 @@ export const useDailyRoster = () => {
fetchPolicy: 'network-only', // For the first query execution
nextFetchPolicy: 'cache-and-network', // For the subsequent query execution
skip: !storeId || !countryCode,
- context: getGraphQLConfig(getEnvContext()!),
+ context: getGraphQLConfig(envConfig),
});
};
export const useGetAssociateId = (userWin: string) => {
+ const envConfig = useEnvironment();
const {data} = useGetAssociateNameQuery({
variables: {
id: userWin,
@@ -41,7 +43,7 @@ export const useGetAssociateId = (userWin: string) => {
},
errorPolicy: 'all',
skip: !userWin,
- context: getGraphQLConfig(getEnvContext()!),
+ context: getGraphQLConfig(envConfig),
});
return data?.getAssociateById?.associateId || '';
};
| update consumer id for all the texting mini app queries | update consumer id for all the texting mini app queries
|
4b5b07ba2bd568c3ca451aa71e14cdba70a33b7a | --- ios/Podfile.lock
@@ -1589,7 +1589,7 @@ PODS:
- FirebaseMessaging (<= 10.18.0)
- StructuredLogAssistantIOS (= 0.0.7)
- TOCropViewController (2.6.1)
- - topstock-mini-app (1.4.8):
+ - topstock-mini-app (1.4.14):
- React
- VisionCamera (3.6.13):
- React
@@ -2205,7 +2205,7 @@ SPEC CHECKSUMS:
StructuredLogAssistantIOS: d48c327b3b67366d954435891dc1e748a6aeb9c1
SumoSDK: 95c692d2e6644ca3c2cd1a856aa823e163acac45
TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863
- topstock-mini-app: 087f72475c79e70547919002f5e8a7cd1e0a149c
+ topstock-mini-app: 8e69ec44fe803535dd89283ac1f7dfaba0191f77
VisionCamera: 68e892a9d36105b59395cd3e9518c7828fa9d3e0
walmart-react-native-sumo-sdk: f596733b7121809fcc6366e3c858384f530d5868
wifi-store-locator: 501fca0a220c725ed93ab403635c0f246a8ce7e3
--- package-lock.json
@@ -88,7 +88,7 @@
"@walmart/taskit-mini-app": "2.49.7",
"@walmart/texting-mini-app": "2.1.4",
"@walmart/time-clock-mini-app": "2.175.2",
- "@walmart/topstock-mini-app": "1.4.8",
+ "@walmart/topstock-mini-app": "1.4.14",
"@walmart/ui-components": "1.15.1",
"@walmart/welcomeme-mini-app": "0.85.0",
"@walmart/wfm-ui": "0.2.26",
@@ -9891,9 +9891,9 @@
"license": "GPL-3.0-or-later"
},
"node_modules/@walmart/topstock-mini-app": {
- "version": "1.4.8",
- "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.4.8.tgz",
- "integrity": "sha512-ktdpX7I3qLvpfisz32AC5IAhK5l6PPUT2De4qQnJYg63Oy8gUbk6RwUyBCBGDfXZl4jCYiN6ek7K22uIRtYp4w==",
+ "version": "1.4.14",
+ "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.4.14.tgz",
+ "integrity": "sha512-jo9TfUvG4UlL+Dep7LY1X2+k0Vls2t8RziKiK3zQJto72vQL0Lrjw+yQJl5k9BuIdeVBQcB305FeN68yiI1yZw==",
"peerDependencies": {
"@react-native-firebase/app": "^15.1.1",
"@react-native-firebase/crashlytics": "^15.1.1",
@@ -33487,9 +33487,9 @@
"integrity": "sha1-QVwJoEY4zaaC39G6HDOGH7COw/Y="
},
"@walmart/topstock-mini-app": {
- "version": "1.4.8",
- "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.4.8.tgz",
- "integrity": "sha512-ktdpX7I3qLvpfisz32AC5IAhK5l6PPUT2De4qQnJYg63Oy8gUbk6RwUyBCBGDfXZl4jCYiN6ek7K22uIRtYp4w=="
+ "version": "1.4.14",
+ "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.4.14.tgz",
+ "integrity": "sha512-jo9TfUvG4UlL+Dep7LY1X2+k0Vls2t8RziKiK3zQJto72vQL0Lrjw+yQJl5k9BuIdeVBQcB305FeN68yiI1yZw=="
},
"@walmart/ui-components": {
"version": "1.15.1",
@@ -45083,4 +45083,4 @@
}
}
}
-}
\ No newline at end of file
+}
--- package.json
@@ -129,7 +129,7 @@
"@walmart/taskit-mini-app": "2.49.7",
"@walmart/texting-mini-app": "2.1.4",
"@walmart/time-clock-mini-app": "2.175.2",
- "@walmart/topstock-mini-app": "1.4.8",
+ "@walmart/topstock-mini-app": "1.4.14",
"@walmart/ui-components": "1.15.1",
"@walmart/welcomeme-mini-app": "0.85.0",
"@walmart/wfm-ui": "0.2.26",
| feature(release): Updated topstock version to 1.4.14 | feature(release): Updated topstock version to 1.4.14
|
e59df4531b545311d1b362e6e6a7cce3da134c13 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.48.0",
+ "version": "1.49.0",
"main": "dist/index.js",
"files": [
"dist"
@@ -81,7 +81,7 @@
"@typescript-eslint/parser": "^5.37.0",
"@walmart/allspark-authentication": "6.1.4",
"@walmart/allspark-foundation": "6.20.0",
- "@walmart/allspark-foundation-hub": "1.3.14",
+ "@walmart/allspark-foundation-hub": "1.3.15",
"@walmart/allspark-graphql-client": "^1.4.6",
"@walmart/allspark-http-client": "6.1.4",
"@walmart/config-components": "4.4.0",
@@ -99,7 +99,7 @@
"@walmart/react-native-shared-navigation": "6.1.4",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "3.7.0",
- "@walmart/roster-mini-app": "2.54.0",
+ "@walmart/roster-mini-app": "2.55.0",
"@walmart/ui-components": "1.15.1",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
--- yarn.lock
@@ -5992,9 +5992,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation-hub@npm:1.3.14":
- version: 1.3.14
- resolution: "@walmart/allspark-foundation-hub@npm:1.3.14"
+"@walmart/allspark-foundation-hub@npm:1.3.15":
+ version: 1.3.15
+ resolution: "@walmart/allspark-foundation-hub@npm:1.3.15::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation-hub%2F-%2Fallspark-foundation-hub-1.3.15.tgz"
dependencies:
"@reduxjs/toolkit": "npm:^1.9.7"
"@shopify/flash-list": "npm:~1.6.4"
@@ -6010,7 +6010,7 @@ __metadata:
react: "*"
react-native: "*"
react-native-safe-area-context: 4.x
- checksum: 10c0/5f80c2f6bb2bcd4c1c0865a56211f124baf9d9d937daeef9f92fc3b0022c69c8944d00b401b6eb4d65389b5e832bfc6eba9b4e196fda9ffc616aaab07db241eb
+ checksum: 10c0/bea4c0d15d9c2787514c88e1336cd862535f9e8ea4d0d8248f2003232dc0b1d3b9c5b3cfcec61eb8ee469c2042016029ead0a4065eb2a3eac45edeb3d9f8af36
languageName: node
linkType: hard
@@ -6398,7 +6398,7 @@ __metadata:
"@typescript-eslint/parser": "npm:^5.37.0"
"@walmart/allspark-authentication": "npm:6.1.4"
"@walmart/allspark-foundation": "npm:6.20.0"
- "@walmart/allspark-foundation-hub": "npm:1.3.14"
+ "@walmart/allspark-foundation-hub": "npm:1.3.15"
"@walmart/allspark-graphql-client": "npm:^1.4.6"
"@walmart/allspark-http-client": "npm:6.1.4"
"@walmart/config-components": "npm:4.4.0"
@@ -6416,7 +6416,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.54.0"
+ "@walmart/roster-mini-app": "npm:2.55.0"
"@walmart/ui-components": "npm:1.15.1"
babel-jest: "npm:^29.2.1"
chance: "npm:^1.1.11"
@@ -6597,9 +6597,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:2.54.0":
- version: 2.54.0
- resolution: "@walmart/roster-mini-app@npm:2.54.0"
+"@walmart/roster-mini-app@npm:2.55.0":
+ version: 2.55.0
+ resolution: "@walmart/roster-mini-app@npm:2.55.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2F%40walmart%2Froster-mini-app-2.55.0.tgz"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6641,7 +6641,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/a4865e47033e684f4f3e746431d69ea780f90bdbe1d6d70b3d0ab2fbb2a07e17236f5bc75552e3a66bcb67dcc7ea3b9bd2b499d8d71ec7e9691db6484947c2df
+ checksum: 10c0/bd7bd7087adcb5a11077d63a97b1573a1afa1a8f1d7c39f7e2a7f496486870ad931d1f8da32f0c32e3abd468fece82c7e2cf5bdce1952fa35622ea23548af92b
languageName: node
linkType: hard
| Update the myteam changes for looper | Update the myteam changes for looper
|
1082ce1d50a0fa8c34b880afff7cb54cebd2334e | --- package-lock.json
@@ -97,7 +97,7 @@
"@walmart/receipt-check-miniapp": "1.21.2",
"@walmart/redux-store": "6.0.16",
"@walmart/returns-mini-app": "4.6.0",
- "@walmart/rfid-scan-mini-app": "2.2.8",
+ "@walmart/rfid-scan-mini-app": "2.3.10",
"@walmart/roster-mini-app": "1.1.7",
"@walmart/schedule-mini-app": "0.105.0",
"@walmart/shelfavailability-mini-app": "1.5.23",
@@ -12389,15 +12389,16 @@
}
},
"node_modules/@walmart/rfid-scan-mini-app": {
- "version": "2.2.8",
- "resolved": "https://npme.walmart.com/@walmart/rfid-scan-mini-app/-/rfid-scan-mini-app-2.2.8.tgz",
- "integrity": "sha512-pKTiyDnRyGOAQexNfZlIwOfKkXUOv2NwNQ7TwM9FXLEg6lGXUa91bZuevCuv06BwqqyXr59LDXd39uv50WBiWg==",
+ "version": "2.3.10",
+ "resolved": "https://npme.walmart.com/@walmart/rfid-scan-mini-app/-/rfid-scan-mini-app-2.3.10.tgz",
+ "integrity": "sha512-GvJtFvKN1v/ouIh221qMO0ISpH4xdDK2hAGWG16g7c19XnhmRIQ/y0l7mcfUj6ciwM7EvJhTHpyzBqlwwqdTmQ==",
"peerDependencies": {
"@react-navigation/native": ">=6.0.0",
"@react-navigation/stack": ">=6.1.0",
"@walmart/functional-components": ">=4.0.3",
"@walmart/gtp-shared-components": ">=2.1.3",
- "@walmart/native-rfid-scanner": ">=3.7.3",
+ "@walmart/ims-print-services-ui": "^2.10.3",
+ "@walmart/native-rfid-scanner": ">=3.9.9",
"@walmart/react-native-scanner-3.0": ">=0.3.0",
"@walmart/redux-store": ">=3.1.7",
"@walmart/ui-components": ">=1.15.1",
--- package.json
@@ -139,7 +139,7 @@
"@walmart/receipt-check-miniapp": "1.21.2",
"@walmart/redux-store": "6.0.16",
"@walmart/returns-mini-app": "4.6.0",
- "@walmart/rfid-scan-mini-app": "2.2.8",
+ "@walmart/rfid-scan-mini-app": "2.3.10",
"@walmart/roster-mini-app": "1.1.7",
"@walmart/schedule-mini-app": "0.105.0",
"@walmart/shelfavailability-mini-app": "1.5.23",
@@ -401,7 +401,7 @@
"@walmart/receipt-check-miniapp": "1.21.2",
"@walmart/redux-store": "6.0.16",
"@walmart/returns-mini-app": "4.6.0",
- "@walmart/rfid-scan-mini-app": "2.2.8",
+ "@walmart/rfid-scan-mini-app": "2.3.10",
"@walmart/schedule-mini-app": "0.105.0",
"@walmart/shelfavailability-mini-app": "1.5.23",
"@walmart/store-feature-orders": "1.26.7",
| Update rfid-scan-mini-app to 2.3.10 | Update rfid-scan-mini-app to 2.3.10
|
1300caa0b589383609c0a679b9b8341fc48b1f21 | --- packages/allspark-foundation-hub/src/HubFeature/Store/HubHeader/index.tsx
@@ -11,8 +11,9 @@ export const HubHeader = ({
subText,
backgroundColor,
textColor,
+ noPadding,
}: HeaderTypes) => {
- const styles = HeaderStyles(backgroundColor, textColor);
+ const styles = HeaderStyles(backgroundColor, textColor, noPadding);
return (
<View accessible style={styles.container} testID='container'>
<Body
| Adding noPadding to the component | Adding noPadding to the component
|
ea819263207c06ce1e48e8ef4c9b6715fb80cb87 | --- core/__tests__/__mocks__/@walmart/money-auth-shared-components.js
@@ -1,4 +1,6 @@
module.exports = {
__esModule: true,
- AuthScreen: 'AuthScreen',
+ default: {
+ buildAllScreens: () => 'AuthScreen',
+ },
};
--- core/__tests__/__mocks__/@walmart/pay-stub-miniapp.js
@@ -1,4 +1,6 @@
module.exports = {
__esModule: true,
- PayStubMiniApp: 'PayStubMiniApp',
+ default: {
+ buildAllScreens: () => 'PaystubScreen',
+ },
};
--- core/__tests__/__mocks__/@walmart/payrollsolution_miniapp.js
@@ -1,8 +1,6 @@
module.exports = {
__esModule: true,
- default: 'PaymentSelectionMiniApp',
+ default: {
+ buildAllScreens: () => 'PaymentSelectionScreen',
+ },
};
-
-jest.mock('@walmart/payrollsolution_miniapp', () => ({
- directDepositMiniApp: 'PaymentSelection',
-}));
--- core/__tests__/navigation/USHallway/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap
@@ -294,15 +294,6 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
}
}
/>
- <Screen
- component={[Function]}
- name="paymentselection"
- options={
- {
- "headerShown": false,
- }
- }
- />
<Screen
component={[Function]}
name="WmPlus"
@@ -312,15 +303,6 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
}
}
/>
- <Screen
- component={[Function]}
- name="paystub"
- options={
- {
- "headerShown": false,
- }
- }
- />
<Screen
component={[Function]}
name="associateListening.survey"
@@ -330,15 +312,6 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
}
}
/>
- <Screen
- component={[Function]}
- name="money.auth"
- options={
- {
- "headerShown": true,
- }
- }
- />
<Screen
component={[Function]}
name="FWB"
@@ -683,6 +656,9 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
/>
ManagerApprovalScreens
TranslatorScreens
+ PaymentSelectionScreen
+ PaystubScreen
+ AuthScreen
</Navigator>
`;
@@ -980,15 +956,6 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
}
}
/>
- <Screen
- component={[Function]}
- name="paymentselection"
- options={
- {
- "headerShown": false,
- }
- }
- />
<Screen
component={[Function]}
name="WmPlus"
@@ -998,15 +965,6 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
}
}
/>
- <Screen
- component={[Function]}
- name="paystub"
- options={
- {
- "headerShown": false,
- }
- }
- />
<Screen
component={[Function]}
name="associateListening.survey"
@@ -1016,15 +974,6 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
}
}
/>
- <Screen
- component={[Function]}
- name="money.auth"
- options={
- {
- "headerShown": true,
- }
- }
- />
<Screen
component={[Function]}
name="FWB"
@@ -1369,5 +1318,8 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
/>
ManagerApprovalScreens
TranslatorScreens
+ PaymentSelectionScreen
+ PaystubScreen
+ AuthScreen
</Navigator>
`;
--- core/src/navigation/USHallway/AssociateHallwayNav/MainStackNav.tsx
@@ -35,8 +35,8 @@ import ManagerApprovalsFeature from '@walmart/manager-approvals-miniapp';
import MetricsFeature from '@walmart/metrics-mini-app';
import {ModFlexMiniApp} from '@walmart/mod-flex-mini-app';
import PayStubMiniApp from '@walmart/pay-stub-miniapp';
-import PaymentSelectionMiniApp from '@walmart/payrollsolution_miniapp/src';
-import MoneyAuth from '@walmart/money-auth-shared-components/src';
+import PaymentSelectionMiniApp from '@walmart/payrollsolution_miniapp';
+import MoneyAuth from '@walmart/money-auth-shared-components';
import {PriceChangesMiniApp} from '@walmart/price-changes-mini-app';
import {
CertificationsNav,
@@ -356,15 +356,6 @@ const MiniAppScreens = createMiniAppScreens(MainStack, [
},
clockCheckEnabled: false,
},
- // {
- // featureId: MINI_APPS.PAYROLL,
- // name: 'paymentselection',
- // component: PaymentSelectionMiniApp,
- // options: {
- // headerShown: false,
- // },
- // clockCheckEnabled: false,
- // },
{
featureId: 'wm_plus',
name: 'WmPlus',
@@ -374,15 +365,6 @@ const MiniAppScreens = createMiniAppScreens(MainStack, [
},
clockCheckEnabled: false,
},
- // {
- // featureId: 'paystub',
- // name: 'paystub',
- // component: PayStubMiniApp,
- // options: {
- // headerShown: false,
- // },
- // clockCheckEnabled: false,
- // },
{
featureId: 'survey',
name: 'associateListening.survey',
@@ -392,15 +374,6 @@ const MiniAppScreens = createMiniAppScreens(MainStack, [
},
clockCheckEnabled: false,
},
- // {
- // featureId: 'money_auth',
- // name: 'money.auth',
- // component: MoneyAuthScreen,
- // options: {
- // headerShown: true,
- // },
- // clockCheckEnabled: false,
- // },
{
featureId: 'fwb',
name: FWB_NAV_SCREEN_NAME,
| fix unit test | fix unit test
|
821b23c9c477203d4dffbe63bb98124e3dcf4717 | --- package-lock.json
@@ -1884,9 +1884,9 @@
}
},
"@walmart/allspark-me-mini-app": {
- "version": "0.0.13",
- "resolved": "https://npme.walmart.com/@walmart/allspark-me-mini-app/-/allspark-me-mini-app-0.0.13.tgz",
- "integrity": "sha512-89HNXgh5DkacJnZZX7xHVSz6juKjxs4vn5r78bj/HCMnzRh/x63ARx2gkc2nZtNXHgtdWiLxF0iroYgvWQ6i4Q==",
+ "version": "0.0.14",
+ "resolved": "https://npme.walmart.com/@walmart/allspark-me-mini-app/-/allspark-me-mini-app-0.0.14.tgz",
+ "integrity": "sha512-TjwcqOMhnhnts3OpkabvHi3HdPovpmWg7V4j40ivmtJdK/ELTWo8YMISZasbD2aFMos1NZlhVhEyKENiHr+R/Q==",
"requires": {
"reselect": "^4.0.0"
}
--- package.json
@@ -47,7 +47,7 @@
"@types/lodash": "^4.14.159",
"@walmart/allspark-health-survey-mini-app": "0.0.13",
"@walmart/allspark-home-mini-app": "0.1.7",
- "@walmart/allspark-me-mini-app": "0.0.13",
+ "@walmart/allspark-me-mini-app": "0.0.14",
"@walmart/ask-sam-mini-app": "0.6.28",
"@walmart/config-components": "1.0.8",
"@walmart/feedback-all-spark-miniapp": "0.0.30",
| me mini app version bump (#212) | me mini app version bump (#212)
|
c024550b47c7cd6d87089c66e8cd9586da67aa63 | --- packages/associate-exp-hub-mini-app/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.4.0-alpha.35](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.4.0-alpha.34...@walmart/associate-exp-hub-mini-app@1.4.0-alpha.35) (2025-11-07)
+
+### Features
+
+- **ui:** update graphql query ([f8f0ccd](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/f8f0ccdbce11e5c5980b3deda5eaa1e63760d036))
+
# [1.4.0-alpha.34](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.4.0-alpha.33...@walmart/associate-exp-hub-mini-app@1.4.0-alpha.34) (2025-11-07)
### Features
--- packages/associate-exp-hub-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-mini-app",
- "version": "1.4.0-alpha.34",
+ "version": "1.4.0-alpha.35",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/associate-exp-hub-team-switcher/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [2.9.0](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.8.0...@walmart/associate-exp-hub-team-switcher@2.9.0) (2025-11-07)
+
+### Features
+
+- **ui:** update graphql query ([f8f0ccd](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/commit/f8f0ccdbce11e5c5980b3deda5eaa1e63760d036))
+
# [2.8.0](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.7.0...@walmart/associate-exp-hub-team-switcher@2.8.0) (2025-11-07)
### Features
--- packages/associate-exp-hub-team-switcher/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-team-switcher",
- "version": "2.8.0",
+ "version": "2.9.0",
"description": "Team Switcher module for Associate Experience Hub",
"packageManager": "yarn@4.6.0",
"engines": {
| chore(version): updating package version | chore(version): updating package version
- @walmart/associate-exp-hub-mini-app@1.4.0-alpha.35
- @walmart/associate-exp-hub-team-switcher@2.9.0
|
8e3814a7a095ca4452b70219c4cd8cc5a1c5cd19 | --- targets/US/package.json
@@ -140,7 +140,7 @@
"@walmart/redux-store": "~6.3.28",
"@walmart/returns-mini-app": "4.15.0",
"@walmart/rfid-scan-mini-app": "2.4.4",
- "@walmart/rn-receiving-mini-app": "2.4.12",
+ "@walmart/rn-receiving-mini-app": "2.4.13",
"@walmart/roster-mini-app": "2.9.0",
"@walmart/schedule-mini-app": "0.118.2",
"@walmart/shelfavailability-mini-app": "1.5.37",
--- yarn.lock
@@ -7056,7 +7056,7 @@ __metadata:
"@walmart/redux-store": "npm:~6.3.28"
"@walmart/returns-mini-app": "npm:4.15.0"
"@walmart/rfid-scan-mini-app": "npm:2.4.4"
- "@walmart/rn-receiving-mini-app": "npm:2.4.12"
+ "@walmart/rn-receiving-mini-app": "npm:2.4.13"
"@walmart/roster-mini-app": "npm:2.9.0"
"@walmart/schedule-mini-app": "npm:0.118.2"
"@walmart/shelfavailability-mini-app": "npm:1.5.37"
@@ -7766,9 +7766,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/rn-receiving-mini-app@npm:2.4.12":
- version: 2.4.12
- resolution: "@walmart/rn-receiving-mini-app@npm:2.4.12"
+"@walmart/rn-receiving-mini-app@npm:2.4.13":
+ version: 2.4.13
+ resolution: "@walmart/rn-receiving-mini-app@npm:2.4.13"
dependencies:
"@walmart/atlas-rn-ui-components": "npm:1.1.23"
"@walmart/loadquality-mini-app": "npm:1.0.150"
@@ -7794,7 +7794,7 @@ __metadata:
react-native-svg: ">=14.1.0"
react-native-svg-transformer: ">=1.1.0"
react-native-vision-camera: ^2.16.8
- checksum: 10c0/ceba27fb786039a61360942280927f3a5ea52cc35944bbd6b2098997d0a7609ee8a48e65360345cff672adc8de87d5bc6846cab5bf69fb339d54b4265948b810
+ checksum: 10c0/46f4d729e00951d0ac46ab90aceb74c7d781343f0c12b8d88c712741937140f00417741c7ba2ca4ed1c70c22494d9b0ee9281d9367ba4cfcef940745df99fd0e
languageName: node
linkType: hard
| Receiving version 2.4.13 - Removed firebase changes | Receiving version 2.4.13 - Removed firebase changes
|
b1c0c70665b8bf3c3fa8c56aaf10dcf4dfe1b851 | --- package-lock.json
@@ -44,8 +44,8 @@
"@walmart/compass-sdk-rn": "4.2.0",
"@walmart/config-components": "4.2.1",
"@walmart/copilot-mini-app": "1.77.2",
- "@walmart/core-services": "~2.0.19",
- "@walmart/core-services-allspark": "~2.11.0",
+ "@walmart/core-services": "~2.1.1",
+ "@walmart/core-services-allspark": "~2.11.1",
"@walmart/core-utils": "~2.0.5",
"@walmart/core-widget-registry": "~1.2.4",
"@walmart/counts-component-miniapp": "0.1.5",
@@ -7044,11 +7044,13 @@
}
},
"node_modules/@walmart/core-services": {
- "version": "2.0.19",
+ "version": "2.1.1",
+ "resolved": "https://npme.walmart.com/@walmart/core-services/-/core-services-2.1.1.tgz",
+ "integrity": "sha512-3mQ35saWPq8l48jGBRpUUbok5mEKiGWhVm2bqpjLvLf3/9Fg1x5NG2FDrkx5slui/c2HpqD9jAHLqqUV9cqC8A==",
"license": "ISC",
"dependencies": {
- "@walmart/allspark-http-client": "^2.4.13",
- "@walmart/allspark-utils": "^1.5.2",
+ "@walmart/allspark-http-client": "^2.4.17",
+ "@walmart/allspark-utils": "^1.6.1",
"@walmart/redux-store": "~3.1.4",
"reduxsauce": "^1.2.1",
"reselect": "^4.1.5",
@@ -7066,15 +7068,15 @@
}
},
"node_modules/@walmart/core-services-allspark": {
- "version": "2.11.0",
- "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-2.11.0.tgz",
- "integrity": "sha512-kEEs8XD83sAlc/q80ckbjabvOC4yb2Cil2NKhWv8nFBd2T0FKpaHoVhPZMf7y2OQiHmm/PT2c95JlK9Mv04Itw==",
+ "version": "2.11.1",
+ "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-2.11.1.tgz",
+ "integrity": "sha512-7R77weaFSwdRTnRqPQyLBGZRVwfWUZHwXPGSG/vbGGKrAUj9Nbg3DGWFhKg0VS2+6qHPGVe215I7pqLF7xa/4w==",
"license": "ISC",
"dependencies": {
"@walmart/allspark-graphql-client": "^1.4.10",
"@walmart/allspark-http-client": "^2.4.17",
"@walmart/allspark-utils": "^1.6.1",
- "@walmart/core-services": "^2.1.0",
+ "@walmart/core-services": "^2.1.1",
"@walmart/me-at-walmart-athena-queries": "^1.3.11",
"crypto-js": "~4.1.1",
"jwt-decode": "^3.1.2",
@@ -30417,7 +30419,9 @@
"integrity": "sha512-AxJxo+T+CsotKikzKe7a9q4YQJq1J9M/UqDilB3nJpOdNMJvZN5VdgaCnjYueYWD2RF8q3FSp6HmSMhh96vtdg=="
},
"@walmart/core-services": {
- "version": "2.0.19",
+ "version": "2.1.1",
+ "resolved": "https://npme.walmart.com/@walmart/core-services/-/core-services-2.1.1.tgz",
+ "integrity": "sha512-3mQ35saWPq8l48jGBRpUUbok5mEKiGWhVm2bqpjLvLf3/9Fg1x5NG2FDrkx5slui/c2HpqD9jAHLqqUV9cqC8A==",
"requires": {
"@walmart/allspark-http-client": "^2.4.13",
"@walmart/allspark-utils": "^1.5.2",
@@ -30429,14 +30433,14 @@
}
},
"@walmart/core-services-allspark": {
- "version": "2.11.0",
- "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-2.11.0.tgz",
- "integrity": "sha512-kEEs8XD83sAlc/q80ckbjabvOC4yb2Cil2NKhWv8nFBd2T0FKpaHoVhPZMf7y2OQiHmm/PT2c95JlK9Mv04Itw==",
+ "version": "2.11.1",
+ "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-2.11.1.tgz",
+ "integrity": "sha512-7R77weaFSwdRTnRqPQyLBGZRVwfWUZHwXPGSG/vbGGKrAUj9Nbg3DGWFhKg0VS2+6qHPGVe215I7pqLF7xa/4w==",
"requires": {
"@walmart/allspark-graphql-client": "^1.4.5",
"@walmart/allspark-http-client": "^2.4.13",
"@walmart/allspark-utils": "^1.5.2",
- "@walmart/core-services": "~2.0.19",
+ "@walmart/core-services": "~2.1.1",
"@walmart/me-at-walmart-athena-queries": "^1.3.11",
"crypto-js": "^3.3.0",
"jwt-decode": "^3.1.2",
--- package.json
@@ -85,8 +85,8 @@
"@walmart/compass-sdk-rn": "4.2.0",
"@walmart/config-components": "4.2.1",
"@walmart/copilot-mini-app": "1.77.2",
- "@walmart/core-services": "~2.0.19",
- "@walmart/core-services-allspark": "~2.11.0",
+ "@walmart/core-services": "~2.1.1",
+ "@walmart/core-services-allspark": "~2.11.1",
"@walmart/core-utils": "~2.0.5",
"@walmart/core-widget-registry": "~1.2.4",
"@walmart/counts-component-miniapp": "0.1.5",
| fix: update core services for notification action type name mismatch | fix: update core services for notification action type name mismatch
|
26d2d0fb74c1da562c56d979d306bb0a176b9be1 | --- src/translations/es-MX.ts
@@ -112,7 +112,7 @@ export const esMX = {
forgotPin: '¿Olvidaste tu PIN?',
next: 'Siguiente',
confirm: 'Confirmar',
- signOut: 'Desconectar',
+ signOut: 'Cerrar sesión',
changePin: 'Cambiar PIN',
attemptsMessage: 'Tienes {{count}} intento más',
attemptsMessage_plural: 'Tienes {{count}} intentos más',
| fix SSMP-1070 | fix SSMP-1070
|
85fe2fd00a82dce74ac2e3c5a6ac614391b1a3ff | --- packages/allspark-graphql-client/src/apollo/utils.ts
@@ -1,5 +1,5 @@
import { MutationHookOptions, QueryHookOptions } from '@apollo/client';
-import { HttpClient, useHttpClient } from '@walmart/allspark-http-client';
+import { IHttpClient, useHttpClient } from '@walmart/allspark-http-client';
import { useMemo } from 'react';
export { gql } from '@apollo/client';
@@ -21,7 +21,7 @@ const NON_HEADER_KEYS = [
] as const;
export const getHttpClientHeaders = (
- httpClient: HttpClient,
+ httpClient: IHttpClient,
method: string
) => {
const clientHeaders = {
| chore: type fix | chore: type fix
|
a0c74b4d80f6a2f9ce2007733b5ea3f8c09d23f8 | --- src/containers/RosterFilters.tsx
@@ -2,7 +2,6 @@ import React, {useEffect, useState} from 'react';
import {StyleSheet, View} from 'react-native';
import {Chip, ChipGroup} from '@walmart/gtp-shared-components';
import {noop} from 'lodash';
-import {Associate} from '../types';
import firestore from '@react-native-firebase/firestore';
const styles = StyleSheet.create({
--- src/containers/RosterFilters.tsx
@@ -2,7 +2,6 @@ import React, {useEffect, useState} from 'react';
import {StyleSheet, View} from 'react-native';
import {Chip, ChipGroup} from '@walmart/gtp-shared-components';
import {noop} from 'lodash';
-import {Associate} from '../types';
import firestore from '@react-native-firebase/firestore';
const styles = StyleSheet.create({
| fixing lint error | fixing lint error
|
9cc6f97d14d5b942f993906baf1bf6453325ad8a | --- package-lock.json
@@ -4343,9 +4343,9 @@
"integrity": "sha512-qJaaKPSs5rNbukmidrZoqqWylzPX1nos0NwavGpgMjfCIvRuAE83yxNgNMV2KNP8y42YfNhEQlMJ5dCnsg/vWw=="
},
"@walmart/push-to-talk-mini-app": {
- "version": "0.5.84",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.84.tgz",
- "integrity": "sha512-nL8W2gFqreqqjC+zkCQB5sg7UQsuTdg2DbXJC/vEy46v6Ltc1yU/m6ydk5z9UNlBLUplllXY1hORQb6g5KbqQA=="
+ "version": "0.5.85",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.85.tgz",
+ "integrity": "sha512-3hL3s6hC1iZwYh0+nV4bHybi/WWSdxiBHlNUjZqimTwQ+YfT/4zzxaTKHUuFvQXdD1LmyHqtGf5iTCBZfAPpcQ=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
--- package.json
@@ -91,7 +91,7 @@
"@walmart/moment-walmart": "1.0.4",
"@walmart/payrollsolution_miniapp": "0.85.0",
"@walmart/price-changes-mini-app": "1.0.6",
- "@walmart/push-to-talk-mini-app": "0.5.84",
+ "@walmart/push-to-talk-mini-app": "0.5.85",
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.28.0",
"@walmart/react-native-shared-navigation": "^0.4.0",
| bumping ptt version | bumping ptt version
|
154b1738823903c89f87a339fa514bbc63ecbb29 | --- ios/Podfile.lock
@@ -328,37 +328,37 @@ PODS:
- React
- react-native-encrypted-storage (4.0.2):
- React-Core
- - react-native-geolocation-service (5.2.0):
+ - react-native-geolocation-service (5.1.1):
- React
- - react-native-get-random-values (1.7.0):
+ - react-native-get-random-values (1.5.1):
- React-Core
- react-native-logger (1.25.0):
- React
- - react-native-netinfo (5.9.10):
+ - react-native-netinfo (5.9.7):
- React-Core
- - react-native-pdf (6.3.0):
+ - react-native-pdf (6.2.2):
- React-Core
- react-native-ptt-module (1.3.5):
- PTT (= 0.6.0-rc.6)
- React
- - react-native-safe-area-context (3.2.0):
+ - react-native-safe-area-context (3.1.8):
- React-Core
- react-native-splash-screen (3.2.0):
- React
- react-native-sumo-sdk (2.7.1):
- React
- - react-native-video (5.1.1):
- - React-Core
- - react-native-video/Video (= 5.1.1)
- - react-native-video/Video (5.1.1):
- - React-Core
+ - react-native-video (5.1.0-alpha8):
+ - React
+ - react-native-video/Video (= 5.1.0-alpha8)
+ - react-native-video/Video (5.1.0-alpha8):
+ - React
- react-native-view-shot (3.1.2):
- React
- - react-native-webview (10.10.2):
+ - react-native-webview (10.10.0):
- React-Core
- react-native-wm-barcode (2.9.0):
- React
- - react-native-wm-voice-text (0.4.1):
+ - react-native-wm-voice-text (0.3.1):
- React
- React-RCTActionSheet (0.63.2):
- React-Core/RCTActionSheetHeaders (= 0.63.2)
@@ -428,7 +428,7 @@ PODS:
- React-Core
- RNCClipboard (1.5.1):
- React-Core
- - RNCMaskedView (0.1.11):
+ - RNCMaskedView (0.1.10):
- React
- RNCPicker (1.8.1):
- React-Core
@@ -463,23 +463,23 @@ PODS:
- Firebase/RemoteConfig (~> 6.34.0)
- React-Core
- RNFBApp
- - RNFS (2.18.0):
+ - RNFS (2.17.0):
+ - React
+ - RNGestureHandler (1.8.0):
- React
- - RNGestureHandler (1.10.3):
- - React-Core
- RNPermissions (3.0.0):
- React-Core
- RNReactNativeHapticFeedback (1.11.0):
- React-Core
- - RNReanimated (1.13.3):
- - React-Core
- - RNScreens (2.18.1):
- - React-Core
- - RNSha256 (1.4.7):
+ - RNReanimated (1.13.1):
+ - React
+ - RNScreens (2.11.0):
+ - React
+ - RNSha256 (1.3.6):
- React
- RNSketchCanvas (0.8.0):
- React
- - RNSVG (12.1.1):
+ - RNSVG (12.1.0):
- React
- RNVectorIcons (7.1.0):
- React
@@ -780,8 +780,8 @@ SPEC CHECKSUMS:
leveldb-library: 50c7b45cbd7bf543c81a468fe557a16ae3db8729
libwebp: e90b9c01d99205d03b6bb8f2c8c415e5a4ef66f0
nanopb: 59317e09cf1f1a0af72f12af412d54edf52603fc
- Permission-LocationWhenInUse: e2b8c40ce0f3675a521f26787ab47ebb9bace503
- Permission-Notifications: 5c69bf2f6c1e30345af4f25e2981dc1c8dafbc22
+ Permission-LocationWhenInUse: e09ae67e8db2b1eeefb35f18ca59848d0785de5b
+ Permission-Notifications: 4325073de6e418cfbbdd8d296822c419d8ddc7ef
PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97
Protobuf: 7327d4444215b5f18e560a97f879ff5503c4581c
PTT: 77f5b7578dbdc8a8f5b4509844a6e9f234bd5b83
@@ -796,21 +796,21 @@ SPEC CHECKSUMS:
React-jsiexecutor: 8ca588cc921e70590820ce72b8789b02c67cce38
React-jsinspector: b14e62ebe7a66e9231e9581279909f2fc3db6606
react-native-biometrics: 9d3306e5d29c3bc4e6a3c912d759a94e76a2f683
- react-native-encrypted-storage: e78d848ce0fb663c2ce306e37921d026809322e6
- react-native-geolocation-service: 7c9436da6dfdecd9526c62eac62ea2bc3f0cc8ea
- react-native-get-random-values: 237bffb1c7e05fb142092681531810a29ba53015
+ react-native-encrypted-storage: 837c733334debf626204f03d867c7e01d8741e2f
+ react-native-geolocation-service: f33626f1ae12381ca2ae60f98b2f5edd676bf95a
+ react-native-get-random-values: 41f0c91ac0da870e47b307e07752e9e54bc2dc7e
react-native-logger: 6d1a4098b9b035278c3691760a45be8ce56acd2e
- react-native-netinfo: 30fb89fa913c342be82a887b56e96be6d71201dd
- react-native-pdf: ef641e79a6d550cfabe5d7ec1916799726514c43
+ react-native-netinfo: e36c1bb6df27ab84aa933679b3f5bbf9d180b18f
+ react-native-pdf: 4b5a9e4465a6a3b399e91dc4838eb44ddf716d1f
react-native-ptt-module: fd0a9eaa70d34a46254aae6eb208aae054e8c5dc
- react-native-safe-area-context: f0906bf8bc9835ac9a9d3f97e8bde2a997d8da79
+ react-native-safe-area-context: 01158a92c300895d79dee447e980672dc3fb85a6
react-native-splash-screen: 200d11d188e2e78cea3ad319964f6142b6384865
react-native-sumo-sdk: 8a034fe724417d8c9465951630e229edef2f738f
- react-native-video: 0bb76b6d6b77da3009611586c7dbf817b947f30e
- react-native-view-shot: 4475fde003fe8a210053d1f98fb9e06c1d834e1c
- react-native-webview: 0aa2cde4ee7e3e1c5fffdf64dbce9c709aa18155
+ react-native-video: 8d97379f3c2322a569f1e27542ad1a646cad9444
+ react-native-view-shot: 08c46c9e8e92f6681e8f2ffa55ac3d06e7e99070
+ react-native-webview: 2e330b109bfd610e9818bf7865d1979f898960a7
react-native-wm-barcode: 1f16edb27dac807563ed08edc9d0ba042e9a182d
- react-native-wm-voice-text: 91c90227ae44f598bf33ec5db84095bc6142daef
+ react-native-wm-voice-text: 498a87b567be0074720a30386a22b1e7cde873f5
React-RCTActionSheet: 910163b6b09685a35c4ebbc52b66d1bfbbe39fc5
React-RCTAnimation: 9a883bbe1e9d2e158d4fb53765ed64c8dc2200c6
React-RCTBlob: 39cf0ece1927996c4466510e25d2105f67010e13
@@ -821,14 +821,14 @@ SPEC CHECKSUMS:
React-RCTText: 1b6773e776e4b33f90468c20fe3b16ca3e224bb8
React-RCTVibration: 4d2e726957f4087449739b595f107c0d4b6c2d2d
ReactCommon: a0a1edbebcac5e91338371b72ffc66aa822792ce
- ReactNativeART: 78edc68dd4a1e675338cd0cd113319cf3a65f2ab
+ ReactNativeART: f003b07dfa7098aa419ed95b69560923440b1eee
rn-fetch-blob: f065bb7ab7fb48dd002629f8bdcb0336602d3cba
- RNCAsyncStorage: b03032fdbdb725bea0bd9e5ec5a7272865ae7398
- RNCClipboard: 41d8d918092ae8e676f18adada19104fa3e68495
- RNCMaskedView: 0e1bc4bfa8365eba5fbbb71e07fbdc0555249489
+ RNCAsyncStorage: cb9a623793918c6699586281f0b51cbc38f046f9
+ RNCClipboard: 5e299c6df8e0c98f3d7416b86ae563d3a9f768a3
+ RNCMaskedView: f5c7d14d6847b7b44853f7acb6284c1da30a3459
RNCPicker: 914b557e20b3b8317b084aca9ff4b4edb95f61e4
- RNDateTimePicker: 8a51a2216c307769e69ef827293d59549ab1ca23
- RNDeviceInfo: c5f8f3a456adcbba405ace475254b08febc4c095
+ RNDateTimePicker: 986d4794006e5caaebd089a724f54d35631a8dd4
+ RNDeviceInfo: e841619c3dac5495a095c5455473579ff04908d4
RNFastImage: d4870d58f5936111c56218dbd7fcfc18e65b58ff
RNFBAnalytics: 6414e9fe1f36c3074f39cd6265b3def777dbfbdb
RNFBApp: 804b98033f45c3a3e35b56de8c894f85ef5e4388
@@ -836,15 +836,15 @@ SPEC CHECKSUMS:
RNFBDatabase: a0c49ec06eb689788a3071dc071fc7ee842ce3d9
RNFBPerf: aa494d0db6c246d14ffa46b157d63b0a4d5da4ff
RNFBRemoteConfig: e5f89ce1c549bc29f03d71c2aa50ef860d7e68a5
- RNFS: 3ab21fa6c56d65566d1fb26c2228e2b6132e5e32
- RNGestureHandler: a479ebd5ed4221a810967000735517df0d2db211
- RNPermissions: 99dd8d4a30ff13509b949ca63cd1f69edc461775
+ RNFS: 93d5b5535eb39d98e6b19009faa8fe717f7ea45d
+ RNGestureHandler: 7a5833d0f788dbd107fbb913e09aa0c1ff333c39
+ RNPermissions: 350964d19150b183796a88180fb7ec62a1e41422
RNReactNativeHapticFeedback: 653a8c126a0f5e88ce15ffe280b3ff37e1fbb285
- RNReanimated: 514a11da3a2bcc6c3dfd9de32b38e2b9bf101926
- RNScreens: f7ad633b2e0190b77b6a7aab7f914fad6f198d8d
- RNSha256: bf2c90a9e0cec6dcbcc4100e4e19715ae7feaa34
- RNSketchCanvas: 9c28adb5381543ed55cc98ce6de46479cb3cb12c
- RNSVG: 551acb6562324b1d52a4e0758f7ca0ec234e278f
+ RNReanimated: dd8c286ab5dd4ba36d3a7fef8bff7e08711b5476
+ RNScreens: 0e91da98ab26d5d04c7b59a9b6bd694124caf88c
+ RNSha256: 22383f4a1ed2b38da9d642c608892a3ab4cad80a
+ RNSketchCanvas: 6939b18677cd1794151cc3d8eb5a0a2158a4a05b
+ RNSVG: ce9d996113475209013317e48b05c21ee988d42e
RNVectorIcons: bc69e6a278b14842063605de32bec61f0b251a59
RNWMSSOLibrary: 3103d2f05e6c559dfab7da9ca82c07472b0d0d6b
SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d
| matching pod lock | matching pod lock
|
53b55d028e80320e3f5150035de56b9a8dfb7cf8 | --- package-lock.json
@@ -60,7 +60,7 @@
"@walmart/impersonation-mini-app": "1.20.6",
"@walmart/ims-print-services-ui": "2.5.8",
"@walmart/inbox-mini-app": "0.88.9",
- "@walmart/iteminfo-mini-app": "7.5.7",
+ "@walmart/iteminfo-mini-app": "7.5.8",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-field-mini-app": "14.0.2",
"@walmart/metrics-mini-app": "0.15.13",
@@ -8534,9 +8534,9 @@
}
},
"node_modules/@walmart/iteminfo-mini-app": {
- "version": "7.5.7",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.5.7.tgz",
- "integrity": "sha512-6asyomG0Cm2KBy3obVfoeFQx5f53eNXQ1StfnJuxTL7PdAqFtA0ddMMIdjgew8CW1/eLSF6SlgAX5xJBshIfXQ==",
+ "version": "7.5.8",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.5.8.tgz",
+ "integrity": "sha512-oKdmNLXTKFgqC2OCY7BvjnSO8cO2gpbb2ZbaTfC0BEfMjBu1PcGEMLSr5+pt7yInBGM4nlSQcy4dFiRDe/n73w==",
"peerDependencies": {
"@react-native-community/netinfo": ">=9.3.6",
"@react-native-firebase/analytics": ">=15.1.1",
@@ -33763,9 +33763,9 @@
}
},
"@walmart/iteminfo-mini-app": {
- "version": "7.5.7",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.5.7.tgz",
- "integrity": "sha512-6asyomG0Cm2KBy3obVfoeFQx5f53eNXQ1StfnJuxTL7PdAqFtA0ddMMIdjgew8CW1/eLSF6SlgAX5xJBshIfXQ=="
+ "version": "7.5.8",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.5.8.tgz",
+ "integrity": "sha512-oKdmNLXTKFgqC2OCY7BvjnSO8cO2gpbb2ZbaTfC0BEfMjBu1PcGEMLSr5+pt7yInBGM4nlSQcy4dFiRDe/n73w=="
},
"@walmart/manager-approvals-miniapp": {
"version": "0.2.4"
--- package.json
@@ -101,7 +101,7 @@
"@walmart/impersonation-mini-app": "1.20.6",
"@walmart/ims-print-services-ui": "2.5.8",
"@walmart/inbox-mini-app": "0.88.9",
- "@walmart/iteminfo-mini-app": "7.5.7",
+ "@walmart/iteminfo-mini-app": "7.5.8",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-field-mini-app": "14.0.2",
"@walmart/metrics-mini-app": "0.15.13",
| bump up iteminfo version for Drop 15 activate insactivate fix | bump up iteminfo version for Drop 15 activate insactivate fix
|
61a441c157cef9dde48e6d2ef1b45209d5e38a54 | --- package.json
@@ -175,6 +175,7 @@
"expo-constants": "~17.0.8",
"expo-file-system": "18.0.12",
"expo-font": "~13.0.4",
+ "expo-haptics": "^14.1.4",
"expo-image": "patch:expo-image@npm%3A2.0.7#~/.yarn/patches/expo-image-npm-2.0.7-adb639d59c.patch",
"expo-image-manipulator": "~12.0.5",
"expo-image-picker": "~15.1.0",
--- yarn.lock
@@ -7522,6 +7522,7 @@ __metadata:
expo-doctor: "npm:^1.10.1"
expo-file-system: "npm:18.0.12"
expo-font: "npm:~13.0.4"
+ expo-haptics: "npm:^14.1.4"
expo-image: "patch:expo-image@npm%3A2.0.7#~/.yarn/patches/expo-image-npm-2.0.7-adb639d59c.patch"
expo-image-manipulator: "npm:~12.0.5"
expo-image-picker: "npm:~15.1.0"
@@ -12566,6 +12567,15 @@ __metadata:
languageName: node
linkType: hard
+"expo-haptics@npm:^14.1.4":
+ version: 14.1.4
+ resolution: "expo-haptics@npm:14.1.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Fexpo-haptics%2F-%2Fexpo-haptics-14.1.4.tgz"
+ peerDependencies:
+ expo: "*"
+ checksum: 10c0/c8d4dd80fec8949b39af27b718383526b268b56cae4465af57ea7c5d470b34933c03574dc9c0baca06cf81018cc1eb63671a84a273abca685efb02cfd1604e3e
+ languageName: node
+ linkType: hard
+
"expo-image-loader@npm:~4.7.0":
version: 4.7.0
resolution: "expo-image-loader@npm:4.7.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Fexpo-image-loader%2F-%2Fexpo-image-loader-4.7.0.tgz"
| feat(lib): ALLSPARK-0000 add expo-haptics (#4377) | feat(lib): ALLSPARK-0000 add expo-haptics (#4377)
Co-authored-by: Maksym Novakh <maksym.novakh@walmart.com> |
7e5a38de2e38204bc2d27ce141677aee3b48b586 | --- package-lock.json
@@ -68,7 +68,7 @@
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "0.0.14",
"@walmart/onewalmart-miniapp": "1.0.16",
- "@walmart/pay-stub-miniapp": "0.15.1",
+ "@walmart/pay-stub-miniapp": "0.15.2",
"@walmart/payrollsolution_miniapp": "0.135.3",
"@walmart/price-changes-mini-app": "1.10.2",
"@walmart/profile-feature-app": "0.334.3",
@@ -9387,9 +9387,9 @@
}
},
"node_modules/@walmart/pay-stub-miniapp": {
- "version": "0.15.1",
- "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.15.1.tgz",
- "integrity": "sha512-fYtRR5nYig2+p3Yg5NxtOcYZA5ukYfJb3E3chl+0s0quoOGI8w1zLxQ2J6eQ6Ob/SCrSP1/tVOHrbmGPuACRQQ==",
+ "version": "0.15.2",
+ "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.15.2.tgz",
+ "integrity": "sha512-IDllZMkzo6emNWYvRlDsYzCiNhVpyDA6r1DEmUvdM7zVzlyxHI1iTzMJofifOIrmC+yjKQnkEZag6MiTxS4zCA==",
"hasInstallScript": true,
"dependencies": {
"crypto-js": "^3.3.0",
@@ -29418,7 +29418,7 @@
"requires": {
"mv": "~2",
"safe-json-stringify": "~1",
- "uuid": "^8.0.0"
+ "uuid": "^3.3.2"
}
},
"@expo/cli": {
@@ -30108,7 +30108,7 @@
"md5": "^2.2.1",
"node-fetch": "^2.6.1",
"remove-trailing-slash": "^0.1.0",
- "uuid": "^8.3.2"
+ "uuid": "^3.3.2"
}
},
"@expo/sdk-runtime-versions": {
@@ -33427,9 +33427,9 @@
}
},
"@walmart/pay-stub-miniapp": {
- "version": "0.15.1",
- "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.15.1.tgz",
- "integrity": "sha512-fYtRR5nYig2+p3Yg5NxtOcYZA5ukYfJb3E3chl+0s0quoOGI8w1zLxQ2J6eQ6Ob/SCrSP1/tVOHrbmGPuACRQQ==",
+ "version": "0.15.2",
+ "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.15.2.tgz",
+ "integrity": "sha512-IDllZMkzo6emNWYvRlDsYzCiNhVpyDA6r1DEmUvdM7zVzlyxHI1iTzMJofifOIrmC+yjKQnkEZag6MiTxS4zCA==",
"requires": {
"crypto-js": "^3.3.0",
"expo-sharing": "~11.5.0"
--- package.json
@@ -109,7 +109,7 @@
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "0.0.14",
"@walmart/onewalmart-miniapp": "1.0.16",
- "@walmart/pay-stub-miniapp": "0.15.1",
+ "@walmart/pay-stub-miniapp": "0.15.2",
"@walmart/payrollsolution_miniapp": "0.135.3",
"@walmart/price-changes-mini-app": "1.10.2",
"@walmart/profile-feature-app": "0.334.3",
| bump version | bump version
|
a5a9815a55b7196c93f53807d6c20b08b0964abd | --- packages/allspark-foundation-hub/src/HubFeature/Hooks/useGetAllTeamsOfStore.ts
@@ -10,8 +10,12 @@ import { SiteSelectors } from '@walmart/allspark-foundation/Site';
const sorter = (data: TeamSwitcherTypes[]): TeamSwitcherTypes[] => {
const customSort = (a: TeamSwitcherTypes, b: TeamSwitcherTypes): number => {
- if (a.teamLabel === ADMIN_SUPPORT_TEAMLABEL) return -1;
- if (b.teamLabel === ADMIN_SUPPORT_TEAMLABEL) return 1;
+ if (a.teamLabel === ADMIN_SUPPORT_TEAMLABEL) {
+ return -1;
+ }
+ if (b.teamLabel === ADMIN_SUPPORT_TEAMLABEL) {
+ return 1;
+ }
return a.teamLabel.localeCompare(b.teamLabel);
};
return [...data].sort(customSort);
--- packages/allspark-foundation/src/HubFeature/Hooks/useGetAllTeamsOfStore.ts
@@ -10,8 +10,12 @@ import { SiteSelectors } from '../../Site';
const sorter = (data: TeamSwitcherTypes[]): TeamSwitcherTypes[] => {
const customSort = (a: TeamSwitcherTypes, b: TeamSwitcherTypes): number => {
- if (a.teamLabel === ADMIN_SUPPORT_TEAMLABEL) return -1;
- if (b.teamLabel === ADMIN_SUPPORT_TEAMLABEL) return 1;
+ if (a.teamLabel === ADMIN_SUPPORT_TEAMLABEL) {
+ return -1;
+ }
+ if (b.teamLabel === ADMIN_SUPPORT_TEAMLABEL) {
+ return 1;
+ }
return a.teamLabel.localeCompare(b.teamLabel);
};
return [...data].sort(customSort);
| feat(ui): update tests for the initial version | feat(ui): update tests for the initial version
|
effc9e3600dfd44f664cc8f814503af9b0363966 | --- package.json
@@ -145,7 +145,7 @@
"@walmart/shelfavailability-mini-app": "1.5.23",
"@walmart/store-feature-orders": "1.26.7",
"@walmart/taskit-mini-app": "2.81.15",
- "@walmart/time-clock-mini-app": "2.357.0",
+ "@walmart/time-clock-mini-app": "2.358.0",
"@walmart/topstock-mini-app": "patch:@walmart/topstock-mini-app@npm%3A1.9.7#~/.yarn/patches/@walmart-topstock-mini-app-npm-1.9.7-e6400c510e.patch",
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.11#~/.yarn/patches/@walmart-ui-components-npm-1.15.11-19ccf914c5.patch",
"@walmart/welcomeme-mini-app": "0.90.3",
--- yarn.lock
@@ -7156,9 +7156,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/time-clock-mini-app@npm:2.357.0":
- version: 2.357.0
- resolution: "@walmart/time-clock-mini-app@npm:2.357.0"
+"@walmart/time-clock-mini-app@npm:2.358.0":
+ version: 2.358.0
+ resolution: "@walmart/time-clock-mini-app@npm:2.358.0"
dependencies:
"@react-navigation/elements": "npm:^1.3.1"
moment-timezone: "npm:0.5.33"
@@ -7201,7 +7201,7 @@ __metadata:
uuid: ^3.3.2
wifi-store-locator: ^1.4.0
xdate: ^0.8.2
- checksum: 10c0/034d6a1f9b47d75463f7652a35a5ce631229d1d6ffbf0b03f6669d25b166f52573dd3044ae286733d144581e0b9f1aa95c8a93df66d41ff3f33e0a5d80622591
+ checksum: 10c0/6feb084b04f82a095dc6258ab8fc883928ebfbd0feb9b36a2a085283d14c6e6d77dbafb1bb8832df6e7dff957027f6501f9f44ef9c901144614a124f2ade8b40
languageName: node
linkType: hard
@@ -7795,7 +7795,7 @@ __metadata:
"@walmart/shelfavailability-mini-app": "npm:1.5.23"
"@walmart/store-feature-orders": "npm:1.26.7"
"@walmart/taskit-mini-app": "npm:2.81.15"
- "@walmart/time-clock-mini-app": "npm:2.357.0"
+ "@walmart/time-clock-mini-app": "npm:2.358.0"
"@walmart/topstock-mini-app": "patch:@walmart/topstock-mini-app@npm%3A1.9.7#~/.yarn/patches/@walmart-topstock-mini-app-npm-1.9.7-e6400c510e.patch"
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.11#~/.yarn/patches/@walmart-ui-components-npm-1.15.11-19ccf914c5.patch"
"@walmart/welcomeme-mini-app": "npm:0.90.3"
| tcma v2.358.0 | tcma v2.358.0
|
0ae0a8d39d7928b5498af9b8913b94fe1878a83b | --- .yarnrc.yml
@@ -1,12 +1,3 @@
nodeLinker: node-modules
-npmRegistryServer: "${REPOSOLNS_NPM_REPO}"
-packageExtensions:
- "@walmart/ui-components@*":
- peerDependenciesMeta:
- "react-native-background-timer":
- optional: true
- "react-native-elements":
- optional: true
- "react-native-vector-icons":
- optional: true
+npmRegistryServer: "${REPOSOLNS_NPM_REPO}"
| feat(ui): update celebration mini app build fix | feat(ui): update celebration mini app build fix
|
c765f7d2949a2b3578d826e2bc1c3d7bdc193f3d | --- package-lock.json
@@ -5375,9 +5375,9 @@
}
},
"@walmart/mod-flex-mini-app": {
- "version": "1.1.3",
- "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.1.3.tgz",
- "integrity": "sha512-2Qlp+vnKxHSFLyO7IvkTU+ReAfq8OMdzQ3saLgLlWjTyCY9lpRyuz5CY1YK4sEq4aQTlCYl7+rNUI1nOUpVCHw=="
+ "version": "1.1.4",
+ "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.1.4.tgz",
+ "integrity": "sha512-NqzFhSiUtW/rT7puRo6tq6z4qs7/xKyVE+Wkg5J8vSJirmHSkS02i09Zm7FjnWpG1x33T6mGeGyimYjrKq+gQw=="
},
"@walmart/moment-walmart": {
"version": "1.0.4",
--- package.json
@@ -99,7 +99,7 @@
"@walmart/manager-approvals-miniapp": "0.0.62",
"@walmart/me-field-mini-app": "1.1.20",
"@walmart/metrics-mini-app": "0.9.12",
- "@walmart/mod-flex-mini-app": "1.1.3",
+ "@walmart/mod-flex-mini-app": "1.1.4",
"@walmart/moment-walmart": "1.0.4",
"@walmart/payrollsolution_miniapp": "0.126.4",
"@walmart/price-changes-mini-app": "1.4.11",
| Update mod-flex-mini-app to 1.1.4 | Update mod-flex-mini-app to 1.1.4
|
2f426ff0000e702a5bc86d1be865a8eb3fcd9215 | --- src/screens/ViewTeamScreen.tsx
@@ -22,7 +22,6 @@ export const ViewTeamScreen: React.FC<ViewTeamScreenProps> = ({route}) => {
const associates = useGetAssociateListForTeam(teamInfo);
const startAssociateText = useStartAssociateText();
-
//TODO: De-duplicate renderAssociate from roster screen
const renderAssociate: ListRenderItem<Associate | null> = useCallback(
({item: associate, index}) => {
--- src/screens/ViewTeamScreen.tsx
@@ -22,7 +22,6 @@ export const ViewTeamScreen: React.FC<ViewTeamScreenProps> = ({route}) => {
const associates = useGetAssociateListForTeam(teamInfo);
const startAssociateText = useStartAssociateText();
-
//TODO: De-duplicate renderAssociate from roster screen
const renderAssociate: ListRenderItem<Associate | null> = useCallback(
({item: associate, index}) => {
| filtering roster to get associates for a team | filtering roster to get associates for a team
|
84f32a51cddedd3305e2c978235e997e30c4f156 | --- package.json
@@ -176,7 +176,7 @@
"@walmart/time-clock-mini-app": "patch:@walmart/time-clock-mini-app@npm%3A3.19.11#~/.yarn/patches/@walmart-time-clock-mini-app-npm-3.19.11-d3039974f6.patch",
"@walmart/timesheet-feature-app": "0.2.0-beta.17",
"@walmart/topstock-mini-app": "1.28.15",
- "@walmart/translator-mini-app": "1.8.12",
+ "@walmart/translator-mini-app": "1.8.14",
"@walmart/ui-components": "1.27.2",
"@walmart/walmart-fiscal-week": "^0.3.6",
"@walmart/welcomeme-mini-app": "^1.0.15",
--- yarn.lock
@@ -8517,7 +8517,7 @@ __metadata:
"@walmart/time-clock-mini-app": "patch:@walmart/time-clock-mini-app@npm%3A3.19.11#~/.yarn/patches/@walmart-time-clock-mini-app-npm-3.19.11-d3039974f6.patch"
"@walmart/timesheet-feature-app": "npm:0.2.0-beta.17"
"@walmart/topstock-mini-app": "npm:1.28.15"
- "@walmart/translator-mini-app": "npm:1.8.12"
+ "@walmart/translator-mini-app": "npm:1.8.14"
"@walmart/ui-components": "npm:1.27.2"
"@walmart/walmart-fiscal-week": "npm:^0.3.6"
"@walmart/welcomeme-mini-app": "npm:^1.0.15"
@@ -9620,9 +9620,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/translator-mini-app@npm:1.8.12":
- version: 1.8.12
- resolution: "@walmart/translator-mini-app@npm:1.8.12::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftranslator-mini-app%2F-%2F%40walmart%2Ftranslator-mini-app-1.8.12.tgz"
+"@walmart/translator-mini-app@npm:1.8.14":
+ version: 1.8.14
+ resolution: "@walmart/translator-mini-app@npm:1.8.14::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftranslator-mini-app%2F-%2F%40walmart%2Ftranslator-mini-app-1.8.14.tgz"
peerDependencies:
"@walmart/gtp-shared-components-3": "*"
expo: "*"
@@ -9639,7 +9639,7 @@ __metadata:
react-native: "*"
react-native-audio-api: "*"
socket.io-client: "*"
- checksum: 10c0/df9fa399fe8b3273e1a9b644c647ffc08a5fe4bc5cb4497e4c26cfffee06cc3f2ad6b41338ffae67eb12306bb5585e9ccb9f6845afea20c4f2753d47739cfd82
+ checksum: 10c0/acf9f638c8f0acc4a1805c2b1f3792bf6d8b676b8074944627cc9897421ae99f7d650e165374040962fbe5c5b364e9a8ff2ca3d0a01f8d250492eb635d57f2f6
languageName: node
linkType: hard
| fix(version bump): version bump (#5166) | fix(version bump): version bump (#5166)
Co-authored-by: Maksym Novakh - m0n09mr <Maksym.Novakh0@walmart.com> |
af4b2304eea589fc19a7422254f950ccace5fc5b | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Components/EditSavedTeams/EditSavedTeams.tsx
@@ -4,14 +4,18 @@ import { PillTeamListItem } from '../../../Shared/Components';
import { FlashList, ListRenderItem } from '@shopify/flash-list';
import { useSafeAreaInsets } from 'react-native-safe-area-context';
import styles from './style';
-import { useSelector } from 'react-redux';
+import { useDispatch, useSelector } from 'react-redux';
import { View } from 'react-native';
import { Images } from '../../Images/images';
import { useAllsparkTranslation } from '@walmart/allspark-foundation';
import { FEATURE_ID } from '../../constant';
import { useGetSupplyChainAllTeamsBySite } from '../../Hooks/useGetSupplyChainTeamsByStore';
import { useGetSupplyChainTeamsPreferenceQuery } from '../../Hooks/useGetSupplyChainTeamPreference';
-import { ManagerExperienceSelectors, editSavedTeamsEnabled } from '../../Redux';
+import {
+ ManagerExperienceCreators,
+ ManagerExperienceSelectors,
+ editSavedTeamsEnabled,
+} from '../../Redux';
import {
EditSavedTeamsSectionLoading,
LoadingListItem,
@@ -31,6 +35,11 @@ const EditSavedTeams = ({ handleEdit }: { handleEdit: () => void }) => {
const { allSiteTeams } = useGetSupplyChainAllTeamsBySite();
const { teamPreferenceData, loading } =
useGetSupplyChainTeamsPreferenceQuery();
+ const selecteTeamIds = useSelector(
+ ManagerExperienceSelectors.getSelectedTeamIDs
+ ) as string[];
+
+ const dispatch = useDispatch();
const isSingleSelect = useSelector(
ManagerExperienceSelectors.getSingleSelectEnable
@@ -83,6 +92,11 @@ const EditSavedTeams = ({ handleEdit }: { handleEdit: () => void }) => {
},
[teamPreferenceData]
);
+
+ const handleEditTeamSelection = useCallback(() => {
+ dispatch(ManagerExperienceCreators.setSelectedTeamIDs([]));
+ }, [dispatch]);
+
return (
<View style={styles.container}>
<RosterPageHeader
@@ -98,11 +112,11 @@ const EditSavedTeams = ({ handleEdit }: { handleEdit: () => void }) => {
<LoadingListItem />
) : (
<PillTeamListItem
- isSelected={!isSingleSelect}
+ isSelected={!isSingleSelect && !selecteTeamIds?.length}
teamId={Images['Saved'].teamName}
teamImage={Images['Saved']}
teamName={Images['Saved'].teamName}
- onSelect={() => {}}
+ onSelect={handleEditTeamSelection}
/>
)
}
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Screens/UpdateTeamsModal/UpdateTeamsModal.tsx
@@ -1,4 +1,4 @@
-import React, { useCallback, useMemo, useState } from 'react';
+import React, { useCallback, useState } from 'react';
import { ScrollView, View } from 'react-native';
import { Divider } from '@walmart/gtp-shared-components';
import { useAllsparkTranslation } from '@walmart/allspark-foundation/Translation';
@@ -17,7 +17,6 @@ import {
ManagerExperienceCreators,
ManagerExperienceSelectors,
} from '../../../SupplyChain/Redux';
-import isEqual from 'lodash/isEqual';
import {
useGetSupplyChainTeamsPreferenceQuery,
useUpsertSupplyChainAssociatePreference,
@@ -66,8 +65,7 @@ export const UpdateTeamsModal = ({ modal: { closeModal } }: ModalProps) => {
(useSelector(ManagerExperienceSelectors.getSelectedShifts) as string[]) ||
[];
const [showMandatoryShiftAlert, setShowMandatoryShiftAlert] = useState(false);
- const [selectedTeams, setSelectedTeams] =
- useState<string[]>(prevSelectedTeamIds);
+ const [selectedTeams, setSelectedTeams] = useState<string[]>([]);
const shiftData =
shiftPreferenceData.length === 0 ? ['A1'] : shiftPreferenceData;
const [selectedShift, setSelectedShifts] = useState<string[]>(shiftData);
@@ -79,9 +77,9 @@ export const UpdateTeamsModal = ({ modal: { closeModal } }: ModalProps) => {
const handleSelection = useCallback(
(item: string) => {
setSelectedTeams([item]);
- dispatch(ManagerExperienceCreators.setSingleSelectEnable(true));
+ dispatch(ManagerExperienceCreators.setSelectedTeamIDs([item]));
},
- [selectedTeams, setSelectedTeams, dispatch]
+ [selectedTeams, prevSelectedTeamIds, setSelectedTeams, dispatch]
);
const handleSelectShift = useCallback(
@@ -124,19 +122,7 @@ export const UpdateTeamsModal = ({ modal: { closeModal } }: ModalProps) => {
upsertSupplyChainPreferences({}, selectedShift, updatedPrefData);
closeModal();
}
- }, [dispatch, selectedTeams, selectedShift]);
-
- const isDisabled = useMemo(() => {
- const isItemsDiff = isEqual(prevSelectedTeamIds, selectedTeams);
- const isShiftsDiff = isEqual(prevSelectedShifts, selectedShift);
-
- return (
- prevSelectedTeamIds.length !== selectedTeams.length ||
- prevSelectedShifts.length !== selectedShift.length ||
- !isItemsDiff ||
- !isShiftsDiff
- );
- }, [selectedTeams, selectedShift]);
+ }, [dispatch, selectedTeams, selectedShift, updatedPrefData]);
const handleRefetch = useCallback(() => {
refetchAllSiteTeams();
@@ -181,7 +167,7 @@ export const UpdateTeamsModal = ({ modal: { closeModal } }: ModalProps) => {
sections={sections}
isModal
handleSearchInput={handleSearchInput}
- selectedItems={selectedTeams}
+ selectedItems={prevSelectedTeamIds}
handleSelection={(item) => handleSelection(item.teamId)}
handleEdit={() =>
AllsparkNavigationClient.openModal(
@@ -217,7 +203,9 @@ export const UpdateTeamsModal = ({ modal: { closeModal } }: ModalProps) => {
secondaryButtonLabel={t('updateTeamsModal.button.cancel')}
onPrimaryButtonPress={handleApplyButton}
onSecondaryButtonPress={closeModal}
- isPrimaryButtonDisabled={!isDisabled}
+ isPrimaryButtonDisabled={
+ !(selectedShift.length && selectedTeams.length)
+ }
/>
</View>
</View>
| feat(ui): single select logic update for modal | feat(ui): single select logic update for modal
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.