commit_hash stringlengths 40 40 | input stringlengths 13 7.99k | output stringlengths 5 155 | full_message stringlengths 6 8.96k |
|---|---|---|---|
efa6124fd7622cd160c360b78e16408c093cc153 | --- src/components/AssociateRosterItem/AssociateRosterItem.tsx
@@ -40,7 +40,7 @@ export const AssociateRosterItem = React.memo(
{statusText}
</Tag>
);
- }, [associate, clockedIn, StatusColors]);
+ }, [associate, clockedIn]);
const textDisabled = !clockedIn;
const {height} = StyleSheet.flatten(style);
--- src/containers/ChatInput/MeteringVisualization.tsx
@@ -64,6 +64,7 @@ export const MeteringAnimation = (props: {
return (
<ScrollView
horizontal
+ // @ts-ignore
ref={scrollViewRef}
scrollEnabled={false}
style={[styles.meterScrollView, style]}
--- src/components/AssociateRosterItem/AssociateRosterItem.tsx
@@ -40,7 +40,7 @@ export const AssociateRosterItem = React.memo(
{statusText}
</Tag>
);
- }, [associate, clockedIn, StatusColors]);
+ }, [associate, clockedIn]);
const textDisabled = !clockedIn;
const {height} = StyleSheet.flatten(style);
--- src/containers/ChatInput/MeteringVisualization.tsx
@@ -64,6 +64,7 @@ export const MeteringAnimation = (props: {
return (
<ScrollView
horizontal
+ // @ts-ignore
ref={scrollViewRef}
scrollEnabled={false}
style={[styles.meterScrollView, style]}
| remove unused useMemo Dep | remove unused useMemo Dep
|
9ce300544d60380df021e0cb10643dea107cf122 | --- packages/allspark-foundation/src/Work/Context.tsx
@@ -18,7 +18,6 @@ export const {
* const { actionId, setActionId } = useWorkContext();
**/
useContextValue: useWorkContext,
- getContextValue: getWorkContext,
} = AllsparkContextCreator<IWorkContext>('Work', {
actionId: null,
setActionId: noop,
@@ -39,4 +38,4 @@ export const WorkProvider = (props: PropsWithChildren<{}>) => {
{children}
</WorkContextProvider>
)
-};
\ No newline at end of file
+};
--- packages/allspark-foundation/src/Work/index.ts
@@ -1 +1 @@
-export * from './Context'
\ No newline at end of file
+export * from './Context';
| fix(DWORK-6097): removed getContextValue from workContext | fix(DWORK-6097): removed getContextValue from workContext
|
62c0b4179006b8ca97168dedad10299a58a34f1b | --- ios/Podfile.lock
@@ -401,7 +401,7 @@ PODS:
- React-Core
- react-native-pdf (6.2.2):
- React-Core
- - react-native-ptt-module (1.5.37):
+ - react-native-ptt-module (1.5.38):
- PTT (= 0.7.8-rc.7)
- React
- react-native-safe-area-context (3.3.2):
@@ -956,7 +956,7 @@ SPEC CHECKSUMS:
react-native-netinfo: 77d133105df525d4a11f10fcaa8d0b8883ea6429
react-native-pager-view: 311c10a4eead1be627cad59062aa059d8108b943
react-native-pdf: 4b5a9e4465a6a3b399e91dc4838eb44ddf716d1f
- react-native-ptt-module: 1d691ae1f8a2bf2556a5b7e20520f2b7249bfe61
+ react-native-ptt-module: bcd522e0a9596ebc958a1eed91164006459800bc
react-native-safe-area-context: 5cf05f49df9d17261e40e518481f2e334c6cd4b5
react-native-splash-screen: 200d11d188e2e78cea3ad319964f6142b6384865
react-native-video: 8d97379f3c2322a569f1e27542ad1a646cad9444
--- package-lock.json
@@ -16935,9 +16935,9 @@
"integrity": "sha512-PO99dptMocEfUSS3SM7gY6UqophaBxizKjnZ7FcEwa+H4ONVxTk310/JCXJ9vdNunomgpxHluKRXnApfm9Md1w=="
},
"react-native-ptt-module": {
- "version": "1.5.37",
- "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.5.37.tgz",
- "integrity": "sha512-ZIC/HKg73tb0ilAJKtdbb+pDsBtvx+0Ln77us6AZNCGF8nN0bsmlGG2H5QuXEhyS5Fhe6rdhghQcZjtm887WmQ=="
+ "version": "1.5.38",
+ "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.5.38.tgz",
+ "integrity": "sha512-yzyyjDSDOJRad6Gvprhs85BbCRMCqkFpRi2gd/wlMEN1gRD/BqgIHfnJWeQCMBP9XyJaa17TKCuIBvyZ+hDscQ=="
},
"react-native-qrcode-svg": {
"version": "6.0.6",
--- package.json
@@ -140,7 +140,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.5.37",
+ "react-native-ptt-module": "1.5.38",
"realm": "10.8.0",
"react-native-loudness": "^2.0.0",
"react-native-qrcode-svg": "^6.0.6",
| updating bridge module | updating bridge module
|
46af175f7b6981e478dffcf29d0cc2ac57b1f306 | --- targets/US/package.json
@@ -91,7 +91,7 @@
"@walmart/avp-shared-library": "0.10.1",
"@walmart/backroom-mini-app": "1.5.20",
"@walmart/calling-mini-app": "0.5.17",
- "@walmart/checkout-mini-app": "3.30.0",
+ "@walmart/checkout-mini-app": "3.31.0",
"@walmart/compass-sdk-rn": "5.19.15",
"@walmart/config-components": "4.4.5",
"@walmart/core-services": "~6.4.1",
--- yarn.lock
@@ -6153,9 +6153,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/checkout-mini-app@npm:3.30.0":
- version: 3.30.0
- resolution: "@walmart/checkout-mini-app@npm:3.30.0"
+"@walmart/checkout-mini-app@npm:3.31.0":
+ version: 3.31.0
+ resolution: "@walmart/checkout-mini-app@npm:3.31.0"
dependencies:
"@stomp/stompjs": "npm:^7.0.0"
cpc-input: "npm:^1.7.28"
@@ -6197,7 +6197,7 @@ __metadata:
react-native-wm-telemetry: ">=6"
react-redux: ^8.1.3
redux: ^4.0.5
- checksum: 10c0/f1368a7801c8b2c5ff4e5cb1b899a6bd6398d203c8f281d0e5b51803193967407454f1f05539a7c0a4f9c5051df618b073d061186aceb0ceb38fdcb8e6b69454
+ checksum: 10c0/88ed7aee00f26709969ffacb2702cc044a9a541e7426b4ac2f7be0c9d7b61829d1704e5a09bf3db7d564c915032b4516d5e9ff1353d330835cb20cce70fdd27b
languageName: node
linkType: hard
@@ -6998,7 +6998,7 @@ __metadata:
"@walmart/avp-shared-library": "npm:0.10.1"
"@walmart/backroom-mini-app": "npm:1.5.20"
"@walmart/calling-mini-app": "npm:0.5.17"
- "@walmart/checkout-mini-app": "npm:3.30.0"
+ "@walmart/checkout-mini-app": "npm:3.31.0"
"@walmart/compass-sdk-rn": "npm:5.19.15"
"@walmart/config-components": "npm:4.4.5"
"@walmart/core-services": "npm:~6.4.1"
| update co version with bug fix | update co version with bug fix
|
c4cbb0a8884c8cdc475f548d9e8e3963a1f4d2e7 | --- .yarn/patches/@walmart-schedule-mini-app-npm-5.4.4-e63d1ba9c6.patch
@@ -1,17 +1,16 @@
-diff --git a/dist/common/translations/updateDateLocale.js b/dist/common/translations/updateDateLocale.js
-index 5d3b96abcf39a5b30be1210ceb1a09ecfbcb148e..d052a4641bb3beecc05dac289e83e98d491665fd 100644
---- a/dist/common/translations/updateDateLocale.js
-+++ b/dist/common/translations/updateDateLocale.js
-@@ -4,9 +4,11 @@ import localeFR from './moment-fr';
- import XDate from 'xdate';
- import i18next from 'i18next';
- import { MONTHS, DAYS } from './constants';
-+import {enUS} from '../../translations/en-US';
-+
- //adding custom long date formats
- export const UpdateDateLocale = (lang, ns) => {
-- const localizedStrings = i18next.getResourceBundle(lang, ns);
-+ const localizedStrings = i18next.getResourceBundle(lang, ns) ?? enUS;
- const transformedStrings = () => {
- const strings = {
- monthNames: [],
+diff --git a/src/common/translations/updateDateLocale.ts b/src/common/translations/updateDateLocale.ts
+index 57340eeef0bb2bfe7f87a3ed791e2fe5e0ccc0a5..8b8ce0afff29f922a0e5603391beceaa750a0806 100644
+--- a/src/common/translations/updateDateLocale.ts
++++ b/src/common/translations/updateDateLocale.ts
+@@ -17,7 +17,10 @@ export const UpdateDateLocale = (lang: string, ns: string) => {
+ amDesignator: null,
+ pmDesignator: null,
+ };
+-
++ // Check if localizedStrings and calendarLocale exist
++ if (!localizedStrings || !localizedStrings.calendarLocale) {
++ return strings;
++ }
+ const keys = Object.keys(strings);
+ keys.forEach((key) => {
+ switch (key) {
--- package.json
@@ -168,7 +168,7 @@
"@walmart/rn-mobile-sdk-pairing": "3.0.3",
"@walmart/rn-receiving-mini-app": "2.8.44",
"@walmart/roster-mini-app": "3.15.0",
- "@walmart/schedule-mini-app": "5.4.4",
+ "@walmart/schedule-mini-app": "patch:@walmart/schedule-mini-app@npm%3A5.4.4#~/.yarn/patches/@walmart-schedule-mini-app-npm-5.4.4-e63d1ba9c6.patch",
"@walmart/shelfavailability-mini-app": "1.7.2",
"@walmart/shop-gnfr-mini-app": "1.0.454",
"@walmart/sidekick-mini-app": "patch:@walmart/sidekick-mini-app@npm%3A4.275.2#~/.yarn/patches/@walmart-sidekick-mini-app-npm-4.275.2-ae9ff75ac4.patch",
--- yarn.lock
@@ -8937,7 +8937,7 @@ __metadata:
"@walmart/rn-mobile-sdk-pairing": "npm:3.0.3"
"@walmart/rn-receiving-mini-app": "npm:2.8.44"
"@walmart/roster-mini-app": "npm:3.15.0"
- "@walmart/schedule-mini-app": "npm:5.4.4"
+ "@walmart/schedule-mini-app": "patch:@walmart/schedule-mini-app@npm%3A5.4.4#~/.yarn/patches/@walmart-schedule-mini-app-npm-5.4.4-e63d1ba9c6.patch"
"@walmart/shelfavailability-mini-app": "npm:1.7.2"
"@walmart/shop-gnfr-mini-app": "npm:1.0.454"
"@walmart/sidekick-mini-app": "patch:@walmart/sidekick-mini-app@npm%3A4.275.2#~/.yarn/patches/@walmart-sidekick-mini-app-npm-4.275.2-ae9ff75ac4.patch"
@@ -9803,6 +9803,46 @@ __metadata:
languageName: node
linkType: hard
+"@walmart/schedule-mini-app@patch:@walmart/schedule-mini-app@npm%3A5.4.4#~/.yarn/patches/@walmart-schedule-mini-app-npm-5.4.4-e63d1ba9c6.patch":
+ version: 5.4.4
+ resolution: "@walmart/schedule-mini-app@patch:@walmart/schedule-mini-app@npm%3A5.4.4%3A%3A__archiveUrl=https%253A%252F%252Fnpm.ci.artifacts.walmart.com%253A443%252Fartifactory%252Fapi%252Fnpm%252Fnpme-npm%252F%2540walmart%252Fschedule-mini-app%252F-%252F%2540walmart%252Fschedule-mini-app-5.4.4.tgz#~/.yarn/patches/@walmart-schedule-mini-app-npm-5.4.4-e63d1ba9c6.patch::version=5.4.4&hash=e33eb4"
+ peerDependencies:
+ "@react-native-community/datetimepicker": ">=7.6.2"
+ "@react-native-firebase/remote-config": ">=10.1.1"
+ "@react-navigation/elements": ">=2.2.6"
+ "@react-navigation/native": ">=7.1.14"
+ "@react-navigation/stack": ">=7.4.2"
+ "@reduxjs/toolkit": ">=2.2.8"
+ "@walmart/allspark-foundation": ">=7.9.1"
+ "@walmart/allspark-http-client": ">=2.4.17"
+ "@walmart/attendance-mini-app": ">=3.24.3"
+ "@walmart/ax-components": ^1.1.0
+ "@walmart/gtp-shared-components": ">=0.2.2"
+ "@walmart/gtp-shared-components-3": "*"
+ "@walmart/me-at-walmart-common": ">=6.39.0"
+ "@walmart/moment-walmart": ">=1.0.4"
+ "@walmart/ui-components": ">=1.15.0"
+ "@walmart/wfm-ui": ">=4.1.0"
+ crypto-js: ">=4.2.0"
+ expo-font: ~11.4.0
+ expo-image: ">=2.0.0"
+ expo-modules-core: ~1.5.10
+ i18next: ">=19.8.7"
+ javascript-time-ago: ">=2.3.4"
+ luxon: ">=1.28.0"
+ react: ">=18.2.0"
+ react-i18next: ">=12.0.0"
+ react-native: ">=0.77.0"
+ react-native-tab-view: ">=3.3.0"
+ react-native-wm-config: ">=0.1.1"
+ react-redux: ">=7.2.1"
+ redux: ">=4.0.5"
+ reselect: ">=4.0.0"
+ wfm-allspark-data-library: ">=7.0.0"
+ checksum: 10c0/e3d44997f0a81477d320ffa5fc86fa6b4a20740f09f49fc7e02d2db3bbbe4a4ebb1f7a329d7fd6f780bec93ec6221dd770f8c6af7dea1b07580612c60f89af35
+ languageName: node
+ linkType: hard
+
"@walmart/service-environment-js@npm:^1.0.2":
version: 1.0.4
resolution: "@walmart/service-environment-js@npm:1.0.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fservice-environment-js%2F-%2Fservice-environment-js-1.0.4.tgz"
| feat(translation): add patch for language change errors | feat(translation): add patch for language change errors
|
25ee937314609b80b0e616e2c71006130c145c2d | --- package.json
@@ -189,10 +189,5 @@
"skipScope": false,
"jiraPrefix": "JIRA_PROJECT"
}
- },
- "dependencies": {
- "expo": "~52.0.46",
- "react": "18.3.1",
- "react-native": "0.76.9"
}
}
--- src/components/MyWalmartv2/Common/RosterEmptyState/RosterEmptyState.tsx
@@ -1,6 +1,6 @@
import React, { memo } from "react";
import { View, StyleSheet, Image } from "react-native";
-import { Body, Heading } from "@walmart/gtp-shared-components";
+import { Body, colors, Heading } from "@walmart/gtp-shared-components";
export interface RosterEmptyStateProps {
title: string;
@@ -55,30 +55,30 @@ const styles = StyleSheet.create({
title: {
textAlign: "center",
marginBottom: 8,
- color: "#333",
+ color: colors.gray["20"],
},
description: {
textAlign: "center",
- color: "#666",
+ color: colors.gray["40"],
},
skeletonImage: {
width: 200,
height: 200,
- backgroundColor: "#f0f0f0",
+ backgroundColor: colors.gray["10"],
borderRadius: 8,
marginBottom: 24,
},
skeletonTitle: {
width: "60%",
height: 24,
- backgroundColor: "#f0f0f0",
+ backgroundColor: colors.gray["10"],
borderRadius: 4,
marginBottom: 12,
},
skeletonDescription: {
width: "80%",
height: 16,
- backgroundColor: "#f0f0f0",
+ backgroundColor: colors.gray["10"],
borderRadius: 4,
},
});
| feat(ui): updated deps | feat(ui): updated deps
|
225b76585f9f3cd6c0cfa940b0173eb72c4d64fb | --- docs/CHANGELOG.md
@@ -1,3 +1,11 @@
+## [2.14.1](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.14.0...v2.14.1) (2025-02-28)
+
+
+### Bug Fixes
+
+* **ui:** update roster and wmconnect mini app version smdv-9999 ([77eb4b8](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/77eb4b81a0b9c5620342695fc80c6bc3401608fc))
+* **ui:** update roster and wmconnect mini app version smdv-9999 ([6623113](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/6623113714fe0b2a1e8a569c5fb800ed68bee3be))
+
# [2.14.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.13.0...v2.14.0) (2025-02-28)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.14.0",
+ "version": "2.14.1",
"main": "dist/index.js",
"files": [
"dist"
| chore(release): 2.14.1 [skip ci] | chore(release): 2.14.1 [skip ci]
## [2.14.1](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.14.0...v2.14.1) (2025-02-28)
### Bug Fixes
* **ui:** update roster and wmconnect mini app version smdv-9999 ([77eb4b8](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/77eb4b81a0b9c5620342695fc80c6bc3401608fc))
* **ui:** update roster and wmconnect mini app version smdv-9999 ([6623113](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/6623113714fe0b2a1e8a569c5fb800ed68bee3be))
|
405f484f41618fa53718b9907c05dba8825ed4bf | --- targets/US/package.json
@@ -127,7 +127,7 @@
"@walmart/myteam-mini-app": "1.12.0",
"@walmart/native-rfid-scanner": "3.12.1",
"@walmart/onewalmart-miniapp": "1.0.24",
- "@walmart/pay-stub-miniapp": "0.20.5",
+ "@walmart/pay-stub-miniapp": "0.20.6",
"@walmart/payrollsolution_miniapp": "0.145.20",
"@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",
--- yarn.lock
@@ -7364,7 +7364,7 @@ __metadata:
"@walmart/myteam-mini-app": "npm:1.12.0"
"@walmart/native-rfid-scanner": "npm:3.12.1"
"@walmart/onewalmart-miniapp": "npm:1.0.24"
- "@walmart/pay-stub-miniapp": "npm:0.20.5"
+ "@walmart/pay-stub-miniapp": "npm:0.20.6"
"@walmart/payrollsolution_miniapp": "npm:0.145.20"
"@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"
@@ -7781,15 +7781,15 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/pay-stub-miniapp@npm:0.20.5":
- version: 0.20.5
- resolution: "@walmart/pay-stub-miniapp@npm:0.20.5"
+"@walmart/pay-stub-miniapp@npm:0.20.6":
+ version: 0.20.6
+ resolution: "@walmart/pay-stub-miniapp@npm:0.20.6"
dependencies:
expo: "npm:^50.0.0"
expo-sharing: "npm:~11.7.0"
peerDependencies:
"@walmart/allspark-foundation": "*"
- checksum: 10c0/4bdc70859cf45d03f201f91944930af2ae987b1c48e2e9dd386cfff59d416408554c9f71381074271805e4a227518bb817925c212593492ba6a83b81ee16c05a
+ checksum: 10c0/df4d13144511784984508191e4d1c01f26a15818eb22f363ccd012ebdcf2d924b9473eb52265931d314a992daa842fc0e7fbc225206b010a8bbd2db652390d42
languageName: node
linkType: hard
| bump version | bump version
|
4afa30525cdf4ef770f09e634731ce3be73181a5 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "3.8.6",
+ "version": "3.8.7",
"main": "dist/index.js",
"files": [
"dist",
@@ -93,7 +93,7 @@
"@walmart/react-native-scanner-3.0": "patch:@walmart/react-native-scanner-3.0@npm%3A0.15.8#~/.yarn/patches/@walmart-react-native-scanner-3.0-npm-0.15.8-6fb92a01bb.patch",
"@walmart/react-native-sumo-sdk": "patch:@walmart/react-native-sumo-sdk@npm%3A2.8.0#~/.yarn/patches/@walmart-react-native-sumo-sdk-npm-2.8.0-31dfe1d845.patch",
"@walmart/ui-components": "1.26.3-423-05e66f8",
- "@walmart/wmconnect-mini-app": "3.7.6",
+ "@walmart/wmconnect-mini-app": "3.7.7",
"babel-jest": "^29.6.3",
"chance": "^1.1.11",
"crypto-js": "~4.2.0",
--- yarn.lock
@@ -8437,7 +8437,7 @@ __metadata:
"@walmart/react-native-scanner-3.0": "patch:@walmart/react-native-scanner-3.0@npm%3A0.15.8#~/.yarn/patches/@walmart-react-native-scanner-3.0-npm-0.15.8-6fb92a01bb.patch"
"@walmart/react-native-sumo-sdk": "patch:@walmart/react-native-sumo-sdk@npm%3A2.8.0#~/.yarn/patches/@walmart-react-native-sumo-sdk-npm-2.8.0-31dfe1d845.patch"
"@walmart/ui-components": "npm:1.26.3-423-05e66f8"
- "@walmart/wmconnect-mini-app": "npm:3.7.6"
+ "@walmart/wmconnect-mini-app": "npm:3.7.7"
babel-jest: "npm:^29.6.3"
chance: "npm:^1.1.11"
crypto-js: "npm:~4.2.0"
@@ -8529,9 +8529,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:3.7.6":
- version: 3.7.6
- resolution: "@walmart/wmconnect-mini-app@npm:3.7.6::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.7.6.tgz"
+"@walmart/wmconnect-mini-app@npm:3.7.7":
+ version: 3.7.7
+ resolution: "@walmart/wmconnect-mini-app@npm:3.7.7::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.7.7.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=7.12.0"
"@walmart/gtp-shared-components": ^2.3.0-rc.0
@@ -8543,7 +8543,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/cf54af0741a2b56c35c081a683022994cc09253dfd74fd21e3979e6032250d05a24af494da3412783fdce19507b919f5339d32ea0916b387d8450ad484934bea
+ checksum: 10c0/1aca286af0816b7e5dfe0fad8b6370d6cafeb6cf26216c6ab4e185d82f737b8e8220cdb51e28f04b9f6356bc1f7d1cfd0993e7a9b3a43196f188f00dca777767
languageName: node
linkType: hard
| feat(ui): fix update package versions | feat(ui): fix update package versions
|
7141e8377cb4579cd7712a6ecf15d077124c8351 | --- packages/me-at-walmart-athena-queries/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.
+# [6.29.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@6.28.0...@walmart/me-at-walmart-athena-queries@6.29.0) (2025-01-09)
+
+### Features
+
+- **ui:** exporting added queries ([8cb46fc](https://gecgithub01.walmart.com/allspark/allspark/commit/8cb46fc33ff24b927329e2a3edfc8796fa0a99bd))
+
# [6.28.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@6.27.0...@walmart/me-at-walmart-athena-queries@6.28.0) (2025-01-09)
### Features
--- packages/me-at-walmart-athena-queries/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-athena-queries",
- "version": "6.28.0",
+ "version": "6.29.0",
"description": "> TODO: description",
"author": "rlane1 <russell.lane@walmart.com>",
"homepage": "",
| chore(version): updating package version | chore(version): updating package version
- @walmart/me-at-walmart-athena-queries@6.29.0
|
7acf8106c0aa4c68e1a5968be8eb34200b197714 | --- src/navigation/AssociateHallwayNav/Tabs/index.tsx
@@ -177,10 +177,7 @@ export const MainTabsNav = () => {
iconSelected: 'ask-sam',
}),
}}
- listeners={{
- tabPress: (e) => onAskSamTabPress(e),
- blur: undefined,
- }}
+ listeners={{tabPress: onAskSamTabPress, blur: undefined}}
/>
)}
| cleaning code | cleaning code
|
ac3187ed3db819263540e32077da5d173c291ea6 | --- .looper.yml
@@ -4,6 +4,7 @@ tools:
sonarscanner: 4.6.2.2472
updateTaskStatusOnGit: true
+
envs:
global:
variables:
@@ -33,12 +34,12 @@ triggers:
# - manual:
# name: Publish Major
# call: publishMajor
- - manual:
- name: Publish Pre-Release
- call: publishPrerelease
- - manual:
- name: Publish Graduate
- call: publishGraduate
+ # - manual:
+ # name: Publish Pre-Release
+ # call: publishPrerelease
+ # - manual:
+ # name: Publish Graduate
+ # call: publishGraduate
flows:
default:
--- packages/expo-config-plugins/package.json
@@ -8,9 +8,6 @@
"files": [
"lib"
],
- "publishConfig": {
- "registry": "https://npme.walmart.com/"
- },
"repository": {
"type": "git",
"url": "https://gecgithub01.walmart.com/allspark/allspark.git"
@@ -27,4 +24,4 @@
"@types/fs-extra": "^11.0.4",
"typescript": "5.0.4"
}
-}
+}
\ No newline at end of file
| chore: remove publish config from config plugins library | chore: remove publish config from config plugins library
|
e9c7277961dc4a6e366d2ff58b57f8592c926fe1 | --- package-lock.json
@@ -47,7 +47,7 @@
"@walmart/exception-mini-app": "1.0.16",
"@walmart/facilities-management-miniapp": "0.5.36",
"@walmart/feedback-all-spark-miniapp": "0.9.10",
- "@walmart/financial-wellbeing-feature-app": "1.4.1",
+ "@walmart/financial-wellbeing-feature-app": "1.4.2",
"@walmart/functional-components": "2.0.6",
"@walmart/gta-react-native-calendars": "0.0.16",
"@walmart/gtp-shared-components": "2.0.3",
@@ -5063,9 +5063,9 @@
}
},
"node_modules/@walmart/financial-wellbeing-feature-app": {
- "version": "1.4.1",
- "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.4.1.tgz",
- "integrity": "sha512-3Z9jIMTW1RUqdP/fIikPLHULpRxOsjtFoShblJ5EMU4zMDXRKqHefuP2DyDndLmw3O/FxiREgRjqheCSEbO6WQ==",
+ "version": "1.4.2",
+ "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.4.2.tgz",
+ "integrity": "sha512-IOcFYCG2y/+pwMctJECL/Rpi+Kzkfn+6OtETp+XtNiFHQ8m81C3qannJYZQPQdJB3htpJfTPgKpcsjqyuRQvgA==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -25024,9 +25024,9 @@
"integrity": "sha512-zqz82og6sfBPi2wYuXT6WiBgENoP8RMv3FUoQ4sb1TjIacOFRuGJbsu1TjG1YtdOz/GDrMty9W9ZH03KyNZLFg=="
},
"@walmart/financial-wellbeing-feature-app": {
- "version": "1.4.1",
- "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.4.1.tgz",
- "integrity": "sha512-3Z9jIMTW1RUqdP/fIikPLHULpRxOsjtFoShblJ5EMU4zMDXRKqHefuP2DyDndLmw3O/FxiREgRjqheCSEbO6WQ=="
+ "version": "1.4.2",
+ "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.4.2.tgz",
+ "integrity": "sha512-IOcFYCG2y/+pwMctJECL/Rpi+Kzkfn+6OtETp+XtNiFHQ8m81C3qannJYZQPQdJB3htpJfTPgKpcsjqyuRQvgA=="
},
"@walmart/functional-components": {
"version": "2.0.6",
--- package.json
@@ -89,7 +89,7 @@
"@walmart/exception-mini-app": "1.0.16",
"@walmart/facilities-management-miniapp": "0.5.36",
"@walmart/feedback-all-spark-miniapp": "0.9.10",
- "@walmart/financial-wellbeing-feature-app": "1.4.1",
+ "@walmart/financial-wellbeing-feature-app": "1.4.2",
"@walmart/functional-components": "2.0.6",
"@walmart/gta-react-native-calendars": "0.0.16",
"@walmart/gtp-shared-components": "2.0.3",
| bumped financial-wellbeing-feature-app to 1.4.2 | bumped financial-wellbeing-feature-app to 1.4.2
|
df5d9d72099c064213bb4e70dab61b7608cec6d7 | --- android/app/build.gradle
@@ -135,7 +135,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 121
- versionName "1.0.10"
+ versionName "1.0.11"
}
splits {
abi {
--- ios/AllSpark/Info.plist
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.0.10</string>
+ <string>1.0.11</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
--- ios/Podfile.lock
@@ -740,14 +740,14 @@ PODS:
- RNWMSSOLibrary (1.1.0):
- AppAuth
- React
- - SSO (= 1.2.6)
+ - SSO (= 1.2.8)
- SDWebImage (5.10.4):
- SDWebImage/Core (= 5.10.4)
- SDWebImage/Core (5.10.4)
- SDWebImageWebPCoder (0.6.1):
- libwebp (~> 1.0)
- SDWebImage/Core (~> 5.7)
- - SSO (1.2.6):
+ - SSO (1.2.8):
- AppAuth
- Starscream (3.0.6)
- Yoga (1.14.0)
@@ -1098,10 +1098,10 @@ SPEC CHECKSUMS:
RNSketchCanvas: 6939b18677cd1794151cc3d8eb5a0a2158a4a05b
RNSVG: ce9d996113475209013317e48b05c21ee988d42e
RNVectorIcons: bc69e6a278b14842063605de32bec61f0b251a59
- RNWMSSOLibrary: 807e32de9ebcb281befbb9dd14a81fd16a022112
+ RNWMSSOLibrary: c252a5290fcf088b5974c454d4b17a1d6e66174d
SDWebImage: c666b97e1fa9c64b4909816a903322018f0a9c84
SDWebImageWebPCoder: d0dac55073088d24b2ac1b191a71a8f8d0adac21
- SSO: 8be53bdf8f2f0022f87274acdaf04db34b94c83a
+ SSO: 29ee67602c1a6a982ffe74ade095215f182d13f9
Starscream: ef3ece99d765eeccb67de105bfa143f929026cf5
Yoga: 7740b94929bbacbddda59bf115b5317e9a161598
--- package-lock.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.0.10",
+ "version": "1.0.11",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -12388,9 +12388,9 @@
"integrity": "sha512-Ls9qiNZzW/OLFoI25wfjjAcrf2DZ975hn2vr6U9gyuxi2nooVbzQeFoQS5vQcbCt9QX5NY8ASEEAtlLdIa6KVg=="
},
"react-native-ssmp-sso-allspark": {
- "version": "1.0.7",
- "resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-1.0.7.tgz",
- "integrity": "sha512-PI7fpOBEMAnnpIxwnM13fKgBmMNbO2d4y1bLZEW2IG+eSf1bZevW8r+sqhNtyDzy/tFLEKBDnxDINvdhiopYZQ=="
+ "version": "1.0.9",
+ "resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-1.0.9.tgz",
+ "integrity": "sha512-JVi8upB0i3uUC2lomee4Od2H4tGfPF1fki21hQcDGKBpAuI8ueZxarlJ6h2FdNRpYhonoXOGBfvzYUK/kMz9Fg=="
},
"react-native-sumo-sdk": {
"version": "2.7.4-rc.9",
--- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.0.10",
+ "version": "1.0.11",
"private": true,
"scripts": {
"firebase:dev": "cp ./ios/GoogleService-Info-Dev.plist ./ios/GoogleService-Info.plist && cp ./android/app/google-services-dev.json ./android/app/google-services.json",
@@ -108,7 +108,7 @@
"react-native-screens": "^2.10.1",
"react-native-sha256": "^1.3.6",
"react-native-splash-screen": "^3.2.0",
- "react-native-ssmp-sso-allspark": "1.0.7",
+ "react-native-ssmp-sso-allspark": "1.0.9",
"react-native-sumo-sdk": "^2.7.4-rc.9",
"react-native-svg": "^12.1.0",
"react-native-tab-view": "^2.15.2",
| SSO version bump up (#460) | SSO version bump up (#460)
* SSO version bump up
* bumping version and updating PodFile.lock
Co-authored-by: Hitesh Arora <> |
24e52d9b3d11bc758d1ac73fb67c502e258acc8e | --- package-lock.json
@@ -84,7 +84,7 @@
"@walmart/time-clock-mini-app": "2.98.0",
"@walmart/topstock-mini-app": "1.0.6",
"@walmart/ui-components": "1.15.0",
- "@walmart/welcomeme-mini-app": "0.80.0",
+ "@walmart/welcomeme-mini-app": "0.81.0",
"@walmart/wfm-ui": "0.2.26",
"axios": "~1.2.6",
"axios-cache-adapter": "2.7.3",
@@ -6161,9 +6161,9 @@
}
},
"node_modules/@walmart/welcomeme-mini-app": {
- "version": "0.80.0",
- "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.80.0.tgz",
- "integrity": "sha512-tw2l/nKm2ydsbfrYEzhv5KbEwUZH3ZB6T5YtQTO3MqpO41+66/gKOl9GZpJUfjnrtE2IpdR5hKobAT9W/n9Kjw==",
+ "version": "0.81.0",
+ "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.81.0.tgz",
+ "integrity": "sha512-XtjAkWjKxU44I9uc3ObGBYa34J/aRoWKJOq4Poo2m77mA7VoJ3iDnd97zi5LR+QCpKawcTwG3wwY4lzAjKH1qQ==",
"hasInstallScript": true,
"dependencies": {
"apisauce": "^1.1.2"
@@ -25445,9 +25445,9 @@
}
},
"@walmart/welcomeme-mini-app": {
- "version": "0.80.0",
- "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.80.0.tgz",
- "integrity": "sha512-tw2l/nKm2ydsbfrYEzhv5KbEwUZH3ZB6T5YtQTO3MqpO41+66/gKOl9GZpJUfjnrtE2IpdR5hKobAT9W/n9Kjw==",
+ "version": "0.81.0",
+ "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.81.0.tgz",
+ "integrity": "sha512-XtjAkWjKxU44I9uc3ObGBYa34J/aRoWKJOq4Poo2m77mA7VoJ3iDnd97zi5LR+QCpKawcTwG3wwY4lzAjKH1qQ==",
"requires": {
"apisauce": "^1.1.2"
}
--- package.json
@@ -126,7 +126,7 @@
"@walmart/time-clock-mini-app": "2.98.0",
"@walmart/topstock-mini-app": "1.0.6",
"@walmart/ui-components": "1.15.0",
- "@walmart/welcomeme-mini-app": "0.80.0",
+ "@walmart/welcomeme-mini-app": "0.81.0",
"@walmart/wfm-ui": "0.2.26",
"axios": "~1.2.6",
"axios-cache-adapter": "2.7.3",
| chore: welcomeMe mini app version bump | chore: welcomeMe mini app version bump
|
de3e50c3e6317cb22c12a0866025ac08e6784a04 | --- __tests__/PinAccess/IndexTest.ts
@@ -18,7 +18,7 @@ describe('PinScreenFeature', () => {
expect(
PinScreenFeature._screens['Core.CreatePINScreen'].options
.headerShown,
- ).toBe(true);
+ ).toBe(false);
expect(
PinScreenFeature._screens['Core.PinAccessModal'].options
.headerShown,
--- __tests__/navigation/__snapshots__/RootStackTest.tsx.snap
@@ -115,11 +115,8 @@ exports[`RootNav matches snapshot when app accessible 1`] = `
name="Core.CreatePINScreen"
options={
{
- "header": [Function],
- "headerShown": true,
- "headerTintColor": "white",
- "headerTransparent": true,
- "title": "",
+ "gestureEnabled": false,
+ "headerShown": false,
}
}
/>
@@ -129,7 +126,7 @@ exports[`RootNav matches snapshot when app accessible 1`] = `
options={
{
"animationTypeForReplace": "push",
- "estureEnabled": false,
+ "gestureEnabled": false,
"headerShown": false,
}
}
--- src/PinAccess/index.ts
@@ -1,5 +1,4 @@
import {AllsparkFeatureModule} from '@walmart/allspark-foundation/Feature';
-import {Header} from '@walmart/ui-components';
import {pinModalTransitionOptions} from '../navigation/constants';
export const PinScreenFeature = new AllsparkFeatureModule('pinScreen', {
@@ -9,18 +8,15 @@ export const PinScreenFeature = new AllsparkFeatureModule('pinScreen', {
getComponent: () => require('./PinAccess').PinAccess,
options: {
headerShown: false,
- estureEnabled: false,
+ gestureEnabled: false,
animationTypeForReplace: 'push',
},
},
'Core.CreatePINScreen': {
getComponent: () => require('./CreatePinScreen').CreatePinScreen,
options: {
- title: '',
- header: Header,
- headerShown: true,
- headerTransparent: true,
- headerTintColor: 'white',
+ headerShown: false,
+ gestureEnabled: false,
},
},
'Core.PinAccessModal': {
| fix: disable header on create pin screen (#4902) | fix: disable header on create pin screen (#4902)
|
0068ac1bbe1a3f84ae9cd4b26739fc06e51e2091 | --- ios/Podfile.lock
@@ -225,12 +225,7 @@ PODS:
- BoringSSL-GRPC/Implementation (0.0.7):
- BoringSSL-GRPC/Interface (= 0.0.7)
- BoringSSL-GRPC/Interface (0.0.7)
- - CocoaAsyncSocket (7.6.4)
- - CocoaMQTT/Core (1.3.0-rc.1):
- - CocoaAsyncSocket (~> 7.6.3)
- - CocoaMQTT/WebSockets (1.3.0-rc.1):
- - CocoaMQTT/Core
- - Starscream (~> 3.0.2)
+ - CocoaAsyncSocket (7.6.5)
- DoubleConversion (1.1.6)
- FBLazyVector (0.63.2)
- FBReactNativeSpec (0.63.2):
@@ -396,9 +391,10 @@ PODS:
- nanopb/encode (1.30906.0)
- PromisesObjC (1.2.11)
- Protobuf (3.13.0)
- - PTT (0.4.2):
+ - PTT (0.4.7):
- BinaryCodable (~> 0.2.1)
- - CocoaMQTT/WebSockets (~> 1.3.0-rc.1)
+ - CocoaAsyncSocket (~> 7.6.3)
+ - Starscream (~> 3.0.2)
- RCTRequired (0.63.2)
- RCTTypeSafety (0.63.2):
- FBLazyVector (= 0.63.2)
@@ -573,8 +569,8 @@ PODS:
- React-Core
- react-native-pdf (6.2.2):
- React-Core
- - react-native-ptt-module (1.1.60):
- - PTT (= 0.4.2)
+ - react-native-ptt-module (1.1.62):
+ - PTT (= 0.4.7)
- React
- react-native-safe-area-context (3.1.8):
- React-Core
@@ -797,7 +793,6 @@ SPEC REPOS:
- boost-for-react-native
- BoringSSL-GRPC
- CocoaAsyncSocket
- - CocoaMQTT
- Firebase
- FirebaseABTesting
- FirebaseAnalytics
@@ -953,8 +948,7 @@ SPEC CHECKSUMS:
BinaryCodable: 92908a9338a428dd3bbb6ae9c97ec907e5f6e4a7
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
BoringSSL-GRPC: 8edf627ee524575e2f8d19d56f068b448eea3879
- CocoaAsyncSocket: 694058e7c0ed05a9e217d1b3c7ded962f4180845
- CocoaMQTT: 3a24a180c2d7759465abbd96d49c655e4399ac35
+ CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
DoubleConversion: cde416483dac037923206447da6e1454df403714
FBLazyVector: 3ef4a7f62e7db01092f9d517d2ebc0d0677c4a37
FBReactNativeSpec: dc7fa9088f0f2a998503a352b0554d69a4391c5a
@@ -981,7 +975,7 @@ SPEC CHECKSUMS:
nanopb: 59317e09cf1f1a0af72f12af412d54edf52603fc
PromisesObjC: 8c196f5a328c2cba3e74624585467a557dcb482f
Protobuf: 3dac39b34a08151c6d949560efe3f86134a3f748
- PTT: 9fd958dcd42aabf6a7bfe5fd8a9defad46cb6536
+ PTT: e2003f58997a111aacc3648f562fea035f090c65
RCTRequired: f13f25e7b12f925f1f6a6a8c69d929a03c0129fe
RCTTypeSafety: 44982c5c8e43ff4141eb519a8ddc88059acd1f3a
React: e1c65dd41cb9db13b99f24608e47dd595f28ca9a
@@ -996,7 +990,7 @@ SPEC CHECKSUMS:
react-native-logger: 7b829af1706f15d4aec9c4354a1fe054305b51b9
react-native-netinfo: e36c1bb6df27ab84aa933679b3f5bbf9d180b18f
react-native-pdf: 4b5a9e4465a6a3b399e91dc4838eb44ddf716d1f
- react-native-ptt-module: 478ed63822bf2ba09ef9db8d2739e3ab0ddac2d5
+ react-native-ptt-module: a43a548cd22c6759900f931fcee752792b12608c
react-native-safe-area-context: 01158a92c300895d79dee447e980672dc3fb85a6
react-native-splash-screen: 200d11d188e2e78cea3ad319964f6142b6384865
react-native-sumo-sdk: 8a034fe724417d8c9465951630e229edef2f738f
| adding updated podfile.lock (#214) | adding updated podfile.lock (#214)
|
f562f7e3677c83cb14293b7bd7902c36698797be | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Hub/SiteHubDashboard.tsx
@@ -39,6 +39,7 @@ import {
AllsparkLocalStorage,
} from '@walmart/allspark-foundation';
import { POPOVER_KEY } from '../constant';
+import { teamSwitcherEnabled } from '../Redux';
export const SiteHubDashboard = ({ name, widgets }: HubDashboardProps) => {
const { showOnboarding, hideOnboardingFlow } = useOnboardingContext();
@@ -83,6 +84,7 @@ export const SiteHubDashboard = ({ name, widgets }: HubDashboardProps) => {
const showHubTeamSwitcher = useSelector(hubTeamSwitcherEnabled); // TODO: Create separate selector for supply chain team switcher
console.log('showHubTeamSwitcher,', showHubTeamSwitcher);
+ const showTeamSwitcher = useSelector(teamSwitcherEnabled);
const hubScreeName = useSelector(ManagerExperienceSelectors.getHubScreenName);
const { t } = useAllsparkTranslation();
| feat: added feature flag for bottom sheet team swticher and team item | feat: added feature flag for bottom sheet team swticher and team item
|
64a00f8c2f4fa899a51192a1e8cb6441eeda17eb | --- targets/US/ios/Podfile.lock
@@ -622,9 +622,9 @@ PODS:
- JWT (~> 3.0.0-beta.12)
- React-Core
- SSZipArchive (~> 2.2.2)
- - compass-sdk-ios (0.4.12.3)
- - compass-sdk-rn (5.19.13):
- - compass-sdk-ios (= 0.4.12.3)
+ - compass-sdk-ios (0.4.12.4)
+ - compass-sdk-rn (5.19.15):
+ - compass-sdk-ios (= 0.4.12.4)
- React-Core
- DoubleConversion (1.1.6)
- EXAV (13.10.6):
@@ -1915,7 +1915,7 @@ PODS:
- React
- react-native-loudness (2.0.0):
- React
- - react-native-maps (1.10.4):
+ - react-native-maps (1.3.2):
- React-Core
- react-native-netinfo (11.3.2):
- React-Core
@@ -2748,8 +2748,8 @@ SPEC CHECKSUMS:
BoringSSL-GRPC: 3175b25143e648463a56daeaaa499c6cb86dad33
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
CodePush: eaa66fc8dd9ff611304ecc48397ce8831ba79ac9
- compass-sdk-ios: e77515e01cf1c39cf342389b717b72c2aadf0c95
- compass-sdk-rn: 491bc4d39a622a68dd4203199a9492703633b958
+ compass-sdk-ios: ca4aa519d7f425db45b97c774641be756eca719f
+ compass-sdk-rn: caa95d0f17fa547d55405192bf30ebc7a5b8283c
DoubleConversion: fea03f2699887d960129cc54bba7e52542b6f953
EXAV: e4f6137431ddc4cb025895046bfefa9612025c35
EXConstants: a5f6276e565d98f9eb4280f81241fc342d641590
@@ -2840,7 +2840,7 @@ SPEC CHECKSUMS:
react-native-image-resizer: d9fb629a867335bdc13230ac2a58702bb8c8828f
react-native-logger: c35ed51339fcca80a2e171a75a5cd7979e96f524
react-native-loudness: 38527e7e42c3be3e4ea3d8aace2621a8eb9cafda
- react-native-maps: cdc4955fc67ddc7789eb8040deab5912de66b0c5
+ react-native-maps: 085f614cf14d3637b2048bb9752da5b1c27c2886
react-native-netinfo: 076df4f9b07f6670acf4ce9a75aac8d34c2e2ccc
react-native-pager-view: 0eb900a8c5d83c02a74b0125d4b5f9fdcc5b8f44
react-native-pdf: 103940c90d62adfd259f63cca99c7c0c306b514c
@@ -2922,7 +2922,7 @@ SPEC CHECKSUMS:
walmart-react-native-sumo-sdk: a6dc20c0ec3c8ab878886529a0e2fc22e747821c
WebexSDK: d652713bd7ad5902e81918121912ba75a0056c3b
wifi-store-locator: 501fca0a220c725ed93ab403635c0f246a8ce7e3
- Yoga: 47d399a73c0c0caa9ff824e5c657eae31215bfee
+ Yoga: c716aea2ee01df6258550c7505fa61b248145ced
PODFILE CHECKSUM: 17e750d8df86ae62ba07284ce6cb973a761640ea
| chore: updated compass-sdk-ios | chore: updated compass-sdk-ios
https://walmart.slack.com/archives/C018T8RUHU2/p1724421752468579?thread_ts=1724357658.286969&cid=C018T8RUHU2
|
85ba202d7e253af526fc3a510dbf89914b32dc38 | --- jest.config.js
@@ -10,7 +10,7 @@ module.exports = {
'!**/*.types.ts',
'!**/style.ts',
'!**/styles.ts',
- '!**/*.stories.tsx'
+ '!**/*.stories.tsx',
],
coverageThreshold: {
'global': {
--- packages/allspark-foundation/jest.config.js
@@ -17,5 +17,10 @@ module.exports = {
'__mocks__/',
'__tests__/utils/index.js',
'__tests__/utils/setup.js',
+ '__tests__/GlobalElements/context.test.tsx',
+ ],
+ coveragePathIgnorePatterns: [
+ '__tests__/GlobalElements/context.test.tsx',
+ 'src/GlobalElements/context.tsx',
],
};
| chore(jest): Temp exclude GlobalElements context test | chore(jest): Temp exclude GlobalElements context test
|
9484015724dff40bfee6b055e9fc344411e83eb1 | --- package-lock.json
@@ -71,7 +71,7 @@
"@walmart/mod-flex-mini-app": "1.15.5",
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "0.1.4",
- "@walmart/myteam-mini-app": "1.0.17",
+ "@walmart/myteam-mini-app": "1.0.18",
"@walmart/onewalmart-miniapp": "1.0.24",
"@walmart/pay-stub-miniapp": "0.15.2",
"@walmart/payrollsolution_miniapp": "0.138.4",
@@ -88,7 +88,7 @@
"@walmart/receipt-check-miniapp": "1.19.3",
"@walmart/redux-store": "3.7.0",
"@walmart/returns-mini-app": "3.13.0",
- "@walmart/roster-mini-app": "1.0.19",
+ "@walmart/roster-mini-app": "1.0.20",
"@walmart/schedule-mini-app": "0.93.0",
"@walmart/shelfavailability-mini-app": "1.5.20",
"@walmart/store-feature-orders": "1.26.3",
@@ -9416,9 +9416,9 @@
}
},
"node_modules/@walmart/myteam-mini-app": {
- "version": "1.0.17",
- "resolved": "https://npme.walmart.com/@walmart/myteam-mini-app/-/myteam-mini-app-1.0.17.tgz",
- "integrity": "sha512-b5TwzULdlhUW2sRbhMouyuTG7QlrrkkUBCzsOmqStOtoMoamNw2kUtaXanOxvZECBoLqYaVosAmOBUqmrqkp2Q==",
+ "version": "1.0.18",
+ "resolved": "https://npme.walmart.com/@walmart/myteam-mini-app/-/myteam-mini-app-1.0.18.tgz",
+ "integrity": "sha512-pZ2pjU+2vnVa6VVCFfHNNa60guq9sZ/CD45/he8ahEBqOcIPROSqcsfN0e5GQm71WfImY0mIEy/tuhkhTb7rIQ==",
"hasInstallScript": true
},
"node_modules/@walmart/onewalmart-miniapp": {
@@ -9707,9 +9707,9 @@
}
},
"node_modules/@walmart/roster-mini-app": {
- "version": "1.0.19",
- "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.19.tgz",
- "integrity": "sha512-WCMhQ2lSgohWaQcuIV+NjyP9BZWWHaVNoADmtqM+/xEMHPUn+bBHJVqUKPzxAsSUX+bpwWVqJbW854ZwQtHTGA==",
+ "version": "1.0.20",
+ "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.20.tgz",
+ "integrity": "sha512-npj5FN8BdahuDJSaUZoc2oPpK/RF67UhDFGTVkV0jAPowITwowKL9fiaz4RLoCmOOh03bxt3W1sDYxMd8kJbyw==",
"hasInstallScript": true
},
"node_modules/@walmart/schedule-mini-app": {
@@ -33364,9 +33364,9 @@
"integrity": "sha512-CMZ3PyFYcBxAoBCMekd6OKi/bqYYbEiZsRghgfz0iaMT6T/yjEHAxVyPrnJ06IyJuc+fVXu4GetWk4z1fKFuEw=="
},
"@walmart/myteam-mini-app": {
- "version": "1.0.17",
- "resolved": "https://npme.walmart.com/@walmart/myteam-mini-app/-/myteam-mini-app-1.0.17.tgz",
- "integrity": "sha512-b5TwzULdlhUW2sRbhMouyuTG7QlrrkkUBCzsOmqStOtoMoamNw2kUtaXanOxvZECBoLqYaVosAmOBUqmrqkp2Q=="
+ "version": "1.0.18",
+ "resolved": "https://npme.walmart.com/@walmart/myteam-mini-app/-/myteam-mini-app-1.0.18.tgz",
+ "integrity": "sha512-pZ2pjU+2vnVa6VVCFfHNNa60guq9sZ/CD45/he8ahEBqOcIPROSqcsfN0e5GQm71WfImY0mIEy/tuhkhTb7rIQ=="
},
"@walmart/onewalmart-miniapp": {
"version": "1.0.24",
@@ -33486,9 +33486,9 @@
}
},
"@walmart/roster-mini-app": {
- "version": "1.0.19",
- "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.19.tgz",
- "integrity": "sha512-WCMhQ2lSgohWaQcuIV+NjyP9BZWWHaVNoADmtqM+/xEMHPUn+bBHJVqUKPzxAsSUX+bpwWVqJbW854ZwQtHTGA=="
+ "version": "1.0.20",
+ "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.20.tgz",
+ "integrity": "sha512-npj5FN8BdahuDJSaUZoc2oPpK/RF67UhDFGTVkV0jAPowITwowKL9fiaz4RLoCmOOh03bxt3W1sDYxMd8kJbyw=="
},
"@walmart/schedule-mini-app": {
"version": "0.93.0",
--- package.json
@@ -112,7 +112,7 @@
"@walmart/mod-flex-mini-app": "1.15.5",
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "0.1.4",
- "@walmart/myteam-mini-app": "1.0.17",
+ "@walmart/myteam-mini-app": "1.0.18",
"@walmart/onewalmart-miniapp": "1.0.24",
"@walmart/pay-stub-miniapp": "0.15.2",
"@walmart/payrollsolution_miniapp": "0.138.4",
@@ -129,7 +129,7 @@
"@walmart/receipt-check-miniapp": "1.19.3",
"@walmart/redux-store": "3.7.0",
"@walmart/returns-mini-app": "3.13.0",
- "@walmart/roster-mini-app": "1.0.19",
+ "@walmart/roster-mini-app": "1.0.20",
"@walmart/schedule-mini-app": "0.93.0",
"@walmart/shelfavailability-mini-app": "1.5.20",
"@walmart/store-feature-orders": "1.26.3",
| Update texting version for feature flag changes and impersonation on beta changes | Update texting version for feature flag changes and impersonation on beta changes
|
0e0a2a2d1a66a168cd112efc432515d08c84e929 | --- packages/my-walmart-hub/src/TeamSwitcher/Components/ModalHeader/style.ts
@@ -59,6 +59,8 @@ export const styles = StyleSheet.create({
alignItems: 'center',
backgroundColor: colors.white,
marginTop: Platform.OS === 'android' ? 20 : 10,
+ borderTopRightRadius: 30,
+ borderTopLeftRadius: 30,
},
/**
* Title text styling
--- packages/my-walmart-hub/src/TeamSwitcher/Components/ModalWrapper/ModalWrapper.tsx
@@ -1,5 +1,6 @@
import React, { forwardRef } from 'react';
-import { View, SafeAreaView, ScrollView } from 'react-native';
+import { View, ScrollView } from 'react-native';
+import { SafeAreaView } from 'react-native-safe-area-context';
import { ActionButtonGroup, AlertBanner } from '../../../Shared/Components';
import { ModalHeader } from '../ModalHeader/ModalHeader';
import { styles } from './style';
@@ -108,10 +109,17 @@ export const ModalWrapper = forwardRef<View, ModalWrapperProps>(
<SafeAreaView
testID={testID || 'modal-wrapper-container'}
style={styles.container}
+ edges={['top', 'left', 'right']}
>
- <ModalHeader ref={ref} closeModal={onClose} title={header} />
- <ScrollView testID='modal-wrapper-children' style={styles.content}>
- {children}
+ <ScrollView
+ testID='modal-wrapper-scrollview'
+ stickyHeaderIndices={[0]}
+ style={styles.content}
+ >
+ <ModalHeader ref={ref} closeModal={onClose} title={header} />
+ <View testID='modal-wrapper-children'>
+ {children}
+ </View>
</ScrollView>
<View testID='modal-wrapper-footer' style={styles.footer}>
<View style={styles.errorContainer}>
--- packages/my-walmart-hub/src/TeamSwitcher/Components/ModalWrapper/style.ts
@@ -1,17 +1,9 @@
import { colors } from '@walmart/gtp-shared-components-3';
-import { Dimensions, StyleSheet } from 'react-native';
-
-const { width, height } = Dimensions.get('screen');
+import { StyleSheet } from 'react-native';
export const styles = StyleSheet.create({
container: {
- width,
- borderTopRightRadius: 30,
- borderTopLeftRadius: 30,
- height: height,
- paddingHorizontal: 8,
- marginTop: 30,
- backgroundColor: colors.white,
+ flex: 1,
},
header: {
height: 60,
@@ -39,24 +31,27 @@ export const styles = StyleSheet.create({
marginRight: 10,
},
content: {
- flex: 1,
- paddingHorizontal: 15,
+ backgroundColor: colors.white,
+ paddingHorizontal: 8,
},
footer: {
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
alignItems: 'center',
- width: '100%',
+ borderTopColor: colors.gray['20'],
+ borderTopWidth: 1,
backgroundColor: colors.white,
+ width: '100%',
+ paddingVertical: 16,
},
buttonContainer: {
width: '100%',
- paddingBottom: 10,
},
errorContainer: {
width: '100%',
marginBottom: 16,
+ paddingTop: 10,
},
primaryButton: {
width: '40%',
| fix(ui): unable to locate cross & search in update save teams (#508) | fix(ui): unable to locate cross & search in update save teams (#508)
* fix(ui): unable to locate cross & search in update save teams
* feat(ui): style fixes
---------
Co-authored-by: Mohammed Ali - m0a0ppv <Mohammed.Ali@walmart.com>
Co-authored-by: Prasan Suresh Dhareshwar - p0d02sx <Prasansuresh.Dharesh@walmart.com> |
2b8d194b8da9e098bc33d52c584177d9fdd371fd | --- package.json
@@ -136,7 +136,6 @@
"@walmart/react-native-shared-navigation": "6.1.4",
"@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.23.4",
"@walmart/react-native-webex-sdk": "0.3.3",
"@walmart/redux-store": "6.1.4",
| update | update
|
46a6acaa882a3e09dbb2f4c3ccd4e658abc56229 | --- package-lock.json
@@ -46,8 +46,8 @@
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.19.5",
"@walmart/attendance-mini-app": "3.24.0",
- "@walmart/avp-feature-app": "0.2.5",
- "@walmart/avp-shared-library": "0.2.8",
+ "@walmart/avp-feature-app": "0.2.6",
+ "@walmart/avp-shared-library": "0.2.9",
"@walmart/calling-mini-app": "0.1.13",
"@walmart/compass-sdk-rn": "5.18.19",
"@walmart/config-components": "4.2.17",
@@ -10977,9 +10977,9 @@
}
},
"node_modules/@walmart/avp-feature-app": {
- "version": "0.2.5",
- "resolved": "https://npme.walmart.com/@walmart/avp-feature-app/-/avp-feature-app-0.2.5.tgz",
- "integrity": "sha512-WaIt+ELbmx7zruS/mQlMStnNNebn1OM0fk7KLs7DVw569Pd6NnRxrPc39hD3zbrQ0NE1uV7ouZ7kPPpzhuqhdw==",
+ "version": "0.2.6",
+ "resolved": "https://npme.walmart.com/@walmart/avp-feature-app/-/avp-feature-app-0.2.6.tgz",
+ "integrity": "sha512-mFvT4IQ3+eNSJMMKhAmIpSybbv3DPIjKdFdMad3LxVeLFxaYVcRhF5VrlG4If4FXkXik2yGX0vzLdnMjF1TR9w==",
"hasInstallScript": true,
"engines": {
"node": ">=16"
@@ -10995,9 +10995,9 @@
}
},
"node_modules/@walmart/avp-shared-library": {
- "version": "0.2.8",
- "resolved": "https://npme.walmart.com/@walmart/avp-shared-library/-/avp-shared-library-0.2.8.tgz",
- "integrity": "sha512-/6MBZ840OfP4CeF6ES/WBrU/An4J7l8Sa1aZB8oEsB6bZ6U4A6hiApdXWzgAyhEIywYP439WzM8bFIVqAUqjpQ==",
+ "version": "0.2.9",
+ "resolved": "https://npme.walmart.com/@walmart/avp-shared-library/-/avp-shared-library-0.2.9.tgz",
+ "integrity": "sha512-HTlgSnYgVAz+eZ473XNOx8dfeM1pD0ZzJGmHeLpiJRmZc9aijj5qTuz5Jt3GjAzGNR8jo6X7yus6XbOy0AMj7A==",
"license": "ISC",
"peerDependencies": {
"axios": "^1.3.4",
--- package.json
@@ -87,8 +87,8 @@
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.19.5",
"@walmart/attendance-mini-app": "3.24.0",
- "@walmart/avp-feature-app": "0.2.5",
- "@walmart/avp-shared-library": "0.2.8",
+ "@walmart/avp-feature-app": "0.2.6",
+ "@walmart/avp-shared-library": "0.2.9",
"@walmart/calling-mini-app": "0.1.13",
"@walmart/compass-sdk-rn": "5.18.19",
"@walmart/config-components": "4.2.17",
@@ -347,8 +347,8 @@
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.19.5",
"@walmart/attendance-mini-app": "3.24.0",
- "@walmart/avp-feature-app": "0.2.5",
- "@walmart/avp-shared-library": "0.2.8",
+ "@walmart/avp-feature-app": "0.2.6",
+ "@walmart/avp-shared-library": "0.2.9",
"@walmart/calling-mini-app": "0.1.13",
"@walmart/compass-sdk-rn": "5.18.19",
"@walmart/config-components": "4.2.17",
| bumped the avp version | bumped the avp version
|
36fce2fc8d5f47817c9687d959da2d4103513ec2 | --- src/translations/en-US.ts
@@ -63,6 +63,8 @@ export const enUS = {
messageBtn: 'Message',
viewSchedule: 'View schedule',
pushToTalkBtn: 'Call',
+ viewScheduleFor: 'View schedule for {{associateName}}',
+ shiftTime: 'Shift time',
},
rosterDisabled: {
rosterUnavailable: 'Roster unavailable',
--- src/translations/es-MX.ts
@@ -63,6 +63,8 @@ export const esMX = {
messageBtn: 'Mensaje',
viewSchedule: 'Ver horario',
pushToTalkBtn: 'Llamada',
+ viewScheduleFor: 'Ver horario para {{associateName}}',
+ shiftTime: 'Tiempo de turno',
},
notInRoster:
'No puedes enviar mensajes de texto a otros asociados ya que no estás en la lista de la tienda {{siteId}}.',
| feat: added translations | feat: added translations
|
2a3ef73a5f81e0dafc012e8b978de5410849ea34 | --- src/screens/RosterDetailScreen/SupplyChainRosterDetailScreen.tsx
@@ -235,11 +235,17 @@ export const SupplyChainRosterDetailScreen = ({
lng: 'en-US',
});
}
- }, [teamState.teamIds, teamState.teamLabel, currentTeam, availableShifts]);
+ }, [
+ teamState.teamIds,
+ teamState.teamLabel,
+ switcherTeamState,
+ currentTeam,
+ availableShifts,
+ ]);
const currentTeamName = useMemo(
() => getCurrentTeamName(),
- [teamState, currentTeam],
+ [teamState, switcherTeamState, currentTeam],
);
const headerAndSubtext = getHeaderAndSubtext();
const userTeamIds = switcherTeamState.teamIds.length
| feat(ui): added missing dependency | feat(ui): added missing dependency
|
85c426590086be9d3567344f8b97db526e87a167 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "3.1.0-alpha.4",
+ "version": "3.1.0",
"main": "dist/index.js",
"files": [
"dist",
@@ -88,9 +88,9 @@
"@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.3.0-alpha.4",
+ "@walmart/roster-mini-app": "3.4.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "3.2.0-alpha.4",
+ "@walmart/wmconnect-mini-app": "3.3.0",
"babel-jest": "^29.6.3",
"chance": "^1.1.11",
"crypto-js": "~4.2.0",
--- yarn.lock
@@ -6318,9 +6318,9 @@ __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.3.0-alpha.4"
+ "@walmart/roster-mini-app": "npm:3.4.0"
"@walmart/ui-components": "npm:1.15.1"
- "@walmart/wmconnect-mini-app": "npm:3.2.0-alpha.4"
+ "@walmart/wmconnect-mini-app": "npm:3.3.0"
babel-jest: "npm:^29.6.3"
chance: "npm:^1.1.11"
crypto-js: "npm:~4.2.0"
@@ -6425,9 +6425,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:3.3.0-alpha.4":
- version: 3.3.0-alpha.4
- resolution: "@walmart/roster-mini-app@npm:3.3.0-alpha.4::__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.3.0-alpha.4.tgz"
+"@walmart/roster-mini-app@npm:3.4.0":
+ version: 3.4.0
+ resolution: "@walmart/roster-mini-app@npm:3.4.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2F%40walmart%2Froster-mini-app-3.4.0.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=6.32.0"
expo: ~52.0.46
@@ -6438,7 +6438,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/f6ac9c67f70dd71c0a9b0661b5004ddcb14a080fefc457f620d733797485a623e766147d7231bf9181aae3be5e699a329a1fd5b808f6e2b49062c5c54a120749
+ checksum: 10c0/14eba37591643b4d9c564bd4dd647d76113c998958c25ad3497837c41a48337eac234b2678319de0cebf6caabe149ba66533200a6551874e755556cd1f115e14
languageName: node
linkType: hard
@@ -6462,9 +6462,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:3.2.0-alpha.4":
- version: 3.2.0-alpha.4
- resolution: "@walmart/wmconnect-mini-app@npm:3.2.0-alpha.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.2.0-alpha.4.tgz"
+"@walmart/wmconnect-mini-app@npm:3.3.0":
+ version: 3.3.0
+ resolution: "@walmart/wmconnect-mini-app@npm:3.3.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.3.0.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=6.32.0"
expo: ~52.0.46
@@ -6475,7 +6475,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/caacd0d342aee015360fea98c39054c837a045e21df2945eaf64ebc94ab85801250b6fa83603e4f4ac85018dcf66acf7d32ec6a3cc77f2bd67b275355dfe508b
+ checksum: 10c0/6f57b3104f8afc28285a852cddd1527211fcc5b89674febe071aa08419c704262c2cac330ea82dda1a51958bdc25aabee2cef502a60b3d70fbda340d1416bcd4
languageName: node
linkType: hard
| feat(ui): updating versions for drop 33 | feat(ui): updating versions for drop 33
|
9da2408e014574d1b1c19baacf3f4191a0ec06bd | --- package-lock.json
@@ -48,7 +48,7 @@
"@walmart/exception-mini-app": "1.4.2",
"@walmart/facilities-management-miniapp": "0.6.42",
"@walmart/feedback-all-spark-miniapp": "0.9.33",
- "@walmart/financial-wellbeing-feature-app": "1.10.3",
+ "@walmart/financial-wellbeing-feature-app": "1.10.4",
"@walmart/functional-components": "~4.0.3",
"@walmart/gta-react-native-calendars": "0.0.16",
"@walmart/gtp-shared-components": "2.0.6",
@@ -5191,9 +5191,9 @@
}
},
"node_modules/@walmart/financial-wellbeing-feature-app": {
- "version": "1.10.3",
- "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.10.3.tgz",
- "integrity": "sha512-9d7TLy70BXbF4ixoqjYvJBYkgb8U9SO6qgd22hRxFEsO3uR6BYtfR74yYgJPrwpqAVoqRDidRIj+323Ps6H1YA==",
+ "version": "1.10.4",
+ "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.10.4.tgz",
+ "integrity": "sha512-BXW7zDMnNnhOMVQVDPwI6XVeQtEgW/txshgQWKLhv1dAklTYjIgEIGA2AyligrbzvgV0KEp5z7K6mm5l4YQFpQ==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -25178,9 +25178,9 @@
"version": "0.9.33"
},
"@walmart/financial-wellbeing-feature-app": {
- "version": "1.10.3",
- "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.10.3.tgz",
- "integrity": "sha512-9d7TLy70BXbF4ixoqjYvJBYkgb8U9SO6qgd22hRxFEsO3uR6BYtfR74yYgJPrwpqAVoqRDidRIj+323Ps6H1YA=="
+ "version": "1.10.4",
+ "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.10.4.tgz",
+ "integrity": "sha512-BXW7zDMnNnhOMVQVDPwI6XVeQtEgW/txshgQWKLhv1dAklTYjIgEIGA2AyligrbzvgV0KEp5z7K6mm5l4YQFpQ=="
},
"@walmart/functional-components": {
"version": "4.0.3",
--- package.json
@@ -90,7 +90,7 @@
"@walmart/exception-mini-app": "1.4.2",
"@walmart/facilities-management-miniapp": "0.6.42",
"@walmart/feedback-all-spark-miniapp": "0.9.33",
- "@walmart/financial-wellbeing-feature-app": "1.10.3",
+ "@walmart/financial-wellbeing-feature-app": "1.10.4",
"@walmart/functional-components": "~4.0.3",
"@walmart/gta-react-native-calendars": "0.0.16",
"@walmart/gtp-shared-components": "2.0.6",
| bumped financial-wellbeing-feature-app 1.10.4 | bumped financial-wellbeing-feature-app 1.10.4
|
342502379736bbb151c7311b95a0e199aa14bf60 | --- android/app/build.gradle
@@ -334,6 +334,7 @@ dependencies {
debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
exclude group:'com.facebook.fbjni'
}
+ implementation 'com.walmart.ssmp:platform-core:1.0.4'
debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
exclude group:'com.facebook.flipper'
--- android/app/src/main/java/com/walmart/stores/allspark/beta/MainApplication.java
@@ -9,6 +9,7 @@ import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.react.config.ReactFeatureFlags;
import com.facebook.soloader.SoLoader;
+import com.walmart.ssmp.platform.core.PlatformCoreApplication;
import com.walmart.stores.allspark.beta.newarchitecture.MainApplicationReactNativeHost;
import java.lang.reflect.InvocationTargetException;
import java.util.List;
@@ -18,7 +19,7 @@ import dagger.hilt.android.HiltAndroidApp;
// import com.reactnativecommunity.picker.RNCPickerPackage;
@HiltAndroidApp
-public class MainApplication extends Application implements ReactApplication {
+public class MainApplication extends PlatformCoreApplication implements ReactApplication {
private final ReactNativeHost mReactNativeHost =
new ReactNativeHost(this) {
--- ios/Podfile.lock
@@ -556,7 +556,7 @@ PODS:
- React-Core
- react-native-wm-app-review (0.4.0):
- React-Core
- - react-native-wm-vizpick-shell (1.1.2-rc.10):
+ - react-native-wm-vizpick-shell (1.1.2-rc.12):
- React
- react-native-wm-voice-text (1.0.1):
- React
@@ -1231,7 +1231,7 @@ SPEC CHECKSUMS:
react-native-view-shot: 792829857bbb23a9c8acdad9a640554bdee397a3
react-native-webview: d33e2db8925d090871ffeb232dfa50cb3a727581
react-native-wm-app-review: eff89fab61d28c3bf7106419717d4aeb6c5aa6f2
- react-native-wm-vizpick-shell: ba027ae8c56b27af19450df755a9d73a5b9caf16
+ react-native-wm-vizpick-shell: 9d4c6da354e056ee766d7bfe40c5fab61a502e2d
react-native-wm-voice-text: 0658ee8e9d8e9e3df0f48dd49115f804ac0e8896
React-perflogger: cce000b5caa4bcecbb29ee9cfdb47f26202d2599
React-RCTActionSheet: ba29f52a82d970e2aba5804490ecaea587c7a751
--- package-lock.json
@@ -161,7 +161,7 @@
"react-native-wm-network": "0.2.0",
"react-native-wm-notification": "2.0.1",
"react-native-wm-telemetry": "0.4.0",
- "react-native-wm-vizpick-shell": "1.1.2-rc.10",
+ "react-native-wm-vizpick-shell": "1.1.2-rc.12",
"react-native-wm-voice-text": "1.0.1",
"react-redux": "^8.0.4",
"realm": "11.2.0",
@@ -18357,9 +18357,9 @@
}
},
"node_modules/react-native-wm-vizpick-shell": {
- "version": "1.1.2-rc.10",
- "resolved": "https://npme.walmart.com/react-native-wm-vizpick-shell/-/react-native-wm-vizpick-shell-1.1.2-rc.10.tgz",
- "integrity": "sha512-8Df2k+TtSOxRgnYVE0FjQU84GK1ILKrFlRvqUKCd2u5JpGsj5aPLVBojggNFypZa6p47Czf6uRnZHgMgVF5fIQ==",
+ "version": "1.1.2-rc.12",
+ "resolved": "https://npme.walmart.com/react-native-wm-vizpick-shell/-/react-native-wm-vizpick-shell-1.1.2-rc.12.tgz",
+ "integrity": "sha512-hodQDYSDFZJMwhqzmQvCvl8LBiDX/c+MzGYztiQNoZ6NNaqgzX7LvsOt0JwhM0hvPE+Fsq72jKVDY3iG5I6hHw==",
"license": "UNLICENSED"
},
"node_modules/react-native-wm-voice-text": {
@@ -33222,9 +33222,9 @@
"version": "0.4.0"
},
"react-native-wm-vizpick-shell": {
- "version": "1.1.2-rc.10",
- "resolved": "https://npme.walmart.com/react-native-wm-vizpick-shell/-/react-native-wm-vizpick-shell-1.1.2-rc.10.tgz",
- "integrity": "sha512-8Df2k+TtSOxRgnYVE0FjQU84GK1ILKrFlRvqUKCd2u5JpGsj5aPLVBojggNFypZa6p47Czf6uRnZHgMgVF5fIQ=="
+ "version": "1.1.2-rc.12",
+ "resolved": "https://npme.walmart.com/react-native-wm-vizpick-shell/-/react-native-wm-vizpick-shell-1.1.2-rc.12.tgz",
+ "integrity": "sha512-hodQDYSDFZJMwhqzmQvCvl8LBiDX/c+MzGYztiQNoZ6NNaqgzX7LvsOt0JwhM0hvPE+Fsq72jKVDY3iG5I6hHw=="
},
"react-native-wm-voice-text": {
"version": "1.0.1"
--- package.json
@@ -203,7 +203,7 @@
"react-native-wm-network": "0.2.0",
"react-native-wm-notification": "2.0.1",
"react-native-wm-telemetry": "0.4.0",
- "react-native-wm-vizpick-shell": "1.1.2-rc.10",
+ "react-native-wm-vizpick-shell": "1.1.2-rc.12",
"react-native-wm-voice-text": "1.0.1",
"react-redux": "^8.0.4",
"realm": "11.2.0",
| fix(issue): wm init & teflon env | fix(issue): wm init & teflon env
|
cd0a092839041ff10197d18fc314b90942d580d6 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.29.0",
+ "version": "1.30.0",
"main": "dist/index.js",
"files": [
"dist"
@@ -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.27.0",
+ "@walmart/roster-mini-app": "2.28.0",
"@walmart/ui-components": "1.15.1",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
--- src/navigation/index.tsx
@@ -8,10 +8,7 @@ import {
TEAM_HUB_SCREEN_NAME,
DEFAULT_WIDGET_IDS,
} from '@walmart/allspark-foundation-hub';
-import rosterFeature, {
- // RosterMiniApp,
- RosterStack,
-} from '@walmart/roster-mini-app';
+import {RosterMiniApp} from '@walmart/roster-mini-app';
import {WarningBanner} from '../components/WarningBanner';
import {useUserCanSeeTeamHub} from '../hooks/user';
@@ -27,10 +24,10 @@ export const MyTeamMiniApp = () => {
</>
) : (
<>
- {/* <RosterMiniApp /> */}
- {rosterFeature.buildAllScreens({
+ <RosterMiniApp />
+ {/* {rosterFeature.buildAllScreens({
Navigator: RosterStack as any,
- })}
+ })} */}
</>
);
};
--- yarn.lock
@@ -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.27.0"
+ "@walmart/roster-mini-app": "npm:2.28.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.27.0":
- version: 2.27.0
- resolution: "@walmart/roster-mini-app@npm:2.27.0"
+"@walmart/roster-mini-app@npm:2.28.0":
+ version: 2.28.0
+ resolution: "@walmart/roster-mini-app@npm:2.28.0"
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/30033584db4a6f017ebeadfc141e263b119dc74eed5d403d98bd79350902a2bbf9d108b66b021a9c0670357eb03f874a6f1688edc421cd659a07b69179b293bf
+ checksum: 10c0/be302f730212c314d9f343cede7ef960555d97a0eb942a303150dd4b09560b4fe83a83fabe5819c63834491a1a0da7f230bb64cbf02426cab91398e8963e241f
languageName: node
linkType: hard
| Update my team mini app version | Update my team mini app version
|
177cfaa6fd7cfb6f57f79e5a727cedf3ea2f15fc | --- ios/BuildSupport/install-cocoapods.sh
@@ -8,7 +8,11 @@ echo "Installing CocoaPods"
CCP_VER=1.12.0
POD_VERSION=$(pod --version)
+if [ "$RUBY_PATH" ];then
export GEM_HOME=$RUBY_PATH/gem
+else
+export GEM_HOME=$HOME/.gem
+fi
export PATH=$GEM_HOME/bin:$PATH
export https_proxy=http://sysproxy.wal-mart.com:8080
| fix cocopod install script | fix cocopod install script
|
00ec9acfbb5f0b6dc779f404c5114a1b12c2db64 | --- package-lock.json
@@ -2064,9 +2064,9 @@
"integrity": "sha512-eDS3eLxVfwTsUICU89ERbzln7RdE53bKTfT5gwYg7wn+bo7U/VtRNX5A12r1Et8nRITkwfGh9ZZS05frCO1TYQ=="
},
"@walmart/time-clock-mini-app": {
- "version": "0.0.21",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-0.0.21.tgz",
- "integrity": "sha512-vnF3EWqgIzYz/uvXxfGQndiCq6RdVZd0nyO4GeOK1ccFwiijsqbHAnzwBtTOU21b09OJqCQlAxl5cimVflznxQ==",
+ "version": "0.0.23",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-0.0.23.tgz",
+ "integrity": "sha512-2oGfQjtHWauo+xhEqupnjc4DsdmiCLlP1cEN03w6AVw+y7ui3xzn2KTsJS+RlrxHMIsTBZ0AP2bfRapF+ybGTg==",
"requires": {
"@react-native-community/datetimepicker": "^3.0.3",
"moment-timezone": "^0.5.31"
--- package.json
@@ -62,7 +62,7 @@
"@walmart/redux-store": "^1.0.7",
"@walmart/schedule-mini-app": "0.2.28",
"@walmart/settings-mini-app": "1.1.8",
- "@walmart/time-clock-mini-app": "0.0.21",
+ "@walmart/time-clock-mini-app": "0.0.23",
"@walmart/ui-components": "^1.0.77",
"i18next": "^19.7.0",
"intl": "^1.2.5",
| Bumped Time Clock Mini App version (#198) | Bumped Time Clock Mini App version (#198)
|
424f23d8c6dcf2275b95d544778b0c5cfd1a9ad0 | --- packages/allspark-foundation/src/HubFeature/Hub/Container/AllsparkHubContainer.tsx
@@ -12,6 +12,12 @@ import { validateWidgets } from './utils';
import { ValidatedTeamWidgetMapping } from './types';
import { LayoutConfig } from '@walmart/allspark-utils';
import { useUserPreferences } from '../../../Hooks/useUserPreferences';
+import { AllsparkFeature, AllsparkTranslationClient } from '../../../Core';
+import { enUS, esMX } from '../../translation';
+
+export const managerExperienceFeature = new AllsparkFeature(
+ 'managerExperience' as const
+);
export class AllsparkHubContainer {
private AllsparkWidgetContainer = {} as ComponentContainer;
@@ -21,6 +27,15 @@ export class AllsparkHubContainer {
constructor() {}
public create = (name: string, ccmNamespace: string): this => {
+ managerExperienceFeature
+ .createModule({
+ translations: {
+ 'en-US': enUS,
+ 'es-MX': esMX,
+ },
+ name: 'managerExperience',
+ })
+ .connect();
this.AllsparkWidgetContainer = AllsparkComponentContainers.create(name);
const getCCMConfig =
ConfigSelectors.createFeatureConfigSelector(ccmNamespace);
@@ -53,6 +68,9 @@ export class AllsparkHubContainer {
const [teamId, setTeamId] = useState('total');
const [allowedWidgetsList, setAllowedWidgets] = useState<LayoutConfig>([]);
const { teamData, loading } = useUserPreferences([]);
+ const { t } = AllsparkTranslationClient.getFeatureClient(
+ 'managerExperience'
+ )?.useTranslation() as any;
useEffect(() => {
this.allowedWidgets = Object.keys(this.validWidgets).includes(teamId)
@@ -68,7 +86,7 @@ export class AllsparkHubContainer {
return (
<>
<HubHeader
- title='Hub value-prop title'
+ title={t('hubHeader')}
subText='Short introduction to convey the action we intend the associate to take through this hub.'
/>
<TeamSwitcher
--- packages/allspark-foundation/src/HubFeature/translation.ts
@@ -0,0 +1,7 @@
+export const enUS = {
+ hubHeaderTitle: 'Team Hub',
+};
+
+export const esMX = {
+ hubHeaderTitle: 'Centro de equipo',
+};
| feat(ui): init feature module | feat(ui): init feature module
|
9cc21ae6c34c09ad24abce831d55cd0a6ec08559 | --- package-lock.json
@@ -50,8 +50,8 @@
"@walmart/feedback-all-spark-miniapp": "0.9.9",
"@walmart/financial-wellbeing-feature-app": "1.1.2",
"@walmart/functional-components": "2.0.6",
- "@walmart/gta-react-native-calendars": "0.0.15",
- "@walmart/gtp-shared-components": "2.0.3",
+ "@walmart/gta-react-native-calendars": "0.0.16",
+ "@walmart/gtp-shared-components": "2.0.2",
"@walmart/impersonation-mini-app": "1.10.0",
"@walmart/ims-print-services-ui": "1.2.2",
"@walmart/inbox-mini-app": "0.81.7",
@@ -4853,24 +4853,6 @@
"reselect": "^4.1.0"
}
},
- "node_modules/@walmart/attendance-mini-app/node_modules/@walmart/gta-react-native-calendars": {
- "version": "0.0.16",
- "resolved": "https://npme.walmart.com/@walmart/gta-react-native-calendars/-/gta-react-native-calendars-0.0.16.tgz",
- "integrity": "sha512-lDAQdMuhbHd2XkEizNu2BBXcLcmrwp0WLiVogIPWsWRBj9HjWc0/6lkhFT5RWBRyLZhroKKdqriNtYWgTs1qaA==",
- "dependencies": {
- "@walmart/moment-walmart": "1.0.4",
- "hoist-non-react-statics": "^3.3.1",
- "immutable": "^4.0.0-rc.12",
- "lodash": "^4.17.15",
- "memoize-one": "^5.2.1",
- "prop-types": "^15.5.10",
- "react-native-swipe-gestures": "^1.0.5",
- "xdate": "^0.8.0"
- },
- "optionalDependencies": {
- "moment": "^2.24.0"
- }
- },
"node_modules/@walmart/attendance-mini-app/node_modules/wfm-allspark-data-library": {
"version": "0.0.19",
"resolved": "https://npme.walmart.com/wfm-allspark-data-library/-/wfm-allspark-data-library-0.0.19.tgz",
@@ -5221,9 +5203,9 @@
}
},
"node_modules/@walmart/gta-react-native-calendars": {
- "version": "0.0.15",
- "resolved": "https://npme.walmart.com/@walmart/gta-react-native-calendars/-/gta-react-native-calendars-0.0.15.tgz",
- "integrity": "sha512-Axq/7HBaDuW02U8DHrcSVC2XR3jQO4yRNZHfLKBZ4/BTJZ7Hx7XJIHpBJIIKfsVIFVni5+yFpRbFGmj7xY342A==",
+ "version": "0.0.16",
+ "resolved": "https://npme.walmart.com/@walmart/gta-react-native-calendars/-/gta-react-native-calendars-0.0.16.tgz",
+ "integrity": "sha512-lDAQdMuhbHd2XkEizNu2BBXcLcmrwp0WLiVogIPWsWRBj9HjWc0/6lkhFT5RWBRyLZhroKKdqriNtYWgTs1qaA==",
"dependencies": {
"@walmart/moment-walmart": "1.0.4",
"hoist-non-react-statics": "^3.3.1",
@@ -25259,22 +25241,6 @@
"wfm-allspark-data-library": "^0.0.19"
},
"dependencies": {
- "@walmart/gta-react-native-calendars": {
- "version": "0.0.16",
- "resolved": "https://npme.walmart.com/@walmart/gta-react-native-calendars/-/gta-react-native-calendars-0.0.16.tgz",
- "integrity": "sha512-lDAQdMuhbHd2XkEizNu2BBXcLcmrwp0WLiVogIPWsWRBj9HjWc0/6lkhFT5RWBRyLZhroKKdqriNtYWgTs1qaA==",
- "requires": {
- "@walmart/moment-walmart": "1.0.4",
- "hoist-non-react-statics": "^3.3.1",
- "immutable": "^4.0.0-rc.12",
- "lodash": "^4.17.15",
- "memoize-one": "^5.2.1",
- "moment": "^2.29.4",
- "prop-types": "^15.5.10",
- "react-native-swipe-gestures": "^1.0.5",
- "xdate": "^0.8.0"
- }
- },
"wfm-allspark-data-library": {
"version": "0.0.19",
"resolved": "https://npme.walmart.com/wfm-allspark-data-library/-/wfm-allspark-data-library-0.0.19.tgz",
@@ -25380,9 +25346,9 @@
"integrity": "sha512-sF0MnbYWWIEKA/6KEX2ATIt0QwmQWJiPkO4vO4BtjGBA6MtUs0PT8CzrC7+ai8ElGVAEuJlo6LvoUUPXvhBO5Q=="
},
"@walmart/gta-react-native-calendars": {
- "version": "0.0.15",
- "resolved": "https://npme.walmart.com/@walmart/gta-react-native-calendars/-/gta-react-native-calendars-0.0.15.tgz",
- "integrity": "sha512-Axq/7HBaDuW02U8DHrcSVC2XR3jQO4yRNZHfLKBZ4/BTJZ7Hx7XJIHpBJIIKfsVIFVni5+yFpRbFGmj7xY342A==",
+ "version": "0.0.16",
+ "resolved": "https://npme.walmart.com/@walmart/gta-react-native-calendars/-/gta-react-native-calendars-0.0.16.tgz",
+ "integrity": "sha512-lDAQdMuhbHd2XkEizNu2BBXcLcmrwp0WLiVogIPWsWRBj9HjWc0/6lkhFT5RWBRyLZhroKKdqriNtYWgTs1qaA==",
"requires": {
"@walmart/moment-walmart": "1.0.4",
"hoist-non-react-statics": "^3.3.1",
--- package.json
@@ -92,8 +92,8 @@
"@walmart/feedback-all-spark-miniapp": "0.9.10",
"@walmart/financial-wellbeing-feature-app": "1.1.2",
"@walmart/functional-components": "2.0.6",
- "@walmart/gta-react-native-calendars": "0.0.15",
- "@walmart/gtp-shared-components": "2.0.3",
+ "@walmart/gta-react-native-calendars": "0.0.16",
+ "@walmart/gtp-shared-components": "2.0.2",
"@walmart/impersonation-mini-app": "1.10.0",
"@walmart/ims-print-services-ui": "1.2.2",
"@walmart/inbox-mini-app": "0.81.7",
| Update gta calendar to 0.0.16 | Update gta calendar to 0.0.16
|
3aefbd7eae24b0485469e56e327f188aa0deecd8 | --- packages/allspark-foundation/__tests__/HubFeature/TeamOnboarding/TeamSelection.test.tsx
@@ -18,13 +18,17 @@ jest.mock('@walmart/me-at-walmart-athena-queries');
//TODO: Add more tests for TeamSelectionList Component
describe('TeamSelectionList Component Tests', () => {
test('renders loading state', () => {
- useGetTeamsByStoreQuery.mockImplementation(() => ({ loading: true }));
+ (useGetTeamsByStoreQuery as jest.Mock).mockImplementation(() => ({
+ loading: true,
+ }));
const { getByTestId } = render(<TeamSelection />);
- expect(getByTestId('loadingScreen')).toBeDefined();
+ expect(getByTestId('loadingScreen-skeleton')).toBeDefined();
});
test('renders error state', () => {
- useGetTeamsByStoreQuery.mockImplementation(() => ({ error: true }));
+ (useGetTeamsByStoreQuery as jest.Mock).mockImplementation(() => ({
+ error: true,
+ }));
const { getByTestId } = render(<TeamSelection />);
expect(getByTestId('error-screen-container')).toBeDefined();
});
--- packages/allspark-foundation/__tests__/HubFeature/TeamOnboarding/TeamSelectionList.test.tsx
@@ -1,5 +1,5 @@
import React from 'react';
-import { renderWithAthenaProvider as render } from '../../utils';
+import { render } from '../../utils';
import { TeamSelectionList } from '../../../src/HubFeature/Onboarding/TeamSelection/Component/TeamSelectionList';
describe('TeamSelectionList Component Tests', () => {
--- packages/allspark-foundation/src/HubFeature/Onboarding/TeamSelection/Component/TeamSelectionLoader.tsx
@@ -34,7 +34,7 @@ export const TeamSelectionLoader = () => {
);
return (
- <View accessibilityLabel={'loading'}>
+ <View testID='loadingScreen-skeleton' accessibilityLabel={'loading'}>
<HubHeader
title={HeaderTitle}
subText={HeaderSubText}
| chore(ui): fixed broken tests | chore(ui): fixed broken tests
|
8e77fbd6d08711c5a638cd098f9f673b6436f476 | --- package-lock.json
@@ -5510,9 +5510,9 @@
"integrity": "sha512-Tz8PRLTpf4goLTBXayZxsBRuy/8+fnxjt+m7g3kfu0NRG58n/MgKi9krclf+LSLBhYTJcL5sKg8ckhA90dHlYQ=="
},
"@walmart/receipt-check-miniapp": {
- "version": "1.8.8",
- "resolved": "https://npme.walmart.com/@walmart/receipt-check-miniapp/-/receipt-check-miniapp-1.8.8.tgz",
- "integrity": "sha512-TNJeTC99+azVGA+ma2pJ8Ikrx3aTteAej2aUP4h9DBDXRW3UddIBxUfdp3QqUeWC59+D7Cx15cZH0lV5s+lBlw==",
+ "version": "1.8.9",
+ "resolved": "https://npme.walmart.com/@walmart/receipt-check-miniapp/-/receipt-check-miniapp-1.8.9.tgz",
+ "integrity": "sha512-X5nf2F7YXSEqgjozePwJ/8QbqvyuNZDzBy1TFVP/W0fBLCPveJsVqXAiT6RcRm9pAKDaSFx1A8pewTsyB1EAvg==",
"requires": {
"@walmart/tcnumber": "^2.3.1",
"@xstate/react": "^3.0.1",
--- package.json
@@ -114,7 +114,7 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "^0.3.7",
"@walmart/react-native-sumo-sdk": "2.2.2-beta.2",
- "@walmart/receipt-check-miniapp": "1.8.8",
+ "@walmart/receipt-check-miniapp": "1.8.9",
"@walmart/redux-store": "2.0.4",
"@walmart/refrigeration-alarms-mini-app": "1.35.0",
"@walmart/schedule-mini-app": "0.25.0",
| receipt check bug fix | receipt check bug fix
|
cbb4e47dd59da2646e6227a9e554a3d8991c052d | --- packages/core-services/package.json
@@ -21,7 +21,6 @@
"dependencies": {
"@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",
"seamless-immutable": "^7.1.4",
@@ -30,6 +29,7 @@
"devDependencies": {
"@types/seamless-immutable": "^7.1.15",
"@types/uuid": "~8.3.4",
+ "@walmart/redux-store": "~3.1.4",
"i18next": "^22.0.1",
"react-i18next": "^12.0.0",
"react-redux": "^8.0.5",
@@ -38,6 +38,7 @@
"yargs": "^17.0.1"
},
"peerDependencies": {
+ "@walmart/redux-store": ">=3.1.4",
"i18next": "^22.0.1",
"react": "^18.2.0",
"react-i18next": "^12.0.0",
| fix: moving redux store to dev dependencies | fix: moving redux store to dev dependencies
|
0c2a8ebb684e371eca8f195832f7b0b6b42c4699 | --- core/src/navigation/USHallway/AssociateHallwayNav/MainStackNav.tsx
@@ -473,7 +473,7 @@ const MiniAppScreens = createMiniAppScreens(MainStack, [
clockCheckEnabled: false,
},
{
- featureId: FEEDBACK_ME,
+ featureId: MINI_APPS.FEEDBACK_ME,
name: 'FeedbackDialogScreen',
component: FeedbackDialogScreen,
options: {
| fix: missing featureId | fix: missing featureId
|
f7306ad39d8bae8e54bbc92e44d6cff887d2573f | --- packages/celebration-mini-app-graphql/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.28.4](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.28.3...@walmart/celebration-mini-app-graphql@1.28.4) (2025-12-19)
+
+**Note:** Version bump only for package @walmart/celebration-mini-app-graphql
+
## [1.28.3](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.28.2...@walmart/celebration-mini-app-graphql@1.28.3) (2025-12-19)
**Note:** Version bump only for package @walmart/celebration-mini-app-graphql
--- packages/celebration-mini-app-graphql/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app-graphql",
- "version": "1.28.3",
+ "version": "1.28.4",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/celebration-mini-app/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.39.1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.39.0...@walmart/celebration-mini-app@1.39.1) (2025-12-19)
+
+**Note:** Version bump only for package @walmart/celebration-mini-app
+
# [1.39.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.38.1...@walmart/celebration-mini-app@1.39.0) (2025-12-19)
### Features
--- packages/celebration-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app",
- "version": "1.39.0",
+ "version": "1.39.1",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/celebration-mini-app@1.39.1
- @walmart/celebration-mini-app-graphql@1.28.4
|
a344ce00623692fb51e2f89fe3c8a1577792af03 | --- package-lock.json
@@ -3611,9 +3611,9 @@
}
},
"@walmart/time-clock-mini-app": {
- "version": "0.4.8",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-0.4.8.tgz",
- "integrity": "sha512-u/Hblfxn02rcwlhkqMsWQl2g9lViS/jcr9yDgJEgNUtXepoHZpYJviPYNVGyi50SU5lo+KBS5nEiYvtCXWaqaA==",
+ "version": "0.4.9",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-0.4.9.tgz",
+ "integrity": "sha512-eDEWS+UgOXLH8wKig1elRPSlp8QbjbbpVyGAlJRZX8wujxQlLan+JZ4vSvG14k38AsHULqmAjgTj5mf++OkRnQ==",
"requires": {
"@react-native-community/datetimepicker": "3.0.9",
"@react-native-picker/picker": "^1.16.1",
--- package.json
@@ -99,7 +99,7 @@
"@walmart/shelfavailability-mini-app": "0.3.78",
"@walmart/ui-components": "1.1.56",
"@walmart/welcomeme-mini-app": "0.28.1",
- "@walmart/time-clock-mini-app": "0.4.8",
+ "@walmart/time-clock-mini-app": "0.4.9",
"@walmart/wfm-ui": "^0.1.50",
"axios-cache-adapter": "2.7.3",
"crypto-js": "^3.3.0",
| More fixes | More fixes
|
b44cea9ec066e2dac8d59739e451325928bc9179 | --- __tests__/settings/privacy/PrivacyPreferencesTest.tsx
@@ -1,5 +1,5 @@
-import React from 'react';
-import {render} from '@testing-library/react-native';
+import React, {useState} from 'react';
+import {render, waitFor} from '@testing-library/react-native';
import {
PrivacyPreferences,
onUpdateCompleted,
@@ -12,7 +12,13 @@ import {useUpsertAssociatePreferenceMutation} from '@walmart/me-at-walmart-athen
import {userActions} from '@walmart/redux-store';
+jest.mock('react', () => ({
+ ...(jest.requireActual('react') as jest.Mock),
+ useState: jest.fn(),
+}));
+
(useEnvironment as jest.Mock).mockReturnValue(env);
+const mockUseState = useState as jest.Mock;
const mockUseSelector = useSelector as jest.Mock;
const mockMutation = useUpsertAssociatePreferenceMutation as jest.Mock;
const mockUpsertMutation = jest.fn();
@@ -20,7 +26,7 @@ const mockUpsertMutation = jest.fn();
const mockUseTranslation = useTranslation as jest.Mock;
const t = jest.fn((key) => key);
-
+const setSelection = jest.fn();
const baseMutationResp = {
upsertAssociatePreference: {
meAtWalmartPreferences: {
@@ -35,20 +41,23 @@ jest.mock('../../../src/settings/ToggleSetting', () => ({
}));
describe('PrivacyPreferences', () => {
- afterEach(jest.clearAllMocks);
+ beforeEach(jest.clearAllMocks);
it('renders', async () => {
mockUseTranslation.mockReturnValueOnce({t, i18n: {language: 'es-US'}});
mockUseSelector.mockReturnValueOnce('123451234'); // win
mockUseSelector.mockReturnValueOnce(false); // birthday pref
mockUseSelector.mockReturnValueOnce(true); // anniversary pref
+ mockUseState.mockReturnValue(['', setSelection]); //selection state;
+
mockMutation.mockReturnValue([mockUpsertMutation, {loading: false}]);
const {toJSON, getByTestId} = render(<PrivacyPreferences />);
expect(toJSON()).toMatchSnapshot();
- getByTestId('birthday_setting').props.onToggle();
+ await waitFor(() => getByTestId('birthday_setting').props.onToggle());
mockUpsertMutation();
+ expect(setSelection).toHaveBeenCalledWith('birthday');
expect(mockUpsertMutation).toHaveBeenCalledWith({
variables: {
associatePreferencesInput: {
@@ -67,7 +76,8 @@ describe('PrivacyPreferences', () => {
//Anniversary
getByTestId('anniversary_setting').props.onToggle();
mockUpsertMutation();
-
+ expect(setSelection).toHaveBeenLastCalledWith('anniversary');
+ expect(setSelection).toBeCalledTimes(2);
expect(mockUpsertMutation).toHaveBeenCalledWith({
variables: {
associatePreferencesInput: {
--- src/settings/privacy/PrivacyPreferences.tsx
@@ -1,4 +1,4 @@
-import React from 'react';
+import React, {useState} from 'react';
import {StyleSheet, View} from 'react-native';
import {useTranslation} from 'react-i18next';
import {getVersion} from 'react-native-device-info';
@@ -26,6 +26,10 @@ const styles = StyleSheet.create({
height: 1,
},
});
+
+const anniversaryText = 'anniversary';
+const birthdayText = 'birthday';
+
export const onUpdateCompleted = (
resp: UpsertAssociatePreferenceMutationResult,
) => {
@@ -60,6 +64,11 @@ export const PrivacyPreferences = () => {
const anniversaryPreference: boolean | undefined = useSelector(
UserSelectors.getUserAnniversaryPreference,
);
+ const [currentSelection, setCurrentSelection] = useState<
+ string | undefined
+ >();
+ const isBirthday = currentSelection === birthdayText;
+ const isAnniversary = currentSelection === anniversaryText;
const [updatePreference, {loading, error}] =
useUpsertAssociatePreferenceMutation({
@@ -88,7 +97,8 @@ export const PrivacyPreferences = () => {
descriptionOff={t('privacyPreferences.birthdayDesc')}
value={birthdayPreference !== false}
icon={<Icon name={'birthdayCakePreference'} />}
- onToggle={() =>
+ onToggle={() => {
+ setCurrentSelection(birthdayText);
updatePreference({
variables: {
associatePreferencesInput: {
@@ -100,9 +110,9 @@ export const PrivacyPreferences = () => {
},
},
},
- })
- }
- loading={loading}
+ });
+ }}
+ loading={loading && isBirthday}
error={!!error?.message}
errorMessage={t('privacyPreferences.error')}
testID='birthday_setting'
@@ -115,7 +125,8 @@ export const PrivacyPreferences = () => {
descriptionOff={t('privacyPreferences.anniversaryDesc')}
value={anniversaryPreference !== false}
icon={<Icon name={'anniversaryPrivacy'} />}
- onToggle={() =>
+ onToggle={() => {
+ setCurrentSelection(anniversaryText);
updatePreference({
variables: {
associatePreferencesInput: {
@@ -127,9 +138,9 @@ export const PrivacyPreferences = () => {
},
},
},
- })
- }
- loading={loading}
+ });
+ }}
+ loading={loading && isAnniversary}
error={!!error?.message}
errorMessage={t('privacyPreferences.error')}
testID='anniversary_setting'
| fix preference loading | fix preference loading
|
3dee65db9bcbd125b659ab359238911f96f84734 | --- targets/US/package.json
@@ -155,7 +155,7 @@
"@walmart/walmart-fiscal-week": "^0.3.6",
"@walmart/welcomeme-mini-app": "0.96.0",
"@walmart/wfm-ui": "1.6.0",
- "@walmart/wm-plus-mini-app": "1.0.0",
+ "@walmart/wm-plus-mini-app": "1.0.2",
"@walmart/wmconnect-mini-app": "2.6.0",
"axios": "~1.6.0",
"axios-cache-adapter": "patch:axios-cache-adapter@npm%3A2.7.3#~/.yarn/patches/axios-cache-adapter-npm-2.7.3-26c357b785.patch",
--- yarn.lock
@@ -7357,7 +7357,7 @@ __metadata:
"@walmart/walmart-fiscal-week": "npm:^0.3.6"
"@walmart/welcomeme-mini-app": "npm:0.96.0"
"@walmart/wfm-ui": "npm:1.6.0"
- "@walmart/wm-plus-mini-app": "npm:1.0.0"
+ "@walmart/wm-plus-mini-app": "npm:1.0.2"
"@walmart/wmconnect-mini-app": "npm:2.6.0"
adaptive-expressions: "npm:^4.13.5"
adaptivecards-templating: "npm:^2.1.0"
@@ -8534,9 +8534,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wm-plus-mini-app@npm:1.0.0":
- version: 1.0.0
- resolution: "@walmart/wm-plus-mini-app@npm:1.0.0"
+"@walmart/wm-plus-mini-app@npm:1.0.2":
+ version: 1.0.2
+ resolution: "@walmart/wm-plus-mini-app@npm:1.0.2"
peerDependencies:
"@react-navigation/native": ^6.0.0
"@react-navigation/stack": ^6.1.0
@@ -8544,7 +8544,7 @@ __metadata:
"@walmart/gtp-shared-components": 2.0.10
react: ^18.1.0
react-native: ^0.70.5
- checksum: 10c0/89c52ac673239f3e21b0aaee38a8c345133d6769c31441a5214746f63ecde136dfc285530574f7a16a3406121cafd173dd57f6485cd28989c7b725051c383b50
+ checksum: 10c0/d1582cd04f4e722490d2a6b83998422a335e9aa4253c8316f61b1c83301b7d5f4b4ac4f966e7fc3fcd8854c7e3f10cb88ebe128d38aa3f45b4b10a764155ac8c
languageName: node
linkType: hard
| feature/drop27 wplus version update | feature/drop27 wplus version update
|
42725346323cde0d4a7fa0394c2c3664d28bc9c5 | --- .yarn/patches/@walmart-react-native-webex-sdk-npm-0.1.8-d33103b373.patch
@@ -1,12 +1,12 @@
diff --git a/android_dynamic_modules/webex_dynamic_module/build.gradle b/android_dynamic_modules/webex_dynamic_module/build.gradle
-index 521eef0bc0f125ae8876efde595af9b82c307ba8..8b6a55f519323ae6dfc54dc83bf04f1ed41011fa 100644
+index 521eef0bc0f125ae8876efde595af9b82c307ba8..fc5f278675d66e69a59b79498860123e5b17b40b 100644
--- a/android_dynamic_modules/webex_dynamic_module/build.gradle
+++ b/android_dynamic_modules/webex_dynamic_module/build.gradle
@@ -37,8 +37,13 @@ def getExtOrIntegerDefault(name) {
}
android {
-+ namespace “com.wmwebexsdk”
++ namespace "com.wmwebexsdk"
compileSdkVersion getExtOrIntegerDefault("compileSdkVersion")
+ buildFeatures {
--- yarn.lock
@@ -6884,16 +6884,6 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/react-native-webex-sdk@patch:@walmart/react-native-webex-sdk@npm%3A0.1.8#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.1.8-d33103b373.patch":
- version: 0.1.8
- resolution: "@walmart/react-native-webex-sdk@patch:@walmart/react-native-webex-sdk@npm%3A0.1.8#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.1.8-d33103b373.patch::version=0.1.8&hash=08d59c"
- peerDependencies:
- react: "*"
- react-native: "*"
- checksum: 10c0/750ec3d42d94d602b2259a1616246e349d22d809e99fa2e30b18aa941ad6ea04b8acc5e290db34436da4820201ddb2fffc9c791b7fa51081ae6a8db1f0ed768b
- languageName: node
- linkType: hard
-
"@walmart/receipt-check-miniapp@npm:1.19.5":
version: 1.19.5
resolution: "@walmart/receipt-check-miniapp@npm:1.19.5"
@@ -7748,7 +7738,7 @@ __metadata:
"@walmart/react-native-shared-navigation": "npm:6.1.4"
"@walmart/react-native-store-map": "npm:0.3.7"
"@walmart/react-native-sumo-sdk": "npm:2.6.4"
- "@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.1.8#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.1.8-d33103b373.patch"
+ "@walmart/react-native-webex-sdk": "npm:0.1.8"
"@walmart/receipt-check-miniapp": "npm:1.19.5"
"@walmart/redux-store": "npm:6.1.4"
"@walmart/returns-mini-app": "npm:4.6.0"
| fix: webex patch was using incorrect quotes | fix: webex patch was using incorrect quotes
|
493aaaf2b1cc245406a599defc33bd9e4a715cda | --- __tests__/navigation/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap
@@ -46,6 +46,7 @@ Array [
name="TnC"
options={
Object {
+ "headerBackImage": "CloseImage",
"title": "navigation.terms_of_use",
}
}
| updating snapshots | updating snapshots
|
3c82c06bb107b4e0359bed6a32c77878f56bd92b | --- core/__tests__/navigation/USHallway/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap
@@ -74,15 +74,6 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
}
}
/>
- <Screen
- component={[Function]}
- name="GlobalVPI"
- options={
- {
- "headerShown": false,
- }
- }
- />
<Screen
component={[Function]}
name="Returns"
@@ -659,6 +650,7 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
component={[Function]}
name="managerExperience.teamOnboarding"
/>
+ GlobalVpiScreens
</Navigator>
`;
@@ -736,15 +728,6 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
}
}
/>
- <Screen
- component={[Function]}
- name="GlobalVPI"
- options={
- {
- "headerShown": false,
- }
- }
- />
<Screen
component={[Function]}
name="Returns"
@@ -1321,5 +1304,6 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
component={[Function]}
name="managerExperience.teamOnboarding"
/>
+ GlobalVpiScreens
</Navigator>
`;
| test: updated snap | test: updated snap
|
bafc8510468e5a258645a96a0d21a65c3d8f5913 | --- ios/AllSpark.xcodeproj/project.pbxproj
@@ -776,7 +776,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = com.walmart.stores.allspark.beta;
PRODUCT_NAME = "Me@Walmart Beta";
- PROVISIONING_PROFILE_SPECIFIER = "Allspark (MeAtWM Beta) Dev";
+ PROVISIONING_PROFILE_SPECIFIER = "Allspark (MeAtWM Beta) InHouse Profile";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
| ios fix | ios fix
|
ac2eaff4c5cd36b623bb8a7c6d93e79e608d9e90 | --- core/src/navigation/USHallway/AssociateHallwayNav/MainStackNav.tsx
@@ -83,7 +83,7 @@ import {CheckoutMiniApp as CheckoutMiniAppFeature} from '@walmart/checkout-mini-
import {MainTabsNav} from './Tabs';
import {MyTeamStackNav} from './Tabs/MyTeamStackNav';
import {MainStackMap} from './types';
-
+import {managerExperienceFeature} from '@walmart/allspark-foundation-hub';
//--- Main Stack --- //
const MainStack = createStackNavigator<MainStackMap>();
@@ -611,6 +611,10 @@ export const MainStackNav = () => {
{ModFlexFeature.buildAllScreens({
Navigator: MainStack as any,
})}
+
+ {managerExperienceFeature.buildAllScreens({
+ Navigator: MainStack as any,
+ })}
</MainStack.Navigator>
</>
);
| Build all the manager experience screens | Build all the manager experience screens
|
c8a4d25c209165f91edae8579274056be73e6dfb | --- packages/allspark-foundation-hub/src/HubFeature/Hub/HubWidget/styles.ts
@@ -21,8 +21,8 @@ export const HubWidgetStyles = () =>
paddingLeft: 16,
paddingRight: 16,
backgroundColor: colors.white,
- borderWidth: 1,
- borderColor: colors.blue['10'],
+ borderBottomWidth: 8,
+ borderColor: colors.gray['10'],
},
heading: {
flexDirection: 'row',
--- packages/allspark-foundation-hub/src/HubFeature/Hub/TeamSwitcher/styles.ts
@@ -141,7 +141,7 @@ export const TeamSwitcherStyles = () =>
},
warningContainer: {
paddingHorizontal: 16,
- paddingTop: 16,
+ paddingTop: 12,
backgroundColor: colors.white,
},
teamSwitcherContainer: {
| Adding styles for widgets and alert | Adding styles for widgets and alert
|
c8dab4a7fe5697b7d9c1c8b3b98362d20024245b | --- package.json
@@ -94,7 +94,7 @@
"@walmart/checkout-mini-app": " 3.15.39",
"@walmart/compass-sdk-rn": "5.19.8",
"@walmart/config-components": "4.4.1",
- "@walmart/copilot-mini-app": "3.92.13",
+ "@walmart/copilot-mini-app": "3.92.14",
"@walmart/core-services": "6.1.4",
"@walmart/core-services-allspark": "6.1.4",
"@walmart/core-utils": "6.1.4",
--- yarn.lock
@@ -5898,9 +5898,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/copilot-mini-app@npm:3.92.13":
- version: 3.92.13
- resolution: "@walmart/copilot-mini-app@npm:3.92.13"
+"@walmart/copilot-mini-app@npm:3.92.14":
+ version: 3.92.14
+ resolution: "@walmart/copilot-mini-app@npm:3.92.14"
peerDependencies:
"@react-navigation/native": ^6.0.0
"@react-navigation/stack": ^6.1.0
@@ -5909,7 +5909,7 @@ __metadata:
"@walmart/gtp-shared-components": ^2.0.0
react: ^18.2.0
react-native: ~0.70.5
- checksum: 10c0/a5493d4f3689130cf2ceccc16899c4c5bde9ce89ef1387a1eddc512ce77c5271a7f1b823cb2ceef00956e4ee4bb1c4d218bb734509c2d11c0589a6809c0f19a7
+ checksum: 10c0/9201fcad27d5b89f02bd3f76cf0f85e0a2bc391f0ff223efafbe198d1852097809e0371c82528709325c2511f90d9533213c0203ff3888e0620a313447459c12
languageName: node
linkType: hard
@@ -7809,7 +7809,7 @@ __metadata:
"@walmart/checkout-mini-app": "npm: 3.15.39"
"@walmart/compass-sdk-rn": "npm:5.19.8"
"@walmart/config-components": "npm:4.4.1"
- "@walmart/copilot-mini-app": "npm:3.92.13"
+ "@walmart/copilot-mini-app": "npm:3.92.14"
"@walmart/core-services": "npm:6.1.4"
"@walmart/core-services-allspark": "npm:6.1.4"
"@walmart/core-utils": "npm:6.1.4"
| chore: bump copilot@3.92.14 | chore: bump copilot@3.92.14
|
675c38a633e58cf8454b42c3ece7c0fff8316370 | --- src/screens/RosterDetailScreen/SupplyChainRosterDetailScreen.tsx
@@ -77,12 +77,10 @@ export const SupplyChainRosterDetailScreen = ({
}: RosterDetailScreenProps) => {
const dummyTeamId = '';
const dummyTeamName = '';
- const initialTeamId = route.params?.teamId
- ? route.params?.teamId
- : dummyTeamId;
+ const initialTeamId = route.params?.teamId ? route.params?.teamId : 'total';
const initialTeamName = route.params?.teamName
? route.params?.teamName
- : dummyTeamName;
+ : 'Total site';
const {t} = translationClient.useTranslation();
const {bottom: bottomInset} = useSafeAreaInsets();
const navigation = useNavigation<StackNavigationProp<RosterNavParamsMap>>();
| Adding image changes | Adding image changes
|
35af3793a940fac367a85e1e7848f991b56f8aed | --- .looper.multibranch.yml
@@ -95,12 +95,18 @@ envs:
osIcon: ":appleinc:"
packaging: "ipa"
teamsOSIcon: "https://i.pinimg.com/originals/8b/50/ab/8b50ab8a25c6c6df6cb759a27dde6f3f.png"
+ APPCENTER_API_TOKEN: "%{credentials.secret('appcenter_iOS')}"
+ APPCENTER_APP_NAME: "AllSpark-Me-Walmart"
+
android:
variables:
os: "android"
osIcon: ":android:"
packaging: "apk"
teamsOSIcon: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAb1BMVEX///+kxDmiwzSgwi36/PTQ4J+qyEmewCGzzl/y9uPR4aLx9uGfwSf5+/GhwjC30Gr1+eq50XCox0H9/vrt89vk7crK3JPq8dXH2o3d6bvm787B1n+xzFisyU3V5KvO35u/1XzX5bDe6cG1zmTC14Z4GmjzAAAHfUlEQVR4nO2d2aKqKhiAAyoaiDSby6xW7/+MR7PUAlqhTGuf/7vYF3uZ8cU893oAAAAA4JQksPcYZ80OJl6TnOnaxHvMM6WIXgy850QRmxp4j3lmCCPUPYElGGM0MxAeC0wIIlnnt6wJYicDobFCHoms668fUYSQkdDYYMcQv3V8x4EjujMSGiscMSLLTm9YEoSPhkJjg1UeiXGnN8Qcsb2h0Fhh3jGA+84/kW02rFsiy5M565bMrXPuVFAURZWRdpFFZnlhv2j96QVCNNDKviavsIlYYSfjzW6yPsRxPI/j82F9um7GYvOnaDIE2iRt0BcaXcvd9og4Y4RwzvO/5v8SwhhHx9vupf2ZN/sw6rsNbhtOrBER0SVmlOVeSCR3ZZTEl+j5cNFeM9F0t02S5tX+PdTTwZESLnFrwgkbTe5RGeWVfRps17BJUSCee8luRIgs6iSRScjPLimKYRZwe61J0Xa78S/1HpIMbwNvrzVZsjzxaeiVjvknQq/sn8y22noP+Db4yrBggEhLQYQIHvgO/q/ssVb+eyf/9Ma3wkdmN9pBr4TeAq7094v2CbSGDIONxgHrkkBrMJv4VpHSnzMjfgUsDjClRmnbOkIGSaPfv9ItG2QmhT7hKLDaf9+pjpCBeVADUldzWbCGrXxr1eyp6RgswCyYWmPJbQgWjoFMQY2lPXgjhiiIErXo0wtBayEt+ww/htDnj4WWGuHzOdYse/Ln4zkXX3X2rVc01d5DVc7+XfQaAPw+fnESXka9TyVuhDCRRyG/0WmFk0exuRJj0XNpI2bCelR+/X0s1sOPh/cPYc9ZcS385vXU0/L7viKtmmh7MdF77fZPRYk6VfU1DKt4moppm/qsMkZiAV83RCT6SsPx80NivkZ87keuYCepEurVGKfvi5p6LkdM9vmPdvWjJ6/r84r7ER8zjf5UNZczlpVOeOTL8CKt1TG6p9PlUGvMe3gvaxS9TOorEoeK4LJ5lsWaYzaYxVmmGgfxNdqv7hTib+dkvv0Q9dMbPtrqUkjsvRSnGpVBd7zUibJy3RrER8NGVc5YAafuBSWND5t0XC7Xhq3LROojmSYOS9IC96Vp5DaR5oqup4dljW6rOB8fdlpXFDjPiJKeoV2cLzs1OZX2He1XPLZi5rLJVkLdjkhtPBi6HVa0Mp32GceF6cV1UYpcr+qbuDckbpeeOq8OkWxttU1ulLiGdt80psM1G7gmC2ha/88xXV2v+yCmm18Y58FaGagjp1vO7iyykCSjNSqDxW/dJGcHWg1iErputJv67qm/PNlWwcKcnjv0HDevy31JWv1eER66BlfzU9P0NVio9Xjx6n0QmlcLXCKP7VJx+U7bBt1SbHti0vdn+JzTkgz+t1zkL5s7e85WejScS7qm7YZTxZUfBY8E4c9Q3qtptb9dvqwJ/3gzLPOhfPgEt9jgvlL0AMsDHbwZTlXB0i9sVBtfyia+N0PV4gC+1Tb8UQymlUcKeMuHN8UP/8g9GiSp4ovK4XVvhnPVKKZ2adpXTZ6VCyO8GSrHaYe6Q3FgCIbmAUMwBMMKMLQGGILh3zfU3XUKhmBoHjAEQzCsAENrgCEYgmEFGFoDDMEQDCv8GU7BEAzB8AEYWgMMwRAMK8DQGmAIhmBYAYbWAEMwBMMKMLQGGIIhGFaAoTVMGyaBGqq2gbQwDG+/xd0wVu630D4YJLw9M3dDc3tmQt33pDqQo8W+p89713ycT3P/4rG5vWs9+VGij9NSvRkqck+b/YeqPaRXz4YG95B+3Afsz7C4bVag5bGKS/FV+HkunEfDviT78JanKq7eNXB1PqNHw97U2H78Xm/DX6KRDKszFXwa9sbDlyqD8w53mcwOrHoZIdu62eDVsJes69sVCTl0O1FxuV3Q4gwRmmbjxn/7NcyjMTuWwRpuux/gkoyvu90qem32+TYsgrAXg2WQAAwtA4ZgCIZgaB+NG1aMGTo+a8z96Z6OT2h1eTHCg6FbQeUwjjXKETCH7F1nROr8YEjXp87rj4d2xfGh7I7P2L0jGy+xBtcf8O1O39rVlSKYe7kBOVq4ikWOxr8Hx4riyE1eZCN/R6dOqPGbjgUI9Xo9YH+SEtY4sPlDQN/56lHG04H3S8inq8vkSbZQhTqdvHNUPbrIqmcuJg4KNop65li8nUI114kX3iPtA31VHEouwlEbur5RRgcwbPJHDZX5EAzBMBTAsAkYhgkYNgHDMAHDJmAYJmDYBAzDBAybgGGYgGETMAyT/4Hhvz+a+O8b6qRS1Q6moA0T1QoNfhaePahmkN2vutBBlfTIWng0U8wgttiF5pKBItiSHRF7xRQ5cXsrri5LuaFsTlBVKrEOuydcIN+nS2S7A+X3QuOj8zDrIb9WnsmKx750lQNtfamoK26SmKHyS8N3kl+DnN0GtwXJSFBkB8WzW6Gw4cegq4qS/vFNkZ6Vz97eYpGkIdf2NQfWyGCcTT48emKNeh8rIzs49j+sLEU4IfHnFTHTMyEcYYwwYT9/6fb0ZTZfcDyMT7+vSItO5xTh4XzQch+oR5I/UGgAAAAAwJ3/AIhisunOMvFaAAAAAElFTkSuQmCC"
+ APPCENTER_API_TOKEN: "%{credentials.secret('appcenter_android')}"
+ APPCENTER_APP_NAME: "AllSpark-Android"
+
## release types
test:
@@ -328,8 +334,6 @@ flows:
# Create a build for each of the applicable deployments; dev, beta, prod
build-deployments:
- echo "BuildType === $buildType"
- - declare(APPCENTER_API_TOKEN)
- - declare(APPCENTER_APP_NAME)
- if: |
%{ buildType == "SNAPSHOT" }
then:
@@ -432,8 +436,6 @@ flows:
ios-process:
- call: set-buildOutput
- var(sourceMap = "/tmp/index.ios.js.map")
- - var(APPCENTER_API_TOKEN = $APPCENTER_API_KEY_iOS)
- - var(APPCENTER_APP_NAME = "AllSpark-Me-Walmart")
- call: setup-ios
- call: build-ios
@@ -441,8 +443,6 @@ flows:
android-process:
- var(buildOutput = "./android/app/build/outputs/apk/${env}/release/app-${env}-release-signed.apk")
- var(sourceMap = "./android/app/build/generated/sourcemaps/react/${env}/release/index.android.bundle.map")
- - var(APPCENTER_API_TOKEN = $APPCENTER_API_KEY_ANDROID)
- - var(APPCENTER_APP_NAME = "AllSpark-Android")
- echo "starting building Android release build ${env}"
- call: build-android
| code cleanup | code cleanup
|
c7a69290606a189071ee53b418792b1a6db22a39 | --- .looper.multibranch.yml
@@ -317,7 +317,8 @@ flows:
- declare(buildOutput)
- declare(sourceMap)
- var(version): sh scripts/getIOSAppVersionFromInfoPlist.sh ios/AllSpark/Info.plist
- - call: msteams-success(version = ${version}, buildOutput = ${buildOutput})
+ - call: msteams-failure(version = ${version}, flowErrorMessage = "test error message")
+ # - call: msteams-success(version = ${version}, buildOutput = ${buildOutput})
# - try:
# - if: |
# %{os == "ios"}
| short-circuit and just send the message | short-circuit and just send the message
|
f81bbfcf7688f33995030e62153acb31ff764b7b | --- package-lock.json
@@ -16594,9 +16594,9 @@
"integrity": "sha512-iniQP4rj1FhBdBYS/+eQv7j1tadJ9lJtdzgOpvsOHng/GbcDh2Fhdeq+ZRldrPYdXvCyfFUmFeEwEGXZB5I/AQ=="
},
"moment": {
- "version": "2.29.1",
- "resolved": "https://npme.walmart.com/moment/-/moment-2.29.1.tgz",
- "integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ=="
+ "version": "2.29.4",
+ "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz",
+ "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w=="
},
"moment-timezone": {
"version": "0.5.34",
| fix: package.json & package-lock.json to reduce vulnerabilities | fix: package.json & package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-MOMENT-2944238 |
27297a65d286b24f5c5458fa04490da0f29a0a0a | --- yarn.lock
@@ -18753,6 +18753,13 @@ __metadata:
languageName: node
linkType: hard
+"picocolors@npm:^1.1.1":
+ version: 1.1.1
+ resolution: "picocolors@npm:1.1.1"
+ checksum: 10c0/e2e3e8170ab9d7c7421969adaa7e1b31434f789afb9b3f115f6b96d91945041ac3ceb02e9ec6fe6510ff036bcc0bf91e69a1772edc0b707e12b19c0f2d6bcf58
+ languageName: node
+ linkType: hard
+
"picomatch@npm:^2.0.4, picomatch@npm:^2.2.3, picomatch@npm:^2.3.1":
version: 2.3.1
resolution: "picomatch@npm:2.3.1"
@@ -22803,7 +22810,7 @@ __metadata:
languageName: node
linkType: hard
-"tslib@npm:^2.2.0, tslib@npm:^2.6.3, tslib@npm:^2.8.1":
+"tslib@npm:^2.6.3, tslib@npm:^2.8.1":
version: 2.8.1
resolution: "tslib@npm:2.8.1"
checksum: 10c0/9c4759110a19c53f992d9aae23aac5ced636e99887b51b9e61def52611732872ff7668757d4e4c61f19691e36f4da981cd9485e869b4a7408d689f6bf1f14e62
| Merge pull request #3580 from allspark/feature/sidekick-phase5 | Merge pull request #3580 from allspark/feature/sidekick-phase5
feature/sidekick: foundation phase 5 changes for sidekick mini app
|
b6ad165888f9c16173a4d144992e690a960ddb8c | --- __tests__/services/api/adapters/useGetSupplyChainAdapter.test.ts
@@ -314,8 +314,9 @@ describe('useGetSupplyChainAdapter', () => {
{
teamId: 'total',
teamImage: {
- blurhash: 'DEFAULT_SUPPLY_BLURHASH',
- uri: 'https://example.com/default-supply.jpg',
+ blurhash: 'KoMu9IkD~pXUa}sj_1j@Mx',
+ teamName: 'Default',
+ uri: 'https://i5-me.walmartimages.com/images/supplychain/total-site-2dc1bfe083.png',
},
teamName: 'Total Site Team',
},
@@ -363,8 +364,9 @@ describe('useGetSupplyChainAdapter', () => {
{
teamId: 'total',
teamImage: {
- blurhash: 'DEFAULT_SUPPLY_BLURHASH',
- uri: 'https://example.com/default-supply.jpg',
+ blurhash: 'KoMu9IkD~pXUa}sj_1j@Mx',
+ teamName: 'Default',
+ uri: 'https://i5-me.walmartimages.com/images/supplychain/total-site-2dc1bfe083.png',
},
teamName: 'Total Site Team',
},
@@ -440,14 +442,16 @@ describe('useGetSupplyChainAdapter', () => {
// Unknown team should have default image
expect(result.current.data.teams[1].teamImage).toEqual({
- uri: 'https://example.com/default-supply.jpg',
- blurhash: 'DEFAULT_SUPPLY_BLURHASH',
+ blurhash: 'KoMu9IkD~pXUa}sj_1j@Mx',
+ teamName: 'Default',
+ uri: 'https://i5-me.walmartimages.com/images/supplychain/total-site-2dc1bfe083.png',
});
// Team without ID should have default image
expect(result.current.data.teams[2].teamImage).toEqual({
- uri: 'https://example.com/default-supply.jpg',
- blurhash: 'DEFAULT_SUPPLY_BLURHASH',
+ blurhash: 'KoMu9IkD~pXUa}sj_1j@Mx',
+ teamName: 'Default',
+ uri: 'https://i5-me.walmartimages.com/images/supplychain/total-site-2dc1bfe083.png',
});
});
});
@@ -589,8 +593,8 @@ describe('useGetSupplyChainAdapter', () => {
membership: [],
teamImage: {
teamName: 'Total Site Team',
- uri: 'https://example.com/default-supply.jpg',
- blurhash: 'DEFAULT_SUPPLY_BLURHASH',
+ uri: 'https://i5-me.walmartimages.com/images/supplychain/total-site-2dc1bfe083.png',
+ blurhash: 'KoMu9IkD~pXUa}sj_1j@Mx',
},
});
});
| feat(ui): updated failing tests #SMDV-8345 | feat(ui): updated failing tests #SMDV-8345
|
72bdfbbaabb60555acbac680c8fe3f4186035188 | --- src/navigation/AssociateHallwayNav/MainStackNav.tsx
@@ -158,13 +158,6 @@ export const MainStackNav = () => {
}}
/>
- {/* GroupRow -> GroupPreviewScreen / ConverseTalkCard -> Ask Sam / GroupsList -> RosterPage -> SearchScreen / PttScreen */}
- <MainStack.Screen
- name='PttGroupPreview'
- component={Components.GroupPreviewScreen}
- options={{title: 'Group Details'}}
- />
-
{/* Transparent Modal Screens - Renderd on top of current screen*/}
<MainStack.Group
screenOptions={{
| removing old screen | removing old screen
|
99b3b88d51e4ae56168a1d0660fa0c9e00c0ce86 | --- core/src/features/listening.ts
@@ -1,12 +1,8 @@
-import React from 'react';
import {AllsparkFeatureModule} from '@walmart/allspark-foundation';
import {
FeatureTags,
HomeDashboardContainer,
- HomeWidgetProps,
- withRefreshKey,
} from '@walmart/me-at-walmart-common';
-import { useNavigation } from '@react-navigation/native';
// --- NOTICE --- //
// Temporary Listening Feature to handle feature setup.
@@ -18,10 +14,12 @@ export const ListeningFeature = new AllsparkFeatureModule('listening', {
listeners: {
feature: {
onConnect: () => {
- const {AesSurveyCard} = require('@walmart/associate-listening-mini-app');
-
+ const {
+ AesSurveyCard,
+ } = require('@walmart/associate-listening-mini-app');
+
// Add aes widget to home dashboard container
- HomeDashboardContainer.add('AesSurveyCard', AesSurveyCard)
+ HomeDashboardContainer.add('AesSurveyCard', AesSurveyCard);
},
},
},
--- core/src/features/receiving.tsx
@@ -6,7 +6,7 @@ import {
HomeWidgetProps,
withRefreshKey,
} from '@walmart/me-at-walmart-common';
-import { useNavigation } from '@react-navigation/native';
+import {useNavigation} from '@react-navigation/native';
// --- NOTICE --- //
// Temporary Receiving Feature to handle feature setup.
@@ -18,10 +18,11 @@ export const ReceivingFeature = new AllsparkFeatureModule('receiving', {
listeners: {
feature: {
onConnect: () => {
- const ReceivingRootApp = require('@walmart/rn-receiving-mini-app').default;
-
+ const ReceivingRootApp =
+ require('@walmart/rn-receiving-mini-app').default;
+
require('@walmart/rn-receiving-mini-app/dist/receivingApp/assets/strings/LanguageResources').addLanguageResources();
-
+
const UnifiedReceivingCard = (props: HomeWidgetProps) => {
const navigation = useNavigation();
return (
@@ -30,11 +31,14 @@ export const ReceivingFeature = new AllsparkFeatureModule('receiving', {
path='miniAppCardView'
onAppLoadHandler={() => navigation.navigate('Receiving')}
/>
- )
+ );
};
// Add receiving widget to home dashboard container
- HomeDashboardContainer.add('UnifiedReceivingCard', withRefreshKey('receiving', UnifiedReceivingCard))
+ HomeDashboardContainer.add(
+ 'UnifiedReceivingCard',
+ withRefreshKey('receiving', UnifiedReceivingCard),
+ );
},
},
},
--- core/src/features/sidekick.tsx
@@ -1,6 +1,6 @@
import React from 'react';
-import { StyleSheet, View } from 'react-native';
-import { useSelector } from 'react-redux';
+import {StyleSheet, View} from 'react-native';
+import {useSelector} from 'react-redux';
import {AllsparkFeatureModule} from '@walmart/allspark-foundation';
import {
@@ -9,8 +9,7 @@ import {
HomeWidgetProps,
withRefreshKey,
} from '@walmart/me-at-walmart-common';
-import { getBottomNavConfigMap } from '../navigation/USHallway/AssociateHallwayNav/Tabs/config';
-
+import {getBottomNavConfigMap} from '../navigation/USHallway/AssociateHallwayNav/Tabs/config';
const styles = StyleSheet.create({
container: {
@@ -19,20 +18,18 @@ const styles = StyleSheet.create({
});
export const createSidekickCard = () => {
- const {
- SidekickHomeCard,
- } = require('@walmart/sidekick-mini-app');
+ const {SidekickHomeCard} = require('@walmart/sidekick-mini-app');
return (props: HomeWidgetProps) => {
const {sidekick} = useSelector(getBottomNavConfigMap);
-
+
return sidekick.enabled ? (
<View style={styles.container}>
<SidekickHomeCard {...props} />
</View>
) : null;
};
-}
+};
// --- NOTICE --- //
// Temporary Sidekick Feature to handle feature setup.
@@ -45,9 +42,12 @@ export const SidekickFeature = new AllsparkFeatureModule('sidekick', {
feature: {
onConnect: () => {
const SidekickCard = createSidekickCard();
-
+
// Add sidekick widget to home dashboard container
- HomeDashboardContainer.add('SidekickCard', withRefreshKey('sidekick', SidekickCard));
+ HomeDashboardContainer.add(
+ 'SidekickCard',
+ withRefreshKey('sidekick', SidekickCard),
+ );
},
},
},
--- core/src/features/taskIt.tsx
@@ -43,7 +43,8 @@ export const createBadgeSelectors = (
const isCopilotEnabled = copilotBottomNavConfig?.enabled;
const isSidekickEnabled = sidekickBottomNavConfig?.enabled;
return Boolean(
- (!isCopilotEnabled || !isSidekickEnabled) && (highPriorityCount || signOffTaskCount),
+ (!isCopilotEnabled || !isSidekickEnabled) &&
+ (highPriorityCount || signOffTaskCount),
);
},
);
@@ -58,7 +59,9 @@ export const createBadgeSelectors = (
const isCopilotEnabled = copilotBottomNavConfig?.enabled;
const isSidekickEnabled = sidekickBottomNavConfig?.enabled;
return Boolean(
- (isCopilotEnabled || isSidekickEnabled) || (!highPriorityCount && !signOffTaskCount),
+ isCopilotEnabled ||
+ isSidekickEnabled ||
+ (!highPriorityCount && !signOffTaskCount),
);
},
);
--- core/src/navigation/USHallway/AssociateHallwayNav/Tabs/config.tsx
@@ -223,7 +223,6 @@ const DEFAULT_BOTTOMNAV_CONFIG = {
inbox: {enabled: false},
} as Record<string, Partial<BottomNavOption>>;
-
// Transform bottom nav config list into a map by id
// TODO: CCM needs to be fixed so taskit, inbox, and copilot are mutually exclusive if thats the
// desired behavior. We shouldn't need to do a series to checks or changes to ensure only one of
| fix: fixed eslint issue | fix: fixed eslint issue
|
1692943948f1aa3893d0d9d10c1b493bef5451de | --- ios/Podfile.lock
@@ -2904,8 +2904,8 @@ SPEC CHECKSUMS:
walmart-react-native-sumo-sdk: a6dc20c0ec3c8ab878886529a0e2fc22e747821c
WebexSDK: d652713bd7ad5902e81918121912ba75a0056c3b
wifi-store-locator: 501fca0a220c725ed93ab403635c0f246a8ce7e3
- Yoga: 47d399a73c0c0caa9ff824e5c657eae31215bfee
+ Yoga: c716aea2ee01df6258550c7505fa61b248145ced
PODFILE CHECKSUM: fc93c11e2096b0f20e15b7c98c1efea2b0908817
-COCOAPODS: 1.15.2
+COCOAPODS: 1.14.3
| reverting yoga and cocopodods changes | reverting yoga and cocopodods changes
|
5c64640cc690c38bf0957022f520e0873dfe02d5 | --- package-lock.json
@@ -4552,9 +4552,9 @@
}
},
"@walmart/welcomeme-mini-app": {
- "version": "0.56.0",
- "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.56.0.tgz",
- "integrity": "sha512-jSyMwk3dSN9f7aeQQ16TLvhxRJhW+C5VXhPIBq65OQ9ey3tAuVqnXaEUUtgsZJPIvv8Y+Gak4BL7FvR7ul1rFA=="
+ "version": "0.57.0",
+ "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.57.0.tgz",
+ "integrity": "sha512-+iEG9aj+18OXGvuA6CbUB079cIQNgWZKIr1QvkcVMYbBc74fI43xxi0CCl54+vwBaXYctFWwpG+pQqmvPgRvVw=="
},
"@walmart/wfm-ui": {
"version": "0.2.11",
--- package.json
@@ -104,7 +104,7 @@
"@walmart/taskit-mini-app": "0.18.0",
"@walmart/time-clock-mini-app": "0.5.1",
"@walmart/ui-components": "1.4.0-rc.0",
- "@walmart/welcomeme-mini-app": "0.56.0",
+ "@walmart/welcomeme-mini-app": "0.57.0",
"@walmart/wfm-ui": "0.2.11",
"axios-cache-adapter": "2.7.3",
"crypto-js": "^3.3.0",
| build(welcomeME): v0.57.0 | build(welcomeME): v0.57.0
|
f393abe7efab2e754a932d3398c17bc960cac2f9 | --- package-lock.json
@@ -81,7 +81,7 @@
"@walmart/shelfavailability-mini-app": "1.5.13",
"@walmart/taskit-mini-app": "2.28.14",
"@walmart/time-clock-mini-app": "2.85.0",
- "@walmart/ui-components": "1.10.1",
+ "@walmart/ui-components": "1.12.0",
"@walmart/welcomeme-mini-app": "0.76.0",
"@walmart/wfm-ui": "0.2.26",
"axios": "~1.2.6",
@@ -6160,9 +6160,9 @@
"license": "GPL-3.0-or-later"
},
"node_modules/@walmart/ui-components": {
- "version": "1.10.1",
- "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.10.1.tgz",
- "integrity": "sha512-Y2ExddytTHFxdh8d0rEtbswld4Mu0WyKD6whiAz8AX5lWkeeMZJIY5ni76ol6G58YyZVUGpn6BhbVngM2h8w2A==",
+ "version": "1.12.0",
+ "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.12.0.tgz",
+ "integrity": "sha512-s74wXz+WZ/BNgMs0gqmC1QLJsdY5fzMDFUdgg6l5c4Lmk3XKf82VwKURnxaDY0AZ880aPZDClekaqkukci0iNA==",
"license": "ISC",
"dependencies": {
"react-hook-form": "^7.33.1",
@@ -25514,9 +25514,9 @@
"version": "1.0.4"
},
"@walmart/ui-components": {
- "version": "1.10.1",
- "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.10.1.tgz",
- "integrity": "sha512-Y2ExddytTHFxdh8d0rEtbswld4Mu0WyKD6whiAz8AX5lWkeeMZJIY5ni76ol6G58YyZVUGpn6BhbVngM2h8w2A==",
+ "version": "1.12.0",
+ "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.12.0.tgz",
+ "integrity": "sha512-s74wXz+WZ/BNgMs0gqmC1QLJsdY5fzMDFUdgg6l5c4Lmk3XKf82VwKURnxaDY0AZ880aPZDClekaqkukci0iNA==",
"requires": {
"react-hook-form": "^7.33.1",
"react-native-calendars": "^1.1291.0",
--- package.json
@@ -123,7 +123,7 @@
"@walmart/shelfavailability-mini-app": "1.5.13",
"@walmart/taskit-mini-app": "2.28.14",
"@walmart/time-clock-mini-app": "2.85.0",
- "@walmart/ui-components": "1.10.1",
+ "@walmart/ui-components": "1.12.0",
"@walmart/welcomeme-mini-app": "0.76.0",
"@walmart/wfm-ui": "0.2.26",
"axios": "~1.2.6",
--- src/navigation/AssociateHallwayNav/Tabs/MeStackNav.tsx
@@ -3,10 +3,20 @@ import {createStackNavigator} from '@react-navigation/stack';
import {useTranslation} from '@walmart/core-services/Translations';
import {MeMiniApp} from '@walmart/profile-feature-app';
-import {DrawerButton, Header} from '@walmart/ui-components';
+import {
+ DrawerButton,
+ Header,
+ SensitiveViewOverlay,
+} from '@walmart/ui-components';
const MeStack = createStackNavigator();
-
+export const withSensitiveView = (Component: any) => {
+ return (props: any) => (
+ <SensitiveViewOverlay>
+ <Component {...props} />
+ </SensitiveViewOverlay>
+ );
+};
export const MeStackNav = () => {
const [t] = useTranslation('common');
@@ -14,7 +24,7 @@ export const MeStackNav = () => {
<MeStack.Navigator screenOptions={{headerShown: false, header: Header}}>
<MeStack.Screen
name='me.root'
- component={MeMiniApp}
+ component={withSensitiveView(MeMiniApp)}
options={{
headerShown: true,
title: t('navigation.me'),
--- src/types/ui-components.d.ts
@@ -1,7 +1,7 @@
type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
declare module '@walmart/ui-components' {
- import React, {PropsWithChildren} from 'react';
+ import React, {PropsWithChildren, ReactNode} from 'react';
import {StyleProp, ViewStyle} from 'react-native';
import type {StackHeaderProps} from '@react-navigation/stack';
import type {DialogProps} from '@walmart/ui-components/components/Dialog/types';
@@ -18,6 +18,7 @@ declare module '@walmart/ui-components' {
DataSaverCardProps & {style?: StyleProp<ViewStyle>}
>;
export const Dialog: React.FC<DialogProps>;
+ export const SensitiveViewOverlay: React.FC<{children: ReactNode}>;
export const ActivityMonitor: React.FC<ActivityMonitorProps>;
export const LockScreen: React.FC<LockScreenProps>;
export const DrawerButton: React.FC<DrawerButtonProps> & {
| sensitive view mini app | sensitive view mini app
|
9bc41f89d8f45ff4152408463cb62287ca8ae257 | --- package-lock.json
@@ -2047,15 +2047,15 @@
"integrity": "sha512-VbikbxTpoOVaAnI6DzSXQbM3pBxjgqv0834EgclZinTGkhRLpZ5UcADaK5cqNoxmQYyPkzi+9Fk1McF/wehdiQ=="
},
"@walmart/schedule-mini-app": {
- "version": "0.2.27",
- "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.2.27.tgz",
- "integrity": "sha512-ZoBchwGBFwewn6MYYHdvkf0SJyjkuSKoEwfTNUy/gblUFk/BH0Lw4MK6edQ3zm4H1wlkdtJWfc7wDxCuJMosXw==",
+ "version": "0.2.28",
+ "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.2.28.tgz",
+ "integrity": "sha512-jPZS0l6YNZ6C+jwGDka2ZE/9N5Q9VEBpwbvl/OA6zIQ8TaVTKkDpjOvsSALpUJ28/YzAXx1JzLytWsY2ll5PlQ==",
"requires": {
"@walmart/moment-walmart": "^1.0.4",
- "@walmart/wfm-ui": "^0.1.24",
+ "@walmart/wfm-ui": "^0.1.25",
"react-native-tab-view": "^2.15.2",
"reselect": "^4.0.0",
- "wfm-allspark-data-library": "0.0.10"
+ "wfm-allspark-data-library": "0.0.11"
}
},
"@walmart/settings-mini-app": {
@@ -2081,9 +2081,9 @@
}
},
"@walmart/wfm-ui": {
- "version": "0.1.24",
- "resolved": "https://npme.walmart.com/@walmart/wfm-ui/-/wfm-ui-0.1.24.tgz",
- "integrity": "sha512-4BERH90s0dRUqpCs/lsKcEDEl4ubk/BPINfU7TCs2ClRUpeE2m/LCXTs+UcpbHCi6kcwljeCw+TDeaW28U2Txg==",
+ "version": "0.1.25",
+ "resolved": "https://npme.walmart.com/@walmart/wfm-ui/-/wfm-ui-0.1.25.tgz",
+ "integrity": "sha512-i8H9CD9XsyxvXj5xGqLqN/T77+Qr6WdfN79YeXT2inZHKxJKctJRogWZrSSYqEx5fTK1WpDbCRUVTCKNjDYTkg==",
"requires": {
"@walmart/gtp-shared-components": "^0.2.2",
"@walmart/moment-walmart": "1.0.3",
@@ -11751,9 +11751,9 @@
"dev": true
},
"wfm-allspark-data-library": {
- "version": "0.0.10",
- "resolved": "https://npme.walmart.com/wfm-allspark-data-library/-/wfm-allspark-data-library-0.0.10.tgz",
- "integrity": "sha512-4xMSSjaoouIn6ynONO6fGo2k7eoNBOJRkiHZrUaFNqNzTDZ+c1VUoOv7Kfn9jTABuiOHUTBEf4TymeKbkFnbDA==",
+ "version": "0.0.11",
+ "resolved": "https://npme.walmart.com/wfm-allspark-data-library/-/wfm-allspark-data-library-0.0.11.tgz",
+ "integrity": "sha512-o34ej3nNhCcy3uwWkOJcU/3zjXmX+VvbqiZrEgQwrxbO6cbJGxiK1Tz/JQX8j1lwi6cZFJKvDOucJtlduzVQrg==",
"requires": {
"@walmart/functional-components": "^1.0.22",
"@walmart/react-native-env": "^0.1.0",
--- package.json
@@ -56,7 +56,7 @@
"@walmart/react-native-logger": "^1.17.0",
"@walmart/react-native-shared-navigation": "^0.2.0",
"@walmart/redux-store": "^1.0.7",
- "@walmart/schedule-mini-app": "0.2.27",
+ "@walmart/schedule-mini-app": "0.2.28",
"@walmart/settings-mini-app": "1.1.8",
"@walmart/time-clock-mini-app": "0.0.21",
"@walmart/ui-components": "^1.0.77",
| bump (#190) | bump (#190)
Co-authored-by: Anthony Helms - awhelms <awhelms@wal-mart.com> |
d5ea1693b392807746c17233afb05e945286ddb5 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.13.0-alpha.2",
+ "version": "1.13.0-alpha.3",
"main": "dist/index.js",
"files": [
"dist"
| feat(ui): update navigation for team hub | feat(ui): update navigation for team hub
|
ace67b851f812677e68d05015ba65f3805f04d30 | --- __tests__/core/initSSOTest.ts
@@ -7,6 +7,7 @@ import {
import {
addSSOListeners,
ssoTelemetryEventListener,
+ ASSOCIATE_USER_TYPE,
} from '../../src/core/initSSO';
import {logger} from '../../src/services/Logger';
import {SSO_APP} from '../../src/types/telemetryConstants';
@@ -90,4 +91,52 @@ describe('ssoTelemetryEventListener', () => {
});
expect(logger.info).toHaveBeenCalledWith('User change succeeded', {});
});
+ it('logs error for store/dc associates if siteId is NOT_FOUND', () => {
+ const event = {
+ action: SSOPingFedEvents.types.userChanged,
+ domain: 'Store/Club',
+ siteId: 'NOT_FOUND',
+ countryCode: 'US',
+ userType: ASSOCIATE_USER_TYPE as String,
+ } as SSOPingFedEventData;
+
+ ssoTelemetryEventListener(event);
+
+ expect(WmTelemetry.logEvent).toHaveBeenCalledWith(SSO_APP, 'successful', {
+ isPreHire: 'false',
+ });
+ expect(logger.info).toHaveBeenCalledWith('User change succeeded', {});
+ expect(logger.error).toHaveBeenCalledWith(
+ 'Missing required properties on user object from SSO',
+ {
+ countryCode: 'US',
+ siteId: 'NOT_FOUND',
+ domain: 'Store/Club',
+ },
+ );
+ });
+ it('logs error for store/dc associates if countryCode is NOT_FOUND', () => {
+ const event = {
+ action: SSOPingFedEvents.types.authSuccess,
+ domain: 'Store/Club',
+ siteId: '100',
+ countryCode: 'NOT_FOUND',
+ userType: ASSOCIATE_USER_TYPE as String,
+ } as SSOPingFedEventData;
+
+ ssoTelemetryEventListener(event);
+
+ expect(WmTelemetry.logEvent).toHaveBeenCalledWith(SSO_APP, 'successful', {
+ isPreHire: 'false',
+ });
+ expect(logger.info).toHaveBeenCalledWith('User sign in succeeded', {});
+ expect(logger.error).toHaveBeenCalledWith(
+ 'Missing required properties on user object from SSO',
+ {
+ siteId: '100',
+ countryCode: 'NOT_FOUND',
+ domain: 'Store/Club',
+ },
+ );
+ });
});
--- src/core/initSSO.ts
@@ -9,6 +9,21 @@ import {SSO_APP} from '../types/telemetryConstants';
import {logger} from '../services/Logger';
export const PRE_HIRE_USER_TYPE = 'PRE_HIRE';
+export const ASSOCIATE_USER_TYPE = 'ASSOCIATE';
+
+const logNotFoundError = (event: SSOPingFedEventData) => {
+ if (
+ event.domain?.toUpperCase() !== 'HOMEOFFICE' &&
+ event.userType?.toUpperCase() === ASSOCIATE_USER_TYPE &&
+ (event.siteId === 'NOT_FOUND' || event.countryCode === 'NOT_FOUND')
+ ) {
+ logger.error('Missing required properties on user object from SSO', {
+ countryCode: event.countryCode,
+ siteId: event.siteId,
+ domain: event.domain,
+ });
+ }
+};
export const ssoTelemetryEventListener = (event: SSOPingFedEventData) => {
switch (event.action) {
@@ -28,12 +43,14 @@ export const ssoTelemetryEventListener = (event: SSOPingFedEventData) => {
WmTelemetry.logEvent(SSO_APP, 'successful', {
isPreHire: String(event.userType === PRE_HIRE_USER_TYPE),
});
+ logNotFoundError(event);
logger.info('User sign in succeeded', {});
break;
case SSOPingFedEvents.types.userChanged:
WmTelemetry.logEvent(SSO_APP, 'successful', {
isPreHire: String(event.userType === PRE_HIRE_USER_TYPE),
});
+ logNotFoundError(event);
logger.info('User change succeeded', {});
break;
}
| Added loggin for NOT_FOUND country code and siteId | Added loggin for NOT_FOUND country code and siteId
|
82896ac2e9e67bf11b7b24145b0f831e7c534a5d | --- __tests__/whatsNew/WhatsNewSagaTest.ts
@@ -84,7 +84,7 @@ describe('fetchWhatsNew', () => {
expect(iterator.next().value).toEqual(call(AsyncStorage.getItem, asyncKey));
expect(iterator.next(undefined).value).toEqual(select(getWhatsNew));
const {value, done} = iterator.next(whatsNewData);
- expect(value).toEqual(data);
+ expect(value).toEqual(whatsNewData);
expect(done).toEqual(true);
});
});
--- src/whatsNew/WhatsNewSaga.ts
@@ -22,9 +22,8 @@ export function* getWhatsNewAsyncKey() {
export function* fetchWhatsNew(whatsNewAsyncKey: string) {
const hasSeenWhatsNew = yield call(AsyncStorage.getItem, whatsNewAsyncKey);
-
if (!hasSeenWhatsNew) {
- const {whatsNew} = yield select(getWhatsNew);
+ const whatsNew = yield select(getWhatsNew);
return whatsNew;
}
}
| Fixing issue with whats new prompt (#463) | Fixing issue with whats new prompt (#463)
Co-authored-by: rlane1 <rlane1@walmart.com> |
fb7eeebb681693d6ed6c9d48d4e13c4847b6f690 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "3.8.1",
+ "version": "3.8.2",
"main": "dist/index.js",
"files": [
"dist",
| feat(ui): update package json | feat(ui): update package json
|
fc390064256843a5ba6b954dd640aee09e8a7c1b | --- package-lock.json
@@ -52,7 +52,7 @@
"@walmart/functional-components": "2.0.6",
"@walmart/gta-react-native-calendars": "0.0.15",
"@walmart/gtp-shared-components": "^2.0.0",
- "@walmart/impersonation-mini-app": "1.9.0",
+ "@walmart/impersonation-mini-app": "1.10.0",
"@walmart/ims-print-services-ui": "1.2.0",
"@walmart/inbox-mini-app": "0.78.0",
"@walmart/iteminfo-mini-app": "5.3.2",
@@ -5278,9 +5278,9 @@
"license": "UNLICENSED"
},
"node_modules/@walmart/impersonation-mini-app": {
- "version": "1.9.0",
- "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.9.0.tgz",
- "integrity": "sha512-8oT/YvNFRIEE1k/lrldMcPPCkD2cRiEOd+kxEWS8NFyebagXwCT0sSUVw8Ij7dWgeq2xdjs5Yqzbn4lFrNebWQ==",
+ "version": "1.10.0",
+ "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.10.0.tgz",
+ "integrity": "sha512-/bnQ0mzIwG00i3aUz27eVqZE0w6I15c8CsxErencSBbDrx/uQFPNUYl45/Z/Y0XLYLRmothQ9zQHmp4I7km6RQ==",
"peerDependencies": {
"@react-native-community/masked-view": ">=0.1.10",
"@react-native-community/picker": ">=1.8.1",
@@ -25223,9 +25223,9 @@
}
},
"@walmart/impersonation-mini-app": {
- "version": "1.9.0",
- "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.9.0.tgz",
- "integrity": "sha512-8oT/YvNFRIEE1k/lrldMcPPCkD2cRiEOd+kxEWS8NFyebagXwCT0sSUVw8Ij7dWgeq2xdjs5Yqzbn4lFrNebWQ=="
+ "version": "1.10.0",
+ "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.10.0.tgz",
+ "integrity": "sha512-/bnQ0mzIwG00i3aUz27eVqZE0w6I15c8CsxErencSBbDrx/uQFPNUYl45/Z/Y0XLYLRmothQ9zQHmp4I7km6RQ=="
},
"@walmart/ims-print-services-ui": {
"version": "1.2.0",
--- package.json
@@ -95,7 +95,7 @@
"@walmart/functional-components": "2.0.6",
"@walmart/gta-react-native-calendars": "0.0.15",
"@walmart/gtp-shared-components": "^2.0.0",
- "@walmart/impersonation-mini-app": "1.9.0",
+ "@walmart/impersonation-mini-app": "1.10.0",
"@walmart/ims-print-services-ui": "1.2.0",
"@walmart/inbox-mini-app": "0.78.0",
"@walmart/iteminfo-mini-app": "5.3.2",
| Impersonation fix | Impersonation fix
|
efbe26114295d2d5897487d568d67cb31921d43d | --- android/app/build.gradle
@@ -158,8 +158,8 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 908
- versionName "1.11.0"
+ versionCode 909
+ versionName "1.11.1"
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
if (isNewArchitectureEnabled()) {
// We configure the CMake build only if you decide to opt-in for the New Architecture.
--- ios/AllSpark/Info.plist
@@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.11.0</string>
+ <string>1.11.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -36,7 +36,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>910</string>
+ <string>911</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
--- ios/Podfile.lock
@@ -16,6 +16,8 @@ PODS:
- BVLinearGradient (2.6.2):
- React-Core
- CocoaAsyncSocket (7.6.5)
+ - compass-sdk-rn (3.16.18):
+ - React-Core
- DoubleConversion (1.1.6)
- FBLazyVector (0.70.9)
- FBReactNativeSpec (0.70.9):
@@ -689,6 +691,8 @@ PODS:
- React-Core
- React-RCTImage
- TOCropViewController
+ - RNInAppBrowser (3.7.0):
+ - React-Core
- RNPermissions (3.6.1):
- React-Core
- RNReactNativeHapticFeedback (1.14.0):
@@ -774,6 +778,7 @@ DEPENDENCIES:
- boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
- BVLinearGradient (from `../node_modules/react-native-linear-gradient`)
- CocoaAsyncSocket
+ - "compass-sdk-rn (from `../node_modules/@walmart/compass-sdk-rn`)"
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
- FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)
@@ -883,6 +888,7 @@ DEPENDENCIES:
- RNFS (from `../node_modules/react-native-fs`)
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
- RNImageCropPicker (from `../node_modules/react-native-image-crop-picker`)
+ - RNInAppBrowser (from `../node_modules/react-native-inappbrowser-reborn`)
- RNPermissions (from `../node_modules/react-native-permissions`)
- RNReactNativeHapticFeedback (from `../node_modules/react-native-haptic-feedback`)
- RNReanimated (from `../node_modules/react-native-reanimated`)
@@ -959,6 +965,8 @@ EXTERNAL SOURCES:
:podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec"
BVLinearGradient:
:path: "../node_modules/react-native-linear-gradient"
+ compass-sdk-rn:
+ :path: "../node_modules/@walmart/compass-sdk-rn"
DoubleConversion:
:podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
FBLazyVector:
@@ -1119,6 +1127,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-gesture-handler"
RNImageCropPicker:
:path: "../node_modules/react-native-image-crop-picker"
+ RNInAppBrowser:
+ :path: "../node_modules/react-native-inappbrowser-reborn"
RNPermissions:
:path: "../node_modules/react-native-permissions"
RNReactNativeHapticFeedback:
@@ -1154,6 +1164,7 @@ SPEC CHECKSUMS:
boost: a7c83b31436843459a1961bfd74b96033dc77234
BVLinearGradient: 34a999fda29036898a09c6a6b728b0b4189e1a44
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
+ compass-sdk-rn: 502e90d1b9842e6884ed9f18fb9967cecd6016d0
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
FBLazyVector: bc76253beb7463b688aa6af913b822ed631de31a
FBReactNativeSpec: 85d34420d92cb178897de05e3aba90e7a8568162
@@ -1269,6 +1280,7 @@ SPEC CHECKSUMS:
RNFS: 4ac0f0ea233904cb798630b3c077808c06931688
RNGestureHandler: 071d7a9ad81e8b83fe7663b303d132406a7d8f39
RNImageCropPicker: 648356d68fbf9911a1016b3e3723885d28373eda
+ RNInAppBrowser: e36d6935517101ccba0e875bac8ad7b0cb655364
RNPermissions: dcdb7b99796bbeda6975a6e79ad519c41b251b1c
RNReactNativeHapticFeedback: 1e3efeca9628ff9876ee7cdd9edec1b336913f8c
RNReanimated: 6668b0587bebd4b15dd849b99e5a9c70fc12ed95
@@ -1296,6 +1308,6 @@ SPEC CHECKSUMS:
Yoga: dc109b79db907f0f589fc423e991b09ec42d2295
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
-PODFILE CHECKSUM: 5d9ba60be3dfb87f4278eff1d4ebb95b0c7dbcf4
+PODFILE CHECKSUM: 428e0e59976a5af07a4bda2ef6a2bae4353919ea
-COCOAPODS: 1.12.0
+COCOAPODS: 1.11.3
--- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "allspark-main",
- "version": "1.11.0",
+ "version": "1.11.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "allspark-main",
- "version": "1.11.0",
+ "version": "1.11.1",
"hasInstallScript": true,
"dependencies": {
"@react-native-community/art": "^1.2.0",
@@ -37,7 +37,7 @@
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.3.74",
"@walmart/attendance-mini-app": "0.86.0",
- "@walmart/compass-sdk-rn": "3.16.17",
+ "@walmart/compass-sdk-rn": "3.16.18",
"@walmart/config-components": "4.1.0-rc.4",
"@walmart/core-services": "~2.0.19",
"@walmart/core-services-allspark": "~2.10.15",
@@ -4907,9 +4907,9 @@
}
},
"node_modules/@walmart/compass-sdk-rn": {
- "version": "3.16.17",
- "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-3.16.17.tgz",
- "integrity": "sha512-E3AWgniUS68f9DfWvhX1XoPuo9FFe2RXL0HxYcX6w9zq1wIu+sZX79Y9c0NL6pecNWOpKex/krNPMFYgC5q3RA==",
+ "version": "3.16.18",
+ "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-3.16.18.tgz",
+ "integrity": "sha512-YHXspTFrzaZ2J/s16nNN+skxqVbIYzp7R9GIHKK2Bv6eXvBGu+0+1Fck3cZ0YcQaElbzT77436JKtJ6QJiPi4w==",
"license": "MIT",
"peerDependencies": {
"react": "*",
@@ -25182,9 +25182,9 @@
}
},
"@walmart/compass-sdk-rn": {
- "version": "3.16.17",
- "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-3.16.17.tgz",
- "integrity": "sha512-E3AWgniUS68f9DfWvhX1XoPuo9FFe2RXL0HxYcX6w9zq1wIu+sZX79Y9c0NL6pecNWOpKex/krNPMFYgC5q3RA=="
+ "version": "3.16.18",
+ "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-3.16.18.tgz",
+ "integrity": "sha512-YHXspTFrzaZ2J/s16nNN+skxqVbIYzp7R9GIHKK2Bv6eXvBGu+0+1Fck3cZ0YcQaElbzT77436JKtJ6QJiPi4w=="
},
"@walmart/config-components": {
"version": "4.1.0-rc.4",
--- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.11.0",
+ "version": "1.11.1",
"private": true,
"scripts": {
"android": "react-native run-android",
| updating all required changes for nested framework fix | updating all required changes for nested framework fix
|
17d05949e2b493c9a89e4cb89b6da65f25cfced9 | --- package-lock.json
@@ -4137,9 +4137,9 @@
}
},
"@walmart/allspark-home-mini-app": {
- "version": "0.5.23",
- "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.5.23.tgz",
- "integrity": "sha512-yNB/y8SoIrsHZ4whROjoTx3D6xz4E/C/f3yxVxM8Lwwlnx2iQGFts6KdzGD8hMcxNH8c4dfzdekNUZn/KK7sVA==",
+ "version": "0.5.24",
+ "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.5.24.tgz",
+ "integrity": "sha512-5P8yAwuwIo7rchBLg2A812wbXo321F+82L3JBsAiXO8xq7YwCbPWnua4cBp3UfpiIvwob2GkskLrRV7MyIzb/Q==",
"requires": {
"moment": "^2.29.0",
"uuid": "^8.3.1"
@@ -4153,9 +4153,9 @@
}
},
"@walmart/allspark-me-mini-app": {
- "version": "0.31.3",
- "resolved": "https://npme.walmart.com/@walmart/allspark-me-mini-app/-/allspark-me-mini-app-0.31.3.tgz",
- "integrity": "sha512-5l+Pz2sg8ASvzpIgtE29auEKXakwunJf5CRCyfe8s8qsrKF+MpuyR9Kocp5/T2SJNH6hMPJZ/ofOVn25iTD08A==",
+ "version": "0.31.4",
+ "resolved": "https://npme.walmart.com/@walmart/allspark-me-mini-app/-/allspark-me-mini-app-0.31.4.tgz",
+ "integrity": "sha512-j04luDr0KoPgC4xOFL4imixI9BeUjW2N7B0VzTqfnnS1U0BGbogDcEfnRJWU3LyzLbxJgoML5bSo/QSzfkMkDg==",
"requires": {
"reselect": "^4.0.0"
}
--- package.json
@@ -71,8 +71,8 @@
"@sharcoux/slider": "^5.2.1",
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@walmart/allspark-health-survey-mini-app": "0.0.44",
- "@walmart/allspark-home-mini-app": "0.5.23",
- "@walmart/allspark-me-mini-app": "0.31.3",
+ "@walmart/allspark-home-mini-app": "0.5.24",
+ "@walmart/allspark-me-mini-app": "0.31.4",
"@walmart/allspark-neon-core": "0.1.25",
"@walmart/ask-sam-mini-app": "0.40.6",
"@walmart/config-components": "1.0.35",
| Bumping me and home mini apps | Bumping me and home mini apps
|
c912778a402242474df38a663a6c7f5a2b292896 | --- package-lock.json
@@ -39,7 +39,7 @@
"@walmart/attendance-mini-app": "0.86.0",
"@walmart/config-components": "4.1.0-rc.4",
"@walmart/core-services": "~2.0.19",
- "@walmart/core-services-allspark": "~2.10.8",
+ "@walmart/core-services-allspark": "~2.10.13",
"@walmart/core-utils": "~2.0.5",
"@walmart/core-widget-registry": "~1.2.2",
"@walmart/counts-component-miniapp": "0.1.2",
@@ -4947,16 +4947,16 @@
}
},
"node_modules/@walmart/core-services-allspark": {
- "version": "2.10.8",
- "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-2.10.8.tgz",
- "integrity": "sha512-i98qkyvK8PBOa5ly5/pliSIwdgR3drANqvvd+G9VHvcuphYlmDKHaolwNCGdk3nYPKACjiZF3InsaUYMF77K2g==",
+ "version": "2.10.13",
+ "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-2.10.13.tgz",
+ "integrity": "sha512-RMh4Nn7YpEZYoxMFlVeOuHX+c+MWFDo1dN8Ivl/wLcCZfDH9nBaZl9ZtF2/g4TfGIMuaIZQ6790CkM4ZZzwPhg==",
"license": "ISC",
"dependencies": {
- "@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/me-at-walmart-athena-queries": "^1.3.6",
+ "@walmart/allspark-graphql-client": "^1.4.8",
+ "@walmart/allspark-http-client": "^2.4.15",
+ "@walmart/allspark-utils": "^1.6.1",
+ "@walmart/core-services": "^2.0.21",
+ "@walmart/me-at-walmart-athena-queries": "^1.3.9",
"crypto-js": "~4.1.1",
"jwt-decode": "^3.1.2",
"luxon": "^2.4.0",
@@ -4972,7 +4972,7 @@
"@react-native-firebase/firestore": "^15.1.1",
"@react-native-firebase/perf": "^15.1.1",
"@react-navigation/native": "^6.0.0",
- "@walmart/config-components": ">=4.0.1",
+ "@walmart/config-components": ">=4.1.0",
"@walmart/react-native-encrypted-storage": "^1.1.13",
"@walmart/react-native-logger": ">=1.29.0",
"@walmart/react-native-scanner-3.0": ">=0.1.20",
@@ -5442,10 +5442,12 @@
}
},
"node_modules/@walmart/me-at-walmart-athena-queries": {
- "version": "1.3.6",
+ "version": "1.3.9",
+ "resolved": "https://npme.walmart.com/@walmart/me-at-walmart-athena-queries/-/me-at-walmart-athena-queries-1.3.9.tgz",
+ "integrity": "sha512-hjsYuXG0Lrqf3MtmEUcZOR7JRJ2LH62atuTYETuWiHGycitMtsUaXiGCMzKmkzm0JFOa8KbHxFMXbEcFMc1o6A==",
"license": "ISC",
"dependencies": {
- "@walmart/allspark-graphql-client": "^1.4.5"
+ "@walmart/allspark-graphql-client": "^1.4.8"
}
},
"node_modules/@walmart/me-field-mini-app": {
@@ -25173,15 +25175,15 @@
}
},
"@walmart/core-services-allspark": {
- "version": "2.10.8",
- "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-2.10.8.tgz",
- "integrity": "sha512-i98qkyvK8PBOa5ly5/pliSIwdgR3drANqvvd+G9VHvcuphYlmDKHaolwNCGdk3nYPKACjiZF3InsaUYMF77K2g==",
+ "version": "2.10.13",
+ "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-2.10.13.tgz",
+ "integrity": "sha512-RMh4Nn7YpEZYoxMFlVeOuHX+c+MWFDo1dN8Ivl/wLcCZfDH9nBaZl9ZtF2/g4TfGIMuaIZQ6790CkM4ZZzwPhg==",
"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/me-at-walmart-athena-queries": "^1.3.6",
+ "@walmart/me-at-walmart-athena-queries": "^1.3.9",
"crypto-js": "^3.3.0",
"jwt-decode": "^3.1.2",
"luxon": "^1.28.0",
@@ -25305,7 +25307,9 @@
"version": "0.2.1"
},
"@walmart/me-at-walmart-athena-queries": {
- "version": "1.3.6",
+ "version": "1.3.9",
+ "resolved": "https://npme.walmart.com/@walmart/me-at-walmart-athena-queries/-/me-at-walmart-athena-queries-1.3.9.tgz",
+ "integrity": "sha512-hjsYuXG0Lrqf3MtmEUcZOR7JRJ2LH62atuTYETuWiHGycitMtsUaXiGCMzKmkzm0JFOa8KbHxFMXbEcFMc1o6A==",
"requires": {
"@walmart/allspark-graphql-client": "^1.4.5"
}
--- package.json
@@ -81,7 +81,7 @@
"@walmart/attendance-mini-app": "0.86.0",
"@walmart/config-components": "4.1.0-rc.4",
"@walmart/core-services": "~2.0.19",
- "@walmart/core-services-allspark": "~2.10.8",
+ "@walmart/core-services-allspark": "~2.10.13",
"@walmart/core-utils": "~2.0.5",
"@walmart/core-widget-registry": "~1.2.2",
"@walmart/counts-component-miniapp": "0.1.2",
| update core service verion to 2.10.13 | update core service verion to 2.10.13
|
f8e1ed96cd65e1e8c0867e1af478775c1edcf598 | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 93
+ versionCode 94
versionName "1.0.7"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>93</string>
+ <string>94</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
| Incrementing build number | Incrementing build number
|
a82e7b6a3f8f712c7c56aa096a97b86fdd0e10ee | --- src/components/FilterChipGroup/FilterChipGroup.tsx
@@ -105,7 +105,7 @@ export const FilterChipGroup = ({
}`
: t('rosterScreen.shiftChip.allShifts')
: t('rosterScreen.shiftChip.shift')}
- {' |'}
+ {' |'}
</Text>
</Chip>
</>
--- src/components/ShiftSwitcherModal/ShiftSwitcherModal.tsx
@@ -8,7 +8,7 @@ import {
Button,
CloseIcon,
FormGroup,
- LinkButton,
+ Link,
Radio,
} from '@walmart/gtp-shared-components';
import {modalProps} from '../../modals';
@@ -47,9 +47,12 @@ export const ShiftSwitcherModal = ({
<Body weight='700' UNSAFE_style={styles.headerText}>
{t('rosterScreen.shiftChip.modalTitle')}
</Body>
- <LinkButton onPress={closeModal} testID='closeBtn'>
+ <Link
+ UNSAFE_style={styles.headerIcon}
+ onPress={closeModal}
+ testID='closeBtn'>
<CloseIcon size='medium' />
- </LinkButton>
+ </Link>
</View>
<View style={styles.body}>
<FormGroup>
@@ -61,7 +64,7 @@ export const ShiftSwitcherModal = ({
onPress={() => setPickedShift(shift)}
label={
shift.shiftName
- ? `${t('rosterScreen.shiftChip.shiftName')}${shift.shiftName}`
+ ? shift.shiftName
: t('rosterScreen.shiftChip.allShifts')
}
/>
--- src/components/ShiftSwitcherModal/styles.ts
@@ -1,5 +1,5 @@
import {colors} from '@walmart/gtp-shared-components';
-import {StyleSheet, Dimensions} from 'react-native';
+import {StyleSheet, Dimensions, Platform} from 'react-native';
export const ShiftSwitcherModalStyles = StyleSheet.create({
container: {
@@ -23,6 +23,9 @@ export const ShiftSwitcherModalStyles = StyleSheet.create({
fontSize: 20,
fontFamily: 'Bogle-Bold',
},
+ headerIcon: {
+ marginTop: Platform.OS === 'android' ? -10 : 0,
+ },
body: {
display: 'flex',
flex: 1,
--- src/screens/AllTeamsScreen/AllTeamsScreen.tsx
@@ -124,7 +124,13 @@ export const AllTeamsScreen = () => {
teamName={item.teamName}
teamId={item.teamId}
isLastListItem={index === section.data.length - 1}
- subText={item.workareaName}
+ subText={
+ showClockInCount
+ ? t('rosterScreen.teamListItem.clockedIn', {
+ count: item.mewClockedInCount,
+ })
+ : undefined
+ }
iconType='navArrow'
handlePress={() => {
const {teamId, teamName} = item;
--- src/translations/en-US.ts
@@ -19,8 +19,8 @@ export const enUS = {
shiftChip: {
shift: 'Shifts',
shiftName: 'Shift ',
- allShifts: 'All Shifts',
- modalTitle: 'Select Shift',
+ allShifts: 'All shifts',
+ modalTitle: 'Select shift',
saveBtn: 'Save',
},
statusChips: {
--- src/translations/es-MX.ts
@@ -20,7 +20,7 @@ export const esMX = {
shift: 'Cambios',
shiftName: 'Turno ',
allShifts: 'Todos los turnos',
- modalTitle: 'Seleccione Mayús',
+ modalTitle: 'Seleccione mayús',
saveBtn: 'Salvar',
},
statusChips: {
| fix: fix UI issues from demo | fix: fix UI issues from demo
|
ce038b6f395db92cef7c8336593340ae6a344f86 | --- scripts/runWithVariablePrompt.ts
@@ -76,37 +76,63 @@ const bootIOSDevice = async (
const deviceList = execSync('xcrun simctl list devices').toString();
const isBooted = deviceList.includes(`${deviceName} (Booted)`);
- if (isBooted) {
- console.log(
- 'Device is already booted, ensuring Simulator app is open...',
- );
- execSync(`open -a Simulator --args -CurrentDeviceUDID "${deviceId}"`);
- await new Promise(resolve => setTimeout(resolve, 3000));
- } else {
+ // First, ensure the device is booted
+ if (!isBooted) {
console.log(`Booting iOS simulator: ${deviceName}`);
-
- // Boot the specific device rather than closing all simulators
try {
- // Try to boot the specific device
execSync(`xcrun simctl boot "${deviceId}" 2>/dev/null || true`);
console.log(`Successfully issued boot command for ${deviceName}`);
+ // Give a moment for the boot process to start
+ await new Promise(resolve => setTimeout(resolve, 1000));
} catch (error) {
console.error(`Error booting simulator: ${error}`);
console.log('Attempting to continue...');
}
+ } else {
+ console.log(`Device ${deviceName} is already booted`);
+ }
+
+ // For multi-device debugging, create a separate window for each simulator
+ console.log('Creating unique instance for this simulator...');
+
+ try {
+ // Make sure the device is fully booted first
+ console.log(`Ensuring device ${deviceId} is booted...`);
+ execSync(`xcrun simctl boot "${deviceId}" 2>/dev/null || true`);
+
+ // Important: Use the -n flag to open a NEW instance of the simulator app
+ console.log(`Opening new Simulator window for device ${deviceName}...`);
+ execSync(`open -n -a Simulator --args -CurrentDeviceUDID "${deviceId}"`);
- // Open simulator app with the specific device
- console.log('Opening Simulator app with the selected device...');
- execSync(`open -a Simulator --args -CurrentDeviceUDID "${deviceId}"`);
+ // For multi-simulator setups, explicitly set this device as the front-most device
+ console.log('Setting this device as the active simulator...');
+ execSync(`xcrun simctl bootstatus "${deviceId}" -b`); // Wait for boot completion
+ execSync(`xcrun simctl ui "${deviceId}" appearance show`); // Focus the UI
- // Give initial time for Simulator app to launch
- console.log('Waiting for Simulator app to launch...');
+ // Give time for the Simulator to fully launch and get focus
+ console.log('Waiting for Simulator to initialize...');
await new Promise(resolve => setTimeout(resolve, 3000));
+ } catch (error) {
+ console.error(`Error creating simulator window: ${error}`);
+
+ try {
+ // Fallback method with explicit device selection
+ console.log('Trying fallback method to open simulator...');
+ execSync(`xcrun simctl boot "${deviceId}"`);
+ execSync(`open -a Simulator --args -CurrentDeviceUDID "${deviceId}"`);
+ await new Promise(resolve => setTimeout(resolve, 2000));
+ } catch (innerError) {
+ console.error(`Fallback also failed: ${innerError}`);
+ }
}
- // Ensure the Simulator app is in foreground with the correct device
- console.log('Bringing Simulator to front with selected device...');
- execSync(`open -a Simulator --args -CurrentDeviceUDID "${deviceId}"`);
+ // Verify the device is booted
+ const updatedDeviceList = execSync('xcrun simctl list devices').toString();
+ if (updatedDeviceList.includes(`${deviceName} (Booted)`)) {
+ console.log(`✅ Successfully booted simulator: ${deviceName}`);
+ } else {
+ console.warn(`⚠️ Could not verify that ${deviceName} is booted`);
+ }
} catch (error) {
console.error('Error during iOS device boot process:', error);
// Don't throw the error - we'll try to continue anyway
@@ -660,25 +686,36 @@ inquirer
if (device.platform === 'ios') {
console.log(`Using iOS device: ${device.name} (${device.id})`);
- // Set iOS device environment variables
+ // Set iOS device environment variables with additional specificity
env.EXPO_SIMULATOR_DEVICE_TYPE = device.name;
env.EXPO_SIMULATOR_ID = device.id;
// Configure custom Metro port if specified (for running multiple instances)
env.RCT_METRO_PORT = finalMetroPort.toString();
+ env.REACT_NATIVE_PACKAGER_PORT = finalMetroPort.toString(); // Additional port setting
+ env.EXPO_PORT = finalMetroPort.toString(); // Explicit Expo port
console.log(`Configuring Metro bundler to use port: ${finalMetroPort}`);
- // For React Native CLI compatibility
+ // For React Native CLI and Expo compatibility - add all possible env vars
env.RCT_SIMULATOR_DEVICE_TYPE = device.name;
env.RCT_SIMULATOR_ID = device.id;
+ env.SIMULATOR_UDID = device.id; // Additional device ID reference
+ env.SIMULATOR_DEVICE_UDID = device.id; // Additional device ID reference
+ env.TARGET_DEVICE_UDID = device.id; // Used by some RN commands
// Handle the iOS device/simulator for the command
if (!device.isPhysical) {
// For Simulator: Boot it first
await bootIOSDevice(device.id, device.name.split(' [')[0]); // Pass just the name part
- // DO NOT add command line flags to Expo CLI as they cause errors
- // We'll rely on the environment variables we set instead
+ // Add device flag to iOS commands if applicable
+ if (commandToRun.includes('expo run:ios')) {
+ finalCommand += ` --device='${device.id}'`;
+ console.log('Adding explicit --device flag to target this specific simulator');
+ } else if (commandToRun.includes('npx react-native run-ios')) {
+ finalCommand += ` --udid='${device.id}'`;
+ console.log('Adding explicit --udid flag to target this specific simulator');
+ }
} else {
console.log(`Using physical iOS device: ${device.name}`);
// For physical devices, we simply let Expo use the connected device
@@ -775,6 +812,10 @@ inquirer
? {
EXPO_SIMULATOR_DEVICE_TYPE: device.name,
EXPO_SIMULATOR_ID: device.id,
+ SIMULATOR_UDID: device.id,
+ TARGET_DEVICE_UDID: device.id,
+ EXPO_PORT: finalMetroPort,
+ REACT_NATIVE_PACKAGER_PORT: finalMetroPort,
}
: device && device.platform === 'android'
? {EXPO_ANDROID_DEVICE: device.id}
| feat(ui): update scripts | feat(ui): update scripts
|
2bc292b9a10021b6046b3b52d61ce322afab543d | --- src/screens/ChannelsScreen.tsx
@@ -1,7 +1,7 @@
import React from 'react';
import { View, Text } from 'react-native';
-export const RosterScreen = () => {
+export const ChannelsScreen = () => {
return (
<View>
<Text>Placeholder For Channels Screen Integration</Text>
--- src/screens/TabsScreen.tsx
@@ -8,6 +8,7 @@ import {RosterScreen} from './RosterScreen';
import {useTranslation} from 'react-i18next';
import {TEXTING_I18N_NAMESPACE} from '../translations';
import {WarningBanner} from '../containers/WarningBanner';
+import {ChannelsScreen} from "./ChannelsScreen";
type TabsScreenProps = {
navigation: StackNavigationProp<TextingNavParamsMap, 'myTeam.tabs'>;
| update screens | update screens
|
e02409e92923dd21a7919c6e5e6606ef21f4d8eb | --- package-lock.json
@@ -39,7 +39,7 @@
"@walmart/attendance-mini-app": "0.190.2",
"@walmart/compass-sdk-rn": "4.0.0",
"@walmart/config-components": "4.1.0-rc.4",
- "@walmart/copilot-mini-app": "1.74.9",
+ "@walmart/copilot-mini-app": "^1.77.0",
"@walmart/core-services": "~2.0.19",
"@walmart/core-services-allspark": "~2.11.0",
"@walmart/core-utils": "~2.0.5",
@@ -4935,9 +4935,9 @@
}
},
"node_modules/@walmart/copilot-mini-app": {
- "version": "1.74.9",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.74.9.tgz",
- "integrity": "sha512-AymGhGICCvXzS8RKTwAVvezWahILIiWyS2l4T/OwCUmdN0pG5vaGhMe5jRWKF/Lu6LFAkr0DkEgHoBFmWNIXog==",
+ "version": "1.77.0",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.77.0.tgz",
+ "integrity": "sha512-KhBE7CFDMfajMAMSK4XQZmM4TjiYMfOipwRcJVmYHuflZoL4n6/ost/RhFby8XpYfb0jzhMdv1rbEfSc+EYcjg==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -25130,9 +25130,9 @@
}
},
"@walmart/copilot-mini-app": {
- "version": "1.74.9",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.74.9.tgz",
- "integrity": "sha512-AymGhGICCvXzS8RKTwAVvezWahILIiWyS2l4T/OwCUmdN0pG5vaGhMe5jRWKF/Lu6LFAkr0DkEgHoBFmWNIXog=="
+ "version": "1.77.0",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.77.0.tgz",
+ "integrity": "sha512-KhBE7CFDMfajMAMSK4XQZmM4TjiYMfOipwRcJVmYHuflZoL4n6/ost/RhFby8XpYfb0jzhMdv1rbEfSc+EYcjg=="
},
"@walmart/core-services": {
"version": "2.0.19",
--- package.json
@@ -81,7 +81,7 @@
"@walmart/attendance-mini-app": "0.190.2",
"@walmart/compass-sdk-rn": "4.0.0",
"@walmart/config-components": "4.1.0-rc.4",
- "@walmart/copilot-mini-app": "1.74.9",
+ "@walmart/copilot-mini-app": "1.77.0",
"@walmart/core-services": "~2.0.19",
"@walmart/core-services-allspark": "~2.11.0",
"@walmart/core-utils": "~2.0.5",
| chore: bump copilot 1.77.0 | chore: bump copilot 1.77.0
|
821781b8a9d56de172ffbdbd2c3c6a4f5c57215e | --- src/home/components/TaskCard/TaskClockStatusStoreCard.tsx
@@ -71,7 +71,7 @@ export const TaskClockStatusStoreCard = (props: TaskCardProps) => {
const navigateToTeamView = () => {
logWMTelemetryTouchComponentEvent('task_view_roster');
- navigation.navigate('myTeam');
+ navigation.navigate('roster');
};
return (
--- src/home/components/TaskCard/TaskClockStatusTeamCard2.tsx
@@ -92,7 +92,7 @@ export const TaskClockStatusTeamCard2 = (props: TaskCardProps) => {
const navigateToTeamView = () => {
logWMTelemetryTouchComponentEvent('task_view_roster');
- navigation.navigate('myTeam');
+ navigation.navigate('roster');
};
return (
--- src/navigation/AssociateHallwayNav/types.ts
@@ -182,6 +182,7 @@ export type HomeStackMap = {
'metrics.wagesMarketDrilldown': undefined;
scheduleScreen: undefined;
torInbox: undefined;
+ roster: undefined;
};
// The type of screen props for a home stack screen, passed to the screen component as props
| Update the view roster navigation | Update the view roster navigation
|
30b0966b9b996e43fdf1bb50d116e03619d1ec64 | --- packages/allspark-authentication/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.
+## [7.1.3](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/allspark-authentication@7.1.2...@walmart/allspark-authentication@7.1.3) (2025-11-24)
+
+**Note:** Version bump only for package @walmart/allspark-authentication
+
## [7.1.2](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/allspark-authentication@7.1.1...@walmart/allspark-authentication@7.1.2) (2025-11-12)
**Note:** Version bump only for package @walmart/allspark-authentication
--- packages/allspark-authentication/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-authentication",
- "version": "7.1.2",
+ "version": "7.1.3",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-authentication@7.1.3
|
60f45444ba75f14c1c278994233de7e23aaaf9a7 | --- src/Translations/locales/en-US.json
@@ -182,12 +182,12 @@
"modalMessage": "{{appName}} can use $t({{biometric}}) to confirm your identity?",
"modalTitle": "Would you like to enable $t({{biometric}})?",
"modalTitleWhatsNew": "What's new in {{appName}}",
- "myTeam.clockedOutRestrictions": "Some restrictions may apply.",
- "myTeam.clockedOutRestrictionsAction": "Learn more.",
- "myTeam.clockedOutRestrictionsDescription": "To access this content, you must be clocked in. In addition, the following states also require that you use a company-issued Samsung Galaxy XCover Pro or Pixel 8 device: nCalifornia, District of Columbia, Illinois, Montana, New Hampshire, North Dakota, and South Dakota.",
+ "myTeam.clockedOutRestrictions": "Content restricted",
+ "myTeam.clockedOutRestrictionsAction": "Learn more",
+ "myTeam.clockedOutRestrictionsDescription": "In addition to being clocked in, the following states also require that you use a company-issued Samsung Galaxy XCover Pro or Pixel 8 device: \n\n California, District of Columbia, Illinois, Montana, New Hampshire, North Dakota, and South Dakota.",
"myTeam.clockedOutRestrictionsTitle": "Content restrictions",
- "myTeam.clockedOutSubtitle": "You must be clocked in to access more information about your team.",
- "myTeam.clockedOutTitle": "Clock in required",
+ "myTeam.clockedOutSubtitle": "To access this content, you must be clocked in. In addition, some states also require that you use a company-issued device.",
+ "myTeam.clockedOutTitle": "Content restricted",
"myTeam.tabAccessibilityLabel": "My team",
"myTeam.tabTitle": "My team",
"navigation.askSam": "Sidekick",
| feat(translation): clock out copy update | feat(translation): clock out copy update
|
7ababab9cfc362e4bda5e99b2afdf9a98a816b85 | --- packages/allspark-foundation/__tests__/Site/selectors.test.tsx
@@ -53,6 +53,19 @@ describe('Address and Location Functions', () => {
latitude: 37.7749,
longitude: -122.4194,
});
+
+ it('should return false if divisionCode does not match one of DC_DIVISION_CODES', () =>{
+ expect(divisionIsDC('1')).toBe(false);
+ expect(divisionIsDC(undefined)).toBe(false);
+ })
+
+ // Tests for divisionIsDC
+ it('should return true if divisionCode matches one of DC_DIVISION_CODES', () => {
+ expect(divisionIsDC('7')).toBe(true);
+ expect(divisionIsDC('3')).toBe(true);
+ expect(divisionIsDC('13')).toBe(true);
+ expect(divisionIsDC('44')).toBe(true);
+ })
});
// Tests for divisionIsStore
--- packages/allspark-foundation/src/Site/selectors.ts
@@ -166,9 +166,9 @@ export const createCoordinates = (location?: Location) => {
}
: undefined;
};
-const DC_DIVISION_CODE = '7';
+const DC_DIVISION_CODES = ['3', '7', '13', '44'];
export const divisionIsDC = (divisionCode?: string) =>
- divisionCode === DC_DIVISION_CODE;
+ divisionCode ? DC_DIVISION_CODES.includes(divisionCode as string) : false;
const STORE_DIVISION_CODE = '1';
export const divisionIsStore = (divisionCode?: string) =>
| feat: update isDC selector for new DC division scope. | feat: update isDC selector for new DC division scope.
|
c6f68f1092125534e7f6b1822ff42244ae745e58 | --- packages/allspark-foundation/src/User/devtools/ImpersonationPlugin.ts
@@ -27,7 +27,12 @@ export class ImpersonationPlugin extends DeveloperMenuPluginBase {
},
],
setup: async () => {
- checkPreviousImpersonation();
+ ReduxModule.manager.startListening({
+ // @ts-ignore - Type not recognized for some reason
+ type: UserActionTypes.FETCH_SUCCESS,
+ // @ts-ignore - Action typibng not aligning
+ effect: checkPreviousImpersonation,
+ });
ReduxModule.manager.startListening({
// @ts-ignore - Type not recognized for some reason
@@ -37,6 +42,12 @@ export class ImpersonationPlugin extends DeveloperMenuPluginBase {
});
},
cleanup: async () => {
+ ReduxModule.manager.stopListening({
+ // @ts-ignore - Type not recognized for some reason
+ type: UserActionTypes.FETCH_SUCCESS,
+ // @ts-ignore - Action typibng not aligning
+ effect: checkPreviousImpersonation,
+ })
ReduxModule.manager.stopListening({
// @ts-ignore - Type not recognized for some reason
type: UserActionTypes.UPDATE,
--- packages/allspark-foundation/src/User/devtools/utils.ts
@@ -16,6 +16,8 @@ import {
* Checks if there was a previous impersonation session and restores it.
*/
export async function checkPreviousImpersonation() {
+ if(ReduxModule.manager.select(UserSelectors.getImpersonated)) return;
+
const impersonatingUser: string | null = await getImpersonationCache();
if (impersonatingUser) {
| fix(ALLSPARK-7244): impersonation sign in loop fix (#489) | fix(ALLSPARK-7244): impersonation sign in loop fix (#489)
* fix: ALLSPARK-7244 impersonation sign in loop fix
* fix: impersonate ONLY ONCE
* fix: lint |
452db920fbe770e835219e1bd2f6f8364340674d | --- packages/allspark-foundation/src/Navigation/client.tsx
@@ -16,6 +16,7 @@ import {
RouterConfigOptions,
useNavigationBuilder,
createNavigatorFactory,
+ TypedNavigator,
} from '@react-navigation/native';
import { StackView } from '@react-navigation/stack';
@@ -565,7 +566,7 @@ export class NavigationClient<
/**
* Creates StackNavigator connected to AllsparkNavigationClient.
*/
- public createAllsparkStackNavigator = () => {
+ public createAllsparkStackNavigator = <ParamList extends ParamListBase>() => {
const AllsparkStackRouter = (options: StackRouterOptions) => {
const router = StackRouter(options);
@@ -624,7 +625,7 @@ export class NavigationClient<
);
};
- return createNavigatorFactory(AllsparkStackNavigator);
+ return createNavigatorFactory(AllsparkStackNavigator)<ParamList>();
};
}
| fix: allspark navigation stack not passing param list types through properly | fix: allspark navigation stack not passing param list types through properly
|
f0bdee529d31769ebf3ba1db1d613c0a060e7a4c | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Components/TeamShiftSwitcher/TeamShiftSwitcher.tsx
@@ -107,7 +107,7 @@ export const TeamShiftSwitcher = ({
accessibilityLabel={accessibilityLabel}
testID='team-and-shift-text'
>
- {teamAndShiftText || fullTeamAndShiftText}
+ {fullTeamAndShiftText || teamAndShiftText}
</Body>
{allSavedTeams && (
<Body
| Adding TeamShiftSwitcher changes | Adding TeamShiftSwitcher changes
|
dcd24ec5d2137cec0ac9be41101d7bf563153160 | --- plugins/withGradleExtVars.ts
@@ -28,7 +28,7 @@ const withGradleExtVars: ConfigPlugin<GradleExtProps> = (config, props) => {
props
);
- for (const [key, value] of Object.entries(props.ext)) {
+ for (let [key, value] of Object.entries(props.ext)) {
if (typeof value === 'boolean' || typeof value === 'number') {
newSrc.push(`\t\t${key} = ${value}`);
} else {
| feat(ui): remove gradle change | feat(ui): remove gradle change
|
63768d0d48816720b4dee9a15505e9094c00a264 | --- package-lock.json
@@ -4225,9 +4225,9 @@
}
},
"@walmart/allspark-home-mini-app": {
- "version": "0.5.33",
- "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.5.33.tgz",
- "integrity": "sha512-aMEfWDoXxnwCoGoyKxmuuGyQgq38hpFFXxeg7iPXbr/sw0lOHby3BzhMEVQkVF3/O6IH8Cu/IB+xB/dVcqHeCg==",
+ "version": "0.5.34",
+ "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.5.34.tgz",
+ "integrity": "sha512-0+tzF+vMowiRloct0zsnJwXt3crawbzWBznECQqDAYZ72yM+V19hp0NB2VRAhHG1FzI7wO3QTcQtGPIPLeEL/g==",
"requires": {
"moment": "^2.29.0",
"uuid": "^8.3.1"
@@ -4378,9 +4378,9 @@
"integrity": "sha512-/cEqGwnlQpRipCJpMhP+9ekHx+/vbfEYftcGkLvS0HVpRAA1adwsxf1mDpfmqQRrwMidRVfuJ+rJJr45KxnOTQ=="
},
"@walmart/metrics-mini-app": {
- "version": "0.7.68",
- "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.7.68.tgz",
- "integrity": "sha512-WZ5CqMikJmwu+gXkZYirQECfWfn8yQ7IQUFm4OwUSNYFYpWuYBEFfBO7AElfI5+Vd2o4y+mm41ntKaKkDOrx7g==",
+ "version": "0.8.1",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.8.1.tgz",
+ "integrity": "sha512-vD4Fn33C92TziHPjkP6P5K49I7D4j/qLyrB0alDy/TgkfBNeE+gmHUOHl58YgUcfYwSDcTAlqcTjbAXF/lPvEw==",
"requires": {
"@types/base-64": "^1.0.0",
"apisauce": "1.1.2",
@@ -4459,7 +4459,7 @@
"@walmart/react-native-collapsible": {
"version": "1.5.3",
"resolved": "https://npme.walmart.com/@walmart/react-native-collapsible/-/react-native-collapsible-1.5.3.tgz",
- "integrity": "sha1-XoOvTwTbUqaib/9Ii//qp9yNBQk=",
+ "integrity": "sha512-A/eHjceqHN2FJVaimSrKO/wIHgP5ymIoiyTMRa10ce8NZ7ejhPelIkCqzwjvQ328HG38y7HPelvu/6xlsiFlUQ==",
"requires": {
"prop-types": "^15.6.2"
}
@@ -9434,7 +9434,7 @@
"indent-string": {
"version": "3.2.0",
"resolved": "https://npme.walmart.com/indent-string/-/indent-string-3.2.0.tgz",
- "integrity": "sha512-BYqTHXTGUIvg7t1r4sJNKcbDZkL92nkXA8YtRpbjFHRHGDL/NtUeiBJMeE60kIFN/Mg8ESaWQvftaYMGJzQZCQ==",
+ "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=",
"dev": true
},
"inflight": {
@@ -19574,7 +19574,7 @@
"squiggly-localization": {
"version": "0.0.2",
"resolved": "https://npme.walmart.com/squiggly-localization/-/squiggly-localization-0.0.2.tgz",
- "integrity": "sha1-3ksz5Io53VPnUBiRSVDpxDaSGHU="
+ "integrity": "sha512-9j/XUl0XvLk5wksN/nhOcRHmHesVHopX7v3Z1Hv398/656CLarKW0FAqL28zjKO68YH566s8PM1gflrAayBuMA=="
},
"sshpk": {
"version": "1.16.1",
@@ -21105,7 +21105,7 @@
"wm-react-native-vector-icons": {
"version": "1.0.33",
"resolved": "https://npme.walmart.com/wm-react-native-vector-icons/-/wm-react-native-vector-icons-1.0.33.tgz",
- "integrity": "sha1-vIAL0WOWBBaAsIuacYHnzsxTQxk=",
+ "integrity": "sha512-pAcEq6iOVxzKM55qucKOkh2ML3kii4yGJ5YdmMEOcRAGH4fQ1lHa7BETIl+jzX5n1ZVKgWkzmAiH3vw0nkuklQ==",
"requires": {
"lodash": "^4.0.0",
"prop-types": "^15.6.2",
--- package.json
@@ -71,7 +71,7 @@
"@sharcoux/slider": "^5.2.1",
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@walmart/allspark-health-survey-mini-app": "0.0.44",
- "@walmart/allspark-home-mini-app": "0.5.33",
+ "@walmart/allspark-home-mini-app": "0.5.34",
"@walmart/allspark-neon-core": "0.1.26",
"@walmart/ask-sam-mini-app": "0.41.7",
"@walmart/config-components": "3.0.2",
@@ -86,7 +86,7 @@
"@walmart/inbox-mini-app": "0.37.0",
"@walmart/iteminfo-mini-app": "4.2.3",
"@walmart/manager-approvals-miniapp": "0.0.60",
- "@walmart/metrics-mini-app": "0.7.68",
+ "@walmart/metrics-mini-app": "0.8.1",
"@walmart/moment-walmart": "1.0.4",
"@walmart/payrollsolution_miniapp": "0.121.0",
"@walmart/price-changes-mini-app": "1.2.3",
| Adding spanish translations to Metrics and react native 67 | Adding spanish translations to Metrics and react native 67
|
0305084a7c75d0f0b8165f332b0a2e5c741c659d | --- targets/US/__tests__/navigation/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap
@@ -92,6 +92,11 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
name="RfidScan"
options={{}}
/>
+ <Screen
+ component={[Function]}
+ name="Shop GNFR"
+ options={{}}
+ />
<Screen
component="InboxMiniApp"
name="inbox"
@@ -388,6 +393,11 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
name="RfidScan"
options={{}}
/>
+ <Screen
+ component={[Function]}
+ name="Shop GNFR"
+ options={{}}
+ />
<Screen
component="InboxMiniApp"
name="inbox"
--- 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.30",
+ "@walmart/shop-gnfr-mini-app": "1.0.47",
"@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.30"
+ "@walmart/shop-gnfr-mini-app": "npm:1.0.47"
"@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.30":
- version: 1.0.30
- resolution: "@walmart/shop-gnfr-mini-app@npm:1.0.30"
+"@walmart/shop-gnfr-mini-app@npm:1.0.47":
+ version: 1.0.47
+ resolution: "@walmart/shop-gnfr-mini-app@npm:1.0.47"
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/4fce7091579a1eae723566c25f976874610d5ec5c4e126a6a51d29a146ec8b84a5a5c958cfe3eca277fab128918456edc603fceb9634c81ca0f00f0d692bc7e4
+ checksum: 10c0/6adff0f6206420c8818596febc2279cbb67ea5dcf2be49ff43cc844bf478d87d81bf3636862b77d33fd88cc2a342c58d4283f8bb1f26d30c2fb69f702595efe2
languageName: node
linkType: hard
| version bump and added test cases | version bump and added test cases
|
615e16bd02aece3814141158b93333d9921b30c1 | --- packages/allspark-graphql-client/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.4.10](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-graphql-client@1.4.9...@walmart/allspark-graphql-client@1.4.10) (2023-06-28)
+
+**Note:** Version bump only for package @walmart/allspark-graphql-client
+
+
+
+
+
## [1.4.9](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-graphql-client@1.4.8...@walmart/allspark-graphql-client@1.4.9) (2023-06-21)
**Note:** Version bump only for package @walmart/allspark-graphql-client
--- packages/allspark-graphql-client/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-graphql-client",
- "version": "1.4.9",
+ "version": "1.4.10",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- packages/allspark-graphql-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-graphql-client",
- "version": "1.4.9",
+ "version": "1.4.10",
"description": "> TODO: description",
"license": "ISC",
"main": "lib/index.js",
@@ -33,7 +33,7 @@
"dependencies": {
"@apollo/client": "^3.7.3",
"@lifeomic/axios-fetch": "3.0.1",
- "@walmart/allspark-http-client": "^2.4.16",
+ "@walmart/allspark-http-client": "^2.4.17",
"crypto-js": "~4.1.1",
"graphql": "^16.6.0"
},
--- packages/allspark-http-client/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.4.17](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-http-client@2.4.16...@walmart/allspark-http-client@2.4.17) (2023-06-28)
+
+**Note:** Version bump only for package @walmart/allspark-http-client
+
+
+
+
+
## [2.4.16](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-http-client@2.4.15...@walmart/allspark-http-client@2.4.16) (2023-06-21)
--- packages/allspark-http-client/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-http-client",
- "version": "2.4.16",
+ "version": "2.4.17",
"lockfileVersion": 2,
"requires": true,
"packages": {
--- packages/allspark-http-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-http-client",
- "version": "2.4.16",
+ "version": "2.4.17",
"description": "",
"author": "rlane1 <russell.lane@walmart.com>",
"license": "ISC",
--- packages/core-services-allspark/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.10.19](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@2.10.18...@walmart/core-services-allspark@2.10.19) (2023-06-28)
+
+**Note:** Version bump only for package @walmart/core-services-allspark
+
+
+
+
+
## [2.10.18](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@2.10.17...@walmart/core-services-allspark@2.10.18) (2023-06-21)
**Note:** Version bump only for package @walmart/core-services-allspark
--- packages/core-services-allspark/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "2.10.18",
+ "version": "2.10.19",
"lockfileVersion": 1,
"requires": true,
"packages": {
--- packages/core-services-allspark/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "2.10.18",
+ "version": "2.10.19",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -23,11 +23,11 @@
"author": "",
"license": "ISC",
"dependencies": {
- "@walmart/allspark-graphql-client": "^1.4.9",
- "@walmart/allspark-http-client": "^2.4.16",
+ "@walmart/allspark-graphql-client": "^1.4.10",
+ "@walmart/allspark-http-client": "^2.4.17",
"@walmart/allspark-utils": "^1.6.1",
- "@walmart/core-services": "^2.0.22",
- "@walmart/me-at-walmart-athena-queries": "^1.3.10",
+ "@walmart/core-services": "^2.0.23",
+ "@walmart/me-at-walmart-athena-queries": "^1.3.11",
"crypto-js": "~4.1.1",
"jwt-decode": "^3.1.2",
"luxon": "^2.4.0",
--- packages/core-services/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.0.23](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services@2.0.22...@walmart/core-services@2.0.23) (2023-06-28)
+
+**Note:** Version bump only for package @walmart/core-services
+
+
+
+
+
## [2.0.22](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services@2.0.21...@walmart/core-services@2.0.22) (2023-06-21)
**Note:** Version bump only for package @walmart/core-services
--- packages/core-services/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services",
- "version": "2.0.22",
+ "version": "2.0.23",
"lockfileVersion": 2,
"requires": true,
"packages": {
--- packages/core-services/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services",
- "version": "2.0.22",
+ "version": "2.0.23",
"description": "",
"main": "index.js",
"types": "index.d.ts",
@@ -19,7 +19,7 @@
"author": "",
"license": "ISC",
"dependencies": {
- "@walmart/allspark-http-client": "^2.4.16",
+ "@walmart/allspark-http-client": "^2.4.17",
"@walmart/allspark-utils": "^1.6.1",
"@walmart/redux-store": "~3.1.4",
"reduxsauce": "^1.2.1",
--- packages/me-at-walmart-athena-queries/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.3.11](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@1.3.10...@walmart/me-at-walmart-athena-queries@1.3.11) (2023-06-28)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-athena-queries
+
+
+
+
+
## [1.3.10](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@1.3.9...@walmart/me-at-walmart-athena-queries@1.3.10) (2023-06-21)
**Note:** Version bump only for package @walmart/me-at-walmart-athena-queries
--- packages/me-at-walmart-athena-queries/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-athena-queries",
- "version": "1.3.10",
+ "version": "1.3.11",
"description": "> TODO: description",
"author": "rlane1 <russell.lane@walmart.com>",
"homepage": "",
@@ -26,6 +26,6 @@
"clean": "rm -rf lib/ || true"
},
"dependencies": {
- "@walmart/allspark-graphql-client": "^1.4.9"
+ "@walmart/allspark-graphql-client": "^1.4.10"
}
}
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-graphql-client@1.4.10
- @walmart/allspark-http-client@2.4.17
- @walmart/core-services@2.0.23
- @walmart/core-services-allspark@2.10.19
- @walmart/me-at-walmart-athena-queries@1.3.11
|
952a447c969088dd3d5f0a393476ebcb1cbff38e | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Utils/utils.ts
@@ -4,17 +4,17 @@ export const NO_SORT = 0;
/**
*
- * @param ObjA
- * @param ObjB
+ * @param objA
+ * @param objB
* @param key - values will be compared based on passed in key (key must be keyof ObjA)
* @returns
*/
-export const customSorter = <T>(objA: T, ObjB: T, key: keyof T): number => {
- if (objA[key] && ObjB[key]) {
- if (objA[key] > ObjB[key]) {
+export const customSorter = <T>(objA: T, objB: T, key: keyof T): number => {
+ if (objA[key] && objB[key]) {
+ if (objA[key] > objB[key]) {
return DESC_SORT;
- } else if (objA[key] < ObjB[key]) {
+ } else if (objA[key] < objB[key]) {
return ASC_SORT;
} else {
return NO_SORT;
| feat(ui): renamed params | feat(ui): renamed params
|
8aaa341e71ca0cafd74760d5bbe77560b63b8b31 | --- src/components/AssociateRosterItem/style.ts
@@ -41,4 +41,7 @@ export const styles = StyleSheet.create({
},
buttonsStyle: {flexDirection: 'row', alignItems: 'center'},
pushToTalkBtn: {marginRight: 8},
+ actionButtonSpacing: {
+ marginHorizontal: 4,
+ }
});
--- src/components/Roster/AssociateListItem.tsx
@@ -49,7 +49,7 @@ export const AssociateListItem: React.FC<AssociateListItemProps> = React.memo(
);
const shouldShowStatusChipAndWeeklySchedule: boolean =
useRbacConfigWithJobCode();
- const userIsInRoster = useUserIsInRoster(); //TODO: Move this out of the list item and into the roster component
+ const userIsInRoster = useUserIsInRoster();
const encryptedId = encryptUserId(associate?.win?.toString() ?? '');
const associateName = namecase(
@@ -94,7 +94,7 @@ export const AssociateListItem: React.FC<AssociateListItemProps> = React.memo(
return (
<Button
variant={'secondary'}
- UNSAFE_style={{marginHorizontal: 4}}
+ UNSAFE_style={styles.actionButtonSpacing}
onPress={actionButton.action}
size={'small'}
disabled={!userIsInRoster}
--- src/components/Roster/Roster.tsx
@@ -7,7 +7,11 @@ import {
import {View} from 'react-native';
import {styles} from './styles';
import {FlashList, ListRenderItem} from '@shopify/flash-list';
-import {useDailyRoster} from '../../hooks';
+import {
+ useDailyRoster,
+ useSiteTranslationContext,
+ useUserIsInRoster,
+} from '../../hooks';
import {isNil} from 'lodash';
import {sortedAssociateList} from '../../utils';
import {useSelector} from 'react-redux';
@@ -15,6 +19,10 @@ import {teamLeadJobDescriptions} from '../../redux/selectors';
import {logger} from '../../logger/Logger';
import {AssociateListItem} from './AssociateListItem';
import {filterAssociatesBySearchInput} from './search';
+import {Alert} from '@walmart/gtp-shared-components';
+import {useTranslation} from 'react-i18next';
+import {ROSTER_I18N_NAMESPACE} from '../../translations';
+import {UserSelectors} from '@walmart/redux-store';
//TODO: States to verify: No Data, Loading, Error (identify all types of errors), Success
export const Roster: React.FC<RosterProps> = (props) => {
@@ -29,12 +37,16 @@ export const Roster: React.FC<RosterProps> = (props) => {
const shouldSkipQuery = !isNil(rosterDataOverride);
const [associates, setAssociates] = useState<AssociateRosterItem[]>([]);
const [isRefreshing, setIsRefreshing] = useState(false);
+ const currentUserSite: string = useSelector(UserSelectors.getUserSite);
+ const userIsInRoster = useUserIsInRoster();
const {
loading: loadingDailyRoster = false,
data: getDailyRosterResponse = null,
error: rosterDataFetchError = null,
- refetch: refetchDailyRoster, //TODO: Use for pullToRefresh, need equiv callback for data override
+ refetch: refetchDailyRoster,
} = useDailyRoster(shouldSkipQuery);
+ const {t} = useTranslation([ROSTER_I18N_NAMESPACE]);
+ const siteTranslationContext = useSiteTranslationContext();
//TODO: teamLeads should not be controlled by CCM. This list should be controlled bt RBAC. Reconsider impl for teamLead check
const teamLeads = useSelector(teamLeadJobDescriptions) as string[];
@@ -110,6 +122,18 @@ export const Roster: React.FC<RosterProps> = (props) => {
return (
<View style={styles.screen}>
<FlashList
+ ListHeaderComponent={
+ <>
+ {!loadingDailyRoster && !userIsInRoster && (
+ <Alert variant='warning' UNSAFE_style={styles.error}>
+ {t('rosterScreen.notInRoster', {
+ siteId: currentUserSite,
+ context: siteTranslationContext,
+ })}
+ </Alert>
+ )}
+ </>
+ }
data={associates}
renderItem={renderAssociateRosterItem}
refreshing={loadingDailyRoster}
--- src/components/Roster/styles.ts
@@ -21,5 +21,5 @@ export const styles = StyleSheet.create({
emptyState: {
marginTop: 24,
alignItems: 'center',
- },
+ }
});
--- src/hooks/user.ts
@@ -64,8 +64,7 @@ export const useTextingFeatureEnabled = () => {
export const useSiteTranslationContext = () => {
const isSiteDC = useSelector(SiteSelectors.isSiteDistributionCenter);
- const context = isSiteDC ? 'site' : 'store';
- return context;
+ return isSiteDC ? 'site' : 'store';
};
export const useTotalSiteOrTotalStore = (): string => {
| adding alert component | adding alert component
|
b075a0ddc19cacea5684cbabf0c935d968513171 | --- src/queries/getTeamsbyStore.graphql
@@ -11,4 +11,4 @@ query GetTeamsByStore($countryCode: String!, $date: Date!, $storeNbr: String!) {
workgroup
workgroupId
}
-}
\ No newline at end of file
+}
| removed whitespace | removed whitespace
|
a86a0999d0e2f37e79e25723f6d4ea50f17e5936 | --- src/components/WaveView.tsx
@@ -1,76 +0,0 @@
-import React, {useEffect, useMemo} from 'react';
-import {ImageStyle, StyleProp, StyleSheet, View} from 'react-native';
-import Animated, {
- Easing,
- useAnimatedStyle,
- useSharedValue,
- withRepeat,
- withTiming,
-} from 'react-native-reanimated';
-import {Images} from '../images';
-
-const styles = StyleSheet.create({
- container: {
- position: 'absolute',
- left: 0,
- flex: 1,
- height: '100%',
- justifyContent: 'center',
- },
- wave: {
- position: 'absolute',
- width: 1000,
- height: 100,
- },
- opacityHalf: {
- opacity: 0.5,
- },
- opacityQuarter: {
- opacity: 0.25,
- },
-});
-
-export type WaveColor = 'red' | 'blue' | 'yellow';
-export type WaveSpeed = 1 | 2 | 3;
-
-const Wave = (props: {
- color: WaveColor;
- speed: WaveSpeed;
- style?: StyleProp<ImageStyle>;
-}) => {
- const {color, speed, style} = props;
- const Image = useMemo(() => Images[`wave-${color}`], [color]);
-
- const wave = useSharedValue(0);
-
- const waveStyle = useAnimatedStyle(() => ({
- transform: [{translateX: wave.value}],
- }));
-
- useEffect(() => {
- wave.value = withRepeat(
- withTiming(-400, {
- duration: 2000 * speed,
- easing: Easing.linear,
- }),
- -1,
- false,
- );
- }, [wave, speed]);
-
- return (
- <Animated.Image source={Image} style={[styles.wave, style, waveStyle]} />
- );
-};
-
-export const WaveView = (props: {color: WaveColor}) => {
- const {color} = props;
-
- return (
- <View style={styles.container}>
- <Wave speed={1} color={color} />
- <Wave speed={2} style={styles.opacityHalf} color={color} />
- <Wave speed={3} style={styles.opacityQuarter} color={color} />
- </View>
- );
-};
--- src/hooks/index.ts
@@ -1,4 +1,3 @@
export * from './messages';
export * from './roster';
export * from './teams';
-export * from './utility';
--- src/hooks/utility.ts
@@ -1,11 +0,0 @@
-import {useMemo, useState} from 'react';
-
-export const useToggleState = (initialState: boolean) => {
- const [state, setState] = useState(initialState);
-
- const toggleOn = () => setState(true);
-
- const toggleOff = () => setState(false);
-
- return useMemo(() => ({state, toggleOn, toggleOff}), [state]);
-};
--- src/components/WaveView.tsx
@@ -1,76 +0,0 @@
-import React, {useEffect, useMemo} from 'react';
-import {ImageStyle, StyleProp, StyleSheet, View} from 'react-native';
-import Animated, {
- Easing,
- useAnimatedStyle,
- useSharedValue,
- withRepeat,
- withTiming,
-} from 'react-native-reanimated';
-import {Images} from '../images';
-
-const styles = StyleSheet.create({
- container: {
- position: 'absolute',
- left: 0,
- flex: 1,
- height: '100%',
- justifyContent: 'center',
- },
- wave: {
- position: 'absolute',
- width: 1000,
- height: 100,
- },
- opacityHalf: {
- opacity: 0.5,
- },
- opacityQuarter: {
- opacity: 0.25,
- },
-});
-
-export type WaveColor = 'red' | 'blue' | 'yellow';
-export type WaveSpeed = 1 | 2 | 3;
-
-const Wave = (props: {
- color: WaveColor;
- speed: WaveSpeed;
- style?: StyleProp<ImageStyle>;
-}) => {
- const {color, speed, style} = props;
- const Image = useMemo(() => Images[`wave-${color}`], [color]);
-
- const wave = useSharedValue(0);
-
- const waveStyle = useAnimatedStyle(() => ({
- transform: [{translateX: wave.value}],
- }));
-
- useEffect(() => {
- wave.value = withRepeat(
- withTiming(-400, {
- duration: 2000 * speed,
- easing: Easing.linear,
- }),
- -1,
- false,
- );
- }, [wave, speed]);
-
- return (
- <Animated.Image source={Image} style={[styles.wave, style, waveStyle]} />
- );
-};
-
-export const WaveView = (props: {color: WaveColor}) => {
- const {color} = props;
-
- return (
- <View style={styles.container}>
- <Wave speed={1} color={color} />
- <Wave speed={2} style={styles.opacityHalf} color={color} />
- <Wave speed={3} style={styles.opacityQuarter} color={color} />
- </View>
- );
-};
--- src/hooks/index.ts
@@ -1,4 +1,3 @@
export * from './messages';
export * from './roster';
export * from './teams';
-export * from './utility';
--- src/hooks/utility.ts
@@ -1,11 +0,0 @@
-import {useMemo, useState} from 'react';
-
-export const useToggleState = (initialState: boolean) => {
- const [state, setState] = useState(initialState);
-
- const toggleOn = () => setState(true);
-
- const toggleOff = () => setState(false);
-
- return useMemo(() => ({state, toggleOn, toggleOff}), [state]);
-};
| chore: remove unused hook and component | chore: remove unused hook and component
|
0eedb10f00ba005f2a610c0ab2bd04b0e1278c7a | --- package-lock.json
@@ -4388,9 +4388,9 @@
}
},
"@walmart/refrigeration-alarms-mini-app": {
- "version": "1.15.0",
- "resolved": "https://npme.walmart.com/@walmart/refrigeration-alarms-mini-app/-/refrigeration-alarms-mini-app-1.15.0.tgz",
- "integrity": "sha512-+U2J8d7br/mSf07ltw5Y0WNj4GfA8ZtWJ437p/6UNaZqSBz7Glllbbo1tTIG5BkDg3eqFM1Bc32JlDledHaGZg=="
+ "version": "1.16.0",
+ "resolved": "https://npme.walmart.com/@walmart/refrigeration-alarms-mini-app/-/refrigeration-alarms-mini-app-1.16.0.tgz",
+ "integrity": "sha512-ZRB25nnUaTuclufSpbqj+Kd5BUR+djkk87XjaPET+02BpFNF1bg60EgLSC0NtxGkghXJdIMkbdIjjEUuLokkBg=="
},
"@walmart/schedule-mini-app": {
"version": "0.6.0",
--- package.json
@@ -94,7 +94,7 @@
"@walmart/react-native-shared-navigation": "^0.4.0",
"@walmart/react-native-sumo-sdk": "2.1.0",
"@walmart/redux-store": "1.1.24",
- "@walmart/refrigeration-alarms-mini-app": "^1.15.0",
+ "@walmart/refrigeration-alarms-mini-app": "1.16.0",
"@walmart/schedule-mini-app": "0.6.0",
"@walmart/settings-mini-app": "1.3.9",
"@walmart/shelfavailability-mini-app": "0.6.8",
| version bump | version bump
|
91a035267e7ae5b80760285cbcaccaa257af6137 | --- package-lock.json
@@ -64,7 +64,7 @@
"@walmart/learning-mini-app": "17.0.4",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/metrics-mini-app": "0.17.9",
- "@walmart/mod-flex-mini-app": "1.14.5",
+ "@walmart/mod-flex-mini-app": "1.14.6",
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "0.0.14",
"@walmart/onewalmart-miniapp": "1.0.16",
@@ -9284,9 +9284,9 @@
}
},
"node_modules/@walmart/mod-flex-mini-app": {
- "version": "1.14.5",
- "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.14.5.tgz",
- "integrity": "sha512-XHjKjaLQnD898xhM8LCSsAxPI1DeN7T5H/YpVs98pxA7Mi0R0FSh91dxk1T07fJSGYTRnlZayvYVj7dVYgUM/g==",
+ "version": "1.14.6",
+ "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.14.6.tgz",
+ "integrity": "sha512-jEZfIGO8eAhLxPmmwAT/M+ivWuDVfWqBntvTLm0zNnrro+A7UErA1iLrWCWpC9MYxnts5WENDBXROZyvvoXk4Q==",
"hasInstallScript": true,
"peerDependencies": {
"@react-native-async-storage/async-storage": "^1.19.0",
@@ -33406,9 +33406,9 @@
}
},
"@walmart/mod-flex-mini-app": {
- "version": "1.14.5",
- "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.14.5.tgz",
- "integrity": "sha512-XHjKjaLQnD898xhM8LCSsAxPI1DeN7T5H/YpVs98pxA7Mi0R0FSh91dxk1T07fJSGYTRnlZayvYVj7dVYgUM/g=="
+ "version": "1.14.6",
+ "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.14.6.tgz",
+ "integrity": "sha512-jEZfIGO8eAhLxPmmwAT/M+ivWuDVfWqBntvTLm0zNnrro+A7UErA1iLrWCWpC9MYxnts5WENDBXROZyvvoXk4Q=="
},
"@walmart/moment-walmart": {
"version": "1.0.4"
--- package.json
@@ -105,7 +105,7 @@
"@walmart/learning-mini-app": "17.0.4",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/metrics-mini-app": "0.17.9",
- "@walmart/mod-flex-mini-app": "1.14.5",
+ "@walmart/mod-flex-mini-app": "1.14.6",
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "0.0.14",
"@walmart/onewalmart-miniapp": "1.0.16",
| Update to version 1.14.6 | Update to version 1.14.6
|
b11890eb07acb783d2b5302b8fefa8e3a6d76e04 | --- packages/allspark-foundation-hub/__tests__/HubFeature/BottomSheet.test.tsx
@@ -3,110 +3,10 @@ import React from 'react';
import { render, fireEvent, act } from '@testing-library/react-native';
import {
BottomSheetProps,
- BottomSheetProvider,
BottomSheetRef,
- useBottomSheetContext,
} from '../../src/HubFeature/BottomSheet';
import BottomSheet from '../../src/HubFeature/BottomSheet/BottomSheet';
import { Image, Text } from 'react-native';
-import { Button } from '@walmart/gtp-shared-components/dist';
-
-const TestComponent = () => {
- const {
- isOnboardingBottomSheetVisible,
- isTeamUpdatedBottomSheetVisible,
- isErrorBottomSheetVisible,
- showOnboardingBottomSheet,
- hideOnboardingBottomSheet,
- showTeamUpdatedBottomSheet,
- hideTeamUpdatedBottomSheet,
- showErrorBottomSheet,
- hideErrorBottomSheet,
- } = useBottomSheetContext();
-
- return (
- <React.Fragment>
- <Button onPress={showOnboardingBottomSheet}>Show Onboarding</Button>
- <Button onPress={hideOnboardingBottomSheet}>Hide Onboarding</Button>
- <Button onPress={showTeamUpdatedBottomSheet}>Show Team Updated</Button>
- <Button onPress={hideTeamUpdatedBottomSheet}>Hide Team Updated</Button>
- <Button onPress={showErrorBottomSheet}>Show Error</Button>
- <Button onPress={hideErrorBottomSheet}>Hide Error</Button>
-
- <Text>
- Onboarding Visible: {isOnboardingBottomSheetVisible ? 'Yes' : 'No'}
- </Text>
- <Text>
- Team Updated Visible: {isTeamUpdatedBottomSheetVisible ? 'Yes' : 'No'}
- </Text>
- <Text>Error Visible: {isErrorBottomSheetVisible ? 'Yes' : 'No'}</Text>
- </React.Fragment>
- );
-};
-describe('BottomSheetProvider', () => {
- it('should provide initial context values', () => {
- const { getByText } = render(
- <BottomSheetProvider>
- <TestComponent />
- </BottomSheetProvider>
- );
-
- expect(getByText('Onboarding Visible: No')).toBeTruthy();
- expect(getByText('Team Updated Visible: No')).toBeTruthy();
- expect(getByText('Error Visible: No')).toBeTruthy();
- });
-
- it('should show and hide onboarding bottom sheet', () => {
- const { getByText } = render(
- <BottomSheetProvider>
- <TestComponent />
- </BottomSheetProvider>
- );
-
- const showOnboardingButton = getByText('Show Onboarding');
- const hideOnboardingButton = getByText('Hide Onboarding');
-
- fireEvent.press(showOnboardingButton);
- expect(getByText('Onboarding Visible: Yes')).toBeTruthy();
-
- fireEvent.press(hideOnboardingButton);
- expect(getByText('Onboarding Visible: No')).toBeTruthy();
- });
-
- it('should show and hide team updated bottom sheet', () => {
- const { getByText } = render(
- <BottomSheetProvider>
- <TestComponent />
- </BottomSheetProvider>
- );
-
- const showTeamUpdatedButton = getByText('Show Team Updated');
- const hideTeamUpdatedButton = getByText('Hide Team Updated');
-
- fireEvent.press(showTeamUpdatedButton);
- expect(getByText('Team Updated Visible: Yes')).toBeTruthy();
-
- fireEvent.press(hideTeamUpdatedButton);
- expect(getByText('Team Updated Visible: No')).toBeTruthy();
- });
-
- test('should show and hide error bottom sheet', () => {
- const { getByText } = render(
- <BottomSheetProvider>
- <TestComponent />
- </BottomSheetProvider>
- );
-
- const showErrorButton = getByText('Show Error');
- const hideErrorButton = getByText('Hide Error');
-
- fireEvent.press(showErrorButton);
- expect(getByText('Error Visible: Yes')).toBeTruthy();
-
- fireEvent.press(hideErrorButton);
- expect(getByText('Error Visible: No')).toBeTruthy();
- });
-});
describe('BottomSheet', () => {
beforeEach(() => jest.clearAllMocks());
@@ -117,6 +17,7 @@ describe('BottomSheet', () => {
onPrimaryButtonPress: jest.fn(),
primaryButtonText: 'Test text',
isVisible: true,
+ handleClose: jest.fn(),
};
const { getByTestId, toJSON } = render(
<BottomSheet {...props} ref={ref} />
@@ -142,6 +43,7 @@ describe('BottomSheet', () => {
onPrimaryButtonPress: jest.fn(),
primaryButtonText: 'Test text',
isVisible: true,
+ handleClose: jest.fn(),
};
const { getByTestId, toJSON } = render(
<BottomSheet {...props} ref={ref} />
@@ -170,6 +72,7 @@ describe('BottomSheet', () => {
onPrimaryButtonPress: jest.fn(),
primaryButtonText: 'Test text',
isVisible: true,
+ handleClose: jest.fn(),
};
const { getByTestId } = render(<BottomSheet {...props} ref={ref} />);
@@ -197,6 +100,7 @@ describe('BottomSheet', () => {
onPrimaryButtonPress: jest.fn(),
primaryButtonText: 'Test text',
isVisible: false,
+ handleClose: jest.fn(),
};
const { getByTestId } = render(<BottomSheet {...props} ref={ref} />);
--- packages/allspark-foundation-hub/__tests__/HubFeature/Hub/Container/HubDashboard.test.tsx
@@ -16,7 +16,6 @@ import { useNavigation, useRoute } from '@react-navigation/native';
import * as NavigationUtil from '@react-navigation/native';
import * as safeAreaContext from 'react-native-safe-area-context';
-import * as BottomSheetContext from '../../../../src/HubFeature/BottomSheet/BottomSheetContext';
import * as handlers from '../../../../src/HubFeature/Hub/Container/utils';
jest.mock('@react-navigation/native', () => ({
--- packages/allspark-foundation-hub/__tests__/HubFeature/HubContainer.test.tsx
@@ -568,10 +568,6 @@ jest.mock('@walmart/allspark-foundation', () => ({
},
}));
-jest.mock(
- '../../src/HubFeature/BottomSheet/BottomSheetContext',
- () => 'BottomSheetProvider'
-);
jest.mock('../../src/HubFeature/Hub/Container/Screens', () => 'HubDashboard');
jest.mock('../../src/HubFeature/Hub/Container/AllsparkHubContainer', () => ({
| Update the bottomsheet navigation | Update the bottomsheet navigation
|
8015ed344781004653e290a65ab369dfa16ce1a7 | --- package-lock.json
@@ -85,7 +85,7 @@
"@walmart/settings-mini-app": "1.19.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
"@walmart/taskit-mini-app": "2.40.8",
- "@walmart/texting-mini-app": "2.0.33",
+ "@walmart/texting-mini-app": "2.0.34",
"@walmart/time-clock-mini-app": "2.111.3",
"@walmart/topstock-mini-app": "1.0.13",
"@walmart/ui-components": "1.15.1",
@@ -9175,9 +9175,9 @@
}
},
"node_modules/@walmart/texting-mini-app": {
- "version": "2.0.33",
- "resolved": "https://npme.walmart.com/@walmart/texting-mini-app/-/texting-mini-app-2.0.33.tgz",
- "integrity": "sha512-SIMl2s11eM9vaAJ1NG21M02SRF91M51yzhrgz4Fwhm770Q+eXcACNs8bfiwuGf2ojaznB1jYXFELM6iZEyADaQ==",
+ "version": "2.0.34",
+ "resolved": "https://npme.walmart.com/@walmart/texting-mini-app/-/texting-mini-app-2.0.34.tgz",
+ "integrity": "sha512-GcOLjdnqsCi9IXPzMeOZLbqZ0X6Z4aaS8WpcJw6BFWQmVxQ3PUwHhPvjiG7fn4Qn+yH74GD8fsRsIvtocx+F1w==",
"hasInstallScript": true
},
"node_modules/@walmart/time-clock-mini-app": {
@@ -33841,9 +33841,9 @@
}
},
"@walmart/texting-mini-app": {
- "version": "2.0.33",
- "resolved": "https://npme.walmart.com/@walmart/texting-mini-app/-/texting-mini-app-2.0.33.tgz",
- "integrity": "sha512-SIMl2s11eM9vaAJ1NG21M02SRF91M51yzhrgz4Fwhm770Q+eXcACNs8bfiwuGf2ojaznB1jYXFELM6iZEyADaQ=="
+ "version": "2.0.34",
+ "resolved": "https://npme.walmart.com/@walmart/texting-mini-app/-/texting-mini-app-2.0.34.tgz",
+ "integrity": "sha512-GcOLjdnqsCi9IXPzMeOZLbqZ0X6Z4aaS8WpcJw6BFWQmVxQ3PUwHhPvjiG7fn4Qn+yH74GD8fsRsIvtocx+F1w=="
},
"@walmart/time-clock-mini-app": {
"version": "2.111.3",
--- package.json
@@ -126,7 +126,7 @@
"@walmart/settings-mini-app": "1.19.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
"@walmart/taskit-mini-app": "2.40.8",
- "@walmart/texting-mini-app": "2.0.33",
+ "@walmart/texting-mini-app": "2.0.34",
"@walmart/time-clock-mini-app": "2.111.3",
"@walmart/topstock-mini-app": "1.0.13",
"@walmart/ui-components": "1.15.1",
| update texting mini app version | update texting mini app version
|
fb71d71ac162f72cf4c6d64105bec03664ee4bdb | --- __tests__/navigation/AssociateHallwayNav/SideMenuContentTest.tsx
@@ -163,10 +163,7 @@ describe('SideMenuContent', () => {
expect(baseProps.navigation.dispatch).toHaveBeenCalledWith(
DrawerActions.closeDrawer(),
);
- expect(baseProps.navigation.navigate).toHaveBeenCalledWith(
- route,
- undefined,
- );
+ expect(baseProps.navigation.navigate).toHaveBeenCalledWith(route, {});
});
it('handles onDevelopersOptionClick event', () => {
| Update navigation for meganav | Update navigation for meganav
|
bd39c9e4ca15611fb3bf78664387cf547bfaff23 | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 49
+ versionCode 50
versionName "1.0.2"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>49</string>
+ <string>50</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>invmgmt</string>
--- ios/AllSparkTests/Info.plist
@@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>49</string>
+ <string>50</string>
</dict>
</plist>
| Incrementing build number | Incrementing build number
|
efa96b7501b5e82afd1b502519b4318e6c94d038 | --- src/auth/ErrorScreen.tsx
@@ -124,7 +124,7 @@ export const ErrorScreen: FC<any> = (props) => {
code: string,
) => {
const selectedOption = selectedList.map((opnId) => ({
- value: optionList[opnId].label,
+ value: optionList[opnId].logLabel,
code: optionList[opnId].code,
}));
if (code === 'DEVICETYPE') {
@@ -139,6 +139,7 @@ export const ErrorScreen: FC<any> = (props) => {
id: index,
label: opn[lang],
code: opn.code,
+ logLabel: opn['en-US'],
}));
};
@@ -253,7 +254,12 @@ export const ErrorScreen: FC<any> = (props) => {
selectedIds={selectedOther[title]}
onSelect={(id) => {
setSelectedOther({...selectedOther, [title]: id});
- updateFormatedOther(items, title, id, question?.code);
+ updateFormatedOther(
+ items,
+ question?.title['en-US'],
+ id,
+ question?.code,
+ );
}}
/>
) : (
@@ -264,7 +270,7 @@ export const ErrorScreen: FC<any> = (props) => {
setSelectedOther({...selectedOther, [title]: id});
updateFormatedOther(
items,
- title,
+ question?.title['en-US'],
[id],
question?.code,
);
| error log in english | error log in english
|
83f79a6b406f504d7aaa12e2c5ab1c28232c17d2 | --- src/components/MyWalmartv2/Widgets/Hourly/HourlyRosterWidget.tsx
@@ -79,7 +79,7 @@ type Punch = {
};
type AbsentData = {
- __typename: 'AbsentData';
+ __typename: 'MewAbsentInfo';
absenceTypeCode: number;
};
--- src/components/MyWalmartv2/Widgets/Hourly/mockData.ts
@@ -2,7 +2,7 @@ export const mockGetTeamsById = [
{
__typename: 'MewAssociate',
absentData: {
- __typename: 'AbsentData',
+ __typename: 'MewAbsentInfo',
absenceTypeCode: 1,
},
associateId: '999995493',
@@ -28,7 +28,7 @@ export const mockGetTeamsById = [
{
__typename: 'MewAssociate',
absentData: {
- __typename: 'AbsentData',
+ __typename: 'MewAbsentInfo',
absenceTypeCode: 2,
},
associateId: '999995494',
@@ -54,7 +54,7 @@ export const mockGetTeamsById = [
{
__typename: 'MewAssociate',
absentData: {
- __typename: 'AbsentData',
+ __typename: 'MewAbsentInfo',
absenceTypeCode: 0,
},
associateId: '999995495',
@@ -80,7 +80,7 @@ export const mockGetTeamsById = [
{
__typename: 'MewAssociate',
absentData: {
- __typename: 'AbsentData',
+ __typename: 'MewAbsentInfo',
absenceTypeCode: 0,
},
associateId: '999995496',
@@ -106,7 +106,7 @@ export const mockGetTeamsById = [
{
__typename: 'MewAssociate',
absentData: {
- __typename: 'AbsentData',
+ __typename: 'MewAbsentInfo',
absenceTypeCode: 1,
},
associateId: '999995497',
@@ -132,7 +132,7 @@ export const mockGetTeamsById = [
{
__typename: 'MewAssociate',
absentData: {
- __typename: 'AbsentData',
+ __typename: 'MewAbsentInfo',
absenceTypeCode: 0,
},
associateId: '999995498',
@@ -158,7 +158,7 @@ export const mockGetTeamsById = [
{
__typename: 'MewAssociate',
absentData: {
- __typename: 'AbsentData',
+ __typename: 'MewAbsentInfo',
absenceTypeCode: 0,
},
associateId: '999995499',
@@ -184,7 +184,7 @@ export const mockGetTeamsById = [
{
__typename: 'MewAssociate',
absentData: {
- __typename: 'AbsentData',
+ __typename: 'MewAbsentInfo',
absenceTypeCode: 0,
},
associateId: '999995500',
@@ -210,7 +210,7 @@ export const mockGetTeamsById = [
{
__typename: 'MewAssociate',
absentData: {
- __typename: 'AbsentData',
+ __typename: 'MewAbsentInfo',
absenceTypeCode: 1,
},
associateId: '999995501',
@@ -236,7 +236,7 @@ export const mockGetTeamsById = [
{
__typename: 'MewAssociate',
absentData: {
- __typename: 'AbsentData',
+ __typename: 'MewAbsentInfo',
absenceTypeCode: 0,
},
associateId: '999995502',
--- src/components/MyWalmartv2/types.ts
@@ -6,7 +6,7 @@ export type Punch = {
};
export type AbsentData = {
- __typename: 'AbsentData';
+ __typename: 'MewAbsentInfo';
absenceTypeCode: number;
};
--- src/mocks/associates.ts
@@ -16,7 +16,7 @@ const mapToRosterAssociate = (member: any): RosterAssociate => {
lastPunchType: '',
};
const absentData: AbsentData = {
- __typename: 'AbsentData',
+ __typename: 'MewAbsentInfo',
absenceTypeCode: 0,
};
--- src/mocks/getTeamsByIdMock.ts
@@ -89,7 +89,7 @@ export const mockGetTeamsById = {
lastPunchType: '2',
},
absentData: {
- __typename: 'AbsentData',
+ __typename: 'MewAbsentInfo',
absenceTypeCode: 1,
},
userId: 'REA003N.S00001',
@@ -131,7 +131,7 @@ export const mockGetTeamsById = {
lastPunchType: '',
},
absentData: {
- __typename: 'AbsentData',
+ __typename: 'MewAbsentInfo',
absenceTypeCode: 1,
},
userId: 'K0H04KM.S00001',
@@ -158,7 +158,7 @@ export const mockGetTeamsById = {
lastPunchType: '',
},
absentData: {
- __typename: 'AbsentData',
+ __typename: 'MewAbsentInfo',
absenceTypeCode: 2,
},
userId: 'RDDONAH.S00001',
@@ -200,7 +200,7 @@ export const mockGetTeamsById = {
lastPunchType: '',
},
absentData: {
- __typename: 'AbsentData',
+ __typename: 'MewAbsentInfo',
absenceTypeCode: 3,
},
userId: 'DMLANDI.S00001',
@@ -684,7 +684,7 @@ export const mockGetTeamsById = {
userId: 'I0G04JG.S00001',
wfmSchedule: null,
absentData: {
- __typename: 'AbsentData',
+ __typename: 'MewAbsentInfo',
absenceTypeCode: 0,
},
},
| feat(ui): fix build issues | feat(ui): fix build issues
|
186a90725eea50f42185a708008de056625e92b9 | --- package-lock.json
@@ -3411,9 +3411,9 @@
"integrity": "sha512-f4KuVr2K+ITDD3vmd1FWWAdHYKUyd+/PGu3s0YpFCAMe97jEm9En9xcDT1iEqM+3+kpcunwzm/E09vexdz8VMQ=="
},
"@walmart/metrics-mini-app": {
- "version": "0.4.11",
- "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.4.11.tgz",
- "integrity": "sha512-GqO2SEWNHFhjDbf9Gy3rEYKubg2TPxdH1KBAxpeAfemQbupsL5EpNXS4xRPGlOBf9Unsv6jqsQwpu+vJynRofA==",
+ "version": "0.4.12",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.4.12.tgz",
+ "integrity": "sha512-LAuiMisSTPFCaaTJ9J1DuaLW0va59dbskY8YiaTY/dziEtojPEkF4Sw4kX24pIQLEuKiipdBrjiWiuetSyR6JA==",
"requires": {
"@types/base-64": "^1.0.0",
"apisauce": "^1.1.2",
@@ -12923,11 +12923,6 @@
"resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-1.2.2.tgz",
"integrity": "sha512-u4UdlRN4pWnxX5MrhiRldbylKkO2G1vsymDlPOMIKO5TevamlcTG9TgPYqwAjOjLUY0TaEB9hdYxMJ9iiLaxrg=="
},
- "react-native-sumo-sdk": {
- "version": "2.7.4-rc.9",
- "resolved": "https://npme.walmart.com/react-native-sumo-sdk/-/react-native-sumo-sdk-2.7.4-rc.9.tgz",
- "integrity": "sha512-1K7iaDW1TF29k5H27Z3oMzAxd+y/bbGKoR6PCqn5olYfZJmsyGDVb5S/KLu5DTGZGFriqMCFyYy6R0X7PWRcEg=="
- },
"react-native-svg": {
"version": "12.1.0",
"resolved": "https://npme.walmart.com/react-native-svg/-/react-native-svg-12.1.0.tgz",
| update package-lock | update package-lock
|
7b02fc1231fec103bffca1713feb8521342bc9e0 | --- src/hooks/teams.ts
@@ -27,7 +27,6 @@ export const useSupplyChainTeamById = (teamId: string) => {
date: moment().format('YYYY-MM-DD'),
teamId,
includeProxyMembers: true,
- siteNbr: storeNbr as string,
},
skip:
!storeNbr ||
@@ -66,7 +65,6 @@ export const useSupplyChainTeamsByBusinessUnit = () => {
countryCode: countryCode!,
businessUnitNumber: Number(businessUnitNumber)!,
date: moment().format('YYYY-MM-DD'),
- siteNbr: businessUnitNumber as string,
},
skip: !countryCode || !businessUnitNumber,
notifyOnNetworkStatusChange: true,
| Update roster mini app version | Update roster mini app version
|
c2650bbff988e4e1e43d1a10b5bdf55279b80fd6 | --- package-lock.json
@@ -2990,9 +2990,9 @@
}
},
"@walmart/allspark-health-survey-mini-app": {
- "version": "0.0.32",
- "resolved": "https://npme.walmart.com/@walmart/allspark-health-survey-mini-app/-/allspark-health-survey-mini-app-0.0.32.tgz",
- "integrity": "sha512-XhuSCz9Avhno0fLX1wU+YsPgTim31R+IdXs+dkXIcSD6gE9x1zIwxXpE1ydzerdNezkdvziJLU2VFRLZ2RK09w==",
+ "version": "0.0.33",
+ "resolved": "https://npme.walmart.com/@walmart/allspark-health-survey-mini-app/-/allspark-health-survey-mini-app-0.0.33.tgz",
+ "integrity": "sha512-ySWmcRqr2izxnhMt2M04F+f5ZWdsVDAE/VEl15bgBSNoPbGCC7epFHtORv/GzswbpcZvJdmJ5tnDnSe825g1jA==",
"requires": {
"@walmart/patient-portal-mobile": "^2.1.5",
"crypto-js": "^3.3.0",
--- package.json
@@ -60,7 +60,7 @@
"@react-navigation/stack": "^5.9.0",
"@redux-saga/testing-utils": "^1.1.3",
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
- "@walmart/allspark-health-survey-mini-app": "0.0.32",
+ "@walmart/allspark-health-survey-mini-app": "0.0.33",
"@walmart/allspark-home-mini-app": "0.1.11",
"@walmart/allspark-me-mini-app": "0.0.22",
"@walmart/ask-sam-mini-app": "0.10.41",
| bump health survet (#473) | bump health survet (#473)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.