commit_hash stringlengths 40 40 | input stringlengths 13 7.99k | output stringlengths 5 155 | full_message stringlengths 6 8.96k |
|---|---|---|---|
4ea4ae730b9e11abc1cac84584093974717cbfe5 | --- jest.config.js
@@ -9,9 +9,9 @@ module.exports = {
],
coverageThreshold: {
global: {
- statements: 24.3,
- branches: 7.6,
- functions: 9.5,
+ statements: 27.34,
+ branches: 8.98,
+ functions: 27.75,
lines: 25,
},
},
--- jest.config.js
@@ -9,9 +9,9 @@ module.exports = {
],
coverageThreshold: {
global: {
- statements: 24.3,
- branches: 7.6,
- functions: 9.5,
+ statements: 27.34,
+ branches: 8.98,
+ functions: 27.75,
lines: 25,
},
},
| update jest cov thresh | update jest cov thresh
|
b83016c9029d56a6b4f53339834294270f663604 | --- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/roster-mini-app",
- "version": "1.0.18",
+ "version": "1.0.19",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/roster-mini-app",
- "version": "1.0.18",
+ "version": "1.0.19",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.20.0",
@@ -66,7 +66,7 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.16",
+ "@walmart/wmconnect-mini-app": "1.0.17",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
@@ -11834,9 +11834,9 @@
}
},
"node_modules/@walmart/wmconnect-mini-app": {
- "version": "1.0.16",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.16.tgz",
- "integrity": "sha512-cW1wpQmHKZ6QGDQnzqDcIfKYhquoOmLAN+aDzr8Mdp7cKkcxtmtsTWY9qLE1Kr6dFGIjlikL+0dTF3RuktJ1+A==",
+ "version": "1.0.17",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.17.tgz",
+ "integrity": "sha512-qrXILvGxoPYZMEM6aIS1ceZRz/dKwgSfm0KeSAO9vd3KpLeNG4QFZXrbH7dOMWR+VSf/5dRR4GLZV6pu8GQzoA==",
"dev": true,
"hasInstallScript": true
},
@@ -41046,9 +41046,9 @@
}
},
"@walmart/wmconnect-mini-app": {
- "version": "1.0.16",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.16.tgz",
- "integrity": "sha512-cW1wpQmHKZ6QGDQnzqDcIfKYhquoOmLAN+aDzr8Mdp7cKkcxtmtsTWY9qLE1Kr6dFGIjlikL+0dTF3RuktJ1+A==",
+ "version": "1.0.17",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.17.tgz",
+ "integrity": "sha512-qrXILvGxoPYZMEM6aIS1ceZRz/dKwgSfm0KeSAO9vd3KpLeNG4QFZXrbH7dOMWR+VSf/5dRR4GLZV6pu8GQzoA==",
"dev": true
},
"@whatwg-node/events": {
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "1.0.18",
+ "version": "1.0.19",
"private": false,
"main": "dist/index.js",
"files": [
@@ -89,7 +89,7 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.16",
+ "@walmart/wmconnect-mini-app": "1.0.17",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
| Update version | Update version
|
e8605e2dd38789d9f3786eb9265bff446ea79b3f | --- __tests__/home/containers/HomeScreenTest.tsx
@@ -30,15 +30,15 @@ jest
});
const {useNudge} = require('@walmart/allspark-foundation/Nudge');
+const baseProps = {
+ // @ts-ignore
+ navigation: {
+ navigate: jest.fn(),
+ setOptions: jest.fn(),
+ } as StackNavigationProp<ParamListBase>,
+};
describe('HomeScreen', () => {
- const baseProps = {
- // @ts-ignore
- navigation: {
- navigate: jest.fn(),
- setOptions: jest.fn(),
- } as StackNavigationProp<ParamListBase>,
- };
beforeAll(() => {
AllsparkReduxStore.dispatch(
UserActionCreators.FETCH_SUCCESS({
@@ -51,6 +51,14 @@ describe('HomeScreen', () => {
beforeEach(() => {
jest.clearAllMocks();
jest.useFakeTimers();
+ // Reset user state to default values
+ AllsparkReduxStore.dispatch(
+ UserActionCreators.FETCH_SUCCESS({
+ userId: 'swalton3',
+ siteId: '100',
+ impersonated: false,
+ } as unknown as User)
+ );
});
it('matches snapshot', () => {
@@ -142,4 +150,26 @@ describe('HomeScreen', () => {
getByTestId('Home.ScrollView').props.refreshControl.props.refreshing
).toBe(true);
});
+
+ it('does not refresh when impersonation state remains unchanged', async () => {
+ AllsparkReduxStore.dispatch(
+ UserActionCreators.UPDATE({
+ impersonated: false,
+ } as unknown as User)
+ );
+
+ const {rerender, queryByTestId} = render(<HomeScreen {...baseProps} />);
+
+ // Keep impersonation as false
+ AllsparkReduxStore.dispatch(
+ UserActionCreators.UPDATE({
+ impersonated: false,
+ } as unknown as User)
+ );
+
+ rerender(<HomeScreen {...baseProps} />);
+
+ // Should not show refresh indicator as impersonation state didn't change
+ expect(queryByTestId('Home.LastUpdatedText')).toBeNull();
+ });
});
--- src/home/containers/HomeScreen/index.tsx
@@ -48,6 +48,7 @@ export const HomeScreen: React.FC<Props> = (props) => {
const {navigation} = props;
const currentSiteId = useSelector(UserSelectors.getSiteId);
+ const isImpersonated = useSelector(UserSelectors.getImpersonated);
const isCelebrating = useSelector(getIsCelebrationDay);
const [state, setState] = useState<{
@@ -61,6 +62,7 @@ export const HomeScreen: React.FC<Props> = (props) => {
});
const parentSiteID = useRef(currentSiteId);
+ const impersonationRef = useRef<boolean>(false);
const scrollPosition = useRef(new Animated.Value(0)).current;
const lastUpdatedTimeout = useRef<any>();
@@ -91,6 +93,13 @@ export const HomeScreen: React.FC<Props> = (props) => {
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [currentSiteId]);
+ useEffect(() => {
+ if (Boolean(impersonationRef.current) != isImpersonated) {
+ onRefresh();
+ impersonationRef.current = isImpersonated;
+ }
+ }, [isImpersonated])
+
const stopRefreshing = () =>
setState((prev) => ({
...prev,
| fix(impersonation): ALLSPARK-7433 fix home page reload on impersonation (#5177) | fix(impersonation): ALLSPARK-7433 fix home page reload on impersonation (#5177)
Co-authored-by: Maksym Novakh <maksym.novakh@walmart.com>
Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com> |
b97ce4fb1ee7c1b4dbd50ff2a1d659a137464c08 | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Components/ShiftFilter/ShiftFilter.tsx
@@ -12,57 +12,52 @@ import { shiftFilterIconEnabled } from '../../Redux';
export const ShiftFilter = ({
shiftId,
- teamImage,
+ shiftName,
selectedShifts,
handleSelectShift,
}: ShiftFilterProps) => {
- const showShiftIcon = useSelector(shiftFilterIconEnabled);
- const TeamImage = useAllsparkImage();
- const [selected, setSelected] = useState(
- selectedShifts?.includes(shiftId) || false
- );
+ const [selected, setSelected] = useState([]);
+ useEffect(() => {
+ if (!selected.length) {
+ setSelected(selectedShifts || []);
+ }
+ console.log('selectedShifts from filter', selectedShifts);
+ }, [selectedShifts]);
+
const handleSelect = () => {
- setSelected(!selected);
- handleSelectShift(shiftId);
+ setSelected((prevSelected) => {
+ const shiftIsSelected = prevSelected.includes(shiftName);
+ if (shiftIsSelected) {
+ return prevSelected.filter((shift) => shift !== shiftName);
+ } else {
+ return [...prevSelected, shiftName];
+ }
+ });
+ handleSelectShift(shiftName);
};
- const logger = LoggerService.getContainerInstance();
- const telemetryService = useTelemetryService();
- const styles = ShiftFilterStyles(selected, showShiftIcon);
+ const isSelected = selected?.includes(shiftName);
+ const styles = ShiftFilterStyles(isSelected);
return (
<TouchableOpacity
style={styles.container}
testID={`shift-filter-${shiftId}`}
onPress={handleSelect}
>
- {showShiftIcon && (
- <TeamImage
- resizeMode='contain'
- source={{
- uri: teamImage?.uri,
- }}
- placeholder={Images['0000000']?.blurhash}
- style={styles.teamImage}
- onError={(error) => {
- logger.error('ImageFailure', {
- message: `Image failure for ${shiftId}: ${error}`,
- });
- telemetryService.logEvent('image_uri_failure', {
- message: 'Image failure',
- shiftId: shiftId,
- });
- }}
- testID='teamImage-shiftFilter'
- />
- )}
<View
accessible={true}
accessibilityLabel={`${shiftId}`}
accessibilityRole='button'
style={styles.shiftFilterInnerContainer}
>
- <Body UNSAFE_style={styles.shiftId} testID='shiftId'>
- {shiftId}
- </Body>
+ {/* <Body UNSAFE_style={styles.shiftId} testID='shiftId'>
+ {shiftName}
+ </Body> */}
+ <View style={styles.shiftNameContainer}>
+ <View style={styles.textInsideCircle}>
+ <Body UNSAFE_style={styles.shiftId}>{shiftName}</Body>
+ </View>
+ <Body>Shift</Body>
+ </View>
</View>
</TouchableOpacity>
);
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Components/ShiftFilter/ShiftFilterList.tsx
@@ -8,8 +8,8 @@ import { useAllsparkTranslation } from '@walmart/allspark-foundation';
import { colors } from '@walmart/gtp-shared-components/dist';
import { AlertBanner } from '../../../Shared/Components/AlertBanner';
import { getSubText } from '../../Utils/SubText';
-import { useSelector } from 'react-redux';
-import { ManagerExperienceSelectors } from '../../../Store/Redux/selectors';
+// import { useSelector } from 'react-redux';
+// import { ManagerExperienceSelectors } from '../../../Store/Redux/selectors';
import { FEATURE_ID } from '../../constant';
import { HubHeader } from '../../../Store/Components/HubHeader';
@@ -18,11 +18,12 @@ export const ShiftFilterList: React.FC<ShiftFilterListProps> = ({
isLoading,
handleSelectShift,
isModal,
+ selectedShiftData,
}) => {
const { t } = useAllsparkTranslation(FEATURE_ID);
- const selectedShifts = useSelector(
- ManagerExperienceSelectors.getSelectedShifts
- );
+ // const selectedShifts = useSelector(
+ // ManagerExperienceSelectors.getSelectedShifts
+ // );
return (
<>
<HubHeader
@@ -47,12 +48,12 @@ export const ShiftFilterList: React.FC<ShiftFilterListProps> = ({
<View style={styles.container}>
{filterListData?.map(
(item) =>
- item.shiftId && (
- <View key={item.shiftId} style={styles.item}>
+ item.number && (
+ <View key={item.number} style={styles.item}>
<ShiftFilter
- shiftId={item?.shiftId}
- teamImage={item?.teamImage}
- selectedShifts={selectedShifts}
+ shiftId={item?.number}
+ shiftName={item?.name}
+ selectedShifts={selectedShiftData}
handleSelectShift={handleSelectShift}
/>
</View>
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Components/ShiftFilter/style.ts
@@ -2,37 +2,41 @@ import { colors } from '@walmart/gtp-shared-components/dist';
import { StyleSheet } from 'react-native';
//TODO: Use teamImage background color from colors gtp shared components. Currently these colors are not matching from shared components.
-export const ShiftFilterStyles = (selected: boolean, hasIcon: boolean) =>
+export const ShiftFilterStyles = (selected: boolean) =>
StyleSheet.create({
container: {
display: 'flex',
padding: selected ? 7 : 8,
width: 109,
height: 54,
- gap: 10,
- alignItems: 'center',
- justifyContent: hasIcon ? 'flex-start' : 'center',
+ // gap: 10,
+ // alignItems: 'center',
+ // justifyContent: hasIcon ? 'flex-start' : 'center',
flexDirection: 'row',
borderWidth: selected ? 2 : 1,
borderRadius: 40,
borderColor: selected ? colors.black : colors.gray['20'],
backgroundColor: colors.white,
},
- teamImage: {
+ textInsideCircle: {
height: 36,
width: 36,
backgroundColor: selected ? '#0071DC' : '#CCE3F8',
borderRadius: 40,
- padding: 10,
+ padding: 8,
+ marginRight: 12,
},
shiftFilterInnerContainer: {
+ flex: 1,
+ alignItems: 'center',
display: 'flex',
flexDirection: 'column',
},
shiftId: {
fontSize: 16,
fontWeight: selected ? '700' : '400',
- lineHeight: 24,
+ lineHeight: 22,
+ color: selected ? colors.white : colors.black,
},
});
//TODO: Update spacing while integrating
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Components/ShiftFilter/types.ts
@@ -1,17 +1,18 @@
export type Shift = {
- shiftId: string;
- teamImage?: {
- uri: string;
- };
+ number: number;
+ name: string;
};
export interface ShiftFilterProps extends Shift {
+ shiftId: number;
+ shiftName: string;
selectedShifts?: string[] | undefined;
- handleSelectShift: (shiftId: string) => void;
+ handleSelectShift: (shift: string) => void;
}
export interface ShiftFilterListProps {
filterListData: Array<Shift>;
isLoading: boolean;
- handleSelectShift: (shiftId: string) => void;
+ handleSelectShift: (shift: string) => void;
isModal?: boolean;
+ selectedShiftData: string[];
}
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Screens/UpdateTeamsModal/styles.ts
@@ -9,10 +9,11 @@ export const styles = StyleSheet.create({
rootContainer: {
backgroundColor: WHITE,
width,
- borderTopRightRadius: 16,
+ borderTopRightRadius: 6,
borderTopLeftRadius: 16,
height,
- paddingHorizontal: LAYOUT_MARGIN,
+ paddingHorizontal: 8,
+ // paddingHorizontal: LAYOUT_MARGIN,
marginBottom: LAYOUT_MARGIN * 5,
},
headerContainer: {
| Adding ShiftFilter changes | Adding ShiftFilter changes
|
2c9d355db8155870b36b48fd5d7bff5842b9c59b | --- package-lock.json
@@ -4282,9 +4282,9 @@
"integrity": "sha512-Vpwrt460LPca7ZGjDrDezorVnr+WebRntHaUGkAhIDVVfna0P3wyJcRnr18/hged+q/3f6NmYfZgB3ZaGxGlgg=="
},
"@walmart/inbox-mini-app": {
- "version": "0.35.0",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.35.0.tgz",
- "integrity": "sha512-f2Y0d8Cmu7N6gvO8c5985AWYZ5kXI83cH6P7tN/ojgrJEcLFPAD/D8+YVVO4kyIQxydDcLGNDbZt3K3xxe1sDQ=="
+ "version": "0.35.0-beta.2",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.35.0-beta.2.tgz",
+ "integrity": "sha512-HGFh6t7jkeprasd7b8IcUhVsee37lpXeyvOr+lESpp2nFZT6oW3ZMoOgJU+2FUdUJSzYD9IKFksMY6ppnDCbyA=="
},
"@walmart/iteminfo-mini-app": {
"version": "4.1.3",
--- package.json
@@ -84,7 +84,7 @@
"@walmart/gtp-shared-components": "1.2.0",
"@walmart/impersonation-mini-app": "1.0.27",
"@walmart/ims-print-services-ui": "0.1.22",
- "@walmart/inbox-mini-app": "0.35.0",
+ "@walmart/inbox-mini-app": "0.35.0-beta.2",
"@walmart/iteminfo-mini-app": "4.1.3",
"@walmart/manager-approvals-miniapp": "0.0.59",
"@walmart/metrics-mini-app": "0.7.65",
| bug fix for inbox | bug fix for inbox
|
6b46cf9f56eb65d58fb77fb92393548471ee5f95 | --- src/screens/RosterDetailScreen/StoreRosterDetailScreen/useStoreRosterDetails.ts
@@ -41,7 +41,7 @@ export const useCurrentTeamName = (teamState: {
}) => {
const siteTranslationContext = useTotalSiteOrTotalStore();
const {t} = translationClient.useTranslation();
- if (teamState.teamIds.includes(TOTAL_STORE_TEAM_ID)) {
+if (teamState.teamIds && teamState.teamIds.includes(TOTAL_STORE_TEAM_ID)) {
return siteTranslationContext;
} else if (teamState?.teamLabel) {
return teamState?.teamLabel;
| Update src/screens/RosterDetailScreen/StoreRosterDetailScreen/useStoreRosterDetails.ts | Update src/screens/RosterDetailScreen/StoreRosterDetailScreen/useStoreRosterDetails.ts
Co-authored-by: AI Code Assistant <AI-Code-Assistant@email.wal-mart.com> |
b1a8d28535294261be288728f408b66b1b4bfb51 | --- package.json
@@ -77,13 +77,8 @@
"@walmart/allspark-authentication": "6.4.1",
"@walmart/allspark-foundation": "^6.32.0",
"@walmart/allspark-foundation-hub": "latest",
- "@walmart/allspark-graphql-client": "6.3.29",
- "@walmart/allspark-http-client": "6.3.29",
"@walmart/allspark-utils": "6.5.1",
"@walmart/config-components": "4.6.5",
- "@walmart/core-services": "6.5.3",
- "@walmart/core-services-allspark": "6.29.0-alpha.0",
- "@walmart/core-utils": "6.3.10",
"@walmart/expo-config-plugins": "0.1.4",
"@walmart/gtp-shared-components": "2.2.4",
"@walmart/me-at-walmart-athena-queries": "6.26.1",
@@ -92,9 +87,7 @@
"@walmart/react-native-encrypted-storage": "~1.1.3",
"@walmart/react-native-logger": "1.35.0",
"@walmart/react-native-scanner-3.0": "0.10.4",
- "@walmart/react-native-shared-navigation": "6.1.4",
"@walmart/react-native-sumo-sdk": "2.8.0",
- "@walmart/redux-store": "6.3.29",
"@walmart/roster-mini-app": "2.38.1",
"@walmart/ui-components": "1.15.1",
"@walmart/wmconnect-mini-app": "2.36.2",
@@ -162,12 +155,7 @@
}
},
"resolutions": {
- "@walmart/core-services-allspark": "6.29.0-alpha.0",
- "@walmart/core-services": "6.5.3",
- "@walmart/core-utils": "6.3.10",
- "@walmart/redux-store": "6.3.29",
"@walmart/config-components": "4.6.5",
- "@walmart/react-native-env": "6.3.21",
"react": "18.3.1",
"react-native": "0.76.9",
"react-native-reanimated": "3.16.1",
| removing deprecated libraries from package.json | removing deprecated libraries from package.json
|
084bebc3e08809b2d8d2d9b3f9d63142d631ae32 | --- package-lock.json
@@ -54,7 +54,7 @@
"@walmart/gtp-shared-components": "^2.0.1",
"@walmart/impersonation-mini-app": "1.11.0",
"@walmart/ims-print-services-ui": "1.2.0",
- "@walmart/inbox-mini-app": "0.81.6",
+ "@walmart/inbox-mini-app": "0.81.7",
"@walmart/iteminfo-mini-app": "5.3.2",
"@walmart/manager-approvals-miniapp": "0.1.2",
"@walmart/me-field-mini-app": "1.1.36",
@@ -5283,9 +5283,9 @@
}
},
"node_modules/@walmart/inbox-mini-app": {
- "version": "0.81.6",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.81.6.tgz",
- "integrity": "sha512-FDPD3nHHozoJj4i8KN2be+3B5PEO0gIOCuRHFoaji3Joukzg1GX7Q07FVwW5zLywWpiLxt6jNfGZMHhW2sqmTg==",
+ "version": "0.81.7",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.81.7.tgz",
+ "integrity": "sha512-9iofcdf44yN3RbQdHk8VwwNdVJ2zr2DnS1epoh7xDWZnxwHY6kIMTNSNPzbSXvTqcCE+en2MT/GgYPFEsLm5Kw==",
"dependencies": {
"@walmart/walmart-fiscal-week": "^0.3.6"
},
@@ -25030,9 +25030,9 @@
"version": "1.2.0"
},
"@walmart/inbox-mini-app": {
- "version": "0.81.6",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.81.6.tgz",
- "integrity": "sha512-FDPD3nHHozoJj4i8KN2be+3B5PEO0gIOCuRHFoaji3Joukzg1GX7Q07FVwW5zLywWpiLxt6jNfGZMHhW2sqmTg==",
+ "version": "0.81.7",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.81.7.tgz",
+ "integrity": "sha512-9iofcdf44yN3RbQdHk8VwwNdVJ2zr2DnS1epoh7xDWZnxwHY6kIMTNSNPzbSXvTqcCE+en2MT/GgYPFEsLm5Kw==",
"requires": {
"@walmart/walmart-fiscal-week": "^0.3.6"
}
--- package.json
@@ -96,7 +96,7 @@
"@walmart/gtp-shared-components": "^2.0.1",
"@walmart/impersonation-mini-app": "1.11.0",
"@walmart/ims-print-services-ui": "1.2.0",
- "@walmart/inbox-mini-app": "0.81.6",
+ "@walmart/inbox-mini-app": "0.81.7",
"@walmart/iteminfo-mini-app": "5.3.2",
"@walmart/manager-approvals-miniapp": "0.1.2",
"@walmart/me-field-mini-app": "1.1.36",
| Inbox version upgrade | Inbox version upgrade
|
5033a2c151df8ef8099c44ef0dec4403cd628d19 | --- packages/allspark-cli/src/cli-tool/scripts/images-check/helper.ts
@@ -26,23 +26,26 @@ export function getImagesPRComment(
prComment += '**Images Summary** \n\n';
for (const [pkg, findings] of Object.entries(summary.imagesByLibrary)) {
prComment += `**${pkg}**:\n`;
- prComment += `Total Images: ${summary.totalImagesFoundByLibrary[pkg] || 0}\n`;
+ prComment += `Total Images: ${summary.totalImagesFoundByLibrary[pkg] || 0}`;
findings.forEach((finding) => {
prComment += ` - ${finding.imageName}\n`;
});
+ prComment += '\n';
}
- prComment += '\n\n'
+ prComment += '\n\n';
}
if (iconsFound) {
prComment += '**Icons Summary** \n\n';
for (const [pkg, findings] of Object.entries(summary.iconsByLibrary)) {
prComment += `**${pkg}**:\n`;
- prComment += `Total Icons: ${summary.totalIconsFoundByLibrary[pkg] || 0}\n`;
+ prComment += `Total Icons: ${summary.totalIconsFoundByLibrary[pkg] || 0}`;
findings.forEach((finding) => {
prComment += ` - ${finding.imageName}\n`;
});
+ prComment += '\n';
}
+ prComment += '\n\n';
}
if (!imagesFound && !iconsFound) {
| fix: fix pr comment spacing (#444) | fix: fix pr comment spacing (#444)
Co-authored-by: Dylan Lane - rlane1 <Russell.Lane@walmart.com> |
e65cf651abf8b615ce11c8b2c8594e63039b68aa | --- packages/allspark-foundation/src/HTTP/context.tsx
@@ -149,7 +149,11 @@ export const useLazyHttpClientRequest = <D extends any>(
) => {
const httpClient = useHttpClient();
- return useLazyAsync((c: HttpClientRequestConfig<D>) =>
- httpClient.request<D>(c || config)
- );
+ return useLazyAsync((c: HttpClientRequestConfig<D>) => {
+ const mergedConfig =
+ c && typeof c === 'object' && typeof config === 'object'
+ ? { ...config, ...c }
+ : c || config;
+ return httpClient.request<D>(mergedConfig);
+ });
};
| fix: merge config when calling useLazyAsync | fix: merge config when calling useLazyAsync
|
2f8996d7d6ec8ddd7abc5b1b107b4c79e578d1e0 | --- package.json
@@ -76,7 +76,7 @@
"@shopify/flash-list": "~1.6.4",
"@terrylinla/react-native-sketch-canvas": "patch:@terrylinla/react-native-sketch-canvas@patch%3A@terrylinla/react-native-sketch-canvas@npm%253A0.8.0%23~/.yarn/patches/@terrylinla-react-native-sketch-canvas-npm-0.8.0-c7b2afd4cd.patch%3A%3Aversion=0.8.0&hash=627c51#~/.yarn/patches/@terrylinla-react-native-sketch-canvas-patch-b841bbddec.patch",
"@walmart/allspark-authentication": "6.1.4",
- "@walmart/allspark-cope-key-listener": "0.0.15",
+ "@walmart/allspark-cope-key-listener": "0.0.17",
"@walmart/allspark-foundation": "6.1.4",
"@walmart/allspark-graphql-client": "6.1.4",
"@walmart/allspark-http-client": "6.1.4",
--- yarn.lock
@@ -5394,10 +5394,10 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-cope-key-listener@npm:0.0.15":
- version: 0.0.15
- resolution: "@walmart/allspark-cope-key-listener@npm:0.0.15"
- checksum: 10c0/f3122cdef046a74204fa89f8073a635ba7ba150d34919f9cf9469dcb921d3748b029f20b2dd397b6fc36c55a39997147af4042345a8a649dbdcaf60712a230c8
+"@walmart/allspark-cope-key-listener@npm:0.0.17":
+ version: 0.0.17
+ resolution: "@walmart/allspark-cope-key-listener@npm:0.0.17"
+ checksum: 10c0/0ef85f32047508d676de975d92b85daae5e6d4a7a25df26ccefc2d949ee7a1ed31e2d5afe188ac5d72b500348d657b36e56a932c623661a568b24c8801d2c84c
languageName: node
linkType: hard
@@ -7704,7 +7704,7 @@ __metadata:
"@typescript-eslint/eslint-plugin": "npm:^5.37.0"
"@typescript-eslint/parser": "npm:^5.37.0"
"@walmart/allspark-authentication": "npm:6.1.4"
- "@walmart/allspark-cope-key-listener": "npm:0.0.15"
+ "@walmart/allspark-cope-key-listener": "npm:0.0.17"
"@walmart/allspark-foundation": "npm:6.1.4"
"@walmart/allspark-graphql-client": "npm:6.1.4"
"@walmart/allspark-http-client": "npm:6.1.4"
| Update key listener with new intent export | Update key listener with new intent export
|
01dc07200b241893252e5fa901cd779256567aa3 | --- package-lock.json
@@ -84,7 +84,7 @@
"@walmart/settings-mini-app": "1.18.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
"@walmart/taskit-mini-app": "2.34.6",
- "@walmart/texting-mini-app": "2.0.21",
+ "@walmart/texting-mini-app": "2.0.24",
"@walmart/time-clock-mini-app": "2.98.0",
"@walmart/topstock-mini-app": "1.0.6",
"@walmart/ui-components": "1.12.0",
@@ -7940,9 +7940,9 @@
}
},
"node_modules/@walmart/texting-mini-app": {
- "version": "2.0.21",
- "resolved": "https://npme.walmart.com/@walmart/texting-mini-app/-/texting-mini-app-2.0.21.tgz",
- "integrity": "sha512-bB3aWPxAgyQRJXkhd6v4U3mKKnzCsJAQmnLUug1Z14QHBJuJayCcBNA/KHz/lYUXSLLi3IIDHYwqHa9ac6u8IQ==",
+ "version": "2.0.24",
+ "resolved": "https://npme.walmart.com/@walmart/texting-mini-app/-/texting-mini-app-2.0.24.tgz",
+ "integrity": "sha512-JQlmYfUztBHeI0yYhsxDZo2z81UsjXzqQyl4ua/oKHrNlNsHA9UfqtIj1Qd3gMGsxIvdUBVQf52CDFA5kK8hWQ==",
"hasInstallScript": true
},
"node_modules/@walmart/time-clock-mini-app": {
@@ -30358,9 +30358,9 @@
}
},
"@walmart/texting-mini-app": {
- "version": "2.0.21",
- "resolved": "https://npme.walmart.com/@walmart/texting-mini-app/-/texting-mini-app-2.0.21.tgz",
- "integrity": "sha512-bB3aWPxAgyQRJXkhd6v4U3mKKnzCsJAQmnLUug1Z14QHBJuJayCcBNA/KHz/lYUXSLLi3IIDHYwqHa9ac6u8IQ=="
+ "version": "2.0.24",
+ "resolved": "https://npme.walmart.com/@walmart/texting-mini-app/-/texting-mini-app-2.0.24.tgz",
+ "integrity": "sha512-JQlmYfUztBHeI0yYhsxDZo2z81UsjXzqQyl4ua/oKHrNlNsHA9UfqtIj1Qd3gMGsxIvdUBVQf52CDFA5kK8hWQ=="
},
"@walmart/time-clock-mini-app": {
"version": "2.98.0",
--- package.json
@@ -125,7 +125,7 @@
"@walmart/settings-mini-app": "1.18.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
"@walmart/taskit-mini-app": "2.34.6",
- "@walmart/texting-mini-app": "2.0.21",
+ "@walmart/texting-mini-app": "2.0.24",
"@walmart/time-clock-mini-app": "2.98.0",
"@walmart/topstock-mini-app": "1.0.6",
"@walmart/ui-components": "1.12.0",
| Update package.json | Update package.json
|
c52c05cf0d4920ceb56b12f3265b2c5c76408dd7 | --- package-lock.json
@@ -12447,15 +12447,15 @@
}
},
"node_modules/@walmart/store-feature-orders": {
- "version": "1.26.5",
- "resolved": "https://npme.walmart.com/@walmart/store-feature-orders/-/store-feature-orders-1.26.5.tgz",
- "integrity": "sha512-su4hmtN76YRYii30GHFbVmRBO4pazxVzvqUQOzJyoWyiGbQ3/c5MGr97dG7ftt4QsU1nrWgEWQ0P174jB4XjKw==",
+ "version": "1.26.7",
+ "resolved": "https://npme.walmart.com/@walmart/store-feature-orders/-/store-feature-orders-1.26.7.tgz",
+ "integrity": "sha512-r86UcEMxLmcK5FIUYiL1016CC6ehG303zVNZ+7bfMZ3d79fk2e0anupjeTEcn3EsSHgSUw+HMzRdxzlr8hluhg==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
"@react-navigation/stack": "^6.1.0",
"@walmart/core-services": "~2.0.11",
- "@walmart/gtp-shared-components": "^2.1.3",
+ "@walmart/gtp-shared-components": "2.2.1-rc.0",
"@walmart/react-native-env": "0.2.0",
"react": "^18.2.0",
"react-native": "^0.72.8"
| fix(ci): drop21 version update | fix(ci): drop21 version update
|
d3544ce057669241a625716739f8d1c40b45ef83 | --- package-lock.json
@@ -81,7 +81,7 @@
"@walmart/schedule-mini-app": "0.29.0",
"@walmart/settings-mini-app": "1.12.0",
"@walmart/shelfavailability-mini-app": "1.5.2",
- "@walmart/taskit-mini-app": "0.49.11",
+ "@walmart/taskit-mini-app": "0.49.6",
"@walmart/time-clock-mini-app": "0.30.0",
"@walmart/ui-components": "1.9.0",
"@walmart/welcomeme-mini-app": "0.73.0",
@@ -6098,9 +6098,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "0.49.11",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.49.11.tgz",
- "integrity": "sha512-D0Oi1XUgIvxIVjQL2wl0nyeTJr0Sqcvtezbag3ZG0tMlwxGJMXNB2PvkQ5n8JBuAV1YRlggsGtIp+yLz+slgCQ==",
+ "version": "0.49.6",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.49.6.tgz",
+ "integrity": "sha512-uIOdjSxp9dB/x036dC8bnRom0hkr+FqvXT0GdrX69M+dVEV0rrHGARrBOVqQZIN1U2tg/EhyDh3Et1avL+ZJLw==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
@@ -25454,9 +25454,9 @@
"integrity": "sha512-tDd8OoNfsef38MR5tx5olytV9lphKVT/vGqHegTUGhosR2NjoQZBj0DE8YjGrcIWq/29x7+V/R1Db0iAgnauyQ=="
},
"@walmart/taskit-mini-app": {
- "version": "0.49.11",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.49.11.tgz",
- "integrity": "sha512-D0Oi1XUgIvxIVjQL2wl0nyeTJr0Sqcvtezbag3ZG0tMlwxGJMXNB2PvkQ5n8JBuAV1YRlggsGtIp+yLz+slgCQ=="
+ "version": "0.49.6",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.49.6.tgz",
+ "integrity": "sha512-uIOdjSxp9dB/x036dC8bnRom0hkr+FqvXT0GdrX69M+dVEV0rrHGARrBOVqQZIN1U2tg/EhyDh3Et1avL+ZJLw=="
},
"@walmart/tcnumber": {
"version": "2.3.3",
--- package.json
@@ -123,7 +123,7 @@
"@walmart/schedule-mini-app": "0.29.0",
"@walmart/settings-mini-app": "1.12.0",
"@walmart/shelfavailability-mini-app": "1.5.2",
- "@walmart/taskit-mini-app": "0.49.11",
+ "@walmart/taskit-mini-app": "0.49.6",
"@walmart/time-clock-mini-app": "0.30.0",
"@walmart/ui-components": "1.9.0",
"@walmart/welcomeme-mini-app": "0.73.0",
| Reverted taskit | Reverted taskit
|
2dc964f4fb817a90960b47a892201239714329a1 | --- packages/me-at-walmart-container/src/permissions.ts
@@ -23,10 +23,16 @@ const PLATFORM_PHONE_STATE_ACCESS_PERMISSION = Platform.select({
default: PERMISSIONS.ANDROID.READ_PHONE_STATE,
});
+const PLATFORM_LOCATION_PERMISSION = Platform.select({
+ ios: PERMISSIONS.IOS.LOCATION_WHEN_IN_USE,
+ default: PERMISSIONS.ANDROID.ACCESS_FINE_LOCATION,
+});
+
export const MeAtWalmartInitialPermissions = [
PLATFORM_MIC_PERMISSION,
PLATFORM_BLUETOOTH_PERMISSION,
PLATFORM_CALL_ACCESS_PERMISSION,
PLATFORM_PHONE_NUMBER_ACCESS_PERMISSION,
PLATFORM_PHONE_STATE_ACCESS_PERMISSION,
+ PLATFORM_LOCATION_PERMISSION,
];
| add location to initial permission. | add location to initial permission.
|
c9be37da11ffb8faa9e7296cc8ee5fdb160bb060 | --- core/__tests__/features/TimeclockTest.tsx
@@ -20,32 +20,28 @@ describe('onStartImpersonation', () => {
type: 'START_IMPERSONATION',
payload: {punch: {lastPunchType: '1'}},
};
- const TimeClockFeature = new AllsparkFeature('timeclock');
+ const TimeClockFeature = new AllsparkFeature('timeclock_v1');
const TimeClockLocalStorage = TimeClockFeature.createLocalStorage({});
it('set TimeClockLocalStorage to set geo validation to true', () => {
const generator = onStartImpersonation(action);
expect(generator.next().value).toEqual(
put(PunchActions.setLastPunchType('01', 'KGraphApi')),
);
- expect(`${generator.next(false).value}`).toEqual(
- `${call(TimeClockLocalStorage.get, 'impersonation_geo_validation')}`,
+ expect(generator.next(false).value).toEqual(
+ call(TimeClockLocalStorage.get, 'impersonation_geo_validation'),
);
expect(generator.next(false).value).toEqual(
select(ClockAppSelectors.getGeoValidationDisabled),
);
- expect(`${generator.next(false).value}`).toEqual(
- `${call(
- TimeClockLocalStorage.set,
- 'impersonation_geo_validation',
- 'true',
- )}`,
+ expect(generator.next(false).value).toEqual(
+ call(TimeClockLocalStorage.set, 'impersonation_geo_validation', 'true'),
);
expect(generator.next().done).toBeTruthy();
});
});
describe('onExitImpersonation', () => {
- const TimeClockFeature = new AllsparkFeature('timeclock');
+ const TimeClockFeature = new AllsparkFeature('timeclock_v1');
const TimeClockLocalStorage = TimeClockFeature.createLocalStorage({});
it('should dispatch actions and remove geo validation key', () => {
const generator = onExitImpersonation();
@@ -58,8 +54,8 @@ describe('onExitImpersonation', () => {
expect(generator.next().value).toEqual(
put(PunchActions.setLastPunchTime(null)),
);
- expect(`${generator.next().value}`).toEqual(
- `${call(TimeClockLocalStorage.remove, 'impersonation_geo_validation')}`,
+ expect(generator.next().value).toEqual(
+ call(TimeClockLocalStorage.remove, 'impersonation_geo_validation'),
);
expect(generator.next().done).toBeTruthy();
});
| Update AllsparkFeature name in test | Update AllsparkFeature name in test
|
3e52c7aff29e000d74f1ce01bde29366e53db0f9 | --- __tests__/updates/__snapshots__/UpdateCheckViewTest.tsx.snap
@@ -39,7 +39,7 @@ exports[`UpdateVersionModal calls onDownloadPress with correct url 1`] = `
resizeMode="contain"
source={
Object {
- "testUri": "../../../src/images/assets/downloadBeta.png",
+ "testUri": "../../../src/images/assets/force-update.png",
}
}
style={
@@ -170,7 +170,7 @@ exports[`UpdateVersionModal dispatches expected actions on close button press 1`
resizeMode="contain"
source={
Object {
- "testUri": "../../../src/images/assets/downloadBeta.png",
+ "testUri": "../../../src/images/assets/force-update.png",
}
}
style={
@@ -301,7 +301,7 @@ exports[`UpdateVersionModal handles undefined updateInfo and hidden modal 1`] =
resizeMode="contain"
source={
Object {
- "testUri": "../../../src/images/assets/downloadBeta.png",
+ "testUri": "../../../src/images/assets/force-update.png",
}
}
style={
@@ -419,7 +419,7 @@ exports[`UpdateVersionModal matches snapshot 1`] = `
resizeMode="contain"
source={
Object {
- "testUri": "../../../src/images/assets/downloadBeta.png",
+ "testUri": "../../../src/images/assets/force-update.png",
}
}
style={
@@ -550,7 +550,7 @@ exports[`UpdateVersionModal matches snapshot when update is forced 1`] = `
resizeMode="contain"
source={
Object {
- "testUri": "../../../src/images/assets/downloadBeta.png",
+ "testUri": "../../../src/images/assets/force-update.png",
}
}
style={
--- ios/Podfile.lock
@@ -358,7 +358,7 @@ PODS:
- React-Core
- react-native-wm-barcode (2.9.0):
- React
- - react-native-wm-voice-text (0.4.1):
+ - react-native-wm-voice-text (0.3.1):
- React
- React-RCTActionSheet (0.63.2):
- React-Core/RCTActionSheetHeaders (= 0.63.2)
@@ -810,7 +810,7 @@ SPEC CHECKSUMS:
react-native-view-shot: 08c46c9e8e92f6681e8f2ffa55ac3d06e7e99070
react-native-webview: 2e330b109bfd610e9818bf7865d1979f898960a7
react-native-wm-barcode: 1f16edb27dac807563ed08edc9d0ba042e9a182d
- react-native-wm-voice-text: 80c0b59ff0fab4daf179ee430e4ea285181e3891
+ react-native-wm-voice-text: 498a87b567be0074720a30386a22b1e7cde873f5
React-RCTActionSheet: 910163b6b09685a35c4ebbc52b66d1bfbbe39fc5
React-RCTAnimation: 9a883bbe1e9d2e158d4fb53765ed64c8dc2200c6
React-RCTBlob: 39cf0ece1927996c4466510e25d2105f67010e13
--- package-lock.json
@@ -6335,21 +6335,6 @@
"integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",
"dev": true
},
- "html-parse-stringify": {
- "version": "3.0.0",
- "resolved": "https://npme.walmart.com/html-parse-stringify/-/html-parse-stringify-3.0.0.tgz",
- "integrity": "sha512-TrTKp/U0tACrpqalte/VhxepqMLii2mOfC8iuOt4+VA7Zdi6BUKKqNJvEsO17Cr3T3E7PpqLe3NdLII6bcYJgg==",
- "requires": {
- "void-elements": "3.1.0"
- },
- "dependencies": {
- "void-elements": {
- "version": "3.1.0",
- "resolved": "https://npme.walmart.com/void-elements/-/void-elements-3.1.0.tgz",
- "integrity": "sha1-YU9/v42AHwu18GYfWy9XhXUOTwk="
- }
- }
- },
"html-parse-stringify2": {
"version": "2.0.1",
"resolved": "https://npme.walmart.com/html-parse-stringify2/-/html-parse-stringify2-2.0.1.tgz",
--- src/images/assets/force-update.png
Binary files /dev/null and b/src/images/assets/force-update.png differ
--- src/images/assets/force-update@2x.png
Binary files /dev/null and b/src/images/assets/force-update@2x.png differ
--- src/images/assets/force-update@3x.png
Binary files /dev/null and b/src/images/assets/force-update@3x.png differ
--- src/images/assets/index.ts
@@ -10,6 +10,7 @@ const Images: {[key: string]: ImageURISource} = {
Close: require('./close-icon.png'),
DownloadBeta: require('./downloadBeta.png'),
FaceID: require('./face-id.png'),
+ ForceUpdate: require('./force-update.png'),
FullAppIcon: require('./full-app-icon.png'),
GuestIllustration: require('./guest-illustration.png'),
HomeTab: require('./home-tab.png'),
--- src/updates/UpdateVersionView.tsx
@@ -36,6 +36,8 @@ export const UpdateVersionModal = () => {
const releaseButtonText =
updateInfo?.releaseNotes?.button?.[i18n.language] ||
translate('updates.updateNow');
+ const descriptionText =
+ updateInfo?.releaseNotes?.description?.[i18n.language] || '';
const onPressClose = () => {
dispatch(UpdateCheckActionCreators.setPrompt(false));
dispatch(UpdateCheckActionCreators.checkForUpdatesComplete());
@@ -55,7 +57,7 @@ export const UpdateVersionModal = () => {
<View style={styles.sheet}>
<Image
style={styles.betaImage}
- source={Images.DownloadBeta}
+ source={Images.ForceUpdate}
resizeMode='contain'
/>
{!updateInfo?.forceUpdate && (
@@ -67,6 +69,9 @@ export const UpdateVersionModal = () => {
</TouchableOpacity>
)}
<Text style={styles.title}>{releaseTitleText}</Text>
+ {!!descriptionText && (
+ <Text style={styles.releaseDescription}>{descriptionText}</Text>
+ )}
{releaseNotes.map(renderReleaseNote)}
<View style={styles.downloadView}>
<PrimaryButton
--- src/updates/UpdateVersionViewStyle.ts
@@ -55,4 +55,12 @@ export default StyleSheet.create({
color: colors.gray['140'],
marginHorizontal: 16,
},
+ releaseDescription: {
+ fontSize: 14,
+ lineHeight: 20,
+ fontFamily: 'Bogle-Regular',
+ color: colors.gray['160'],
+ marginHorizontal: 16,
+ marginBottom: 8,
+ },
});
| updating version check view with new image and new text field | updating version check view with new image and new text field
|
95f86bcfcda7ab036cf7aadf6d3317b9ad1d2e27 | --- android/app/build.gradle
@@ -284,7 +284,6 @@ android {
release {
tasks.whenTaskAdded { task ->
if(task.name.matches(/^assemble.*Release$/)) {
- task.finalizedBy 'signReleaseApkTask'
task.finalizedBy 'signReleaseAPK'
}
}
@@ -292,10 +291,8 @@ android {
debug {
tasks.whenTaskAdded { task ->
if(task.name.matches(/^assemble.*Debug/) || task.name.matches(/^package.*Debug$/))
- task.finalizedBy 'signDebugApkTask'
task.finalizedBy 'signDebugAPK'
if(task.name.matches(/^assemble.*DebugAndroidTest/) || task.name.matches(/^package.*DebugAndroidTest$/))
- task.finalizedBy 'signTestApkTask'
task.finalizedBy 'signTestAPK'
}
}
| fix to android gradle | fix to android gradle
|
9ce20c00a1ea3628893c9f9d0bbc1fe406b0d3b1 | --- src/components/TeamChatCard.tsx
@@ -16,6 +16,7 @@ import {Images} from '../images';
import {noop} from 'lodash';
import {useStartStoreText, useStartTeamText} from '../hooks';
import firestore from '@react-native-firebase/firestore';
+import {tempAssociatesMock} from '../hooks/tempAssociatesMock';
const teams = teamsMock;
@@ -86,6 +87,20 @@ export const TeamChatCard = (props: {
);
}, []);
+ //TODO: Give this the correct types
+ const clockedInCount = (teamMembership: any) => {
+ const userIdsInTeam = teamMembership.map((member) => {
+ return member?.userId;
+ });
+
+ return tempAssociatesMock.filter((associate) => {
+ return (
+ associate?.punch?.clockStatus !== '2' &&
+ userIdsInTeam.includes(associate?.userId)
+ );
+ }).length;
+ };
+
return (
<Card UNSAFE_style={style}>
<CardContent>
@@ -123,7 +138,7 @@ export const TeamChatCard = (props: {
</ButtonGroup>
}>
<Body weight='400' size='small'>
- {primaryTeam.membership.length} Clocked in
+ {clockedInCount(primaryTeam.membership)} Clocked in
</Body>
</ListItem>
{expanded && (
@@ -137,7 +152,7 @@ export const TeamChatCard = (props: {
height: 32,
bottom: 0,
}}
- source={teamIconMap['totalStore']}
+ source={teamIconMap.totalStore}
/>
}
trailing={
@@ -191,7 +206,7 @@ export const TeamChatCard = (props: {
</ButtonGroup>
}>
<Body weight='400' size='small'>
- {team.membership.length} Clocked in
+ {clockedInCount(team.membership)} Clocked in
</Body>
</ListItem>
))}
--- src/hooks/tempTeamMock.ts
@@ -1069,12 +1069,6 @@ export const teamsMock = [
workgroupId: '1000216',
workgroup: 'GM',
membership: [
- {
- win: '102720369',
- baseTeam: true,
- role: 'TA',
- userId: 'j0w0558',
- },
{
win: '102720269',
baseTeam: true,
@@ -2365,6 +2359,24 @@ export const teamsMock = [
workgroupId: '1000214',
workgroup: 'Food & Consumables',
membership: [
+ {
+ win: '219868784',
+ baseTeam: true,
+ role: 'TA',
+ userId: 'j0w0558',
+ },
+ {
+ win: '219860784',
+ baseTeam: true,
+ role: 'TA',
+ userId: 'rlane1',
+ },
+ {
+ win: '219468784',
+ baseTeam: true,
+ role: 'TA',
+ userId: 'j0y0231',
+ },
{
win: '101208578',
baseTeam: true,
--- src/components/TeamChatCard.tsx
@@ -16,6 +16,7 @@ import {Images} from '../images';
import {noop} from 'lodash';
import {useStartStoreText, useStartTeamText} from '../hooks';
import firestore from '@react-native-firebase/firestore';
+import {tempAssociatesMock} from '../hooks/tempAssociatesMock';
const teams = teamsMock;
@@ -86,6 +87,20 @@ export const TeamChatCard = (props: {
);
}, []);
+ //TODO: Give this the correct types
+ const clockedInCount = (teamMembership: any) => {
+ const userIdsInTeam = teamMembership.map((member) => {
+ return member?.userId;
+ });
+
+ return tempAssociatesMock.filter((associate) => {
+ return (
+ associate?.punch?.clockStatus !== '2' &&
+ userIdsInTeam.includes(associate?.userId)
+ );
+ }).length;
+ };
+
return (
<Card UNSAFE_style={style}>
<CardContent>
@@ -123,7 +138,7 @@ export const TeamChatCard = (props: {
</ButtonGroup>
}>
<Body weight='400' size='small'>
- {primaryTeam.membership.length} Clocked in
+ {clockedInCount(primaryTeam.membership)} Clocked in
</Body>
</ListItem>
{expanded && (
@@ -137,7 +152,7 @@ export const TeamChatCard = (props: {
height: 32,
bottom: 0,
}}
- source={teamIconMap['totalStore']}
+ source={teamIconMap.totalStore}
/>
}
trailing={
@@ -191,7 +206,7 @@ export const TeamChatCard = (props: {
</ButtonGroup>
}>
<Body weight='400' size='small'>
- {team.membership.length} Clocked in
+ {clockedInCount(team.membership)} Clocked in
</Body>
</ListItem>
))}
--- src/hooks/tempTeamMock.ts
@@ -1069,12 +1069,6 @@ export const teamsMock = [
workgroupId: '1000216',
workgroup: 'GM',
membership: [
- {
- win: '102720369',
- baseTeam: true,
- role: 'TA',
- userId: 'j0w0558',
- },
{
win: '102720269',
baseTeam: true,
@@ -2365,6 +2359,24 @@ export const teamsMock = [
workgroupId: '1000214',
workgroup: 'Food & Consumables',
membership: [
+ {
+ win: '219868784',
+ baseTeam: true,
+ role: 'TA',
+ userId: 'j0w0558',
+ },
+ {
+ win: '219860784',
+ baseTeam: true,
+ role: 'TA',
+ userId: 'rlane1',
+ },
+ {
+ win: '219468784',
+ baseTeam: true,
+ role: 'TA',
+ userId: 'j0y0231',
+ },
{
win: '101208578',
baseTeam: true,
| updating mocks and clocked in count | updating mocks and clocked in count
|
7d9495a39c64a8519735650d0876d49f84af7f38 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.0.102",
+ "version": "1.0.3",
"private": true,
"scripts": {
"firebase:dev": "cp ./ios/GoogleService-Info-Dev.plist ./ios/GoogleService-Info.plist && cp ./android/app/google-services-dev.json ./android/app/google-services.json",
| Update the package.json to 1.3.0 | Update the package.json to 1.3.0 |
349b43f15546617fe27b45735eb75da0b4e325d0 | --- package-lock.json
@@ -1844,9 +1844,9 @@
}
},
"@walmart/allspark-home-mini-app": {
- "version": "0.1.1",
- "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.1.1.tgz",
- "integrity": "sha512-P64sXSZB7I5uTQSL4weIsjQG6SpkafFWFqwaybKD/TUmCDK8pN+jFVa/Ykm4kgaZo01PJDnKuEyyBen3zBVeXg==",
+ "version": "0.1.2",
+ "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.1.2.tgz",
+ "integrity": "sha512-4UuoN6oxm5KA3qglWexkkjnZWLtNDreMRsF1M+Vbjy/Qyy75U1JHmpLxrLkzYb6MVY4anvW3NkSqKI0gKlmVHg==",
"requires": {
"moment": "^2.29.0",
"react-native-get-random-values": "^1.5.0",
@@ -1870,16 +1870,17 @@
}
},
"@walmart/ask-sam-mini-app": {
- "version": "0.6.17",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.6.17.tgz",
- "integrity": "sha512-/r3rojdZ8fH7ZsTgDWKX4iyp/mcd0oU7elgsfUQ+JVjUBtalO/ijDsEpt6azkeHb/gZgLijPhYnC7qICayXSKg==",
+ "version": "0.6.20",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.6.20.tgz",
+ "integrity": "sha512-MCHWFTPGdjUq0KAKiuZnS0CL5Jv5iWuS2K46tcTvYBq9MGuev4Z2nkV36xhOo/mhNcU/IiDVw8cEGd+ExhUR4w==",
"requires": {
"apisauce": "^1.1.2",
"lodash": "^4.17.19",
"moment": "2.26.0",
"numeral": "^2.0.6",
"reduxsauce": "^1.2.0",
- "reselect": "^4.0.0"
+ "reselect": "^4.0.0",
+ "xdate": "^0.8.2"
},
"dependencies": {
"moment": {
@@ -1960,15 +1961,15 @@
"integrity": "sha512-VbikbxTpoOVaAnI6DzSXQbM3pBxjgqv0834EgclZinTGkhRLpZ5UcADaK5cqNoxmQYyPkzi+9Fk1McF/wehdiQ=="
},
"@walmart/schedule-mini-app": {
- "version": "0.2.19",
- "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.2.19.tgz",
- "integrity": "sha512-5f///3UVaopQBt1Y5wM0Jj0wq+7FlfedyMmJ8DA9e5Sqx2BvaqjAX8uPBd6zp2Vl+sxQPXSIlnWXbTY3lxd5Yw==",
+ "version": "0.2.21",
+ "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.2.21.tgz",
+ "integrity": "sha512-2XM7dFv9QOyQAXSWDM6VFF+5wHhZD1SoRZkWavmTNhaFL2jPm2glC3eIOK23xwjXZXp81EftQFUzH0Q1zLY1iw==",
"requires": {
"@walmart/moment-walmart": "^1.0.4",
"@walmart/wfm-ui": "^0.1.20",
"react-native-tab-view": "^2.15.2",
"reselect": "^4.0.0",
- "wfm-allspark-data-library": "0.0.9"
+ "wfm-allspark-data-library": "0.0.10"
}
},
"@walmart/settings-mini-app": {
@@ -1994,9 +1995,9 @@
}
},
"@walmart/wfm-ui": {
- "version": "0.1.20",
- "resolved": "https://npme.walmart.com/@walmart/wfm-ui/-/wfm-ui-0.1.20.tgz",
- "integrity": "sha512-J3pSFmuoeq2BL+LtdV5O64SPdawkerM5c9BBZKunnE2gVdCEjKCZCWr7k7sfcA8xdjVtrY07S9YK8DEoJFF1Dg==",
+ "version": "0.1.21",
+ "resolved": "https://npme.walmart.com/@walmart/wfm-ui/-/wfm-ui-0.1.21.tgz",
+ "integrity": "sha512-1uJfhIlsW0vNEQMjEJyrT0IYbYUBD24xYHmB5FcFWdRMTkhnBxPl21kDHaaUNlVlcBnMes64OKfv7OOjyC/epw==",
"requires": {
"@walmart/gtp-shared-components": "^0.2.2",
"@walmart/moment-walmart": "1.0.3",
@@ -11525,9 +11526,9 @@
"dev": true
},
"wfm-allspark-data-library": {
- "version": "0.0.9",
- "resolved": "https://npme.walmart.com/wfm-allspark-data-library/-/wfm-allspark-data-library-0.0.9.tgz",
- "integrity": "sha512-Ao97uUX0JsBldhubd6Lvn+3M0NoJtE5IJm0U9cwD7LvxdcYoG1HTHJeWxdrBosPNAYBNF/W4P0FsHvU/T6+Jyw==",
+ "version": "0.0.10",
+ "resolved": "https://npme.walmart.com/wfm-allspark-data-library/-/wfm-allspark-data-library-0.0.10.tgz",
+ "integrity": "sha512-4xMSSjaoouIn6ynONO6fGo2k7eoNBOJRkiHZrUaFNqNzTDZ+c1VUoOv7Kfn9jTABuiOHUTBEf4TymeKbkFnbDA==",
"requires": {
"@walmart/functional-components": "^1.0.22",
"@walmart/react-native-env": "^0.1.0",
--- package.json
@@ -40,9 +40,9 @@
"@react-navigation/stack": "^5.9.0",
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": "^4.14.159",
- "@walmart/allspark-home-mini-app": "0.1.1",
+ "@walmart/allspark-home-mini-app": "0.1.2",
"@walmart/allspark-me-mini-app": "0.0.9",
- "@walmart/ask-sam-mini-app": "^0.6.17",
+ "@walmart/ask-sam-mini-app": "^0.6.20",
"@walmart/config-components": "^1.0.4",
"@walmart/functional-components": "^1.0.22",
"@walmart/gtp-shared-components": "^0.2.2",
@@ -52,7 +52,7 @@
"@walmart/react-native-logger": "^1.14.0",
"@walmart/react-native-shared-navigation": "^0.2.0",
"@walmart/redux-store": "^1.0.7",
- "@walmart/schedule-mini-app": "0.2.19",
+ "@walmart/schedule-mini-app": "0.2.21",
"@walmart/settings-mini-app": "1.1.5",
"@walmart/time-clock-mini-app": "0.0.14",
"@walmart/ui-components": "^1.0.75",
--- src/navigation/SideMenuContent.tsx
@@ -48,16 +48,26 @@ export const SideMenuContent: React.FC<DrawerContentComponentProps<
},
},
];
+
+ const onDrawerClose = () => {
+ navigation.dispatch(DrawerActions.closeDrawer());
+ };
+
+ const onSignOut = () => {
+ onDrawerClose();
+ connectedSSO.signOut(activityName, false);
+ };
+
return (
<GlobalNavigation
testID='globalNav'
showDefaultNav
clockIn={clockStatus?.clockStatus === ClockStatus.clockedIn}
- onDrawerClose={() => navigation.dispatch(DrawerActions.closeDrawer())}
+ onDrawerClose={onDrawerClose}
globalNavConfig={config}
user={user || {displayName: ''}}
siteId={user?.siteId || 0}
- onSignOut={() => connectedSSO.signOut(activityName, false)}
+ onSignOut={onSignOut}
onDndToggle={() => {}}
navigate={navigation.navigate as GlobalNavNavigate}
baseURL=''
| Mini App Updates & Side Menu Fix (#139) | Mini App Updates & Side Menu Fix (#139)
* Incrementing schedule, ask sam, and home mini apps. Closing side menu on sign out
* Correcting decremented versions
Co-authored-by: rlane1 <rlane1@walmart.com> |
44acc4eb1c1c8e5be88110e80f45ed8cf1adcf3c | --- packages/allspark-foundation-hub/src/HubFeature/Hub/Container/Screens/HubDashboard.tsx
@@ -20,11 +20,12 @@ import styles from '../styles';
import { Alert, Body } from '@walmart/gtp-shared-components';
import { AllsparkComponentContainers } from '@walmart/allspark-foundation/Components';
import { HubDashboardProps } from './types';
-import { isNil } from 'lodash';
+import { cloneDeep, isNil } from 'lodash';
import { ManagerExperienceCreators } from '../../../Redux';
import { AllsparkNavigationClient } from '@walmart/allspark-foundation/Navigation';
import BottomSheet from '../../../BottomSheet/BottomSheet';
import HubOnboardingImage from '../../../BottomSheet/HubOnboardingImage/OnboardingImage';
+import { Images } from '../../../Images/images';
export const HubDashboard = ({ name, widgets }: HubDashboardProps) => {
const [teamId, setTeamId] = useState('total');
@@ -143,6 +144,26 @@ export const HubDashboard = ({ name, widgets }: HubDashboardProps) => {
],
{ useNativeDriver: false }
);
+ const createDefaultWidgetPlaceholder = (teamId: string) => {
+ const ccmWidgets = cloneDeep(widgets);
+ const widgetData = {
+ [teamId]: {
+ teamName: Images[teamId]?.teamName || 'default',
+ widgets: ['roster'],
+ },
+ };
+ const updatedWidgets = { ...ccmWidgets, ...widgetData };
+ const updatedAllowedWidgets = updatedWidgets[teamId].widgets.map(
+ (widgetData: string) => {
+ let layoutConfig = { componentId: '' };
+ let layoutConfigList: [] = [];
+ layoutConfig.componentId = widgetData;
+ return [...layoutConfigList, layoutConfig];
+ }
+ );
+
+ return updatedAllowedWidgets;
+ };
useEffect(() => {
const allowedWidgets = Object.keys(widgets).includes(teamId)
@@ -152,7 +173,7 @@ export const HubDashboard = ({ name, widgets }: HubDashboardProps) => {
layoutConfig.componentId = widgetData;
return [...layoutConfigList, layoutConfig];
})
- : [];
+ : createDefaultWidgetPlaceholder(teamId);
setAllowedWidgetsList(allowedWidgets);
}, [teamId, widgets]);
const isMutationError = useSelector(
| feat(ui): creating a default widget if id doesn't exist in ccm | feat(ui): creating a default widget if id doesn't exist in ccm
|
27ec531a30a12e9786563d79cd8e4d65c5979824 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/wmconnect-mini-app",
- "version": "3.4.0-alpha.3",
+ "version": "3.5.0",
"main": "dist/index.js",
"files": [
"dist",
| feat(build): SMDV-7807 new build version | feat(build): SMDV-7807 new build version
|
3be4f9d4a73f8b3d2e7a6d45e96d8f40a5f293a7 | --- .yarn/patches/@walmart-allspark-utils-npm-6.5.0-cbd052af14.patch
@@ -0,0 +1,21 @@
+diff --git a/lib/Layout.js b/lib/Layout.js
+index f29fcd797574e6352e4806e97d8ed23464959c78..85e14009a28e7ded9e7b61bc6ae22ac22c607960 100644
+--- a/lib/Layout.js
++++ b/lib/Layout.js
+@@ -21,14 +21,14 @@ const Layout = (props) => {
+ return (<Wrapper style={style}>
+ {layout.map((row, rowIndex) => (<react_native_1.View style={styles.row} key={`${rowIndex}-${row.length}`}>
+ {row.map((column, colIndex) => {
+- const { componentId, component, width } = column;
++ const { componentId, component, width, metaData } = column;
+ const id = componentId || component || '';
+ const Component = config[id];
+ if (!Component) {
+ return null;
+ }
+ return (<react_native_1.View key={`${componentId}-${rowIndex}-${colIndex}`} style={[styles.column, !!width && { flex: width }]}>
+- <Component {...componentProps}/>
++ <Component {...componentProps} {...metaData}/>
+ </react_native_1.View>);
+ })}
+ </react_native_1.View>))}
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart",
- "version": "1.27.3",
+ "version": "1.27.4",
"private": true,
"workspaces": [
"core",
@@ -151,7 +151,7 @@
"@walmart/allspark-foundation-hub": "1.2.10",
"@walmart/allspark-graphql-client": "~6.3.28",
"@walmart/allspark-http-client": "~6.3.28",
- "@walmart/allspark-utils": "~6.5.0",
+ "@walmart/allspark-utils": "patch:@walmart/allspark-utils@npm%3A6.5.0#~/.yarn/patches/@walmart-allspark-utils-npm-6.5.0-cbd052af14.patch",
"@walmart/core-services": "~6.5.2",
"@walmart/core-services-allspark": "workspace:^",
"@walmart/core-utils": "~6.3.9",
@@ -263,7 +263,10 @@
"wifi-store-locator": "1.4.1",
"xdate": "^0.8.2",
"yargs": "^17.0.1",
- "zustand": "^4.3.9"
+ "zustand": "^4.3.9",
+ "@walmart/allspark-utils@npm:^6.5.1": "patch:@walmart/allspark-utils@npm%3A6.5.0#~/.yarn/patches/@walmart-allspark-utils-npm-6.5.0-cbd052af14.patch",
+ "@walmart/allspark-utils@npm:^1.6.5": "patch:@walmart/allspark-utils@npm%3A6.5.0#~/.yarn/patches/@walmart-allspark-utils-npm-6.5.0-cbd052af14.patch",
+ "@walmart/allspark-utils@npm:^6.5.0": "patch:@walmart/allspark-utils@npm%3A6.5.0#~/.yarn/patches/@walmart-allspark-utils-npm-6.5.0-cbd052af14.patch"
},
"husky": {
"hooks": {
--- 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 942
- versionName "1.27.3"
+ versionCode 943
+ versionName "1.27.4"
}
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.27.3</string>
+ <string>1.27.4</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.27.3",
+ "version": "1.27.4",
"private": true,
"scripts": {
"android": "react-native run-android",
@@ -82,7 +82,7 @@
"@walmart/allspark-graphql-client": "~6.3.28",
"@walmart/allspark-http-client": "~6.3.28",
"@walmart/allspark-neon-core": "0.1.31",
- "@walmart/allspark-utils": "6.5.0",
+ "@walmart/allspark-utils": "patch:@walmart/allspark-utils@npm%3A6.5.0#~/.yarn/patches/@walmart-allspark-utils-npm-6.5.0-cbd052af14.patch",
"@walmart/amp-mini-app": "1.1.98",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.27.5",
--- yarn.lock
@@ -6249,7 +6249,7 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-utils@npm:~6.5.0":
+"@walmart/allspark-utils@npm:6.5.0":
version: 6.5.0
resolution: "@walmart/allspark-utils@npm:6.5.0"
dependencies:
@@ -6265,6 +6265,22 @@ __metadata:
languageName: node
linkType: hard
+"@walmart/allspark-utils@patch:@walmart/allspark-utils@npm%3A6.5.0#~/.yarn/patches/@walmart-allspark-utils-npm-6.5.0-cbd052af14.patch":
+ version: 6.5.0
+ resolution: "@walmart/allspark-utils@patch:@walmart/allspark-utils@npm%3A6.5.0#~/.yarn/patches/@walmart-allspark-utils-npm-6.5.0-cbd052af14.patch::version=6.5.0&hash=a3cea6"
+ dependencies:
+ crypto-js: "npm:~4.2.0"
+ lodash: "npm:~4.17.21"
+ nanoid: "npm:4.0.2"
+ redux: "npm:^4.2.1"
+ redux-saga: "npm:^1.2.3"
+ peerDependencies:
+ react: "*"
+ react-native: "*"
+ checksum: 10c0/f600ca96a2307d4878730f9c65de9e8163cef898d3461382b9eac7a85dd1d5993abb236b618c15f63d99f970c301839f5294ea8b8bc3108cf9cc0a8c654ebef0
+ languageName: node
+ linkType: hard
+
"@walmart/amp-mini-app@npm:1.1.98":
version: 1.1.98
resolution: "@walmart/amp-mini-app@npm:1.1.98"
@@ -7383,7 +7399,7 @@ __metadata:
"@walmart/allspark-graphql-client": "npm:~6.3.28"
"@walmart/allspark-http-client": "npm:~6.3.28"
"@walmart/allspark-neon-core": "npm:0.1.31"
- "@walmart/allspark-utils": "npm:6.5.0"
+ "@walmart/allspark-utils": "patch:@walmart/allspark-utils@npm%3A6.5.0#~/.yarn/patches/@walmart-allspark-utils-npm-6.5.0-cbd052af14.patch"
"@walmart/amp-mini-app": "npm:1.1.98"
"@walmart/ask-sam-chat-components": "npm:^0.2.7"
"@walmart/ask-sam-mini-app": "npm:1.27.5"
| version bump | version bump
|
88c6ee890b8b3a6a8eae8b035fd66c5bbb417bd1 | --- __tests__/navigation/AssociateHallwayNav/__snapshots__/SideMenuContentTest.tsx.snap
@@ -88,12 +88,51 @@ exports[`SideMenuContent matches snapshot with not user/clockstatus data; sets b
Object {
"action": Object {
"type": "NAVIGATE",
- "value": "Settings",
+ "value": "home",
},
+ "clockCheckRequired": false,
"enabled": true,
- "icon": "settings",
- "menuType": "SUBMENU",
- "title": "menu.settings",
+ "icon": "home",
+ "menuType": "MAINMENU",
+ "subMenuOverridden": false,
+ "title": Object {
+ "en-US": "Me@Walmart home",
+ "es-MX": "Me@Walmart home",
+ },
+ },
+ Object {
+ "enabled": true,
+ "menuType": "SEPERATOR",
+ "title": "Vaccine verification",
+ },
+ Object {
+ "action": Object {
+ "type": "DEEPLINK",
+ "value": "https://walmartglobalcert.service-now.com/wm_sp?id=sc_cat_item&sys_id=e42427511bb5f0d0bcd8ca63604bcb20",
+ },
+ "clockCheckRequired": true,
+ "enabled": true,
+ "icon": "vaccine",
+ "menuType": "MAINMENU",
+ "subMenuOverridden": false,
+ "title": "Vaccine verification",
+ },
+ Object {
+ "action": Object {
+ "type": "DEEPLINK",
+ "value": "https://walmartglobalcert.service-now.com/wm_sp?id=wm_vac_stats",
+ },
+ "clockCheckRequired": true,
+ "enabled": true,
+ "icon": "verification",
+ "menuType": "MAINMENU",
+ "subMenuOverridden": false,
+ "title": "COVID Verification report",
+ },
+ Object {
+ "enabled": true,
+ "menuType": "SEPERATOR",
+ "title": "Vaccine verification",
},
Object {
"action": Object {
@@ -115,6 +154,16 @@ exports[`SideMenuContent matches snapshot with not user/clockstatus data; sets b
"menuType": "SUBMENU",
"title": "menu.whatsNew",
},
+ Object {
+ "action": Object {
+ "type": "NAVIGATE",
+ "value": "Settings",
+ },
+ "enabled": true,
+ "icon": "settings",
+ "menuType": "SUBMENU",
+ "title": "menu.settings",
+ },
]
}
locale="en-US"
@@ -166,12 +215,51 @@ exports[`SideMenuContent matches snapshot with user/clockstatus data; sets bar s
Object {
"action": Object {
"type": "NAVIGATE",
- "value": "Settings",
+ "value": "home",
},
+ "clockCheckRequired": false,
"enabled": true,
- "icon": "settings",
- "menuType": "SUBMENU",
- "title": "menu.settings",
+ "icon": "home",
+ "menuType": "MAINMENU",
+ "subMenuOverridden": false,
+ "title": Object {
+ "en-US": "Me@Walmart home",
+ "es-MX": "Me@Walmart home",
+ },
+ },
+ Object {
+ "enabled": true,
+ "menuType": "SEPERATOR",
+ "title": "Vaccine verification",
+ },
+ Object {
+ "action": Object {
+ "type": "DEEPLINK",
+ "value": "https://walmartglobalcert.service-now.com/wm_sp?id=sc_cat_item&sys_id=e42427511bb5f0d0bcd8ca63604bcb20",
+ },
+ "clockCheckRequired": true,
+ "enabled": true,
+ "icon": "vaccine",
+ "menuType": "MAINMENU",
+ "subMenuOverridden": false,
+ "title": "Vaccine verification",
+ },
+ Object {
+ "action": Object {
+ "type": "DEEPLINK",
+ "value": "https://walmartglobalcert.service-now.com/wm_sp?id=wm_vac_stats",
+ },
+ "clockCheckRequired": true,
+ "enabled": true,
+ "icon": "verification",
+ "menuType": "MAINMENU",
+ "subMenuOverridden": false,
+ "title": "COVID Verification report",
+ },
+ Object {
+ "enabled": true,
+ "menuType": "SEPERATOR",
+ "title": "Vaccine verification",
},
Object {
"action": Object {
@@ -193,6 +281,16 @@ exports[`SideMenuContent matches snapshot with user/clockstatus data; sets bar s
"menuType": "SUBMENU",
"title": "menu.whatsNew",
},
+ Object {
+ "action": Object {
+ "type": "NAVIGATE",
+ "value": "Settings",
+ },
+ "enabled": true,
+ "icon": "settings",
+ "menuType": "SUBMENU",
+ "title": "menu.settings",
+ },
]
}
locale="en-US"
| snapshot update | snapshot update
|
424297b95cc9143806b74c6156a1963807076ca9 | --- __tests__/components/ClockedOutScreenGuardTest.tsx
@@ -1,5 +1,5 @@
import React from 'react';
-import {render, fireEvent} from '@testing-library/react-native';
+import {fireEvent} from '@testing-library/react-native';
import {View} from 'react-native';
import {
ClockedOutScreenGuard,
| Removing lint errors | Removing lint errors
|
ed545e10c82d553640db6cca34e608d2e7acaab5 | --- src/navigation/AssociateHallwayNav/Tabs/index.tsx
@@ -197,7 +197,7 @@ export const MainTabsNav = () => {
icon: 'inactive-task',
iconSelected: 'active-task',
}),
- tabBarBadge: highPriorityCount ? '2' : undefined,
+ tabBarBadge: highPriorityCount ? '' : undefined,
}}
/>
)}
| Fixing task it badge | Fixing task it badge
|
92a8ff7dffe2dfeed354014096391b8d6f8cb90c | --- jest.config.js
@@ -2,11 +2,12 @@ module.exports = {
collectCoverageFrom: ['<rootDir>/src/**/*.{js,jsx,ts,tsx}'],
coverageReporters: ['lcov', 'text'],
coverageThreshold: {
+ // @todo - Lowering to 80% until all unit tests are updated for foundation changes. Bump to 95% when ready.
global: {
- statements: 95,
- branches: 95,
- functions: 95,
- lines: 95,
+ statements: 80,
+ branches: 80,
+ functions: 80,
+ lines: 80,
},
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
--- package.json
@@ -12,7 +12,7 @@
"androidConfig:dev": "sh scripts/updateAndroidProjectConfig.sh Dev",
"androidConfig:prod": "sh scripts/updateAndroidProjectConfig.sh Prod",
"androidConfig:teflon": "sh scripts/updateAndroidProjectConfig.sh Teflon",
- "coverage": "echo '' >> test-report.xml || jest --coverage",
+ "coverage": "jest --coverage",
"env:beta": "npm run firebase:beta && cp env.beta.js env.js && npm run projConfig:beta",
"env:dev": "npm run firebase:dev && cp env.dev.js env.js && npm run projConfig:dev",
"env:prod": "npm run firebase:prod && cp env.prod.js env.js && npm run projConfig:prod",
| chore: adjusting coverage requirements and adding coverage command back | chore: adjusting coverage requirements and adding coverage command back
|
0724c1be916688f4e19f132d1e53e4822639d90e | --- __tests__/core/httpClientInitTest.ts
@@ -72,12 +72,13 @@ const user: SSOUser = {
win: '129308',
};
-describe('initHttpClientConfig', () => {
+describe('module', () => {
it('calls setConfig on defaultHttpClient', () => {
- initHttpClientConfig();
expect(defaultHttpClient.setConfig).toHaveBeenCalled();
});
+});
+describe('initHttpClientConfig', () => {
it('adds the listener for sso sign in', () => {
initHttpClientConfig();
expect(mockAddListener).toHaveBeenCalled();
--- src/core/httpClientInit.ts
@@ -65,10 +65,6 @@ export const createRefreshTokenCallback = (sso: ConnectedSSO) => async (
};
export const initHttpClientConfig = () => {
- defaultHttpClient.setConfig({
- refreshTokenCallback: createRefreshTokenCallback(connectedSSO),
- });
-
ssoEventEmitter.addListener(
SSOPingFedEvents.name,
(event: SSOPingFedEventData) => {
@@ -78,3 +74,7 @@ export const initHttpClientConfig = () => {
},
);
};
+
+defaultHttpClient.setConfig({
+ refreshTokenCallback: createRefreshTokenCallback(connectedSSO),
+});
| moving the setting of default http client config to module-level so o… (#137) | moving the setting of default http client config to module-level so o… (#137)
* moving the setting of default http client config to module-level so other modules won't get the client early
* remove log |
8e90ceaa93d63703dd0e1d434eac713940c9875e | --- package.json
@@ -34,7 +34,7 @@
"jetifier": "jetifier",
"lint": "eslint ./src ./__tests__ --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint ./src ./__tests__ --ext .js,.jsx,.ts,.tsx --fix",
- "postinstall": "sh ./scripts/stubFirestore.sh",
+ "postinstall": "sh ./scripts/stubFirestore.sh && npx sort-npm-scripts",
"postversion": "react-native-version -A",
"projConfig:beta": "npm run iosConfig:beta && npm run androidConfig:beta",
"projConfig:dev": "npm run iosConfig:dev && npm run androidConfig:dev",
@@ -189,12 +189,12 @@
"redux-devtools-extension": "^2.13.8",
"redux-saga": "^1.1.3",
"redux-thunk": "^2.4.0",
+ "uuid": "^3.3.2",
"reduxsauce": "^1.2.0",
"reselect": "^4.0.0",
"rn-fetch-blob": "^0.12.0",
"seamless-immutable": "^7.1.4",
"semver": "^7.3.4",
- "uuid": "^3.3.2",
"victory-native": "^35.0.1",
"wifi-store-locator": "^1.0.0-alpha2"
},
@@ -285,7 +285,7 @@
},
"husky": {
"hooks": {
- "pre-commit": "npx sort-npm-scripts && npm run lint -- --max-warnings 0",
+ "pre-commit": "npm run lint -- --max-warnings 0",
"pre-push": "solidarity && npm run coverage"
}
}
| sort packages on post install | sort packages on post install
|
a83a4ed224f01bdcbe0d2101d8a69f0f7f0cb68b | --- packages/allspark-foundation/src/HubFeature/Onboarding/TeamSelection/Component/TeamSelectionList.tsx
@@ -5,13 +5,15 @@ import { SelectionBanner } from './SelectionBanner';
import { teamSelectionListStyles as styles } from '../styles';
import { TeamPreference, TeamSelectionListProps } from '../types';
import { HubHeader } from '../../../HubHeader';
-import { colors, Spinner } from '@walmart/gtp-shared-components';
+import { colors } from '@walmart/gtp-shared-components';
import { ListHeader } from './ListHeader';
import {
MyArea,
HeaderTitle,
HeaderSubText,
} from '../Constants/TeamSelectionConstants';
+import { TeamSelectionLoader } from './TeamSelectionLoader';
+import { ErrorScreen } from '../Component/ErrorScreen';
import { UserSelectors } from '../../../../User';
import { SiteSelectors } from '../../../../Site';
import { useSelector } from 'react-redux';
@@ -41,17 +43,16 @@ export const TeamSelectionList = ({
const win: string | undefined = useSelector(UserSelectors.getWin);
const logger = LoggerService.getContainerInstance();
const teamSelectionTelemetry = useTelemetryService();
- const [upsertManagerExperiencePreferenceMutation, { error }] =
+ const [upsertManagerExperiencePreferenceMutation, { error, loading }] =
useUpsertManagerExperiencePreferenceMutation({
onCompleted: () => {
- logger.info('upsertManagerExperiencePreferenceMutation completed', {
- message:
- 'upsertManagerExperiencePreferenceMutation executed successfully',
+ logger.info('managerExperienceMutation success', {
+ message: 'Manager experience mutation completed',
});
},
onError: (err: any) => {
- logger.error('upsertManagerExperiencePreferenceMutation error', {
- message: `error in upsertManagerExperiencePreferenceMutation from TeamSelection: ${err}`,
+ logger.error('managerExperienceMutation error', {
+ message: `${err}`,
});
},
});
@@ -84,19 +85,42 @@ export const TeamSelectionList = ({
//TODO: Add confirmation screen navigation
// AllsparkNavigationClient.navigate('managerExperience.hubContainer');
AllsparkNavigationClient.navigate('teamHub.container');
- logger.info('Save teams event from team selection', {
- message: 'Save teams event from team selection executed successfully',
+ logger.info('Save teams event', {
+ message: 'Save teams event triggered',
});
teamSelectionTelemetry.logEvent('Save teams event', {
- message: 'Save teams event from team selection triggered',
+ message: 'Save teams event triggered',
win: win as string,
site: String(site),
});
};
+ if (loading) {
+ return <TeamSelectionLoader />;
+ }
+
if (error) {
- //TODO: Add error handling component
- return <Spinner />;
+ return (
+ <ErrorScreen
+ errorTitle={'Something went wrong'}
+ errorMessage={'Refresh this page to try again.'}
+ buttonText={'Refresh page'}
+ handleButtonPress={() => {
+ upsertManagerExperiencePreferenceMutation({
+ variables: {
+ win: win as string,
+ site: site as number,
+ teams: selectedTeamIds.map((teamId) => ({
+ teamId: teamId,
+ site: `${site}`,
+ countryCode: countryCode,
+ })) as TeamPreference[],
+ },
+ });
+ AllsparkNavigationClient.navigate('managerExperience.hubContainer');
+ }}
+ />
+ );
}
return (
| Adding error and loading components | Adding error and loading components
|
55336e6984129cf7ba1273245e994bc2dabdac08 | --- package-lock.json
@@ -4253,9 +4253,9 @@
"integrity": "sha512-0M7ySb3F2lKlIfwBosm+Slx3kJvdoEHm5haaZ05WKCJ1hctu0F0CzTGDSbZciXWX92HJBmxvsvr8yi2H435R8g=="
},
"@walmart/ims-print-services-ui": {
- "version": "0.1.16",
- "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-0.1.16.tgz",
- "integrity": "sha512-rsHtoIJTGpR2zLro+B2r94psuK7G83J0XsUoerXiTAhRNDK/Si+oQiGI+xliq7bKRatUlbl6FrzblsILjofyGw=="
+ "version": "0.1.18",
+ "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-0.1.18.tgz",
+ "integrity": "sha512-WPkO+e4v4RcFIuO08q7ak9cfMhrkllOh3oUt7+KTTHdlWo5f3BrVLO0DXkFknIFNzBQOetmD7U1eggxKMLFlkg=="
},
"@walmart/inbox-mini-app": {
"version": "0.27.0",
@@ -4263,9 +4263,9 @@
"integrity": "sha512-kKf1sJONCS1HVrdQKKRJGSw9GFKHy+SsznaS2vSOJ50MrFL8+tIjOOcdVzETlw1KdlZxlRlD4xxeFMVAgFJwhA=="
},
"@walmart/iteminfo-mini-app": {
- "version": "4.0.17",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-4.0.17.tgz",
- "integrity": "sha512-9T0xjpMvwmXIBFKXUjV7n68ebTtgajkiecVMrCEGXaoD8+cY4z/4506cCwumwx3Kkgl937C/42Qa2qN2re9AyQ=="
+ "version": "4.0.20",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-4.0.20.tgz",
+ "integrity": "sha512-Jbc0cyknfPBB4+QGL7+E7oNZmhP9sjBLbibvaroR5DKnzBA4B7KkGAiSVuoWqyYI/TKM7rsOaq/hyO/7WzVd6A=="
},
"@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.16",
+ "@walmart/ims-print-services-ui": "0.1.18",
"@walmart/inbox-mini-app": "0.27.0",
- "@walmart/iteminfo-mini-app": "4.0.17",
+ "@walmart/iteminfo-mini-app": "4.0.20",
"@walmart/manager-approvals-miniapp": "0.0.59",
"@walmart/metrics-mini-app": "0.5.21",
"@walmart/moment-walmart": "1.0.4",
| ItemInfo and Print remaining fixes | ItemInfo and Print remaining fixes
|
917d999e492793cdd083d4ec6af364f30ebb6856 | --- 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.91",
+ "@walmart/facilities-management-miniapp": "0.6.92",
"@walmart/feedback-all-spark-miniapp": "0.9.50",
"@walmart/financial-wellbeing-feature-app": "1.13.7",
"@walmart/functional-components": "~4.0.3",
@@ -8295,9 +8295,9 @@
}
},
"node_modules/@walmart/facilities-management-miniapp": {
- "version": "0.6.91",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.91.tgz",
- "integrity": "sha512-LZ+bItpDgRz921zCg00sJ62o6cpM00QX/JoG/x0GvIy5sl3YTR6zlPAUhJTSaJN2NcqF6JT5f7wilowZMupSkQ==",
+ "version": "0.6.92",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.92.tgz",
+ "integrity": "sha512-td+z8JOl/vLVwKuou5186sX+9quwcGIWdGLSD/VGjY3nKrUcqJgSMpFBsvnzGkBwRIDMOzS7NgRUm8iFTIsdFA==",
"hasInstallScript": true,
"engines": {
"node": ">=16"
@@ -34308,9 +34308,9 @@
"integrity": "sha512-luIn9pSsohNep8F4kUtyhnrol0HoVAPQpZzDZ3dvxKCKquH0oASjFfJE9nIWJ8lywUb0buOnf9MOls+0oUljAQ=="
},
"@walmart/facilities-management-miniapp": {
- "version": "0.6.91",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.91.tgz",
- "integrity": "sha512-LZ+bItpDgRz921zCg00sJ62o6cpM00QX/JoG/x0GvIy5sl3YTR6zlPAUhJTSaJN2NcqF6JT5f7wilowZMupSkQ=="
+ "version": "0.6.92",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.92.tgz",
+ "integrity": "sha512-td+z8JOl/vLVwKuou5186sX+9quwcGIWdGLSD/VGjY3nKrUcqJgSMpFBsvnzGkBwRIDMOzS7NgRUm8iFTIsdFA=="
},
"@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.91",
+ "@walmart/facilities-management-miniapp": "0.6.92",
"@walmart/feedback-all-spark-miniapp": "0.9.50",
"@walmart/financial-wellbeing-feature-app": "1.13.7",
"@walmart/functional-components": "~4.0.3",
| Updating the version to 0.6.92 | Updating the version to 0.6.92
|
21be765b9e639b44cf76b85aa77d8ca3eabc3da9 | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 123
+ versionCode 124
versionName "1.0.11"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>123</string>
+ <string>124</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
| Incrementing build number | Incrementing build number
|
e82a82f5db4e9121fac9a0b8d277187e98c876e2 | --- sr.yaml
@@ -0,0 +1,39 @@
+schemaVersion: 1.0.0
+notify:
+ slack:
+ channelName: allspark-core-service-registry
+applications:
+ - key: ALLSPARK_APP
+ name: allspark-app-consumer
+ description: Mobile application that allows associates to view their schedules, interact with a virtual assistant, and use push-to-talk
+ teamRostersProductId: 2071
+ organization: StoreSystems
+ members:
+ - homeoffice\\a0f00ev
+ - homeoffice\\c0m05md
+ - homeoffice\\e0r020j
+ - homeoffice\\h0a006n
+ - homeoffice\\h0l03uu
+ - homeoffice\\rlane1
+ - homeoffice\\sakbari
+ - homeoffice\\a0s11tw
+ - homeoffice\\p0l04ug
+ companyCatalog: true
+ businessCriticality: MAJOR
+ environments:
+ - name: stg
+ description: stg
+ type: STAGING
+ consumerIdInfos:
+ - consumerId: d71dd4ee-5108-4509-9def-b0091bd1e77e
+ publicKey: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxHVpsk/6dpuhkRHDaMdmDiO5nVWVIs8RPsPpBBEzVeeVuCgeyOyLrckwTA/njxQvUA9QiMeCb0Kscd1iuTyGjOhf/KA4Qt/O/EF3KyBI+19uN+dsCcz2me0TXpPlGyJpn1CgGZa1nLpJPYtFM8Cx4eKn5yI+AWwURUoxTkbUl1AbyqSKeORHaCT/edXZGP3Q0SAyVa4M//nTRAtxSmOMDFqs9s7XlqO5dW5/Ts/OSh3wjAQRpct3CXfCaEgHDCpc2IXsib2pwJ2zejL2+bqGQHxwv37BfxHE2UNkOSPlrcB4mx5YCi22jy0sSH9Oc19Vi8FG8FSUHPqHaCywiAMa6QIDAQAB
+ - consumerId: b5fc6fe0-5927-44a6-a693-6e922e830b04
+ publicKey: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxsWWVEHhzQ5HnV4WLFcIPrxjctqqwQ/HtM+i5bbKlE5LppVoSy1WiAzp/TNZBUvhw+YutW5Ux7mdk8s19oEK8IFx4hdCMumyQv+ufoCYQj0Ag15oKAWL3UKCMh/W8gbc/KERHQDl4VHBz5OftSJ0ZYmoRhUYCa49uP+grrGsOPcXMPxLORYBQVTJJmCSVd3aXyWuDaqg1cBfTCQO/JmZ428XxVFVjAmnEUNWXjjR0q8ptidOywq3ryekEamiTcW/J9MWYtXk4gsqCZASmu2quZPiQ5/o6NnA/nKbLbryNsnlEIVdHBwNTpIDUdeHRLO0qDqGkBqdusJUNZ5I38hgOwIDAQAB
+ - consumerId: 9a85eec7-f87c-4bca-9a45-74cc6578c787
+ publicKey: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2VH5EghpVe7eKeJWT2hTRQKsdL9cFvLkMTq7ylfnB3APZeLvUzXg0zrXnxurpK2NfQ0v+3EXTlmP85rYT2qQfpVyCAYVNjZYvX6JLx7tTNfO3iOqsH5Lij7vbCUDtwk1UgGJsbMCZCo8imckCEP4ZqBx78iQbqG10B2krLis6Q3h4Ddt2uOvYCy+9axccQX01uRWR3mTrolYXXRRFq5BGx3Pkyubs8OfPcO5Zk/XkQbNiH4ePB9GVGDQxnrWTR5rhib79lOWM3v5QICfZEagw1rFZjNmAJpILn7TLoAKMq1ujDNbIONiTZUBLDa53sM63M7rWxyC+CKAeRu7vgi8QwIDAQAB
+ - name: prod
+ description: prod
+ type: PRODUCTION
+ consumerIdInfos:
+ - consumerId: 364a55bb-7f04-4a7c-a800-1d91c08fe5f2
+ publicKey: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2hQn/1NUR5VETeGZHHpMAjojHOqbR5oNhcDnhm0M43DvNdGREfNwJiDjRwUNvcoF85lIvr/ZB3xmUIrWLfHPlQ6wzLXijbQAzdo7tEhEUTFHillH+TXk0ST1lyMbC/azpUgc04pNUcfFwortOVY242saXZe4MfiBre2u/Q6xQTBAJ6DZWK8nrwpFEn0ijKZbIXRLJQ8EAhjWdIA/7VEgdoOzSlGHrbs9HYvzHbUVBfS2pt3SYC32aGseBV24bQJmZeFsgw8aKKXjL/myIqkJC9J1ieQboEercf5jjARqYflkoKtWTQf+7AfIjtWNh4QEG5C1KAvi0JuTwXj9bhn9KQIDAQAB
| chore: add sr yml file for service regsitry configuration (#4436) | chore: add sr yml file for service regsitry configuration (#4436)
* chore: add sr yml file for service regsitry configuration
* chore: fixing sr yaml
* fix(sr.yaml): add slack channel and new consumer id
* fix(sr.yaml): add slack channel and new consumer id
---------
Co-authored-by: Aroushi Sharma <aroushi.sharma@walmart.com> |
6b0cf2c38a27f37d73818198aa5a7560c30bae79 | --- package-lock.json
@@ -47,7 +47,7 @@
"@walmart/calling-mini-app": "0.1.13",
"@walmart/compass-sdk-rn": "5.18.15",
"@walmart/config-components": "4.2.17",
- "@walmart/copilot-mini-app": "3.70.4",
+ "@walmart/copilot-mini-app": "3.70.5",
"@walmart/core-services": "~2.3.0",
"@walmart/core-services-allspark": "~2.13.11",
"@walmart/core-utils": "~2.0.5",
@@ -8678,9 +8678,9 @@
}
},
"node_modules/@walmart/copilot-mini-app": {
- "version": "3.70.4",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.70.4.tgz",
- "integrity": "sha512-Jt143szz4P58T5AXFKZSKIuUJgA3RpzqNnSXec1aYFzqZXRPNN2waLrt0goGuEAQA8w5obulJOsdY35i2m+hcw==",
+ "version": "3.70.5",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.70.5.tgz",
+ "integrity": "sha512-ls31ADJ9A+a2h7eiD2L6LPHttcAFZpIADp8MSGVAk5Bpz3Ca9+bJA4n1NiMDm55axLpm6IHu3IcxUWY/fy1NWw==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -33180,9 +33180,9 @@
}
},
"@walmart/copilot-mini-app": {
- "version": "3.70.4",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.70.4.tgz",
- "integrity": "sha512-Jt143szz4P58T5AXFKZSKIuUJgA3RpzqNnSXec1aYFzqZXRPNN2waLrt0goGuEAQA8w5obulJOsdY35i2m+hcw=="
+ "version": "3.70.5",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.70.5.tgz",
+ "integrity": "sha512-ls31ADJ9A+a2h7eiD2L6LPHttcAFZpIADp8MSGVAk5Bpz3Ca9+bJA4n1NiMDm55axLpm6IHu3IcxUWY/fy1NWw=="
},
"@walmart/core-services": {
"version": "2.3.2",
--- package.json
@@ -88,7 +88,7 @@
"@walmart/calling-mini-app": "0.1.13",
"@walmart/compass-sdk-rn": "5.18.15",
"@walmart/config-components": "4.2.17",
- "@walmart/copilot-mini-app": "3.70.4",
+ "@walmart/copilot-mini-app": "3.70.5",
"@walmart/core-services": "~2.3.0",
"@walmart/core-services-allspark": "~2.13.11",
"@walmart/core-utils": "~2.0.5",
| chore: bump copilot@3.70.5 | chore: bump copilot@3.70.5
|
b8c58283f42a35cdef90e9bcf16ba9219149c5d3 | --- package-lock.json
@@ -66,9 +66,9 @@
"@walmart/react-native-scanner-3.0": "0.4.2",
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
- "@walmart/roster-mini-app": "1.0.3",
+ "@walmart/roster-mini-app": "1.0.4",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.3",
+ "@walmart/wmconnect-mini-app": "1.0.4",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
@@ -11834,9 +11834,9 @@
}
},
"node_modules/@walmart/roster-mini-app": {
- "version": "1.0.3",
- "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.3.tgz",
- "integrity": "sha512-f4SP0VDz7qRYpwaF85rqPGB1OIfFTFPY1XdTUAGIFYUnirI2oyWW+NmAs8Vw6KSlyb9yrdGX3DWUAiM2cG7Mog==",
+ "version": "1.0.4",
+ "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.4.tgz",
+ "integrity": "sha512-9ArY19FvWD1t0IJ83ur4o3SjXeYEhJl8EoEyIS0iTDWBmCa78Rcz3w+7EZtk9TUHD0qo8VLPdLZ5ej4oNxF08Q==",
"dev": true,
"hasInstallScript": true
},
@@ -11863,9 +11863,9 @@
}
},
"node_modules/@walmart/wmconnect-mini-app": {
- "version": "1.0.3",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.3.tgz",
- "integrity": "sha512-T+tXVobre8MIG7RmE9rFdQqwPLcioXwCOjV132riMz0JAdboftlbrBTUoX9QdUo8lMXyVaKgwqUDU/O/65MyEA==",
+ "version": "1.0.4",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.4.tgz",
+ "integrity": "sha512-utkxDzxy79hOpgpzLWCsjfOsmw3L57b+2vHgTxckEPBrbcaubQjhwLZTJRj/AfwJ/o83C9lhdJHznq+0+v/+TA==",
"dev": true,
"hasInstallScript": true
},
@@ -41072,9 +41072,9 @@
}
},
"@walmart/roster-mini-app": {
- "version": "1.0.3",
- "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.3.tgz",
- "integrity": "sha512-f4SP0VDz7qRYpwaF85rqPGB1OIfFTFPY1XdTUAGIFYUnirI2oyWW+NmAs8Vw6KSlyb9yrdGX3DWUAiM2cG7Mog==",
+ "version": "1.0.4",
+ "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.4.tgz",
+ "integrity": "sha512-9ArY19FvWD1t0IJ83ur4o3SjXeYEhJl8EoEyIS0iTDWBmCa78Rcz3w+7EZtk9TUHD0qo8VLPdLZ5ej4oNxF08Q==",
"dev": true
},
"@walmart/ui-components": {
@@ -41089,9 +41089,9 @@
}
},
"@walmart/wmconnect-mini-app": {
- "version": "1.0.3",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.3.tgz",
- "integrity": "sha512-T+tXVobre8MIG7RmE9rFdQqwPLcioXwCOjV132riMz0JAdboftlbrBTUoX9QdUo8lMXyVaKgwqUDU/O/65MyEA==",
+ "version": "1.0.4",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.4.tgz",
+ "integrity": "sha512-utkxDzxy79hOpgpzLWCsjfOsmw3L57b+2vHgTxckEPBrbcaubQjhwLZTJRj/AfwJ/o83C9lhdJHznq+0+v/+TA==",
"dev": true
},
"@whatwg-node/events": {
--- package.json
@@ -89,8 +89,8 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.3",
- "@walmart/roster-mini-app": "1.0.3",
+ "@walmart/wmconnect-mini-app": "1.0.4",
+ "@walmart/roster-mini-app": "1.0.4",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
| Update roster mini app version | Update roster mini app version
|
51f1191e4cfa8ca5492ac8fa7aac3d785d3e3fb3 | --- yarn.lock
@@ -7066,7 +7066,7 @@ __metadata:
"@walmart/time-clock-mini-app": "npm:2.448.1"
"@walmart/topstock-mini-app": "npm:1.19.4"
"@walmart/translator-mini-app": "npm:1.3.7"
- "@walmart/ui-components": "npm:1.19.0"
+ "@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.19.0#~/.yarn/patches/@walmart-ui-components-npm-1.19.0-8c7e633082.patch"
"@walmart/walmart-fiscal-week": "npm:^0.3.6"
"@walmart/welcomeme-mini-app": "npm:0.96.0"
"@walmart/wfm-ui": "npm:1.6.0"
@@ -8140,6 +8140,32 @@ __metadata:
languageName: node
linkType: hard
+"@walmart/ui-components@patch:@walmart/ui-components@npm%3A1.19.0#~/.yarn/patches/@walmart-ui-components-npm-1.19.0-8c7e633082.patch":
+ version: 1.19.0
+ resolution: "@walmart/ui-components@patch:@walmart/ui-components@npm%3A1.19.0#~/.yarn/patches/@walmart-ui-components-npm-1.19.0-8c7e633082.patch::version=1.19.0&hash=e2c52f"
+ dependencies:
+ "@walmart/ui-components": "npm:^1.15.11"
+ react-hook-form: "npm:^7.33.1"
+ react-native-calendars: "npm:1.299.0"
+ react-native-elements: "npm:^3.4.2"
+ peerDependencies:
+ "@react-navigation/stack": ">=6.1.0"
+ "@walmart/allspark-utils": ">=1.6.5"
+ "@walmart/gtp-shared-components": ">=2.0.0"
+ javascript-time-ago: ">=2.3.4"
+ react: "*"
+ react-native: "*"
+ react-native-background-timer: ">=2.4.1"
+ react-native-hyperlink: ">=0.0.19"
+ react-native-modal: ">=11.6.1"
+ react-native-reanimated: ">=1.13.2"
+ react-native-safe-area-context: ">=3.1.3"
+ react-native-vector-icons: ">=7.0.0"
+ react-native-webview: ">=10.10.2"
+ checksum: 10c0/e55359a8ea73365f682a84f2c18109c2402bad8d977d5e4a977369ec511d207258d166b131a5d028aefa9b9213dbce57e3275b8b1f83f3bba25e9cc744445ef0
+ languageName: node
+ linkType: hard
+
"@walmart/virtual-zpl-printer-model@npm:^0.2.11":
version: 0.2.11
resolution: "@walmart/virtual-zpl-printer-model@npm:0.2.11"
| chore: lock file update | chore: lock file update
|
1ea95175e3f184f037bdbd0685f02634603c0f01 | --- core/__tests__/navigation/USHallway/AssociateHallwayNav/Tabs/MainTabsNavTest.tsx
@@ -18,10 +18,6 @@ jest.mock('@walmart/payrollsolution_miniapp', () => ({
directDepositMiniApp: 'PaymentSelection',
}));
-jest.mock('@walmart/taskit-mini-app', () => ({
- getTaskTabBarBadge: jest.fn(),
-}));
-
jest.mock('@walmart/sidekick-mini-app', () => ({
useWorkBadgeCount: jest.fn(() => ({total: 10})),
}));
--- core/__tests__/navigation/USHallway/AssociateHallwayNav/Tabs/__snapshots__/MainTabsNavTest.tsx.snap
@@ -93,16 +93,7 @@ exports[`MainTabsNav renders sidekick with badges 1`] = `
}
}
/>
- <Screen
- component={[Function]}
- name="taskit"
- options={
- {
- "tabBarAccessibilityLabel": "navigation.notifications",
- "tabBarBadge": undefined,
- }
- }
- />
+ TaskItMiniApp
<Screen
component={[Function]}
name="inbox"
@@ -142,16 +133,7 @@ exports[`MainTabsNav renders taskit with badges 1`] = `
component={[Function]}
name="myTeam"
/>
- <Screen
- component={[Function]}
- name="taskit"
- options={
- {
- "tabBarAccessibilityLabel": "navigation.notifications",
- "tabBarBadge": undefined,
- }
- }
- />
+ TaskItMiniApp
<Screen
component={[Function]}
name="inbox"
| fix: fixed unit tests | fix: fixed unit tests
|
9cbeab92e462a3d36d8bdfe06188606855aaf255 | --- packages/allspark-foundation/src/FeatureRunner/navigation.tsx
@@ -9,6 +9,7 @@ import {
DrawerContentComponentProps,
createDrawerNavigator,
} from '@react-navigation/drawer';
+import { HeaderBackButtonProps } from '@react-navigation/elements';
import { RenderGuard } from '@walmart/allspark-utils';
import { AllsparkEnvironment } from '../Environment';
@@ -36,6 +37,8 @@ const renderHeader = (props: StackHeaderProps) => (
<Header {...props} bannersEnabled={true} />
);
+const renderHeaderLeft = (_: HeaderBackButtonProps) => <DrawerButton />;
+
const renderSideMenu = (props: DrawerContentComponentProps) => (
<SideMenu {...props} />
);
@@ -115,7 +118,7 @@ export const createFeatureRunnerNavigation = <F extends AllsparkFeatureModule>(
<>
<Stack.Screen
name='container.home'
- options={{ title: feature.name, headerLeft: DrawerButton }}
+ options={{ title: feature.name, headerLeft: renderHeaderLeft }}
component={GuardedHome}
/>
<Stack.Screen
@@ -125,7 +128,7 @@ export const createFeatureRunnerNavigation = <F extends AllsparkFeatureModule>(
/>
<Stack.Screen
name='container.elements'
- options={{ title: 'Elements', headerLeft: DrawerButton }}
+ options={{ title: 'Elements', headerLeft: renderHeaderLeft }}
component={ElementsScreen}
/>
{FeatureScreens}
| fix: add method to render drawer header left button for feature runner | fix: add method to render drawer header left button for feature runner
|
c4ec4050518fdf293e2f9789c6ec67b2aa7a0661 | --- packages/allspark-foundation-hub/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.9.14](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.9.13...@walmart/allspark-foundation-hub@1.9.14) (2025-06-13)
+
+**Note:** Version bump only for package @walmart/allspark-foundation-hub
+
## [1.9.13](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.9.12...@walmart/allspark-foundation-hub@1.9.13) (2025-06-12)
**Note:** Version bump only for package @walmart/allspark-foundation-hub
--- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.9.13",
+ "version": "1.9.14",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/me-at-walmart-athena-queries/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.33.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@6.33.3...@walmart/me-at-walmart-athena-queries@6.33.4) (2025-06-13)
+
+### Bug Fixes
+
+- **api:** fix header API ([#296](https://gecgithub01.walmart.com/allspark/allspark/issues/296)) ([0f6eb5b](https://gecgithub01.walmart.com/allspark/allspark/commit/0f6eb5bc51de669e2fb6cba152db0341f1751cf0))
+
## [6.33.3](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@6.33.2...@walmart/me-at-walmart-athena-queries@6.33.3) (2025-06-12)
**Note:** Version bump only for package @walmart/me-at-walmart-athena-queries
--- packages/me-at-walmart-athena-queries/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-athena-queries",
- "version": "6.33.3",
+ "version": "6.33.4",
"description": "> TODO: description",
"author": "rlane1 <russell.lane@walmart.com>",
"homepage": "",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-foundation-hub@1.9.14
- @walmart/me-at-walmart-athena-queries@6.33.4
|
638ba78ce7a58145cc75aa35a166e9e39f140c36 | --- package-lock.json
@@ -3194,9 +3194,9 @@
"integrity": "sha512-fn7C70cwO1O29kKMJ63dQaQ0qDD2hp+9F5I349j5EU0wUIWh8mI9EiTjOteJatt4UTKGe6SUbU3tN4UjSyzJng=="
},
"@walmart/time-clock-mini-app": {
- "version": "0.1.31",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-0.1.31.tgz",
- "integrity": "sha512-3JlB0qCwHBDEfsSeu45YWOsCvWo+En8jt1Xy8e7WL5GmXfWxF6lpAvDrLcTcOUOHX11zOfqHfOrzrqbqHBOkvA==",
+ "version": "0.1.32",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-0.1.32.tgz",
+ "integrity": "sha512-7XavwuEUQmFXCp954WPHMv/VWlLHtmlpd8IhgNMqS/BDPaVcw0XP0fr7v3gNj2g3Uqo1lsNDKV8GNBfQyVtuIw==",
"requires": {
"@react-native-community/datetimepicker": "^3.0.3",
"javascript-time-ago": "^2.3.4",
--- package.json
@@ -65,7 +65,7 @@
"@walmart/redux-store": "^1.0.12",
"@walmart/schedule-mini-app": "0.2.56",
"@walmart/settings-mini-app": "1.1.15",
- "@walmart/time-clock-mini-app": "0.1.31",
+ "@walmart/time-clock-mini-app": "0.1.32",
"@walmart/ui-components": "1.0.95",
"@walmart/welcomeme-mini-app": "0.5.27",
"i18next": "^19.7.0",
| Fixed Walmart time bug (#353) | Fixed Walmart time bug (#353)
Also added splunk logging |
6e555563558e3a5e1bf9a8ba3a8c0ab8086879eb | --- package.json
@@ -89,7 +89,7 @@
"@walmart/counts-component-miniapp": "0.0.42",
"@walmart/emergency-mini-app": "1.17.0",
"@walmart/exception-mini-app": "1.0.14",
- "@walmart/facilities-management-miniapp": "0.5.19",
+ "@walmart/facilities-management-miniapp": "0.5.20",
"@walmart/feedback-all-spark-miniapp": "0.9.9",
"@walmart/financial-wellbeing-feature-app": "1.0.64",
"@walmart/functional-components": "2.0.6",
@@ -123,7 +123,7 @@
"@walmart/schedule-mini-app": "0.29.0",
"@walmart/settings-mini-app": "1.12.0",
"@walmart/shelfavailability-mini-app": "1.5.2",
- "@walmart/taskit-mini-app": "0.49.6",
+ "@walmart/taskit-mini-app": "0.49.11",
"@walmart/time-clock-mini-app": "0.30.0",
"@walmart/ui-components": "1.9.0",
"@walmart/welcomeme-mini-app": "0.73.0",
| Update package.json | Update package.json |
c898c32f95e5d46632de5e0136d54d2d3a207ccd | --- packages/associate-exp-hub-team-switcher/src/components/team-switcher/MyWalmartTeamSwitcherFilter.tsx
@@ -586,25 +586,13 @@ const MyWalmartTeamSwitcherComponent: React.FC<TeamSwitcherProps> = ({
return;
}
- // Log team switcher interaction
- // Log team switcher interaction - ALWAYS enabled for monitoring
- TelemetryHelpers.logTeamAction(teamState.selectedTeamData.teamId, {
- team_name: teamState.selectedTeamData.teamLabel,
- team_type: isSiteDC ? 'supply_chain' : 'store',
- });
-
- // Log the interaction
- TelemetryHelpers.logUserInteraction({
- element_type: 'team_switcher',
- action: 'tap',
- value: teamState.selectedTeamData.teamId,
- element_id: 'team_switcher_button',
- });
-
if (!enableTeamSwitcher) {
- TelemetryHelpers.logError('Team switcher is currently disabled', {
- component: 'MyWalmartTeamSwitcher',
- user_action: 'team_switcher_click',
+ // Defer telemetry to not block UI feedback
+ requestAnimationFrame(() => {
+ TelemetryHelpers.logError('Team switcher is currently disabled', {
+ component: 'MyWalmartTeamSwitcher',
+ user_action: 'team_switcher_click',
+ });
});
return;
}
@@ -614,15 +602,33 @@ const MyWalmartTeamSwitcherComponent: React.FC<TeamSwitcherProps> = ({
}
try {
- // Log team switcher opened event
- logTeamSwitcherOpened({
- source: 'team_switcher_button',
- isSiteDC: isSiteDC,
- });
-
+ // Open modal immediately for best UX
guardedOpenModal(() => {
NavigationModule.manager.openModal(MODALS.UPDATE as any);
});
+
+ // Defer all telemetry to not block modal opening
+ requestAnimationFrame(() => {
+ // Log team switcher interaction - ALWAYS enabled for monitoring
+ TelemetryHelpers.logTeamAction(teamState.selectedTeamData.teamId, {
+ team_name: teamState.selectedTeamData.teamLabel,
+ team_type: isSiteDC ? 'supply_chain' : 'store',
+ });
+
+ // Log the interaction
+ TelemetryHelpers.logUserInteraction({
+ element_type: 'team_switcher',
+ action: 'tap',
+ value: teamState.selectedTeamData.teamId,
+ element_id: 'team_switcher_button',
+ });
+
+ // Log team switcher opened event
+ logTeamSwitcherOpened({
+ source: 'team_switcher_button',
+ isSiteDC: isSiteDC,
+ });
+ });
} catch (error) {
console.warn('Error opening alert modal:', error);
| feat(ui): update performance | feat(ui): update performance
|
51e2451d4d084002eab57398fa149012d59eca8a | --- jest.config.js
@@ -11,10 +11,10 @@ module.exports = {
],
coverageThreshold: {
global: {
- statements: 1,
- branches: 1,
- functions: 1,
- lines: 1,
+ statements: 0,
+ branches: 0,
+ functions: 0,
+ lines: 0,
},
},
transformIgnorePatterns: [
| dropping coverage thresh | dropping coverage thresh
|
eeeabe7e60e2b0400e7e05d36a0c26880d353095 | --- targets/US/package.json
@@ -108,7 +108,7 @@
"@walmart/gta-react-native-calendars": "0.7.0",
"@walmart/gtp-shared-components": "2.2.5-rc.1",
"@walmart/ims-print-services-ui": "2.15.3",
- "@walmart/inbox-mini-app": "0.97.10",
+ "@walmart/inbox-mini-app": "0.97.11",
"@walmart/iteminfo-mini-app": "7.16.2",
"@walmart/learning-mini-app": "20.0.38",
"@walmart/manager-approvals-miniapp": "0.3.0",
| inbox version updated | inbox version updated
|
ca97d1eaa8fcfb865e81ec645dd97347d2d91f1c | --- package-lock.json
@@ -4331,9 +4331,9 @@
}
},
"@walmart/push-to-talk-mini-app": {
- "version": "0.5.71",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.71.tgz",
- "integrity": "sha512-YSycQhmBTCGy243rwHVJCyEq8Xqp8GEG+C22y7EECfmin07Jq7xUXGlR8qD4tav8cRLAhhF1mh+/L4HnLSo1Uw=="
+ "version": "0.5.72",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.72.tgz",
+ "integrity": "sha512-baMI88FH5WWxsU6Ml1mIvBsSezpUldsfVcraELzcIYIRd4lZQGqLqLXH6uUrHXla7pgFbicFi1pg7r6FNabkgg=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
--- package.json
@@ -88,7 +88,7 @@
"@walmart/manager-approvals-miniapp": "0.0.58",
"@walmart/metrics-mini-app": "0.4.14",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/push-to-talk-mini-app": "0.5.71",
+ "@walmart/push-to-talk-mini-app": "0.5.72",
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.28.0",
"@walmart/react-native-shared-navigation": "^0.4.0",
| bumping version | bumping version
|
5e0a4d970c58c67cf1637e9bdb396d349f608bd1 | --- package.json
@@ -90,7 +90,7 @@
"@walmart/exception-mini-app": "0.43.1",
"@walmart/facilities-management-miniapp": "0.3.26",
"@walmart/feedback-all-spark-miniapp": "0.9.0",
- "@walmart/financial-wellbeing-feature-app": "1.0.61",
+ "@walmart/financial-wellbeing-feature-app": "1.0.62",
"@walmart/functional-components": "2.0.6",
"@walmart/gta-react-native-calendars": "0.0.15",
"@walmart/gtp-shared-components": "1.8.17",
| bumped financial-wellbeing-feature-app to 1.0.62 | bumped financial-wellbeing-feature-app to 1.0.62
|
059976e7d36a2db98040000c5d60737b427f5d37 | --- android/app/src/main/res/raw/walmart_achievement_01.mp3
| Fixed the sound file locaiton for android | Fixed the sound file locaiton for android
|
bec1e185f582995e0634292b8831c4f13ae2725b | --- __tests__/navigation/AssociateHallwayNav/Tabs/__snapshots__/HomeStackNavTest.tsx.snap
@@ -149,6 +149,9 @@ exports[`HomeStackNav matches snapshot 1`] = `
<Screen
name="metrics.ftprItemScreen"
/>
+ <Screen
+ name="metrics.actualToDemandDrilldown"
+ />
</Navigator>
`;
@@ -318,6 +321,9 @@ exports[`HomeStackNav matches snapshot when user is not present 1`] = `
<Screen
name="metrics.ftprItemScreen"
/>
+ <Screen
+ name="metrics.actualToDemandDrilldown"
+ />
</Navigator>
`;
--- package-lock.json
@@ -58,7 +58,7 @@
"@walmart/iteminfo-mini-app": "7.3.4",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-field-mini-app": "12.0.25",
- "@walmart/metrics-mini-app": "0.12.10",
+ "@walmart/metrics-mini-app": "0.13.2",
"@walmart/mod-flex-mini-app": "1.9.4",
"@walmart/moment-walmart": "1.0.4",
"@walmart/onewalmart-miniapp": "1.0.14",
@@ -5493,7 +5493,9 @@
}
},
"node_modules/@walmart/metrics-mini-app": {
- "version": "0.12.10",
+ "version": "0.13.2",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.13.2.tgz",
+ "integrity": "sha512-qHnAVTgmP9FwkwZFz2iBhTKvRyHd6W8KVhWa6M84dwu+Opm3ysbhexPGgnwZGsL45iUsZUqOc0H88eSfpERAnA==",
"dependencies": {
"@types/base-64": "^1.0.0",
"apisauce": "1.1.2",
@@ -25242,7 +25244,9 @@
"integrity": "sha512-1mxrkjgtoltK8qzmoiVy9/rViZ/GoViHZG+1uYL1rV3o+ByksY7d8+foyY6BNzDfbg/6W2G24bdRMs7vpNf2qw=="
},
"@walmart/metrics-mini-app": {
- "version": "0.12.10",
+ "version": "0.13.2",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.13.2.tgz",
+ "integrity": "sha512-qHnAVTgmP9FwkwZFz2iBhTKvRyHd6W8KVhWa6M84dwu+Opm3ysbhexPGgnwZGsL45iUsZUqOc0H88eSfpERAnA==",
"requires": {
"@types/base-64": "^1.0.0",
"apisauce": "1.1.2",
--- package.json
@@ -100,7 +100,7 @@
"@walmart/iteminfo-mini-app": "7.3.4",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-field-mini-app": "12.0.25",
- "@walmart/metrics-mini-app": "0.12.10",
+ "@walmart/metrics-mini-app": "0.13.2",
"@walmart/mod-flex-mini-app": "1.9.4",
"@walmart/moment-walmart": "1.0.4",
"@walmart/onewalmart-miniapp": "1.0.14",
--- src/navigation/AssociateHallwayNav/Tabs/HomeStackNav.tsx
@@ -20,6 +20,7 @@ import {
FtprItemScreen,
SalesItemizedComparisonScreen,
SalesItemizedMarketScreen,
+ ActualToDemandItemizedScreen,
} from '@walmart/metrics-mini-app';
import {useTelemetry} from '@walmart/core-services/Telemetry';
import {useTranslation} from '@walmart/core-services/Translations';
@@ -221,6 +222,10 @@ export const HomeStackNav = () => {
component={FtprItemScreen}
name='metrics.ftprItemScreen'
/>
+ <HomeStack.Screen
+ component={ActualToDemandItemizedScreen}
+ name='metrics.actualToDemandDrilldown'
+ />
</HomeStack.Navigator>
);
};
| Bumping metrics mini app and adding Navigations for Drop 13 | Bumping metrics mini app and adding Navigations for Drop 13
|
a5d04082cb95567a59d461da23d17d54d56f35d7 | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 37
+ versionCode 38
versionName "1.0.2"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>37</string>
+ <string>38</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>37</string>
+ <string>38</string>
</dict>
</plist>
| Incrementing build number | Incrementing build number
|
1fccddd285f9efdd026db5900005734938d057e1 | --- __tests__/navigation/AssociateHallwayNav/MainStackNavTest.tsx
@@ -50,6 +50,7 @@ describe('AssociateHallwayNav', () => {
mockUseSelector.mockReturnValueOnce(30000); //inactivityTime
mockUseSelector.mockReturnValueOnce(60000); //backgroundIdleTime
mockUseSelector.mockReturnValueOnce(false); //siteIdPresent
+ mockUseSelector.mockReturnValueOnce(false); //pinFeatureEnabled
let component: ReactTestRenderer;
act(() => {
@@ -68,6 +69,7 @@ describe('AssociateHallwayNav', () => {
mockUseSelector.mockReturnValueOnce(undefined); //inactivityTime
mockUseSelector.mockReturnValueOnce(undefined); //backgroundIdleTime
mockUseSelector.mockReturnValueOnce(true); //siteIdPresent
+ mockUseSelector.mockReturnValueOnce(true); //pinFeatureEnabled
component.update(<MainStackNav />);
expect(component.toJSON()).toMatchSnapshot();
});
--- __tests__/sumo/SumoSagasTest.ts
@@ -1,13 +1,5 @@
import {Platform} from 'react-native';
-import {
- all,
- takeLatest,
- select,
- call,
- take,
- put,
- fork,
-} from 'redux-saga/effects';
+import {all, takeLatest, select, call, take, put} from 'redux-saga/effects';
import WmNotification, {
Domain,
SumoPushEventTypes,
@@ -169,11 +161,8 @@ describe('waitForSumoCharge', () => {
it('handles when not charged', () => {
const iterator = waitForSumoCharge();
expect(iterator.next().value).toEqual(select(getSumoCharged));
- expect(iterator.next(false).value).toEqual(fork(chargeSumo));
- expect(iterator.next().value).toEqual(
- take([SumoTypes.CHARGE_SUCCESS, SumoTypes.CHARGE_FAILURE]),
- );
- expect(iterator.next({type: SumoTypes.CHARGE_SUCCESS}).done).toEqual(true);
+ expect(iterator.next(false).value).toEqual(call(chargeSumo));
+ expect(iterator.next().done).toEqual(true);
});
});
--- src/navigation/AssociateHallwayNav/MainStackNav.tsx
@@ -30,6 +30,7 @@ import {useRbacConfig} from '@walmart/config-components';
import {
getInactivityTime,
getBackgroundIdleTime,
+ getPinFeatureEnabled,
} from '../../redux/SharedSelectors';
import {FeatureRestrictionsScreen} from '../../whatsNew/FeatureRestrictionsScreen';
import {WhatsNewModal} from '../../whatsNew/WhatsNewModal';
@@ -91,24 +92,25 @@ const WorkMiniAppScreens = WorkMiniApps.map((screen) => {
export const MainStackNav = () => {
const dispatch = useDispatch();
const [translate] = useTranslation();
- const onIdleTimeLapsed = (reason: string) => {
- dispatch(PinAccessActionCreators.promptForPasscode(reason));
- };
+ useRbacConfig();
const inactivityTime = useSelector(getInactivityTime);
const backgroundIdleTime = useSelector(getBackgroundIdleTime);
const siteIdPresent = useSelector(getUserSiteIdPresent);
+ const pinFeatureEnabled = useSelector(getPinFeatureEnabled);
useEffect(() => {
dispatch(StartupActionCreators.miniAppNavStackLoaded());
AskSamMiniApp.init();
}, [dispatch]);
- useRbacConfig();
+ const onIdleTimeLapsed = (reason: string) => {
+ dispatch(PinAccessActionCreators.promptForPasscode(reason));
+ };
return (
<ActivityMonitor
- enabled={siteIdPresent}
+ enabled={siteIdPresent && pinFeatureEnabled}
inactivityTime={inactivityTime || DEFAULT_INACTIVITY_TIME}
backgroundIdleTime={backgroundIdleTime || DEFAULT_BACKGROUND_IDLE_TIME}
onIdleTimeLapsed={onIdleTimeLapsed}>
--- src/sumo/SumoSagas.ts
@@ -1,15 +1,7 @@
/* eslint-disable curly */
import {Platform} from 'react-native';
import {AnyAction} from 'redux';
-import {
- all,
- takeLatest,
- select,
- call,
- take,
- put,
- fork,
-} from 'redux-saga/effects';
+import {all, takeLatest, select, call, take, put} from 'redux-saga/effects';
import {User} from '@walmart/redux-store';
import WmNotification, {
Domain,
@@ -104,8 +96,7 @@ export function* chargeSumo(): any {
export function* waitForSumoCharge(): any {
const sumoCharged: boolean = yield select(getSumoCharged);
if (!sumoCharged) {
- yield fork(chargeSumo);
- yield take([SumoTypes.CHARGE_SUCCESS, SumoTypes.CHARGE_FAILURE]);
+ yield call(chargeSumo);
}
}
| Removing uneeded fork from waitForChargeSumo saga. Disabling activity monitor on pin feature disabled | Removing uneeded fork from waitForChargeSumo saga. Disabling activity monitor on pin feature disabled
|
f94a4d2823fc4277becf482b55596db18797a2e9 | --- packages/allspark-foundation-hub/__tests__/HubFeature/HubWidget.test.tsx
@@ -1,11 +1,12 @@
import React from 'react';
import { Text } from 'react-native';
-import { render, fireEvent } from '@testing-library/react-native';
+import { fireEvent } from '@testing-library/react-native';
import { HubWidget } from '../../src/HubFeature/Hub/HubWidget/index';
import { Icons } from '@walmart/gtp-shared-components';
import { HubWidgetTypes } from '../../src/HubFeature/Hub/HubWidget/types';
import { LoggerService } from '@walmart/allspark-foundation/Logger';
import TelemetryService from '@walmart/allspark-foundation/Telemetry';
+import { render } from '../utils';
jest.mock('@walmart/allspark-foundation/Logger', () => ({
...jest.requireActual('@walmart/allspark-foundation/Logger'),
--- packages/allspark-foundation-hub/__tests__/HubFeature/TeamOnboarding/TeamOnboardingScreen.test.tsx
@@ -86,6 +86,7 @@ describe('TeamOnboarding Screen Component Tests', () => {
'onboarding_event',
{
message: 'Onboarding event started',
+ personaType: 'TA',
}
);
expect(AllsparkNavigationClient.navigate).toHaveBeenCalledWith(
--- packages/allspark-foundation-hub/__tests__/HubFeature/TeamOnboarding/TeamSelectionListItem.test.tsx
@@ -1,6 +1,6 @@
import React from 'react';
-import { render } from '@testing-library/react-native';
import { TeamSelectionListItem } from '../../../src/HubFeature/TeamSelection/Component/TeamSelectionListItem';
+import { render } from '../../utils';
describe('TeamSelectionListItem Component Tests', () => {
const defaultProps = {
| feat(ui): update telemetry params | feat(ui): update telemetry params
|
0d5d9984e67c86936547f69ee474fb12e58fd70f | --- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.0.1-beta.14",
+ "version": "1.0.1-beta.15",
"description": "",
"main": "Core/index.js",
"types": "Core/index.d.ts",
| Update the foundation changes | Update the foundation changes
|
9d1c3c896059d12b4651c8211d8728297a085ed6 | --- .looper.multibranch.yml
@@ -31,8 +31,11 @@ branches:
- spec: feature/drop23
triggers:
- manual:
- name: Publish Changed Packages
- call: publishFromChanges
+ name: Publish Packages (Pre-Release)
+ call: publishPrerelease
+ - manual:
+ name: Publish Packages (Graduate)
+ call: publishGraduate
- manual:
name: Build Both Dev
call: dev(test)
@@ -87,10 +90,18 @@ flows:
else:
- call: incremental-build-number
- publishFromChanges:
+ # Do this if published from drop branch (manual publish)
+ publishPrerelease:
+ - call: preparePackages
+ - (name Publish From Changes) HUSKY_SKIP_HOOKS=1 npx lerna publish --yes --conventional-prerelease
+
+ # Do this if published from dev branch (automatic on merge)
+ publishGraduate:
- call: preparePackages
- - (name Publish From Changes) HUSKY_SKIP_HOOKS=1 npx lerna publish --yes
+ - (name Publish From Changes) HUSKY_SKIP_HOOKS=1 npx lerna publish --yes --conventional-graduate
mini-pr:
- (name Branch Check, silent) echo "TBD"
- call: build-npm
+ # Seems to be removed with RN 73, overriding mini-pr flow to exclude it
+ # - (name Build JS Bundle) ./node_modules/.bin/react-native bundle --entry-file ./index.js --bundle-output ./bundle.js --reset-cache
--- core/__tests__/startup/AppFlowTest.ts
@@ -134,12 +134,11 @@ describe('appFlow', () => {
expect(iterator.next(pinPromptTask).value).toEqual(
take(MeAtWalmartAuthActions.SIGN_OUT_REQUEST),
);
-
- expect(iterator.next().value).toEqual(take(SIGN_IN_PAGE_LOADED.type));
- expect(resetTo).toHaveBeenCalledWith('Core.Login');
expect(iterator.next().value).toEqual(cancel(startupTask));
expect(iterator.next().value).toEqual(cancel(pinPromptTask));
expect(iterator.next().value).toEqual(cancel(captureEventTask));
+ expect(iterator.next().value).toEqual(take(SIGN_IN_PAGE_LOADED.type));
+ expect(resetTo).toHaveBeenCalledWith('Core.Login');
expect(iterator.next().value).toEqual(fork(captureMissedMiniAppEvents));
expect(AuthService.signOut).toBeCalled();
});
@@ -158,12 +157,16 @@ describe('appFlow', () => {
expect(iterator.next(pinPromptTask).value).toEqual(
take(MeAtWalmartAuthActions.SIGN_OUT_REQUEST),
);
- expect(iterator.next(signOutData).value).toEqual(
- take(SIGN_IN_PAGE_LOADED.type),
- );
+ expect(iterator.next(signOutData).value).toEqual(cancel(startupTask));
+ expect(iterator.next().value).toEqual(cancel(pinPromptTask));
+ expect(iterator.next().value).toEqual(cancel(captureEventTask));
+ expect(iterator.next().value).toEqual(take(SIGN_IN_PAGE_LOADED.type));
expect(resetTo).toHaveBeenCalledWith('Core.Login');
expect(iterator.next().value).toEqual(
- take(SIGN_OUT_REQUEST_ACKNOWLEDGED.type),
+ take([
+ SIGN_OUT_REQUEST_ACKNOWLEDGED.type,
+ MeAtWalmartAuthActions.SIGN_OUT_REQUEST,
+ ]),
);
expect(AllsparkNavigationClient.openModal).toHaveBeenCalledWith(
'Core.ConfirmSignoutPrompt',
@@ -171,9 +174,6 @@ describe('appFlow', () => {
reason: signOutData.payload,
},
);
- expect(iterator.next().value).toEqual(cancel(startupTask));
- expect(iterator.next().value).toEqual(cancel(pinPromptTask));
- expect(iterator.next().value).toEqual(cancel(captureEventTask));
expect(iterator.next().value).toEqual(fork(captureMissedMiniAppEvents));
expect(AuthService.signOut).toBeCalled();
});
--- packages/me-at-walmart-common/graphql.yml
@@ -1,74 +0,0 @@
-schemaVersion: '1.0.0'
-teamRostersProductId: 2071
-notify:
- slack:
- channelName: 'ask-sam-automaton-test'
-applications:
- - name: 'allspark-core'
- applicationKey: 'ALLSPARK_APP'
- description: 'Core application for Me@Walmart'
- environments:
- - name: 'stg'
- persistedQueries:
- - name: 'getAssociateById'
- hash: '598954e5a3eb1a1c6d11916aaf87bc407d0d06cc84865678afb1b174f527fcff'
- queryTemplate: './src/queries/getAssociateById.graphql'
- tags:
- - 'v1'
- - name: 'getDailyRosterHome'
- hash: '3c492831585580bae535c3386ec48e90c2d1895450016f050653bd51ddf86c21'
- queryTemplate: './src/queries/getDailyRosterHome.graphql'
- tags:
- - 'v1'
- - name: 'getLoggedInUser'
- hash: '0beb54411dbf4e0c72d8d94982d755e0559023bc5e2c174e356b42f1e07b22fd'
- queryTemplate: './src/queries/getLoggedInUser.graphql'
- tags:
- - 'v1'
- - name: 'getLoggedInUserFallback'
- hash: '05f728f0a3bdbd2b3777b29be65834c4abfb3d4fc858db0cd77febc2a396a7d4'
- queryTemplate: './src/queries/getLoggedInUserFallback.graphql'
- tags:
- - 'v1'
- - name: 'getTeamByIdHome'
- hash: '6b4b876250309d85dd51831ace4595bd1764b3d41ef7fd65c08df03b4c4982e0'
- queryTemplate: './src/queries/getTeamByIdHome.graphql'
- tags:
- - 'v1'
- - name: 'upsertAssociatePreference'
- hash: '972c522c6ad0675f13587637cff2dd2ed46937a9878a48a66ad2bc2f7d51a036'
- queryTemplate: './src/queries/updateAssociatePrivacyPreference.graphql'
- tags:
- - 'v1'
- - name: 'prod'
- persistedQueries:
- - name: 'getAssociateById'
- hash: '598954e5a3eb1a1c6d11916aaf87bc407d0d06cc84865678afb1b174f527fcff'
- queryTemplate: './src/queries/getAssociateById.graphql'
- tags:
- - 'v1'
- - name: 'getDailyRosterHome'
- hash: '3c492831585580bae535c3386ec48e90c2d1895450016f050653bd51ddf86c21'
- queryTemplate: './src/queries/getDailyRosterHome.graphql'
- tags:
- - 'v1'
- - name: 'getLoggedInUser'
- hash: '0beb54411dbf4e0c72d8d94982d755e0559023bc5e2c174e356b42f1e07b22fd'
- queryTemplate: './src/queries/getLoggedInUser.graphql'
- tags:
- - 'v1'
- - name: 'getLoggedInUserFallback'
- hash: '05f728f0a3bdbd2b3777b29be65834c4abfb3d4fc858db0cd77febc2a396a7d4'
- queryTemplate: './src/queries/getLoggedInUserFallback.graphql'
- tags:
- - 'v1'
- - name: 'getTeamByIdHome'
- hash: '6b4b876250309d85dd51831ace4595bd1764b3d41ef7fd65c08df03b4c4982e0'
- queryTemplate: './src/queries/getTeamByIdHome.graphql'
- tags:
- - 'v1'
- - name: 'upsertAssociatePreference'
- hash: '972c522c6ad0675f13587637cff2dd2ed46937a9878a48a66ad2bc2f7d51a036'
- queryTemplate: './src/queries/updateAssociatePrivacyPreference.graphql'
- tags:
- - 'v1'
| chore: test fixes. remove unused file. add prerelase script to looper | chore: test fixes. remove unused file. add prerelase script to looper
|
969561e903cb4a1a8eab531963dac2a286e2fbc1 | --- graphql.yml
@@ -57,7 +57,7 @@ applications:
tags:
- 'v1'
- name: 'upsertSupplyChainAssociatePreference'
- hash: '39c45936c3b4d0020c6192b629c29860a30a5f2f70c5297c9e34dcffbaa0c7b0'
+ hash: '571873ffcf9d8923e4951fa75addb46f876c949046518f0c302707deadab878a'
queryTemplate: 'packages/me-at-walmart-athena-queries/src/upsertSupplyChainAssociatePreference.graphql'
tags:
- 'v1'
| Update graphql.yml | Update graphql.yml
|
b9ad759d060d3eefdb332636a93704fc054a0188 | --- 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.33.8",
+ "@walmart/copilot-mini-app": "^3.37.3",
"@walmart/core-services": "~2.3.0",
"@walmart/core-services-allspark": "~2.13.4",
"@walmart/core-utils": "~2.0.5",
@@ -8592,9 +8592,9 @@
}
},
"node_modules/@walmart/copilot-mini-app": {
- "version": "3.33.8",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.33.8.tgz",
- "integrity": "sha512-HpJuG5cE7YRvklUtN/818xOTzXkHV3A+L6ZM7sD/zbX0a4cLIXwPvRPellZKd9x/3FdMQ/opYZT39NnSK3R63g==",
+ "version": "3.37.3",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.37.3.tgz",
+ "integrity": "sha512-2Ibe4X+BbLLcgcJ87BENctAuSzj5MOSdInSzh8hpxSdXV8q9emWK1qTsNKnpxjMfUR45qcjm3GaUVeaqvJeq6Q==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -33223,9 +33223,9 @@
}
},
"@walmart/copilot-mini-app": {
- "version": "3.33.8",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.33.8.tgz",
- "integrity": "sha512-HpJuG5cE7YRvklUtN/818xOTzXkHV3A+L6ZM7sD/zbX0a4cLIXwPvRPellZKd9x/3FdMQ/opYZT39NnSK3R63g=="
+ "version": "3.37.3",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.37.3.tgz",
+ "integrity": "sha512-2Ibe4X+BbLLcgcJ87BENctAuSzj5MOSdInSzh8hpxSdXV8q9emWK1qTsNKnpxjMfUR45qcjm3GaUVeaqvJeq6Q=="
},
"@walmart/core-services": {
"version": "2.3.2",
| chore: bump copilot@3.37.3 | chore: bump copilot@3.37.3
|
d75cf8daccbfc2133dc7ceba43b723e0370567ad | --- packages/core-services-allspark/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.10.10](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@2.10.9...@walmart/core-services-allspark@2.10.10) (2023-05-01)
+
+
+### Bug Fixes
+
+* remove learning specific cache policy ([5dc276d](https://gecgithub01.walmart.com/allspark/allspark-core-services/commit/5dc276db534941707d397e73e26eda12918a9f25))
+
+
+
+
+
## [2.10.9](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@2.10.8...@walmart/core-services-allspark@2.10.9) (2023-04-25)
**Note:** Version bump only for package @walmart/core-services-allspark
--- packages/core-services-allspark/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "2.10.9",
+ "version": "2.10.10",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- packages/core-services-allspark/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "2.10.9",
+ "version": "2.10.10",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
- @walmart/core-services-allspark@2.10.10
|
ee9bddfbc5288de3be5fa72a9ab3539e71982fad | --- android/app/build.gradle
@@ -158,8 +158,8 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 907
- versionName "1.10.0"
+ versionCode 908
+ versionName "1.10.1"
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
if (isNewArchitectureEnabled()) {
// We configure the CMake build only if you decide to opt-in for the New Architecture.
--- ios/AllSpark/Info.plist
@@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.10.0</string>
+ <string>1.10.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -36,7 +36,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>907</string>
+ <string>908</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
--- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "allspark-main",
- "version": "1.10.0",
+ "version": "1.10.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "allspark-main",
- "version": "1.10.0",
+ "version": "1.10.1",
"hasInstallScript": true,
"dependencies": {
"@react-native-community/art": "^1.2.0",
--- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.10.0",
+ "version": "1.10.1",
"private": true,
"scripts": {
"android": "react-native run-android",
| version bump to 1.10.1 | version bump to 1.10.1
|
6b809de11652324785e1345dde72726ecd98c664 | --- packages/allspark-foundation-hub/src/HubFeature/Store/Hub/Container/HubDashboard.tsx
@@ -170,7 +170,7 @@ export const HubDashboard = ({
});
setAllowedWidgetsList(allowedWidgets);
// eslint-disable-next-line react-hooks/exhaustive-deps
- }, []);
+ }, [teamState]);
/** Bottom sheet update */
const navigation = useNavigation();
| Update the hub dashboard for changes | Update the hub dashboard for changes
|
1b0c7415e4ea1546abbee150cef6fd55f74d1367 | --- package.json
@@ -90,7 +90,7 @@
"@walmart/react-native-logger": "1.35.0",
"@walmart/react-native-scanner-3.0": "0.10.4",
"@walmart/react-native-sumo-sdk": "2.8.0",
- "@walmart/roster-mini-app": "3.9.0",
+ "@walmart/roster-mini-app": "3.10.0",
"@walmart/ui-components": "1.15.1",
"@walmart/wmconnect-mini-app": "3.8.0",
"babel-jest": "^29.6.3",
| feat(ui): update roster version | feat(ui): update roster version
|
62289e1e811756f5b0f555f48b0be4ae37afee0e | --- android/app/build.gradle
@@ -134,8 +134,8 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 140
- versionName "1.0.14"
+ versionCode 141
+ versionName "1.0.15"
}
splits {
abi {
--- ios/AllSpark/Info.plist
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.0.14</string>
+ <string>1.0.15</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>140</string>
+ <string>141</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
--- package-lock.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.0.14",
+ "version": "1.0.15",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.0.14",
+ "version": "1.0.15",
"private": true,
"scripts": {
"firebase:dev": "cp ./ios/GoogleService-Info-Dev.plist ./ios/GoogleService-Info.plist && cp ./android/app/google-services-dev.json ./android/app/google-services.json",
| version bump for Drop-1, hotfix 2 (#515) | version bump for Drop-1, hotfix 2 (#515)
Co-authored-by: Hitesh Arora <> |
14ce4664be8640257b300a44f23b283690cbd082 | --- core/src/navigation/USHallway/AssociateHallwayNav/Tabs/MeStackNav.tsx
@@ -18,9 +18,6 @@ const ProtectedMeMiniApp = withScreenGuards(withSensitiveView(MeMiniApp), {
clockCheckEnabled: false,
});
-export const renderHeaderRight = () => () =>
- <HomeHeaderRightContainer.Component id='inbox' />;
-
// --- Me Stack Navigator --- //
// TODO: Determine why this stack is needed? Can we just use the MeMiniApp directly in the tab navigator?
const MeStack = createStackNavigator<MeStackMap>();
@@ -33,7 +30,7 @@ export const MeStackNav = () => {
screenOptions={{
headerShown: true,
header: Header,
- headerRight: renderHeaderRight,
+ headerRight: () => <HomeHeaderRightContainer.Component id='inbox' />,
}}>
<MeStack.Screen
name='me.root'
| Merge changes | Merge changes
|
00545348685478f3fad35b1e07e2d5a247e25d6a | --- package-lock.json
@@ -62,8 +62,8 @@
"@walmart/mod-flex-mini-app": "1.3.15",
"@walmart/moment-walmart": "1.0.4",
"@walmart/OneWalmart-MiniApp": "1.0.12",
- "@walmart/pay-stub-miniapp": "^0.9.17",
- "@walmart/payrollsolution_miniapp": "^0.130.18",
+ "@walmart/pay-stub-miniapp": "^0.9.20",
+ "@walmart/payrollsolution_miniapp": "^0.130.23",
"@walmart/price-changes-mini-app": "1.6.10",
"@walmart/profile-feature-app": "0.76.0",
"@walmart/push-to-talk-mini-app": "1.8.59",
@@ -5637,17 +5637,17 @@
}
},
"node_modules/@walmart/pay-stub-miniapp": {
- "version": "0.9.17",
- "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.9.17.tgz",
- "integrity": "sha512-TfvaEeMl5r5aDhuajUvKmw/HPRtAV44h4OzuuwUXiG1258Dltcka/oK1ViU2yOL2gMNr6P29ta/NR/RSX9PJNQ==",
+ "version": "0.9.20",
+ "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.9.20.tgz",
+ "integrity": "sha512-B7OtOFm2JJQqNHKaezOzDfKLpygifX/ffjeW+lt18t61PUyB2vHUYP2oG/QlYg4o+kPgQIo7q3zZ1cdlAmPK3A==",
"dependencies": {
"crypto-js": "^3.3.0"
}
},
"node_modules/@walmart/payrollsolution_miniapp": {
- "version": "0.130.18",
- "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.130.18.tgz",
- "integrity": "sha512-ieBFAMPRey9D/AgWOhIIMsAtpLAMWSmXytAkmS497iMHESXuGAJ5YnzLp22coRG+Xmit9dU6CnBGIicfqrDF/Q==",
+ "version": "0.130.23",
+ "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.130.23.tgz",
+ "integrity": "sha512-B0JIAHoIqinMORM8gU6hpRhSGzkSLuxUuoU3AVMOyKcVbS1vDWrOO8beAz65xy090QJ4wvu5okpmBn5I82aYwA==",
"dependencies": {
"crypto-js": "^3.3.0"
},
@@ -25344,17 +25344,17 @@
}
},
"@walmart/pay-stub-miniapp": {
- "version": "0.9.17",
- "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.9.17.tgz",
- "integrity": "sha512-TfvaEeMl5r5aDhuajUvKmw/HPRtAV44h4OzuuwUXiG1258Dltcka/oK1ViU2yOL2gMNr6P29ta/NR/RSX9PJNQ==",
+ "version": "0.9.20",
+ "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.9.20.tgz",
+ "integrity": "sha512-B7OtOFm2JJQqNHKaezOzDfKLpygifX/ffjeW+lt18t61PUyB2vHUYP2oG/QlYg4o+kPgQIo7q3zZ1cdlAmPK3A==",
"requires": {
"crypto-js": "^3.3.0"
}
},
"@walmart/payrollsolution_miniapp": {
- "version": "0.130.18",
- "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.130.18.tgz",
- "integrity": "sha512-ieBFAMPRey9D/AgWOhIIMsAtpLAMWSmXytAkmS497iMHESXuGAJ5YnzLp22coRG+Xmit9dU6CnBGIicfqrDF/Q==",
+ "version": "0.130.23",
+ "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.130.23.tgz",
+ "integrity": "sha512-B0JIAHoIqinMORM8gU6hpRhSGzkSLuxUuoU3AVMOyKcVbS1vDWrOO8beAz65xy090QJ4wvu5okpmBn5I82aYwA==",
"requires": {
"crypto-js": "^3.3.0"
}
--- package.json
@@ -73,7 +73,6 @@
"@react-navigation/stack": "^6.1.0",
"@sharcoux/slider": "^6.1.1",
"@terrylinla/react-native-sketch-canvas": "0.8.0",
- "@walmart/OneWalmart-MiniApp": "1.0.12",
"@walmart/allspark-graphql-client": "^0.1.0",
"@walmart/allspark-home-mini-app": "0.6.14",
"@walmart/allspark-neon-core": "0.1.31",
@@ -104,8 +103,9 @@
"@walmart/metrics-mini-app": "0.9.36",
"@walmart/mod-flex-mini-app": "1.3.15",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/pay-stub-miniapp": "0.9.17",
- "@walmart/payrollsolution_miniapp": "0.130.18",
+ "@walmart/OneWalmart-MiniApp": "1.0.12",
+ "@walmart/pay-stub-miniapp": "0.9.20",
+ "@walmart/payrollsolution_miniapp": "0.130.23",
"@walmart/price-changes-mini-app": "1.6.10",
"@walmart/profile-feature-app": "0.76.0",
"@walmart/push-to-talk-mini-app": "1.8.59",
| bump version | bump version
|
dced298c6cd8474f3882904a1d9fba5cfce489f4 | --- sr.yaml
@@ -9,15 +9,15 @@ applications:
teamRostersProductId: 2071
organization: StoreSystems
members:
- - homeoffice\\a0f00ev
- - homeoffice\\c0m05md
- - homeoffice\\e0r020j
- - homeoffice\\h0a006n
- - homeoffice\\h0l03uu
- - homeoffice\\rlane1
- - homeoffice\\sakbari
- - homeoffice\\a0s11tw
- - homeoffice\\p0l04ug
+ - homeoffice\a0f00ev
+ - homeoffice\c0m05md
+ - homeoffice\e0r020j
+ - homeoffice\h0a006n
+ - homeoffice\h0l03uu
+ - homeoffice\rlane1
+ - homeoffice\sakbari
+ - homeoffice\a0s11tw
+ - homeoffice\p0l04ug
companyCatalog: true
businessCriticality: MAJOR
environments:
| fix(sr.yaml): fix format | fix(sr.yaml): fix format
|
761fd39deaadb33998a04981dca86c36fcf83262 | --- __tests__/navigation/USHallway/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap
@@ -46,6 +46,23 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
}
}
/>
+ <Screen
+ component={[Function]}
+ name="taskit"
+ options={
+ {
+ "cardOverlayEnabled": true,
+ "cardStyle": {
+ "backgroundColor": "rgba(0, 0, 0, 0)",
+ },
+ "cardStyleInterpolator": [Function],
+ "gestureDirection": "vertical",
+ "gestureEnabled": false,
+ "headerShown": false,
+ "presentation": "transparentModal",
+ }
+ }
+ />
<Screen
component={[Function]}
name="myTeam"
@@ -468,6 +485,23 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
}
}
/>
+ <Screen
+ component={[Function]}
+ name="taskit"
+ options={
+ {
+ "cardOverlayEnabled": true,
+ "cardStyle": {
+ "backgroundColor": "rgba(0, 0, 0, 0)",
+ },
+ "cardStyleInterpolator": [Function],
+ "gestureDirection": "vertical",
+ "gestureEnabled": false,
+ "headerShown": false,
+ "presentation": "transparentModal",
+ }
+ }
+ />
<Screen
component={[Function]}
name="myTeam"
--- package.json
@@ -161,7 +161,7 @@
"@walmart/sidekick-mini-app": "4.231.0",
"@walmart/store-feature-orders": "1.34.7",
"@walmart/talent-preboarding-mini-app": "1.0.48",
- "@walmart/taskit-mini-app": "5.42.0",
+ "@walmart/taskit-mini-app": "5.42.31",
"@walmart/time-clock-mini-app": "3.19.6",
"@walmart/time-clock-mini-app-next": "3.0.0",
"@walmart/topstock-mini-app": "1.27.1",
--- src/navigation/USHallway/AssociateHallwayNav/MainStackNav.tsx
@@ -45,7 +45,7 @@ import ReceivingRootApp from '@walmart/rn-receiving-mini-app';
import ShelfAvailabilityFeature from '@walmart/shelfavailability-mini-app';
import GNFRApp from '@walmart/shop-gnfr-mini-app';
import StoreFeatureOrder from '@walmart/store-feature-orders';
-import {TaskItQuickActions, AlarmDetailNav} from '@walmart/taskit-mini-app';
+import {TaskItQuickActions, AlarmDetailNav, TaskItMiniApp} from '@walmart/taskit-mini-app';
import TopstockFeature from '@walmart/topstock-mini-app';
import {WmPlusMiniApp} from '@walmart/wm-plus-mini-app';
import TranslatorFeature from '@walmart/translator-mini-app';
@@ -102,6 +102,18 @@ const MiniAppScreens = createMiniAppScreens(MainStack, [
},
clockCheckEnabled: true,
},
+ {
+ featureId: MINI_APPS.TASKIT,
+ name: 'taskit',
+ component: TaskItMiniApp,
+ options: {
+ gestureDirection: 'vertical',
+ gestureEnabled: false,
+ presentation: 'transparentModal',
+ ...ModalTransitionOptions,
+ },
+ clockCheckEnabled: true,
+ },
// TODO: Help texting make changes so this can be removed.
{
featureId: MINI_APPS.MYTEAM,
--- yarn.lock
@@ -8402,7 +8402,7 @@ __metadata:
"@walmart/sidekick-mini-app": "npm:4.231.0"
"@walmart/store-feature-orders": "npm:1.34.7"
"@walmart/talent-preboarding-mini-app": "npm:1.0.48"
- "@walmart/taskit-mini-app": "npm:5.42.0"
+ "@walmart/taskit-mini-app": "npm:5.42.31"
"@walmart/time-clock-mini-app": "npm:3.19.6"
"@walmart/time-clock-mini-app-next": "npm:3.0.0"
"@walmart/topstock-mini-app": "npm:1.27.1"
@@ -9306,12 +9306,12 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/taskit-mini-app@npm:5.42.0":
- version: 5.42.0
- resolution: "@walmart/taskit-mini-app@npm:5.42.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftaskit-mini-app%2F-%2F%40walmart%2Ftaskit-mini-app-5.42.0.tgz"
+"@walmart/taskit-mini-app@npm:5.42.31":
+ version: 5.42.31
+ resolution: "@walmart/taskit-mini-app@npm:5.42.31"
peerDependencies:
"@walmart/allspark-foundation": "*"
- checksum: 10c0/24afda1fb8b894c988b122f53654327c5910d1f5c5bb2672bb739d8c867c483a0ff2356129cf48f6f385f84b22b4ad45696b124857d0a15d804e96b6177844c6
+ checksum: 10c0/e9f0acdd5f4c8193ab72e689fb1ca15c856d64fc7d6e435b9b327cf0b54e55fe4f0bf155545136d6f4b3391cc9316837a62841090d9b74d4d1fb0d260a4c31c5
languageName: node
linkType: hard
| feat(notes): safety agent TASKIT-7014 (#4853) | feat(notes): safety agent TASKIT-7014 (#4853)
|
41f4572f6b014571e4a3ffc9145c579420cab555 | --- example/src/core/index.tsx
@@ -79,7 +79,7 @@ const Tab2Nav = () => {
);
};
-const Tab3Stack = AllsparkNavigationClient.createAllsparkStackNavigator();
+const Tab3Stack = createStackNavigator();
const Tab3Nav = () => {
return (
| Update navigation | Update navigation
|
61f86813b17f26ea6db75734b0c33fc156ef0459 | --- core/src/navigation/constants.tsx
@@ -1,4 +1,3 @@
-import React from 'react';
import {Animated, StatusBar} from 'react-native';
import {StackCardInterpolationProps} from '@react-navigation/stack';
import SplashScreen from 'react-native-splash-screen';
@@ -10,7 +9,6 @@ import {
import {AllsparkReduxStore} from '@walmart/allspark-foundation/Redux';
import {ScreenChangePayload} from '@walmart/allspark-foundation/Navigation/types';
-import {CloseIcon} from '@walmart/gtp-shared-components';
import {NAVIGATE_HOME} from '@walmart/me-at-walmart-common';
export {ModalCardStyleInterpolator};
--- targets/US/src/features/root/sideKey/SideButtonSagas.ts
@@ -25,8 +25,9 @@ export function* handleSideButtonSetting() {
const deviceName: string = yield call(DeviceInfo.getDeviceName);
const isAndroid = Platform.OS === 'android';
const isXcover = deviceName.toLowerCase().indexOf('xcover') >= 0;
- const settingsConfig: FeatureConfig | undefined =
- yield select(getSettingsAppConfig);
+ const settingsConfig: FeatureConfig | undefined = yield select(
+ getSettingsAppConfig,
+ );
const isEnabled = settingsConfig?.enableSideKey ?? true;
if (isAndroid && isXcover && isEnabled) {
| chore: lint fix | chore: lint fix
|
4052369ad5273ad4c013eb9002867c9e40f6606c | --- package-lock.json
@@ -4821,9 +4821,9 @@
"integrity": "sha512-uIUj9pncr+UHyTCegApYq91eQCcTGeLu1ejINUZAij0N8IHtnZwPgudV2gLTpdi8a7uxuW1SGQARGV96XC8/+w=="
},
"@walmart/push-to-talk-mini-app": {
- "version": "1.7.15",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-1.7.15.tgz",
- "integrity": "sha512-sp5AI9Np2UnqmLCbM83qC9IMe+FnFMIdN4TxBT1miLm6jAspqa5MiMi/Lvrz5lXN7J26a2ivgtEb6IlTb/kizg=="
+ "version": "1.7.14",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-1.7.14.tgz",
+ "integrity": "sha512-wN7w28oEIY0i9UltNO/Ez3VENe71mnHyfUFyY4MDHu3vVFOUF9ShO3Qj6ztEtvvpCFTTWp5UWahELXJsCwpyLw=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
--- package.json
@@ -94,7 +94,7 @@
"@walmart/payrollsolution_miniapp": "^0.123.2",
"@walmart/price-changes-mini-app": "1.2.3",
"@walmart/profile-feature-app": "0.0.34",
- "@walmart/push-to-talk-mini-app": "1.7.15",
+ "@walmart/push-to-talk-mini-app": "1.7.14",
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.29.0",
"@walmart/react-native-shared-navigation": "1.0.2",
| reverting last PTT PR due to performance issues | reverting last PTT PR due to performance issues
|
44ff1a688fc527315b89fd3847a693fe56340211 | --- core/__tests__/__mocks__/@walmart/global-vpi-mini-app.js
@@ -1,3 +1,3 @@
-jest.mock('@walmart/global-vpi-mini-app', () => ({
+module.exports = {
GlobalVPIMiniApp: 'GlobalVPIMiniApp',
-}));
+};
| test: updated global vpi mock to resemble other files in folder | test: updated global vpi mock to resemble other files in folder
|
a87a9e9edd880f78f1907624d46788f492946d59 | --- packages/associate-exp-hub-hub/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.8.1](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-hub@2.8.0...@walmart/associate-exp-hub-hub@2.8.1) (2025-11-07)
+
+**Note:** Version bump only for package @walmart/associate-exp-hub-hub
+
# [2.8.0](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-hub@2.7.0...@walmart/associate-exp-hub-hub@2.8.0) (2025-11-06)
### Features
--- packages/associate-exp-hub-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-hub",
- "version": "2.8.0",
+ "version": "2.8.1",
"description": "Hub Framework module for Associate Experience Hub - can be moved to @walmart/my-walmart-hub",
"packageManager": "yarn@4.6.0",
"engines": {
--- packages/associate-exp-hub-mini-app/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.4.0-alpha.34](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.4.0-alpha.33...@walmart/associate-exp-hub-mini-app@1.4.0-alpha.34) (2025-11-07)
+
+### Features
+
+- **ui:** update graphql query ([5fc0e96](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/5fc0e96e35869bda96c12862b93db01a446cb7fe))
+
# [1.4.0-alpha.33](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.4.0-alpha.32...@walmart/associate-exp-hub-mini-app@1.4.0-alpha.33) (2025-11-06)
**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.4.0-alpha.33",
+ "version": "1.4.0-alpha.34",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/associate-exp-hub-team-switcher/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [2.8.0](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.7.0...@walmart/associate-exp-hub-team-switcher@2.8.0) (2025-11-07)
+
+### Features
+
+- **ui:** update graphql query ([5fc0e96](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/commit/5fc0e96e35869bda96c12862b93db01a446cb7fe))
+
# [2.7.0](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.6.1...@walmart/associate-exp-hub-team-switcher@2.7.0) (2025-11-06)
**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.7.0",
+ "version": "2.8.0",
"description": "Team Switcher module for Associate Experience Hub",
"packageManager": "yarn@4.6.0",
"engines": {
| chore(version): updating package version | chore(version): updating package version
- @walmart/associate-exp-hub-hub@2.8.1
- @walmart/associate-exp-hub-mini-app@1.4.0-alpha.34
- @walmart/associate-exp-hub-team-switcher@2.8.0
|
f36f2add54942ae1ebeec2513f03fa05d0f9e796 | --- package-lock.json
@@ -37018,7 +37018,7 @@
"version": "2.1.6",
"dev": true,
"requires": {
- "axios": "^0.21.4"
+ "axios": "~1.2.6"
}
},
"chalk": {
| updated package to restore axios version | updated package to restore axios version
|
88e901d51c1bcd3da0838524b8e0132658289701 | --- src/auth/LoginErrorScreen/index.tsx
@@ -117,11 +117,11 @@ export const ErrorScreen = (
const customErrorCode = params?.authError?.code;
const [isNetworkError, isTimeMismatchError, isBrowserNotFoundError] =
useMemo(() => {
- const networkError = networkErrors.some((term) =>
- customError?.toLowerCase()?.includes(term),
+ const networkError = networkErrors.some(
+ (term) => customError?.toLowerCase()?.includes(term),
);
- const timeMismatch = timeMismatchErrors.some((term) =>
- customError?.toLowerCase()?.includes(term),
+ const timeMismatch = timeMismatchErrors.some(
+ (term) => customError?.toLowerCase()?.includes(term),
);
const noBrowserFound = noBrowserAndroidErrors === customErrorCode;
return [networkError, timeMismatch, noBrowserFound];
--- src/hooks/useCanImpersonate.ts
@@ -11,8 +11,9 @@ export const useCanImpersonate = () => {
const user: User | null = useSelector(UserSelectors.getOriginalUser);
const impersonatorGroups: string[] = useSelector(getImpersonatorGroups);
- return impersonatorGroups.some((group: string) =>
- // @ts-ignore
- user?.memberOf?.includes(group),
+ return impersonatorGroups.some(
+ (group: string) =>
+ // @ts-ignore
+ user?.memberOf?.includes(group),
);
};
--- src/startup/AuthFlow.ts
@@ -18,8 +18,8 @@ const SILENT_SSO_ERRORS = [
];
export const isSilentSignInError = (error?: Error) =>
- SILENT_SSO_ERRORS.some((silentError) =>
- `${error}`?.toLowerCase().includes(silentError),
+ SILENT_SSO_ERRORS.some(
+ (silentError) => `${error}`?.toLowerCase().includes(silentError),
);
export function* authFlow() {
| Merge changes | Merge changes
|
05ba8ece405ceecedeae8d15a265a5ba24decb99 | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 61
+ versionCode 62
versionName "1.0.4"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>61</string>
+ <string>62</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>61</string>
+ <string>62</string>
</dict>
</plist>
| Incrementing build number | Incrementing build number
|
dee5b73eeae713c534249b282191eb9ac5b354a7 | --- packages/allspark-foundation/__mocks__/@react-navigation/native.js
@@ -10,5 +10,6 @@ module.exports = {
useNavigation: jest.fn(() => navigation),
useIsFocused: jest.fn(),
useFocusEffect: jest.fn((f) => f()),
- ParamListBase: jest.fn()
+ ParamListBase: jest.fn(),
+ NavigationContainer: ({ children }: { children: React.ReactNode }) => children,
};
--- packages/allspark-foundation/__mocks__/@react-navigation/slack.js
@@ -0,0 +1,7 @@
+
+ module.exports = {
+ ...jest.requireActual('@react-navigation/slack'),
+ createStackNavigator: jest.fn(),
+ Header: jest.fn(() => null),
+ };
+
\ No newline at end of file
--- packages/allspark-foundation/__mocks__/react-native-gesture-handler.js
@@ -0,0 +1,5 @@
+module.exports = {
+ GestureHandlerRootView: ({ children }: { children: React.ReactNode }) => children,
+ PanGestureHandler: jest.fn(),
+ };
+
\ No newline at end of file
--- packages/allspark-foundation/__mocks__/react-native-safe-area-context.js
@@ -1,5 +1,6 @@
module.exports = {
SafeAreaView: 'SafeAreaView',
- SafeAreaProvider: 'SafeAreaProvider',
+ // SafeAreaProvider: 'SafeAreaProvider',
useSafeAreaInsets: jest.fn(() => ({top: 0, bottom: 0, right: 0, left: 0})),
+ SafeAreaProvider: ({ children }: { children: React.ReactNode }) => children,
};
--- packages/allspark-foundation/__tests__/Container/AllspartContainer.test.tsx
@@ -0,0 +1,38 @@
+import React from 'react';
+import { render } from '@testing-library/react-native';
+import { AllsparkContainer } from '../../src/Container/AllsparkContainer'; // adjust the import path as needed
+
+
+describe('AllsparkContainer', () => {
+ it('renders the Provider component and triggers the root setup', async () => {
+ const config = {
+ components: {},
+ services: {
+ auth: jest.fn(),
+ clock: jest.fn(),
+ config: jest.fn(),
+ device: jest.fn(),
+ location: jest.fn(),
+ logger: jest.fn(),
+ navConfig: jest.fn(),
+ site: jest.fn(),
+ telemetry: jest.fn(),
+ user: jest.fn(),
+ },
+ setup: {
+ root: jest.fn().mockResolvedValue(true),
+ },
+ };
+ const container = new AllsparkContainer('test-container', config);
+
+ const { toJSON, unmount } = render(
+ <container.Provider statusBar={{ hidden: true }}>
+ <div>Test Content</div>
+ </container.Provider>
+ );
+ await container.runSetup('root');
+ expect(config.setup.root).toHaveBeenCalled();
+ expect(toJSON()).toMatchSnapshot();
+ unmount();
+ });
+});
\ No newline at end of file
--- packages/allspark-foundation/__tests__/Container/__snapshots__/AllspartContainer.test.tsx.snap
@@ -0,0 +1,3 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`AllsparkContainer renders the Provider component and triggers the root setup 1`] = `<LivingDesignProvider />`;
| allspartcontainer test | allspartcontainer test
|
5ade89c9d4908529574d7a0cd62c121bb3acc47f | --- __tests__/navigation/AssociateHallwayNav/SideMenuContentTest.tsx
@@ -86,7 +86,6 @@ const navConfig = [
];
const setShowDialog = jest.fn();
-const setNavConfig = jest.fn();
const baseProps = {
navigation: {
navigate: jest.fn(),
@@ -104,9 +103,8 @@ describe('SideMenuContent', () => {
mockUseCanImpersonate.mockReturnValue(false);
mockUseSelector.mockReturnValueOnce({data: null}); // user state
mockUseSelector.mockReturnValueOnce({data: null}); // clock state
- mockUseSelector.mockReturnValueOnce(navConfig); // nav config
+ mockUseSelector.mockReturnValueOnce(undefined); // nav config
mockUseState.mockReturnValueOnce([false, setShowDialog]);
- mockUseState.mockReturnValueOnce([undefined, setNavConfig]);
const component = create(<SideMenuContent {...baseProps} />);
it('matches snapshot with not user/clockstatus data; sets bar style for closed', () => {
@@ -119,7 +117,6 @@ describe('SideMenuContent', () => {
composite_app: appJson.displayName,
},
);
- expect(setNavConfig).toHaveBeenCalledWith(navConfig);
});
it('matches snapshot with user/clockstatus data; sets bar style for open', () => {
@@ -127,9 +124,8 @@ describe('SideMenuContent', () => {
mockUseCanImpersonate.mockReturnValue(false);
mockUseSelector.mockReturnValueOnce({data: user}); // user state
mockUseSelector.mockReturnValueOnce(clockState); // clock state
- mockUseSelector.mockReturnValueOnce(navConfig); // nav config
+ mockUseSelector.mockReturnValueOnce(undefined); // nav config
mockUseState.mockReturnValueOnce([false, setShowDialog]);
- mockUseState.mockReturnValueOnce([undefined, setNavConfig]);
component.update(<SideMenuContent {...baseProps} />);
expect(component.toJSON()).toMatchSnapshot();
@@ -141,7 +137,6 @@ describe('SideMenuContent', () => {
composite_app: appJson.displayName,
},
);
- expect(setNavConfig).not.toHaveBeenCalled();
});
describe('GlobalNavigation events', () => {
@@ -222,7 +217,6 @@ describe('SideMenuContent', () => {
mockUseSelector.mockReturnValueOnce(clockState);
mockUseSelector.mockReturnValueOnce(navConfig);
mockUseState.mockReturnValueOnce([false, setShowDialog]);
- mockUseState.mockReturnValueOnce([navConfig, setNavConfig]);
component.update(<SideMenuContent {...baseProps} />);
expect(component.toJSON()).toMatchSnapshot();
--- src/navigation/AssociateHallwayNav/SideMenuContent.tsx
@@ -47,7 +47,6 @@ export const SideMenuContent: React.FC<DrawerContentComponentProps<
const deviceType = useSelector(getDeviceType);
const [showDialog, setShowDialog] = useState(false);
- const [navConfig, setNavConfig] = useState(undefined);
const defaultConfig = [
{
menuType: 'MAINMENU',
@@ -139,11 +138,7 @@ export const SideMenuContent: React.FC<DrawerContentComponentProps<
WmTelemetry.logEvent('global_navigation', 'closed', {
composite_app: appJson.displayName,
});
- if (remoteNavConfig?.length && !navConfig) {
- setNavConfig(remoteNavConfig);
- }
}
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [isDrawerOpen]);
const onDrawerClose = useCallback(() => {
@@ -182,7 +177,6 @@ export const SideMenuContent: React.FC<DrawerContentComponentProps<
() => navigation.navigate('Impersonation'),
[navigation],
);
-
return (
<SafeAreaView style={styles.globalNavContainer}>
<GlobalNavigation
@@ -190,7 +184,7 @@ export const SideMenuContent: React.FC<DrawerContentComponentProps<
showDefaultNav
clockIn={clockStatus?.clockStatus !== ClockStatus.clockedOut}
onDrawerClose={onDrawerClose}
- globalNavConfig={navConfig || defaultConfig}
+ globalNavConfig={remoteNavConfig || defaultConfig}
user={user || {displayName: ''}}
siteId={user?.siteId || 0}
onSignOut={showSignOutDialog}
| fixed global nav menu update issue | fixed global nav menu update issue
|
63520cf5ae312e6e55b8ca6e210ec046c15499ae | --- package.json
@@ -98,7 +98,7 @@
"@walmart/calling-mini-app": "0.8.18",
"@walmart/candidate-authentication-lib": "0.0.8",
"@walmart/checkout-mini-app": "4.19.0",
- "@walmart/compass-sdk-rn": "6.4.7",
+ "@walmart/compass-sdk-rn": "6.4.5",
"@walmart/config-components": "4.12.1",
"@walmart/core-services": "~6.5.2",
"@walmart/core-services-allspark": "workspace:^",
@@ -432,7 +432,7 @@
"@react-navigation/elements": "^1.3.31",
"@terrylinla/react-native-sketch-canvas": "patch:@terrylinla/react-native-sketch-canvas@npm%3A0.8.0#~/.yarn/patches/@terrylinla-react-native-sketch-canvas-npm-0.8.0-c7b2afd4cd.patch",
"@walmart/allspark-utils": "6.8.0",
- "@walmart/compass-sdk-rn": "6.4.7",
+ "@walmart/compass-sdk-rn": "6.4.5",
"@walmart/core-services-allspark": "workspace:^",
"@walmart/core-widget-registry": "workspace:^",
"@walmart/me-at-walmart-common": "workspace:^",
--- yarn.lock
@@ -7619,13 +7619,13 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/compass-sdk-rn@npm:6.4.7":
- version: 6.4.7
- resolution: "@walmart/compass-sdk-rn@npm:6.4.7::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcompass-sdk-rn%2F-%2F%40walmart%2Fcompass-sdk-rn-6.4.7.tgz"
+"@walmart/compass-sdk-rn@npm:6.4.5":
+ version: 6.4.5
+ resolution: "@walmart/compass-sdk-rn@npm:6.4.5::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcompass-sdk-rn%2F-%2F%40walmart%2Fcompass-sdk-rn-6.4.5.tgz"
peerDependencies:
react: "*"
react-native: "*"
- checksum: 10c0/00fd31f17925c846571fe354ce0f8916d6064fb21827bd4c791658fd49c77fb624519b93ea475adc6eaa18bafe68da1e6addc62ca51a09aaa517a92bdafd5873
+ checksum: 10c0/96c2eef21a56c1854b0bf2b4fcf6a5d4575db76d4ad4af047b467e96abaeb8492358d57fa2c73e2a7b09ae8350c509b15d14b5b1c1ea0160d36ba8370a469eaf
languageName: node
linkType: hard
@@ -8315,7 +8315,7 @@ __metadata:
"@walmart/calling-mini-app": "npm:0.8.18"
"@walmart/candidate-authentication-lib": "npm:0.0.8"
"@walmart/checkout-mini-app": "npm:4.19.0"
- "@walmart/compass-sdk-rn": "npm:6.4.7"
+ "@walmart/compass-sdk-rn": "npm:6.4.5"
"@walmart/config-components": "npm:4.12.1"
"@walmart/core-services": "npm:~6.5.2"
"@walmart/core-services-allspark": "workspace:^"
| Revert "fix: COM-5518 Fixes geofence lcoation usage outside a store (… (#4811) | Revert "fix: COM-5518 Fixes geofence lcoation usage outside a store (… (#4811)
|
7ea514602740703cb989167379fb8ef450be7fda | --- docs/CHANGELOG.md
@@ -1,3 +1,11 @@
+# [3.8.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v3.7.0...v3.8.0) (2025-12-16)
+
+
+### Features
+
+* **ui:** update roster version ([a88b276](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/a88b276fce0d110f8e48aaa2e63def10bbd2f26b))
+* **ui:** update roster version ([1b0c741](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/1b0c7415e4ea1546abbee150cef6fd55f74d1367))
+
# [3.7.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v3.6.5...v3.7.0) (2025-12-11)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "3.7.0",
+ "version": "3.8.0",
"main": "dist/index.js",
"files": [
"dist",
| chore(release): 3.8.0 [skip ci] | chore(release): 3.8.0 [skip ci]
# [3.8.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v3.7.0...v3.8.0) (2025-12-16)
### Features
* **ui:** update roster version ([a88b276](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/a88b276fce0d110f8e48aaa2e63def10bbd2f26b))
* **ui:** update roster version ([1b0c741](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/1b0c7415e4ea1546abbee150cef6fd55f74d1367))
|
33fe13c44b7f02be145ebda4fa08500e7a9baf1c | --- src/navigation/AssociateHallwayNav/SideMenuContent.tsx
@@ -55,7 +55,7 @@ export const SideMenuContent: React.FC<DrawerContentComponentProps> = (
const telemetry = useTelemetry<IAllsparkTelemetry>();
const badgesCount = useSelector(getInboxBadgeCount);
- const unreadMessageCount = MyTeamHooks.useChannelUnreadCount();
+ const unreadMessageCount = MyTeamHooks.useMessagesUnreadCount();
const user = useSelector(UserSelectors.getUser);
const clockedIn = useSelector(ClockStatusSelectors.getIsClockedIn);
const {loading, error} = useSelector(getNavConfigState);
| adding meganav count | adding meganav count
|
2c5529974f55e9a54b7e09744a543999d11db461 | --- ios/AllSpark.xcodeproj/project.pbxproj
@@ -221,6 +221,7 @@
buildPhases = (
53D455D8D940558DAEDE5BA8 /* [CP] Check Pods Manifest.lock */,
FD10A7F022414F080027D42C /* Start Packager */,
+ 5B96937456920AB5EE0DDE0C /* [CP] Prepare Artifacts */,
13B07F871A680F5B00A75B9A /* Sources */,
13B07F8C1A680F5B00A75B9A /* Frameworks */,
13B07F8E1A680F5B00A75B9A /* Resources */,
@@ -338,6 +339,24 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
+ 5B96937456920AB5EE0DDE0C /* [CP] Prepare Artifacts */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-AllSpark/Pods-AllSpark-artifacts.sh",
+ "${PODS_ROOT}/../../node_modules/react-native-wm-barcode/Frameworks/DMSDK.xcframework",
+ );
+ name = "[CP] Prepare Artifacts";
+ outputPaths = (
+ "${BUILT_PRODUCTS_DIR}/cocoapods-artifacts-${CONFIGURATION}.txt",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AllSpark/Pods-AllSpark-artifacts.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
6647857625D499ACF0429D50 /* [CP-User] [RNFB] Crashlytics Configuration */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@@ -389,7 +408,7 @@
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf",
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
- "${BUILT_PRODUCTS_DIR}/react-native-wm-barcode/react_native_wm_barcode.framework/AVScannerViewController.nib",
+ "${PODS_ROOT}/../../node_modules/react-native-wm-barcode/ios/WMBarcodeScanner/WMBarcodeScanner/assets/AVScannerViewController.xib",
"${PODS_ROOT}/../../node_modules/react-native-wm-barcode/ios/WMBarcodeScanner/WMBarcodeScanner/assets/scanbeep.wav",
"${PODS_ROOT}/../../node_modules/react-native-wm-barcode/ios/WMBarcodeScanner/WMBarcodeScanner/assets/DIGIMark-custom.ttf",
"${PODS_ROOT}/../../node_modules/react-native-wm-voice-text/ios/state-change_confirm-down.wav",
@@ -435,11 +454,10 @@
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-AllSpark/Pods-AllSpark-frameworks.sh",
- "${PODS_XCFRAMEWORKS_BUILD_DIR}/DMSDK/DMSDK.framework/DMSDK",
+ "${BUILT_PRODUCTS_DIR}/cocoapods-artifacts-${CONFIGURATION}.txt",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
- "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/DMSDK.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
--- ios/BuildSupport/install-cocoapods.sh
@@ -5,7 +5,7 @@ set -x
echo "Current Directory: $WORKSPACE"
echo "Installing CocoaPods"
-CCP_VER=1.10.1
+CCP_VER=1.9.3
export GEM_HOME=$HOME/.gem
export PATH=$GEM_HOME/bin:$PATH
@@ -20,6 +20,6 @@ pod_path=$(ruby -r rubygems -e 'puts Gem.user_dir')/bin
echo "pod_path ${pod_path}"
ls -l ${pod_path}/pod
-pod _${CCP_VER}_ --version
+pod _1.9.3_ --version
echo "pod install"
-pod _${CCP_VER}_ install --repo-update --verbose
+pod _1.9.3_ install --repo-update --verbose
--- ios/Podfile.lock
@@ -356,7 +356,7 @@ PODS:
- React
- react-native-webview (10.10.0):
- React-Core
- - react-native-wm-barcode (2.25.0):
+ - react-native-wm-barcode (2.9.0):
- React
- react-native-wm-voice-text (0.3.1):
- React
@@ -809,7 +809,7 @@ SPEC CHECKSUMS:
react-native-video: 8d97379f3c2322a569f1e27542ad1a646cad9444
react-native-view-shot: 08c46c9e8e92f6681e8f2ffa55ac3d06e7e99070
react-native-webview: 2e330b109bfd610e9818bf7865d1979f898960a7
- react-native-wm-barcode: eeee6215ce0f2969b7648fee8015745d175269ce
+ react-native-wm-barcode: 1f16edb27dac807563ed08edc9d0ba042e9a182d
react-native-wm-voice-text: 498a87b567be0074720a30386a22b1e7cde873f5
React-RCTActionSheet: 910163b6b09685a35c4ebbc52b66d1bfbbe39fc5
React-RCTAnimation: 9a883bbe1e9d2e158d4fb53765ed64c8dc2200c6
@@ -855,4 +855,4 @@ SPEC CHECKSUMS:
PODFILE CHECKSUM: 567b62a30f7dd8da9c40b835f39a00c574423a67
-COCOAPODS: 1.10.1
+COCOAPODS: 1.9.3
| adding cocoapods support for 2.9.0 barcode version | adding cocoapods support for 2.9.0 barcode version
|
60f3ba11bc190eef9fb70eedad7fadd51ec91c00 | --- packages/allspark-graphql-client/codegen/generate.js
@@ -1,6 +1,8 @@
#!/usr/bin/env node
'use strict';
+process.env.NODE_TLS_REJECT_UNAUTHORIZED = 0;
+
const cli = require('@graphql-codegen/cli');
const path = require('path');
@@ -53,7 +55,17 @@ const queryPath = `${processPath}/${queries}`;
const codegenConfig = {
overwrite: true,
- schema: 'http://athena-visualizer.us.dev.walmart.com/sdl',
+ schema: config.schema || [
+ {
+ 'https://athena-gateway.dev.us.walmart.net/graphql': {
+ headers: {
+ 'WM_CONSUMER.ID': 'fa576333-db22-47c4-afe1-6d7ec0f69c39',
+ 'WM_SVC.NAME': 'ATHENA-GATEWAY',
+ 'WM_SVC.ENV': 'dev',
+ },
+ },
+ },
+ ],
documents: `${queryPath}/*.graphql`,
};
| fix: fix athena schema url. add option to configure from allspark config | fix: fix athena schema url. add option to configure from allspark config
|
ef0642e4329f38c7d5845d86c7e652c722e81fdb | --- jest.config.ts
@@ -19,6 +19,17 @@ const config: Config = {
// ['jest-slow-test-reporter', { numTests: 8, warnOnSlowerThan: 300, color: true }]
],
+ collectCoverageFrom: [
+ '**/*.{ts,tsx}',
+ '!**/*.d.ts',
+ '!**/types.ts',
+ '!**/*.types.ts',
+ '!**/style.ts',
+ '!**/styles.ts',
+ '!**/*.stories.tsx',
+ '!**/*.config.ts'
+ ],
+
// Global coverage thresholds
coverageThreshold: {
'global': {
@@ -28,10 +39,10 @@ const config: Config = {
lines: 70,
},
'./packages/allspark-foundation': {
- statements: 85,
+ statements: 82,
branches: 70,
- functions: 80,
- lines: 85,
+ functions: 76,
+ lines: 82,
},
},
};
--- jest.preset.ts
@@ -39,6 +39,7 @@ const config: Config = {
'!**/style.ts',
'!**/styles.ts',
'!**/*.stories.tsx',
+ '!**/*.config.ts'
],
};
| chore: update coverage threshold and ignore patterns | chore: update coverage threshold and ignore patterns
|
e73bed9608126024107536cd425b4dc0924a9e78 | --- src/components/AssociateRosterItem/index.tsx
@@ -67,7 +67,7 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
leading={
<PresenceIndicator
userId={associate.userId!}
- live={true}
+ live={false}
style={styles.badge}
/>
}
--- src/presence/components/PresenceIndicator.tsx
@@ -1,12 +1,6 @@
-import {Body, colors} from '@walmart/gtp-shared-components';
import React from 'react';
import {StyleProp, StyleSheet, TextStyle, View, ViewStyle} from 'react-native';
-import Animated, {
- interpolateColor,
- useAnimatedStyle,
- useDerivedValue,
- withTiming,
-} from 'react-native-reanimated';
+import {Body, colors} from '@walmart/gtp-shared-components';
import {useUserPresence} from '../hooks';
const styles = StyleSheet.create({
@@ -23,6 +17,14 @@ const styles = StyleSheet.create({
statusText: {
marginLeft: 4,
},
+ online: {
+ backgroundColor: '#6dd400',
+ borderColor: colors.green[100],
+ },
+ offline: {
+ backgroundColor: colors.red[100],
+ borderColor: colors.gray[120],
+ },
});
type PresenceIndicatorProps = {
@@ -45,33 +47,15 @@ export const PresenceIndicator = ({
const presence = useUserPresence(userId, live);
const isOnline = presence?.state === 'online';
- const onlineProgress = useDerivedValue(() => {
- return withTiming(isOnline ? 1 : 0, {duration: 150});
- }, [isOnline]);
-
- const onlineStyle = useAnimatedStyle(() => {
- const backgroundColor = interpolateColor(
- onlineProgress.value,
- [0, 1],
- [colors.red[100], '#6dd400'],
- );
-
- const borderColor = interpolateColor(
- onlineProgress.value,
- [0, 1],
- [colors.gray[120], colors.green[100]],
- );
-
- return {
- backgroundColor,
- borderColor,
- };
- });
-
return (
<View style={[styles.indicatorRow, style]}>
{showIndicator && (
- <Animated.View style={[styles.clockStatus, onlineStyle]} />
+ <View
+ style={[
+ styles.clockStatus,
+ isOnline ? styles.online : styles.offline,
+ ]}
+ />
)}
{showText && (
<Body UNSAFE_style={textStyle}>{isOnline ? 'Online' : 'Offline'}</Body>
--- src/components/AssociateRosterItem/index.tsx
@@ -67,7 +67,7 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
leading={
<PresenceIndicator
userId={associate.userId!}
- live={true}
+ live={false}
style={styles.badge}
/>
}
--- src/presence/components/PresenceIndicator.tsx
@@ -1,12 +1,6 @@
-import {Body, colors} from '@walmart/gtp-shared-components';
import React from 'react';
import {StyleProp, StyleSheet, TextStyle, View, ViewStyle} from 'react-native';
-import Animated, {
- interpolateColor,
- useAnimatedStyle,
- useDerivedValue,
- withTiming,
-} from 'react-native-reanimated';
+import {Body, colors} from '@walmart/gtp-shared-components';
import {useUserPresence} from '../hooks';
const styles = StyleSheet.create({
@@ -23,6 +17,14 @@ const styles = StyleSheet.create({
statusText: {
marginLeft: 4,
},
+ online: {
+ backgroundColor: '#6dd400',
+ borderColor: colors.green[100],
+ },
+ offline: {
+ backgroundColor: colors.red[100],
+ borderColor: colors.gray[120],
+ },
});
type PresenceIndicatorProps = {
@@ -45,33 +47,15 @@ export const PresenceIndicator = ({
const presence = useUserPresence(userId, live);
const isOnline = presence?.state === 'online';
- const onlineProgress = useDerivedValue(() => {
- return withTiming(isOnline ? 1 : 0, {duration: 150});
- }, [isOnline]);
-
- const onlineStyle = useAnimatedStyle(() => {
- const backgroundColor = interpolateColor(
- onlineProgress.value,
- [0, 1],
- [colors.red[100], '#6dd400'],
- );
-
- const borderColor = interpolateColor(
- onlineProgress.value,
- [0, 1],
- [colors.gray[120], colors.green[100]],
- );
-
- return {
- backgroundColor,
- borderColor,
- };
- });
-
return (
<View style={[styles.indicatorRow, style]}>
{showIndicator && (
- <Animated.View style={[styles.clockStatus, onlineStyle]} />
+ <View
+ style={[
+ styles.clockStatus,
+ isOnline ? styles.online : styles.offline,
+ ]}
+ />
)}
{showText && (
<Body UNSAFE_style={textStyle}>{isOnline ? 'Online' : 'Offline'}</Body>
| fix: remove presence indicator animation for performance gains | fix: remove presence indicator animation for performance gains
|
ee70c30b09bb9880bed7595eb7bfd6ce9a4a322a | --- package-lock.json
@@ -37,7 +37,7 @@
"@walmart/amp-mini-app": "1.0.11",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.3.56",
- "@walmart/attendance-mini-app": "0.56.0",
+ "@walmart/attendance-mini-app": "0.59.0",
"@walmart/config-components": "4.1.0-rc.2",
"@walmart/core-services": "~1.4.11",
"@walmart/core-services-allspark": "~2.2.2",
@@ -4817,9 +4817,9 @@
}
},
"node_modules/@walmart/attendance-mini-app": {
- "version": "0.56.0",
- "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.56.0.tgz",
- "integrity": "sha512-3h6D75EvhINKYhtAUjTsHJqmjRJEbvKmF3fJy/Cf/cbFKCyb8VhgkgMJu2O85RITID6mrG70IP//4YAlM8ouUw==",
+ "version": "0.59.0",
+ "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.59.0.tgz",
+ "integrity": "sha512-UHSjWoMQVnvgLpEU12U+8j+8TmGGK18eKVtCRBBYFTZ+7q36rjzvUDJjoM7pofKpacqQPEpgEOquAZZe3i9DTw==",
"dependencies": {
"@walmart/gta-react-native-calendars": "0.0.16",
"moment-timezone": "0.5.40",
@@ -25230,9 +25230,9 @@
}
},
"@walmart/attendance-mini-app": {
- "version": "0.56.0",
- "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.56.0.tgz",
- "integrity": "sha512-3h6D75EvhINKYhtAUjTsHJqmjRJEbvKmF3fJy/Cf/cbFKCyb8VhgkgMJu2O85RITID6mrG70IP//4YAlM8ouUw==",
+ "version": "0.59.0",
+ "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.59.0.tgz",
+ "integrity": "sha512-UHSjWoMQVnvgLpEU12U+8j+8TmGGK18eKVtCRBBYFTZ+7q36rjzvUDJjoM7pofKpacqQPEpgEOquAZZe3i9DTw==",
"requires": {
"@walmart/gta-react-native-calendars": "0.0.16",
"moment-timezone": "0.5.40",
--- package.json
@@ -79,7 +79,7 @@
"@walmart/amp-mini-app": "1.0.11",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.3.56",
- "@walmart/attendance-mini-app": "0.56.0",
+ "@walmart/attendance-mini-app": "0.59.0",
"@walmart/config-components": "4.1.0-rc.2",
"@walmart/core-services": "~1.4.11",
"@walmart/core-services-allspark": "~2.2.2",
| Updated attendance-mini-app to 0.59.0 | Updated attendance-mini-app to 0.59.0
|
0906c847d8da6e389ac019c6872ab3260dfea937 | --- package.json
@@ -113,7 +113,7 @@
"@walmart/ims-print-services-ui": "2.12.0",
"@walmart/inbox-mini-app": "0.95.3",
"@walmart/iteminfo-mini-app": "7.15.11",
- "@walmart/learning-mini-app": "20.0.33",
+ "@walmart/learning-mini-app": "20.0.34",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-at-walmart-athena-queries": "6.1.4",
"@walmart/me-at-walmart-common": "6.1.4",
--- yarn.lock
@@ -6320,9 +6320,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/learning-mini-app@npm:20.0.33":
- version: 20.0.33
- resolution: "@walmart/learning-mini-app@npm:20.0.33"
+"@walmart/learning-mini-app@npm:20.0.34":
+ version: 20.0.34
+ resolution: "@walmart/learning-mini-app@npm:20.0.34"
peerDependencies:
"@atmt/feedback-component-native": ^8.0.0
"@react-native-firebase/analytics": 17.4.2
@@ -6396,7 +6396,7 @@ __metadata:
reduxsauce: ^1.2.0
reselect: ^4.0.0
wifi-store-locator: ^1.0.0-alpha2
- checksum: 10c0/875a0f64e7b2b23da5b0de9ddc6bee8f722d898e7708ba752820941010e4f18b63550299814dbe134d16b69dc3434502e5bbe6e4ecf81a1f918f4e238c6b3c19
+ checksum: 10c0/e7293e61290ef54c22af2a067281d81735b1c7eb693c21b5b6a34613fe7e77f22f8c1776cc1241172221232da80777346f991f0b730ee033a2f4345f578c2923
languageName: node
linkType: hard
@@ -7910,7 +7910,7 @@ __metadata:
"@walmart/ims-print-services-ui": "npm:2.12.0"
"@walmart/inbox-mini-app": "npm:0.95.3"
"@walmart/iteminfo-mini-app": "npm:7.15.11"
- "@walmart/learning-mini-app": "npm:20.0.33"
+ "@walmart/learning-mini-app": "npm:20.0.34"
"@walmart/manager-approvals-miniapp": "npm:0.2.4"
"@walmart/me-at-walmart-athena-queries": "npm:6.1.4"
"@walmart/me-at-walmart-common": "npm:6.1.4"
| feat: :sparkles: Bump learning mini app version to 20.0.34 | feat: :sparkles: Bump learning mini app version to 20.0.34
|
efdefb4e0eb33d8329fb02df55f2805e1b26e54e | --- package-lock.json
@@ -70,7 +70,7 @@
"@walmart/pay-stub-miniapp": "0.9.35",
"@walmart/payrollsolution_miniapp": "0.130.46",
"@walmart/price-changes-mini-app": "1.9.7",
- "@walmart/profile-feature-app": "0.287.1",
+ "@walmart/profile-feature-app": "0.334.0",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
"@walmart/react-native-logger": "1.34.4",
@@ -8855,9 +8855,9 @@
}
},
"node_modules/@walmart/profile-feature-app": {
- "version": "0.287.1",
- "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.287.1.tgz",
- "integrity": "sha512-1+HbrDhq7XGKttysqza/FVl1OKCPxcfwULssS4oYMkMqhZ5ieKFtJdr24D0o05qAZE2hXhQu2xZQhw4IAQrGUQ==",
+ "version": "0.334.0",
+ "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.334.0.tgz",
+ "integrity": "sha512-/Zt765ncVOFdpjlBZuE59gMTA959RKDC7kp82KbS6U76wUlgMkoCd/Z4dck/THsP6lNHgAjT7iEktWn2a4HVZA==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/bottom-tabs": "^6.0.0",
@@ -33743,9 +33743,9 @@
"integrity": "sha512-WvfjtqJwKwIWu/wy0wZumXMrpa6zFcA031SPX7qX8LZ076y5UtJrDurUNDlt1MM8Rh7bp4pteQbnh93zxjS8hw=="
},
"@walmart/profile-feature-app": {
- "version": "0.287.1",
- "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.287.1.tgz",
- "integrity": "sha512-1+HbrDhq7XGKttysqza/FVl1OKCPxcfwULssS4oYMkMqhZ5ieKFtJdr24D0o05qAZE2hXhQu2xZQhw4IAQrGUQ=="
+ "version": "0.334.0",
+ "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.334.0.tgz",
+ "integrity": "sha512-/Zt765ncVOFdpjlBZuE59gMTA959RKDC7kp82KbS6U76wUlgMkoCd/Z4dck/THsP6lNHgAjT7iEktWn2a4HVZA=="
},
"@walmart/react-native-encrypted-storage": {
"version": "1.1.3"
--- package.json
@@ -111,7 +111,7 @@
"@walmart/pay-stub-miniapp": "0.9.35",
"@walmart/payrollsolution_miniapp": "0.130.46",
"@walmart/price-changes-mini-app": "1.9.7",
- "@walmart/profile-feature-app": "0.287.1",
+ "@walmart/profile-feature-app": "0.334.0",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
"@walmart/react-native-logger": "1.34.4",
| feat: bump profile-feature-app to 0.334.0 | feat: bump profile-feature-app to 0.334.0
|
d08b13745e5b004f06b8a11292c1709106ffb6f8 | --- package-lock.json
@@ -41,7 +41,7 @@
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.18.5",
"@walmart/attendance-mini-app": "1.62.13",
- "@walmart/compass-sdk-rn": "5.18.9",
+ "@walmart/compass-sdk-rn": "5.18.15",
"@walmart/config-components": "4.2.13",
"@walmart/copilot-mini-app": "3.26.4",
"@walmart/core-services": "~2.3.0",
@@ -169,7 +169,7 @@
"react-native-vector-icons": "^9.2.0",
"react-native-video": "^5.2.1",
"react-native-view-shot": "^3.4.0",
- "react-native-vision-camera": "3.6.13",
+ "react-native-vision-camera": "3.7.1",
"react-native-webview": "^11.23.1",
"react-native-wm-app-review": "0.5.0",
"react-native-wm-config": "0.1.1",
@@ -8561,9 +8561,9 @@
}
},
"node_modules/@walmart/compass-sdk-rn": {
- "version": "5.18.9",
- "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-5.18.9.tgz",
- "integrity": "sha512-l2/DFMufZfrJ22AzXkQCZuF4RPb+NvhOyqRK2lzo5qhoERUtunqVikSKYuewZ1mM6zmIYDY4TpDu7RDnX+JVEQ==",
+ "version": "5.18.15",
+ "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-5.18.15.tgz",
+ "integrity": "sha512-688uMzLF2OpZQQWRcK2bC4m9EBbqkAegL0jHtxbRpnRXSClhhHTuFa6736h+q4s0Q/YfdyRAX64VlopkG5Y4jg==",
"license": "MIT",
"engines": {
"node": ">=16"
@@ -8773,9 +8773,9 @@
}
},
"node_modules/@walmart/facilities-management-miniapp": {
- "version": "0.6.93",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.93.tgz",
- "integrity": "sha512-GC8F/BqUky3wCPzhN2mi9B+wWCHbqq9Ze/1CJwU/E85jo4Mq/0RzJq6z793ZyFxxeSHjX/Qq9zE2ugwBK/e9cA==",
+ "version": "0.7.3",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.7.3.tgz",
+ "integrity": "sha512-dtjl72iiLFeASjsES1j5zR3dRee4U1xgjZbjts/aDzl58AyFM4QAuM7Gs45Ca9lrYUKsFthStWuqnsOsIU4uSg==",
"hasInstallScript": true,
"engines": {
"node": ">=16"
@@ -8807,7 +8807,7 @@
"@walmart/impersonation-mini-app": "1.20.6",
"@walmart/moment-walmart": "1.0.4",
"@walmart/react-native-encrypted-storage": "1.1.3",
- "@walmart/react-native-scanner-3.0": "0.4.2",
+ "@walmart/react-native-scanner-3.0": "0.5.1",
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "3.5.0",
@@ -8848,7 +8848,7 @@
"react-native-svg-transformer": "^1.0.0",
"react-native-tab-view": "^3.3.0",
"react-native-vector-icons": "^9.2.0",
- "react-native-vision-camera": "3.6.2",
+ "react-native-vision-camera": "3.7.1",
"react-native-webview": "^11.23.1",
"react-native-wm-network": "0.2.0",
"react-native-wm-notification": "2.0.1",
@@ -23844,9 +23844,9 @@
}
},
"node_modules/react-native-vision-camera": {
- "version": "3.6.13",
- "resolved": "https://npme.walmart.com/react-native-vision-camera/-/react-native-vision-camera-3.6.13.tgz",
- "integrity": "sha512-sr8zCKQmkVM7Mo5ZJAwBGe81xiZcvekThSOv/g0QXR5eE5SOxOq7UDCBFzcgrPa3kSpPEqtfa45iQ9Sd/kSKXg==",
+ "version": "3.7.1",
+ "resolved": "https://npme.walmart.com/react-native-vision-camera/-/react-native-vision-camera-3.7.1.tgz",
+ "integrity": "sha512-jhcLiDCOFaYEeu2UhZjK1Yft+eOC0uzrHkShWF0XOH3BioBYAxs1bec0RUItCGAvzbPePIC07KwB74PaJu0Zxw==",
"license": "MIT",
"peerDependencies": {
"react": "*",
@@ -33074,9 +33074,9 @@
}
},
"@walmart/compass-sdk-rn": {
- "version": "5.18.9",
- "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-5.18.9.tgz",
- "integrity": "sha512-l2/DFMufZfrJ22AzXkQCZuF4RPb+NvhOyqRK2lzo5qhoERUtunqVikSKYuewZ1mM6zmIYDY4TpDu7RDnX+JVEQ=="
+ "version": "5.18.15",
+ "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-5.18.15.tgz",
+ "integrity": "sha512-688uMzLF2OpZQQWRcK2bC4m9EBbqkAegL0jHtxbRpnRXSClhhHTuFa6736h+q4s0Q/YfdyRAX64VlopkG5Y4jg=="
},
"@walmart/config-components": {
"version": "4.2.13",
@@ -33152,9 +33152,9 @@
"integrity": "sha512-ahdTzrtsudZme6CLK4kv7gwVj/+6Ea/V7YjwHL1zxBPls22meFqqUMfjGhAwk0zT3hr8Cz+v934fDj0chQAT3w=="
},
"@walmart/facilities-management-miniapp": {
- "version": "0.6.93",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.93.tgz",
- "integrity": "sha512-GC8F/BqUky3wCPzhN2mi9B+wWCHbqq9Ze/1CJwU/E85jo4Mq/0RzJq6z793ZyFxxeSHjX/Qq9zE2ugwBK/e9cA=="
+ "version": "0.7.3",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.7.3.tgz",
+ "integrity": "sha512-dtjl72iiLFeASjsES1j5zR3dRee4U1xgjZbjts/aDzl58AyFM4QAuM7Gs45Ca9lrYUKsFthStWuqnsOsIU4uSg=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.9.52",
@@ -42561,9 +42561,9 @@
"version": "3.5.0"
},
"react-native-vision-camera": {
- "version": "3.6.13",
- "resolved": "https://npme.walmart.com/react-native-vision-camera/-/react-native-vision-camera-3.6.13.tgz",
- "integrity": "sha512-sr8zCKQmkVM7Mo5ZJAwBGe81xiZcvekThSOv/g0QXR5eE5SOxOq7UDCBFzcgrPa3kSpPEqtfa45iQ9Sd/kSKXg=="
+ "version": "3.7.1",
+ "resolved": "https://npme.walmart.com/react-native-vision-camera/-/react-native-vision-camera-3.7.1.tgz",
+ "integrity": "sha512-jhcLiDCOFaYEeu2UhZjK1Yft+eOC0uzrHkShWF0XOH3BioBYAxs1bec0RUItCGAvzbPePIC07KwB74PaJu0Zxw=="
},
"react-native-webview": {
"version": "11.23.1",
--- package.json
@@ -82,7 +82,7 @@
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.18.5",
"@walmart/attendance-mini-app": "1.62.13",
- "@walmart/compass-sdk-rn": "5.18.9",
+ "@walmart/compass-sdk-rn": "5.18.15",
"@walmart/config-components": "4.2.13",
"@walmart/copilot-mini-app": "3.26.4",
"@walmart/core-services": "~2.3.0",
@@ -210,7 +210,7 @@
"react-native-vector-icons": "^9.2.0",
"react-native-video": "^5.2.1",
"react-native-view-shot": "^3.4.0",
- "react-native-vision-camera": "3.6.13",
+ "react-native-vision-camera": "3.7.1",
"react-native-webview": "^11.23.1",
"react-native-wm-app-review": "0.5.0",
"react-native-wm-config": "0.1.1",
| git merge | git merge
|
dd0a63027a8ec443c3de51cb81f28fd0f94d07b0 | --- __tests__/__snapshots__/AppTest.tsx.snap
@@ -5,9 +5,7 @@ exports[`RootContainer renders and fires startup event 1`] = `
env="dev"
environmentOverrides={{}}
>
- <RenderGuard>
- <RootStackNavigation />
- </RenderGuard>
+ <RootStackNavigation />
</Provider>
`;
@@ -16,8 +14,6 @@ exports[`RootContainer renders with no linking config on undefined userid 1`] =
env="dev"
environmentOverrides={{}}
>
- <RenderGuard>
- <RootStackNavigation />
- </RenderGuard>
+ <RootStackNavigation />
</Provider>
`;
--- __tests__/navigation/AssociateHallwayNav/__snapshots__/DrawerNavTest.tsx.snap
@@ -1,9 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`DrawerNav matches default snapshot for initial render 1`] = `
-<RenderGuard
- preRenderHook={[MockFunction]}
->
+<RenderGuard>
<ActivityMonitor
backgroundIdleTime={60000}
inactivityTime={30000}
@@ -56,9 +54,7 @@ exports[`DrawerNav matches default snapshot for initial render 1`] = `
`;
exports[`DrawerNav matches snapshot after initial render 1`] = `
-<RenderGuard
- preRenderHook={[MockFunction]}
->
+<RenderGuard>
<ActivityMonitor
backgroundIdleTime={60000}
inactivityTime={30000}
| chore: snapshot update | chore: snapshot update
|
e76effdcd1eda4ecb48faa9f90afd09d163d7d66 | --- package.json
@@ -136,7 +136,7 @@
"@walmart/react-native-scanner-3.0": "patch:@walmart/react-native-scanner-3.0@npm%3A0.10.7#~/.yarn/patches/@walmart-react-native-scanner-3.0-npm-0.10.7-9aedc7354c.patch",
"@walmart/react-native-shared-navigation": "~6.3.28",
"@walmart/react-native-store-map": "0.3.7",
- "@walmart/react-native-sumo-sdk": "2.7.4",
+ "@walmart/react-native-sumo-sdk": "2.7.5",
"@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@patch%3A@walmart/react-native-webex-sdk@npm%253A0.8.1%23~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.8.1-5642793393.patch%3A%3Aversion=0.8.1&hash=31851b#~/.yarn/patches/@walmart-react-native-webex-sdk-patch-bd40e49630.patch",
"@walmart/receipt-check-miniapp": "1.28.1",
"@walmart/redux-store": "~6.3.28",
--- yarn.lock
@@ -8370,7 +8370,7 @@ __metadata:
"@walmart/react-native-scanner-3.0": "patch:@walmart/react-native-scanner-3.0@npm%3A0.10.7#~/.yarn/patches/@walmart-react-native-scanner-3.0-npm-0.10.7-9aedc7354c.patch"
"@walmart/react-native-shared-navigation": "npm:~6.3.28"
"@walmart/react-native-store-map": "npm:0.3.7"
- "@walmart/react-native-sumo-sdk": "npm:2.7.4"
+ "@walmart/react-native-sumo-sdk": "npm:2.7.5"
"@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@patch%3A@walmart/react-native-webex-sdk@npm%253A0.8.1%23~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.8.1-5642793393.patch%3A%3Aversion=0.8.1&hash=31851b#~/.yarn/patches/@walmart-react-native-webex-sdk-patch-bd40e49630.patch"
"@walmart/receipt-check-miniapp": "npm:1.28.1"
"@walmart/redux-store": "npm:~6.3.28"
@@ -8939,13 +8939,13 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/react-native-sumo-sdk@npm:2.7.4":
- version: 2.7.4
- resolution: "@walmart/react-native-sumo-sdk@npm:2.7.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Freact-native-sumo-sdk%2F-%2Freact-native-sumo-sdk-2.7.4.tgz"
+"@walmart/react-native-sumo-sdk@npm:2.7.5":
+ version: 2.7.5
+ resolution: "@walmart/react-native-sumo-sdk@npm:2.7.5::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Freact-native-sumo-sdk%2F-%2F%40walmart%2Freact-native-sumo-sdk-2.7.5.tgz"
peerDependencies:
react: "*"
react-native: "*"
- checksum: 10c0/c94d7ca2a7e6a9c7181685b1aa8e4cf0a82472bcc3bc1f6be28283477ddc33db4b1820dd9594b29d868dc508dcc19e04b78719f2e4973b2a583fadef95480a5f
+ checksum: 10c0/6797ce65f462b2c60363968b672bfc9ad01526a124265e6b29c5f9140941195b3371eb6397b92dd78c01d4d629b862b9a0125ec6d384eb810d74b7f49b2d8829
languageName: node
linkType: hard
| chore(update react-native-sumo-sdk): ALLSPARK-6012 change version | chore(update react-native-sumo-sdk): ALLSPARK-6012 change version
|
539d12cd925dc03babba408d5c4e3a96078c4f58 | --- saucelabs/.looper-native-common-saucelabs.yml
@@ -37,7 +37,6 @@ tools:
flows:
npm-install-and-coverage:
- - npm install -g json-edit-cli && json set package.json --key=dependencies.react-native-wm-barcode --value=2.3.0
- npm install
- (name put appropriate env file in place) npm run env:${env}
- npm run coverage
| removing override of barcode scanner module | removing override of barcode scanner module
|
f486562525ee29324bf3b8cd0c5c88e53d6871fc | --- packages/allspark-build-cache-provider/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.1.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-build-cache-provider@1.1.1...@walmart/allspark-build-cache-provider@1.1.2) (2025-12-18)
+
+### Bug Fixes
+
+- **ci:** fixed gitignore issues ([#543](https://gecgithub01.walmart.com/allspark/allspark/issues/543)) ([bc4633f](https://gecgithub01.walmart.com/allspark/allspark/commit/bc4633f6f9d0638e7ac1c84fa8fc68a992d1d316))
+
## [1.1.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-build-cache-provider@1.1.0...@walmart/allspark-build-cache-provider@1.1.1) (2025-12-17)
### Bug Fixes
--- packages/allspark-build-cache-provider/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-build-cache-provider",
- "version": "1.1.1",
+ "version": "1.1.2",
"main": "provider.plugin.js",
"scripts": {
"build": "tsc",
--- packages/expo-config-plugins/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [0.10.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/expo-config-plugins@0.9.0...@walmart/expo-config-plugins@0.10.0) (2025-12-18)
+
+### Features
+
+- **sumo:** added sumo initialization plugin ([#542](https://gecgithub01.walmart.com/allspark/allspark/issues/542)) ([3d7176d](https://gecgithub01.walmart.com/allspark/allspark/commit/3d7176dbe7854e4ce7af6a08daaa1c6e58ef5ec4))
+
# [0.9.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/expo-config-plugins@0.8.3...@walmart/expo-config-plugins@0.9.0) (2025-12-17)
### Features
--- packages/expo-config-plugins/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/expo-config-plugins",
- "version": "0.9.0",
+ "version": "0.10.0",
"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/allspark-build-cache-provider@1.1.2
- @walmart/expo-config-plugins@0.10.0
|
f7835cac168215ea77a5c122bba6306f1c2dd995 | --- .looper.multibranch.yml
@@ -63,7 +63,6 @@ flows:
- call: sonar-scan-pr
- parallel(failsafe):
- (name Scanning Walmart Packages) npm run lint:changed-walmart-libs ${GITHUB_PR_TARGET_BRANCH}
- - (name Scanning Deprecated Packages In Core) corepack enable && export GITHUB_REPOSITORY="${GITHUB_REPOSITORY}" && export GITHUB_PR_NUMBER="${GITHUB_PR_NUMBER}" && export GITHUB_PR_TARGET_BRANCH="${GITHUB_PR_TARGET_BRANCH:-main}" && export GITHUB_PR_SOURCE_BRANCH="${GITHUB_PR_SOURCE_BRANCH}" && yarn install --immutable && npx tsx scripts/mini-app-scan/package-deprecation/core-check/main.ts "${GITHUB_PR_TARGET_BRANCH:-main}"
- (name Scanning Deprecated Packages In Mini App) corepack enable && export GITHUB_REPOSITORY="${GITHUB_REPOSITORY}" && export GITHUB_PR_NUMBER="${GITHUB_PR_NUMBER}" && export GITHUB_PR_TARGET_BRANCH="${GITHUB_PR_TARGET_BRANCH:-main}" && export GITHUB_PR_SOURCE_BRANCH="${GITHUB_PR_SOURCE_BRANCH}" && yarn install --immutable && npx tsx scripts/mini-app-scan/package-deprecation/mini-app-check/main.ts "${GITHUB_PR_TARGET_BRANCH:-main}"
- call: slack-notification-pr(slack-pr)
--- package.json
@@ -447,4 +447,4 @@
"jiraOptional": true
}
}
-}
\ No newline at end of file
+}
| fix(looper): remove core check for drop 33 | fix(looper): remove core check for drop 33
|
db834a884cfc9770522ddd8b85591bd7421fb1f6 | --- src/common/constants.ts
@@ -1,4 +1 @@
export const FEATURE_ID = 'Roster' as const;
-export const CONFIG_ID = 'roster' as const;
-export const APP_NAME = 'roster' as const;
-export const LOGGER_FIELDS = {id: 'roster-mini-app'};
--- src/index.tsx
@@ -10,62 +10,28 @@ import {rosterSlice} from './redux/reducer';
import {PresenceProvider} from '@walmart/wmconnect-mini-app';
import {ClockGuard} from '@walmart/allspark-foundation/Clock/withClockGuard';
import {AllsparkReduxStore} from '@walmart/allspark-foundation/Redux';
-import {RosterFeature} from './common/feature';
-import {foundationModuleConfig} from './config/foundationConfig';
export const LOGGER_FIELDS = {id: 'roster-mini-app'};
export * from './shared';
AllsparkReduxStore.addReducer('roster', rosterSlice.reducer);
-// export const initialize = async (debugToken: string) => {
-// const rnfbProvider = firebase
-// .appCheck()
-// .newReactNativeFirebaseAppCheckProvider();
-
-// rnfbProvider.configure({
-// android: {
-// provider: __DEV__ ? 'debug' : 'playIntegrity',
-// debugToken: debugToken,
-// },
-// apple: {
-// provider: 'appAttestWithDeviceCheckFallback',
-// debugToken: debugToken,
-// },
-// });
-
-// await firebase.appCheck().initializeAppCheck({
-// provider: rnfbProvider,
-// isTokenAutoRefreshEnabled: true,
-// });
-// };
-
-// initi18n();
-
export const RosterMiniApp = () => {
return (
- // <SafeAreaProvider>
<ClockGuard>
<PresenceProvider>
<RosterNavigation />
</PresenceProvider>
</ClockGuard>
- // </SafeAreaProvider>
);
};
export const RosterMiniAppForManagerExperience = () => {
return (
- // <SafeAreaProvider>
<ClockGuard>
<PresenceProvider>
<RosterNavigationForManagerExperience />
</PresenceProvider>
</ClockGuard>
- // </SafeAreaProvider>
);
};
-
-// export default RosterFeature.createModule({
-// ...foundationModuleConfig,
-// });
| Removing unused code | Removing unused code
|
b7c7497612172782200ad924451ec6ce952469cf | --- .looper-pr.yml
@@ -29,3 +29,4 @@ envs:
AUTHOR: temp
SLACK_CHANNEL: 'smdv-miniapp'
+
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-mini-app",
- "version": "1.1.0",
+ "version": "1.2.0",
"main": "main.js",
"files": [
"dist",
| feat(ui): update associate exp hub changes #SMDV-9999 | feat(ui): update associate exp hub changes #SMDV-9999
|
b0a089ccc821713651c8505cb7f773ec891defbd | --- packages/associate-exp-hub-hub/src/components/HubFactory.tsx
@@ -40,7 +40,7 @@ interface HubFactoryProps {
*/
export const HubFactory: React.FC<HubFactoryProps> = ({
containerId,
- useWidgetManagement = true,
+ useWidgetManagement = false,
config,
}) => {
// When widget management is disabled, use our SimpleHub implementation
--- packages/associate-exp-hub-mini-app/src/components/hub/HubFactory.tsx
@@ -42,7 +42,7 @@ interface HubFactoryProps {
*/
export const HubFactory: React.FC<HubFactoryProps> = ({
containerId,
- useWidgetManagement = true,
+ useWidgetManagement = false,
config,
}) => {
// When widget management is disabled, use our SimpleHub implementation
| feat(ui): update the use widget management value to false by default | feat(ui): update the use widget management value to false by default
|
1fe95815ee23428f58e20838a56f87a55934ed1e | --- packages/allspark-foundation-hub/src/Store/Components/TeamUpdateBottomSheet.tsx
@@ -3,7 +3,10 @@ import BottomSheet from '../Components/BottomSheet/BottomSheet';
import HubOnboardingImage from '../Components/BottomSheet/HubOnboardingImage/OnboardingImage';
import { FEATURE_ID } from '../../Shared/Common/constant';
import { useAllsparkTranslation } from '@walmart/allspark-foundation/Translation';
-import { telemetryEventsHandler, telemetryLogHandler } from '../../Shared/Common/utils';
+import {
+ telemetryEventsHandler,
+ telemetryLogHandler,
+} from '../../Shared/Common/utils';
import { useTelemetryService } from '@walmart/allspark-foundation/Telemetry';
import { LoggerService } from '@walmart/allspark-foundation/Logger';
import { AllsparkNavigationClient } from '@walmart/allspark-foundation';
--- packages/allspark-foundation-hub/src/Store/Modules/TeamSelection/Utils/sectionListData.ts
@@ -1,5 +1,10 @@
import { isEmpty } from 'lodash';
-import { Areas, MyAreaType, AreaTeamMap, Team } from '../../../../Shared/Common/types';
+import {
+ Areas,
+ MyAreaType,
+ AreaTeamMap,
+ Team,
+} from '../../../../Shared/Common/types';
export function createSections(
myArea: MyAreaType,
--- packages/allspark-foundation-hub/src/SupplyChain/Components/EditSavedTeams/EditSavedTeams.tsx
@@ -75,9 +75,9 @@ const EditSavedTeams = ({ handleEdit }: { handleEdit: () => void }) => {
? teams
: [
{
- teamId: Images['Default'].teamName,
+ teamId: Images.Default.teamName,
teamName: t('teamShiftSwitcher.defaultTeam'),
- teamImage: Images['Default'],
+ teamImage: Images.Default,
},
],
errors: [],
| Update tests | Update tests
|
dda979405e5cc44525bccdc4dab8458d60e4e536 | --- src/components/index.ts
@@ -1,6 +1,2 @@
-export * from './ActionButton';
-export * from './AssociateRosterItem';
export * from './Avatar';
-export * from './MessagesHeader';
-export * from './MessageTimeSectionHeader';
-export * from './TeamList';
+
| remove unused components | remove unused components
|
4e348e7645e1ebb80102f2419ce3ff44ad8d59a9 | --- package-lock.json
@@ -88,7 +88,7 @@
"@walmart/time-clock-mini-app": "2.175.0",
"@walmart/topstock-mini-app": "1.2.3",
"@walmart/ui-components": "1.15.1",
- "@walmart/welcomeme-mini-app": "0.84.2",
+ "@walmart/welcomeme-mini-app": "0.84.2-739-bacf009",
"@walmart/wfm-ui": "0.2.26",
"axios": "~1.2.6",
"axios-cache-adapter": "2.7.3",
@@ -9378,9 +9378,9 @@
}
},
"node_modules/@walmart/welcomeme-mini-app": {
- "version": "0.84.2",
- "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.84.2.tgz",
- "integrity": "sha512-GrfZ5kEikWroSeP9jbI/107wg9mGr+453o5i664s3YBhGKm0tAd3lCbT/8evRTLeUsgMJfWBHWNHISNb+1vEoA==",
+ "version": "0.84.2-739-bacf009",
+ "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.84.2-739-bacf009.tgz",
+ "integrity": "sha512-mKogz2WJZZw1xTK2VD/6FHSBsz74j2Znj6EwPVFh+sOu9Q7d2KYffJ9d0Ap5/IwjJoqaYd9t6hJAYfgN7mq3Tg==",
"hasInstallScript": true,
"dependencies": {
"apisauce": "^1.1.2"
@@ -34031,9 +34031,9 @@
}
},
"@walmart/welcomeme-mini-app": {
- "version": "0.84.2",
- "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.84.2.tgz",
- "integrity": "sha512-GrfZ5kEikWroSeP9jbI/107wg9mGr+453o5i664s3YBhGKm0tAd3lCbT/8evRTLeUsgMJfWBHWNHISNb+1vEoA==",
+ "version": "0.84.2-739-bacf009",
+ "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.84.2-739-bacf009.tgz",
+ "integrity": "sha512-mKogz2WJZZw1xTK2VD/6FHSBsz74j2Znj6EwPVFh+sOu9Q7d2KYffJ9d0Ap5/IwjJoqaYd9t6hJAYfgN7mq3Tg==",
"requires": {
"apisauce": "^1.1.2"
}
--- package.json
@@ -129,7 +129,7 @@
"@walmart/time-clock-mini-app": "2.175.0",
"@walmart/topstock-mini-app": "1.2.3",
"@walmart/ui-components": "1.15.1",
- "@walmart/welcomeme-mini-app": "0.84.2",
+ "@walmart/welcomeme-mini-app": "0.84.2-739-bacf009",
"@walmart/wfm-ui": "0.2.26",
"axios": "~1.2.6",
"axios-cache-adapter": "2.7.3",
| chore: welcomeme version bump | chore: welcomeme version bump
|
7e340475689a44398f2e21bb99941d1bb70f12af | --- __tests__/services/TextingApi.test.ts
@@ -201,7 +201,7 @@ describe('TextingApi', () => {
}),
);
expect(logger.error).toHaveBeenCalledWith('texing blob', {
- message: 'error while fetching sasToken',
+ message: 'error while fetching sasToken: Error: API error',
});
expect(result).toBe('');
});
| fix(ui): fixing test | fix(ui): fixing test
|
8c947097178f578a5da6b91ec51a7a8b3129d221 | --- .yarn/patches/@walmart-react-native-webex-sdk-npm-0.8.40-d3d8ef2340.patch
@@ -1,42 +0,0 @@
-diff --git a/CallingSdk.podspec b/CallingSdk.podspec
-index 8a1ddb93d50eaa7601f191248d0bf121f1633898..3444549b3e4d13de3192cc9faf45421c7a6340c5 100644
---- a/CallingSdk.podspec
-+++ b/CallingSdk.podspec
-@@ -22,7 +22,7 @@ Pod::Spec.new do |s|
- }
- s.dependency "React-Core"
- s.dependency "WebexSDK/Wxc", "= 3.11.5"
-- s.dependency 'SumoSDK', '~> 2.7.2'
-+ s.dependency 'SumoSDK', '~> 2.8.0'
- s.dependency 'react-native-logger'
- s.xcconfig = {
- "HEADER_SEARCH_PATHS" => '"${PODS_CONFIGURATION_BUILD_DIR}/SumoSDK/Swift Compatibility Header"'
-diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml
-index 95407521faf5a919c91354f66fcc5b4b0125d319..6c9b0a0541f2338097cb30126430074faf082ca5 100644
---- a/android/src/main/AndroidManifest.xml
-+++ b/android/src/main/AndroidManifest.xml
-@@ -6,7 +6,6 @@
- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
- <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
- <uses-permission android:name="android.permission.VIBRATE" />
-- <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
- <uses-permission android:name="android.permission.MANAGE_OWN_CALLS"/>
- <uses-permission android:name="android.permission.BIND_TELECOM_CONNECTION_SERVICE" />
- <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
-@@ -17,16 +16,13 @@
- <uses-permission
- android:name="android.permission.READ_PHONE_STATE"
- tools:remove="android:maxSdkVersion" />
-- <uses-permission android:name="android.permission.MANAGE_OWN_CALLS"/>
- <uses-permission android:name="android.permission.CALL_PHONE" />
- <uses-permission android:name="android.permission.READ_PHONE_NUMBERS" />
-- <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
- <!-- Permissions needed for toggling audio during call -->
- <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
- <!-- Permissions needed access webex sdk logs -->
- <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
- <uses-permission android:name="android.permission.READ_INTERNAL_STORAGE" />
-- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
-
- <application>
- <provider
--- package.json
@@ -90,7 +90,7 @@
"@walmart/avp-feature-app": "0.16.19",
"@walmart/avp-shared-library": "0.10.12",
"@walmart/backroom-mini-app": "1.11.5",
- "@walmart/calling-mini-app": "0.7.52",
+ "@walmart/calling-mini-app": "0.7.60",
"@walmart/checkout-mini-app": "4.13.0",
"@walmart/compass-sdk-rn": "6.2.17",
"@walmart/config-components": "4.9.3",
@@ -138,7 +138,7 @@
"@walmart/react-native-shared-navigation": "~6.3.28",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.8.0",
- "@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.8.40#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.8.40-d3d8ef2340.patch",
+ "@walmart/react-native-webex-sdk": "0.8.50",
"@walmart/receipt-check-miniapp": "1.30.2",
"@walmart/redux-store": "~6.3.28",
"@walmart/returns-mini-app": "4.17.0",
--- yarn.lock
@@ -7916,9 +7916,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/calling-mini-app@npm:0.7.52":
- version: 0.7.52
- resolution: "@walmart/calling-mini-app@npm:0.7.52::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcalling-mini-app%2F-%2F%40walmart%2Fcalling-mini-app-0.7.52.tgz"
+"@walmart/calling-mini-app@npm:0.7.60":
+ version: 0.7.60
+ resolution: "@walmart/calling-mini-app@npm:0.7.60::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcalling-mini-app%2F-%2F%40walmart%2Fcalling-mini-app-0.7.60.tgz"
peerDependencies:
"@react-native-community/datetimepicker": ">=5"
"@react-navigation/native": ">=6"
@@ -7967,7 +7967,7 @@ __metadata:
dependenciesMeta:
"@walmart/wmconnect-mini-app":
built: false
- checksum: 10c0/a4da367e56a7d2a5582fbfaf39a96f8b82552772bd92c0afd12840ffbb761df387db80d1ca70460746d33133ac7e2fdad7ff991e76e08d0c151b36ca2752f3c2
+ checksum: 10c0/e0d7e98981bb8e6c4a2f4092b2aa3eb87c9a0c8bbc759ec06a327d9b442558bf60fcb165cbdcd74c1999b1be88e053027175d75f193cce7c010882a87c46e5e2
languageName: node
linkType: hard
@@ -8689,7 +8689,7 @@ __metadata:
"@walmart/avp-feature-app": "npm:0.16.19"
"@walmart/avp-shared-library": "npm:0.10.12"
"@walmart/backroom-mini-app": "npm:1.11.5"
- "@walmart/calling-mini-app": "npm:0.7.52"
+ "@walmart/calling-mini-app": "npm:0.7.60"
"@walmart/checkout-mini-app": "npm:4.13.0"
"@walmart/compass-sdk-rn": "npm:6.2.17"
"@walmart/config-components": "npm:4.9.3"
@@ -8737,7 +8737,7 @@ __metadata:
"@walmart/react-native-shared-navigation": "npm:~6.3.28"
"@walmart/react-native-store-map": "npm:0.3.7"
"@walmart/react-native-sumo-sdk": "npm:2.8.0"
- "@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.8.40#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.8.40-d3d8ef2340.patch"
+ "@walmart/react-native-webex-sdk": "npm:0.8.50"
"@walmart/receipt-check-miniapp": "npm:1.30.2"
"@walmart/redux-store": "npm:~6.3.28"
"@walmart/returns-mini-app": "npm:4.17.0"
@@ -9271,25 +9271,14 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/react-native-webex-sdk@npm:0.8.40":
- version: 0.8.40
- resolution: "@walmart/react-native-webex-sdk@npm:0.8.40::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Freact-native-webex-sdk%2F-%2F%40walmart%2Freact-native-webex-sdk-0.8.40.tgz"
+"@walmart/react-native-webex-sdk@npm:0.8.50":
+ version: 0.8.50
+ resolution: "@walmart/react-native-webex-sdk@npm:0.8.50::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Freact-native-webex-sdk%2F-%2F%40walmart%2Freact-native-webex-sdk-0.8.50.tgz"
peerDependencies:
react: "*"
react-native: "*"
react-native-logger: "*"
- checksum: 10c0/1423dfee1a4ad74b44aeae37f8498db6ad435d026ebe3888340b74a76876ab9030f2a9697c93c724fb58a93f12aca47a22f80ddf08a2628476b402f3f8e7bf5d
- languageName: node
- linkType: hard
-
-"@walmart/react-native-webex-sdk@patch:@walmart/react-native-webex-sdk@npm%3A0.8.40#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.8.40-d3d8ef2340.patch":
- version: 0.8.40
- resolution: "@walmart/react-native-webex-sdk@patch:@walmart/react-native-webex-sdk@npm%3A0.8.40%3A%3A__archiveUrl=https%253A%252F%252Fnpm.ci.artifacts.walmart.com%253A443%252Fartifactory%252Fapi%252Fnpm%252Fnpme-npm%252F%2540walmart%252Freact-native-webex-sdk%252F-%252F%2540walmart%252Freact-native-webex-sdk-0.8.40.tgz#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.8.40-d3d8ef2340.patch::version=0.8.40&hash=3153d3"
- peerDependencies:
- react: "*"
- react-native: "*"
- react-native-logger: "*"
- checksum: 10c0/edf2fce80da502471d0619fd9fcd8a393e4dd29314d2632acb21df5e2c1c43c45ef8b54b7274ac64916f264367326a089c4696c763358b9533bb62a440fa876f
+ checksum: 10c0/3b76a04f27505fe35976e39077ef1ff8aaeb13f9feed922a18e2c0a949e26accffc73bcad271078368ec7b794fc74a9a1a21a622559f44bed0442667d9ac06f9
languageName: node
linkType: hard
| fix: CONAS-2000 Calling Bug Fixes Drop 31 (#4317) | fix: CONAS-2000 Calling Bug Fixes Drop 31 (#4317)
Co-authored-by: Aswin Das <Aswin.Das@walmart.com>
Co-authored-by: Maksym Novakh - m0n09mr <Maksym.Novakh0@walmart.com> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.