commit_hash stringlengths 40 40 | input stringlengths 13 7.99k | output stringlengths 5 155 | full_message stringlengths 6 8.96k |
|---|---|---|---|
0bc8a1c2ef9c42e46d4a8d5b625138548327d924 | --- ios/Podfile.lock
@@ -634,6 +634,8 @@ PODS:
- ExpoModulesCore (1.2.7):
- React-Core
- ReactCommon/turbomodule/core
+ - EXSharing (11.2.2):
+ - ExpoModulesCore
- FBLazyVector (0.70.9)
- FBReactNativeSpec (0.70.9):
- RCT-Folly (= 2021.07.22.00)
@@ -1482,6 +1484,7 @@ DEPENDENCIES:
- EXFileSystem (from `../node_modules/expo-file-system/ios`)
- Expo (from `../node_modules/expo`)
- ExpoModulesCore (from `../node_modules/expo-modules-core`)
+ - EXSharing (from `../node_modules/expo-sharing/ios`)
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
- FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)
- FirebaseCore
@@ -1692,6 +1695,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/expo"
ExpoModulesCore:
:path: "../node_modules/expo-modules-core"
+ EXSharing:
+ :path: "../node_modules/expo-sharing/ios"
FBLazyVector:
:path: "../node_modules/react-native/Libraries/FBLazyVector"
FBReactNativeSpec:
@@ -1901,6 +1906,7 @@ SPEC CHECKSUMS:
EXFileSystem: 844e86ca9b5375486ecc4ef06d3838d5597d895d
Expo: 8448e3a2aa1b295f029c81551e1ab6d986517fdb
ExpoModulesCore: 0749525babb492117f864873612b56c79611bb95
+ EXSharing: 09839ace249f61bfa13c50c6a28256c31d260355
FBLazyVector: bc76253beb7463b688aa6af913b822ed631de31a
FBReactNativeSpec: 85d34420d92cb178897de05e3aba90e7a8568162
Firebase: 0219acf760880eeec8ce479895bd7767466d9f81
| Adding the EXSharing in podfile | Adding the EXSharing in podfile
|
a788c877d062b345ed22813e1c6b2e7f17878437 | --- src/index.tsx
@@ -5,7 +5,6 @@ import {LoggerCloneProvider} from '@walmart/core-services/Logger';
import {HttpClientCloneProvider} from '@walmart/allspark-http-client';
import {TextingNavigation} from './navigation';
-import {initNotificationListeners} from './notification';
import {initi18n} from './translations';
import {ClockedOutScreenGuard} from './components/ClockedOutScreenGuard';
import {SafeAreaProvider} from 'react-native-safe-area-context';
@@ -42,8 +41,6 @@ export const initialize = async (debugToken: string) => {
initi18n();
-initNotificationListeners();
-
firestore()
.settings({
persistence: false,
--- src/navigation/types.ts
@@ -12,10 +12,6 @@ export type TextingNavParamsMap = {
};
'myTeam.searchScreen': {searchInput: string};
'myTeam.clockedOutScreen': undefined;
- 'myTeam.pushToTalk': {
- // channelPath: FirebaseFirestoreTypes.DocumentReference<FirebaseChannel>['path']; //TODO: Move this logic to mini app
- // details?: NewChannelDetails;
- };
'myTeam.imagePreviewScreen': {
imageSource: {uri: any};
};
| remove notification listeners | remove notification listeners
|
c27032daec6effc70201bb4d7bf18a1458c1c92f | --- __tests__/components/__snapshots__/AssociateListItem.test.tsx.snap
@@ -15,7 +15,7 @@ exports[`AssociateListItem should render AssociateListItem with props 1`] = `
testID="associate-list-item-container"
>
<View
- accessibilityLabel="Lexi C, Apparel TA null View schedule for Lexi C"
+ accessibilityLabel="Lexi C, Apparel TA Clocked in View schedule for Lexi C"
accessibilityRole="button"
accessible={true}
style={
--- src/components/AssociateList/AssociateListItem.tsx
@@ -83,7 +83,7 @@ export const AssociateListItem = ({
'rosterScreen.associateRosterItem.shiftTime',
)} ${associateManagerSchedule}`
: ''
- } ${status} ${t('rosterScreen.associateRosterItem.viewScheduleFor', {
+ }${status ? ` ${status}` : ''} ${t('rosterScreen.associateRosterItem.viewScheduleFor', {
associateName: associateName,
})}`;
--- src/translations/en-US.ts
@@ -66,6 +66,10 @@ export const enUS = {
viewScheduleFor: 'View schedule for {{associateName}}',
shiftTime: 'Shift time',
},
+ userHeader: {
+ clockedIn: 'Clocked in',
+ clockedOut: 'Clocked out',
+ },
searchInput: {
placeholderText: 'Search associates by name',
},
--- src/translations/es-MX.ts
@@ -66,6 +66,10 @@ export const esMX = {
viewScheduleFor: 'Ver horario para {{associateName}}',
shiftTime: 'Tiempo de turno',
},
+ userHeader: {
+ clockedIn: 'Entrada registrada',
+ clockedOut: 'Salida registrada',
+ },
searchInput: {
placeholderText: 'Buscar asociados por nombre',
},
| fix: SMDV-7771 add translation keys | fix: SMDV-7771 add translation keys
|
6f9778dd6d78740fa762df277fcfdba457bfdbd3 | --- packages/allspark-foundation/src/Components/TeamOnboarding/TeamSelection/TeamSelectionListItem.tsx
@@ -3,16 +3,7 @@ import { View, Image, Text } from 'react-native';
import { teamSelectionListItemStyles } from './styles';
import { Checkbox } from '@walmart/gtp-shared-components/dist';
import { Images } from './Images';
-import { TeamImageNames, TeamName } from './types';
-
-interface TeamSelectionListItemProps {
- teamName: TeamName;
- isLastListItem: boolean;
- isPrimaryTeam?: boolean;
- isSelected: boolean;
- checkboxDisabled: boolean;
- toggleSelection: () => void;
-}
+import { TeamImageNames, TeamSelectionListItemProps } from './types';
export const TeamSelectionListItem = ({
teamName,
--- packages/allspark-foundation/src/Components/TeamOnboarding/TeamSelection/types.ts
@@ -25,3 +25,12 @@ export enum TeamImageNames {
}
export type TeamName = keyof typeof TeamImageNames;
+
+export interface TeamSelectionListItemProps {
+ teamName: TeamName;
+ isLastListItem: boolean;
+ isPrimaryTeam?: boolean;
+ isSelected: boolean;
+ checkboxDisabled: boolean;
+ toggleSelection: () => void;
+}
| feat: moved props to types file | feat: moved props to types file
|
0745586449266de4fdb7bf7eda45e248966693a1 | --- core/src/biometrics/BiometricSagas.ts
@@ -26,7 +26,7 @@ export function* handleBiometricPrompt() {
);
try {
const {success} = yield call(Biometrics.simplePrompt, {
- promptMessage: AllsparkTranslationClient.t('biometrics.promptMessage'),
+ promptMessage: AllsparkTranslationClient.t('biometrics:promptMessage'),
});
if (success) {
| fix: biometrics prompt translation not namespaced | fix: biometrics prompt translation not namespaced
|
82a882a71392c49709527bed17e9262194eb8f78 | --- __tests__/components/ClockedOutScreenGuardTest.tsx
@@ -1,5 +1,6 @@
import React from 'react';
-import {fireEvent} from '@testing-library/react-native';
+import {render, fireEvent} from '@testing-library/react-native';
+import {View} from 'react-native';
import {
ClockedOutScreenGuard,
ClockedOutScreen,
@@ -20,13 +21,17 @@ jest.mock('@walmart/react-native-shared-navigation', () => ({
}));
describe('Snapshot test', () => {
- it('renders correctly for absent associate', () => {
+ it('renders ClockedOutScreenGuard components correctly', () => {
const component = renderWithProviders(<ClockedOutScreenGuard />);
expect(component.toJSON()).toMatchSnapshot();
});
+ it('renders ClockedOutScreenGuard components correctly', () => {
+ const component = renderWithProviders(<ClockedOutScreen />);
+ expect(component.toJSON()).toMatchSnapshot();
+ });
});
-describe('ClockedOutScreen', () => {
+describe('ClockedOutScreen test', () => {
beforeEach(() => {
jest.clearAllMocks();
});
@@ -40,7 +45,7 @@ describe('ClockedOutScreen', () => {
).toBeDefined();
});
- it('shows the view time clock button if conditions are met', () => {
+ it('shows view time clock if conditions are met', () => {
useSelector.mockReturnValueOnce(true);
jest.spyOn(hooks, 'useIsHourly').mockReturnValue(true);
jest.spyOn(hooks, 'useUserIsInRoster').mockReturnValue(true);
@@ -48,7 +53,7 @@ describe('ClockedOutScreen', () => {
expect(getByText('View time clock')).toBeDefined();
});
- it('does not show the view time clock button if conditions are not met', () => {
+ it('does not show view time clock if conditions are not met', () => {
useSelector.mockReturnValueOnce(false);
jest.spyOn(hooks, 'useIsHourly').mockReturnValue(true);
jest.spyOn(hooks, 'useUserIsInRoster').mockReturnValue(true);
@@ -66,3 +71,23 @@ describe('ClockedOutScreen', () => {
expect(navigate).toBeCalled();
});
});
+
+describe('ClockedOutScreenGuard test', () => {
+ beforeEach(() => {
+ jest.clearAllMocks();
+ });
+
+ it('renders children if clocked in', () => {
+ useSelector.mockReturnValueOnce(true);
+ const ChildComponent = () => (
+ <View testID='childComponent'>Child Component</View>
+ );
+ const component = renderWithProviders(
+ <ClockedOutScreenGuard>
+ <ChildComponent />
+ </ClockedOutScreenGuard>,
+ );
+ const test = component.getByTestId('childComponent');
+ expect(test).toBeDefined();
+ });
+});
--- __tests__/components/__snapshots__/ClockedOutScreenGuardTest.tsx.snap
@@ -1,5 +1,124 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
+exports[`Snapshot test renders ClockedOutScreenGuard components correctly 1`] = `
+<Navigator
+ screenOptions={
+ {
+ "cardStyle": {
+ "backgroundColor": "white",
+ },
+ "header": [Function],
+ "headerLeft": "DrawerButton",
+ "headerShown": true,
+ }
+ }
+>
+ <Screen
+ component={[Function]}
+ name="myTeam.clockedOutScreen"
+ options={
+ {
+ "title": "My Team",
+ }
+ }
+ />
+</Navigator>
+`;
+
+exports[`Snapshot test renders ClockedOutScreenGuard components correctly 2`] = `
+<View
+ style={
+ [
+ {
+ "alignItems": "flex-start",
+ "borderBottomWidth": 1,
+ "borderLeftWidth": 4,
+ "borderRadius": 4,
+ "borderRightWidth": 1,
+ "borderTopWidth": 1,
+ "flexDirection": "row",
+ "paddingLeft": 12,
+ "paddingRight": 15,
+ "paddingVertical": 6,
+ },
+ {
+ "backgroundColor": "#fff9e9",
+ "borderBottomColor": "#ffe190",
+ "borderLeftColor": "#ffc220",
+ "borderRightColor": "#ffe190",
+ "borderTopColor": "#ffe190",
+ },
+ {
+ "margin": 16,
+ },
+ ]
+ }
+ testID="Alert"
+>
+ <View
+ style={
+ {
+ "marginRight": 8,
+ "marginTop": 2,
+ }
+ }
+ >
+ <Image
+ accessibilityRole="image"
+ source={
+ {
+ "testUri": "../../@walmart/gtp-shared-icons/assets/images/icons/Warning-16.png",
+ }
+ }
+ style={
+ [
+ {
+ "height": 16,
+ "tintColor": "#662b0d",
+ "width": 16,
+ },
+ {},
+ ]
+ }
+ testID="WarningIcon"
+ />
+ </View>
+ <View
+ style={
+ {
+ "alignItems": "flex-start",
+ "flex": 1,
+ "flexDirection": "row",
+ "flexWrap": "wrap",
+ "justifyContent": "flex-start",
+ }
+ }
+ >
+ <Text
+ accessibilityRole="alert"
+ style={
+ [
+ {
+ "fontFamily": "Bogle",
+ "fontSize": 14,
+ "fontStyle": "normal",
+ "fontWeight": "400",
+ "lineHeight": 20,
+ "marginRight": 16,
+ "maxWidth": "95%",
+ },
+ {
+ "color": "#662b0d",
+ },
+ ]
+ }
+ >
+ You are currently clocked out. This feature is only available when you are clocked in.
+ </Text>
+ </View>
+</View>
+`;
+
exports[`Snapshot test renders correctly for absent associate 1`] = `
<Navigator
screenOptions={
@@ -24,3 +143,97 @@ exports[`Snapshot test renders correctly for absent associate 1`] = `
/>
</Navigator>
`;
+
+exports[`Snapshot test renders correctly for absent associate 2`] = `
+<View
+ style={
+ [
+ {
+ "alignItems": "flex-start",
+ "borderBottomWidth": 1,
+ "borderLeftWidth": 4,
+ "borderRadius": 4,
+ "borderRightWidth": 1,
+ "borderTopWidth": 1,
+ "flexDirection": "row",
+ "paddingLeft": 12,
+ "paddingRight": 15,
+ "paddingVertical": 6,
+ },
+ {
+ "backgroundColor": "#fff9e9",
+ "borderBottomColor": "#ffe190",
+ "borderLeftColor": "#ffc220",
+ "borderRightColor": "#ffe190",
+ "borderTopColor": "#ffe190",
+ },
+ {
+ "margin": 16,
+ },
+ ]
+ }
+ testID="Alert"
+>
+ <View
+ style={
+ {
+ "marginRight": 8,
+ "marginTop": 2,
+ }
+ }
+ >
+ <Image
+ accessibilityRole="image"
+ source={
+ {
+ "testUri": "../../@walmart/gtp-shared-icons/assets/images/icons/Warning-16.png",
+ }
+ }
+ style={
+ [
+ {
+ "height": 16,
+ "tintColor": "#662b0d",
+ "width": 16,
+ },
+ {},
+ ]
+ }
+ testID="WarningIcon"
+ />
+ </View>
+ <View
+ style={
+ {
+ "alignItems": "flex-start",
+ "flex": 1,
+ "flexDirection": "row",
+ "flexWrap": "wrap",
+ "justifyContent": "flex-start",
+ }
+ }
+ >
+ <Text
+ accessibilityRole="alert"
+ style={
+ [
+ {
+ "fontFamily": "Bogle",
+ "fontSize": 14,
+ "fontStyle": "normal",
+ "fontWeight": "400",
+ "lineHeight": 20,
+ "marginRight": 16,
+ "maxWidth": "95%",
+ },
+ {
+ "color": "#662b0d",
+ },
+ ]
+ }
+ >
+ You are currently clocked out. This feature is only available when you are clocked in.
+ </Text>
+ </View>
+</View>
+`;
| Removing lint errors | Removing lint errors
|
bc6bf27bc48a04f3d777900dc1eb4a3d98f8d664 | --- package-lock.json
@@ -3046,9 +3046,9 @@
}
},
"@walmart/impersonation-mini-app": {
- "version": "1.0.6",
- "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.0.6.tgz",
- "integrity": "sha512-/yog/jh5S+WT6mqRTSxtbnhHfZs7Xx6mJnP26jtMN+kMWljwnzoM+0p8hf8HxUd3fyLxmSjWp/g5RHjz+p8HxA=="
+ "version": "1.0.7",
+ "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.0.7.tgz",
+ "integrity": "sha512-V85jGOfE+5JauAKvH8gSGvp9vauVj6Pu8Gemj1vm511mlnnct4m5rezB67qGOyIiIdWxAvf4qjSj9662MOsLFQ=="
},
"@walmart/inbox-mini-app": {
"version": "0.0.36",
@@ -3150,9 +3150,9 @@
}
},
"@walmart/settings-mini-app": {
- "version": "1.1.10",
- "resolved": "https://npme.walmart.com/@walmart/settings-mini-app/-/settings-mini-app-1.1.10.tgz",
- "integrity": "sha512-LR+Wh4/UwuaHZzxOqkmzk70D3p3rpzvGIJvl7QrxW80p03BhnprE7lt8GrmJQxcdDQqPipqjbVQ19gstIBiDpg=="
+ "version": "1.1.12",
+ "resolved": "https://npme.walmart.com/@walmart/settings-mini-app/-/settings-mini-app-1.1.12.tgz",
+ "integrity": "sha512-BAt1o+HxymOArDQgOizPt7B2itxi3LOwWFVS2+HH5Izat3wwqIsAZIOVEiOUkJtYALMlzm5uvAlteQLcUWhr+Q=="
},
"@walmart/time-clock-mini-app": {
"version": "0.1.14",
--- package.json
@@ -53,7 +53,7 @@
"@walmart/feedback-all-spark-miniapp": "0.0.31",
"@walmart/functional-components": "^1.0.22",
"@walmart/gtp-shared-components": "^0.2.2",
- "@walmart/impersonation-mini-app": "1.0.6",
+ "@walmart/impersonation-mini-app": "1.0.7",
"@walmart/inbox-mini-app": "0.0.36",
"@walmart/moment-walmart": "1.0.4",
"@walmart/push-to-talk-mini-app": "0.0.73",
@@ -62,7 +62,7 @@
"@walmart/react-native-shared-navigation": "^0.3.0",
"@walmart/redux-store": "^1.0.11",
"@walmart/schedule-mini-app": "0.2.42",
- "@walmart/settings-mini-app": "1.1.10",
+ "@walmart/settings-mini-app": "1.1.12",
"@walmart/time-clock-mini-app": "0.1.14",
"@walmart/welcomeme-mini-app": "0.5.19",
"@walmart/ui-components": "1.0.91",
| impersonation and settings version bump (#268) | impersonation and settings version bump (#268)
Co-authored-by: Hitesh Arora - h0a006n <Hitesh.Arora@walmart.com> |
e7431121aa9a3a82e9a63c8b45e1471c3528a4f7 | --- package.json
@@ -77,7 +77,7 @@
"@types/redux-mock-store": "^1.0.2",
"@walmart/allspark-authentication": "6.4.1",
"@walmart/allspark-foundation": "^6.32.0",
- "@walmart/allspark-foundation-hub": "1.10.0-beta.4766+f3003bb5",
+ "@walmart/allspark-foundation-hub": "1.10.0-beta.4770+6832ed6c",
"@walmart/allspark-graphql-client": "6.3.29",
"@walmart/allspark-http-client": "6.3.29",
"@walmart/allspark-utils": "6.5.1",
--- yarn.lock
@@ -6009,9 +6009,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation-hub@npm:1.10.0-beta.4766+f3003bb5":
- version: 1.10.0-beta.4766
- resolution: "@walmart/allspark-foundation-hub@npm:1.10.0-beta.4766::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation-hub%2F-%2F%40walmart%2Fallspark-foundation-hub-1.10.0-beta.4766.tgz"
+"@walmart/allspark-foundation-hub@npm:1.10.0-beta.4770+6832ed6c":
+ version: 1.10.0-beta.4770
+ resolution: "@walmart/allspark-foundation-hub@npm:1.10.0-beta.4770::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation-hub%2F-%2F%40walmart%2Fallspark-foundation-hub-1.10.0-beta.4770.tgz"
peerDependencies:
"@react-navigation/native": 6.x
"@walmart/allspark-foundation": ">=6.27"
@@ -6021,7 +6021,7 @@ __metadata:
react: "*"
react-native: "*"
react-native-safe-area-context: 4.x
- checksum: 10c0/360618233e65e80d171e054fd6a8a834cb4be32912959fa15efeb757317c5e9d322090267570010c592fb3e8934721932f68b60748590970095b2f875e0c47e1
+ checksum: 10c0/95b958274fdd2d2641efe0f44535b8cacc5c75d1fe1006765f4a0405cf8d2268dca0872c1033090d1ad64b46d3d9b80052405285a3cfc77369d362ca2ebc661d
languageName: node
linkType: hard
@@ -6200,7 +6200,7 @@ __metadata:
"@types/redux-mock-store": "npm:^1.0.2"
"@walmart/allspark-authentication": "npm:6.4.1"
"@walmart/allspark-foundation": "npm:^6.32.0"
- "@walmart/allspark-foundation-hub": "npm:1.10.0-beta.4766+f3003bb5"
+ "@walmart/allspark-foundation-hub": "npm:1.10.0-beta.4770+6832ed6c"
"@walmart/allspark-graphql-client": "npm:6.3.29"
"@walmart/allspark-http-client": "npm:6.3.29"
"@walmart/allspark-utils": "npm:6.5.1"
| feat(ui): update allspark-foundation-hub version | feat(ui): update allspark-foundation-hub version
|
f1ca5428e9b8a045a006f5d508af03c1b4f1b018 | --- packages/allspark-foundation-hub/__tests__/HubFeature/TeamOnboarding/TeamOnboarding.test.tsx
@@ -0,0 +1,69 @@
+import React from 'react';
+import { View } from 'react-native';
+import { render } from '../../utils';
+import { fireEvent } from '@testing-library/react-native';
+import { TeamOnboarding } from '../../../src/HubFeature/Onboarding/TeamOnboarding/Component/TeamOnboarding';
+import { TeamOnboardingScreenProps } from '../../../src/HubFeature/Onboarding/TeamOnboarding/Component/TeamOnboarding';
+const DummyIcon = () => <View testID='dummy-icon' />;
+
+describe('TeamOnboarding', () => {
+ const mockProps: TeamOnboardingScreenProps = {
+ heading: 'Welcome to the Team',
+ description: 'This is the team onboarding description.',
+ teamOnboardingCardsInfo: [
+ { icon: <DummyIcon />, title: 'Card 1', description: 'Description 1' },
+ { icon: <DummyIcon />, title: 'Card 2', description: 'Description 2' },
+ ],
+ buttonText: 'Get Started',
+ buttonIsDisabled: false,
+ handlePressButton: jest.fn(),
+ };
+
+ it('renders correctly with given props', () => {
+ const { getByText, getByTestId } = render(
+ <TeamOnboarding {...mockProps} />
+ );
+
+ expect(getByText(mockProps.heading)).toBeTruthy();
+ expect(getByText(mockProps.description)).toBeTruthy();
+ expect(getByTestId('onboarding-entry-btn')).toBeTruthy();
+ });
+
+ it('calls handlePressButton when button is pressed', () => {
+ const { getByTestId } = render(<TeamOnboarding {...mockProps} />);
+ const button = getByTestId('onboarding-entry-btn');
+
+ fireEvent.press(button);
+ expect(mockProps.handlePressButton).toHaveBeenCalled();
+ });
+
+ it('disables the button when buttonIsDisabled is true', () => {
+ const disabledProps = { ...mockProps, buttonIsDisabled: true };
+ const { getByTestId } = render(<TeamOnboarding {...disabledProps} />);
+ const button = getByTestId('onboarding-entry-btn');
+
+ expect(button.props.disabled).toBe(true);
+ });
+
+ it('does not disable the button when buttonIsDisabled is false', () => {
+ const disabledProps = { ...mockProps, buttonIsDisabled: false };
+ const { getByTestId } = render(<TeamOnboarding {...disabledProps} />);
+ const button = getByTestId('onboarding-entry-btn');
+
+ expect(button.props.disabled).toBe(false);
+ });
+
+ it('renders the team onboarding cards correctly', () => {
+ const { getByText, getAllByTestId } = render(
+ <TeamOnboarding {...mockProps} />
+ );
+
+ mockProps.teamOnboardingCardsInfo.forEach((card) => {
+ expect(getByText(card.title)).toBeTruthy();
+ expect(getByText(card.description)).toBeTruthy();
+ });
+
+ const icons = getAllByTestId('dummy-icon');
+ expect(icons.length).toBe(mockProps.teamOnboardingCardsInfo.length);
+ });
+});
| Adding teamonboarding coverage | Adding teamonboarding coverage
|
cfdec7db18dad003dc7c86bfdfb60dd5b47850ad | --- package-lock.json
@@ -66,7 +66,7 @@
"@walmart/metrics-mini-app": "0.15.14",
"@walmart/mod-flex-mini-app": "1.11.6",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/money-auth-shared-components": "0.0.4",
+ "@walmart/money-auth-shared-components": "0.0.5",
"@walmart/onewalmart-miniapp": "1.0.16",
"@walmart/pay-stub-miniapp": "0.10.15",
"@walmart/payrollsolution_miniapp": "0.131.15",
@@ -8820,9 +8820,9 @@
}
},
"node_modules/@walmart/money-auth-shared-components": {
- "version": "0.0.4",
- "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.4.tgz",
- "integrity": "sha512-SLJ+8AZ+75b6zX0Hd+9lBdK7ReD3BPrDr7JEdtoTfYSvVXIvkzBU1qUoaZf3DzcKsOIRk5WJfGTSBUYL+4GRzg==",
+ "version": "0.0.5",
+ "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.5.tgz",
+ "integrity": "sha512-sY+AOL4mqGIoR1eqOpK+lAFNCpUAyAki0X1uKMAjTOWTYqBCG5FB+/VqS4wioWc+Mxmh9yZgFmIMnUBxZo+fWQ==",
"hasInstallScript": true,
"dependencies": {
"crypto-js": "^3.3.0",
@@ -34458,9 +34458,9 @@
"version": "1.0.4"
},
"@walmart/money-auth-shared-components": {
- "version": "0.0.4",
- "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.4.tgz",
- "integrity": "sha512-SLJ+8AZ+75b6zX0Hd+9lBdK7ReD3BPrDr7JEdtoTfYSvVXIvkzBU1qUoaZf3DzcKsOIRk5WJfGTSBUYL+4GRzg==",
+ "version": "0.0.5",
+ "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.5.tgz",
+ "integrity": "sha512-sY+AOL4mqGIoR1eqOpK+lAFNCpUAyAki0X1uKMAjTOWTYqBCG5FB+/VqS4wioWc+Mxmh9yZgFmIMnUBxZo+fWQ==",
"requires": {
"crypto-js": "^3.3.0",
"react-native-drop-shadow": "^0.0.6"
--- package.json
@@ -107,7 +107,7 @@
"@walmart/metrics-mini-app": "0.15.14",
"@walmart/mod-flex-mini-app": "1.11.6",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/money-auth-shared-components": "0.0.4",
+ "@walmart/money-auth-shared-components": "0.0.5",
"@walmart/onewalmart-miniapp": "1.0.16",
"@walmart/pay-stub-miniapp": "0.10.15",
"@walmart/payrollsolution_miniapp": "0.131.15",
| bump version | bump version
|
2881a78a6f9cb203503dd4a880fce02c28420ad9 | --- src/services/PushNotificationApi.ts
@@ -45,11 +45,11 @@ export const PushNotificationApi: IPushNotificationApi = {
.post(
'http://texting-notification-service-dev.smdv-backend.k8s.glb.us.walmart.net/notifyRecipients',
{
- title: 'Vishal',
- alert: 'Hey How are you?',
- recipients: ['j0w0558'],
- storeNumber: 100,
- channelId: 'Abc',
+ title: senderName,
+ alert: message,
+ recipients: recipients,
+ storeNumber: storeNumber,
+ channelId: channelId,
},
{
headers: {
--- src/services/PushNotificationApi.ts
@@ -45,11 +45,11 @@ export const PushNotificationApi: IPushNotificationApi = {
.post(
'http://texting-notification-service-dev.smdv-backend.k8s.glb.us.walmart.net/notifyRecipients',
{
- title: 'Vishal',
- alert: 'Hey How are you?',
- recipients: ['j0w0558'],
- storeNumber: 100,
- channelId: 'Abc',
+ title: senderName,
+ alert: message,
+ recipients: recipients,
+ storeNumber: storeNumber,
+ channelId: channelId,
},
{
headers: {
| updating API to use correct params | updating API to use correct params
|
99cd313fd6f3241a2514616abaf971db130119b6 | --- packages/expo-config-plugins/src/withWebexSDK.ts
@@ -4,7 +4,6 @@ import {
withSettingsGradle,
withAppBuildGradle,
withInfoPlist,
- withPodfile,
} from "@expo/config-plugins";
import { mergeContents } from "@expo/config-plugins/build/utils/generateCode";
import withSounds from "./withSounds";
@@ -21,39 +20,6 @@ export const withWebexSDK: ConfigPlugin = (config) => {
return config;
});
- // Podfile post install script to delete unnecessary files
- config = withPodfile(config, (config) => {
- config.modResults.contents = mergeContents({
- tag: "webex-sdk-podfile",
- src: config.modResults.contents,
- newSrc:
- `framework_path = "#{installer.sandbox.root}/WebexSDK/FrameworksCallingOnly"
-
- files_to_delete = [
- "wbxaecodec.xcframework/ios-arm64/wbxaecodec.framework/ce_codec_lib_exports_723b8c1e_package_b1_v5.bin",
- "WebexSDK.xcframework/ios-arm64/WebexSDK.framework/PortraitSeg.mlmodelc",
- "WebexSDK.xcframework/ios-arm64/WebexSDK.framework/PortraitSegNew.mlmodelc",
- "WebexSDK.xcframework/ios-arm64/WebexSDK.framework/wseFilter.metallib",
- ]
-
- files_to_delete.each do |file|
- full_path = File.join(framework_path, file)
- if File.exist?(full_path) || Dir.exist?(full_path)
- puts "Deleting: #{full_path}"
- FileUtils.rm_rf(full_path)
- else
- puts "File or directory not found: #{full_path}"
- end
- end`
- ,
- anchor: /post_install do |installer/,
- offset: 2,
- comment: "#",
- }).contents;
-
- return config;
- });
-
config = withAppDelegate(config, (config) => {
config.modResults.contents = mergeContents({
tag: "webex-sdk-import",
| Revert "chore: Add post-install script in Podfile (#209)" (#228) | Revert "chore: Add post-install script in Podfile (#209)" (#228)
This reverts commit df6cd06a094134a3861871eefd5f65fef3bf18d3. |
4f6f7daea06adfbec96a729e67347b8958f49a7b | --- packages/core-services-allspark/src/graphql/provider.tsx
@@ -26,10 +26,13 @@ export const AllsparkGraphqlProvider = (props: PropsWithChildren<{}>) => {
const env = useEnvironment<IAllsparkEnvConfig>();
const logger = useLoggerClone<IAllsparkLogger>({}, { id: 'graphql' });
// const localStorage = useLocalStorage<IAllsparkLocalStorage>();
+ const athenaConfig = env.athena;
const httpClient = useHttpClientClone(
{
- baseURL: env.graphqlUrl,
+ baseURL: athenaConfig.useShadowGateway
+ ? athenaConfig.shadowGateway
+ : athenaConfig.url,
headers: {
'WM_SVC.NAME': ATHENA_SVC_NAME,
'WM_SVC.ENV': env.env,
@@ -41,7 +44,7 @@ export const AllsparkGraphqlProvider = (props: PropsWithChildren<{}>) => {
const links = useMemo(() => {
const loggerLink = createErrorLoggerLink(logger);
- if (env.env === 'dev') {
+ if (athenaConfig.useShadowGateway) {
return [contentTypeHeaderLink, typeRemappingLink, loggerLink];
}
@@ -59,14 +62,58 @@ export const AllsparkGraphqlProvider = (props: PropsWithChildren<{}>) => {
// cache: AllsparkCache,
// // @ts-ignore
// storage: new LocalStorageWrapper(localStorage),
+ // trigger: 'write',
+ // debug: true,
// persistenceMapper: async (data) => {
- // // filter your cached data and queries
- // console.log('PERSISTENCE MAPPER DATA', data);
- // return data;
+ // console.log('persistenceMapper', JSON.parse(data));
+ // const parsed = JSON.parse(data);
+
+ // const mapped = {};
+ // const persistEntities = [];
+ // const rootQuery = parsed.ROOT_QUERY;
+
+ // // Copy root query and all queries marked for persistence
+ // mapped.ROOT_QUERY = Object.keys(rootQuery).reduce(
+ // (obj, key) => {
+ // if (key === '__typename') return obj;
+
+ // if (persistedQueries.includes(key)) {
+ // obj[key] = rootQuery[key];
+
+ // // Push references to list for copying in next step
+ // if (Array.isArray(rootQuery[key])) {
+ // const entities = rootQuery[key].map((item) => item.__ref);
+ // persistEntities.push(...entities);
+ // } else {
+ // const entity = rootQuery[key].__ref;
+ // persistEntities.push(entity);
+ // }
+ // }
+
+ // return obj;
+ // },
+ // { __typename: 'Query' }
+ // );
+
+ // // Add all entities marked for persistence by ref in list. If entities also have a ref in
+ // // on of their keys then add it to list as well. Will keep iterating until done
+ // while (persistEntities.length > 0) {
+ // const entityKey = persistEntities.shift();
+ // mapped[entityKey] = parsed[entityKey];
+
+ // Object.keys(parsed[entityKey]).forEach((nestedEntityKey) => {
+ // if (parsed[entityKey][nestedEntityKey]?.__ref) {
+ // persistEntities.push(parsed[entityKey][nestedEntityKey].__ref);
+ // }
+ // });
+ // }
+
+ // return JSON.stringify(mapped);
// },
// });
- // persistor;
- // });
+
+ // persistor.restore();
+ // }, []);
return (
<AllsparkGraphQLProvider
--- packages/core-services-allspark/src/types/index.ts
@@ -34,7 +34,16 @@ export type IAllsparkEnvConfig = EnvConfig & {
internalUrl: string;
externalUrl: string;
bffService: string;
- graphqlUrl: string;
+ athena:
+ | {
+ url: string;
+ useShadowGateway?: false;
+ }
+ | {
+ url: string;
+ useShadowGateway: true;
+ shadowGateway: string;
+ };
splunk: {
url: string;
index: string;
| feat: update athena config to toggle use of shadow gateway in one env | feat: update athena config to toggle use of shadow gateway in one env
|
f1c8de1638b9f21b90e6476eda2964fe944773c9 | --- packages/allspark-foundation/__tests__/Environment/setup.test.tsx
@@ -0,0 +1,36 @@
+import React from 'react';
+import { render } from '@testing-library/react-native';
+import { RecursivePartial } from '@walmart/allspark-utils';
+import { AllsparkEnvironment } from '../../src/Environment/client';
+import { BaseAllsparkEnvironment, EnvironmentConfigMap, EnvironmentType } from '../../src/Environment/types';
+import { EnvironmentSetupGuard } from '../../src/Environment/setup';
+
+jest.mock('../../src/Environment/client', () => ({
+ AllsparkEnvironment: {
+ initialize: jest.fn(),
+ },
+}));
+
+describe('EnvironmentSetupGuard', () => {
+ const env: EnvironmentType = 'production';
+ const config: EnvironmentConfigMap<BaseAllsparkEnvironment> = {
+ production: { apiUrl: 'https://api.com' },
+ development: { apiUrl: 'https://dev.ap.com' },
+ };
+ const overrides: RecursivePartial<BaseAllsparkEnvironment> = {
+ apiUrl: 'https://override.api.com',
+ };
+
+ it('should call AllsparkEnvironment.initialize with the correct arguments', async () => {
+ render(
+ <EnvironmentSetupGuard env={env} config={config} overrides={overrides}>
+ <></>
+ </EnvironmentSetupGuard>
+ );
+ expect(AllsparkEnvironment.initialize).toHaveBeenCalledWith({
+ env: overrides.env || env,
+ config,
+ overrides,
+ });
+ });
+ });
\ No newline at end of file
--- packages/allspark-foundation/__tests__/Feature/AllsparkFeature.test.tsx
@@ -0,0 +1,96 @@
+import { AllsparkFeature } from '../../src/Feature/AllsparkFeature';
+import { AllsparkHttpClient } from '../../src/HTTP';
+
+jest.mock('../../HTTP');
+jest.mock('../../GraphQL');
+jest.mock('../../Logger');
+jest.mock('../../Translation');
+
+describe('AllsparkFeature', () => {
+ let feature: AllsparkFeature<'testFeature'>;
+
+ beforeEach(() => {
+ feature = new AllsparkFeature('testFeature');
+ });
+
+ afterEach(() => {
+ jest.clearAllMocks();
+ });
+
+ it('should create an HTTP client', () => {
+ const config = { baseURL: 'https://api.com' };
+ const createFeatureClientMock = jest.fn();
+ AllsparkHttpClient.createFeatureClient = createFeatureClientMock;
+ feature.createHttpClient(config);
+ expect(createFeatureClientMock).toHaveBeenCalledWith('testFeature', config);
+ });
+
+ it('should create a GraphQL client', () => {
+ const config = { uri: 'https://graphql.com' };
+ const results = feature.createGraphQLClient(config);
+ expect(results.featureId).toBe('testFeature');
+ expect(results.config).toEqual({
+ uri: 'https://graphql.com',
+ headers: { featureId: 'testFeature' },
+ });
+ });
+
+ it('should create a translation client', () => {
+ const results = feature.createTranslationClient();
+ expect(results).toEqual({
+ addResources: expect.any(Function),
+ useTranslation: expect.any(Function),
+ featureID: 'testFeature',
+ translate: expect.objectContaining({
+ lngs: null,
+ ns: 'testFeature',
+ keyPrefix: undefined,
+ }),
+ });
+});
+ it('should create a reducer from a function', () => {
+ const reducer = jest.fn();
+ const createdReducer = feature.createReducer(reducer);
+ expect(createdReducer).toBe(reducer);
+ });
+
+ it('should create a reducer from a map of reducers', () => {
+ const slice1Reducer = jest.fn();
+ const slice2Reducer = jest.fn();
+ const reducersMap = {
+ slice1: slice1Reducer,
+ slice2: slice2Reducer,
+ };
+ const combinedReducer = feature.createReducer(reducersMap);
+ expect(typeof combinedReducer).toBe('function');
+ });
+
+ it('should create a saga function', () => {
+ const saga = jest.fn();
+ const createdSaga = feature.createSaga(saga);
+ expect(typeof createdSaga).toBe('function');
+ });
+ it('should handle an empty array of sagas', () => {
+ const createdSaga = feature.createSaga([]);
+ const generator = createdSaga();
+ expect(generator).toBeInstanceOf(Object);
+ expect(generator.next().done).toBe(false);
+ expect(generator.next().value).toBeUndefined();
+ });
+ it('should create a module once and return the same instance', () => {
+ const config = { modals: {}, screens: {} };
+ const module1 = feature.createModule(config);
+ const module2 = feature.createModule(config);
+ expect(module1).toBe(module2);
+ });
+ it('should log a warning if createModule is called multiple times', () => {
+ const config = { modals: {}, screens: {} };
+ const warnSpy = jest.spyOn(console, 'warn').mockImplementation(() => {});
+ feature.createModule(config);
+ feature.createModule(config);
+ expect(warnSpy).toHaveBeenCalledWith(
+ `AllsparkFeature(testFeature).createModule called multiple times. A feature module shoud only be created once. All subsequent calls will be ignored.`
+ );
+ }
+);
+});
| all spark feature test | all spark feature test
|
c39fa6f9b4398a31ae411eaa514f492297259e42 | --- package-lock.json
@@ -51,7 +51,7 @@
"@walmart/counts-component-miniapp": "0.1.6",
"@walmart/emergency-mini-app": "1.26.1",
"@walmart/exception-mini-app": "1.6.5",
- "@walmart/facilities-management-miniapp": "0.6.79",
+ "@walmart/facilities-management-miniapp": "0.6.81",
"@walmart/feedback-all-spark-miniapp": "0.9.50",
"@walmart/financial-wellbeing-feature-app": "1.13.7",
"@walmart/functional-components": "~4.0.3",
@@ -8292,9 +8292,9 @@
}
},
"node_modules/@walmart/facilities-management-miniapp": {
- "version": "0.6.79",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.79.tgz",
- "integrity": "sha512-rO4qxlwU9sl22cEuq4h4Aljqve5zdhUm60Z1IEYswvBQXlku0eC1vvo0Z4nAn0eRszhCIZhABWr1RRqqj8Nv7g==",
+ "version": "0.6.81",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.81.tgz",
+ "integrity": "sha512-/kyGLn/7U1NrUmB50fCg2hVcFNc7ZMSWahl+8kkLYR5XJ9bETiFSE5eJkbCJ8Hw1HMXloEXt4a/MoEc6k1eFKg==",
"hasInstallScript": true,
"peerDependencies": {
"@react-native-camera-roll/camera-roll": "5.6.0",
@@ -34288,9 +34288,9 @@
"integrity": "sha512-luIn9pSsohNep8F4kUtyhnrol0HoVAPQpZzDZ3dvxKCKquH0oASjFfJE9nIWJ8lywUb0buOnf9MOls+0oUljAQ=="
},
"@walmart/facilities-management-miniapp": {
- "version": "0.6.79",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.79.tgz",
- "integrity": "sha512-rO4qxlwU9sl22cEuq4h4Aljqve5zdhUm60Z1IEYswvBQXlku0eC1vvo0Z4nAn0eRszhCIZhABWr1RRqqj8Nv7g=="
+ "version": "0.6.81",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.81.tgz",
+ "integrity": "sha512-/kyGLn/7U1NrUmB50fCg2hVcFNc7ZMSWahl+8kkLYR5XJ9bETiFSE5eJkbCJ8Hw1HMXloEXt4a/MoEc6k1eFKg=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.9.50",
--- package.json
@@ -92,7 +92,7 @@
"@walmart/counts-component-miniapp": "0.1.6",
"@walmart/emergency-mini-app": "1.26.1",
"@walmart/exception-mini-app": "1.6.5",
- "@walmart/facilities-management-miniapp": "0.6.79",
+ "@walmart/facilities-management-miniapp": "0.6.81",
"@walmart/feedback-all-spark-miniapp": "0.9.50",
"@walmart/financial-wellbeing-feature-app": "1.13.7",
"@walmart/functional-components": "~4.0.3",
| Drop 16 : FixIT features | Drop 16 : FixIT features
|
00501781a5ec0fff32d6df90d310d5e27d5e489b | --- package.json
@@ -63,7 +63,7 @@
"@redux-saga/testing-utils": "^1.1.3",
"@sharcoux/slider": "^5.2.1",
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
- "@walmart/shelfavailability-mini-app": "0.3.59",
+ "@walmart/shelfavailability-mini-app": "0.3.60",
"@walmart/allspark-health-survey-mini-app": "0.0.41",
"@walmart/allspark-home-mini-app": "0.4.21",
"@walmart/allspark-me-mini-app": "0.1.0",
| 0.3.60 dev build | 0.3.60 dev build
|
9c0135b1ca4917dbbee53f4b603ed3d7a8e5fd5b | --- __tests__/home/containers/HomeScreenTest.tsx
@@ -60,7 +60,7 @@ jest.mock('../../../src/home/components/TaskCard', () => ({
TaskCard: 'TaskCard',
}));
jest.mock('../../../src/home/components/CopilotCard', () => ({
- TaskCard: 'CopilotCard',
+ CopilotCard: 'CopilotCard',
}));
const setRefresh = jest.fn();
--- __tests__/home/containers/__snapshots__/HomeScreenTest.tsx.snap
@@ -286,7 +286,7 @@ exports[`HomeScreen renders 1`] = `
]
}
>
- <QuickActionCard />
+ <CopilotCard />
</View>
</View>
<View
@@ -663,7 +663,7 @@ exports[`HomeScreen renders after change in site 1`] = `
]
}
>
- <QuickActionCard />
+ <CopilotCard />
</View>
</View>
<View
@@ -1040,7 +1040,7 @@ exports[`HomeScreen renders when layout is null 1`] = `
]
}
>
- <QuickActionCard />
+ <CopilotCard />
</View>
</View>
<View
@@ -1417,7 +1417,7 @@ exports[`HomeScreen renders when refreshing 1`] = `
]
}
>
- <QuickActionCard />
+ <CopilotCard />
</View>
</View>
<View
@@ -1811,7 +1811,7 @@ exports[`HomeScreen renders with refresh Map 1`] = `
]
}
>
- <QuickActionCard />
+ <CopilotCard />
</View>
</View>
<View
| chore: fix tests | chore: fix tests
|
90234ad6804d004c4e3c51a83866da7a03c99988 | --- packages/allspark-foundation-hub/src/SupplyChain/translation.ts
@@ -20,7 +20,7 @@ export const enUS = {
allSaved: 'All saved teams',
},
editSavedTeamsModal: {
- title: 'Edit My Saved Teams',
+ title: 'Edit my saved teams',
subTitle: "Tap the star to save teams you're interested in.",
},
footerButtons: {
| Adding translation change | Adding translation change
|
ada51fbfe6de95c9e2697630865a4bc42084e857 | --- package-lock.json
@@ -67,7 +67,7 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.5",
+ "@walmart/wmconnect-mini-app": "1.0.6",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
@@ -11853,9 +11853,9 @@
}
},
"node_modules/@walmart/wmconnect-mini-app": {
- "version": "1.0.5",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.5.tgz",
- "integrity": "sha512-UknVlgxDqjQgmOWLkSuw+w9aowxzOETeAhDtWnbuLZUO8yCfl4Oo2Mfz9N/FesUleQ6woTgKlZqZ11O3UypFmg==",
+ "version": "1.0.6",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.6.tgz",
+ "integrity": "sha512-1+LEnQr5HCI7BSDxUd75pCRDm8jG4/elNxrD4MzZEUt/bYo7m2g0Z3k4M4WGH/ARlt84clFZPWS9U7OEvoEm7w==",
"dev": true,
"hasInstallScript": true
},
@@ -41071,9 +41071,9 @@
}
},
"@walmart/wmconnect-mini-app": {
- "version": "1.0.5",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.5.tgz",
- "integrity": "sha512-UknVlgxDqjQgmOWLkSuw+w9aowxzOETeAhDtWnbuLZUO8yCfl4Oo2Mfz9N/FesUleQ6woTgKlZqZ11O3UypFmg==",
+ "version": "1.0.6",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.6.tgz",
+ "integrity": "sha512-1+LEnQr5HCI7BSDxUd75pCRDm8jG4/elNxrD4MzZEUt/bYo7m2g0Z3k4M4WGH/ARlt84clFZPWS9U7OEvoEm7w==",
"dev": true
},
"@whatwg-node/events": {
--- package.json
@@ -90,7 +90,7 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.5",
+ "@walmart/wmconnect-mini-app": "1.0.6",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
| Update version | Update version
|
acd26afafbf4ef168ee015fdd5e55e740710b7a2 | --- __tests__/biometrics/BiometricSagasTest.tsx
@@ -1,3 +1,4 @@
+import {AppState} from 'react-native';
import {call, take, put, takeLatest, select} from 'redux-saga/effects';
import Biometrics from 'react-native-biometrics';
import {navigate} from '@walmart/react-native-shared-navigation';
@@ -187,6 +188,7 @@ describe('checkBiometricsAvailable', () => {
describe('promptBiometric', () => {
it('calls expected actions on available', () => {
+ AppState.currentState = 'active';
const iterator = promptBiometric();
expect(iterator.next().value).toEqual(call(checkBiometricsAvailable));
expect(iterator.next(true).value).toEqual(call(handleBiometricPrompt));
@@ -194,10 +196,17 @@ describe('promptBiometric', () => {
});
it('calls expected actions on not available', () => {
+ AppState.currentState = 'active';
const iterator = promptBiometric();
expect(iterator.next().value).toEqual(call(checkBiometricsAvailable));
expect(iterator.next(false).done).toEqual(true);
});
+
+ it('does nothing when app state is not active', () => {
+ AppState.currentState = 'background';
+ const iterator = promptBiometric();
+ expect(iterator.next().done).toEqual(true);
+ });
});
describe('handleBiometricSetup', () => {
--- src/biometrics/BiometricSagas.ts
@@ -1,3 +1,4 @@
+import {AppState} from 'react-native';
import {call, take, put, takeLatest, select} from 'redux-saga/effects';
import Biometrics from 'react-native-biometrics';
import {navigate} from '@walmart/react-native-shared-navigation';
@@ -82,10 +83,12 @@ export function* checkBiometricsAvailable(): any {
}
export function* promptBiometric(): any {
- const available = yield call(checkBiometricsAvailable);
+ if (AppState.currentState === 'active') {
+ const available = yield call(checkBiometricsAvailable);
- if (available) {
- yield call(handleBiometricPrompt);
+ if (available) {
+ yield call(handleBiometricPrompt);
+ }
}
}
--- src/core/appConfigInit.ts
@@ -151,7 +151,6 @@ export const onConfigChanged = (result: AppConfigCallbackHandlerResult) => {
export function* watchForSuccessToSetupListener(): any {
yield take(AppConfigTypes.CONFIG_FETCH_SUCCESS);
const configScope = yield call(getAppConfigScope);
- console.log('setting up app config listener', configScope);
yield call(
AppConfig.addAppConfigListener,
APP_STORE_CONFIG_SUBSCRIPTION_KEY,
| Biometric prompt fix | Biometric prompt fix
|
f674ce2879b834073b5f11b18822500578e9cab3 | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 73
+ versionCode 74
versionName "1.0.5"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>73</string>
+ <string>74</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>73</string>
+ <string>74</string>
</dict>
</plist>
| Incrementing build number | Incrementing build number
|
fd33f66f2257757178dd6026da490f972c6a126c | --- __tests__/sumo/SumoSagasTest.ts
@@ -1,5 +1,13 @@
import {Platform} from 'react-native';
-import {all, takeLatest, select, call, take, put} from 'redux-saga/effects';
+import {
+ all,
+ takeLatest,
+ select,
+ call,
+ take,
+ put,
+ debounce,
+} from 'redux-saga/effects';
import WmNotification, {
Domain,
SumoPushEventTypes,
@@ -504,7 +512,7 @@ describe('sumoSagas', () => {
takeLatest(USER_CHANGED_ACTIONS, onUserChange),
takeLatest(SumoTypes.OPT_IN_REQUEST, onOptInRequest),
takeLatest(SumoTypes.PROFILE_SUCCESS, persistOptInSetting),
- takeLatest(SIGN_OUT_SUCCESS, onSignOut),
+ debounce(500, SIGN_OUT_SUCCESS, onSignOut),
takeLatest(TOKEN_CHANGED_ACTION, onTokenChanged),
takeLatest(StartupTypes.MINI_APP_NAV_STACK_LOADED, onMiniAppReplay),
]),
--- src/sumo/SumoSagas.ts
@@ -1,7 +1,15 @@
/* eslint-disable curly */
import {Platform} from 'react-native';
import {AnyAction} from 'redux';
-import {all, takeLatest, select, call, take, put} from 'redux-saga/effects';
+import {
+ all,
+ takeLatest,
+ select,
+ call,
+ take,
+ put,
+ debounce,
+} from 'redux-saga/effects';
import {User} from '@walmart/redux-store';
import WmNotification, {
Domain,
@@ -268,7 +276,7 @@ export function* sumoSagas() {
takeLatest(USER_CHANGED_ACTIONS, onUserChange),
takeLatest(SumoTypes.OPT_IN_REQUEST, onOptInRequest),
takeLatest(SumoTypes.PROFILE_SUCCESS, persistOptInSetting),
- takeLatest(SIGN_OUT_SUCCESS, onSignOut),
+ debounce(500, SIGN_OUT_SUCCESS, onSignOut),
takeLatest(TOKEN_CHANGED_ACTION, onTokenChanged),
takeLatest(StartupTypes.MINI_APP_NAV_STACK_LOADED, onMiniAppReplay),
]),
| Adding debounce to sumo sign out saga | Adding debounce to sumo sign out saga
|
ee182222607aaaf594d646541cc43f2a730c7cc9 | --- package-lock.json
@@ -3202,9 +3202,9 @@
"integrity": "sha512-ooH0AqLGhS5PNcLaOWRHAEIIvrYIyTUXqshlHkgEKDLhLtGW8WvFu0mlcCXb1FEUc/PVmKEzHNHYV1gzGNBqxQ=="
},
"@walmart/react-native-logger": {
- "version": "1.25.0",
- "resolved": "https://npme.walmart.com/@walmart/react-native-logger/-/react-native-logger-1.25.0.tgz",
- "integrity": "sha512-Phn9ohuTTfIt9pXO3mjOxKMq8Twc1c8sTD8GbpZX24V8F2l8X3OvRngyxymaldP5+cYZeFBch/wya+Wk1sucvQ=="
+ "version": "1.26.0",
+ "resolved": "https://npme.walmart.com/@walmart/react-native-logger/-/react-native-logger-1.26.0.tgz",
+ "integrity": "sha512-+3oS/C6w3EqIJwWwhqnnwQz06sDBXxhW0oPmybzAmpCqbBAvzWKdOy41oizfjXrPqkFzPldGT3V8C0HbCdZrHg=="
},
"@walmart/react-native-shared-navigation": {
"version": "0.4.0",
--- package.json
@@ -79,7 +79,7 @@
"@walmart/moment-walmart": "1.0.4",
"@walmart/push-to-talk-mini-app": "0.5.12",
"@walmart/react-native-env": "^0.1.0",
- "@walmart/react-native-logger": "^1.25.0",
+ "@walmart/react-native-logger": "^1.26.0",
"@walmart/react-native-shared-navigation": "^0.4.0",
"@walmart/redux-store": "^1.0.12",
"@walmart/schedule-mini-app": "0.2.75",
| bugfix logger version change | bugfix logger version change
|
02368eec2ebe7a119fd5c898d591b543e9ed9c96 | --- graphql.yml
@@ -1,6 +1,9 @@
schemaVersion: "1.0.0"
enableGating: true
teamRostersProductId: 1824
+notify:
+ slack:
+ channelName: "smdv-miniapp"
applications:
- name: "WMCONNECT-MINIAPP"
applicationKey: "WMCONNECT-MINIAPP"
| Addressing comments | Addressing comments
|
1a6a3594944de99ace53f4fa96fba0ce762d488e | --- __tests__/navigation/AssociateHallwayNav/__snapshots__/SideMenuContentTest.tsx.snap
@@ -18,10 +18,10 @@ exports[`SideMenuContent matches snapshot for undefined user info, and can imper
developersText="impersonation.developers"
deviceType="PERSONAL"
displayName="Sam Walton"
- displayPttAlert={0}
- displayTaskItAlert={false}
- displayTimeClock={true}
enableDevelopersOption={true}
+ enablePttAlert={0}
+ enableTaskItAlert={false}
+ enableTimeClock={true}
error={true}
errorText="menu.errorText"
globalNavConfig={
@@ -100,10 +100,10 @@ exports[`SideMenuContent matches snapshot with not user/clockstatus data 1`] = `
developersText="impersonation.developers"
deviceType="PERSONAL"
displayName="Sam Walton"
- displayPttAlert={0}
- displayTaskItAlert={false}
- displayTimeClock={true}
enableDevelopersOption={false}
+ enablePttAlert={0}
+ enableTaskItAlert={false}
+ enableTimeClock={true}
error={false}
errorText="menu.errorText"
globalNavConfig={
@@ -182,10 +182,10 @@ exports[`SideMenuContent matches snapshot with user/clockstatus data 1`] = `
developersText="impersonation.developers"
deviceType="PERSONAL"
displayName="Sam Walton"
- displayPttAlert={0}
- displayTaskItAlert={true}
- displayTimeClock={true}
enableDevelopersOption={false}
+ enablePttAlert={0}
+ enableTaskItAlert={true}
+ enableTimeClock={true}
error={false}
errorText="menu.errorText"
globalNavConfig={
--- src/navigation/AssociateHallwayNav/SideMenuContent.tsx
@@ -152,10 +152,10 @@ export const SideMenuContent: React.FC<DrawerContentComponentProps> = (
errorText={translate('menu.errorText')}
retryText={translate('menu.retryText')}
onRetry={onRetry}
- displayTaskItAlert={!!highPriorityCount}
+ enableTaskItAlert={!!highPriorityCount}
showInboxBadge={!!badgesCount}
- displayPttAlert={0}
- displayTimeClock={true}
+ enablePttAlert={0}
+ enableTimeClock={true}
/>
<Dialog
testID='signoutDialog'
--- src/types/ui-components.d.ts
@@ -73,9 +73,9 @@ declare module '@walmart/ui-components/containers' {
retryText?: string;
onRetry?: () => void;
showInboxBadge?: boolean;
- displayTaskItAlert?: boolean;
- displayTimeClock?: boolean;
- displayPttAlert?: number;
+ enableTaskItAlert?: boolean;
+ enableTimeClock?: boolean;
+ enablePttAlert?: number;
}
export const GlobalNavigation: FC<GlobalNavigationProps>;
| change flag name | change flag name
(cherry picked from commit cd4c5ef0ac35d1a7035e57df697233c69fafbee7)
|
ab996faf5ba4a1062c2fc491bb86e6ee1cd4789a | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Images/images.tsx
@@ -2,166 +2,9 @@ export const Images: Record<
any,
{ teamName: string; uri: string; blurhash: string }
> = {
- '1000100': {
- teamName: 'Admin & Support',
- uri: 'https://i5-me.walmartimages.com/images/teams/task-image-store-02bdfd7611.png',
- blurhash: 'KyL}88t7-oact7xv_4ofbI',
- },
- '1000101': {
- teamName: 'Asset Protection',
- uri: 'https://i5-me.walmartimages.com/images/teams/asset-protection-mgr-exp-d80866e781.png',
- blurhash: 'KvSYgSWX%%n#fRWE%$j@IA',
- },
- '1000102': {
- teamName: 'Support',
- uri: 'https://i5-me.walmartimages.com/images/teams/task-image-store-02bdfd7611.png',
- blurhash: 'KXR:A^%h.AbIj?j??aM|M{',
- },
- '1000121': {
- teamName: 'Pharmacy',
- uri: 'https://i5-me.walmartimages.com/images/teams/pharmacy-mgr-exp-0bb55f5d3a.png',
- blurhash: 'KPRC}S^H~o%gS%RP^iNfIp',
- },
- '1000187': {
- teamName: 'Hardlines',
- uri: 'https://i5-me.walmartimages.com/images/teams/task-image-hardlines-4d16bea505.png',
- blurhash: 'KMRftdET-;?ExVX9~p${Mx',
- },
- '1000197': {
- teamName: 'Vision Center',
- uri: 'https://i5-me.walmartimages.com/images/teams/vision-center-mgr-exp-ab77e0d87a.png',
- blurhash: 'KaRyjDax%jkDj@ax_3fkM^',
- },
- '1000198': {
- teamName: 'Entertainment',
- uri: 'https://i5-me.walmartimages.com/images/teams/entertainment-mgr-exp-e26362ff74.png',
- blurhash: 'KRQTGy4;^*R+IokC~U-SIp',
- },
- '1000282': {
- teamName: 'Apparel',
- uri: 'https://i5-me.walmartimages.com/images/teams/apparel-mgr-exp-dd10fcf60a.png',
- blurhash: 'KpR37uNL?^S*jYng?vxZD%',
- },
- '1000284': {
- teamName: 'Home',
- uri: 'https://i5-me.walmartimages.com/images/teams/home-mgr-exp-d28248e984.png',
- blurhash: 'KmT8%Pofb{b{off4lCj[i]',
- },
- '1000316': {
- teamName: 'Meat/Produce',
- uri: 'https://i5-me.walmartimages.com/images/teams/task-image-meatproduce-a5965a9074.png',
- blurhash: 'KlRM6ytR?^Sin$t7.9jFMw',
- },
- '1000317': {
- teamName: 'Fresh',
- uri: 'https://i5-me.walmartimages.com/images/teams/task-image-store-02bdfd7611.png',
- blurhash: 'KXR:A^%h.AbIj?j??aM|M{',
- },
- '1000318': {
- teamName: 'Food/Consumables',
- uri: 'https://i5-me.walmartimages.com/images/teams/food-consumables-mgr-exp-792b257616.png',
- blurhash: 'KrSrDdtQpft2ayo#u5VtVr',
- },
- '1000319': {
- teamName: 'Fuel',
- uri: 'https://i5-me.walmartimages.com/images/teams/fuel-mgr-exp-ba49035dfd.png',
- blurhash: 'KNR:Nc%M^#xbIoxt~Ta#4;',
- },
- '1000326': {
- teamName: 'Digital',
- uri: 'https://i5-me.walmartimages.com/images/teams/digital-mgr-exp-e10d2521ae.png',
- blurhash: 'KbQT1H?D_2-:SjNK~pIXD*',
- },
- '1000348': {
- teamName: 'Digital ON',
- uri: 'https://i5-me.walmartimages.com/images/teams/digital-mgr-exp-e10d2521ae.png',
- blurhash: 'KbQT1H?D_2-:SjNK~pIXD*',
- },
- '1000328': {
- teamName: 'Seasonal',
- uri: 'https://i5-me.walmartimages.com/images/teams/seasonal-mgr-exp-47f206a109.png',
- blurhash: 'KRQJl#=~~q?Gx]IU~qR%IU',
- },
- '1000329': {
- teamName: 'Deli/Bakery',
- uri: 'https://i5-me.walmartimages.com/images/teams/deli-and-bakery-mgr-exp-1fbe7c4976.png',
- blurhash: 'K%P$ju%Nx^%hWAjY.TWAWA',
- },
- '1000330': {
- teamName: 'Front End',
- uri: 'https://i5-me.walmartimages.com/images/teams/task-image-frontend-280d25ffc2.png',
- blurhash: 'KUPZy2xu~p?bt7IU~pRjIU',
- },
- '1000332': {
- teamName: 'Stocking Day 2',
- uri: 'https://i5-me.walmartimages.com/images/teams/stocking-mgr-exp-95bbbe539a.png',
- blurhash: 'KcSYpupIpKogofae*0VsVr',
- },
- '1000333': {
- teamName: 'Stocking ON',
- uri: 'https://i5-me.walmartimages.com/images/teams/stocking-overnight-mgr-exp-b1a60fceba.png',
- blurhash: 'KbR{fDpJyExakCR*.Ta0R5',
- },
- '1000340': {
- teamName: 'Auto Care Center',
- uri: 'https://i5-me.walmartimages.com/images/teams/auto-care-center-mgr-exp-03bf6ac83d.png',
- blurhash: 'KuP%O:t7-;t7t7WB~qayIU',
- },
- '1000343': {
- teamName: 'Salesfloor',
- uri: 'https://i5-me.walmartimages.com/images/teams/salesfloor-mgr-exp-e5d8982b5e.png',
- blurhash: 'K$OD;BfQ_1skfQbJ~UfQIW',
- },
- '1000346': {
- teamName: 'Stocking Day 1',
- uri: 'https://i5-me.walmartimages.com/images/teams/stocking-mgr-exp-95bbbe539a.png',
- blurhash: 'KcSYpupIpKogofae*0VsVr',
- },
- '1000351': {
- teamName: 'Health & Beauty',
- uri: 'https://i5-me.walmartimages.com/images/teams/health-and-beauty-mgr-exp-a55a6f0206.png',
- blurhash: 'KkPjc0t1^n%MWDkB^-RnIm',
- },
- '1111111': {
- teamName: 'Management',
- uri: 'https://i5-me.walmartimages.com/images/teams/task-image-store-02bdfd7611.png',
- blurhash: 'KyL}88t7-oact7xv_4ofbI',
- },
- 'myTeams': {
- teamName: 'My teams',
- uri: 'https://i5-me.walmartimages.com/images/teams/my-teams-mgr-exp-1edac1ba4a.png',
- blurhash: 'KdM7in%J~q=pn#M{~VNIxU',
- },
- 'total': {
- teamName: 'Total store',
- uri: 'https://i5-me.walmartimages.com/images/teams/task-image-store-02bdfd7611.png',
- blurhash: 'KyL}88t7-oact7xv_4ofbI',
- },
'0000000': {
teamName: 'Default',
uri: 'https://i5-me.walmartimages.com/images/teams/task-image-store-02bdfd7611.png',
blurhash: 'KXR:A^%h.AbIj?j??aM|M{',
},
};
-
-export const OnboardingImages = {
- teamOnboarding: {
- uri: 'https://i5-me.walmartimages.com/images/teams/team-onboarding-mgr-exp-228277d75b.png',
- placeholder: 'KrJuo_NG?wSgodag?aWC$x',
- },
- teamOnboarding_centralized_info: {
- uri: 'https://i5-me.walmartimages.com/images/managerexperience/team-onboarding-2-mgr-exp-904cfe7537.png',
- placeholder: 'K7O|z~?c~T?cj[j[~Tj[WC',
- },
- teamOnboarding_insights: {
- uri: 'https://i5-me.walmartimages.com/images/managerexperience/team-onboarding-1-mgr-exp-0d52f43161.png',
- placeholder: 'KeQTJ?t7~Ut7fRRk-nj[R*',
- },
-};
-
-export const ErrorScreenImages = {
- errorScreen: {
- uri: 'https://i5-me.walmartimages.com/images/metrics/magnifying-glass-error-icon-fb9309e548.png',
- placeholder: 'KLQAN?~9~U=rn$JCyDE3-O',
- },
-};
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/TeamListItem/TeamListItem.tsx
@@ -50,7 +50,7 @@ export const TeamListItem = ({
<TeamImage
resizeMode='contain'
source={{
- uri: Images[teamId ?? teamName]?.uri || Images['0000000'].uri,
+ uri: Images['0000000'].uri,
}}
placeholder={Images[teamId ?? teamName]?.blurhash}
style={styles.teamImage}
| Removing images except default image | Removing images except default image
|
480bdfc27a1d7415df423a420e35050194a3f870 | --- ios/Podfile.lock
@@ -686,7 +686,7 @@ PODS:
- React
- RNCPicker (1.8.1):
- React-Core
- - RNDateTimePicker (3.0.8):
+ - RNDateTimePicker (3.0.9):
- React-Core
- RNDeviceInfo (5.6.5):
- React
@@ -1090,7 +1090,7 @@ SPEC CHECKSUMS:
RNCClipboard: 5e299c6df8e0c98f3d7416b86ae563d3a9f768a3
RNCMaskedView: f5c7d14d6847b7b44853f7acb6284c1da30a3459
RNCPicker: 914b557e20b3b8317b084aca9ff4b4edb95f61e4
- RNDateTimePicker: aab869a517ecf3095910be81093e3d9b27cd82ed
+ RNDateTimePicker: 986d4794006e5caaebd089a724f54d35631a8dd4
RNDeviceInfo: e841619c3dac5495a095c5455473579ff04908d4
RNFastImage: d4870d58f5936111c56218dbd7fcfc18e65b58ff
RNFBAnalytics: 6414e9fe1f36c3074f39cd6265b3def777dbfbdb
--- package-lock.json
@@ -2377,9 +2377,9 @@
"integrity": "sha512-AHAmrkLEH5UtPaDiRqoULERHh3oNv7Dgs0bTC0hO5Z2GdNokAMPT5w8ci8aMcRemcwbtdHjxChgtjbeA38GBdA=="
},
"@react-native-community/datetimepicker": {
- "version": "3.0.8",
- "resolved": "https://npme.walmart.com/@react-native-community/datetimepicker/-/datetimepicker-3.0.8.tgz",
- "integrity": "sha512-85pOIjRnhrUmyWFH52qGGya1MDwE7vU4fDqt21yY6EyT7TolwQvZknwId8TAmREawsMoCMchke6VFo1IqRaUOA==",
+ "version": "3.0.9",
+ "resolved": "https://npme.walmart.com/@react-native-community/datetimepicker/-/datetimepicker-3.0.9.tgz",
+ "integrity": "sha512-8Hel5K2xQNJsGQleUT5fheO60aO0/KhP9nkbDzfGgv3Cdckrf2xWQs0JK3xUhuDoUztpMZS45jqE2WPS7fBdgA==",
"requires": {
"invariant": "^2.2.4"
}
@@ -3231,14 +3231,15 @@
"integrity": "sha512-4VL2h7BKEZNP+QtIaYbQXJ6kpxZdeeCqTA3PvP1L933vlNsilF3y5RO9lCyMsTjWQ+AJ3Ww6gqC/oNDxjTvtGw=="
},
"@walmart/time-clock-mini-app": {
- "version": "0.1.55",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-0.1.55.tgz",
- "integrity": "sha512-P6N5OFs5klRAAPBsiYizFwtl8E+2OJzFXfthhBfYUmlP7Sy7CqfsQRJb11aCpMWnEkJtk3LYL4/R1OSz+Vbccw==",
+ "version": "0.2.1",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-0.2.1.tgz",
+ "integrity": "sha512-xZC323mVbo2tCnVRt/aNOWPE2TKjH4mWmhFnE48xPW2hjjGvkYxr7+jgOHUJBv2fUkR7/WzbzhCJzKIgoNFYSg==",
"requires": {
- "@react-native-community/datetimepicker": "^3.0.3",
+ "@react-native-community/datetimepicker": "3.0.9",
"javascript-time-ago": "^2.3.4",
"moment-timezone": "^0.5.31",
- "react-native-geolocation-service": "^5.0.0"
+ "react-native-geolocation-service": "^5.0.0",
+ "wfm-allspark-data-library": "^0.0.19"
},
"dependencies": {
"javascript-time-ago": {
@@ -3248,6 +3249,16 @@
"requires": {
"relative-time-format": "^1.0.5"
}
+ },
+ "wfm-allspark-data-library": {
+ "version": "0.0.19",
+ "resolved": "https://npme.walmart.com/wfm-allspark-data-library/-/wfm-allspark-data-library-0.0.19.tgz",
+ "integrity": "sha512-oSOCmyqrck/dJBNhry3TvzVgjBOhFTvW/hr46SGL5dV6EPSdlDPoAvMPfn2sk1bYGNC3T8KR/NQLS7vy1wh37w==",
+ "requires": {
+ "azure-storage": "2.10.3",
+ "crypto-js": "^3.3.0",
+ "url": "^0.11.0"
+ }
}
}
},
--- package.json
@@ -41,7 +41,7 @@
"@react-native-community/art": "^1.2.0",
"@react-native-community/async-storage": "^1.11.0",
"@react-native-community/clipboard": "^1.5.0",
- "@react-native-community/datetimepicker": "^3.0.3",
+ "@react-native-community/datetimepicker": "3.0.9",
"@react-native-community/hooks": "^2.6.0",
"@react-native-community/masked-view": "^0.1.10",
"@react-native-community/netinfo": "^5.9.5",
@@ -79,7 +79,7 @@
"@walmart/redux-store": "^1.0.12",
"@walmart/schedule-mini-app": "0.2.72",
"@walmart/settings-mini-app": "1.2.3",
- "@walmart/time-clock-mini-app": "0.1.55",
+ "@walmart/time-clock-mini-app": "0.2.1",
"@walmart/ui-components": "1.1.6",
"@walmart/welcomeme-mini-app": "0.5.27",
"@walmart/wfm-ui": "^0.1.50",
| GTA drop 2 changes (#505) | GTA drop 2 changes (#505)
Co-authored-by: Noor Mohiuddin <noor.mohiuddin@outlook.com> |
852c4b501b2c05d6b666f13c5f1ad09d06f44d54 | --- __tests__/auth/AuthenticatorViewTest.tsx
@@ -1,6 +1,6 @@
import React, {useState} from 'react';
import {useSelector} from 'react-redux';
-import {create, act} from 'react-test-renderer';
+import {create} from 'react-test-renderer';
import WmTelemetry from 'react-native-wm-telemetry';
import {useNavigation} from '@react-navigation/native';
import {useTranslation} from 'react-i18next';
| Lint fix | Lint fix
|
29928485e881fdbd8b64bcdcd3dc162f614a40ca | --- packages/allspark-foundation/src/Translation/types.ts
@@ -24,7 +24,7 @@ export type TranslationOptions = TOptions;
* A translation resource for a particular feature and language
*/
export type FeatureTranslationResource = {
- [key: string]: string | FeatureTranslationResource;
+ [key: string]: any | FeatureTranslationResource;
};
/**
| fix: translation resources not accepting previously allowed types by i18n directly | fix: translation resources not accepting previously allowed types by i18n directly
|
c75639277abf3d0b47fc4e73e75803a62a6e6dc7 | --- targets/US/package.json
@@ -86,7 +86,7 @@
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.24.7",
"@walmart/associate-listening-mini-app": "1.2.7",
- "@walmart/attendance-mini-app": "3.80.0",
+ "@walmart/attendance-mini-app": "3.81.0",
"@walmart/avp-feature-app": "0.10.7",
"@walmart/avp-shared-library": "0.10.1",
"@walmart/backroom-mini-app": "1.5.20",
--- yarn.lock
@@ -6001,9 +6001,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/attendance-mini-app@npm:3.80.0":
- version: 3.80.0
- resolution: "@walmart/attendance-mini-app@npm:3.80.0"
+"@walmart/attendance-mini-app@npm:3.81.0":
+ version: 3.81.0
+ resolution: "@walmart/attendance-mini-app@npm:3.81.0"
dependencies:
"@walmart/wfm-ui": "npm:^0.2.26"
moment-timezone: "npm:0.5.40"
@@ -6033,7 +6033,7 @@ __metadata:
redux-saga: ^1.2.0
reselect: ^4.1.0
wfm-allspark-data-library: ^3.3.0
- checksum: 10c0/0b70dce7ec0a0f0ce6e8bb0fb599db336aa2a39d2b7e5223a850c0d31b92cc1dc46bc378bb06b8531094bbf2dbad106520af0ff18b95f1b4388ea62e2bdd788f
+ checksum: 10c0/e72213cfb2282f2c590f26d69d62cb1c8042825cfe2be6e66ca816dc5897f60c8717894197e69441383ced04bcc3dedf2f187197444e5cabdc212c27f6a648be
languageName: node
linkType: hard
@@ -7002,7 +7002,7 @@ __metadata:
"@walmart/ask-sam-chat-components": "npm:^0.2.7"
"@walmart/ask-sam-mini-app": "npm:1.24.7"
"@walmart/associate-listening-mini-app": "npm:1.2.7"
- "@walmart/attendance-mini-app": "npm:3.80.0"
+ "@walmart/attendance-mini-app": "npm:3.81.0"
"@walmart/avp-feature-app": "npm:0.10.7"
"@walmart/avp-shared-library": "npm:0.10.1"
"@walmart/backroom-mini-app": "npm:1.5.20"
| bump ama verion 3.81.0 | bump ama verion 3.81.0
|
9b9fa8affb45712e279b7b72c303cb3ca3506331 | --- packages/allspark-foundation/__tests__/Site/saga.test.ts
@@ -0,0 +1,24 @@
+import { onFetchHomeSite, onFetchWorkingSite } from '../../src/Site/sagas';
+import { ISiteActions } from '../../src/Site/redux';
+jest.mock('../../src/Site/service', ()=>({
+ SiteService:{
+ fetchHomeSite:jest.fn(),
+ fetchWorkingSite:jest.fn(),
+ }
+}))
+describe('Auth/sagas.ts', () => {
+ it('should call AuthService.getUser', ()=>{
+ const action:ISiteActions['FETCH_HOME_SITE'] = {type:'site/FETCH_HOME_SITE' as const, payload:''};
+ const getFetchHomeSite = onFetchHomeSite(action);
+ const nextFetchHomeSite = getFetchHomeSite.next();
+ expect(nextFetchHomeSite.value).toEqual(undefined);
+ expect(getFetchHomeSite.next().done).toBe(true)
+ })
+ it('should call AuthService.onSignIn', ()=>{
+ const action:ISiteActions['FETCH_WORKING_SITE'] = {type:'site/FETCH_WORKING_SITE' as const, payload:'test'};
+ const getFetch = onFetchWorkingSite(action);
+ const nextFetch = getFetch.next();
+ expect(nextFetch.value).toEqual(undefined);
+ expect(getFetch.next().done).toBe(true)
+ })
+});
| unit test for sit saga added | unit test for sit saga added
|
14c2a557a6d99e12d00a3ea9a128eb26a012a9fa | --- src/translations/en-US.ts
@@ -30,6 +30,7 @@ export const enUS_common = {
'@walmart/receipt-check-miniapp': 'Receipt Check',
'@walmart/refrigeration-alarms-mini-app': 'Refrigeration Alarms',
'@walmart/returns-mini-app': 'Returns',
+ '@walmart/roster-mini-app': 'Roster',
'@walmart/schedule-mini-app': 'Schedules',
'@walmart/shelfavailability-mini-app': 'Shelf Availability',
'@walmart/taskit-mini-app': 'Notes',
@@ -38,6 +39,7 @@ export const enUS_common = {
'@walmart/topstock-mini-app': 'Topstock',
'@walmart/welcomeme-mini-app': 'Welcome Me',
'@walmart/wm-plus-mini-app': 'Walmart Plus',
+ '@walmart/wmconnect-mini-app': 'WM Connect',
core: 'Me@Walmart',
'react-native-ssmp-sso-allspark': 'Single Sign On',
},
--- src/translations/es-MX.ts
@@ -30,6 +30,7 @@ export const esMX_common = {
'@walmart/receipt-check-miniapp': 'Cheque de recibo',
'@walmart/refrigeration-alarms-mini-app': 'Alarmas de Refrigeración',
'@walmart/returns-mini-app': 'Devoluciones',
+ '@walmart/roster-mini-app': 'Roster',
'@walmart/schedule-mini-app': 'Schedules',
'@walmart/shelfavailability-mini-app': 'Shelf Availability',
'@walmart/taskit-mini-app': 'Notas',
@@ -38,6 +39,7 @@ export const esMX_common = {
'@walmart/topstock-mini-app': 'Topstock',
'@walmart/welcomeme-mini-app': 'Welcome Me',
'@walmart/wm-plus-mini-app': 'Walmart Plus',
+ '@walmart/wmconnect-mini-app': 'WM Connect',
core: 'Me@Walmart',
'react-native-ssmp-sso-allspark': 'Single Sign On',
},
| Update my team mini app version | Update my team mini app version
|
357a0006077456bc4974fc11b20960d1ab880408 | --- packages/allspark-graphql-client/codegen/generate.js
@@ -9,7 +9,7 @@ const allsparkConfig = require(`${processPath}/allspark.config.js`);
if (!allsparkConfig) {
throw new Error(`allspark.config.js not found at ${processPath}`);
}
-const pluginPath = path.resolve(__dirname, 'plugin.js');
+const pluginPath = path.resolve(__dirname, 'ymlPlugin.js');
const config = allsparkConfig.graphql.codegen;
const queryPath = `${processPath}/${config.queries}`;
@@ -19,12 +19,16 @@ cli.generate({
schema: 'http://athena-visualizer.us.dev.walmart.com/sdl',
documents: `${queryPath}/*.graphql`,
generates: {
- [`${queryPath}/index.ts`]: {
- plugins: [
- 'typescript',
- 'typescript-operations',
- 'typescript-react-apollo',
- ],
+ [`${queryPath}/types.ts`]: {
+ plugins: ['typescript'],
+ },
+ [queryPath]: {
+ preset: 'near-operation-file',
+ presetConfig: {
+ baseTypesPath: 'types.ts',
+ extension: '.ts',
+ },
+ plugins: ['typescript-operations', 'typescript-react-apollo'],
config: {
withHooks: true,
defaultBaseOptions: {
--- packages/allspark-graphql-client/codegen/ymlPlugin.js
| chore: update codegen | chore: update codegen
|
855d53e47456bb9ca2f9352032d4230b4516db75 | --- core/__tests__/navigation/USHallway/AssociateHallwayNav/Tabs/ConfigTest.tsx
@@ -2,6 +2,7 @@ import {create} from 'react-test-renderer';
import {TelemetryService} from '@walmart/allspark-foundation/Telemetry';
import {AllsparkNavigationClient} from '@walmart/allspark-foundation/Navigation';
+
import {
renderTabBarButton,
renderTabBarIcon,
| code cleanup | code cleanup
|
faaa739c9c71f0acd58e9034c9c454db2c0d0578 | --- src/navigation/types.ts
@@ -16,6 +16,7 @@ export type RootStackMap = {
message: string;
dismissText?: string;
duration?: number;
+ customOnPress?: () => void;
};
'Core.TermsOfUse': undefined;
'Core.PermissionsWelcome': undefined;
| Updating toast typing | Updating toast typing
|
eee55f6f4eb76066df410e74cf0cc7a007ad6161 | --- __tests__/navigation/AssociateHallwayNav/SideMenuContentTest.tsx
@@ -31,7 +31,7 @@ jest.mock('../../../src/hooks', () => ({
}));
(Hooks.useTextMessages as jest.Mock).mockReturnValue({
- getUnreadCountForAllChannels: jest.fn().mockResolvedValue(1),
+ getUnreadCountForAllChannels: jest.fn().mockReturnValue(1),
});
const mockUseDrawerStatus = (useDrawerStatus as jest.Mock).mockReturnValue(
| fixing unit test | fixing unit test
|
55da8abd81f098177577477c42641e6acfa53ec4 | --- graphql.yml
@@ -57,36 +57,36 @@ applications:
queryTemplate: 'src/queries/upsertAssociateTextPreference.graphql'
tags:
- 'v1'
- - name: 'prod'
- persistedQueries:
- - name: 'GetAssociateClockStatus'
- hash: 'b4080db4f80721f28469fdce6584ae8afe567ee4c200d77b6889912ec1c0d214'
- queryTemplate: 'src/queries/getAssociateClockStatus.graphql'
- tags:
- - 'v1'
- - name: 'GetAssociateName'
- hash: 'f82efac63c0d36b80c7bc2a20ea4dfd6d8f970491fb373e8e0c61764dea2360f'
- queryTemplate: 'src/queries/getAssociateName.graphql'
- tags:
- - 'v1'
- - name: 'GetDailyRoster'
- hash: '3c6a1553234da438299662b03db04cc613b52ca997efb511ac76d5eff118a4bf'
- queryTemplate: 'src/queries/getDailyRoster.graphql'
- tags:
- - 'v2'
- - 'Drop13'
- - name: 'GetTeamById'
- hash: '5a1baf2e68d6b2c9ddec825296731ccd2137a9e7f12d1f7210ca797814bb3e3f'
- queryTemplate: 'src/queries/getTeamById.graphql'
- tags:
- - 'v1'
- - name: 'GetTeamsByStore'
- hash: '0d9bcce8cdce8831861e22bd66c43d0891aef2304b2bab61e449c5570aa564d2'
- queryTemplate: 'src/queries/getTeamsbyStore.graphql'
- tags:
- - 'v1'
- - name: 'upsertAssociateTextPreferences'
- hash: 'c32767303508d355e17b8489f8ecd28ec16a22ea3c454f9347ae96c9aefbec3b'
- queryTemplate: 'src/queries/upsertAssociateTextPreference.graphql'
- tags:
- - 'v1'
+ - name: 'prod'
+ persistedQueries:
+ - name: 'GetAssociateClockStatus'
+ hash: 'b4080db4f80721f28469fdce6584ae8afe567ee4c200d77b6889912ec1c0d214'
+ queryTemplate: 'src/queries/getAssociateClockStatus.graphql'
+ tags:
+ - 'v1'
+ - name: 'GetAssociateName'
+ hash: 'f82efac63c0d36b80c7bc2a20ea4dfd6d8f970491fb373e8e0c61764dea2360f'
+ queryTemplate: 'src/queries/getAssociateName.graphql'
+ tags:
+ - 'v1'
+ - name: 'GetDailyRoster'
+ hash: '3c6a1553234da438299662b03db04cc613b52ca997efb511ac76d5eff118a4bf'
+ queryTemplate: 'src/queries/getDailyRoster.graphql'
+ tags:
+ - 'v2'
+ - 'Drop13'
+ - name: 'GetTeamById'
+ hash: '5a1baf2e68d6b2c9ddec825296731ccd2137a9e7f12d1f7210ca797814bb3e3f'
+ queryTemplate: 'src/queries/getTeamById.graphql'
+ tags:
+ - 'v1'
+ - name: 'GetTeamsByStore'
+ hash: '0d9bcce8cdce8831861e22bd66c43d0891aef2304b2bab61e449c5570aa564d2'
+ queryTemplate: 'src/queries/getTeamsbyStore.graphql'
+ tags:
+ - 'v1'
+ - name: 'upsertAssociateTextPreferences'
+ hash: 'c32767303508d355e17b8489f8ecd28ec16a22ea3c454f9347ae96c9aefbec3b'
+ queryTemplate: 'src/queries/upsertAssociateTextPreference.graphql'
+ tags:
+ - 'v1'
| update spacing and remove hashes | update spacing and remove hashes
|
c22fcb8c5e86d74292b71802d7bc59b59b4e7fe6 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.15.17",
+ "version": "1.15.18",
"main": "dist/index.js",
"files": [
"dist"
@@ -101,6 +101,7 @@
"@walmart/redux-store": "3.7.0",
"@walmart/roster-mini-app": "2.12.20",
"@walmart/ui-components": "1.15.1",
+ "@walmart/wmconnect-mini-app": "2.8.19",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
--- src/navigation/index.tsx
@@ -9,6 +9,7 @@ import {
DEFAULT_WIDGET_IDS,
} from '@walmart/allspark-foundation-hub';
import {RosterMiniApp} from '@walmart/roster-mini-app';
+import {PresenceProvider} from '@walmart/wmconnect-mini-app';
import {WarningBanner} from '../components/WarningBanner';
import {useUserCanSeeTeamHub} from '../hooks/user';
@@ -18,12 +19,14 @@ export const MyTeamMiniApp = () => {
const showManagerTeamHub = useUserCanSeeTeamHub();
return showManagerTeamHub ? (
- <>
+ <PresenceProvider>
<WarningBanner />
<TeamHub />
- </>
+ </PresenceProvider>
) : (
- <RosterMiniApp />
+ <PresenceProvider>
+ <RosterMiniApp />
+ </PresenceProvider>
);
};
--- yarn.lock
@@ -6475,6 +6475,7 @@ __metadata:
"@walmart/redux-store": "npm:3.7.0"
"@walmart/roster-mini-app": "npm:2.12.20"
"@walmart/ui-components": "npm:1.15.1"
+ "@walmart/wmconnect-mini-app": "npm:2.8.19"
babel-jest: "npm:^29.2.1"
chance: "npm:^1.1.11"
eslint: "npm:8.22.0"
@@ -6722,6 +6723,52 @@ __metadata:
languageName: node
linkType: hard
+"@walmart/wmconnect-mini-app@npm:2.8.19":
+ version: 2.8.19
+ resolution: "@walmart/wmconnect-mini-app@npm:2.8.19"
+ peerDependencies:
+ "@react-native-async-storage/async-storage": ^1.21.0
+ "@react-native-community/netinfo": ^11.0.1
+ "@react-native-firebase/analytics": ~17.4.2
+ "@react-native-firebase/crashlytics": ~17.4.2
+ "@react-native-firebase/database": ~17.4.2
+ "@react-native-firebase/perf": ~17.4.2
+ "@react-navigation/drawer": ^6.6.4
+ "@react-navigation/native": ^6.0.8
+ "@reduxjs/toolkit": ^1.9.7
+ "@types/node": 20.5.9
+ "@walmart/allspark-graphql-client": ~6.3.20
+ "@walmart/allspark-http-client": 6.1.4
+ "@walmart/config-components": 4.4.0
+ "@walmart/core-services": ~6.4.1
+ "@walmart/core-services-allspark": 6.25.1
+ "@walmart/core-utils": ~6.3.9
+ "@walmart/gtp-shared-components": 2.2.4
+ "@walmart/react-native-encrypted-storage": ~1.1.3
+ "@walmart/react-native-logger": 1.34.8
+ "@walmart/react-native-scanner-3.0": 0.5.1
+ "@walmart/react-native-shared-navigation": 6.1.4
+ "@walmart/react-native-sumo-sdk": "*"
+ i18next: ^23.6.0
+ moment-timezone: ~0.5.43
+ npm-run-all: ^4.1.5
+ react-i18next: ^13.3.1
+ react-native-apollo-devtools-client: ^1.0.4
+ react-native-app-auth: ^6.4.3
+ react-native-device-info: ~10.13.1
+ react-native-gesture-handler: ^2.14.0
+ react-native-get-random-values: ~1.10.0
+ react-native-reanimated: ^3.6.0
+ react-native-safe-area-context: ^4.8.2
+ react-native-screens: ^3.28.0
+ react-native-wm-telemetry: 6.1.4
+ redux: ^4.2.1
+ redux-saga: ^1.2.3
+ wifi-store-locator: 1.4.1
+ checksum: 10c0/d723aa4b934202c6c2cb01e7562cf1384d125bed208e9c8af7c6fe393550e76d52727af6ed567f8b3eb4402b7ca93a1ce0f8828b4ebbf6622fb1d1bd90871cc1
+ languageName: node
+ linkType: hard
+
"@whatwg-node/disposablestack@npm:^0.0.5":
version: 0.0.5
resolution: "@whatwg-node/disposablestack@npm:0.0.5"
| Update my team mini app version | Update my team mini app version
|
30f7a024ba4fe56eec8fa1190e93b1cc4fd67d01 | --- package.json
@@ -103,7 +103,7 @@
"@walmart/emergency-mini-app": "1.27.1",
"@walmart/exception-mini-app": "1.8.3",
"@walmart/facilities-management-miniapp": "0.11.7",
- "@walmart/feedback-all-spark-miniapp": "v0.9.66",
+ "@walmart/feedback-all-spark-miniapp": "0.9.66",
"@walmart/financial-wellbeing-feature-app": "1.23.3",
"@walmart/functional-components": "6.1.4",
"@walmart/gta-react-native-calendars": "0.7.0",
--- yarn.lock
@@ -6112,7 +6112,7 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/feedback-all-spark-miniapp@npm:v0.9.66":
+"@walmart/feedback-all-spark-miniapp@npm:0.9.66":
version: 0.9.66
resolution: "@walmart/feedback-all-spark-miniapp@npm:0.9.66"
peerDependencies:
@@ -7818,7 +7818,7 @@ __metadata:
"@walmart/emergency-mini-app": "npm:1.27.1"
"@walmart/exception-mini-app": "npm:1.8.3"
"@walmart/facilities-management-miniapp": "npm:0.11.7"
- "@walmart/feedback-all-spark-miniapp": "npm:v0.9.66"
+ "@walmart/feedback-all-spark-miniapp": "npm:0.9.66"
"@walmart/financial-wellbeing-feature-app": "npm:1.23.3"
"@walmart/functional-components": "npm:6.1.4"
"@walmart/gta-react-native-calendars": "npm:0.7.0"
| feedback mini version bump | feedback mini version bump
|
7d285252db451fb385236b6c5d7ee955715541d2 | --- ios/BuildSupport/install-cocoapods.sh
@@ -33,4 +33,4 @@ echo "pod_path ${pod_path}"
ls -l ${pod_path}/pod
pod _${CCP_VER}_ --version
echo "pod install"
-pod _${CCP_VER}_ install --repo-update --verbose
+pod _${CCP_VER}_ install --verbose
| Update install-cocoapods.sh | Update install-cocoapods.sh
Remove repo update. |
88d4be3487511db4318e3dd93f5f89eb684f8ce0 | --- package-lock.json
@@ -89,7 +89,7 @@
"@walmart/returns-mini-app": "3.13.0",
"@walmart/schedule-mini-app": "0.63.0",
"@walmart/shelfavailability-mini-app": "1.5.19",
- "@walmart/store-feature-orders": "1.24.0",
+ "@walmart/store-feature-orders": "1.25.0",
"@walmart/taskit-mini-app": "2.53.3",
"@walmart/texting-mini-app": "2.1.4",
"@walmart/time-clock-mini-app": "2.301.0",
--- package.json
@@ -130,7 +130,7 @@
"@walmart/returns-mini-app": "3.13.0",
"@walmart/schedule-mini-app": "0.63.0",
"@walmart/shelfavailability-mini-app": "1.5.19",
- "@walmart/store-feature-orders": "1.24.0",
+ "@walmart/store-feature-orders": "1.25.0",
"@walmart/taskit-mini-app": "2.53.3",
"@walmart/texting-mini-app": "2.1.4",
"@walmart/time-clock-mini-app": "2.301.0",
| feature period validation fix | feature period validation fix
|
b8794860207f7e39b6b368063792f1b5c069b232 | --- package-lock.json
@@ -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.1",
+ "@walmart/compass-sdk-rn": "3.16.17",
"@walmart/config-components": "4.1.0-rc.4",
"@walmart/core-services": "~2.0.19",
"@walmart/core-services-allspark": "~2.10.15",
@@ -4909,9 +4909,9 @@
}
},
"node_modules/@walmart/compass-sdk-rn": {
- "version": "3.16.1",
- "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-3.16.1.tgz",
- "integrity": "sha512-uosdKTI5vIqbp0WPCEO8Bwy/0uJuk6cy5clCyJJGpheGIRQiSPcsqBy+vx21TI+N/eA0XSqHgDAsckpKYgloWQ==",
+ "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==",
"license": "MIT",
"peerDependencies": {
"react": "*",
@@ -25186,9 +25186,9 @@
}
},
"@walmart/compass-sdk-rn": {
- "version": "3.16.1",
- "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-3.16.1.tgz",
- "integrity": "sha512-uosdKTI5vIqbp0WPCEO8Bwy/0uJuk6cy5clCyJJGpheGIRQiSPcsqBy+vx21TI+N/eA0XSqHgDAsckpKYgloWQ=="
+ "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=="
},
"@walmart/config-components": {
"version": "4.1.0-rc.4",
| Updated package-lock.json after npm install | Updated package-lock.json after npm install
|
206a697f20294c53b800f47265660123c60cdf10 | --- package-lock.json
@@ -43,7 +43,7 @@
"@walmart/attendance-mini-app": "1.62.0",
"@walmart/compass-sdk-rn": "4.2.0",
"@walmart/config-components": "4.2.5",
- "@walmart/copilot-mini-app": "^2.3.19",
+ "@walmart/copilot-mini-app": "2.3.19",
"@walmart/core-services": "~2.2.0",
"@walmart/core-services-allspark": "~2.12.6",
"@walmart/core-utils": "~2.0.5",
@@ -59,7 +59,7 @@
"@walmart/gtp-shared-components": "2.0.10",
"@walmart/impersonation-mini-app": "1.20.6",
"@walmart/ims-print-services-ui": "2.5.8",
- "@walmart/inbox-mini-app": "0.88.8",
+ "@walmart/inbox-mini-app": "0.88.9",
"@walmart/iteminfo-mini-app": "7.5.7",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-field-mini-app": "13.0.3",
@@ -185,7 +185,7 @@
"util": "^0.12.4",
"uuid": "^3.3.2",
"victory-native": "^36.5.0",
- "wifi-store-locator": "1.4.0",
+ "wifi-store-locator": "1.4.1",
"xdate": "^0.8.2"
},
"devDependencies": {
@@ -8516,9 +8516,9 @@
}
},
"node_modules/@walmart/inbox-mini-app": {
- "version": "0.88.8",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.88.8.tgz",
- "integrity": "sha512-RpyA6MPHabOqyFxwk7CDHEbL4VkqPvHu93WAfoVNYGrGN1PrPIkSEu8ze+ylmKIEz9XT4i5/WAVMjDf4txZ7zQ==",
+ "version": "0.88.9",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.88.9.tgz",
+ "integrity": "sha512-7EEJfTmz9Zw2xN7HbsROu4Ooa6RnOON30fmhPSaTg9B1xWU7JDQ5RZcAlvtx6cNK2DhxGRRbAYeHhLMbWsHoDw==",
"dependencies": {
"@walmart/moment-walmart": "^1.0.4",
"@walmart/walmart-fiscal-week": "^0.3.6"
@@ -28097,9 +28097,9 @@
}
},
"node_modules/wifi-store-locator": {
- "version": "1.4.0",
- "resolved": "https://npme.walmart.com/wifi-store-locator/-/wifi-store-locator-1.4.0.tgz",
- "integrity": "sha512-/q7Sa0E8k8KZat4D5Pqn5k/S9QSG17+ixfOzjx3vgSl+iphAo+rxIt40TfAnWXr/vWsftlUIMwnG9wDoSPHFxw==",
+ "version": "1.4.1",
+ "resolved": "https://npme.walmart.com/wifi-store-locator/-/wifi-store-locator-1.4.1.tgz",
+ "integrity": "sha512-H4PqIN1Gc9fPql2LORqyFIz9e/7BWWLDsk9kKrSjVI4bLtLAdjyegsoIZKBYRCTtBXJT/q9IhFZ8TM67AN63cA==",
"license": "MIT",
"peerDependencies": {
"react": "*",
@@ -33752,9 +33752,9 @@
"integrity": "sha512-f00ej+HrIbCvqZ7ZF1miDItI8mL8PG16SgDasGJn4UeEdYnJCHY1ef0Pilz4cl5ptK72mBUP6Y2svb682tq7lw=="
},
"@walmart/inbox-mini-app": {
- "version": "0.88.8",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.88.8.tgz",
- "integrity": "sha512-RpyA6MPHabOqyFxwk7CDHEbL4VkqPvHu93WAfoVNYGrGN1PrPIkSEu8ze+ylmKIEz9XT4i5/WAVMjDf4txZ7zQ==",
+ "version": "0.88.9",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.88.9.tgz",
+ "integrity": "sha512-7EEJfTmz9Zw2xN7HbsROu4Ooa6RnOON30fmhPSaTg9B1xWU7JDQ5RZcAlvtx6cNK2DhxGRRbAYeHhLMbWsHoDw==",
"requires": {
"@walmart/moment-walmart": "1.0.4",
"@walmart/walmart-fiscal-week": "^0.3.6"
@@ -46457,9 +46457,9 @@
}
},
"wifi-store-locator": {
- "version": "1.4.0",
- "resolved": "https://npme.walmart.com/wifi-store-locator/-/wifi-store-locator-1.4.0.tgz",
- "integrity": "sha512-/q7Sa0E8k8KZat4D5Pqn5k/S9QSG17+ixfOzjx3vgSl+iphAo+rxIt40TfAnWXr/vWsftlUIMwnG9wDoSPHFxw=="
+ "version": "1.4.1",
+ "resolved": "https://npme.walmart.com/wifi-store-locator/-/wifi-store-locator-1.4.1.tgz",
+ "integrity": "sha512-H4PqIN1Gc9fPql2LORqyFIz9e/7BWWLDsk9kKrSjVI4bLtLAdjyegsoIZKBYRCTtBXJT/q9IhFZ8TM67AN63cA=="
},
"wm-react-native-vector-icons": {
"version": "1.0.33",
--- package.json
@@ -100,7 +100,7 @@
"@walmart/gtp-shared-components": "2.0.10",
"@walmart/impersonation-mini-app": "1.20.6",
"@walmart/ims-print-services-ui": "2.5.8",
- "@walmart/inbox-mini-app": "0.88.8",
+ "@walmart/inbox-mini-app": "0.88.9",
"@walmart/iteminfo-mini-app": "7.5.7",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-field-mini-app": "13.0.3",
@@ -226,7 +226,7 @@
"util": "^0.12.4",
"uuid": "^3.3.2",
"victory-native": "^36.5.0",
- "wifi-store-locator": "1.4.0",
+ "wifi-store-locator": "1.4.1",
"xdate": "^0.8.2"
},
"overrides": {
| Platform Components Updgrade | Platform Components Updgrade
|
c9a6fed7b13d47c7b28fe4f2e49c27608c31853b | --- packages/allspark-foundation-hub/src/HubFeature/Hub/Container/styles.ts
@@ -22,7 +22,7 @@ export default StyleSheet.create({
paddingHorizontal: 16,
paddingTop: 16,
backgroundColor: colors.white,
- top: 16,
+ top: 8,
},
cardStyle: {
marginBottom: 16,
| Updating styles | Updating styles
|
fbf8bf0a7e4fff6a44f44e45374657a0509b00c6 | --- package-lock.json
@@ -3328,9 +3328,9 @@
"integrity": "sha512-EQAXiiNzF4D/LqiAH06fsC9PjtCLgi1XKJhK9wbKf0UPlJvIRruy6lO5mrqVNGo1RdkeuY7Kv/jaQ5bCmOBeUQ=="
},
"@walmart/exception-mini-app": {
- "version": "0.28.0",
- "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-0.28.0.tgz",
- "integrity": "sha512-B31BaP6kN0RtiKzp7xK9qvo7XwPiqC0z/8J1se0K3pIqHeNx2mvbSRDGLoCzh+szhWGkPlyTDRAbJrZI+B8IRA=="
+ "version": "0.28.0-rc.1",
+ "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-0.28.0-rc.1.tgz",
+ "integrity": "sha512-4wRGJbkwplJR7ERAi6CZb6Ad/HdyXIfjaYzKzwxbWduqJzyz+KtV4SK8IgR+yj3HuoA7WiEXFw4KhaeXcFxvjQ=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.0.55",
--- package.json
@@ -70,7 +70,7 @@
"@walmart/ask-sam-mini-app": "0.30.10",
"@walmart/config-components": "^1.0.26",
"@walmart/counts-component-miniapp": "0.0.15",
- "@walmart/exception-mini-app": "0.28.0",
+ "@walmart/exception-mini-app": "0.28.0-rc.1",
"@walmart/feedback-all-spark-miniapp": "0.0.55",
"@walmart/functional-components": "1.0.30",
"@walmart/gtp-shared-components": "^1.1.8",
| pinpoint version bump - drop4 items | pinpoint version bump - drop4 items
|
cf4449fe0fb72b3cba198ff0ba54494759ba6f73 | --- package-lock.json
@@ -3245,9 +3245,9 @@
"integrity": "sha512-4VL2h7BKEZNP+QtIaYbQXJ6kpxZdeeCqTA3PvP1L933vlNsilF3y5RO9lCyMsTjWQ+AJ3Ww6gqC/oNDxjTvtGw=="
},
"@walmart/time-clock-mini-app": {
- "version": "0.3.3",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-0.3.3.tgz",
- "integrity": "sha512-AIkm2/L7p7AIODV6TFdZpFUqsXa8R2x/Pkuu8ux42DR7Xipp5XuvKLKthI4Yg9Vmsikp0NLOJnA077oEOAM9Yg==",
+ "version": "0.3.4",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-0.3.4.tgz",
+ "integrity": "sha512-YJaN3vCLLgfyavuvYE7ctf4XHmJBmVAlS6LtZ665CCPsrz5AUwO0/oqpTVaJs2RaRHIu0S7p4vp5UD/+rlI9qQ==",
"requires": {
"@react-native-community/datetimepicker": "3.0.9",
"moment-timezone": "^0.5.31",
--- package.json
@@ -86,7 +86,7 @@
"@walmart/redux-store": "^1.0.12",
"@walmart/schedule-mini-app": "0.2.76",
"@walmart/settings-mini-app": "1.2.3",
- "@walmart/time-clock-mini-app": "0.3.3",
+ "@walmart/time-clock-mini-app": "0.3.4",
"@walmart/ui-components": "1.1.18",
"@walmart/welcomeme-mini-app": "0.24.0",
"@walmart/wfm-ui": "^0.1.50",
| Tor translation regression fix for 2.5 | Tor translation regression fix for 2.5
|
a4ef994afc81908480c18e23249c4c9c6d700ac9 | --- src/components/TeamList.tsx
@@ -32,7 +32,6 @@ import {
useSiteTranslationContext,
useGetViewersPrimaryTeamId,
useTotalSiteOrTotalStore,
- useGetViewersPrimaryWorkGroup,
useGetTeamById,
} from '../hooks';
import {NavigationProp, useNavigation} from '@react-navigation/native';
--- src/components/TeamList.tsx
@@ -32,7 +32,6 @@ import {
useSiteTranslationContext,
useGetViewersPrimaryTeamId,
useTotalSiteOrTotalStore,
- useGetViewersPrimaryWorkGroup,
useGetTeamById,
} from '../hooks';
import {NavigationProp, useNavigation} from '@react-navigation/native';
| update tsc | update tsc
|
7c466d9c1dae197ce44b9d0e1ecfd0063d2b8bc6 | --- container/app.config.ts
@@ -1,6 +1,5 @@
import 'tsx/cjs';
import {ExpoConfig} from 'expo/config';
-import pkg from '../package.json';
import * as ExpoPlugins from '@walmart/expo-config-plugins';
/**
@@ -33,7 +32,6 @@ const buildNumber = process.env.BUILD_NUMBER || '1';
const CONFIG: ExpoConfig = {
name: 'AssociateExpHub',
slug: 'AssociateExpHub',
- version: pkg.version,
newArchEnabled: true,
android: {
versionCode: Number(buildNumber),
| chore(container): update configuration | chore(container): update configuration
|
6c92bc9fc5387717e0a113ffc8b1e46ae57e3ab1 | --- packages/me-at-walmart-athena-queries/src/index.ts
@@ -7,4 +7,7 @@ export * from './getTeamsbyStore';
export * from './getAssociatePreference';
export * from './updateManagerExperiencePreference';
export * from './updateAssociatePrivacyPreference';
+export * from './getSupplyChainTeamPreferenceQuery';
+export * from './getSupplyChainTeamsByStore';
+export * from './upsertSupplyChainAssociatePreference';
export * as AthenaTypes from './schema.types';
| feat(ui): exporting added queries | feat(ui): exporting added queries
|
78a33c7d85d36589b8b8ebf3777a1929dace87b0 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.55.0",
+ "version": "2.56.0",
"main": "dist/index.js",
"files": [
"dist"
| Update the roster mini app with presence provider | Update the roster mini app with presence provider
|
419469539a7d715422423f89d98f772b46a0eb02 | --- package-lock.json
@@ -3038,9 +3038,9 @@
}
},
"@walmart/ask-sam-mini-app": {
- "version": "0.10.31",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.10.31.tgz",
- "integrity": "sha512-5yukv2+uYejrA1Cr+4sMw23I4fGa9nj5Mvgx4K3+AhQGexNXiYhhmImKJ9YaQFsaYBKtsBL2Uc3+fyvIvuvzXw==",
+ "version": "0.10.33",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.10.33.tgz",
+ "integrity": "sha512-PbrkjQ9bn3Gnl9yF73BWPyUmHsV7Hd0Iqn7ARHP0Jw+gq6u4j3i6OX1AWl1tQPV7OSd2CoBZQeslwgolBLskkQ==",
"requires": {
"apisauce": "^1.1.2",
"lodash": "^4.17.19",
--- package.json
@@ -62,7 +62,7 @@
"@walmart/allspark-health-survey-mini-app": "0.0.31",
"@walmart/allspark-home-mini-app": "0.1.11",
"@walmart/allspark-me-mini-app": "0.0.22",
- "@walmart/ask-sam-mini-app": "0.10.31",
+ "@walmart/ask-sam-mini-app": "0.10.33",
"@walmart/config-components": "1.0.14",
"@walmart/feedback-all-spark-miniapp": "0.0.42",
"@walmart/functional-components": "1.0.25",
| version bump (#416) | version bump (#416)
|
05ab88e79ce08a17bcd68f1979ed4d3370229e65 | --- 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": "4.0.8",
+ "@walmart/checkout-mini-app": "4.0.9",
"@walmart/compass-sdk-rn": "5.19.15",
"@walmart/config-components": "4.4.5",
"@walmart/core-services": "~6.5.2",
--- yarn.lock
@@ -6153,9 +6153,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/checkout-mini-app@npm:4.0.8":
- version: 4.0.8
- resolution: "@walmart/checkout-mini-app@npm:4.0.8"
+"@walmart/checkout-mini-app@npm:4.0.9":
+ version: 4.0.9
+ resolution: "@walmart/checkout-mini-app@npm:4.0.9"
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/522f2c6d52e574849b0b8b4c9f587a573128066417fb0f80d8ab911cd471ce201d315bb7e42fb9a69852127f6af8d7dfa78380cb4792155b33cd518ea951a78a
+ checksum: 10c0/3166b66ff3abf03e551f95e22acb1120f7c534f8523c2250529b385b32b6783e94a5b6ad63e9fa6f43b76f65579d0ba116257b72bcd12ae056c8ceee52f217c1
languageName: node
linkType: hard
@@ -7007,7 +7007,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:4.0.8"
+ "@walmart/checkout-mini-app": "npm:4.0.9"
"@walmart/compass-sdk-rn": "npm:5.19.15"
"@walmart/config-components": "npm:4.4.5"
"@walmart/core-services": "npm:~6.5.2"
| CO version 4.0.9 | CO version 4.0.9
|
906faaef240d2a82bef972f5ca79ec06ccb53bb4 | --- ios/Podfile.lock
@@ -518,7 +518,7 @@ PODS:
- React-Core
- react-native-image-resizer (1.4.5):
- React-Core
- - react-native-logger (1.29.0):
+ - react-native-logger (1.30.0):
- React
- react-native-loudness (2.0.0):
- React
@@ -1133,7 +1133,7 @@ SPEC CHECKSUMS:
boost: a7c83b31436843459a1961bfd74b96033dc77234
BVLinearGradient: 34a999fda29036898a09c6a6b728b0b4189e1a44
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
- DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
+ DoubleConversion: 831926d9b8bf8166fd87886c4abab286c2422662
FBLazyVector: affa4ba1bfdaac110a789192f4d452b053a86624
FBReactNativeSpec: fe8b5f1429cfe83a8d72dc8ed61dc7704cac8745
Firebase: 4ba896cb8e5105d4b9e247e1c1b6222b548df55a
@@ -1159,7 +1159,7 @@ SPEC CHECKSUMS:
Flipper-RSocket: d9d9ade67cbecf6ac10730304bf5607266dd2541
FlipperKit: 02fd59af13a1465d04268cbffe3f93505f0a1dc2
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
- glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
+ glog: 85ecdd10ee8d8ec362ef519a6a45ff9aa27b2e85
GoogleAppMeasurement: 7a33224321f975d58c166657260526775d9c6b1a
GoogleDataTransport: 1c8145da7117bd68bbbed00cf304edb6a24de00f
GoogleUtilities: bad72cb363809015b1f7f19beb1f1cd23c589f95
@@ -1189,32 +1189,32 @@ SPEC CHECKSUMS:
React-jsiexecutor: 31564fa6912459921568e8b0e49024285a4d584b
React-jsinspector: badd81696361249893a80477983e697aab3c1a34
React-logger: fdda34dd285bdb0232e059b19d9606fa0ec3bb9c
- react-native-app-auth: fd1eaa667c0bc014199456d14a6440cb74de814e
- react-native-background-timer: 17ea5e06803401a379ebf1f20505b793ac44d0fe
+ react-native-app-auth: bd3be305a5cbac5baa8574253480d90b5c5522e7
+ react-native-background-timer: 117fffdc9b0d6f144444bb49029f94275a45fdb5
react-native-biometrics: 352e5a794bfffc46a0c86725ea7dc62deb085bdc
react-native-blob-util: 4ec16cc21bfc8de8f0ddfd2c81ada00f8c34b646
- react-native-cameraroll: 2957f2bce63ae896a848fbe0d5352c1bd4d20866
- react-native-encrypted-storage: 632e8eac25dff0b6cac14e6e0c76498c4a39e24e
+ react-native-cameraroll: 60ac50a5209777cbccfe8d7a62d0743a9da87060
+ react-native-encrypted-storage: e907c76d2b9f0a30edd989d92f1bb8a9198fdb82
react-native-flipper: 43ecd19174184c24aba5e1ef75ae13106af871e3
react-native-geolocation-service: 608e1da71a1ac31b4de64d9ef2815f697978c55b
react-native-get-random-values: a6ea6a8a65dc93e96e24a11105b1a9c8cfe1d72a
react-native-image-picker: 4bc9ed38c8be255b515d8c88babbaf74973f91a8
- react-native-image-resizer: d9fb629a867335bdc13230ac2a58702bb8c8828f
- react-native-logger: 4a1fee65d89df68d4790907efbe8742cdbde4d41
- react-native-loudness: 38527e7e42c3be3e4ea3d8aace2621a8eb9cafda
+ react-native-image-resizer: 506412a2bdd70dde64a61e13505ce10f61a04369
+ react-native-logger: 16714d93e642a9553374bb56d7db98230beacbf3
+ react-native-loudness: fe12785700887bcfdb07abcf455c5df40e89183b
react-native-maps: 085f614cf14d3637b2048bb9752da5b1c27c2886
react-native-netinfo: f80db8cac2151405633324cb645c60af098ee461
react-native-pager-view: 592421df0259bf7a7a4fe85b74c24f3f39905605
react-native-pdf: 33c622cbdf776a649929e8b9d1ce2d313347c4fa
react-native-ptt-module: 7c05dc1ade94a35622f3c544242314a9f0fef535
- react-native-render-html: 984dfe2294163d04bf5fe25d7c9f122e60e05ebe
+ react-native-render-html: 5af9f6852f5e0cf9b74127537da3370984da51ee
react-native-safe-area-context: 6c12e3859b6f27b25de4fee8201cfb858432d8de
react-native-scanner-3.0: a2229bd1d328860358cb69d581c12f57f47db0c9
react-native-splash-screen: 4312f786b13a81b5169ef346d76d33bc0c6dc457
react-native-video: c26780b224543c62d5e1b2a7244a5cd1b50e8253
react-native-view-shot: 792829857bbb23a9c8acdad9a640554bdee397a3
react-native-webview: d33e2db8925d090871ffeb232dfa50cb3a727581
- react-native-wm-app-review: 57721f27f0321514250f4a604fe8f2d960a0bbb0
+ react-native-wm-app-review: f3539e622411158d5f25926bcb505cfad87ea7a8
react-native-wm-voice-text: ff635684cb0aa6845784a24bcfb1564fefebc037
React-perflogger: e68d3795cf5d247a0379735cbac7309adf2fb931
React-RCTActionSheet: 05452c3b281edb27850253db13ecd4c5a65bc247
@@ -1228,12 +1228,12 @@ SPEC CHECKSUMS:
React-RCTVibration: 8e5c8c5d17af641f306d7380d8d0fe9b3c142c48
React-runtimeexecutor: 7401c4a40f8728fd89df4a56104541b760876117
ReactCommon: c9246996e73bf75a2c6c3ff15f1e16707cdc2da9
- ReactNativeART: 78edc68dd4a1e675338cd0cd113319cf3a65f2ab
+ ReactNativeART: f003b07dfa7098aa419ed95b69560923440b1eee
Realm: fdf6732924dc5e69e30e0db2c11e869f92b53f3d
RealmJS: d0e94d35363a3a9ebd27981d9ac0aa4b63f66c85
RealmSwift: 7c181da8fa1c2fe613656a77c198d6a3dc3879a1
- RNCAsyncStorage: b03032fdbdb725bea0bd9e5ec5a7272865ae7398
- RNCClipboard: 41d8d918092ae8e676f18adada19104fa3e68495
+ RNCAsyncStorage: cb9a623793918c6699586281f0b51cbc38f046f9
+ RNCClipboard: 5e299c6df8e0c98f3d7416b86ae563d3a9f768a3
RNCPicker: 0bf8ef8f7800524f32d2bb2a8bcadd53eda0ecd1
RNDateTimePicker: 1dd15d7ed1ab7d999056bc77879a42920d139c12
RNDeviceInfo: 4701f0bf2a06b34654745053db0ce4cb0c53ada7
@@ -1251,7 +1251,7 @@ SPEC CHECKSUMS:
RNReanimated: 2a91e85fcd343f8af3c58d3425b99fdd285590a5
RNScreens: 4a1af06327774490d97342c00aee0c2bafb497b7
RNSha256: 80bea5b2e7005f813f6438cb41e573b3d531146c
- RNSketchCanvas: 124a2a11b9bce418ef6e34262fc163d00b5f714b
+ RNSketchCanvas: ee9e3d4bd7dbe46d309827bf2252817a0345ea1d
RNSoundPlayer: 369105c565b8fe6ea0a43fc882dc81eba444e842
RNSVG: 3a79c0c4992213e4f06c08e62730c5e7b9e4dc17
RNVectorIcons: fcc2f6cb32f5735b586e66d14103a74ce6ad61f8
--- package-lock.json
@@ -65,7 +65,7 @@
"@walmart/payrollsolution_miniapp": "0.130.1",
"@walmart/price-changes-mini-app": "1.5.6",
"@walmart/profile-feature-app": "0.0.71",
- "@walmart/push-to-talk-mini-app": "1.8.15",
+ "@walmart/push-to-talk-mini-app": "1.8.29",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
"@walmart/react-native-logger": "1.30.0",
@@ -5550,7 +5550,9 @@
}
},
"node_modules/@walmart/push-to-talk-mini-app": {
- "version": "1.8.15",
+ "version": "1.8.29",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-1.8.29.tgz",
+ "integrity": "sha512-tmcohgCFfYzV4L10XiIxp4LHu55cY8zNRGkC1qpm5xq8AWbJQ9b9EgnzdG/QtSZrDRLALNsP2H5Oy4ip/bcw+A==",
"license": "UNLICENSED",
"peerDependencies": {
"@react-native-community/async-storage": "^1.11.0",
@@ -24956,7 +24958,9 @@
"version": "0.0.71"
},
"@walmart/push-to-talk-mini-app": {
- "version": "1.8.15"
+ "version": "1.8.29",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-1.8.29.tgz",
+ "integrity": "sha512-tmcohgCFfYzV4L10XiIxp4LHu55cY8zNRGkC1qpm5xq8AWbJQ9b9EgnzdG/QtSZrDRLALNsP2H5Oy4ip/bcw+A=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
--- package.json
@@ -107,7 +107,7 @@
"@walmart/payrollsolution_miniapp": "0.130.1",
"@walmart/price-changes-mini-app": "1.5.6",
"@walmart/profile-feature-app": "0.0.71",
- "@walmart/push-to-talk-mini-app": "1.8.15",
+ "@walmart/push-to-talk-mini-app": "1.8.29",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
"@walmart/react-native-logger": "1.30.0",
| fix white screen crash | fix white screen crash
|
256903eef5a321570b1ada825477e4faf36882a1 | --- package.json
@@ -91,7 +91,7 @@
"@walmart/avp-shared-library": "0.5.2",
"@walmart/backroom-mini-app": "1.1.10",
"@walmart/calling-mini-app": "0.2.38",
- "@walmart/checkout-mini-app": "3.19.0",
+ "@walmart/checkout-mini-app": "3.20.0",
"@walmart/compass-sdk-rn": "5.19.8",
"@walmart/config-components": "4.4.1",
"@walmart/copilot-mini-app": "3.92.14",
--- yarn.lock
@@ -5817,9 +5817,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/checkout-mini-app@npm:3.19.0":
- version: 3.19.0
- resolution: "@walmart/checkout-mini-app@npm:3.19.0"
+"@walmart/checkout-mini-app@npm:3.20.0":
+ version: 3.20.0
+ resolution: "@walmart/checkout-mini-app@npm:3.20.0"
dependencies:
"@stomp/stompjs": "npm:^7.0.0"
cpc-input: "npm:^1.7.28"
@@ -5864,7 +5864,7 @@ __metadata:
react-native-wm-telemetry: ">=6"
react-redux: ^8.1.3
redux: ^4.0.5
- checksum: 10c0/552e07bae9e6f71bcf977f815457466998dc2d9464d5d1c0249d22b699d57344e7de0f369dcc18aba1147f3bfabe670f9c1904476d334ecbc84b24fe964c807b
+ checksum: 10c0/b5251a11a15fbcaddd9901d1bd927757acb1c6bda9fb4cd84ae6c4115e310df1294451ef5f2aa389737d68fa803dc433599e00d65ea3cc9e6f4c3a127c7a4417
languageName: node
linkType: hard
@@ -7833,7 +7833,7 @@ __metadata:
"@walmart/avp-shared-library": "npm:0.5.2"
"@walmart/backroom-mini-app": "npm:1.1.10"
"@walmart/calling-mini-app": "npm:0.2.38"
- "@walmart/checkout-mini-app": "npm:3.19.0"
+ "@walmart/checkout-mini-app": "npm:3.20.0"
"@walmart/compass-sdk-rn": "npm:5.19.8"
"@walmart/config-components": "npm:4.4.1"
"@walmart/copilot-mini-app": "npm:3.92.14"
| checkout-mini-app adding missing logs | checkout-mini-app adding missing logs
|
173ef3614cdc61dbffd6a232854008ce51700dfd | --- packages/allspark-graphql-client/package.json
@@ -30,6 +30,12 @@
"prepare": "rm -rf lib && tsc",
"clean": "rm -rf lib/ || true"
},
+ "dependencies": {
+ "@apollo/client": "^3.7.3",
+ "@lifeomic/axios-fetch": "3.0.1",
+ "crypto-js": "^3.3.0",
+ "graphql": "^16.6.0"
+ },
"devDependencies": {
"@graphql-codegen/cli": "^2.16.3",
"@graphql-codegen/near-operation-file-preset": "^2.5.0",
@@ -37,13 +43,9 @@
"@graphql-codegen/typescript-operations": "^2.5.10",
"@graphql-codegen/typescript-react-apollo": "^3.3.7",
"@types/crypto-js": "^3.1.43",
- "json-to-pretty-yaml": "^1.2.2"
- },
- "dependencies": {
- "@apollo/client": "^3.7.3",
- "@lifeomic/axios-fetch": "3.0.1",
- "crypto-js": "^3.3.0",
- "graphql": "^16.6.0"
+ "@walmart/core-services": "~1.4.13",
+ "json-to-pretty-yaml": "^1.2.2",
+ "react": "^18.2.0"
},
"peerDependencies": {
"@graphql-codegen/cli": "^2.16.3",
@@ -51,6 +53,8 @@
"@graphql-codegen/typescript": "^2.8.7",
"@graphql-codegen/typescript-operations": "^2.5.10",
"@graphql-codegen/typescript-react-apollo": "^3.3.7",
- "json-to-pretty-yaml": "^1.2.2"
+ "@walmart/core-services": "~1.4.13",
+ "json-to-pretty-yaml": "^1.2.2",
+ "react": "^18.2.0"
}
}
--- packages/allspark-graphql-client/src/apollo/hooks.ts
@@ -1,2 +1,49 @@
import { useApolloClient } from '@apollo/client';
+// Will eventually replace with @walmart/allspark-http-client
+
+// Re-exposing common hooks. Renaming to match format of other services.
export const useGraphQLClient = useApolloClient;
+export { useQuery, useLazyQuery, useMutation } from '@apollo/client';
+
+// import { useQuery } from '@apollo/client';
+
+// const useHttpClientHeaders = (method: string) => {
+// const httpClient = useHttpClient();
+
+// const headers = useMemo(() => {
+// const clientHeaders = {
+// ...httpClient.defaults.headers,
+// ...httpClient.defaults.headers.common,
+// ...httpClient.defaults.headers[method as keyof HeadersDefaults],
+// };
+
+// ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'].forEach(
+// (key: string) => {
+// delete clientHeaders[key as keyof typeof clientHeaders];
+// }
+// );
+
+// return clientHeaders;
+// }, []);
+
+// return headers;
+// };
+
+// const useQuery2: typeof useQuery = (document, options) => {
+// const httpClientHeaders = useHttpClientHeaders('get');
+
+// const modifiedOptions = useMemo(() => {
+// return {
+// ...(options || {}),
+// context: {
+// ...(options?.context || {}),
+// headers: {
+// ...httpClientHeaders,
+// ...(options?.context?.headers || {}),
+// },
+// },
+// };
+// }, []);
+
+// return useQuery(document, modifiedOptions);
+// };
--- packages/allspark-graphql-client/src/apollo/index.ts
@@ -1,2 +1,4 @@
-export { useGraphQLClient } from './hooks';
-export { AllsparkGraphQLProvider } from './provider';
+export * from './hooks';
+export * from './provider';
+export * from './types';
+export * from './utils';
--- packages/allspark-graphql-client/src/apollo/types.ts
@@ -0,0 +1,5 @@
+import { ApolloClient } from '@apollo/client';
+
+// Re-exposing common types. Renaming to match format of other services.
+export type GraphQLClient<TCacheShape> = ApolloClient<TCacheShape>;
+export type { QueryResult } from '@apollo/client';
--- packages/allspark-graphql-client/src/apollo/utils.ts
@@ -0,0 +1 @@
+export { gql } from '@apollo/client';
| feat: add export of apollo hooks and utils | feat: add export of apollo hooks and utils
|
9d9803f6ef9fc38d1f883049cdd318a42071a23d | --- package-lock.json
@@ -3059,9 +3059,9 @@
"integrity": "sha512-xScS3+/bnwlSFENS31yokqgl9pN0G1DcY8/amLstP2BeBk/kx6DxNq5BmMWg1o1J+K3rWZubcv8LZA2arqIVpQ=="
},
"@walmart/feedback-all-spark-miniapp": {
- "version": "0.0.45",
- "resolved": "https://npme.walmart.com/@walmart/feedback-all-spark-miniapp/-/feedback-all-spark-miniapp-0.0.45.tgz",
- "integrity": "sha512-2DO9SugEpIbcV+oJKc9eM5pPI0k3gkRrZS6gAxjMFYOgHelF8V4ZFOF0qh7i5Gu16Nb4rlD+sQ4BA7eXcGT4mg=="
+ "version": "0.0.48",
+ "resolved": "https://npme.walmart.com/@walmart/feedback-all-spark-miniapp/-/feedback-all-spark-miniapp-0.0.48.tgz",
+ "integrity": "sha512-DPBD14B8eSXJSQCob0HUfl1gyfS3F/wVbGbfOZJmWH3xpXReiz9y3cLZXst9GFvR7l6qemkSfMJFDNTUatZ+cg=="
},
"@walmart/functional-components": {
"version": "1.0.27",
--- package.json
@@ -67,7 +67,7 @@
"@walmart/allspark-me-mini-app": "0.0.23",
"@walmart/ask-sam-mini-app": "0.15.0",
"@walmart/config-components": "1.0.21",
- "@walmart/feedback-all-spark-miniapp": "0.0.45",
+ "@walmart/feedback-all-spark-miniapp": "0.0.48",
"@walmart/functional-components": "1.0.27",
"@walmart/gtp-shared-components": "^0.2.2",
"@walmart/impersonation-mini-app": "1.0.14",
| Version bump Feedback Mini App (#528) | Version bump Feedback Mini App (#528)
* Update package.json
* Update package-lock.json
* Bumping feedback library version
* Update package-lock.json
Co-authored-by: Hitesh Arora - h0a006n <Hitesh.Arora@walmart.com> |
369927b220f3ae89170ca29488135646406b8ae3 | --- core/__tests__/home/components/TaskCard/indexTest.tsx
@@ -111,6 +111,17 @@ describe('TaskCard', () => {
component.update(<TaskCard {...baseProps} />);
expect(component.toJSON()).toMatchSnapshot();
});
+ it('should render teamCard2 if sidekick config is not valid', () => {
+ mockUseSelector.mockReturnValueOnce(true); // clocked in
+ mockUseSelector.mockReturnValueOnce(['0000053992']); // teamIds
+ mockUseSelector.mockReturnValueOnce(true); // isStore
+ mockUseSelector.mockReturnValueOnce({
+ sidekick: {enabled: 'true'},
+ });
+ mockUseAppConfig.mockReturnValueOnce(true); // showTaskClockStatus
+ render(<TaskCard {...baseProps} />);
+ expect(screen.getByTestId('disable-style-false')).toBeDefined();
+ });
it('returns null if sidekick is enabled', () => {
mockUseSelector.mockReturnValueOnce(true);
mockUseSelector.mockReturnValueOnce([]);
--- core/src/home/components/TaskCard/index.tsx
@@ -30,7 +30,9 @@ export const TaskCard: FC<TaskCardProps> = (props) => {
const teamIds = useSelector(UserSelectors.getTeamIds);
const isStore = useSelector(SiteSelectors.getWorkingSiteIsStore);
const sidekick = useSelector(getSidekickBottomNavConfig);
- const disableStyle = Boolean(sidekick?.enabled);
+ const disableStyle =
+ typeof sidekick?.enabled === 'boolean' ? sidekick.enabled : false;
+
const showTaskClockStatus = useHomeAppConfig('showTaskClockStatus', true);
const context = isStore ? 'store' : 'site';
| fix: type check on disabled style for TaskCard | fix: type check on disabled style for TaskCard
|
4f44ebf34b4da69039c35b09600358ddc1621b4b | --- graphql.yml
@@ -88,11 +88,11 @@ applications:
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getAssociateById.graphql'
tags:
- 'v1'
- # - name: "getAssociatePreferences"
- # hash: "38e0530d669fff42cb1dc8e5814369c40c33f6d6a77ed734e039948a0c06e8f4"
- # queryTemplate: "packages/me-at-walmart-athena-queries/src/getAssociatePreference.graphql"
- # tags:
- # - "v1"
+ - name: "getAssociatePreferences"
+ hash: "38e0530d669fff42cb1dc8e5814369c40c33f6d6a77ed734e039948a0c06e8f4"
+ queryTemplate: "packages/me-at-walmart-athena-queries/src/getAssociatePreference.graphql"
+ tags:
+ - "v1"
- name: 'getDailyRosterHome'
hash: '3c492831585580bae535c3386ec48e90c2d1895450016f050653bd51ddf86c21'
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getDailyRosterHome.graphql'
@@ -123,21 +123,21 @@ applications:
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getTeamByIdHome.graphql'
tags:
- 'v1'
- # - name: "GetTeamsByStore"
- # hash: "e500ff0792181beb5a6281effd5b5324834295856eaaa4c2af8336f6643a0a44"
- # queryTemplate: "packages/me-at-walmart-athena-queries/src/getTeamsbyStore.graphql"
- # tags:
- # - "v1"
+ - name: "GetTeamsByStore"
+ hash: "e500ff0792181beb5a6281effd5b5324834295856eaaa4c2af8336f6643a0a44"
+ queryTemplate: "packages/me-at-walmart-athena-queries/src/getTeamsbyStore.graphql"
+ tags:
+ - "v1"
- name: 'upsertAssociatePreference'
hash: '972c522c6ad0675f13587637cff2dd2ed46937a9878a48a66ad2bc2f7d51a036'
queryTemplate: 'packages/me-at-walmart-athena-queries/src/updateAssociatePrivacyPreference.graphql'
tags:
- 'v1'
- # - name: "upsertManagerExperiencePreference"
- # hash: "bdf7ca7ba91a0c700df0b0dbd418064d98ef1c2818688e2a1c9e478d8cc3e1ca"
- # queryTemplate: "packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql"
- # tags:
- # - "v1"
+ - name: "upsertManagerExperiencePreference"
+ hash: "bdf7ca7ba91a0c700df0b0dbd418064d98ef1c2818688e2a1c9e478d8cc3e1ca"
+ queryTemplate: "packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql"
+ tags:
+ - "v1"
# - name: "upsertSupplyChainAssociatePreference"
# hash: "39c45936c3b4d0020c6192b629c29860a30a5f2f70c5297c9e34dcffbaa0c7b0"
# queryTemplate: "packages/me-at-walmart-athena-queries/src/upsertSupplyChainAssociatePreference.graphql"
| feat(ui): Update manager experience queries for PROD | feat(ui): Update manager experience queries for PROD
|
aea14541ad6b3954815468f72f9dd32541def8a4 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/wmconnect-mini-app",
- "version": "3.2.0-alpha.7",
+ "version": "3.2.0-alpha.8",
"main": "dist/index.js",
"files": [
"dist",
| feat(ui): drop34 wmconnect new version | feat(ui): drop34 wmconnect new version
|
723e2852751ef9e4fe61fc833ca83d3cac0edc98 | --- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.5",
+ "version": "2.0.6",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/texting-mini-app",
- "version": "2.0.5",
+ "version": "2.0.6",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.8.4",
--- src/screens/ChannelsScreen.tsx
@@ -9,7 +9,7 @@ import {TextingNavParamsMap} from '../navigation/types';
import {useChannelContext} from '../channels/hooks';
import {ChannelRow, EmptyChannels} from '../channels/components';
import {useTranslation} from 'react-i18next';
-import {TEXTING_I18N_NAMESPACE} from "../translations";
+import {TEXTING_I18N_NAMESPACE} from '../translations';
const styles = StyleSheet.create({
list: {margin: 16, marginTop: 0, paddingTop: 16},
--- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.5",
+ "version": "2.0.6",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/texting-mini-app",
- "version": "2.0.5",
+ "version": "2.0.6",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.8.4",
--- src/screens/ChannelsScreen.tsx
@@ -9,7 +9,7 @@ import {TextingNavParamsMap} from '../navigation/types';
import {useChannelContext} from '../channels/hooks';
import {ChannelRow, EmptyChannels} from '../channels/components';
import {useTranslation} from 'react-i18next';
-import {TEXTING_I18N_NAMESPACE} from "../translations";
+import {TEXTING_I18N_NAMESPACE} from '../translations';
const styles = StyleSheet.create({
list: {margin: 16, marginTop: 0, paddingTop: 16},
| fix lint | fix lint
|
ecb935b60bfdc19e73db5f03df2fc5531ddebf24 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart",
- "version": "1.25.10",
+ "version": "1.25.11",
"private": true,
"workspaces": [
"core",
--- targets/US/android/app/build.gradle
@@ -106,8 +106,8 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 936
- versionName "1.25.10"
+ versionCode 937
+ versionName "1.25.11"
}
signingConfigs {
debug {
--- targets/US/ios/AllSpark/Info.plist
@@ -19,7 +19,7 @@
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<!-- @customization - default: <string>$(MARKETING_VERSION)</string> -->
- <string>1.25.10</string>
+ <string>1.25.11</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
--- targets/US/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-us",
- "version": "1.25.10",
+ "version": "1.25.11",
"private": true,
"scripts": {
"android": "react-native run-android",
| version bump to v1.25.11 | version bump to v1.25.11
|
7f95263016e1a4a6d1990f0b77a6a5de34849340 | --- src/components/TeamList.tsx
@@ -43,8 +43,8 @@ import {messageButtonEnabled, pushToTalkEnabled} from '../redux/selectors';
const styles = StyleSheet.create({
listItem: {
- borderTopColor: colors.gray[20],
- borderTopWidth: 1,
+ borderBottomColor: colors.gray[20],
+ borderBottomWidth: 1,
},
firstItem: {
paddingTop: 8,
@@ -205,7 +205,8 @@ const TeamItem = (props: {
);
};
-const StoreTeamItem = () => {
+const StoreTeamItem = (props: {style?: StyleProp<ViewStyle>}) => {
+ const {style} = props;
const {t} = useTranslation([TEXTING_I18N_NAMESPACE]);
const navigation = useNavigation<NavigationProp<TextingNavParamsMap>>();
const isPushToTalkEnabled: boolean = useSelector(pushToTalkEnabled);
@@ -232,6 +233,7 @@ const StoreTeamItem = () => {
};
return (
<ListItem
+ UNSAFE_style={[styles.listItem, style]}
title={t('rosterScreen.storeChatCard.title', {
context: translationContext,
})}
@@ -336,7 +338,7 @@ export const TeamChatCard = (props: {
style={styles.firstItem}
/>
) : (
- <StoreTeamItem />
+ <StoreTeamItem style={styles.firstItem} />
)}
{expanded && (
--- src/screens/MessagesScreen.tsx
@@ -160,7 +160,7 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => {
});
}
} else {
- if (channelData !== undefined || !details.channelName) {
+ if (!details.channelName) {
await channelDocument.set(
{
group: details.group,
--- src/components/TeamList.tsx
@@ -43,8 +43,8 @@ import {messageButtonEnabled, pushToTalkEnabled} from '../redux/selectors';
const styles = StyleSheet.create({
listItem: {
- borderTopColor: colors.gray[20],
- borderTopWidth: 1,
+ borderBottomColor: colors.gray[20],
+ borderBottomWidth: 1,
},
firstItem: {
paddingTop: 8,
@@ -205,7 +205,8 @@ const TeamItem = (props: {
);
};
-const StoreTeamItem = () => {
+const StoreTeamItem = (props: {style?: StyleProp<ViewStyle>}) => {
+ const {style} = props;
const {t} = useTranslation([TEXTING_I18N_NAMESPACE]);
const navigation = useNavigation<NavigationProp<TextingNavParamsMap>>();
const isPushToTalkEnabled: boolean = useSelector(pushToTalkEnabled);
@@ -232,6 +233,7 @@ const StoreTeamItem = () => {
};
return (
<ListItem
+ UNSAFE_style={[styles.listItem, style]}
title={t('rosterScreen.storeChatCard.title', {
context: translationContext,
})}
@@ -336,7 +338,7 @@ export const TeamChatCard = (props: {
style={styles.firstItem}
/>
) : (
- <StoreTeamItem />
+ <StoreTeamItem style={styles.firstItem} />
)}
{expanded && (
--- src/screens/MessagesScreen.tsx
@@ -160,7 +160,7 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => {
});
}
} else {
- if (channelData !== undefined || !details.channelName) {
+ if (!details.channelName) {
await channelDocument.set(
{
group: details.group,
| update style | update style
|
d8e7effe9d09cd726c638877a970c071e6b1fa08 | --- packages/react-native-shared-navigation/src/index.ts
@@ -91,5 +91,6 @@ export const getCurrentRouteName = AllsparkNavigationClient.getCurrentRouteName;
export const addScreenChangeHandler = (
...params: Parameters<typeof AllsparkNavigationClient.addScreenChangeListener>
) => {
- AllsparkNavigationClient.addScreenChangeListener(...params);
+ const sub = AllsparkNavigationClient.addScreenChangeListener(...params);
+ return () => sub.remove();
};
| fix: return unsubscribe function from add screen change handler method | fix: return unsubscribe function from add screen change handler method
|
cac759925665397b3b5f7e9182eb08c32893ffe0 | --- packages/associate-exp-hub-mini-app/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.14.0](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.13.5...@walmart/associate-exp-hub-mini-app@1.14.0) (2025-12-22)
+
+### Features
+
+- **ui:** fix the loader issue ([2281be1](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/2281be1920fb3bd4d854114acee6f2ca360ccb82))
+- **ui:** fix the loader issue ([391a2c6](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/391a2c6d6bdfef06641e97e2d35c29f6730b8e9f))
+- **ui:** fix the loader issue ([8755831](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/87558315cedadd960f562ca7b813fec7354bcf52))
+
## [1.13.5](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.13.4...@walmart/associate-exp-hub-mini-app@1.13.5) (2025-12-19)
**Note:** Version bump only for package @walmart/associate-exp-hub-mini-app
--- packages/associate-exp-hub-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-mini-app",
- "version": "1.13.5",
+ "version": "1.14.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/associate-exp-hub-team-switcher/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.24.0](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.23.2...@walmart/associate-exp-hub-team-switcher@2.24.0) (2025-12-22)
+
+### Features
+
+- **ui:** fix the loader issue ([391a2c6](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/commit/391a2c6d6bdfef06641e97e2d35c29f6730b8e9f))
+- **ui:** fix the loader issue ([0c1e547](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/commit/0c1e54772e1d987fdf30312fd76b494cb1fc8ab8))
+- **ui:** fix the loader issue ([8755831](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/commit/87558315cedadd960f562ca7b813fec7354bcf52))
+
## [2.23.2](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.23.1...@walmart/associate-exp-hub-team-switcher@2.23.2) (2025-12-19)
**Note:** Version bump only for package @walmart/associate-exp-hub-team-switcher
--- packages/associate-exp-hub-team-switcher/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-team-switcher",
- "version": "2.23.2",
+ "version": "2.24.0",
"description": "Team Switcher module for Associate Experience Hub",
"packageManager": "yarn@4.6.0",
"engines": {
| chore(version): updating package version | chore(version): updating package version
- @walmart/associate-exp-hub-mini-app@1.14.0
- @walmart/associate-exp-hub-team-switcher@2.24.0
|
4a2af450565bc9f5bf1dc7459f73d6340283b10b | --- packages/allspark-foundation/__tests__/utils/setup.js
@@ -18,6 +18,7 @@ NativeModules.RNGestureHandlerModule = {};
NativeModules.RNDeviceInfo = {};
NativeModules.RNCAsyncStorage = {};
NativeModules.FileReaderModule = {};
+NativeModules.ExitApp = { exitApp: jest.fn() };
jest.mock('react-native-reanimated', () => {
const Reanimated = require('react-native-reanimated/mock');
--- packages/allspark-foundation/package.json
@@ -66,6 +66,7 @@
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@graphql-codegen/typescript-react-apollo": "^4.1.0",
+ "@logicwind/react-native-exit-app": "^0.2.0",
"@reduxjs/toolkit": "^1.9.7",
"@walmart/allspark-utils": "workspace:^",
"axios": "1.11.0",
--- packages/allspark-foundation/src/DeveloperMenu/EnvironmentToggleScreen.tsx
@@ -1,10 +1,11 @@
-import { Platform, View, StyleSheet, DevSettings } from 'react-native';
+import { Platform, View, StyleSheet } from 'react-native';
import { Body, Button, Radio } from '@walmart/gtp-shared-components';
import { AllsparkEnvironment } from '../Environment';
import { AllsparkLocalStorage } from '../LocalStorage';
import { SUPPORTED_ENVIRONMENTS, ENVIRONMENT_OVERRIDE } from './constants';
import { useCallback, useEffect, useState } from 'react';
import EncryptedStorage from '@walmart/react-native-encrypted-storage';
+import { exitApp } from '@logicwind/react-native-exit-app';
const cleanup = async () => {
// Clear caches
@@ -31,7 +32,7 @@ export const EnvironmentToggleScreen = () => {
}
await cleanup();
AllsparkLocalStorage.set(ENVIRONMENT_OVERRIDE, envSelected!);
- DevSettings.reload();
+ exitApp();
};
const renderEnvItem = useCallback(
--- packages/allspark-foundation/src/DeveloperMenu/hooks/useMenuConfig.tsx
@@ -2,7 +2,9 @@ import { useSelector } from 'react-redux';
import { getCanImpersonate } from '../impersonation/selectors';
import {
isAllsparkComponentsShown,
+ isCCMOverrideShown,
isEnvironmentShown,
+ isNetworkShown,
} from '../devMenuConfig';
import { DevMenuEnum } from '../types';
@@ -12,11 +14,13 @@ export const useMenuConfig = (): Record<DevMenuEnum, boolean> => {
const devMenuConfig: Record<string, boolean> = {
[DevMenuEnum.IMPERSONATION]: isImpersonationShown,
// Network logger, ccm overrides are temporarily behind impersonation AD group
- [DevMenuEnum.NETWORK_LOGGER]: isImpersonationShown,
+ [DevMenuEnum.NETWORK_LOGGER]: isNetworkShown && isImpersonationShown,
[DevMenuEnum.ALLSPARK_COMPONENTS]: isAllsparkComponentsShown,
[DevMenuEnum.ENVIRONMENT_TOGGLE]: isEnvironmentShown,
- [DevMenuEnum.APP_CONFIG_OVERRIDE]: isImpersonationShown,
- [DevMenuEnum.NAV_CONFIG_OVERRIDE]: isImpersonationShown,
+ [DevMenuEnum.APP_CONFIG_OVERRIDE]:
+ isCCMOverrideShown && isImpersonationShown,
+ [DevMenuEnum.NAV_CONFIG_OVERRIDE]:
+ isCCMOverrideShown && isImpersonationShown,
};
return devMenuConfig;
--- yarn.lock
@@ -4413,6 +4413,16 @@ __metadata:
languageName: node
linkType: hard
+"@logicwind/react-native-exit-app@npm:^0.2.0":
+ version: 0.2.0
+ resolution: "@logicwind/react-native-exit-app@npm:0.2.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40logicwind%2Freact-native-exit-app%2F-%2Freact-native-exit-app-0.2.0.tgz"
+ peerDependencies:
+ react: "*"
+ react-native: "*"
+ checksum: 10c0/e8a08c9a60e12d3cd28f8dd669e832361a63eb17519cd3105cf8d3dd4070f6992100f90fcc6633eaf42a954a9b57b99d423893d4d10fe78ee0103734bbba8254
+ languageName: node
+ linkType: hard
+
"@nicolo-ribaudo/eslint-scope-5-internals@npm:5.1.1-v1":
version: 5.1.1-v1
resolution: "@nicolo-ribaudo/eslint-scope-5-internals@npm:5.1.1-v1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40nicolo-ribaudo%2Feslint-scope-5-internals%2F-%2Feslint-scope-5-internals-5.1.1-v1.tgz"
@@ -7021,6 +7031,7 @@ __metadata:
"@graphql-codegen/typescript": "npm:^4.0.1"
"@graphql-codegen/typescript-operations": "npm:^4.0.1"
"@graphql-codegen/typescript-react-apollo": "npm:^4.1.0"
+ "@logicwind/react-native-exit-app": "npm:^0.2.0"
"@react-native-async-storage/async-storage": "npm:^1.21.0"
"@react-native-community/datetimepicker": "npm:^7.6.2"
"@react-native-community/netinfo": "npm:11.3.1"
| chore: sync dev menu with drop 35 changes (#406) | chore: sync dev menu with drop 35 changes (#406)
* refactor(dev-menu): ALLSPARK-6866 add exit app and remove dev settings
* fix: hide dev menu options in prod for impersonation users
* chore: fix lint |
43104ba4ddc220337a046b8d2793c687ac611c27 | --- packages/allspark-foundation/src/Core/docs/GraphQLCodegen.md
@@ -42,7 +42,7 @@ module.exports = {
### Code Generation
-Run `npx allspark-graphql-client-generate`.
+Run `npx allspark-generate-graphql`.
This will do the following this:
| docs: incorrect graphql codegen command used in example | docs: incorrect graphql codegen command used in example
|
ce328033c17ff41b01782fd9d73348325f134bdf | --- packages/expo-config-plugins/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.
+## [0.1.3](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/expo-config-plugins@0.1.2...@walmart/expo-config-plugins@0.1.3) (2025-03-24)
+
+**Note:** Version bump only for package @walmart/expo-config-plugins
+
## [0.1.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/expo-config-plugins@0.1.1...@walmart/expo-config-plugins@0.1.2) (2025-03-07)
**Note:** Version bump only for package @walmart/expo-config-plugins
--- packages/expo-config-plugins/package.json
@@ -1,7 +1,7 @@
{
"name": "@walmart/expo-config-plugins",
"packageManager": "yarn@4.1.1",
- "version": "0.1.2",
+ "version": "0.1.3",
"description": "Expo config plugins for me@apps",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
- @walmart/expo-config-plugins@0.1.3
|
6505af6cccdae4f2710e819f0a1e8cfaca54feaf | --- __tests__/__mocks__/react-native-biometrics.js
@@ -4,4 +4,8 @@ module.exports = {
isSensorAvailable: jest.fn(),
simplePrompt: jest.fn(),
},
+ ReactNativeBiometricsLegacy: {
+ isSensorAvailable: jest.fn(),
+ simplePrompt: jest.fn(),
+ },
};
--- __tests__/biometrics/BiometricSagasTest.ts
@@ -1,6 +1,6 @@
import {AppState} from 'react-native';
import {call, take, put, takeLatest, select} from 'redux-saga/effects';
-import Biometrics from 'react-native-biometrics';
+import {ReactNativeBiometricsLegacy as Biometrics} from 'react-native-biometrics';
import {getDeferredLoggerContext} from '@walmart/core-services/Logger';
import {navigate} from '@walmart/react-native-shared-navigation';
--- src/biometrics/BiometricSagas.ts
@@ -1,7 +1,10 @@
/* eslint-disable curly */
import {AppState} from 'react-native';
import {call, take, put, takeLatest, select} from 'redux-saga/effects';
-import Biometrics, {BiometryType} from 'react-native-biometrics';
+import {
+ BiometryType,
+ ReactNativeBiometricsLegacy as Biometrics,
+} from 'react-native-biometrics';
import {navigate} from '@walmart/react-native-shared-navigation';
import {
getDeferredLoggerContext,
| Using legacy biometrics | Using legacy biometrics
|
8c3ca88da4d847ef7e2b439ea7a8463d84ceaeed | --- src/screens/SearchScreen.tsx
@@ -192,7 +192,7 @@ export const SearchScreen: React.FC<SearchScreenProps> = (props) => {
setRecentSearchHistory(JSON.parse(recentSearchAssociates));
}
} catch (error) {
- logger.error('error in fetching the result', {
+ logger.error('Error in fetching the recent search history result', {
message: JSON.stringify((error as Error).message),
});
}
--- src/screens/SearchScreen.tsx
@@ -192,7 +192,7 @@ export const SearchScreen: React.FC<SearchScreenProps> = (props) => {
setRecentSearchHistory(JSON.parse(recentSearchAssociates));
}
} catch (error) {
- logger.error('error in fetching the result', {
+ logger.error('Error in fetching the recent search history result', {
message: JSON.stringify((error as Error).message),
});
}
| Update error log | Update error log
|
b3ca04009f2955ba22af9dcbc5c08d162f64628b | --- src/channels/components/ChannelRow.tsx
@@ -117,8 +117,7 @@ export const ChannelRow = (props: ChannelRowProps) => {
const shouldDisplayLastMessage =
lastMessage?.createdAt &&
- lastMessage?.createdAt?.toDate()?.getMilliseconds() <
- SEVEN_DAYS_AGO_TIMESTAMP?.toDate()?.getMilliseconds();
+ lastMessage?.createdAt?.seconds > SEVEN_DAYS_AGO_TIMESTAMP?.seconds;
const updatedLastMessageTime = shouldDisplayLastMessage
? lastMessageTime
--- src/channels/provider.tsx
@@ -103,8 +103,8 @@ export const ChannelsProvider = (props: PropsWithChildren<{}>) => {
if (
!isNil(lastMessageTimeInFirestore) &&
lastMessageTimeInFirestore &&
- lastMessageTimeInFirestore?.toDate()?.getMilliseconds() <
- SEVEN_DAYS_AGO_TIMESTAMP?.toDate()?.getMilliseconds()
+ lastMessageTimeInFirestore?.seconds <
+ SEVEN_DAYS_AGO_TIMESTAMP?.seconds
) {
teamChannelDoc.update({
participants: firestore.FieldValue.arrayUnion(viewerId),
@@ -147,8 +147,8 @@ export const ChannelsProvider = (props: PropsWithChildren<{}>) => {
if (
!isNil(lastMessageTimeInFirestore) &&
lastMessageTimeInFirestore &&
- lastMessageTimeInFirestore?.toDate()?.getMilliseconds() <
- SEVEN_DAYS_AGO_TIMESTAMP?.toDate()?.getMilliseconds()
+ lastMessageTimeInFirestore?.seconds <
+ SEVEN_DAYS_AGO_TIMESTAMP?.seconds
) {
storeChannelDoc.update({
participants: firestore.FieldValue.arrayUnion(viewerId),
--- src/channels/components/ChannelRow.tsx
@@ -117,8 +117,7 @@ export const ChannelRow = (props: ChannelRowProps) => {
const shouldDisplayLastMessage =
lastMessage?.createdAt &&
- lastMessage?.createdAt?.toDate()?.getMilliseconds() <
- SEVEN_DAYS_AGO_TIMESTAMP?.toDate()?.getMilliseconds();
+ lastMessage?.createdAt?.seconds > SEVEN_DAYS_AGO_TIMESTAMP?.seconds;
const updatedLastMessageTime = shouldDisplayLastMessage
? lastMessageTime
--- src/channels/provider.tsx
@@ -103,8 +103,8 @@ export const ChannelsProvider = (props: PropsWithChildren<{}>) => {
if (
!isNil(lastMessageTimeInFirestore) &&
lastMessageTimeInFirestore &&
- lastMessageTimeInFirestore?.toDate()?.getMilliseconds() <
- SEVEN_DAYS_AGO_TIMESTAMP?.toDate()?.getMilliseconds()
+ lastMessageTimeInFirestore?.seconds <
+ SEVEN_DAYS_AGO_TIMESTAMP?.seconds
) {
teamChannelDoc.update({
participants: firestore.FieldValue.arrayUnion(viewerId),
@@ -147,8 +147,8 @@ export const ChannelsProvider = (props: PropsWithChildren<{}>) => {
if (
!isNil(lastMessageTimeInFirestore) &&
lastMessageTimeInFirestore &&
- lastMessageTimeInFirestore?.toDate()?.getMilliseconds() <
- SEVEN_DAYS_AGO_TIMESTAMP?.toDate()?.getMilliseconds()
+ lastMessageTimeInFirestore?.seconds <
+ SEVEN_DAYS_AGO_TIMESTAMP?.seconds
) {
storeChannelDoc.update({
participants: firestore.FieldValue.arrayUnion(viewerId),
| update the time | update the time
|
a5103213ca1124ef323f1d31b476c7a9eadc1427 | --- package-lock.json
@@ -45,10 +45,6 @@
"prettier": "^2.0.4",
"react-test-renderer": "17.0.2",
"typescript": "^4.4.4"
- },
- "engines": {
- "node": "16.17.0",
- "npm": "8.15.0"
}
},
"node_modules/@ampproject/remapping": {
--- package.json
@@ -50,9 +50,5 @@
"pre-push": "npm run test",
"pre-commit": "npm run lint"
}
- },
- "engines": {
- "node": "16.17.0",
- "npm": "8.15.0"
}
}
| chore: remove engines requirement | chore: remove engines requirement
|
dbca864b93146c7081374581f783700d0b36e8dc | --- graphql.yml
@@ -8,17 +8,17 @@ applications:
- name: 'dev'
persistedQueries:
- name: 'GetAssociateClockStatus'
- hash: '122b9ef5f0c9148ef112b9ce11271819030909e46ad8c3e970803e556d1dcba3'
+ hash: 'b4080db4f80721f28469fdce6584ae8afe567ee4c200d77b6889912ec1c0d214'
queryTemplate: 'src/queries/getAssociateClockStatus.graphql'
tags:
- 'v1'
- name: 'GetAssociateName'
- hash: '687c9133f65c59d2c66804774292d0442bbd3c23fa3498987b9fda9781ae6ddb'
+ hash: 'f82efac63c0d36b80c7bc2a20ea4dfd6d8f970491fb373e8e0c61764dea2360f'
queryTemplate: 'src/queries/getAssociateName.graphql'
tags:
- 'v1'
- name: 'GetDailyRoster'
- hash: 'b23a8a25aca29e0f6604379e9ed3f7d28c6ba796a86f8b3b1a35af380f4c81db'
+ hash: '187c53243cfb632778ab2418a0170fc3522057a7f9a545eac7e23f29b6ae087d'
queryTemplate: 'src/queries/getDailyRoster.graphql'
tags:
- 'v1'
@@ -35,17 +35,17 @@ applications:
- name: 'stage'
persistedQueries:
- name: 'GetAssociateClockStatus'
- hash: '122b9ef5f0c9148ef112b9ce11271819030909e46ad8c3e970803e556d1dcba3'
+ hash: 'b4080db4f80721f28469fdce6584ae8afe567ee4c200d77b6889912ec1c0d214'
queryTemplate: 'src/queries/getAssociateClockStatus.graphql'
tags:
- 'v1'
- name: 'GetAssociateName'
- hash: '687c9133f65c59d2c66804774292d0442bbd3c23fa3498987b9fda9781ae6ddb'
+ hash: 'f82efac63c0d36b80c7bc2a20ea4dfd6d8f970491fb373e8e0c61764dea2360f'
queryTemplate: 'src/queries/getAssociateName.graphql'
tags:
- 'v1'
- name: 'GetDailyRoster'
- hash: 'b23a8a25aca29e0f6604379e9ed3f7d28c6ba796a86f8b3b1a35af380f4c81db'
+ hash: '187c53243cfb632778ab2418a0170fc3522057a7f9a545eac7e23f29b6ae087d'
queryTemplate: 'src/queries/getDailyRoster.graphql'
tags:
- 'v1'
@@ -62,17 +62,17 @@ applications:
- name: 'prod'
persistedQueries:
- name: 'GetAssociateClockStatus'
- hash: '122b9ef5f0c9148ef112b9ce11271819030909e46ad8c3e970803e556d1dcba3'
+ hash: 'b4080db4f80721f28469fdce6584ae8afe567ee4c200d77b6889912ec1c0d214'
queryTemplate: 'src/queries/getAssociateClockStatus.graphql'
tags:
- 'v1'
- name: 'GetAssociateName'
- hash: '687c9133f65c59d2c66804774292d0442bbd3c23fa3498987b9fda9781ae6ddb'
+ hash: 'f82efac63c0d36b80c7bc2a20ea4dfd6d8f970491fb373e8e0c61764dea2360f'
queryTemplate: 'src/queries/getAssociateName.graphql'
tags:
- 'v1'
- name: 'GetDailyRoster'
- hash: 'b23a8a25aca29e0f6604379e9ed3f7d28c6ba796a86f8b3b1a35af380f4c81db'
+ hash: '187c53243cfb632778ab2418a0170fc3522057a7f9a545eac7e23f29b6ae087d'
queryTemplate: 'src/queries/getDailyRoster.graphql'
tags:
- 'v1'
--- graphql.yml
@@ -8,17 +8,17 @@ applications:
- name: 'dev'
persistedQueries:
- name: 'GetAssociateClockStatus'
- hash: '122b9ef5f0c9148ef112b9ce11271819030909e46ad8c3e970803e556d1dcba3'
+ hash: 'b4080db4f80721f28469fdce6584ae8afe567ee4c200d77b6889912ec1c0d214'
queryTemplate: 'src/queries/getAssociateClockStatus.graphql'
tags:
- 'v1'
- name: 'GetAssociateName'
- hash: '687c9133f65c59d2c66804774292d0442bbd3c23fa3498987b9fda9781ae6ddb'
+ hash: 'f82efac63c0d36b80c7bc2a20ea4dfd6d8f970491fb373e8e0c61764dea2360f'
queryTemplate: 'src/queries/getAssociateName.graphql'
tags:
- 'v1'
- name: 'GetDailyRoster'
- hash: 'b23a8a25aca29e0f6604379e9ed3f7d28c6ba796a86f8b3b1a35af380f4c81db'
+ hash: '187c53243cfb632778ab2418a0170fc3522057a7f9a545eac7e23f29b6ae087d'
queryTemplate: 'src/queries/getDailyRoster.graphql'
tags:
- 'v1'
@@ -35,17 +35,17 @@ applications:
- name: 'stage'
persistedQueries:
- name: 'GetAssociateClockStatus'
- hash: '122b9ef5f0c9148ef112b9ce11271819030909e46ad8c3e970803e556d1dcba3'
+ hash: 'b4080db4f80721f28469fdce6584ae8afe567ee4c200d77b6889912ec1c0d214'
queryTemplate: 'src/queries/getAssociateClockStatus.graphql'
tags:
- 'v1'
- name: 'GetAssociateName'
- hash: '687c9133f65c59d2c66804774292d0442bbd3c23fa3498987b9fda9781ae6ddb'
+ hash: 'f82efac63c0d36b80c7bc2a20ea4dfd6d8f970491fb373e8e0c61764dea2360f'
queryTemplate: 'src/queries/getAssociateName.graphql'
tags:
- 'v1'
- name: 'GetDailyRoster'
- hash: 'b23a8a25aca29e0f6604379e9ed3f7d28c6ba796a86f8b3b1a35af380f4c81db'
+ hash: '187c53243cfb632778ab2418a0170fc3522057a7f9a545eac7e23f29b6ae087d'
queryTemplate: 'src/queries/getDailyRoster.graphql'
tags:
- 'v1'
@@ -62,17 +62,17 @@ applications:
- name: 'prod'
persistedQueries:
- name: 'GetAssociateClockStatus'
- hash: '122b9ef5f0c9148ef112b9ce11271819030909e46ad8c3e970803e556d1dcba3'
+ hash: 'b4080db4f80721f28469fdce6584ae8afe567ee4c200d77b6889912ec1c0d214'
queryTemplate: 'src/queries/getAssociateClockStatus.graphql'
tags:
- 'v1'
- name: 'GetAssociateName'
- hash: '687c9133f65c59d2c66804774292d0442bbd3c23fa3498987b9fda9781ae6ddb'
+ hash: 'f82efac63c0d36b80c7bc2a20ea4dfd6d8f970491fb373e8e0c61764dea2360f'
queryTemplate: 'src/queries/getAssociateName.graphql'
tags:
- 'v1'
- name: 'GetDailyRoster'
- hash: 'b23a8a25aca29e0f6604379e9ed3f7d28c6ba796a86f8b3b1a35af380f4c81db'
+ hash: '187c53243cfb632778ab2418a0170fc3522057a7f9a545eac7e23f29b6ae087d'
queryTemplate: 'src/queries/getDailyRoster.graphql'
tags:
- 'v1'
| chore: update graphql yml | chore: update graphql yml
|
0acb34bdcdd98f2f0b34f061fefde95a9618ad9c | --- package-lock.json
@@ -4553,11 +4553,11 @@
}
},
"@walmart/core-services": {
- "version": "1.0.7",
- "resolved": "https://npme.walmart.com/@walmart/core-services/-/core-services-1.0.7.tgz",
- "integrity": "sha512-mO+icMP3IUh5jjIjerGZz/wcYrs/tZQ6fbeNJ19wpq/xogfaEtuf573nIdILyVvcqUMpAyR4M/Ur87lZpvRwSA==",
+ "version": "1.0.8",
+ "resolved": "https://npme.walmart.com/@walmart/core-services/-/core-services-1.0.8.tgz",
+ "integrity": "sha512-t0/iTnvOjQpjbM3BZVyliY0Zybei4h8J3t+8Xb9MzPOMpVS3QKTeRM2NEDCjRSAt9xRlWwIwwBGPBPlnnTBoIA==",
"requires": {
- "@walmart/core-utils": "^1.0.7",
+ "@walmart/core-utils": "^1.0.8",
"axios": "^0.26.0",
"lodash": "^4.17.21",
"reduxsauce": "^1.2.1",
@@ -4592,9 +4592,9 @@
}
},
"@walmart/core-services-allspark": {
- "version": "1.2.0",
- "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-1.2.0.tgz",
- "integrity": "sha512-d+fjPQjW23bKMJpGmcHc9og65kIm5bzYypD/EZEw90zhRki1R4s5BqQofiMrJ2xE6CgLUVA8bOlryVZYcrcQbg==",
+ "version": "1.2.1",
+ "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-1.2.1.tgz",
+ "integrity": "sha512-T8SBxzyaxiZU31f4VUT+6CoGXmHFbJ3xgu8BwLeCvD/ejHs+uyH7nn1xZalGUv/EG5WIKeIWIKCajCm3jFsOyA==",
"requires": {
"axios": "^0.26.0",
"crypto-js": "^4.1.1",
@@ -4627,9 +4627,9 @@
}
},
"@walmart/core-utils": {
- "version": "1.0.7",
- "resolved": "https://npme.walmart.com/@walmart/core-utils/-/core-utils-1.0.7.tgz",
- "integrity": "sha512-4uDWbCvMWUC7JVFYkhWvokYeMdCNeuFXYXBsh5cyhbcTKMHLLRxAtEt3+0bKWUZUaTqxaadIWGf9PjyQzUs1Eg==",
+ "version": "1.0.8",
+ "resolved": "https://npme.walmart.com/@walmart/core-utils/-/core-utils-1.0.8.tgz",
+ "integrity": "sha512-CwN4uUPBWDUQocevPzE9J852gXx6NsPd8HgU/b4P4rNWTEbftqUNFZRnXy9hpxWcNDTVArVE4epuTIpzxvy9EQ==",
"requires": {
"lodash": "^4.17.21",
"redux": "^4.1.2",
--- package.json
@@ -75,9 +75,9 @@
"@walmart/allspark-neon-core": "0.1.26",
"@walmart/ask-sam-mini-app": "^0.41.8",
"@walmart/config-components": "3.0.2",
- "@walmart/core-services": "^1.0.7",
- "@walmart/core-services-allspark": "^1.2.0",
- "@walmart/core-utils": "^1.0.7",
+ "@walmart/core-services": "^1.0.8",
+ "@walmart/core-services-allspark": "^1.2.1",
+ "@walmart/core-utils": "^1.0.8",
"@walmart/counts-component-miniapp": "0.0.35",
"@walmart/exception-mini-app": "0.41.1",
"@walmart/feedback-all-spark-miniapp": "0.3.8",
| bumping core services for network fix | bumping core services for network fix
|
c9b27135ddd63433b06faa72274406b4d004bb3a | --- package-lock.json
@@ -37,6 +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.0",
"@walmart/config-components": "4.1.0-rc.4",
"@walmart/core-services": "~2.0.19",
"@walmart/core-services-allspark": "~2.10.13",
@@ -4905,6 +4906,16 @@
"lodash": "^4.17.15"
}
},
+ "node_modules/@walmart/compass-sdk-rn": {
+ "version": "3.16.0",
+ "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-3.16.0.tgz",
+ "integrity": "sha512-PjqoRqX0Zs4zvdDfnYpGwiQf+kct0kcBNF8YJIGcPXg/x6cNqlfCOcEegh7CMSbrMddva3wPJdI9i5ZbI6Br4w==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": "*",
+ "react-native": "*"
+ }
+ },
"node_modules/@walmart/config-components": {
"version": "4.1.0-rc.4",
"resolved": "https://npme.walmart.com/@walmart/config-components/-/config-components-4.1.0-rc.4.tgz",
@@ -25160,6 +25171,11 @@
"lodash": "^4.17.15"
}
},
+ "@walmart/compass-sdk-rn": {
+ "version": "3.16.0",
+ "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-3.16.0.tgz",
+ "integrity": "sha512-PjqoRqX0Zs4zvdDfnYpGwiQf+kct0kcBNF8YJIGcPXg/x6cNqlfCOcEegh7CMSbrMddva3wPJdI9i5ZbI6Br4w=="
+ },
"@walmart/config-components": {
"version": "4.1.0-rc.4",
"resolved": "https://npme.walmart.com/@walmart/config-components/-/config-components-4.1.0-rc.4.tgz",
@@ -25343,7 +25359,9 @@
}
},
"@walmart/mod-flex-mini-app": {
- "version": "1.6.3"
+ "version": "1.8.6",
+ "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.8.6.tgz",
+ "integrity": "sha512-XEi9JkU4vlxFgD/a9E0drNkYlRSefw6UbQTFbACSJy21zeMMB9haz1u6cVWo/Me14JYYZtiPk1A/1kLlc/aUuQ=="
},
"@walmart/moment-walmart": {
"version": "1.0.4"
--- package.json
@@ -79,6 +79,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.0",
"@walmart/config-components": "4.1.0-rc.4",
"@walmart/core-services": "~2.0.19",
"@walmart/core-services-allspark": "~2.10.13",
| Added missing compass-sdk-rn version | Added missing compass-sdk-rn version
From release: https://gecgithub01.walmart.com/Compass/compass-sdk-rn/releases/tag/v3.16.0
|
46e2235846b34abbfd401fda5e0b46f4bb581644 | --- __tests__/components/TeamHubHeader.test.tsx
@@ -26,6 +26,6 @@ describe('Hub header tests', () => {
it('renders the header', () => {
render(<TeamHubHeader />);
const title = screen.getByLabelText('title');
- expect(title).toHaveProperty('_fiber.memoizedProps.children', 'myteam.hubHeader.title');
+ expect(title).toHaveProperty('_fiber.memoizedProps.children', 'hubHeader.title');
});
});
--- src/__tests__/translations/translations.test.ts
@@ -194,61 +194,8 @@ describe('MyTeam Translation Files Validation', () => {
});
});
- describe('Namespace Prefix', () => {
- it('should have all keys start with "myteam." namespace prefix', () => {
- const content = fs.readFileSync(enUSPath, 'utf8');
- const translations = JSON.parse(content);
- const keys = filterTranslationKeys(Object.keys(translations));
-
- keys.forEach((key) => {
- expect(key).toMatch(/^myteam\./);
- });
- });
-
- it('should not have any keys without namespace prefix', () => {
- const content = fs.readFileSync(enUSPath, 'utf8');
- const translations = JSON.parse(content);
- const keys = filterTranslationKeys(Object.keys(translations));
-
- const keysWithoutNamespace = keys.filter(
- (key) => !key.startsWith('myteam.')
- );
-
- expect(keysWithoutNamespace).toEqual([]);
- });
-
- it('should use consistent namespace across all locales', () => {
- const files = fs
- .readdirSync(localesPath)
- .filter((file) => file.endsWith('.json'));
-
- files.forEach((file) => {
- const filePath = path.join(localesPath, file);
- const content = fs.readFileSync(filePath, 'utf8');
- const translations = JSON.parse(content);
- const keys = filterTranslationKeys(Object.keys(translations));
-
- keys.forEach((key) => {
- expect(key).toMatch(/^myteam\./);
- });
- });
- });
-
- it('should not have keys with multiple namespace prefixes', () => {
- const content = fs.readFileSync(enUSPath, 'utf8');
- const translations = JSON.parse(content);
- const keys = filterTranslationKeys(Object.keys(translations));
-
- // Check that keys don't start with other known namespaces
- const otherNamespaces = ['roster.', 'wmconnect.', 'allspark.'];
-
- keys.forEach((key) => {
- otherNamespaces.forEach((namespace) => {
- expect(key.startsWith(namespace)).toBe(false);
- });
- });
- });
- });
+ // Namespace prefix tests removed - MyTeam now follows roster pattern (no prefixes)
+ // Keys use pattern: component.property instead of myteam.component.property
describe('Translation Format', () => {
it('should use flat structure with no nested objects', () => {
--- src/components/TeamHubHeader.tsx
@@ -5,6 +5,6 @@ import {translationClient} from '../common/translation';
export const TeamHubHeader = () => {
const {t} = translationClient.useTranslation();
return (
- <HubHeader title={t('myteam.hubHeader.title')} subText={t('myteam.hubHeader.subText')} />
+ <HubHeader title={t('hubHeader.title')} subText={t('hubHeader.subText')} />
);
};
--- src/translations/locales/en-US.json
@@ -1,6 +1,6 @@
{
- "myteam.container.languageName": "English",
- "myteam.hubHeader.subText": "Maximize your team's impact and support your associates' growth.",
- "myteam.hubHeader.title": "Support your team",
- "myteam.title": "Team"
+ "container.languageName": "English",
+ "hubHeader.subText": "Maximize your team's impact and support your associates' growth.",
+ "hubHeader.title": "Support your team",
+ "title": "Team"
}
--- src/translations/locales/es-MX.json
@@ -1,6 +1,6 @@
{
- "myteam.container.languageName": "Español",
- "myteam.hubHeader.subText": "Maximiza el impacto de tu equipo y apoya el crecimiento de tus asociados.",
- "myteam.hubHeader.title": "Apoya a tu equipo",
- "myteam.title": "Equipo"
+ "container.languageName": "Español",
+ "hubHeader.subText": "Maximiza el impacto de tu equipo y apoya el crecimiento de tus asociados.",
+ "hubHeader.title": "Apoya a tu equipo",
+ "title": "Equipo"
}
--- src/translations/locales/fr-CA.json
@@ -1,7 +1,7 @@
{
"_comment": "Placeholder translations - pending WTP professional translation",
- "myteam.container.languageName": "Français",
- "myteam.hubHeader.subText": "Maximisez l'impact de votre équipe et soutenez la croissance de vos associés.",
- "myteam.hubHeader.title": "Soutenez votre équipe",
- "myteam.title": "Équipe"
+ "container.languageName": "Français",
+ "hubHeader.subText": "Maximisez l'impact de votre équipe et soutenez la croissance de vos associés.",
+ "hubHeader.title": "Soutenez votre équipe",
+ "title": "Équipe"
}
--- src/translations/locales/zh-CN.json
@@ -1,7 +1,7 @@
{
"_comment": "AI-generated placeholder translations - awaiting WTP professional translation",
- "myteam.container.languageName": "简体中文",
- "myteam.hubHeader.subText": "最大化您的团队影响力并支持您的员工成长。",
- "myteam.hubHeader.title": "支持您的团队",
- "myteam.title": "团队"
+ "container.languageName": "简体中文",
+ "hubHeader.subText": "最大化您的团队影响力并支持您的员工成长。",
+ "hubHeader.title": "支持您的团队",
+ "title": "团队"
}
| fix(translations): remove myteam namespace prefix to align with roster | fix(translations): remove myteam namespace prefix to align with roster
BREAKING CHANGE: Translation keys no longer use myteam.* prefix
- Removed myteam.* prefix from 4 translation keys across all 4 locales
- Updated TeamHubHeader component to use unprefixed keys
- Updated translation tests to match new pattern
- Updated TeamHubHeader test expectations
- Keys now follow roster pattern: component.property instead of myteam.component.property
Aligns with WTP reference standard (roster submodule).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
b7bf18a7c0f33ba8ccd3778e0d573ac22466cb49 | --- package-lock.json
@@ -3398,9 +3398,9 @@
"integrity": "sha512-XIe9NBjtk/zGaLjqebff1Rlg00DaorQvmmzcCZ52ADC7keuhy9AoZahOw83qR3w1B+d9aImaciBoov0FrwOtwQ=="
},
"@walmart/iteminfo-mini-app": {
- "version": "2.0.9",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-2.0.9.tgz",
- "integrity": "sha512-yNCoqCfwUJTn+EifCnb1dWidyya4BdmZtgPu8jVN/jXQdhiTjnK4zx1Hx9tGfKSwIYBmgl0Nf+ePqaZh959mjA==",
+ "version": "2.0.11",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-2.0.11.tgz",
+ "integrity": "sha512-jOaxp6Zd6blOPGKovU7sWOJZtduoIw2ckeTP3ipKgcwNWUZ7bbLE6jX7MoBAWAKPIHyHrgtnvE5EzsE1OJCvXA==",
"requires": {
"react-native-chart-kit": "6.6.1"
}
--- package.json
@@ -84,7 +84,7 @@
"@walmart/impersonation-mini-app": "1.0.19",
"@walmart/ims-print-services-ui": "0.0.36",
"@walmart/inbox-mini-app": "0.8.0",
- "@walmart/iteminfo-mini-app": "2.0.9",
+ "@walmart/iteminfo-mini-app": "2.0.11",
"@walmart/manager-approvals-miniapp": "0.0.51",
"@walmart/metrics-mini-app": "0.4.14",
"@walmart/moment-walmart": "1.0.4",
| Fixing ItemInfo error logs on splunk | Fixing ItemInfo error logs on splunk
|
d633f0445e6dfa2480eaaf9848a2e67ed6e60a52 | --- package-lock.json
@@ -2830,9 +2830,9 @@
}
},
"@react-navigation/drawer": {
- "version": "5.9.0",
- "resolved": "https://npme.walmart.com/@react-navigation/drawer/-/drawer-5.9.0.tgz",
- "integrity": "sha512-YcuJ9QD4cFyjfXJx6vMsG3u3bfOU/Nt+GvMMl+4rZOxw2LStmubY1jqfsEAli/+dTUHv5kXJf5dF+/GhUCqA5g==",
+ "version": "5.9.1",
+ "resolved": "https://npme.walmart.com/@react-navigation/drawer/-/drawer-5.9.1.tgz",
+ "integrity": "sha512-6KJDr0looXo95w+wN8lzcQVVbPe7g/u85gmLaXbLZ1lHqeyHm3qyx5NVYBwVbbZ0/ufIlXbxOQ2h7yeV0jOvsQ==",
"requires": {
"color": "^3.1.2",
"react-native-iphone-x-helper": "^1.2.1"
--- package.json
@@ -28,7 +28,7 @@
"@react-native-firebase/perf": "^7.4.3",
"@react-native-firebase/remote-config": "^9.0.5",
"@react-navigation/bottom-tabs": "^5.8.0",
- "@react-navigation/drawer": "^5.9.0",
+ "@react-navigation/drawer": "^5.9.1",
"@react-navigation/material-top-tabs": "^5.2.16",
"@react-navigation/native": "^5.7.3",
"@react-navigation/stack": "^5.9.0",
--- src/navigation/Navigation.tsx
@@ -114,7 +114,10 @@ const DrawerContentNav = () => (
const Drawer = createDrawerNavigator();
const DrawerNav = () => (
- <Drawer.Navigator drawerContent={(props) => <SideMenuContent {...props} />}>
+ <Drawer.Navigator
+ drawerStyle={styles.drawer}
+ overlayColor='rgba(0, 0, 0, 0.6)'
+ drawerContent={(props) => <SideMenuContent {...props} />}>
<Drawer.Screen name='main' component={DrawerContentNav} />
</Drawer.Navigator>
);
--- src/navigation/NavigationStyle.ts
@@ -35,4 +35,7 @@ export default StyleSheet.create({
marginTop: 4,
marginBottom: 2,
},
+ drawer: {
+ width: '89%',
+ },
});
--- src/navigation/SideMenuContent.tsx
@@ -27,23 +27,23 @@ const config = [
},
},
{
- menuType: 'SUBMENU',
- icon: 'feedback',
- title: 'Give Feedback',
+ menuType: 'TOGGLE',
+ icon: 'team',
+ title: 'Notifications',
enabled: true,
action: {
- type: 'NAVIGATE',
- value: 'Feedback',
+ type: 'Toggle',
+ value: 'Disturb',
},
},
{
- menuType: 'TOGGLE',
- icon: 'team',
- title: 'Do Not Disturb',
+ menuType: 'SUBMENU',
+ icon: 'feedback',
+ title: 'Give Feedback',
enabled: true,
action: {
- type: 'Toggle',
- value: 'Disturb',
+ type: 'NAVIGATE',
+ value: 'Feedback',
},
},
];
| updating side menu | updating side menu
|
c257d99d1c41e4a6bb6d0c7933308bc62fc8bc07 | --- graphql.yml
@@ -73,11 +73,11 @@ applications:
queryTemplate: "packages/me-at-walmart-athena-queries/src/getAssociateById.graphql"
tags:
- "v1"
- - name: "getAssociatePreferences"
- hash: "38e0530d669fff42cb1dc8e5814369c40c33f6d6a77ed734e039948a0c06e8f4"
- queryTemplate: "packages/me-at-walmart-athena-queries/src/getAssociatePreference.graphql"
- tags:
- - "v1"
+ # - name: "getAssociatePreferences"
+ # hash: "38e0530d669fff42cb1dc8e5814369c40c33f6d6a77ed734e039948a0c06e8f4"
+ # queryTemplate: "packages/me-at-walmart-athena-queries/src/getAssociatePreference.graphql"
+ # tags:
+ # - "v1"
- name: "getDailyRosterHome"
hash: "3c492831585580bae535c3386ec48e90c2d1895450016f050653bd51ddf86c21"
queryTemplate: "packages/me-at-walmart-athena-queries/src/getDailyRosterHome.graphql"
@@ -88,28 +88,28 @@ applications:
queryTemplate: "packages/me-at-walmart-athena-queries/src/getLoggedInUser.graphql"
tags:
- "v1"
- - name: "getSupplyChainTeamPreference"
- hash: "61253c3d4d8ab6db774a903969c2f63de9113f44c1947d52c3630dd38ce30839"
- queryTemplate: "packages/me-at-walmart-athena-queries/src/getSupplyChainTeamPreferenceQuery.graphql"
- tags:
- - "v1"
+ # - name: "getSupplyChainTeamPreference"
+ # hash: "61253c3d4d8ab6db774a903969c2f63de9113f44c1947d52c3630dd38ce30839"
+ # queryTemplate: "packages/me-at-walmart-athena-queries/src/getSupplyChainTeamPreferenceQuery.graphql"
+ # tags:
+ # - "v1"
- name: "getTeamByIdHome"
hash: "6b4b876250309d85dd51831ace4595bd1764b3d41ef7fd65c08df03b4c4982e0"
queryTemplate: "packages/me-at-walmart-athena-queries/src/getTeamByIdHome.graphql"
tags:
- "v1"
- - name: "GetTeamsByStore"
- hash: "e500ff0792181beb5a6281effd5b5324834295856eaaa4c2af8336f6643a0a44"
- queryTemplate: "packages/me-at-walmart-athena-queries/src/getTeamsbyStore.graphql"
- tags:
- - "v1"
+ # - name: "GetTeamsByStore"
+ # hash: "e500ff0792181beb5a6281effd5b5324834295856eaaa4c2af8336f6643a0a44"
+ # queryTemplate: "packages/me-at-walmart-athena-queries/src/getTeamsbyStore.graphql"
+ # tags:
+ # - "v1"
- name: "upsertAssociatePreference"
hash: "972c522c6ad0675f13587637cff2dd2ed46937a9878a48a66ad2bc2f7d51a036"
queryTemplate: "packages/me-at-walmart-athena-queries/src/updateAssociatePrivacyPreference.graphql"
tags:
- "v1"
- - name: "upsertManagerExperiencePreference"
- hash: "bdf7ca7ba91a0c700df0b0dbd418064d98ef1c2818688e2a1c9e478d8cc3e1ca"
- queryTemplate: "packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql"
- tags:
- - "v1"
+ # - name: "upsertManagerExperiencePreference"
+ # hash: "bdf7ca7ba91a0c700df0b0dbd418064d98ef1c2818688e2a1c9e478d8cc3e1ca"
+ # queryTemplate: "packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql"
+ # tags:
+ # - "v1"
| Update graphql.yml | Update graphql.yml |
859a57d7d9bff31592bcbbea9b14531f4aaf0875 | --- package-lock.json
@@ -4253,9 +4253,9 @@
"integrity": "sha512-0M7ySb3F2lKlIfwBosm+Slx3kJvdoEHm5haaZ05WKCJ1hctu0F0CzTGDSbZciXWX92HJBmxvsvr8yi2H435R8g=="
},
"@walmart/ims-print-services-ui": {
- "version": "0.1.21",
- "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-0.1.21.tgz",
- "integrity": "sha512-OO0iolml1PHF9cIYRQLV1BJJ6Vz/2wzToVUzE+XbNFPTTgb69RUVRs9OC4PAKLUfQ/DyCdF8pcEoatTwUDtq+w=="
+ "version": "0.1.22",
+ "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-0.1.22.tgz",
+ "integrity": "sha512-Vpwrt460LPca7ZGjDrDezorVnr+WebRntHaUGkAhIDVVfna0P3wyJcRnr18/hged+q/3f6NmYfZgB3ZaGxGlgg=="
},
"@walmart/inbox-mini-app": {
"version": "0.33.0",
@@ -4263,9 +4263,9 @@
"integrity": "sha512-3EZg12hAGhSB9dlFizagfVTITjRo6Z+GphKpjP2RHlYoP3Ado1v/JSnvk0v2yI+75dll43BunIaTiuoB5G0s0A=="
},
"@walmart/iteminfo-mini-app": {
- "version": "4.1.2",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-4.1.2.tgz",
- "integrity": "sha512-x7R0fZX60o9YrngJPAFQyefIVezwF5GOyRsNZSIkRKd5P7+COhpIJWShhhbSiXX1i4EprqezFavfZpDug/ppug=="
+ "version": "4.1.3",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-4.1.3.tgz",
+ "integrity": "sha512-cKasUC/cFqbmLW0fVX5tl7sv74QXz5fKGAemAuqmcVic/0HETb56z0Us1aMBc9PjiOvwHtSf2+1lAtJcIzslLw=="
},
"@walmart/manager-approvals-miniapp": {
"version": "0.0.59",
--- package.json
@@ -83,9 +83,9 @@
"@walmart/gta-react-native-calendars": "0.0.15",
"@walmart/gtp-shared-components": "1.2.0",
"@walmart/impersonation-mini-app": "1.0.27",
- "@walmart/ims-print-services-ui": "0.1.21",
+ "@walmart/ims-print-services-ui": "0.1.22",
"@walmart/inbox-mini-app": "0.33.0",
- "@walmart/iteminfo-mini-app": "4.1.2",
+ "@walmart/iteminfo-mini-app": "4.1.3",
"@walmart/manager-approvals-miniapp": "0.0.59",
"@walmart/metrics-mini-app": "0.7.57",
"@walmart/moment-walmart": "1.0.4",
| Minor vqa changes | Minor vqa changes
|
36a5ed3c9535a45dacadcb4b0a12e9e58009f4cb | --- __tests__/whatsNew/__snapshots__/WhatsNewScreenTest.tsx.snap
@@ -89,6 +89,7 @@ exports[`WhatsNewScreen handles undefined config 1`] = `
</Text>
<SolidCard
color="white"
+ contentInset="none"
elevation={1}
style={
Object {
@@ -163,6 +164,7 @@ exports[`WhatsNewScreen handles undefined config 1`] = `
</SolidCard>
<SolidCard
color="white"
+ contentInset="none"
elevation={1}
style={
Object {
@@ -335,6 +337,7 @@ exports[`WhatsNewScreen renders correctly 1`] = `
</Text>
<SolidCard
color="white"
+ contentInset="none"
elevation={1}
style={
Object {
@@ -472,6 +475,7 @@ exports[`WhatsNewScreen renders correctly 1`] = `
</SolidCard>
<SolidCard
color="white"
+ contentInset="none"
elevation={1}
style={
Object {
--- package-lock.json
@@ -12726,9 +12726,9 @@
"integrity": "sha512-4H3rF9M+I2yAZpYJcY0Mb29TXkn98QK12rrKSY6LZj1BQD9NNmRZuNXzwX4XHapsIz+N/J8M3p27FOQPbfzqeg=="
},
"react-native-v8": {
- "version": "0.63.2-patch.1",
- "resolved": "https://npme.walmart.com/react-native-v8/-/react-native-v8-0.63.2-patch.1.tgz",
- "integrity": "sha512-ZbIO1HR/36hEC1swNpRP86FCsdZJels+BB7hW38Oq8JA8B1HsBKzncAhyzCPZT1/ibvCRbPoYFAUrpR4Q6Ju4Q==",
+ "version": "0.63.4-patch.0",
+ "resolved": "https://npme.walmart.com/react-native-v8/-/react-native-v8-0.63.4-patch.0.tgz",
+ "integrity": "sha512-5lbwL1yfPrZKIA89sNTpjKe+fa89BT8sPNg8e4JjVKYl2iSaZRnF30shsTbM7OVDryaecZabUoh+0kGvkDQqSA==",
"requires": {
"v8-android": "~8.84.0"
}
--- package.json
@@ -137,7 +137,7 @@
"react-native-tab-view": "^2.15.2",
"react-native-table-component": "^1.2.1",
"react-native-typing-animation": "^0.1.7",
- "react-native-v8": "^0.63.2-patch.1",
+ "react-native-v8": "^0.63.4-patch.0",
"react-native-vector-icons": "^7.0.0",
"react-native-version": "^4.0.0",
"react-native-video": "^5.1.0-alpha8",
--- src/whatsNew/WhatsNewScreen.tsx
@@ -53,7 +53,11 @@ export const WhatsNewScreen = () => {
<SparkIcon size={32} color='#ffc220' />
<Text style={styles.title}>{translate('whatsNew.screenTitle')}</Text>
- <SolidCard color='white' elevation={1} style={styles.card}>
+ <SolidCard
+ color='white'
+ elevation={1}
+ style={styles.card}
+ contentInset='none'>
<View style={styles.cardContent}>
<Text style={styles.cardTitle}>
{translate('whatsNew.whatsNewTitle')}
@@ -73,7 +77,11 @@ export const WhatsNewScreen = () => {
)}
</SolidCard>
- <SolidCard color='white' elevation={1} style={styles.card}>
+ <SolidCard
+ color='white'
+ elevation={1}
+ style={styles.card}
+ contentInset='none'>
<View style={styles.cardContent}>
<Text style={styles.cardTitle}>
{translate('whatsNew.whatsNextTitle')}
| Fixing whats new screen card padding. Incrementing v8 version | Fixing whats new screen card padding. Incrementing v8 version
|
9be4a026d362c7e48f6f00ac5e0d0fefa62620cd | --- 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.6",
+ "@walmart/receipt-check-miniapp": "1.8.6",
"@walmart/redux-store": "2.0.4",
"@walmart/refrigeration-alarms-mini-app": "1.35.0",
"@walmart/schedule-mini-app": "0.25.0",
| Receipt check bug fixes | Receipt check bug fixes
|
b8705220ff62264278c11d79865a64cfa0385baf | --- __tests__/transforms/userTest.ts
@@ -0,0 +1,22 @@
+import {
+ NOT_FOUND,
+ DEFAULT_COUNTRY_CODE,
+ defaultCountryCode,
+} from '../../src/transforms/user';
+
+describe('defaultCountryCode', () => {
+ it('returns original country code if valid', () => {
+ const countryCode = 'IN';
+ expect(defaultCountryCode(countryCode)).toEqual(countryCode);
+ });
+
+ it('returns default if given value is falsy', () => {
+ expect(defaultCountryCode(undefined)).toEqual(DEFAULT_COUNTRY_CODE);
+ expect(defaultCountryCode(null)).toEqual(DEFAULT_COUNTRY_CODE);
+ expect(defaultCountryCode('')).toEqual(DEFAULT_COUNTRY_CODE);
+ });
+
+ it('returns default if given value is not found', () => {
+ expect(defaultCountryCode(NOT_FOUND)).toEqual(DEFAULT_COUNTRY_CODE);
+ });
+});
--- src/core/analyticsInit.ts
@@ -16,6 +16,7 @@ import {
createRestartableSagas,
} from '../redux';
import {SESSION_ID} from '../services/Session';
+import {defaultCountryCode} from '../transforms/user';
export function* onUserChanged() {
const userData: User = yield select(getOriginalUserData);
@@ -25,7 +26,7 @@ export function* onUserChanged() {
const hashedUserId = yield call(sha256, userId);
yield call(WmTelemetry.setUserId, hashedUserId);
yield call(WmTelemetry.setUserProperties, {
- countryCode: userData.countryCode,
+ countryCode: defaultCountryCode(userData.countryCode),
division: userData.division,
regionNbr: String(userData.regionNumber),
site: String(siteId),
--- src/core/loggerInit.ts
@@ -20,6 +20,7 @@ import {
createRestartableSagas,
} from '../redux';
import {SESSION_ID} from '../services/Session';
+import {defaultCountryCode} from '../transforms/user';
import env from '../../env';
@@ -75,7 +76,7 @@ export function* onUserChanged() {
const systemInfo = yield call(getSystemInfo);
yield call(DefaultLogger.setUserInfo, {
- country: user.countryCode,
+ country: defaultCountryCode(user.countryCode),
userId,
storeNumber: `${parseInt(user.siteId, 10) || 0}`,
domain: user.domain,
--- src/core/notificationInit.ts
@@ -6,6 +6,7 @@ import {AppState} from 'react-native';
import {DefaultLogger} from '@walmart/react-native-logger';
import {createRestartableSagas, getUser, USER_CHANGED_ACTIONS} from '../redux';
import {SumoActionCreators, sumoInitReducer} from '../redux/SumoRedux';
+import {defaultCountryCode} from '../transforms/user';
reducerManager.addReducer('sumo', sumoInitReducer);
@@ -61,7 +62,7 @@ export function* onUserChanged() {
siteNbr: Number(siteId),
domain: domain.toLowerCase() === 'homeoffice' ? domain : 'store',
userId,
- countryCode,
+ countryCode: defaultCountryCode(countryCode),
});
yield put(SumoActionCreators.profileSuccess(profileId));
} catch (error) {
--- src/transforms/user.ts
@@ -0,0 +1,10 @@
+export const NOT_FOUND = 'NOT_FOUND';
+
+export const DEFAULT_COUNTRY_CODE = 'US';
+
+export const defaultCountryCode = (countryCode: string | null | undefined) => {
+ if (!countryCode || countryCode === NOT_FOUND) {
+ return DEFAULT_COUNTRY_CODE;
+ }
+ return countryCode;
+};
| defaulting country code for service accounts (#369) | defaulting country code for service accounts (#369)
|
27546d8aed4c612d08d96d0665a1a64c0a370f5e | --- package.json
@@ -99,8 +99,8 @@
"@walmart/avp-shared-library": "0.25.36",
"@walmart/ax-components": "1.2.3",
"@walmart/backroom-mini-app": "1.16.2",
- "@walmart/beneficiary-online-mini-app": "0.1.19",
- "@walmart/beneficiary-online-shared-library": "1.2.6",
+ "@walmart/beneficiary-online-mini-app": "0.1.26",
+ "@walmart/beneficiary-online-shared-library": "1.2.7",
"@walmart/calling-mini-app": "0.8.18",
"@walmart/candidate-authentication-lib": "0.0.8",
"@walmart/celebration-mini-app": "1.27.0",
--- yarn.lock
@@ -7590,28 +7590,29 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/beneficiary-online-mini-app@npm:0.1.19":
- version: 0.1.19
- resolution: "@walmart/beneficiary-online-mini-app@npm:0.1.19::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fbeneficiary-online-mini-app%2F-%2F%40walmart%2Fbeneficiary-online-mini-app-0.1.19.tgz"
+"@walmart/beneficiary-online-mini-app@npm:0.1.26":
+ version: 0.1.26
+ resolution: "@walmart/beneficiary-online-mini-app@npm:0.1.26::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fbeneficiary-online-mini-app%2F-%2F%40walmart%2Fbeneficiary-online-mini-app-0.1.26.tgz"
peerDependencies:
"@nx/rollup": ^20.4.6
"@react-navigation/native": ^7.0.15
"@react-navigation/stack": ^7.1.2
"@reduxjs/toolkit": ^1.9.7
"@testing-library/jest-native": ~5.4.3
- "@walmart/allspark-foundation": ^6.31.0
- "@walmart/gtp-shared-components": 2.2.4
- react: ~18.2.0
- react-native: ~0.76.3
+ "@walmart/allspark-foundation": ^7.13.6
+ "@walmart/gtp-shared-components-3": "*"
+ "@walmart/ui-components": 1.27.0
+ react: ^19.0.0
+ react-native: ~0.79.5
rollup-plugin-copy: ^3.5.0
- checksum: 10c0/f7d02208c8be5c7d731ad09552192ffbc330d59939559485dbb58e594e780d818a3924c8fa891ef141df2d5297d7879c87cb58fc6db82a208eb977ef466e3920
+ checksum: 10c0/1615103d54c12d202364bd9e21c50d101ef5408829875975db74644ad52069199bcd20bad9c5f61c60aace0702394134e3fd6f8f51eb3055cadc3b22115cc11b
languageName: node
linkType: hard
-"@walmart/beneficiary-online-shared-library@npm:1.2.6":
- version: 1.2.6
- resolution: "@walmart/beneficiary-online-shared-library@npm:1.2.6::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fbeneficiary-online-shared-library%2F-%2F%40walmart%2Fbeneficiary-online-shared-library-1.2.6.tgz"
- checksum: 10c0/8477f7525187c5f343f4f1f9062826c851db6e03d60d2f11203b04edc5fc77e7fdd6a159efc1b0e5ca9323b7bc189e796db5b9aee99429e9228ca08087c451b8
+"@walmart/beneficiary-online-shared-library@npm:1.2.7":
+ version: 1.2.7
+ resolution: "@walmart/beneficiary-online-shared-library@npm:1.2.7::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fbeneficiary-online-shared-library%2F-%2F%40walmart%2Fbeneficiary-online-shared-library-1.2.7.tgz"
+ checksum: 10c0/d7bc3596008681e459575c461f1dab45b70aaf4d0e41eee3727d118e34b69ae8e7f3073878ec178b5bbe1b40bd67b00e4dfccffc9207bb497890ea1636b85524
languageName: node
linkType: hard
@@ -8463,8 +8464,8 @@ __metadata:
"@walmart/avp-shared-library": "npm:0.25.36"
"@walmart/ax-components": "npm:1.2.3"
"@walmart/backroom-mini-app": "npm:1.16.2"
- "@walmart/beneficiary-online-mini-app": "npm:0.1.19"
- "@walmart/beneficiary-online-shared-library": "npm:1.2.6"
+ "@walmart/beneficiary-online-mini-app": "npm:0.1.26"
+ "@walmart/beneficiary-online-shared-library": "npm:1.2.7"
"@walmart/calling-mini-app": "npm:0.8.18"
"@walmart/candidate-authentication-lib": "npm:0.0.8"
"@walmart/celebration-mini-app": "npm:1.27.0"
| refactor: ld changes, RN version upgrades, foundational changes (#5111) | refactor: ld changes, RN version upgrades, foundational changes (#5111)
Co-authored-by: Maksym Novakh - m0n09mr <Maksym.Novakh0@walmart.com> |
c73f654f1a12eba1e39f692190a801e5e2723434 | --- docs/docs/components/allspark foundation/_category_.json
@@ -0,0 +1,8 @@
+{
+ "label": "Allspark Foundation",
+ "position": 1,
+ "link": {
+ "type": "generated-index",
+ "description": "Indepth documentation on allspark foundation"
+ }
+}
--- docs/docs/components/allspark foundation/hub-intro.md
@@ -0,0 +1,8 @@
+---
+sidebar_position: 1
+title: Introduction
+---
+
+# Introduction
+
+Coming soon
\ No newline at end of file
--- docs/docs/components/hub framework/_category_.json
@@ -1,6 +1,6 @@
{
"label": "Hub Framework",
- "position": 4,
+ "position": 2,
"link": {
"type": "generated-index",
"description": "Indepth documentation on allspark hub framework for building hubs"
--- docs/docs/components/hub framework/hub-intro.md
@@ -22,7 +22,12 @@ With the Hub Foundation Framework, you can:
## Let's Get Started!
-In this documentation, we'll guide you through the features, components, and best practices of the me@walmart Hub Foundation Framework, empowering you to build exceptional hubs that drive engagement, productivity, and success.
+In this documentation, we'll guide you through the features, components, and best practices of the me@walmart Hub Foundation Framework, empowering you to build exceptional hubs that drive engagement, productivity, and success. Setting a hub and its widgets on a high level is a straight two step approach. First, a hub [gatekeeper](./hub-concepts#high-level-concepts) sets up a hub and exposes/exports its namespace. [Widgets providers](./hub-concepts#3-widget-providers) register their widgets to the hub. In a nutshell, setting up a hub and its widgets is simple:
+
+1. Set up the hub as a gatekeeper.
+2. Register widgets with the hub.
+
+That's it! The hub foundation framework takes care of the rest. In this introductory page, we will briefly show you how to quickly setup all of these. We provide further details in each component's documentation.
### Prerequisites
The framework is primarily designed for me@ platform and is super opinionated in how processes and functionalities within a hub works. We don't recommend ever using any of the components within the hub framework outside me@ platform. With that said, let's discuss what are the prerequisites.
@@ -44,7 +49,7 @@ npm install --save @walmart/allspark-foundation-hub
```
There are no dependencies required. The above are the only steps required to get going.
-### Setting Up a New Hub: A Step-by-Step Guide
+### Setting up the hub as a gatekeeper
Before diving into the setup process, it's essential to understand the underlying concepts that power our hub framework. Take some time to review the [Hub Concepts](./hub-concepts.md) documentation to ensure you have a solid grasp of the framework's capabilities.
@@ -56,25 +61,46 @@ As the hub gatekeeper – essentially the owner of the hub – it's your respons
To create a new hub, you'll need to provide three essential pieces of information:
-1. **Well-formed hub name**: A unique and descriptive name for your hub.
+1. **Well-formed hub name**: A unique and descriptive name for your hub. It is recommended to register and export this name from a common directory in allspark-core. This name will be used by widget providers to register their respective widgets with the hub.
2. **CCM namespace**: The namespace for the Cloud Configuration Management (CCM), which manages the hub's configuration.
-3. **Root navigation name**: The name of the root navigation point for your hub.
+3. **Root navigation name**: The name of the root navigation point for your hub.
**Code Snippet: Initializing a Hub**
Here's an example code snippet that demonstrates how to initialize a hub:
+
+1. Register and export your hub name from allspark-core common directory. E.g.,
+```js
+export TEAM_HUB_NAMESPACE = 'Me@Walmart.ManagerExperience.MyTeam';
+
+```
+
+2. Create your hub
```jsx
import { AllsparkHubContainer } from '@walmart/allspark-foundation-hub';
-export const MyTeamHub = () => {
+export const TeamHub = () => {
const MyTeamHubContainer = new AllsparkHubContainer()
- .create('Me@Walmart.ManagerExperience.MyTeam', 'manager-experience', 'myTeam')
+ .create(TEAM_HUB_NAMESPACE, 'my-team-hub', 'myTeam')
.validate()
.render();
return <>{MyTeamHubContainer}</>;
};
```
-In this example, we create a `TeamHub` feature and use the `createScreen` method to initialize the hub. The `AllsparkHubContainer` is used to create a new hub container with the provided information.
+This code snippet creates a new hub container using the `AllsparkHubContainer` component from the `@walmart/allspark-foundation-hub` library. It initializes the hub with a unique identifier, namespace, and name, validates the configuration, and renders the hub container as a JSX element.
+
+With these steps in mind, you're ready to set up your first hub! Remember to consult the [Hub Concepts](./hub-concepts.md) documentation if you have any questions or need further clarification. Happy building!
+
+### Register widgets with the hub
+[Widget providers](./hub-concepts#3-widget-providers) is expected to register their widgets to exported namespace from allspark-core. Registering involves obtaining the exposed/exported hub name and your widgets, then adding the each with a unique id to identify that. Please follow naming recommendation for the widget ids. E.g.,
+
+```js
+import { TEAM_HUB_NAMESPACE } from '@walmart/me-at-walmart-common';
+import { TimeAndAttendanceWidget } from 'your-the-package-containing-your-widget';
+
+const TimeAndAttendanceWidgetId = 'GTATeamName.TimeAndAttendanceWidget';
+
+TEAM_HUB_NAMESPACE.add(TimeAndAttendanceWidgetId, TimeAndAttendanceWidget);
-With these steps in mind, you're ready to set up your first hub! Remember to consult the [Hub Concepts](./hub-concepts.md) documentation if you have any questions or need further clarification. Happy building!
\ No newline at end of file
+```
\ No newline at end of file
--- docs/docs/components/hub framework/hub-widget.md
@@ -199,7 +199,7 @@ includes:
Let's extend the code example above to show how to register a widget in code.
```jsx
-import { TeamHubContainer } from '@walmart/me-at-walmart-common';
+import { TEAM_HUB_NAMESPACE } from '@walmart/me-at-walmart-common';
import { HubWidget } from '@walmart/allspark-foundation-hub';
const TimeAndAttendanceWidgetId = 'GTATeamName.TimeAndAttendanceWidget';
@@ -239,7 +239,7 @@ export const TimeAndAttendanceWidget = (props: HubWidgetProps) => {
//Register the widget to the hub container by providing uniqueId and the widget component
-TeamHubContainer.add(TimeAndAttendanceWidgetId, TimeAndAttendanceWidget);
+TEAM_HUB_NAMESPACE.add(TimeAndAttendanceWidgetId, TimeAndAttendanceWidget);
```
| added documentation for the introduction page | added documentation for the introduction page
|
f642ceade1218629b082bea79ee26f23fa370882 | --- ReactotronConfig.js
@@ -24,60 +24,3 @@ Reactotron.onCustomCommand({
});
},
});
-
-/**
- * Retrieves a specific key from the Apollo Client cache
- * @param {string} keyPath - The key path to retrieve
- */
-function getNestedCacheValue(keyPath) {
- // Extract the entire cache
- const cache = AllsparkGraphQLClient.cache.extract();
-
- // Define a regular expression to match keys and array accessors
- const pathSegmentRegex = /[^.[\]]+|\[\d+\]/g;
-
- // Extract path segments, including array indices
- const pathSegments = keyPath.match(pathSegmentRegex) || [];
-
- // Navigate through the path segments to get to the desired value
- const value = pathSegments.reduce((acc, segment) => {
- // Check if the segment is an array accessor, e.g., [1]
- if (segment.startsWith("[") && segment.endsWith("]")) {
- // Extract the index from the segment and convert it to a number
- const index = parseInt(segment.slice(1, -1), 10);
- return acc ? acc[index] : undefined;
- }
- // Handle normal object property access
- return acc ? acc[segment] : undefined;
- }, cache);
-
- return value ?? null; // Return null if the value is undefined at any point
-}
-
-// Custom Command to print Apollo Cache by Key
-Reactotron.onCustomCommand({
- title: "Extract Apollo Client Cache by Key",
- description: "Retrieves a specific key from the Apollo Client cache",
- command: "extractApolloCacheByKey",
- args: [{ name: "key", type: 'string' }],
- handler: (args) => {
- const { key } = args ?? {};
- if (key) {
- const findValue = getNestedCacheValue(key);
- if (findValue) {
- Reactotron.display({
- name: "Apollo Cache",
- preview: `Cache Value for Key: ${key}`,
- value: findValue,
- });
- } else {
- Reactotron.display({
- name: "Apollo Cache",
- preview: `Value not available for key: ${key}`,
- });
- }
- } else {
- Reactotron.log("Could not extract cache value. No key provided.");
- }
- },
-});
| chore: remove reactotron apollo client extract by key command | chore: remove reactotron apollo client extract by key command
|
2d9398954142a597abf39e6cbd9a7874c9acd6ec | --- lerna.json
@@ -1,5 +1,5 @@
{
- "version": "6.2.0",
+ "version": "independent",
"npmClient": "npm",
"changelogPreset": "angular",
"command": {
| chore: change lerna versioning to independent | chore: change lerna versioning to independent
|
f69620809494c8ac36040bebadd924a2f6d6693e | --- package-lock.json
@@ -4306,9 +4306,9 @@
"integrity": "sha512-0eZ0oo4p7uNUlriH478bBvYarvSXlW7OQRFlBVxFBf7vDD6xW6Z9v6qjG2jC1vEslPFCd7Sh1Sa/RMT+RsYUaQ=="
},
"@walmart/functional-components": {
- "version": "2.0.1",
- "resolved": "https://npme.walmart.com/@walmart/functional-components/-/functional-components-2.0.1.tgz",
- "integrity": "sha512-zTKeAkqnm1Oi51DsXUk0Tfa+AwKAZsnDg6W3/rgdB7jPMNj4BnYo8hkq0QVXBBJdoHpd8taqUpw2ZIuVxV+ymg=="
+ "version": "2.0.2",
+ "resolved": "https://npme.walmart.com/@walmart/functional-components/-/functional-components-2.0.2.tgz",
+ "integrity": "sha512-2Laq3TPDYvthSaKjKhi8h7o1ihVvvpDoFvt88F9Vgtx7QsUJf8hbc4PN0tPf9jkuLAHAOBv+VrOG80b4FrLrnQ=="
},
"@walmart/gta-react-native-calendars": {
"version": "0.0.15",
--- package.json
@@ -81,7 +81,7 @@
"@walmart/counts-component-miniapp": "0.0.34",
"@walmart/exception-mini-app": "0.39.10",
"@walmart/feedback-all-spark-miniapp": "0.1.27",
- "@walmart/functional-components": "2.0.1",
+ "@walmart/functional-components": "2.0.2",
"@walmart/gta-react-native-calendars": "0.0.15",
"@walmart/gtp-shared-components": "1.2.0",
"@walmart/impersonation-mini-app": "1.0.28",
| Bumping functional components | Bumping functional components
|
748024ad574b727e7de53fc68cbb44835252a78e | --- packages/allspark-foundation/src/utils/DynamicServiceCreator.tsx
@@ -104,7 +104,6 @@ export const DynamicServiceCreator = <T extends AnyService, I extends T = T>(
resolveImplementationPromise();
resolveImplementationPromise = null;
}
- __DEV__ && console.log(`${name} Dynamic Service Created!`);
// @ts-ignore
proxiedService.isAllsparkInstance = true;
// @ts-ignore
| chore: remove console log | chore: remove console log
|
412d3303b1d25ddd6fe01fd37404a3fd9b3c992b | --- __tests__/__mocks__/@walmart/allspark-foundation/Environment.js
@@ -0,0 +1,4 @@
+module.exports = {
+ ...jest.requireActual('@walmart/allspark-foundation/Environment'),
+ useEnvironment: jest.fn(),
+};
--- __tests__/home/components/CelebrationCard/indexTest.tsx
@@ -152,12 +152,12 @@ describe('CelebrationCard', () => {
mockUseSelector.mockReturnValueOnce('100'); // siteId
mockUseAsync.mockReturnValueOnce({
loading: false,
- refetch: reload,
+ reload,
});
await component.update(<CelebrationCard {...baseProps} refresh={true} />);
expect(baseProps.onRefreshStart).toHaveBeenCalled();
- expect(reload).toHaveBeenCalled();
+ await expect(reload).toHaveBeenCalled();
expect(baseProps.onRefreshEnd).toHaveBeenCalled();
});
});
--- __tests__/home/components/TaskCard/TaskClockStatusStoreCardTest.tsx
@@ -58,10 +58,10 @@ describe('TaskClockStatusStoreCard', () => {
it('matches snapshot while fetching', () => {
expect(component.toJSON()).toMatchSnapshot();
- expect(fetchStoreClockStatusData).toHaveBeenCalledWith('graphql', {
+ expect(useAsync).toHaveBeenCalledWith(fetchStoreClockStatusData, {
+ storeId: '100',
countryCode: 'US',
date: '2022-02-21',
- storeId: '100',
});
});
@@ -147,14 +147,14 @@ describe('TaskClockStatusStoreCard', () => {
mockUseSelector.mockReturnValueOnce(true); // is store
mockUseAsync.mockReturnValueOnce({
loading: false,
- refetch: reload,
+ reload,
});
await component.update(
<TaskClockStatusStoreCard {...baseProps} refresh={true} />,
);
expect(baseProps.onRefreshStart).toHaveBeenCalled();
- expect(reload).toHaveBeenCalled();
+ await expect(reload).toHaveBeenCalled();
expect(baseProps.onRefreshEnd).toHaveBeenCalled();
});
});
--- src/home/components/TaskCard/TaskClockStatusStoreCard.tsx
@@ -52,13 +52,13 @@ export const TaskClockStatusStoreCard = (props: TaskCardProps) => {
const teamDisplayText = `${storeText} #${storeId}`;
const clockStatusDisplaytext = `${clockedInCount} ${clockedInText}`;
- const realodForCurrentVariables = () => {
- return reload({storeId, countryCode, date});
+ const reloadForCurrentVariables = async () => {
+ await reload({storeId, countryCode, date});
};
const onReload = async () => {
onRefreshStart(refreshKey);
- await realodForCurrentVariables;
+ await reloadForCurrentVariables();
onRefreshEnd(refreshKey);
};
@@ -80,7 +80,7 @@ export const TaskClockStatusStoreCard = (props: TaskCardProps) => {
<Spinner small={false} color='gray' style={styles.spinner} />
)}
- {error && <ErrorComponent retryCallback={realodForCurrentVariables} />}
+ {error && <ErrorComponent retryCallback={reloadForCurrentVariables} />}
{!!result && !error && (
<TaskStatusDetails
| home folder test complete | home folder test complete
|
71f143c5596b15718433216d845cfa347a597b7f | --- .looper.yml
@@ -65,7 +65,7 @@ flows:
- (name Yarn Set Version) yarn set version 4.6.0
- (name Yarn Version) yarn --version
- (name Install Dependencies) yarn install
- - (name Commit Lockfile Changes) git diff --quiet yarn.lock .yarnrc.yml || (git config user.email "svc-looper@walmart.com" && git config user.name "svc-looper" && git add yarn.lock .yarnrc.yml && git commit -m "chore: update lockfile from CI [skip ci]")
+ - (name Commit Lockfile Changes) git diff --quiet yarn.lock .yarnrc.yml || (git config user.email svc-looper@walmart.com && git config user.name svc-looper && git add yarn.lock .yarnrc.yml && git commit -m 'chore: update lockfile from CI [skip ci]')
buildPackages:
- (name Build Packages) yarn run build
| fix: escape quotes in looper git commit command | fix: escape quotes in looper git commit command
|
839263478de80acb1582b8bd297089406509216c | --- __tests__/home/components/WalmartRefreshControlTest.tsx
@@ -1,5 +1,5 @@
import React from 'react';
-import {create} from 'react-test-renderer';
+import {render} from '@testing-library/react-native';
import {Animated} from 'react-native';
import {WalmartRefreshControl} from '../../../src/home/components/WalmartRefreshControl';
@@ -11,14 +11,12 @@ describe('WalmartRefreshControl', () => {
scrollPosition: new Animated.Value(0),
};
- expect(
- create(<WalmartRefreshControl {...props} />).toJSON(),
- ).toMatchSnapshot();
+ const {toJSON} = render(<WalmartRefreshControl {...props} />);
+ expect(toJSON()).toMatchSnapshot();
//on non-spin
- expect(
- create(<WalmartRefreshControl {...props} active={true} />).toJSON(),
- ).toMatchSnapshot();
+ const {toJSON: activeContainer} = render(<WalmartRefreshControl {...props} active={true} />);
+ expect(activeContainer()).toMatchSnapshot();
});
});
| test: refactor refreshcontrol tests | test: refactor refreshcontrol tests
|
bb479196ac1acd460860130cc2b8a255b3b75f69 | --- packages/allspark-foundation/__mocks__/@react-navigation/native.js
@@ -15,6 +15,7 @@ module.exports = {
StackRouter: jest.fn(),
CommonActions: {
navigate: jest.fn(),
+ navigateDeprecated: jest.fn(),
},
StackActions: jest.fn(),
DrawerActions: {
--- packages/allspark-foundation/__tests__/Navigation/client.test.tsx
@@ -48,7 +48,6 @@ const mockUpdateModalState = jest.fn();
const mockSetNavigationResolvers = jest.fn();
const mockSetLinkingOptions = jest.fn();
-
describe('NavigationClient', () => {
beforeEach(() => {
navigationClient = new NavigationClient();
--- packages/allspark-foundation/src/Navigation/client.tsx
@@ -394,7 +394,7 @@ export class NavigationClient<
}
// Call navigate on the navigation container ref
- this._ref.current?.navigate(
+ this._ref.current?.navigateDeprecated(
...this._buildNavigateParams(name.toString(), params)
);
};
@@ -455,7 +455,9 @@ export class NavigationClient<
const { name, params } = action.payload || ({} as any);
this._ref.current?.dispatch(
- CommonActions.navigate(...this._buildNavigateParams(name, params))
+ CommonActions.navigateDeprecated(
+ ...this._buildNavigateParams(name, params)
+ )
);
return;
}
@@ -728,7 +730,7 @@ export class NavigationClient<
if (action.type === 'NAVIGATE') {
const actionName = action.payload.name;
if (actionName) {
- const newAction = CommonActions.navigate(
+ const newAction = CommonActions.navigateDeprecated(
...this._buildNavigateParams(actionName, action.payload.params)
);
| feat: v6.x compatible navigate actions to go back in stack navigator | feat: v6.x compatible navigate actions to go back in stack navigator
|
262eb82cbde0184f865196b752a3abb7186c55fe | --- packages/allspark-foundation/src/Components/Hub/TeamSwitcher/index.tsx
@@ -24,6 +24,14 @@ export const TeamSwitcher = ({ teamData = [] }: TeamSwitcherProps) => {
const handleAddEditPress = () => console.log('Add/Edit button pressed');
const keyExtractor = (item: TeamSwitcherTypes) => item.teamLabel;
+ const renderEmptyList = () => {
+ return (
+ <View style={styles.emptyContainer}>
+ <Text style={styles.noDataText}>No teams available</Text>
+ </View>
+ );
+ };
+
const renderTeamItem = ({ item }: { item: TeamSwitcherTypes }) => {
const isSelected = item.teamLabel === selectedTeam;
return (
@@ -55,14 +63,6 @@ export const TeamSwitcher = ({ teamData = [] }: TeamSwitcherProps) => {
);
};
- if (!teamData || teamData.length === 0) {
- return (
- <View style={styles.emptyContainer}>
- <Text style={styles.noDataText}>No teams available</Text>
- </View>
- );
- }
-
return (
<View style={styles.container}>
<FlashList
@@ -72,6 +72,7 @@ export const TeamSwitcher = ({ teamData = [] }: TeamSwitcherProps) => {
horizontal={true}
showsHorizontalScrollIndicator={false}
contentContainerStyle={styles.flatListContent}
+ ListEmptyComponent={renderEmptyList}
ListFooterComponent={<AddEditButton onPress={handleAddEditPress} />}
/>
</View>
| feat(ui): update team switcher empty function | feat(ui): update team switcher empty function
|
2a119f5abdde1a1cd8f694639d4cd9af2b8f99b9 | --- src/components/TeamList.tsx
@@ -112,8 +112,8 @@ const teamIconMap = {
const TeamItem = (props: {
teamId: string;
- clockedInCount?: number | null | undefined;
- absentCount?: number | null | undefined;
+ clockedInCount?: number | null;
+ absentCount?: number | null;
canMessage?: boolean;
style?: StyleProp<ViewStyle>;
}) => {
@@ -348,7 +348,7 @@ export const TeamChatCard = (props: {
{primaryTeam.length > 0 ? (
<TeamItem
teamId={primaryTeam}
- clockedInCount={clockedInCount}
+ clockedInCount={clockedInCount ?? 0}
absentCount={absentCount}
canMessage={true}
style={styles.firstItem}
--- src/components/TeamList.tsx
@@ -112,8 +112,8 @@ const teamIconMap = {
const TeamItem = (props: {
teamId: string;
- clockedInCount?: number | null | undefined;
- absentCount?: number | null | undefined;
+ clockedInCount?: number | null;
+ absentCount?: number | null;
canMessage?: boolean;
style?: StyleProp<ViewStyle>;
}) => {
@@ -348,7 +348,7 @@ export const TeamChatCard = (props: {
{primaryTeam.length > 0 ? (
<TeamItem
teamId={primaryTeam}
- clockedInCount={clockedInCount}
+ clockedInCount={clockedInCount ?? 0}
absentCount={absentCount}
canMessage={true}
style={styles.firstItem}
| Adding requested PR changes | Adding requested PR changes
|
6e324a01c4a6a66bc6aa4bcf7d719c5ac29a91f7 | --- package-lock.json
@@ -43,7 +43,7 @@
"@walmart/attendance-mini-app": "0.190.6",
"@walmart/compass-sdk-rn": "4.2.0",
"@walmart/config-components": "4.2.5",
- "@walmart/copilot-mini-app": "^2.2.5",
+ "@walmart/copilot-mini-app": "^2.2.6",
"@walmart/core-services": "~2.2.0",
"@walmart/core-services-allspark": "~2.12.6",
"@walmart/core-utils": "~2.0.5",
@@ -8104,9 +8104,9 @@
}
},
"node_modules/@walmart/copilot-mini-app": {
- "version": "2.2.5",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-2.2.5.tgz",
- "integrity": "sha512-JMMT/JZV60A30wsTBnOHQnb8432usH9tfmogG5bjnAaBBodA6jPRVSWmEeu1xah8IYIO/b/bQmN2CB5FAzSkQQ==",
+ "version": "2.2.6",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-2.2.6.tgz",
+ "integrity": "sha512-bVEn2R2X1m0dgBPsMd1RyVmM3RJrajsiRtkvqy4XNyo+f/3cCMgB7E2LMvMcPXbd/yjTA3gjDSJex+kh1IJTcA==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -33580,9 +33580,9 @@
}
},
"@walmart/copilot-mini-app": {
- "version": "2.2.5",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-2.2.5.tgz",
- "integrity": "sha512-JMMT/JZV60A30wsTBnOHQnb8432usH9tfmogG5bjnAaBBodA6jPRVSWmEeu1xah8IYIO/b/bQmN2CB5FAzSkQQ=="
+ "version": "2.2.6",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-2.2.6.tgz",
+ "integrity": "sha512-bVEn2R2X1m0dgBPsMd1RyVmM3RJrajsiRtkvqy4XNyo+f/3cCMgB7E2LMvMcPXbd/yjTA3gjDSJex+kh1IJTcA=="
},
"@walmart/core-services": {
"version": "2.2.0",
--- package.json
@@ -84,7 +84,7 @@
"@walmart/attendance-mini-app": "0.190.6",
"@walmart/compass-sdk-rn": "4.2.0",
"@walmart/config-components": "4.2.5",
- "@walmart/copilot-mini-app": "2.2.5",
+ "@walmart/copilot-mini-app": "2.2.6",
"@walmart/core-services": "~2.2.0",
"@walmart/core-services-allspark": "~2.12.6",
"@walmart/core-utils": "~2.0.5",
| chore: bump copilot @2.2.6 | chore: bump copilot @2.2.6
|
abf463649a14a8121781242c12b44572c5b36d4c | --- package-lock.json
@@ -43,7 +43,7 @@
"@walmart/attendance-mini-app": "1.62.13",
"@walmart/compass-sdk-rn": "5.18.9",
"@walmart/config-components": "4.2.13",
- "@walmart/copilot-mini-app": "^3.26.4",
+ "@walmart/copilot-mini-app": "3.26.4",
"@walmart/core-services": "~2.3.0",
"@walmart/core-services-allspark": "~2.13.4",
"@walmart/core-utils": "~2.0.5",
@@ -85,7 +85,7 @@
"@walmart/schedule-mini-app": "0.63.0",
"@walmart/shelfavailability-mini-app": "1.5.18",
"@walmart/store-feature-orders": "1.23.0",
- "@walmart/taskit-mini-app": "2.52.0",
+ "@walmart/taskit-mini-app": "2.52.3",
"@walmart/texting-mini-app": "2.1.3",
"@walmart/time-clock-mini-app": "2.175.2",
"@walmart/topstock-mini-app": "1.4.8",
@@ -9765,9 +9765,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "2.52.0",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.52.0.tgz",
- "integrity": "sha512-WCEdmnp701p/JnjnwzFrGH43vRHu3jL9AtAXDkxnSfGdkR3CSwxMNe4oX1t2wWfvVBzXZI2zeyqpu/6V/JZycQ==",
+ "version": "2.52.3",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.52.3.tgz",
+ "integrity": "sha512-ceQHstYqlVdIUq4Y1d2CxsRqwMoT2/pQPAzHxespw7yx0e1CvO32uO3xy3Q0SHv2gR2aQx1JlRNIm3/+IAV8rA==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
@@ -33572,9 +33572,9 @@
"integrity": "sha512-yUGfrUJxc1nOTxfHsFhMFfF+9vRY9m5V8tSzhD8ISRXDZTCaAIp9XpjGaTOe6iY/5/gpNN9oISFsEO9LMfx5Iw=="
},
"@walmart/taskit-mini-app": {
- "version": "2.52.0",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.52.0.tgz",
- "integrity": "sha512-WCEdmnp701p/JnjnwzFrGH43vRHu3jL9AtAXDkxnSfGdkR3CSwxMNe4oX1t2wWfvVBzXZI2zeyqpu/6V/JZycQ=="
+ "version": "2.52.3",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.52.3.tgz",
+ "integrity": "sha512-ceQHstYqlVdIUq4Y1d2CxsRqwMoT2/pQPAzHxespw7yx0e1CvO32uO3xy3Q0SHv2gR2aQx1JlRNIm3/+IAV8rA=="
},
"@walmart/tcnumber": {
"version": "2.3.3",
--- package.json
@@ -126,7 +126,7 @@
"@walmart/schedule-mini-app": "0.63.0",
"@walmart/shelfavailability-mini-app": "1.5.18",
"@walmart/store-feature-orders": "1.23.0",
- "@walmart/taskit-mini-app": "2.52.0",
+ "@walmart/taskit-mini-app": "2.52.3",
"@walmart/texting-mini-app": "2.1.3",
"@walmart/time-clock-mini-app": "2.175.2",
"@walmart/topstock-mini-app": "1.4.8",
| Updated taskit version | Updated taskit version
|
44c354f98dffd58a4fff982f3282395c583f8673 | --- .npmrc
@@ -1,7 +0,0 @@
-registry=https://npme.walmart.com/
-no_proxy=https://npme.walmart.com/
-proxy=http://sysproxy.wal-mart.com:8080
-https-proxy=http://sysproxy.wal-mart.com:8080
-strict-ssl=false
-# legacy-peer-deps=true
-no_proxy=walmart.api.crowdin.com,.wal-mart.com,.walmart.net,.walmart.com,localhost,127.0.0.1
| fix(ui): remove the .npmrc file | fix(ui): remove the .npmrc file
|
8bfcee6fa24d0d5dfaeeaec61f3262d8a864f379 | --- packages/core-services-allspark/src/graphql/links.ts
@@ -71,7 +71,9 @@ export const createErrorLoggerLink = (logger: IAllsparkLogger) =>
export const athenaUriLink = new ApolloLink((operation, forward) => {
operation.setContext({
- uri: `/${operation.operationName}/${generateQueryHash(operation.query)}`,
+ uri: `/graphql/${operation.operationName}/${generateQueryHash(
+ operation.query
+ )}`,
});
return forward(operation);
});
| fix: add graphql to athena uri extension | fix: add graphql to athena uri extension
|
06a9841bfc7f65158b1f78a6bc8ff2fb6c494b6c | --- package-lock.json
@@ -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.1",
+ "@walmart/compass-sdk-rn": "3.16.17",
"@walmart/config-components": "4.1.0-rc.4",
"@walmart/core-services": "~2.0.19",
"@walmart/core-services-allspark": "~2.10.15",
@@ -55,7 +55,7 @@
"@walmart/impersonation-mini-app": "1.18.3",
"@walmart/ims-print-services-ui": "2.4.0",
"@walmart/inbox-mini-app": "0.83.3",
- "@walmart/iteminfo-mini-app": "7.3.0",
+ "@walmart/iteminfo-mini-app": "7.3.1",
"@walmart/manager-approvals-miniapp": "0.2.2",
"@walmart/me-field-mini-app": "1.3.0",
"@walmart/metrics-mini-app": "0.11.5",
@@ -4909,9 +4909,9 @@
}
},
"node_modules/@walmart/compass-sdk-rn": {
- "version": "3.16.1",
- "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-3.16.1.tgz",
- "integrity": "sha512-uosdKTI5vIqbp0WPCEO8Bwy/0uJuk6cy5clCyJJGpheGIRQiSPcsqBy+vx21TI+N/eA0XSqHgDAsckpKYgloWQ==",
+ "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==",
"license": "MIT",
"peerDependencies": {
"react": "*",
@@ -5360,9 +5360,9 @@
}
},
"node_modules/@walmart/iteminfo-mini-app": {
- "version": "7.3.0",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.3.0.tgz",
- "integrity": "sha512-O2iafdSAr86atpdCbPy2GsTJOp476h65XXUSTLJ9b40ihAwEGiGowiA1LxsaytFdZlQvJkTEsfawq4XG7hUfPw==",
+ "version": "7.3.1",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.3.1.tgz",
+ "integrity": "sha512-G9gJYFG5zRw2BWJNBmv8wpjGKX3urKvlpSeOIRL7GXy4kePsrorZteTUna+IvzS0pmTPcDpuliSPN7OYk09o0A==",
"peerDependencies": {
"@react-native-community/async-storage": ">=1.12.1",
"@react-native-community/netinfo": ">=9.3.6",
@@ -25188,9 +25188,9 @@
}
},
"@walmart/compass-sdk-rn": {
- "version": "3.16.1",
- "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-3.16.1.tgz",
- "integrity": "sha512-uosdKTI5vIqbp0WPCEO8Bwy/0uJuk6cy5clCyJJGpheGIRQiSPcsqBy+vx21TI+N/eA0XSqHgDAsckpKYgloWQ=="
+ "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=="
},
"@walmart/config-components": {
"version": "4.1.0-rc.4",
@@ -25338,9 +25338,9 @@
}
},
"@walmart/iteminfo-mini-app": {
- "version": "7.3.0",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.3.0.tgz",
- "integrity": "sha512-O2iafdSAr86atpdCbPy2GsTJOp476h65XXUSTLJ9b40ihAwEGiGowiA1LxsaytFdZlQvJkTEsfawq4XG7hUfPw=="
+ "version": "7.3.1",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.3.1.tgz",
+ "integrity": "sha512-G9gJYFG5zRw2BWJNBmv8wpjGKX3urKvlpSeOIRL7GXy4kePsrorZteTUna+IvzS0pmTPcDpuliSPN7OYk09o0A=="
},
"@walmart/manager-approvals-miniapp": {
"version": "0.2.2"
--- package.json
@@ -97,7 +97,7 @@
"@walmart/impersonation-mini-app": "1.18.3",
"@walmart/ims-print-services-ui": "2.4.0",
"@walmart/inbox-mini-app": "0.83.3",
- "@walmart/iteminfo-mini-app": "7.3.0",
+ "@walmart/iteminfo-mini-app": "7.3.1",
"@walmart/manager-approvals-miniapp": "0.2.2",
"@walmart/me-field-mini-app": "1.3.0",
"@walmart/metrics-mini-app": "0.11.5",
| dsl bug fixes | dsl bug fixes
|
913af515ef745b9184e847b87458923630239562 | --- ios/Podfile.lock
@@ -935,7 +935,7 @@ SPEC CHECKSUMS:
GCDWebServer: 2c156a56c8226e2d5c0c3f208a3621ccffbe3ce4
glog: 5337263514dd6f09803962437687240c5dc39aa4
GoogleAppMeasurement: 6b6a08fd9c71f4dbc89e0e812acca81d797aa342
- GoogleDataTransport: 629c20a4d363167143f30ea78320d5a7eb8bd940
+ GoogleDataTransport: 5fffe35792f8b96ec8d6775f5eccd83c998d5a3b
GoogleUtilities: e0913149f6b0625b553d70dae12b49fc62914fd1
leveldb-library: 50c7b45cbd7bf543c81a468fe557a16ae3db8729
libwebp: 98a37e597e40bfdb4c911fc98f2c53d0b12d05fc
--- package-lock.json
@@ -4366,9 +4366,9 @@
"integrity": "sha512-rt56lVXxfj0DWIjqUqn3oXpAlbe7YrOi6/c5hcGByaFe/f42qmPsesxWK3xkKOMsJ7LUXZz50aCb1+lHlv2kog=="
},
"@walmart/push-to-talk-mini-app": {
- "version": "0.5.124",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.124.tgz",
- "integrity": "sha512-kZm4KamXIT8tlH9NtvTGaJfEkFu6GQKvGOXx2YRDB9l3gwWebLmW4+xZlNAh9W6hufDLotg7CsTEDHnDVxVWUQ=="
+ "version": "0.6.6",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.6.6.tgz",
+ "integrity": "sha512-1Uhq7k+gwMT+JYXiccuq/oW7tl6evkRoOs++hidZgSTik4flHxZRoZUo6re2yozkPtgV/m8McKGCSYpvBdYsjQ=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
--- package.json
@@ -91,7 +91,7 @@
"@walmart/moment-walmart": "1.0.4",
"@walmart/payrollsolution_miniapp": "0.109.0",
"@walmart/price-changes-mini-app": "1.2.1",
- "@walmart/push-to-talk-mini-app": "0.5.124",
+ "@walmart/push-to-talk-mini-app": "0.6.6",
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.28.0",
"@walmart/react-native-shared-navigation": "^0.4.0",
| fix: ptt package version update (SMDV-2821) | fix: ptt package version update (SMDV-2821)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.