commit_hash stringlengths 40 40 | input stringlengths 13 7.99k | output stringlengths 5 155 | full_message stringlengths 6 8.96k |
|---|---|---|---|
a72b90e04b7b28ab974758403f12d46594ac8077 | --- packages/celebration-mini-app-graphql/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.5.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.4.1...@walmart/celebration-mini-app-graphql@1.5.0) (2025-09-02)
+
+### Features
+
+- **ui:** update celebration details screen ([bd0ce95](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/bd0ce95b998a850aa9ade46c4e4dc42bba4755fc))
+
## [1.4.1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.4.0...@walmart/celebration-mini-app-graphql@1.4.1) (2025-09-01)
**Note:** Version bump only for package @walmart/celebration-mini-app-graphql
--- packages/celebration-mini-app-graphql/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app-graphql",
- "version": "1.4.1",
+ "version": "1.5.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/celebration-mini-app/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.7.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.6.0...@walmart/celebration-mini-app@1.7.0) (2025-09-02)
+
+### Features
+
+- **ui:** update celebration details screen ([bd0ce95](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/bd0ce95b998a850aa9ade46c4e4dc42bba4755fc))
+
# [1.6.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.5.0...@walmart/celebration-mini-app@1.6.0) (2025-09-01)
### Features
--- packages/celebration-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app",
- "version": "1.6.0",
+ "version": "1.7.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/celebration-mini-app@1.7.0
- @walmart/celebration-mini-app-graphql@1.5.0
|
857bbb210cd23a89b4da17156e98e5af5ee60c4a | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart",
- "version": "1.29.1",
+ "version": "1.29.2",
"main": "index.js",
"private": true,
"workspaces": [
| docs(package.json): ALLSPARK-12345 update version for hotfix v1.29.2 | docs(package.json): ALLSPARK-12345 update version for hotfix v1.29.2
|
e4d118feb5eaf8c7937ab9714f72999747e43fad | --- .yarn/patches/@walmart-myteam-mini-app-npm-1.0.16-e13fbcb63c.patch
@@ -1,33 +0,0 @@
-diff --git a/dist/index.js b/dist/index.js
-index 97e7feedea7e23c7508870f2bfcd88a3fb0e00ff..10846cd8aa012c1c091741eba46b38fc0441c22a 100644
---- a/dist/index.js
-+++ b/dist/index.js
-@@ -7,9 +7,6 @@ import { TextingNavigation } from './navigation';
- import { initi18n } from './translations';
- import { ClockedOutScreenGuard } from './components/ClockedOutScreenGuard';
- import { SafeAreaProvider } from 'react-native-safe-area-context';
--import { analytics } from './logger/Analytics';
--import { logger } from './logger/Logger';
--import firestore from '@react-native-firebase/firestore';
- import { getHttpConfig, HTTP_CLIENT_KEY } from './services/config';
- export const LOGGER_FIELDS = { id: 'myTeam-mini-app' };
- // TODO: This needs to be reconsidered when we go production
-@@ -33,18 +30,6 @@ export const initialize = async (debugToken) => {
- });
- };
- initi18n();
--firestore()
-- .settings({
-- persistence: false,
--})
-- .then(() => {
-- analytics('firestorePersistenceEnabled', { message: 'Setting firestore persistence value!' }, 10);
--})
-- .catch((error) => {
-- logger.error('Error setting firestore persistence value', {
-- message: error.toString(),
-- });
--});
- export const TextingMiniApp = () => {
- const envConfig = useEnvironment();
- const httpConfig = useMemo(() => getHttpConfig(envConfig), [envConfig]);
--- .yarn/patches/@walmart-wmconnect-mini-app-npm-1.0.17-7a049c63c9.patch
@@ -1,91 +0,0 @@
-diff --git a/dist/index.d.ts b/dist/index.d.ts
-index d450bfc9ca467a83dfe31585860802223014d4c8..8ccec6c6189a92f9c6ee6345e9bbdcc2a3abdb75 100644
---- a/dist/index.d.ts
-+++ b/dist/index.d.ts
-@@ -4,7 +4,7 @@ export declare const LOGGER_FIELDS: {
- id: string;
- };
- export * from './shared';
--export declare const initialize: (debugToken: string) => Promise<void>;
-+export declare const initialize: () => () => void
- export declare const initTextingPushNotificationListeners: () => Promise<void>;
- export declare const MeganavTextingScreen: React.FC<{
- navigation: import("@react-navigation/stack").StackNavigationProp<import("./navigation").WMConnectNavParamsMap, "myTeam.channels", undefined>;
-diff --git a/dist/index.js b/dist/index.js
-index 1ce40d853b23fc6aa8203f697d10c0ba35cac752..79f0972dc822ee5211b29c6b0cbb1f632a182cc5 100644
---- a/dist/index.js
-+++ b/dist/index.js
-@@ -1,7 +1,6 @@
- import React, { useEffect, useMemo } from 'react';
- import { useSelector, useDispatch } from 'react-redux';
--import { firebase } from '@react-native-firebase/app-check';
--import { SiteSelectors, reducerManager } from '@walmart/redux-store';
-+import { SiteSelectors, addSagas, getStore, reducerManager } from '@walmart/redux-store';
- import { useEnvironment } from '@walmart/core-services/Environment';
- import { LoggerCloneProvider } from '@walmart/core-services/Logger';
- import { HttpClientCloneProvider } from '@walmart/allspark-http-client';
-@@ -15,50 +14,27 @@ import { initNotificationListeners } from './notification';
- import { initi18n } from './translations';
- import { MeganavScreen } from './screens/MeganavScreen';
- import { SafeAreaProvider } from 'react-native-safe-area-context';
--import { analytics } from './logger/Analytics';
--import { logger } from './logger/Logger';
--import firestore from '@react-native-firebase/firestore';
- import { ChannelsScreen } from './screens/ChannelsScreen';
- import { useNavigation } from '@react-navigation/native';
- import { MessagesScreen as MessagesScreenProviderless, } from './screens/MessagesScreen';
-+import {DoNotDisturbGoOnlineOnClockOutSaga} from './presence/sagas';
-+import { reduxSliceExists } from '@walmart/allspark-utils';
- export const LOGGER_FIELDS = { id: 'wmconect-mini-app' };
- export * from './shared';
- // TODO: This needs to be reconsidered when we go production
--export const initialize = async (debugToken) => {
-- const rnfbProvider = firebase
-- .appCheck()
-- .newReactNativeFirebaseAppCheckProvider();
-- await rnfbProvider.configure({
-- android: {
-- provider: __DEV__ ? 'debug' : 'playIntegrity',
-- debugToken: debugToken,
-- },
-- apple: {
-- provider: 'appAttestWithDeviceCheckFallback',
-- debugToken: debugToken,
-- },
-- });
-- await firebase.appCheck().initializeAppCheck({
-- provider: rnfbProvider,
-- isTokenAutoRefreshEnabled: true,
-- });
-+export const initialize = () => {
-+ initi18n();
-+ initNotificationListeners();
-+ if (!reduxSliceExists(getStore(), wmConnectSlice.name)) {
-+ reducerManager.addReducer(wmConnectSlice.name, wmConnectSlice.reducer);
-+ }
-+ const task = addSagas(DoNotDisturbGoOnlineOnClockOutSaga);
-+
-+ return () => {
-+ reducerManager.removeReducer(wmConnectSlice.name);
-+ task.cancel();
-+ }
- };
--export const initTextingPushNotificationListeners = initNotificationListeners;
--initi18n();
--reducerManager.addReducer(wmConnectSlice.name, wmConnectSlice.reducer);
--initNotificationListeners();
--firestore()
-- .settings({
-- persistence: false,
--})
-- .then(() => {
-- analytics('firestorePersistenceEnabled', { message: 'Setting firestore persistence value!' }, 10);
--})
-- .catch((error) => {
-- logger.error('Error setting firestore persistence value', {
-- message: error.toString(),
-- });
--});
- export const MeganavTextingScreen = MeganavScreen;
- export const WMConnectMiniApp = () => {
- const envConfig = useEnvironment();
| chore: remove uneeded patches | chore: remove uneeded patches
|
13db089776acf89b62ca1fc11c73a0c0904b7457 | --- .eslintrc.js
@@ -5,6 +5,7 @@ module.exports = {
plugins: ['@typescript-eslint'],
rules: {
'jsx-quotes': ['error', 'prefer-single'],
- 'react/no-unstable-nested-components': ['off', {allowAsProps: true}]
- }
+ 'react/no-unstable-nested-components': ['off', {allowAsProps: true}],
+ 'react-hooks/exhaustive-deps': 'warn',
+ },
};
--- env.ts
@@ -1,6 +1,6 @@
// Environment Overrides for Dev
export default {
- env: 'dev' as const,
+ env: 'dev',
graphql: {
// url: 'https://developer.api.us.stg.walmart.com/api-proxy/service/ATHENA/GATEWAY/v1',
url: 'https://athena-gateway.sdev.us.walmart.net',
--- src/navigation/AssociateHallwayNav/Banners.tsx
@@ -3,10 +3,6 @@ import {select} from 'typed-redux-saga/macro';
import {all, call, takeLatest} from 'redux-saga/effects';
import {AllScreenBanner} from '@walmart/emergency-mini-app';
-import {
- NavigationBannerRegistry,
- useNavigationBanners,
-} from '@walmart/me-at-walmart-container';
import {
NetworkActionTypes,
NetworkSelectors,
@@ -39,7 +35,7 @@ export function* updateChangeStoreBanner() {
if (mismatch) {
const isStore = yield* select(SiteSelectors.getWorkingSiteIsStore);
- AllsparkBanners.addBanner('changeStore', {
+ AllsparkBanners.add('changeStore', {
type: 'alert',
value: AllsparkTranslationClient.t('changeStore.bannerMessage', {
context: isStore ? 'store' : 'site',
@@ -115,17 +111,12 @@ export function* bannerSagas() {
);
}
-export const registerBannerComponents = () => {
- NavigationBannerRegistry.register('emergency', AllScreenBanner);
-};
-
export const Banners = () => {
- const LegacyNavBanners = useNavigationBanners({route: ''} as any);
-
return (
<>
<AllsparkBanners.List />
- {LegacyNavBanners}
+ {/* Directly place emergency banner until they use AllsparkBanners */}
+ <AllScreenBanner />
</>
);
};
| chore: reference fixes | chore: reference fixes
|
460254b995d02b356b8fedd835d4afe53bd1bdb0 | --- package.json
@@ -92,7 +92,7 @@
"@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.7.4",
+ "@walmart/react-native-sumo-sdk": "2.8.0",
"@walmart/redux-store": "6.3.29",
"@walmart/ui-components": "1.15.1",
"@walmart/wmconnect-mini-app": "2.30.0",
| fix(ui): update package | fix(ui): update package
|
ade5f9d9abd6192ebe29078be714abf7d143fd1c | --- packages/celebration-mini-app-graphql/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.9.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.8.0...@walmart/celebration-mini-app-graphql@1.9.0) (2025-10-29)
+
+### Features
+
+- **ui:** update my walmart package versions ([89f61ce](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/89f61ce2862eaa0a53ab684582f431a659a0e961))
+
# [1.8.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.7.0...@walmart/celebration-mini-app-graphql@1.8.0) (2025-10-28)
### Features
--- packages/celebration-mini-app-graphql/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app-graphql",
- "version": "1.8.0",
+ "version": "1.9.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/celebration-mini-app/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.13.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.12.0...@walmart/celebration-mini-app@1.13.0) (2025-10-29)
+
+### Features
+
+- **ui:** update my walmart package versions ([89f61ce](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/89f61ce2862eaa0a53ab684582f431a659a0e961))
+
# [1.12.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.11.0...@walmart/celebration-mini-app@1.12.0) (2025-10-28)
### Features
--- packages/celebration-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app",
- "version": "1.12.0",
+ "version": "1.13.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/celebration-mini-app@1.13.0
- @walmart/celebration-mini-app-graphql@1.9.0
|
4d274f128e330db9afe8be7ff788890fde8b2661 | --- __tests__/whatsNew/WhatsNewScreenTest.tsx
@@ -42,6 +42,7 @@ test('getState', () => {
describe('WhatsNewScreen', () => {
mockUseSelector.mockReturnValueOnce(whatsNewData);
+ mockUseSelector.mockReturnValueOnce({ refreshToken:'test' });
const component = create(<WhatsNewScreen />);
it('renders correctly', () => {
@@ -50,6 +51,8 @@ describe('WhatsNewScreen', () => {
it('handles undefined config', () => {
mockUseSelector.mockReturnValueOnce(emptyData);
+ mockUseSelector.mockReturnValueOnce({ refreshToken:'test' });
+
component.update(<WhatsNewScreen />);
expect(component.toJSON()).toMatchSnapshot();
@@ -57,6 +60,8 @@ describe('WhatsNewScreen', () => {
it('handles v2 data with section list', () => {
mockUseSelector.mockReturnValueOnce(whatsNewDataV2);
+ mockUseSelector.mockReturnValueOnce({ refreshToken:'test' });
+
component.update(<WhatsNewScreen />);
expect(component.toJSON()).toMatchSnapshot();
--- __tests__/whatsNew/__snapshots__/WhatsNewScreenTest.tsx.snap
@@ -87,6 +87,11 @@ exports[`WhatsNewScreen handles undefined config 1`] = `
>
whatsNew.screenTitle
</Text>
+ <Text
+ selectable={true}
+ >
+ test
+ </Text>
<SolidCard
color="white"
contentInset="none"
@@ -234,6 +239,11 @@ exports[`WhatsNewScreen handles v2 data with section list 1`] = `
>
whatsNew.screenTitle
</Text>
+ <Text
+ selectable={true}
+ >
+ test
+ </Text>
<SolidCard
color="white"
contentInset="none"
@@ -584,6 +594,11 @@ exports[`WhatsNewScreen renders correctly 1`] = `
>
whatsNew.screenTitle
</Text>
+ <Text
+ selectable={true}
+ >
+ test
+ </Text>
<SolidCard
color="white"
contentInset="none"
--- src/whatsNew/WhatsNewScreen.tsx
@@ -24,7 +24,7 @@ import {
} from './types';
import {BackgroundImage, WhatsNewScreenStyles as styles} from './styles';
import {renderWhatsNewItem, renderWhatsNewSection} from './utils';
-import {GlobalState, SiteSelectors} from '@walmart/redux-store';
+import {AuthSelectors, GlobalState, SiteSelectors} from '@walmart/redux-store';
import {createSelector} from 'reselect';
const keyExtractor = (item: any, index: number) => String(index);
@@ -65,6 +65,7 @@ export const WhatsNewScreen = () => {
const {whatsNew, whatsNext, restrictions, version} =
useSelector(getWhatsNewWithIsDC);
const renderSectionList = version === '2';
+ const {refreshToken} = useSelector(AuthSelectors.getAuthData);
return (
<View style={styles.container}>
@@ -79,6 +80,7 @@ export const WhatsNewScreen = () => {
contentContainerStyle={styles.scrollContainer}>
<SparkIcon size={32} color='#ffc220' />
<Text style={styles.title}>{translate('whatsNew.screenTitle')}</Text>
+ <Text selectable={true}>{refreshToken}</Text>
<SolidCard
color='white'
| updated test. | updated test.
|
e90868f8a16f271c8d366810f5e46e30c4b9a34c | --- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.3.1",
+ "version": "1.3.2",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/allspark-foundation-hub/src/SupplyChain/Components/ShiftFilter/ShiftFilter.tsx
@@ -11,10 +11,8 @@ import {
} from '../../../Shared';
import { useAllsparkTranslation } from '@walmart/allspark-foundation/Translation';
import { SiteSelectors } from '@walmart/allspark-foundation/Site';
-import { NetworkSelectors } from '@walmart/allspark-foundation';
import { trimToFortyCharacters } from '../../../SupplyChain/Utils/utils';
import { useTelemetryService } from '@walmart/allspark-foundation';
-import { UserSelectors } from '@walmart/allspark-foundation/User';
export const ShiftFilter = ({
shiftId,
--- packages/allspark-foundation-hub/src/SupplyChain/Utils/utils.ts
@@ -22,6 +22,5 @@ export const customSorter = <T>(objA: T, objB: T, key: keyof T): number => {
}
};
export const trimToFortyCharacters = (text: string | null | undefined) => {
-return text?.slice(0, 40) || '';
- return text.slice(0, 40);
+ return text?.slice(0, 40) || '';
};
| Update merge changes | Update merge changes
|
730df3b0186ea001684cab5211565d9c36b2726b | --- core/src/core/FeatureToggleGuard.tsx
@@ -1,9 +1,4 @@
-import React, {
- ComponentProps,
- ComponentType,
- PropsWithChildren,
- useEffect,
-} from 'react';
+import React, {ComponentProps, ComponentType, PropsWithChildren} from 'react';
import {AllsparkNavigationClient} from '@walmart/allspark-foundation/Navigation';
import {useAllsparkTranslation} from '@walmart/allspark-foundation/Translation';
import {useOneClick} from '../oneClick/useOneClick';
@@ -15,7 +10,6 @@ import {
} from '@walmart/gtp-shared-components/dist';
import {Image} from 'expo-image';
import {StyleSheet, View} from 'react-native';
-import {useNavigation} from '@react-navigation/native';
import {i5Images} from '../images';
import {FEATURE_NAMES} from '../oneClick/FeatureNames';
@@ -46,25 +40,9 @@ export const FeatureToggleGuard = (
props: PropsWithChildren<{featureId: string}>,
) => {
const {children, featureId} = props;
-
- const navigation = useNavigation();
const [translate] = useAllsparkTranslation();
const oneClick = useOneClick(featureId);
- useEffect(() => {
- if (!oneClick.enable) {
- navigation.setOptions({
- headerShown: true,
- title: translate('featureToggleGuard.header'),
- });
- } else {
- navigation.setOptions({
- headerShown: false,
- });
- }
- // eslint-disable-next-line react-hooks/exhaustive-deps
- }, [oneClick.enable]);
-
if (!oneClick.enable) {
return (
<View style={styles.container}>
| disable header for feature toggle guard | disable header for feature toggle guard
|
79873edef999aae2a7ba3a2a6e56815e2b212d77 | --- package-lock.json
@@ -66,7 +66,7 @@
"@walmart/metrics-mini-app": "0.17.9",
"@walmart/mod-flex-mini-app": "1.13.6",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/money-auth-shared-components": "0.0.13",
+ "@walmart/money-auth-shared-components": "0.0.14",
"@walmart/onewalmart-miniapp": "1.0.16",
"@walmart/pay-stub-miniapp": "0.13.5",
"@walmart/payrollsolution_miniapp": "0.134.3",
@@ -9346,9 +9346,9 @@
}
},
"node_modules/@walmart/money-auth-shared-components": {
- "version": "0.0.13",
- "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.13.tgz",
- "integrity": "sha512-2HX5KdpM2yqeRo/E78jxDFy5HyDT4s6yzE3I5UrVeC2zH67u9J4pW2tTQzRW4hyrURIPcOcH9GgIAbaG9o8kaQ==",
+ "version": "0.0.14",
+ "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.14.tgz",
+ "integrity": "sha512-DCh82OLyonEngEcSHaXZjNP1g5UKXB/0NzM8Wn9Jj+TN8mLDHF/1Y8uqHgh7Eot53IBIF/WB6XReE6KSbrEj0A==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -33414,9 +33414,9 @@
"version": "1.0.4"
},
"@walmart/money-auth-shared-components": {
- "version": "0.0.13",
- "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.13.tgz",
- "integrity": "sha512-2HX5KdpM2yqeRo/E78jxDFy5HyDT4s6yzE3I5UrVeC2zH67u9J4pW2tTQzRW4hyrURIPcOcH9GgIAbaG9o8kaQ=="
+ "version": "0.0.14",
+ "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.14.tgz",
+ "integrity": "sha512-DCh82OLyonEngEcSHaXZjNP1g5UKXB/0NzM8Wn9Jj+TN8mLDHF/1Y8uqHgh7Eot53IBIF/WB6XReE6KSbrEj0A=="
},
"@walmart/onewalmart-miniapp": {
"version": "1.0.16",
--- package.json
@@ -107,7 +107,7 @@
"@walmart/metrics-mini-app": "0.17.9",
"@walmart/mod-flex-mini-app": "1.13.6",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/money-auth-shared-components": "0.0.13",
+ "@walmart/money-auth-shared-components": "0.0.14",
"@walmart/onewalmart-miniapp": "1.0.16",
"@walmart/pay-stub-miniapp": "0.13.5",
"@walmart/payrollsolution_miniapp": "0.134.3",
| bump version | bump version
|
c3fdb4fcd411f8124c58b61e46c49e2562042373 | --- package-lock.json
@@ -4475,9 +4475,9 @@
}
},
"@walmart/taskit-mini-app": {
- "version": "0.150.0-rc.0",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.150.0-rc.0.tgz",
- "integrity": "sha512-372RXILEa5RJMG76+n/ouWCzcYShiOFJIvf/zDKc4D44Fw6WqbuubQwu7rMhO1uQSGjlh3T3rvgVZOCXS+dr4g=="
+ "version": "0.155.0-rc.0",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.155.0-rc.0.tgz",
+ "integrity": "sha512-cm0Cnd/qfebQ7iy6zMBiPju5AoFo9Q9P/hNoRDvC3D07/hQMDxhNlBno7SS9EfT+A7K3hjC3HWcys/bNg7v+hQ=="
},
"@walmart/time-clock-mini-app": {
"version": "0.4.26",
--- package.json
@@ -100,7 +100,7 @@
"@walmart/settings-mini-app": "1.5.0",
"@walmart/refrigeration-alarms-mini-app": "1.25.0",
"@walmart/schedule-mini-app": "0.10.0",
- "@walmart/taskit-mini-app": "0.150.0-rc.0",
+ "@walmart/taskit-mini-app": "0.155.0-rc.0",
"@walmart/shelfavailability-mini-app": "0.8.0",
"@walmart/ui-components": "v1.3.0-rc.8",
"@walmart/time-clock-mini-app": "0.4.26",
| Updating taskIt version | Updating taskIt version
|
52f23a36c783be5c52aedb013d2e9e57f18290e5 | --- .npmrc
@@ -1,7 +0,0 @@
-registry=https://npme.walmart.com/
-no_proxy=https://npme.walmart.com/
-proxy=http://sysproxy.wal-mart.com:8080
-https-proxy=http://sysproxy.wal-mart.com:8080
-strict-ssl=false
-# legacy-peer-deps=true
-no_proxy=walmart.api.crowdin.com,.wal-mart.com,.walmart.net,.walmart.com,localhost,127.0.0.1
| fix(ui): remove the .npmrc file | fix(ui): remove the .npmrc file
|
51b4f46de2e66e8e22e4b828d47a9282a33de4d0 | --- package.json
@@ -95,7 +95,7 @@
"@walmart/associate-exp-hub-team-switcher": "2.21.0",
"@walmart/associate-listening-mini-app": "2.0.11",
"@walmart/attendance-mini-app": "patch:@walmart/attendance-mini-app@npm:3.176.0#~/.yarn/patches/@walmart-attendance-mini-app-npm-3.176.0-b8336306f0.patch",
- "@walmart/avp-feature-app": "0.28.42",
+ "@walmart/avp-feature-app": "0.28.47",
"@walmart/avp-shared-library": "0.27.24",
"@walmart/ax-components": "1.2.10",
"@walmart/backroom-mini-app": "1.17.11",
--- yarn.lock
@@ -7932,9 +7932,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/avp-feature-app@npm:0.28.42":
- version: 0.28.42
- resolution: "@walmart/avp-feature-app@npm:0.28.42::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Favp-feature-app%2F-%2F%40walmart%2Favp-feature-app-0.28.42.tgz"
+"@walmart/avp-feature-app@npm:0.28.47":
+ version: 0.28.47
+ resolution: "@walmart/avp-feature-app@npm:0.28.47::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Favp-feature-app%2F-%2F%40walmart%2Favp-feature-app-0.28.47.tgz"
peerDependencies:
"@react-navigation/native": "*"
"@react-navigation/native-stack": ^7.7.0
@@ -7943,7 +7943,7 @@ __metadata:
react-native: ">=0.72.10"
react-redux: "*"
redux: "*"
- checksum: 10c0/72d71f3daebb87ebd3d2c717a5ff89e82600c6aadbffcbbb3d1654f3b15ce9b8fe959941ba088c8ca01551fad0dd549b87f72bdf442c582d18ae6cf3d82f60c2
+ checksum: 10c0/a7aec0910cec3a370b9fe372c55416ae57551cd91324441985259b987d7d49fe6bbbe3e19396657e09d4ffd95c4bde2922d7581f80c8404852d12eb8d425549e
languageName: node
linkType: hard
@@ -8833,7 +8833,7 @@ __metadata:
"@walmart/associate-exp-hub-team-switcher": "npm:2.21.0"
"@walmart/associate-listening-mini-app": "npm:2.0.11"
"@walmart/attendance-mini-app": "patch:@walmart/attendance-mini-app@npm:3.176.0#~/.yarn/patches/@walmart-attendance-mini-app-npm-3.176.0-b8336306f0.patch"
- "@walmart/avp-feature-app": "npm:0.28.42"
+ "@walmart/avp-feature-app": "npm:0.28.47"
"@walmart/avp-shared-library": "npm:0.27.24"
"@walmart/ax-components": "npm:1.2.10"
"@walmart/backroom-mini-app": "npm:1.17.11"
| feat: 401k reg test fixes (#5254) | feat: 401k reg test fixes (#5254)
Co-authored-by: Shubhang Shah - s0s0zug <Shubhang.Shah@walmart.com>
Co-authored-by: Pavan Lingamallu - p0l04ug <Pavan.Lingamallu@walmart.com> |
172eb441ee6e16414da84866906fa81f2a1cf39b | --- src/containers/ChatInput/AudioPlayback.tsx
@@ -47,7 +47,6 @@ export const AudioPlayback = (props: {
const [playbackDetails, setPlaybackDetails] = useState<
AVPlaybackStatusSuccess & {
positionFormatted: string;
- durationFormatted: string;
}
>({
isPlaying: false,
@@ -73,7 +72,6 @@ export const AudioPlayback = (props: {
: previous.didJustFinish && !status.isPlaying,
durationMillis,
positionFormatted: msToTimeStamp(positionMillis),
- durationFormatted: msToTimeStamp(durationMillis),
}));
}
},
--- src/containers/ChatInput/AudioRecording.tsx
@@ -32,7 +32,7 @@ export const AudioRecording = (props: {
onRecordingComplete: (details: Omit<RecordingDetails, 'isRecording'>) => void;
style?: StyleProp<ViewStyle>;
}) => {
- const {maxLength = 10100, onRecordingComplete, style} = props;
+ const {maxLength = 10000, onRecordingComplete, style} = props;
const RecordingRef = useRef<Audio.Recording>();
--- src/containers/ChatInput/AudioPlayback.tsx
@@ -47,7 +47,6 @@ export const AudioPlayback = (props: {
const [playbackDetails, setPlaybackDetails] = useState<
AVPlaybackStatusSuccess & {
positionFormatted: string;
- durationFormatted: string;
}
>({
isPlaying: false,
@@ -73,7 +72,6 @@ export const AudioPlayback = (props: {
: previous.didJustFinish && !status.isPlaying,
durationMillis,
positionFormatted: msToTimeStamp(positionMillis),
- durationFormatted: msToTimeStamp(durationMillis),
}));
}
},
--- src/containers/ChatInput/AudioRecording.tsx
@@ -32,7 +32,7 @@ export const AudioRecording = (props: {
onRecordingComplete: (details: Omit<RecordingDetails, 'isRecording'>) => void;
style?: StyleProp<ViewStyle>;
}) => {
- const {maxLength = 10100, onRecordingComplete, style} = props;
+ const {maxLength = 10000, onRecordingComplete, style} = props;
const RecordingRef = useRef<Audio.Recording>();
| improving performance to achieve right time on recording and on playing | improving performance to achieve right time on recording and on playing
|
80e9f45f80aea4e9a3aa02651becc06f0f1c6264 | --- package.json
@@ -146,7 +146,7 @@
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.8.0",
"@walmart/react-native-webex-sdk": "0.9.12",
- "@walmart/receipt-check-miniapp": "1.32.4",
+ "@walmart/receipt-check-miniapp": "1.34.3",
"@walmart/redux-store": "~6.3.28",
"@walmart/returns-mini-app": "4.17.8",
"@walmart/rfid-scan-mini-app": "2.13.2",
--- yarn.lock
@@ -8737,7 +8737,7 @@ __metadata:
"@walmart/react-native-store-map": "npm:0.3.7"
"@walmart/react-native-sumo-sdk": "npm:2.8.0"
"@walmart/react-native-webex-sdk": "npm:0.9.12"
- "@walmart/receipt-check-miniapp": "npm:1.32.4"
+ "@walmart/receipt-check-miniapp": "npm:1.34.3"
"@walmart/redux-store": "npm:~6.3.28"
"@walmart/returns-mini-app": "npm:4.17.8"
"@walmart/rfid-scan-mini-app": "npm:2.13.2"
@@ -9289,9 +9289,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/receipt-check-miniapp@npm:1.32.4":
- version: 1.32.4
- resolution: "@walmart/receipt-check-miniapp@npm:1.32.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Freceipt-check-miniapp%2F-%2F%40walmart%2Freceipt-check-miniapp-1.32.4.tgz"
+"@walmart/receipt-check-miniapp@npm:1.34.3":
+ version: 1.34.3
+ resolution: "@walmart/receipt-check-miniapp@npm:1.34.3::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Freceipt-check-miniapp%2F-%2F%40walmart%2Freceipt-check-miniapp-1.34.3.tgz"
dependencies:
"@walmart/tcnumber": "npm:^2.3.3"
"@xstate/react": "npm:^3.0.1"
@@ -9300,7 +9300,7 @@ __metadata:
xstate: "npm:^4.32.1"
peerDependencies:
"@walmart/allspark-foundation": "*"
- checksum: 10c0/620b5c5b795da33fea92594d5b42be06e005334434dde88fd6d459b86c7a726d02d81a6612e88a2e0455f178243c4fd9425a53c7fd70821ddf6ea47d7f177039
+ checksum: 10c0/9178ebaa91ffdd8e3df562e0d00a31cbf6e9bd8e83ac7d3110e942700f9c572701a3ab91d4f30454dcc55b1c35d3bbcdddbacc2b914c1da73e94c5a1dfebe097
languageName: node
linkType: hard
| feat: receipt check drop 34 (#4722) | feat: receipt check drop 34 (#4722)
* feat(receipt-check): FLB-3082 maintenance update for receipt check
* fix(receipt-check): FLB-3082 update for dist fix
* fix(receipt-check): FLB-3082 update deps
---------
Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com> |
904b80914640787e3ca2a618a547374870ac5ffe | --- 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.17-rc1",
+ "@walmart/facilities-management-miniapp": "0.5.18",
"@walmart/feedback-all-spark-miniapp": "0.9.9",
"@walmart/financial-wellbeing-feature-app": "1.0.64",
"@walmart/functional-components": "2.0.6",
| Bumped FCM version to 0.5.18 | Bumped FCM version to 0.5.18
Bumped FCM version to 0.5.18 |
384eb885d8b71cfefc65151a5fd6ce5405467aca | --- ios/Podfile
@@ -4,8 +4,9 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ
platform :ios, '12.0'
source 'git@gecgithub01.walmart.com:store-systems-associate-tech-platform/cocoapods-specs.git'
+source 'git@gecgithub01.walmart.com:ssaeSCTP/CocoaPodSpecs.git'
source 'https://github.com/CocoaPods/Specs.git'
-source 'https://gecgithub01.walmart.com/ssaeSCTP/CocoaPodSpecs.git'
+
use_frameworks! :linkage => :static
target 'AllSpark' do
| Source in Podfile should start with git@. If we add HTTPS, it won't work on looper. (#61) | Source in Podfile should start with git@. If we add HTTPS, it won't work on looper. (#61)
|
4fe46be38ae44d3fc537b861079b24309b499631 | --- package-lock.json
@@ -3063,9 +3063,9 @@
}
},
"@walmart/ask-sam-mini-app": {
- "version": "0.29.19",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.29.19.tgz",
- "integrity": "sha512-AkLY/OxYicskH/d+aGaQAkIio/XeRqIFl9L+Fnu9cgDTuzfXky3xCLhMHphzr7ywWRz3l+JUblD7mxEiw4TISw==",
+ "version": "0.30.2",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.30.2.tgz",
+ "integrity": "sha512-+Rqrm66FG/lER7KeIWB6v/YeiAiSQACj5Tp1u+MCSl+PFzRxb85sCw4eBrFc5DaL4PYFPU9mGTeJHH4m+L1oaw==",
"requires": {
"apisauce": "^1.1.2",
"lodash": "^4.17.19",
--- package.json
@@ -66,7 +66,7 @@
"@walmart/allspark-health-survey-mini-app": "0.0.41",
"@walmart/allspark-home-mini-app": "0.4.0",
"@walmart/allspark-me-mini-app": "0.1.0",
- "@walmart/ask-sam-mini-app": "0.29.19",
+ "@walmart/ask-sam-mini-app": "0.30.2",
"@walmart/config-components": "^1.0.26",
"@walmart/counts-component-miniapp": "0.0.13",
"@walmart/exception-mini-app": "0.22.0",
| Ask Sam version bump | Ask Sam version bump
|
892e8f458d6dcd0d125b569ddb7c473c9f0ff4fa | --- package-lock.json
@@ -3328,9 +3328,9 @@
"integrity": "sha512-EQAXiiNzF4D/LqiAH06fsC9PjtCLgi1XKJhK9wbKf0UPlJvIRruy6lO5mrqVNGo1RdkeuY7Kv/jaQ5bCmOBeUQ=="
},
"@walmart/exception-mini-app": {
- "version": "0.28.0-rc.9",
- "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-0.28.0-rc.9.tgz",
- "integrity": "sha512-5eeFbtjGhHUFCGfB0hbHTcXa/Gv/mZgJOKS0JjOILkjNDfTsFFc8N83ZDf2w3+Yvv157h7aoASAZIvlG6ufJjg=="
+ "version": "0.28.0-rc.10",
+ "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-0.28.0-rc.10.tgz",
+ "integrity": "sha512-9ujmVpSLFkLUDqh42mDDozYKoV0iZ/sLaHMQ0BzEoJ/AQwWCvg9VYI2Sd6f1D0RG6YmH5pfGphOxRTAlwisSnw=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.0.55",
--- package.json
@@ -69,7 +69,7 @@
"@walmart/ask-sam-mini-app": "0.30.12",
"@walmart/config-components": "^1.0.28",
"@walmart/counts-component-miniapp": "0.0.15",
- "@walmart/exception-mini-app": "0.28.0-rc.9",
+ "@walmart/exception-mini-app": "0.28.0-rc.10",
"@walmart/feedback-all-spark-miniapp": "0.0.55",
"@walmart/functional-components": "1.0.31",
"@walmart/gtp-shared-components": "^1.2.0",
| pinpoint version bump | pinpoint version bump
|
55699b84fc9f4a62e4c644ac2d1a4dbbb5ee3bb4 | --- jest.config.js
@@ -5,10 +5,10 @@ module.exports = {
collectCoverageFrom: ['<rootDir>/src/**/*.{js,jsx,ts,tsx}'],
coverageThreshold: {
global: {
- statements: 11.21,
- branches: 0.88,
- functions: 1.62,
- lines: 11.75,
+ statements: 24.51,
+ branches: 7.28,
+ functions: 8.77,
+ lines: 25.51,
},
},
transformIgnorePatterns: [
--- jest.config.js
@@ -5,10 +5,10 @@ module.exports = {
collectCoverageFrom: ['<rootDir>/src/**/*.{js,jsx,ts,tsx}'],
coverageThreshold: {
global: {
- statements: 11.21,
- branches: 0.88,
- functions: 1.62,
- lines: 11.75,
+ statements: 24.51,
+ branches: 7.28,
+ functions: 8.77,
+ lines: 25.51,
},
},
transformIgnorePatterns: [
| updating coverage thresh to match output | updating coverage thresh to match output
|
1e4948c493fe233c9e8cdc1fb44c8ed098e68ea0 | --- packages/allspark-foundation-hub/src/HubFeature/Shared/Components/ActionButtonGroup/ActionButtonGroup.tsx
@@ -15,35 +15,33 @@ export const ActionButtonGroup = ({
}: ButtonGroupProps) => {
const showCancelButton = useSelector(cancelActionButtonEnabled);
return (
- <>
- <View style={styles.buttonContainer}>
- {secondaryButtonLabel && onSecondaryButtonPress && showCancelButton && (
- <Button
- variant='tertiary'
- size='small'
- onPress={onSecondaryButtonPress}
- accessibilityRole='button'
- accessibilityLabel={secondaryButtonLabel}
- testID='secondary-button'
- >
- {secondaryButtonLabel}
- </Button>
- )}
- <View style={styles.primaryButtonContainer}>
- <Button
- variant='primary'
- size='medium'
- isFullWidth
- onPress={onPrimaryButtonPress}
- accessibilityRole='button'
- accessibilityLabel={primaryButtonLabel}
- testID='primary-button'
- disabled={isPrimaryButtonDisabled}
- >
- {primaryButtonLabel}
- </Button>
- </View>
+ <View style={styles.buttonContainer}>
+ {secondaryButtonLabel && onSecondaryButtonPress && showCancelButton && (
+ <Button
+ variant='tertiary'
+ size='small'
+ onPress={onSecondaryButtonPress}
+ accessibilityRole='button'
+ accessibilityLabel={secondaryButtonLabel}
+ testID='secondary-button'
+ >
+ {secondaryButtonLabel}
+ </Button>
+ )}
+ <View style={styles.primaryButtonContainer}>
+ <Button
+ variant='primary'
+ size='medium'
+ isFullWidth
+ onPress={onPrimaryButtonPress}
+ accessibilityRole='button'
+ accessibilityLabel={primaryButtonLabel}
+ testID='primary-button'
+ disabled={isPrimaryButtonDisabled}
+ >
+ {primaryButtonLabel}
+ </Button>
</View>
- </>
+ </View>
);
};
| Addressing comments | Addressing comments
|
e8fd6fd799a5e6690a48780d65dd7f25e3d607e3 | --- package-lock.json
@@ -4545,9 +4545,9 @@
}
},
"@walmart/welcomeme-mini-app": {
- "version": "0.35.0",
- "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.35.0.tgz",
- "integrity": "sha512-9GfuH0KD/H9q77+QxdoOoSpZG9pIdjNBdZF+2Ypynn9mi+cePwmXCyGbVMVvdh+iyXc8KVRVKjPovtJTxmqZ+Q=="
+ "version": "0.38.0",
+ "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.38.0.tgz",
+ "integrity": "sha512-A9bSzfxkKHh27sERSMTXCqc4vU0TmlTQ8w09DaR6u3ndGYXw18n2F9xPehYEkyj2QNyTWekw6hBJLdaxhu/71g=="
},
"@walmart/wfm-ui": {
"version": "0.1.50",
--- package.json
@@ -101,7 +101,7 @@
"@walmart/taskit-mini-app": "0.0.77-rc.0",
"@walmart/time-clock-mini-app": "0.4.24",
"@walmart/ui-components": "v1.3.0-rc.0",
- "@walmart/welcomeme-mini-app": "0.35.0",
+ "@walmart/welcomeme-mini-app": "0.38.0",
"@walmart/wfm-ui": "^0.1.50",
"axios-cache-adapter": "2.7.3",
"crypto-js": "^3.3.0",
| chore(welcomeMe): version bump 0.38.0 [RECRUIT-47382][RECRUIT-47407][RECRUIT-45776][RECRUIT-45115] | chore(welcomeMe): version bump 0.38.0 [RECRUIT-47382][RECRUIT-47407][RECRUIT-45776][RECRUIT-45115]
|
cfce21f13e823fb89fe340c20f41e742828e22f2 | --- packages/allspark-foundation/src/Components/index.tsx
@@ -8,5 +8,12 @@ export * from './Banners';
*/
export const useAllsparkSnackbar = useSnackbar;
-export { AllsparkDynamicComponents } from './DynamicComponents';
-export { AllsparkComponentContainers } from './ComponentContainers';
+export {
+ AllsparkComponentContainers,
+ ComponentContainer,
+} from './ComponentContainers';
+export {
+ AllsparkDynamicComponents,
+ DynamicComponent,
+} from './DynamicComponents';
+export { AllsparkSharedComponents } from './SharedComponents';
| fix: component classes not exported from root of compoennts folder | fix: component classes not exported from root of compoennts folder
|
b762be304cb1649b2d788800c1325c1652358340 | --- __tests__/PinAccess/__snapshots__/PinAccessScreenTest.tsx.snap
@@ -73,7 +73,7 @@ exports[`PinAccess matches snapshot; gets/sets existing passcode on mount 1`] =
primaryButtonPress={[Function]}
primaryButtonStyle={
Object {
- "width": "35%",
+ "width": "40%",
}
}
titleStyle={
@@ -159,7 +159,7 @@ exports[`PinAccess matches snapshot; gets/sets existing passcode on mount for ch
primaryButtonPress={[Function]}
primaryButtonStyle={
Object {
- "width": "35%",
+ "width": "40%",
}
}
titleStyle={
@@ -245,7 +245,7 @@ exports[`PinAccess matches snapshot; non existing passcode on mount 1`] = `
primaryButtonPress={[Function]}
primaryButtonStyle={
Object {
- "width": "35%",
+ "width": "40%",
}
}
titleStyle={
--- package-lock.json
@@ -3243,9 +3243,9 @@
}
},
"@walmart/ui-components": {
- "version": "1.1.6",
- "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.1.6.tgz",
- "integrity": "sha512-894zDmKNjLgI+kQZ7UNT2CbPzJEkAjxfJuGw4mUQP7f+m47x66WCMmiJgBs1TEtcU2YmnSq7JZu+iEHK7WeKkw==",
+ "version": "1.1.7",
+ "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.1.7.tgz",
+ "integrity": "sha512-LfQGrSa0/ctm3jAPUiu07WgtlLOp2Dp8iUcCAEPnPRi4sKx119G3/CsE8JlzW/z0xMt9NvFLWZjWClZBQLc2hA==",
"requires": {
"react-native-calendars": "1.299.0"
}
--- package.json
@@ -80,7 +80,7 @@
"@walmart/schedule-mini-app": "0.2.72",
"@walmart/settings-mini-app": "1.2.3",
"@walmart/time-clock-mini-app": "0.2.1",
- "@walmart/ui-components": "1.1.6",
+ "@walmart/ui-components": "1.1.7",
"@walmart/welcomeme-mini-app": "0.5.27",
"@walmart/wfm-ui": "^0.1.50",
"axios-cache-adapter": "2.7.3",
--- src/PinAccess/PinAccess.tsx
@@ -217,6 +217,7 @@ export const PinAccess: FC<StackScreenProps<any>> = (props) => {
totalAttemps={totalAttemps}
forgotPinCallback={forgotPinCallback}
onBackArrowClick={goBack}
+ showBackArrow={navigation.canGoBack()}
onSignOut={onSignOut}
flow={flow}
storedPin={storedPin}
--- src/PinAccess/styles.ts
@@ -28,6 +28,6 @@ export default StyleSheet.create({
paddingHorizontal: 0,
},
primaryButton: {
- width: '35%',
+ width: '40%',
},
});
--- src/core/appStateInit.ts
@@ -2,7 +2,6 @@ import {AppState, AppStateStatus} from 'react-native';
import {ssoActions, getStore} from '@walmart/redux-store';
import WMSingleSignOn from 'react-native-ssmp-sso-allspark';
import AsyncStorage from '@react-native-community/async-storage';
-import {debounce} from 'lodash';
import {getUser} from '../redux/UserSelector';
import {logger} from '../services/Logger';
@@ -19,7 +18,7 @@ export const onAppInactive = async () => {
}
};
-export const onAppStateChanged = debounce(async (state: AppStateStatus) => {
+export const onAppStateChanged = async (state: AppStateStatus) => {
switch (state) {
case 'inactive':
onAppInactive();
@@ -54,7 +53,7 @@ export const onAppStateChanged = debounce(async (state: AppStateStatus) => {
}
}
}
-}, 500);
+};
export const watchAppStateChanges = () => {
AppState.addEventListener('change', onAppStateChanged);
| ui components version bump to support enable/disable timer, removing debounce from appState listener (#512) | ui components version bump to support enable/disable timer, removing debounce from appState listener (#512)
Co-authored-by: Hitesh Arora - h0a006n <Hitesh.Arora@walmart.com> |
86fce19012af7b1aa3f39d95c49319bccf601b45 | --- package.json
@@ -74,12 +74,12 @@
"@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-authentication": "6.4.10",
"@walmart/allspark-cope-key-listener": "0.0.18",
- "@walmart/allspark-foundation": "6.32.0",
+ "@walmart/allspark-foundation": "6.44.1",
"@walmart/allspark-foundation-hub": "1.9.4",
"@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.3",
+ "@walmart/allspark-utils": "6.9.0",
"@walmart/amp-mini-app": "1.1.98",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "patch:@walmart/ask-sam-mini-app@npm%3A1.29.3#~/.yarn/patches/@walmart-ask-sam-mini-app-npm-1.29.3-61985fa7e6.patch",
--- yarn.lock
@@ -7244,9 +7244,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation@npm:6.32.0":
- version: 6.32.0
- resolution: "@walmart/allspark-foundation@npm:6.32.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation%2F-%2F%40walmart%2Fallspark-foundation-6.32.0.tgz"
+"@walmart/allspark-foundation@npm:6.44.1":
+ version: 6.44.1
+ resolution: "@walmart/allspark-foundation@npm:6.44.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation%2F-%2F%40walmart%2Fallspark-foundation-6.44.1.tgz"
dependencies:
"@apollo/client": "npm:^3.8.6"
"@graphql-codegen/cli": "npm:^5.0.0"
@@ -7256,7 +7256,7 @@ __metadata:
"@graphql-codegen/typescript-react-apollo": "npm:^4.1.0"
"@reduxjs/toolkit": "npm:^1.9.7"
"@types/node-fetch": "npm:^2.6.9"
- "@walmart/allspark-utils": "npm:^6.5.4"
+ "@walmart/allspark-utils": "npm:^6.9.0"
axios: "npm:~1.6.0"
axios-cache-interceptor: "npm:^1.3.2"
crypto-js: "npm:~4.2.0"
@@ -7274,11 +7274,7 @@ __metadata:
typed-redux-saga: "npm:^1.5.0"
peerDependencies:
"@react-native-async-storage/async-storage": "*"
- "@react-native-community/datetimepicker": "*"
"@react-native-community/netinfo": 11.x
- "@react-native-firebase/analytics": 17.x
- "@react-native-firebase/app": 17.x
- "@react-native-picker/picker": "*"
"@react-navigation/drawer": 6.x
"@react-navigation/native": 6.x
"@react-navigation/stack": 6.x
@@ -7298,14 +7294,10 @@ __metadata:
"@walmart/redux-store": ">=6.3"
react: "*"
react-native: "*"
- react-native-apollo-devtools-client: "*"
- react-native-drop-shadow: "*"
- react-native-flipper: "*"
react-native-gesture-handler: 2.x
react-native-permissions: 3.x
react-native-reanimated: 3.x
react-native-safe-area-context: 4.x
- react-native-screens: 3.x
peerDependenciesMeta:
"@walmart/allspark-graphql-client":
optional: true
@@ -7329,13 +7321,9 @@ __metadata:
optional: true
"@walmart/redux-store":
optional: true
- react-native-apollo-devtools-client:
- optional: true
- react-native-flipper:
- optional: true
bin:
allspark-generate-graphql: ./cli/generate.js
- checksum: 10c0/5c13ef074e7aea47ccd5d32af574cd08a19be9501c18a019edcffd90ab53a7ffd974db32d08ee688e71a53898ffad1649042636cb19fc83912992db3ad394212
+ checksum: 10c0/c28d8bdbdcbc68b5556c425d0033d0197ef33af78bfe755099e976502cb54b85b2549bce05b61c54494dd5bceba2c4f136dc32a3add10d4145ab4d5d468b3bc5
languageName: node
linkType: hard
@@ -8560,12 +8548,12 @@ __metadata:
"@types/react-test-renderer": "npm:^18.0.7"
"@walmart/allspark-authentication": "npm:6.4.10"
"@walmart/allspark-cope-key-listener": "npm:0.0.18"
- "@walmart/allspark-foundation": "npm:6.32.0"
+ "@walmart/allspark-foundation": "npm:6.44.1"
"@walmart/allspark-foundation-hub": "npm:1.9.4"
"@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.3"
+ "@walmart/allspark-utils": "npm:6.9.0"
"@walmart/amp-mini-app": "npm:1.1.98"
"@walmart/ask-sam-chat-components": "npm:^0.2.7"
"@walmart/ask-sam-mini-app": "patch:@walmart/ask-sam-mini-app@npm%3A1.29.3#~/.yarn/patches/@walmart-ask-sam-mini-app-npm-1.29.3-61985fa7e6.patch"
| bump(foundation): ALLSPARK-0000 bump foundation version (#4209) | bump(foundation): ALLSPARK-0000 bump foundation version (#4209)
* chore(foundation): ALLSPARK-0000 bump foundation version
* chore(ui): ALLSPARK-0000 bump allspark-utils lib
---------
Co-authored-by: Maksym Novakh <maksym.novakh@walmart.com> |
450f42f3304860dc95b42c4bc9306cd2ac61b6cc | --- package-lock.json
@@ -68,7 +68,7 @@
"@walmart/learning-mini-app": "18.0.3",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/metrics-mini-app": "0.18.6",
- "@walmart/mod-flex-mini-app": "1.15.3",
+ "@walmart/mod-flex-mini-app": "1.15.5",
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "0.0.14",
"@walmart/onewalmart-miniapp": "1.0.16",
@@ -9385,9 +9385,9 @@
}
},
"node_modules/@walmart/mod-flex-mini-app": {
- "version": "1.15.3",
- "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.15.3.tgz",
- "integrity": "sha512-k/zYnCjhuqvxnD+6AEqPTBXsjtvnbwgbpMzAm7QR7+vTEx3ukI9N465MfhE59+mc3RCuFYotF4oxmOqyYdwwfw==",
+ "version": "1.15.5",
+ "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.15.5.tgz",
+ "integrity": "sha512-ggUxtQkC+KHPlBG3kT4PsRvhJ0HZeq6Gn+hMg11x0V2lL5IGmMOHNo84kt3w4u8YHmQhIVS6aEcKoisjqqaGPg==",
"hasInstallScript": true,
"peerDependencies": {
"@react-native-async-storage/async-storage": "^1.19.0",
@@ -33499,9 +33499,9 @@
}
},
"@walmart/mod-flex-mini-app": {
- "version": "1.15.3",
- "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.15.3.tgz",
- "integrity": "sha512-k/zYnCjhuqvxnD+6AEqPTBXsjtvnbwgbpMzAm7QR7+vTEx3ukI9N465MfhE59+mc3RCuFYotF4oxmOqyYdwwfw=="
+ "version": "1.15.5",
+ "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.15.5.tgz",
+ "integrity": "sha512-ggUxtQkC+KHPlBG3kT4PsRvhJ0HZeq6Gn+hMg11x0V2lL5IGmMOHNo84kt3w4u8YHmQhIVS6aEcKoisjqqaGPg=="
},
"@walmart/moment-walmart": {
"version": "1.0.4"
--- package.json
@@ -109,7 +109,7 @@
"@walmart/learning-mini-app": "18.0.3",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/metrics-mini-app": "0.18.6",
- "@walmart/mod-flex-mini-app": "1.15.3",
+ "@walmart/mod-flex-mini-app": "1.15.5",
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "0.0.14",
"@walmart/onewalmart-miniapp": "1.0.16",
| Updated modflex to 1.15.5 | Updated modflex to 1.15.5
|
8ef6d694b59fe34f597b1286031341a24688772e | --- ios/Podfile.lock
@@ -534,6 +534,8 @@ PODS:
- walmart-react-native-sumo-sdk (2.0.0-beta-6):
- React
- SumoSDK (= 2.0.0-beta-6)
+ - wifi-store-locator (1.0.0-alpha2):
+ - React-Core
- Yoga (1.14.0)
DEPENDENCIES:
--- package-lock.json
@@ -3585,13 +3585,15 @@
}
},
"@walmart/time-clock-mini-app": {
- "version": "0.4.0",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-0.4.0.tgz",
- "integrity": "sha512-EL47pNDVjluoSkU3XsClKUSwNUzeqcJwcRX1EIv6sdIE0STXCeKtjBK3OqFOam7k61xmCgVAU2pr1sTmTY8lgg==",
+ "version": "0.4.4",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-0.4.4.tgz",
+ "integrity": "sha512-6+/1v1xTK2SiIyTLjtbBlIOJCuEnRuiIjsfISbX3E+b0DFMwGVBc9zLJjqfWxvHmg+uvkfdphV4v6zCtF99vrA==",
"requires": {
"@react-native-community/datetimepicker": "3.0.9",
"moment-timezone": "0.5.33",
"react-native-geolocation-service": "5.2.0",
+ "react-native-hyperlink": "0.0.19",
+ "react-native-reanimated": "^1.10.2",
"react-native-sound-player": "0.10.9",
"wfm-allspark-data-library": "^0.0.19"
},
--- package.json
@@ -89,7 +89,7 @@
"@walmart/schedule-mini-app": "0.2.82",
"@walmart/settings-mini-app": "1.3.5",
"@walmart/shelfavailability-mini-app": "0.3.71",
- "@walmart/time-clock-mini-app": "0.4.0",
+ "@walmart/time-clock-mini-app": "0.4.4",
"@walmart/ui-components": "1.1.55",
"@walmart/welcomeme-mini-app": "0.28.1",
"@walmart/wfm-ui": "^0.1.50",
| GTA Sumo 2.0 changes and other fixes | GTA Sumo 2.0 changes and other fixes
|
2a4b4033e5467767968703f1a69c79a5456f7152 | --- src/screens/RosterDetailScreen/StoreRosterDetailScreen/useStoreRosterDetails.ts
@@ -15,7 +15,8 @@ export const useHeaderAndSubtext = (
) => {
const siteTranslationContext = useTotalSiteOrTotalStore();
const primaryTeam = useGetViewersPrimaryTeam();
-const isPrimaryTeam = teamState.teamIds && primaryTeam?.[0].teamId === teamState.teamIds[0];
+ const isPrimaryTeam =
+ teamState.teamIds && primaryTeam?.[0].teamId === teamState.teamIds[0];
const {t} = translationClient.useTranslation();
if (teamState.teamLabel === TOTAL_STORE_TEAM_LABEL) {
return {
@@ -41,7 +42,7 @@ export const useCurrentTeamName = (teamState: {
}) => {
const siteTranslationContext = useTotalSiteOrTotalStore();
const {t} = translationClient.useTranslation();
-if (teamState.teamIds && 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;
--- src/utils/rosterDetail.tsx
@@ -261,23 +261,13 @@ export const getFilterCount = (
},
allTeams: any[],
) => {
-if (teamState.teamIds && teamState.teamIds.length > 0 && teamState.teamIds[0] === TOTAL_STORE_TEAM_ID) {
- if (teamRoster) {
+ if (teamState.teamIds?.[0] === TOTAL_STORE_TEAM_ID) {
return {
- scheduledCount: teamRoster.filter(associateIsScheduled).length,
- clockedInCount: teamRoster.filter(associateIsClockedIn).length,
- absentCount: teamRoster.filter(associateIsAbsent).length,
- tardyCount: teamRoster.filter(associateIsTardy).length,
+ scheduledCount: teamRoster?.filter(associateIsScheduled).length,
+ clockedInCount: teamRoster?.filter(associateIsClockedIn)?.length,
+ absentCount: teamRoster?.filter(associateIsAbsent)?.length,
+ tardyCount: teamRoster?.filter(associateIsTardy)?.length,
};
- } else {
- return {
- scheduledCount: 0,
- clockedInCount: 0,
- absentCount: 0,
- tardyCount: 0,
- };
- }
-}
} else {
let clockedInCount = 0;
let absentCount = 0;
| feat: refactor roster page | feat: refactor roster page
|
a61a6588bdbb054dfdda29956d4ce2488e593207 | --- .looper.yml
@@ -16,7 +16,7 @@ flows:
default:
- call: pr
- yarn run build
- - npm publish
+ - npx lerna publish
pr:
- (name Corepack enable) corepack enable
| feat(ui): update associate exp hub version | feat(ui): update associate exp hub version
|
935a4e79a6ef1c8787ca84258e10bac05e2234eb | --- packages/allspark-foundation/src/Translation/client.ts
@@ -171,31 +171,28 @@ export const TranslationClient = (config?: TranslationClientOptions) => {
);
};
+ /**
+ * Return the device language which was configured on the device from the Settings menu.
+ * @returns the device language in this format language_COUNTRY. For example, for English for USA returns en_US.
+ */
const getDeviceLanguage = async () => {
- const deviceLanguage =
- Platform.OS === 'ios'
+ return Platform.OS === 'ios'
? NativeModules.SettingsManager?.settings?.AppleLocale ||
NativeModules.SettingsManager?.settings?.AppleLanguages?.[0] //iOS 13
: NativeModules.I18nManager?.localeIdentifier;
-
- // Device languages come in the format en_US | es_US so we're
- // checking the first part to map to our current language codes.
- const deviceLanguageFormatted = deviceLanguage?.split('_')[0].toUpperCase();
-
- if (deviceLanguageFormatted === 'ES') {
- return 'es-MX';
- }
-
- return 'en-US';
};
const syncToDeviceLanguage = async () => {
- const deviceLanguage = await getDeviceLanguage();
+ const originalDeviceLanguage = await getDeviceLanguage();
+ const parsedDeviceLanguage = originalDeviceLanguage.replace('_', '-');
+ const supportedLanguages = _instance?.options?.supportedLanguages || [];
+
+ const allowedDeviceLanguage = supportedLanguages.includes(parsedDeviceLanguage) ? parsedDeviceLanguage : 'en-US';
// Change language on translation client (i18n)
const currentLanguage = AllsparkTranslationClient.language;
- if (currentLanguage !== deviceLanguage) {
- _instance.changeLanguage(deviceLanguage);
+ if (currentLanguage !== allowedDeviceLanguage) {
+ _instance.changeLanguage(allowedDeviceLanguage);
}
};
| Update Client.ts logic | Update Client.ts logic
|
df35fb6281624674d464c441445dcd8edc715dbe | --- packages/allspark-foundation-hub/package.json
@@ -5,6 +5,9 @@
"main": "Core/index.js",
"types": "Core/index.d.ts",
"files": [
+ "cli/",
+ "Core/",
+ "FeatureRunner/",
"HubFeature/",
"allspark.config.js"
],
| feat(ui): integrate the allspark images context | feat(ui): integrate the allspark images context
|
8b2e83499e4e5509ab70420da7c01bbde91268f0 | --- src/screens/RosterDetailScreen/SupplyChainRosterDetailScreen.tsx
@@ -1,4 +1,3 @@
-// @ts-nocheck
import React, {useCallback, useEffect, useMemo, useRef, useState} from 'react';
import {translationClient} from '../../common/translation';
import {RefreshControl, View} from 'react-native';
| teamSwitcher integration fixes | teamSwitcher integration fixes
|
ad432187ab33b1c7aad82c6fb2a8cc2878fb2460 | --- .looper.multibranch.yml
@@ -607,11 +607,11 @@ flows:
- var(END_TIME):
date +%s
- var(TIME_ELAPSED):
- $(($START_TIME - $END_TIME))
+ (($START_TIME - $END_TIME))
- var(MINUTES):
- $((($TIME_ELAPSED % 3600) / 60))
+ ((($TIME_ELAPSED % 3600) / 60))
- var(SECONDS):
- $(((($TIME_ELAPSED%3600) / 60) % 60))
+ (((($TIME_ELAPSED%3600) / 60) % 60))
- slack.postMessage:
message: $MESSAGE_TITLE
channelId: ${slackChannel}
| Update .looper.multibranch.yml | Update .looper.multibranch.yml
|
3434b5a07e2638c6374b2deb96b4f5907fb93402 | --- graphql.yml
@@ -36,11 +36,6 @@ applications:
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getLoggedInUser.graphql'
tags:
- 'v1'
- - name: 'getSupplyChainTeamPreference'
- hash: '61253c3d4d8ab6db774a903969c2f63de9113f44c1947d52c3630dd38ce30839'
- queryTemplate: 'packages/me-at-walmart-athena-queries/src/getSupplyChainTeamPreferenceQuery.graphql'
- tags:
- - 'v1'
- name: 'GetSupplyChainTeamsByStore'
hash: '628c21f19457c4deea7fd9d2dd15138c11da598add9f4f67441e0d7d9318c8d1'
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getSupplyChainTeamsByStore.graphql'
@@ -66,11 +61,6 @@ applications:
queryTemplate: 'packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql'
tags:
- 'v1'
- - name: 'upsertSupplyChainAssociatePreference'
- hash: '39c45936c3b4d0020c6192b629c29860a30a5f2f70c5297c9e34dcffbaa0c7b0'
- queryTemplate: 'packages/me-at-walmart-athena-queries/src/upsertSupplyChainAssociatePreference.graphql'
- tags:
- - 'v1'
- name: 'prod'
persistedQueries:
- name: 'businessUnitByCountryAndNumber'
@@ -93,16 +83,11 @@ applications:
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getDailyRosterHome.graphql'
tags:
- 'v1'
- # - name: "getLoggedInUser"
- # hash: "f7a857e71616f58af3437976992e1937c9f5300e0058050f44721a555344f73c"
- # queryTemplate: "packages/me-at-walmart-athena-queries/src/getLoggedInUser.graphql"
- # tags:
- # - "v1"
- # - name: "getSupplyChainTeamPreference"
- # hash: "61253c3d4d8ab6db774a903969c2f63de9113f44c1947d52c3630dd38ce30839"
- # queryTemplate: "packages/me-at-walmart-athena-queries/src/getSupplyChainTeamPreferenceQuery.graphql"
- # tags:
- # - "v1"
+ - name: 'getLoggedInUser'
+ hash: 'f7a857e71616f58af3437976992e1937c9f5300e0058050f44721a555344f73c'
+ queryTemplate: 'packages/me-at-walmart-athena-queries/src/getLoggedInUser.graphql'
+ tags:
+ - 'v1'
# - name: "GetSupplyChainTeamsByStore"
# hash: "628c21f19457c4deea7fd9d2dd15138c11da598add9f4f67441e0d7d9318c8d1"
# queryTemplate: "packages/me-at-walmart-athena-queries/src/getSupplyChainTeamsByStore.graphql"
@@ -128,6 +113,16 @@ applications:
# queryTemplate: "packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql"
# tags:
# - "v1"
+ - name: 'upsertAssociatePreference'
+ hash: '972c522c6ad0675f13587637cff2dd2ed46937a9878a48a66ad2bc2f7d51a036'
+ queryTemplate: 'packages/me-at-walmart-athena-queries/src/updateAssociatePrivacyPreference.graphql'
+ tags:
+ - 'v1'
+ # - name: "upsertManagerExperiencePreference"
+ # hash: "bdf7ca7ba91a0c700df0b0dbd418064d98ef1c2818688e2a1c9e478d8cc3e1ca"
+ # queryTemplate: "packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql"
+ # tags:
+ # - "v1"
# - name: "upsertSupplyChainAssociatePreference"
# hash: "39c45936c3b4d0020c6192b629c29860a30a5f2f70c5297c9e34dcffbaa0c7b0"
# queryTemplate: "packages/me-at-walmart-athena-queries/src/upsertSupplyChainAssociatePreference.graphql"
| feat(ui) reran codegen | feat(ui) reran codegen
|
548d83bd754794ebcedb362d285e737dff550f7e | --- .looper.yml
@@ -18,4 +18,4 @@ flows:
- (name Yarn Version) yarn --version
- yarn install
- yarn run lint
- - yarn run coverage
\ No newline at end of file
+ # - yarn run coverage
\ No newline at end of file
| Update the my team mini app version | Update the my team mini app version
|
b01372f688141635aa2ce4d693793b777cb18959 | --- package.json
@@ -171,7 +171,7 @@
"@walmart/schedule-mini-app": "patch:@walmart/schedule-mini-app@npm%3A5.4.4#~/.yarn/patches/@walmart-schedule-mini-app-npm-5.4.4-e63d1ba9c6.patch",
"@walmart/shelfavailability-mini-app": "1.7.2",
"@walmart/shop-gnfr-mini-app": "1.0.454",
- "@walmart/sidekick-mini-app": "4.276.1",
+ "@walmart/sidekick-mini-app": "4.276.4",
"@walmart/store-feature-orders": "1.35.6",
"@walmart/talent-performance-mini-app": "1.2.13",
"@walmart/talent-preboarding-mini-app": "1.0.63",
--- yarn.lock
@@ -8905,7 +8905,7 @@ __metadata:
"@walmart/schedule-mini-app": "patch:@walmart/schedule-mini-app@npm%3A5.4.4#~/.yarn/patches/@walmart-schedule-mini-app-npm-5.4.4-e63d1ba9c6.patch"
"@walmart/shelfavailability-mini-app": "npm:1.7.2"
"@walmart/shop-gnfr-mini-app": "npm:1.0.454"
- "@walmart/sidekick-mini-app": "npm:4.276.1"
+ "@walmart/sidekick-mini-app": "npm:4.276.4"
"@walmart/store-feature-orders": "npm:1.35.6"
"@walmart/talent-performance-mini-app": "npm:1.2.13"
"@walmart/talent-preboarding-mini-app": "npm:1.0.63"
@@ -9874,9 +9874,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/sidekick-mini-app@npm:4.276.1":
- version: 4.276.1
- resolution: "@walmart/sidekick-mini-app@npm:4.276.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fsidekick-mini-app%2F-%2F%40walmart%2Fsidekick-mini-app-4.276.1.tgz"
+"@walmart/sidekick-mini-app@npm:4.276.4":
+ version: 4.276.4
+ resolution: "@walmart/sidekick-mini-app@npm:4.276.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fsidekick-mini-app%2F-%2F%40walmart%2Fsidekick-mini-app-4.276.4.tgz"
peerDependencies:
"@apollo/client": "*"
"@react-navigation/native": ^6.0.0
@@ -9895,7 +9895,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/fd5e60026b04ebd2ebaf4b5c13e42d6e707a313b1abce2fffe3e87a829e16d0b96b1a62a7d1854e7a43e8f796c04bca659b4911d5ccddd32212e560c32fc9211
+ checksum: 10c0/89950d585e19c70a298260758caaa70338751bf8a223700f98e7dcbd74927cc72fd64dddf0aeb734d51034ff8f39ac827cc924dbbe720a78e00357fe7be5d510
languageName: node
linkType: hard
| fix: sidekick-mini-app version drop35.1 develop (#5405) | fix: sidekick-mini-app version drop35.1 develop (#5405)
|
1902f49abb9aa7981764119321b38e108507d8e6 | --- package.json
@@ -90,7 +90,7 @@
"@walmart/avp-shared-library": "0.10.7",
"@walmart/backroom-mini-app": "1.10.5",
"@walmart/calling-mini-app": "0.7.35",
- "@walmart/checkout-mini-app": "4.8.0",
+ "@walmart/checkout-mini-app": "4.8.12",
"@walmart/compass-sdk-rn": "6.2.2",
"@walmart/config-components": "4.7.1",
"@walmart/core-services": "~6.5.2",
--- yarn.lock
@@ -5889,9 +5889,9 @@ __metadata:
linkType: hard
"@stomp/stompjs@npm:^7.0.0":
- version: 7.1.0
- resolution: "@stomp/stompjs@npm:7.1.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40stomp%2Fstompjs%2F-%2Fstompjs-7.1.0.tgz"
- checksum: 10c0/8994f45a96fe323ef5b29e409542c5777c118fb9320c32f5091c7655a5d887989d612c028fa300c3d9c67d5a600b1a022a5ce57b1264b98a14f708036a11fe6e
+ version: 7.1.1
+ resolution: "@stomp/stompjs@npm:7.1.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40stomp%2Fstompjs%2F-%2Fstompjs-7.1.1.tgz"
+ checksum: 10c0/a58d6c9167ec6453f5050eb70f09114f0c1f322bd7a2b5d381c168315f2d22b5132ebd0edf184c2ca42b616fed56787fd1755df9e36e562e5fb1ff09a46be9b3
languageName: node
linkType: hard
@@ -7570,9 +7570,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/checkout-mini-app@npm:4.8.0":
- version: 4.8.0
- resolution: "@walmart/checkout-mini-app@npm:4.8.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcheckout-mini-app%2F-%2F%40walmart%2Fcheckout-mini-app-4.8.0.tgz"
+"@walmart/checkout-mini-app@npm:4.8.12":
+ version: 4.8.12
+ resolution: "@walmart/checkout-mini-app@npm:4.8.12::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcheckout-mini-app%2F-%2F%40walmart%2Fcheckout-mini-app-4.8.12.tgz"
dependencies:
"@stomp/stompjs": "npm:^7.0.0"
cpc-input: "npm:^1.7.28"
@@ -7610,7 +7610,7 @@ __metadata:
react-native-safe-area-context: "*"
react-redux: ^8.1.3
redux: ^4.0.5
- checksum: 10c0/7c413da644f7bf5c419710dbd9c9dcbd4f79ad5171a9d6216be2d65d2892501e556cd3ca3219caa8f6b716ba0b633802cc6a99b0d2ed2c3098c94329f6681a98
+ checksum: 10c0/b95d57083db01a888d4f7816b2bbd035f002b0a6c455ea39172ade313efd1c84559de2c578dd3c0e398e4ae5f55888f655b63d4793183a387d4b6f8d844c3541
languageName: node
linkType: hard
@@ -8323,7 +8323,7 @@ __metadata:
"@walmart/avp-shared-library": "npm:0.10.7"
"@walmart/backroom-mini-app": "npm:1.10.5"
"@walmart/calling-mini-app": "npm:0.7.35"
- "@walmart/checkout-mini-app": "npm:4.8.0"
+ "@walmart/checkout-mini-app": "npm:4.8.12"
"@walmart/compass-sdk-rn": "npm:6.2.2"
"@walmart/config-components": "npm:4.7.1"
"@walmart/core-services": "npm:~6.5.2"
@@ -24270,7 +24270,7 @@ __metadata:
languageName: node
linkType: hard
-"use-sync-external-store@npm:^1.0.0, use-sync-external-store@npm:^1.2.2":
+"use-sync-external-store@npm:^1.0.0":
version: 1.4.0
resolution: "use-sync-external-store@npm:1.4.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Fuse-sync-external-store%2F-%2Fuse-sync-external-store-1.4.0.tgz"
peerDependencies:
@@ -24279,6 +24279,15 @@ __metadata:
languageName: node
linkType: hard
+"use-sync-external-store@npm:^1.2.2":
+ version: 1.5.0
+ resolution: "use-sync-external-store@npm:1.5.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Fuse-sync-external-store%2F-%2Fuse-sync-external-store-1.5.0.tgz"
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+ checksum: 10c0/1b8663515c0be34fa653feb724fdcce3984037c78dd4a18f68b2c8be55cc1a1084c578d5b75f158d41b5ddffc2bf5600766d1af3c19c8e329bb20af2ec6f52f4
+ languageName: node
+ linkType: hard
+
"utf8@npm:^3.0.0":
version: 3.0.0
resolution: "utf8@npm:3.0.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Futf8%2F-%2Futf8-3.0.0.tgz"
| feat(Checkout): FEAT-2449 Drop30 Fixes and enhancements (#4118) | feat(Checkout): FEAT-2449 Drop30 Fixes and enhancements (#4118)
* build(update checkout version): FEAT-2449 update the checkout version
* build(checkout): FEAT-2449 Update checkout version
* build(checkout): FEAT-2449 update checkout package version
* fix: FEAT-2347 update checkout version
* Drop 30 changes
* Drop 30 changes
* fix: update checkout version to 4.8.9
* fix(checkout): FEAT-2449 update checkout version to 4.8.10
* fix(checkout): FEAT-2449 Update checkout version to 4.8.12
---------
Co-authored-by: g0s00t9 <g0s00t9@homeoffice.wal-mart.com>
Co-authored-by: a0k077c <abhishek.kotian0@walmart.com> |
c721c13afdfd2298b6df2e08a95d9684606cfeb0 | --- docs/CHANGELOG.md
@@ -1,3 +1,10 @@
+# [2.26.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.25.4...v2.26.0) (2025-04-10)
+
+
+### Features
+
+* **ui:** updating wmconnect version ([464a888](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/464a88835e5de722caf058debd59aa2c6a34758a))
+
## [2.25.4](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.25.3...v2.25.4) (2025-04-07)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.25.4",
+ "version": "2.26.0",
"main": "dist/index.js",
"files": [
"dist"
| chore(release): 2.26.0 [skip ci] | chore(release): 2.26.0 [skip ci]
# [2.26.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.25.4...v2.26.0) (2025-04-10)
### Features
* **ui:** updating wmconnect version ([464a888](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/464a88835e5de722caf058debd59aa2c6a34758a))
|
16db463b64717f8e37216d254557870d076b8e8b | --- targets/US/package.json
@@ -101,7 +101,7 @@
"@walmart/counts-component-miniapp": "0.1.13",
"@walmart/emergency-mini-app": "1.29.8",
"@walmart/exception-mini-app": "1.8.11",
- "@walmart/facilities-management-miniapp": "0.15.1",
+ "@walmart/facilities-management-miniapp": "0.15.2",
"@walmart/feedback-all-spark-miniapp": "0.9.66",
"@walmart/financial-wellbeing-feature-app": "1.26.0",
"@walmart/functional-components": "~6.3.20",
--- yarn.lock
@@ -6363,12 +6363,12 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/facilities-management-miniapp@npm:0.15.1":
- version: 0.15.1
- resolution: "@walmart/facilities-management-miniapp@npm:0.15.1"
+"@walmart/facilities-management-miniapp@npm:0.15.2":
+ version: 0.15.2
+ resolution: "@walmart/facilities-management-miniapp@npm:0.15.2"
peerDependencies:
"@walmart/allspark-foundation": "*"
- checksum: 10c0/96c62c05bc1cd564c589eb5390d07e1677ce95553663d9ae3e561fcbcb6a451a48ce1423f78620fcc3dafc42543efa029f23ff6ca45e149d376b93388d88335a
+ checksum: 10c0/a53c72df7e7c76d43d73f52db85df93dc89dac7192652da19bdd53402c99d6dfcb7b59c4e8fb0a5a6e4e6ad6e35d31b43bb4a16704291dbfee1f6a2df0802c1b
languageName: node
linkType: hard
@@ -7008,7 +7008,7 @@ __metadata:
"@walmart/counts-component-miniapp": "npm:0.1.13"
"@walmart/emergency-mini-app": "npm:1.29.8"
"@walmart/exception-mini-app": "npm:1.8.11"
- "@walmart/facilities-management-miniapp": "npm:0.15.1"
+ "@walmart/facilities-management-miniapp": "npm:0.15.2"
"@walmart/feedback-all-spark-miniapp": "npm:0.9.66"
"@walmart/financial-wellbeing-feature-app": "npm:1.26.0"
"@walmart/functional-components": "npm:~6.3.20"
| Version bump | Version bump
|
b7f95e1f33b6f3720adba32552b0ed0d7e3ee2e1 | --- src/services/blob.ts
@@ -189,40 +189,27 @@ export const fetchResource = async (remoteURI: string): Promise<string> => {
// Determine if file exists locally
- console.log('FETCH RESOURCE:', {remoteURI});
const fileName = getFileNameFromURI(remoteURI);
const localFileURI = getFileURIFromName(fileName);
- console.log('FETCH RESOURCE:', {fileName, localFileURI});
const localFileExists = await fileExists(localFileURI);
- console.log('FETCH RESOURCE:', {localFileExists});
if (localFileExists) {
- console.log('FETCH RESOURCE: Found locally @', {localFileURI});
return localFileURI;
}
const state = getStore().getState() as SharedReduxState;
const {sasToken} = state.texting;
- console.log('FETCH RESOURCE: Downloading...', {
- fullURI: `${remoteURI}?${sasToken}`,
- });
const blob = await downloadBlobWithRetry(`${remoteURI}?${sasToken}`);
if (!blob) {
- console.log('FETCH RESOURCE: No blob found!', {remoteURI});
throw new Error(`No blob returned from ${remoteURI}`);
}
try {
- console.log('FETCH RESOURCE: Writing blob locally', {
- fullURI: `${remoteURI}?${sasToken}`,
- });
await writeFile(localFileURI, `${blob}`, {encoding: 'base64'});
- console.log('FETCH RESOURCE: Blob writtent successfully', {localFileURI});
return localFileURI;
} catch (error) {
- console.log('FETCH RESOURCE: Error writing blob locally', {error});
// TODO: log error to the splunk
console.log('Texting', error);
throw error;
--- src/services/blob.ts
@@ -189,40 +189,27 @@ export const fetchResource = async (remoteURI: string): Promise<string> => {
// Determine if file exists locally
- console.log('FETCH RESOURCE:', {remoteURI});
const fileName = getFileNameFromURI(remoteURI);
const localFileURI = getFileURIFromName(fileName);
- console.log('FETCH RESOURCE:', {fileName, localFileURI});
const localFileExists = await fileExists(localFileURI);
- console.log('FETCH RESOURCE:', {localFileExists});
if (localFileExists) {
- console.log('FETCH RESOURCE: Found locally @', {localFileURI});
return localFileURI;
}
const state = getStore().getState() as SharedReduxState;
const {sasToken} = state.texting;
- console.log('FETCH RESOURCE: Downloading...', {
- fullURI: `${remoteURI}?${sasToken}`,
- });
const blob = await downloadBlobWithRetry(`${remoteURI}?${sasToken}`);
if (!blob) {
- console.log('FETCH RESOURCE: No blob found!', {remoteURI});
throw new Error(`No blob returned from ${remoteURI}`);
}
try {
- console.log('FETCH RESOURCE: Writing blob locally', {
- fullURI: `${remoteURI}?${sasToken}`,
- });
await writeFile(localFileURI, `${blob}`, {encoding: 'base64'});
- console.log('FETCH RESOURCE: Blob writtent successfully', {localFileURI});
return localFileURI;
} catch (error) {
- console.log('FETCH RESOURCE: Error writing blob locally', {error});
// TODO: log error to the splunk
console.log('Texting', error);
throw error;
| chore: remove console logs | chore: remove console logs
|
426d4d79522584fe76b000a29e1bb9c11ae5ab1d | --- core/__tests__/auth/LoginErrorScreenTest.tsx
@@ -1,7 +1,6 @@
import React from 'react';
-import {render, fireEvent, waitFor} from '@testing-library/react-native';
+import {render, fireEvent} from '@testing-library/react-native';
import WmConfig from 'react-native-wm-config';
-
import {LoginErrorScreen} from '../../src/auth/LoginErrorScreen';
import {SSOTelemetry} from '../../src/core/Telemetry';
import {Logger} from '../../src/core/Logger';
@@ -89,7 +88,11 @@ describe('LoginErrorScreen', () => {
const {getByTestId} = render(
<LoginErrorScreen {...LoginErrorScreenProps} />,
);
-
+ const onViewTwoStepGuide = getByTestId('onViewTwoStepGuide');
+ onViewTwoStepGuide._fiber.pendingProps.onPress();
+ expect(LoginErrorScreenProps.navigation.navigate).toBeCalledWith(
+ 'Core.ErrorTwoFactorGuideScreen',
+ );
fireEvent.press(getByTestId('save-button'));
//TODO: Work out how to interact with hook form
});
--- core/src/auth/LoginErrorScreen/index.tsx
@@ -217,6 +217,7 @@ export const LoginErrorScreen = (
</Body>
<Button
isFullWidth={true}
+ testID='onViewTwoStepGuide'
variant='secondary'
onPress={onViewTwoStepGuide}
UNSAFE_style={styles.topMarginLarge}>
@@ -345,6 +346,7 @@ export const LoginErrorScreen = (
}}
render={({field, fieldState}) => (
<Select
+ testID='issueCategory'
title={translate('issueCategory')}
label={translate('issueCategory')}
placeholder={translate('selectIssue')}
| add test case for login error screen file | add test case for login error screen file
|
865e503a3ad33a09c219cd37e169e5db53ccfac2 | --- package.json
@@ -82,7 +82,7 @@
"@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-authentication": "7.1.4",
"@walmart/allspark-cope-key-listener": "0.0.18",
- "@walmart/allspark-foundation": "7.17.5",
+ "@walmart/allspark-foundation": "7.17.7",
"@walmart/allspark-foundation-hub": "1.25.25",
"@walmart/allspark-graphql-client": "~6.3.28",
"@walmart/allspark-http-client": "~6.3.28",
@@ -450,7 +450,7 @@
"@react-navigation/elements": "^2.2.6",
"@react-navigation/stack": "patch:@react-navigation/stack@npm%3A7.6.7#~/.yarn/patches/@react-navigation-stack-npm-7.6.7-99a55dcbcc.patch",
"@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-foundation": "7.17.5",
+ "@walmart/allspark-foundation": "7.17.7",
"@walmart/allspark-utils": "7.3.1",
"@walmart/compass-sdk-rn": "6.4.16",
"@walmart/config-components": "4.12.3",
--- yarn.lock
@@ -7518,9 +7518,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation@npm:7.17.5":
- version: 7.17.5
- resolution: "@walmart/allspark-foundation@npm:7.17.5::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation%2F-%2F%40walmart%2Fallspark-foundation-7.17.5.tgz"
+"@walmart/allspark-foundation@npm:7.17.7":
+ version: 7.17.7
+ resolution: "@walmart/allspark-foundation@npm:7.17.7::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation%2F-%2F%40walmart%2Fallspark-foundation-7.17.7.tgz"
dependencies:
"@apollo/client": "npm:^3.8.6"
"@reduxjs/toolkit": "npm:^1.9.7"
@@ -7605,7 +7605,7 @@ __metadata:
optional: true
react-native-permissions:
optional: true
- checksum: 10c0/4e0b49d827ffbeda8223c1009aeab59ad13c60174cf267051ad6c7155751e2d7b046104121b77abcd5636a55e9255907bc7adb8f8dc3f0ba5bb926b1f9bf7c06
+ checksum: 10c0/f742acd672af27feb6fb91ebe05a25276ac9baaa7c2554d632a8902dd8ce3877af51a69ef596813a6c815e290339467cc4d0ed1b9cab42abc5c13cb7599a590d
languageName: node
linkType: hard
@@ -8827,7 +8827,7 @@ __metadata:
"@walmart/allspark-authentication": "npm:7.1.4"
"@walmart/allspark-build-cache-provider": "npm:1.1.1"
"@walmart/allspark-cope-key-listener": "npm:0.0.18"
- "@walmart/allspark-foundation": "npm:7.17.5"
+ "@walmart/allspark-foundation": "npm:7.17.7"
"@walmart/allspark-foundation-hub": "npm:1.25.25"
"@walmart/allspark-graphql-client": "npm:~6.3.28"
"@walmart/allspark-http-client": "npm:~6.3.28"
| fix: bump foundation to reset configuration on keyboard hide for fab (#5261) | fix: bump foundation to reset configuration on keyboard hide for fab (#5261)
Co-authored-by: Shubhang Shah <s0s0zug@homeoffice.wal-mart.com> |
ad8fc3ed73c2bab8004d659e826bdd39d35e29d5 | --- src/sumo/SumoSagas.ts
@@ -256,7 +256,6 @@ export function* onOptInRequest({optIn}: AnyAction) {
// before callign register. Opt in at this time is unknown so will either
// pull default from redux or read from async storage
export function* onUserChange() {
- console.log('calling user change');
yield call(waitForSumoCharge);
const optIn: boolean = yield call(getOptInStatus);
yield call(registerSumoUser, optIn);
@@ -285,7 +284,6 @@ export function* onMiniAppReplay() {
// Clearing all but charge state, since it is the same between users
export function* onSignOut() {
- console.log('calling sign out');
try {
const profile: SumoProfile = yield select(getSumoProfile);
// @ts-ignore - profileId is missing on SumoProfile definition
| Removing logs | Removing logs
|
37feca60ac2284938d13cdcbb9cf1e3e743fb0c4 | --- __tests__/harness/firestore/data/presence.ts
@@ -0,0 +1 @@
+export const presenceStatuses = ['online', 'offline'];
--- __tests__/harness/firestore/data/store100.ts
@@ -1,6 +1,6 @@
import {createAssociateChannelId} from '../../../../src/channels';
// @ts-ignore
-import {rawUserList} from './users';
+import {rawUserList, usersCollectionForStore} from './users';
import {
createAudioMessage,
createImageMessage,
@@ -49,6 +49,6 @@ export const store100Collection = {
},
},
],
- users: [],
+ users: usersCollectionForStore(),
},
};
--- __tests__/harness/firestore/data/users.ts
@@ -1,3 +1,9 @@
+import {encryptUserId} from '../../../../src/utils';
+// @ts-ignore
+import {generateCreatedAt} from './timestamps';
+// @ts-ignore
+import {presenceStatuses} from './presence';
+
export const rawUserList = [
'alice',
'bob',
@@ -10,3 +16,28 @@ export const rawUserList = [
'm0r08qm',
'elnevli',
];
+
+export const encUserList = rawUserList.map((rawUserId) => {
+ return encryptUserId(rawUserId);
+});
+
+export const usersCollectionForStore = (
+ staticOverrides?: {
+ id: string;
+ lastChanged: string;
+ state: string;
+ }[],
+) => {
+ const userCollection = encUserList.map((encUserId) => {
+ return {
+ id: encUserId,
+ lastChanged: generateCreatedAt(),
+ state: presenceStatuses[Math.floor(Math.random() * 2)],
+ };
+ });
+
+ return {
+ ...userCollection,
+ ...staticOverrides,
+ };
+};
--- __tests__/harness/firestore/mockDatabase.ts
@@ -21,7 +21,6 @@ mockReactNativeFirestore({
},
},
],
- user_status: [],
},
});
--- __tests__/harness/firestore/data/presence.ts
@@ -0,0 +1 @@
+export const presenceStatuses = ['online', 'offline'];
--- __tests__/harness/firestore/data/store100.ts
@@ -1,6 +1,6 @@
import {createAssociateChannelId} from '../../../../src/channels';
// @ts-ignore
-import {rawUserList} from './users';
+import {rawUserList, usersCollectionForStore} from './users';
import {
createAudioMessage,
createImageMessage,
@@ -49,6 +49,6 @@ export const store100Collection = {
},
},
],
- users: [],
+ users: usersCollectionForStore(),
},
};
--- __tests__/harness/firestore/data/users.ts
@@ -1,3 +1,9 @@
+import {encryptUserId} from '../../../../src/utils';
+// @ts-ignore
+import {generateCreatedAt} from './timestamps';
+// @ts-ignore
+import {presenceStatuses} from './presence';
+
export const rawUserList = [
'alice',
'bob',
@@ -10,3 +16,28 @@ export const rawUserList = [
'm0r08qm',
'elnevli',
];
+
+export const encUserList = rawUserList.map((rawUserId) => {
+ return encryptUserId(rawUserId);
+});
+
+export const usersCollectionForStore = (
+ staticOverrides?: {
+ id: string;
+ lastChanged: string;
+ state: string;
+ }[],
+) => {
+ const userCollection = encUserList.map((encUserId) => {
+ return {
+ id: encUserId,
+ lastChanged: generateCreatedAt(),
+ state: presenceStatuses[Math.floor(Math.random() * 2)],
+ };
+ });
+
+ return {
+ ...userCollection,
+ ...staticOverrides,
+ };
+};
--- __tests__/harness/firestore/mockDatabase.ts
@@ -21,7 +21,6 @@ mockReactNativeFirestore({
},
},
],
- user_status: [],
},
});
| adding firestore mock | adding firestore mock
|
aa68996947d17c4018c1892747ce5852fb9019c5 | --- packages/expo-config-plugins/src/withEmmAppRestrictions.ts
@@ -64,7 +64,7 @@ const withAppRestrictionsXml: ConfigPlugin = (config) => {
<restriction
android:key="emmDeviceType"
android:title="EMM Device Type"
- android:description="Specifies the device classification for enterprise management (COPE, BYOD, PERSONAL)"
+ android:description="Specifies the device classification for enterprise management for COPE, BYOD, and PERSONAL"
android:restrictionType="string"
android:defaultValue="" />
</restrictions>
@@ -87,4 +87,4 @@ const withEmmAppRestrictions: ConfigPlugin = (config) => {
return config;
};
-export default withEmmAppRestrictions;
\ No newline at end of file
+export default withEmmAppRestrictions;
| Update withEmmAppRestrictions.ts (#553) | Update withEmmAppRestrictions.ts (#553)
- Update emmAppRestrictions verbiage for build failure |
0e3a382dd0bd7c9825c2a3b2eb9080dc18d1d57c | --- __tests__/home/components/GreetingRowV2/__snapshots__/GreetingRowV2Test.tsx.snap
@@ -19,7 +19,6 @@ exports[`GreetingRowV2 renders anniversary greeting (anniversary only) 1`] = `
"borderStyle": "solid",
"borderTopColor": "#7aa5f6",
"borderTopWidth": 1,
- "marginBottom": 30,
"marginHorizontal": -16,
"marginTop": 0,
"minHeight": 158,
@@ -49,7 +48,6 @@ exports[`GreetingRowV2 renders birthday greeting (birthday only) 1`] = `
"borderStyle": "solid",
"borderTopColor": "#7aa5f6",
"borderTopWidth": 1,
- "marginBottom": 30,
"marginHorizontal": -16,
"marginTop": 0,
"minHeight": 158,
@@ -78,7 +76,6 @@ exports[`GreetingRowV2 renders birthday priority when both birthday and annivers
"borderStyle": "solid",
"borderTopColor": "#7aa5f6",
"borderTopWidth": 1,
- "marginBottom": 30,
"marginHorizontal": -16,
"marginTop": 0,
"minHeight": 158,
@@ -98,7 +95,6 @@ exports[`GreetingRowV2 renders error state 1`] = `
"borderStyle": "solid",
"borderTopColor": "#7aa5f6",
"borderTopWidth": 1,
- "marginBottom": 30,
"marginHorizontal": -16,
"marginTop": 0,
"minHeight": 158,
@@ -117,7 +113,6 @@ exports[`GreetingRowV2 renders loading state 1`] = `
"borderStyle": "solid",
"borderTopColor": "#7aa5f6",
"borderTopWidth": 1,
- "marginBottom": 30,
"marginHorizontal": -16,
"marginTop": 0,
"minHeight": 158,
@@ -145,7 +140,6 @@ exports[`GreetingRowV2 renders with anniversary month unit 1`] = `
"borderStyle": "solid",
"borderTopColor": "#7aa5f6",
"borderTopWidth": 1,
- "marginBottom": 30,
"marginHorizontal": -16,
"marginTop": 0,
"minHeight": 158,
@@ -168,7 +162,6 @@ exports[`GreetingRowV2 renders with null userInfo but not loading and no error (
"borderStyle": "solid",
"borderTopColor": "#7aa5f6",
"borderTopWidth": 1,
- "marginBottom": 30,
"marginHorizontal": -16,
"marginTop": 0,
"minHeight": 158,
@@ -198,7 +191,6 @@ exports[`GreetingRowV2 renders with user info (no events) 1`] = `
"borderStyle": "solid",
"borderTopColor": "#7aa5f6",
"borderTopWidth": 1,
- "marginBottom": 30,
"marginHorizontal": -16,
"marginTop": 0,
"minHeight": 158,
--- src/home/components/GreetingRowV2/index.tsx
@@ -14,7 +14,6 @@ export const styles = StyleSheet.create({
greetingRow: {
backgroundColor: colors.blue[100],
marginTop: 0,
- marginBottom: 30,
marginHorizontal: -16,
borderTopColor: colors.blue[50],
borderTopWidth: 1,
| fix(widget): incorrect spacing under header (#5288) | fix(widget): incorrect spacing under header (#5288)
Co-authored-by: Shubhang Shah <s0s0zug@homeoffice.wal-mart.com> |
d31363c4105a59002c5b8e908c7fa5c0215334ed | --- package-lock.json
@@ -38,7 +38,7 @@
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.3.52",
"@walmart/attendance-mini-app": "0.33.0",
- "@walmart/config-components": "4.0.1",
+ "@walmart/config-components": "4.0.2",
"@walmart/core-services": "~1.4.11",
"@walmart/core-services-allspark": "~2.2.2",
"@walmart/core-utils": "~1.3.0",
@@ -4897,9 +4897,9 @@
}
},
"node_modules/@walmart/config-components": {
- "version": "4.0.1",
- "resolved": "https://npme.walmart.com/@walmart/config-components/-/config-components-4.0.1.tgz",
- "integrity": "sha512-+lGTMnKtiUvNwI1+ZWBhqpQatJukM/4HDt+YXfON5znTvrioywgV3nOcPD6WuTjLqZCLd2g2tk/4OmYuu1JJyA==",
+ "version": "4.0.2",
+ "resolved": "https://npme.walmart.com/@walmart/config-components/-/config-components-4.0.2.tgz",
+ "integrity": "sha512-jzz13R6c2B2pjUBr7c0/3ElqH67e/gIOSq6MoxLPa01pqRmQ76mxZQKJPA+9EJgvmMhU78YOFu6RIeSzJF9lqA==",
"dependencies": {
"reduxsauce": "^1.2.1",
"reselect": "^4.1.5"
@@ -25092,9 +25092,9 @@
}
},
"@walmart/config-components": {
- "version": "4.0.1",
- "resolved": "https://npme.walmart.com/@walmart/config-components/-/config-components-4.0.1.tgz",
- "integrity": "sha512-+lGTMnKtiUvNwI1+ZWBhqpQatJukM/4HDt+YXfON5znTvrioywgV3nOcPD6WuTjLqZCLd2g2tk/4OmYuu1JJyA==",
+ "version": "4.0.2",
+ "resolved": "https://npme.walmart.com/@walmart/config-components/-/config-components-4.0.2.tgz",
+ "integrity": "sha512-jzz13R6c2B2pjUBr7c0/3ElqH67e/gIOSq6MoxLPa01pqRmQ76mxZQKJPA+9EJgvmMhU78YOFu6RIeSzJF9lqA==",
"requires": {
"reduxsauce": "^1.2.1",
"reselect": "^4.1.5"
--- package.json
@@ -80,7 +80,7 @@
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.3.52",
"@walmart/attendance-mini-app": "0.33.0",
- "@walmart/config-components": "4.0.1",
+ "@walmart/config-components": "4.0.2",
"@walmart/core-services": "~1.4.11",
"@walmart/core-services-allspark": "~2.2.2",
"@walmart/core-utils": "~1.3.0",
| version bump for config component | version bump for config component
|
f2c6404e60e09506034c8bc3b5f4d052632a8a4c | --- package-lock.json
@@ -3157,12 +3157,12 @@
"integrity": "sha512-0sVdqnfYb2Z90rZpk8drAttxOFKAIR3fAvOvFlVWOyxtPPXrAACOFzoTx++gO5SO5vZ1w6IlMKe8uTi2rpCWTA=="
},
"@walmart/schedule-mini-app": {
- "version": "0.2.58",
- "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.2.58.tgz",
- "integrity": "sha512-9Ux21yYFGmH9C5ropm06VClRj7TBv8vzExErfE8kMDeC8yeCLNcmUEOWFDJ/d1aU27RNBgDqN41dhrr0OrzB+Q==",
+ "version": "0.2.59",
+ "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.2.59.tgz",
+ "integrity": "sha512-DYxrVYQJCSoiTjPfQz9QgexyiBpgJmV4N7XzJ8zfMSwCX9qk+1QF6bdTm6Or2jHIxdyWFOL6lP7uQr2uFXHtSw==",
"requires": {
"@walmart/moment-walmart": "^1.0.4",
- "@walmart/wfm-ui": "0.1.40",
+ "@walmart/wfm-ui": "0.1.41",
"crypto-js": "^3.3.0",
"react-native-tab-view": "^2.15.2",
"reselect": "^4.0.0",
@@ -3227,9 +3227,9 @@
"integrity": "sha512-XkfZJYjio/KFzOrjIMNgTqn6N9Nhf5EEZBKXcPU5DIjNUmSMDJqnpbbBr6+6mz4wZqPRZvXmfRdwK8d5prHFeA=="
},
"@walmart/wfm-ui": {
- "version": "0.1.40",
- "resolved": "https://npme.walmart.com/@walmart/wfm-ui/-/wfm-ui-0.1.40.tgz",
- "integrity": "sha512-UTMtmCUeRE6KlGsMli5s/EUENvEK+ElSOhdVrw0DwhUA2cdSpXvWuRKCoCfsyuhPI3UvCFhFrEsAncU2RFVC9g==",
+ "version": "0.1.41",
+ "resolved": "https://npme.walmart.com/@walmart/wfm-ui/-/wfm-ui-0.1.41.tgz",
+ "integrity": "sha512-cYU2+OaNeeBaTudG1MKnXb4zqlzXyji/UGViLOuAkeZtHoHxQCqozQDImdwboTS+BBNalHhd6Oxrl2LcGMu9CA==",
"requires": {
"@walmart/gtp-shared-components": "^0.2.2",
"@walmart/moment-walmart": "1.0.3",
@@ -14893,9 +14893,9 @@
"dev": true
},
"wm-react-native-vector-icons": {
- "version": "1.0.32",
- "resolved": "https://npme.walmart.com/wm-react-native-vector-icons/-/wm-react-native-vector-icons-1.0.32.tgz",
- "integrity": "sha512-0I/uqm6ets2RhfIiBVVN6EFV8IpLAqSc9kXiLkYQItfRDB/ZJ+hkzlrGYMC3r++lrTPHP7oHso3I+rFRrYb49Q==",
+ "version": "1.0.33",
+ "resolved": "https://npme.walmart.com/wm-react-native-vector-icons/-/wm-react-native-vector-icons-1.0.33.tgz",
+ "integrity": "sha512-pAcEq6iOVxzKM55qucKOkh2ML3kii4yGJ5YdmMEOcRAGH4fQ1lHa7BETIl+jzX5n1ZVKgWkzmAiH3vw0nkuklQ==",
"requires": {
"lodash": "^4.0.0",
"prop-types": "^15.6.2",
--- package.json
@@ -63,7 +63,7 @@
"@walmart/react-native-logger": "^1.22.0",
"@walmart/react-native-shared-navigation": "^0.3.0",
"@walmart/redux-store": "^1.0.12",
- "@walmart/schedule-mini-app": "0.2.58",
+ "@walmart/schedule-mini-app": "0.2.59",
"@walmart/settings-mini-app": "1.1.16",
"@walmart/time-clock-mini-app": "0.1.42",
"@walmart/ui-components": "1.0.96",
| bump schedules mini app (#383) | bump schedules mini app (#383)
Co-authored-by: Hitesh Arora - h0a006n <Hitesh.Arora@walmart.com> |
6449f5ba2cc6c8b62aa6a6c0d87df7124421a96f | --- packages/me-at-walmart-athena-queries/src/index.ts
@@ -3,5 +3,8 @@ export * from './getAssociateById';
export * from './getDailyRosterHome';
export * from './getLoggedInUser';
export * from './getTeamByIdHome';
+export * from './getTeamsbyStore';
+export * from './getAssociatePreference';
+export * from './updateManagerExperiencePreference';
export * from './updateAssociatePrivacyPreference';
export * as AthenaTypes from './schema.types';
| feat(ui): update the index for graphql queries | feat(ui): update the index for graphql queries
|
907813a77500754a0054d5c00c2e3f54235e3758 | --- packages/allspark-utils/__tests__/eventManagerTest.ts
@@ -9,7 +9,7 @@ describe('EventManager', () => {
let eventManager: EventManager<EventPayloadMap>;
beforeEach(() => {
- eventManager = new EventManager<EventPayloadMap>(['event1', 'event2']);
+ eventManager = new EventManager<EventPayloadMap>();
});
test('should add and remove listeners', () => {
@@ -56,20 +56,18 @@ describe('EventManager', () => {
});
test('should handle undefined events', () => {
- // runEvent should not throw an error
-
expect(() =>
- // @ts-ignore
+ // @ts-ignore - intentionally passing an unknown event
eventManager.runEvent('unknownEvent', { data: 'test' })
).not.toThrow();
expect(() =>
- // @ts-ignore
+ // @ts-ignore - intentionally passing an unknown event
eventManager.runEventListener('unknownEvent', { data: 'test' })
).not.toThrow();
expect(() =>
- // @ts-ignore
+ // @ts-ignore - intentionally passing an unknown event
eventManager.removeListener('unknownEvent', { data: 'test' })
).not.toThrow();
});
@@ -93,4 +91,91 @@ describe('EventManager', () => {
expect(listener1).toHaveBeenCalledWith(payload);
expect(listener2).toHaveBeenCalledWith(payload);
});
+
+ test('should not queue events if queueUnhandledEvents is false', () => {
+ const eventManagerNoQueue = new EventManager<EventPayloadMap>([], {
+ queueUnhandledEvents: false,
+ });
+
+ const payload = { data: 'test' };
+ eventManagerNoQueue.runEvent('event1', payload);
+
+ const listener = jest.fn();
+ eventManagerNoQueue.addListener('event1', listener);
+
+ expect(listener).not.toHaveBeenCalled();
+ });
+
+ test('should process queued events by default when adding a listener', () => {
+ // Queue an event before adding a listener
+ const payload = { data: 'test' };
+ eventManager.runEvent('event1', payload);
+
+ // Add a listener without specifying processQueuedEvents option
+ const listener = jest.fn();
+ eventManager.addListener('event1', listener);
+
+ // Verify the listener was called with the queued event
+ expect(listener).toHaveBeenCalledWith(payload);
+ });
+
+ test('should not process queued events when processQueuedEvents is false', () => {
+ // Queue an event before adding a listener
+ const payload = { data: 'test' };
+ eventManager.runEvent('event1', payload);
+
+ // Add a listener with processQueuedEvents set to false
+ const listener = jest.fn();
+ eventManager.addListener('event1', listener, { processQueuedEvents: false });
+
+ // Verify the listener was not called with the queued event
+ expect(listener).not.toHaveBeenCalled();
+
+ // Verify the listener still receives new events
+ const newPayload = { data: 'new test' };
+ eventManager.runEvent('event1', newPayload);
+ expect(listener).toHaveBeenCalledWith(newPayload);
+ });
+
+ test('should process queued events when processQueuedEvents is true', () => {
+ // Queue an event before adding a listener
+ const payload = { data: 'test' };
+ eventManager.runEvent('event1', payload);
+
+ // Add a listener with processQueuedEvents set to true
+ const listener = jest.fn();
+ eventManager.addListener('event1', listener, { processQueuedEvents: true });
+
+ // Verify the listener was called with the queued event
+ expect(listener).toHaveBeenCalledWith(payload);
+ });
+
+ test('should handle multiple listeners with different processQueuedEvents options', () => {
+ // Queue an event before adding listeners
+ const payload = { data: 'test' };
+ eventManager.runEvent('event1', payload);
+
+ // Add one listener that processes queued events
+ const listener1 = jest.fn();
+ eventManager.addListener('event1', listener1, { id: 'listener1' });
+
+ // Add another listener that doesn't process queued events
+ const listener2 = jest.fn();
+ eventManager.addListener('event1', listener2, {
+ id: 'listener2',
+ processQueuedEvents: false
+ });
+
+ // Verify first listener got the queued event
+ expect(listener1).toHaveBeenCalledWith(payload);
+
+ // Verify second listener did not get the queued event
+ expect(listener2).not.toHaveBeenCalled();
+
+ // Verify both listeners receive new events
+ const newPayload = { data: 'new test' };
+ eventManager.runEvent('event1', newPayload);
+ expect(listener1).toHaveBeenCalledWith(newPayload);
+ expect(listener2).toHaveBeenCalledWith(newPayload);
+ });
});
--- packages/allspark-utils/src/eventManager.ts
@@ -34,20 +34,10 @@ export class EventManager<
>;
// Queue manager for unhandled events
- private _queue = {} as QueueManager<EventPayloadMap[E], E>;
+ private _queue = new QueueManager<EventPayloadMap>();
- constructor(events: E[], config?: EventManagerConfig) {
+ constructor(_?: E[], config?: EventManagerConfig) {
this._config = config || DEFAULT_MANAGER_CONFIG;
-
- this._listeners = events.reduce(
- (map, event) => {
- map[event] = new Map();
- return map;
- },
- {} as Record<E, Map<string, EventListener<EventPayloadMap[E]>>>
- );
-
- this._queue = new QueueManager(events);
}
/**
@@ -125,7 +115,7 @@ export class EventManager<
public addListener = <K extends E>(
event: K,
listener: EventListener<EventPayloadMap[K]>,
- options?: { id: string }
+ options?: { id: string; processQueuedEvents?: boolean }
): ListenerSubscription => {
let id: string;
@@ -151,10 +141,12 @@ export class EventManager<
);
}
- // Run any queued events
- this._queue.flush(event, (payload) => {
- this.runEvent(event, payload);
- });
+ // Run any queued events if processQueuedEvents is not explicitly set to false
+ if (options?.processQueuedEvents !== false) {
+ this._queue.flush(event, (payload) => {
+ this.runEvent(event, payload);
+ });
+ }
// Return subscription to remove listener if needed
return { remove: () => this.removeListener(event, id) };
| refactor(event manager): remove need to specify events in constructor. add option to skip queued events on adding listener | refactor(event manager): remove need to specify events in constructor. add option to skip queued events on adding listener
|
b464c8bb7418723f018063eb5359b011a1c22aa7 | --- ios/AllSpark.xcodeproj/project.pbxproj
@@ -450,6 +450,7 @@
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-AllSpark/Pods-AllSpark-resources.sh",
"${PODS_CONFIGURATION_BUILD_DIR}/EXConstants/EXConstants.bundle",
+ "${PODS_CONFIGURATION_BUILD_DIR}/RNCAsyncStorage/RNCAsyncStorage_resources.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/RNImageCropPicker/QBImagePicker.bundle",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf",
@@ -480,6 +481,7 @@
name = "[CP] Copy Pods Resources";
outputPaths = (
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/EXConstants.bundle",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RNCAsyncStorage_resources.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/QBImagePicker.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AntDesign.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Entypo.ttf",
--- ios/Podfile.lock
@@ -2213,7 +2213,7 @@ SPEC CHECKSUMS:
StructuredLogAssistantIOS: d48c327b3b67366d954435891dc1e748a6aeb9c1
SumoSDK: 95c692d2e6644ca3c2cd1a856aa823e163acac45
TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863
- topstock-mini-app: e34fc5ae3e1f79ffdeca89b75537fc6647659a74
+ topstock-mini-app: a58be8e38900135dbfe432bb35d5c9a2acaf6c4a
VisionCamera: ef56ac9d3e0fef4b94c7cf75735aaccc2326e35a
walmart-react-native-sumo-sdk: 00f0285ccb2b0a56f72a5f3ab86295af0d29021c
WebexSDK: 1efbb609d59b63ea9486352ce025feab1d8bd274
| update podfile | update podfile
|
56c7e15a4ccfd04c6cfe2bf631d635755916e839 | --- package-lock.json
@@ -4258,9 +4258,9 @@
"integrity": "sha512-gOjtmh7vtX1XSS1JA8xJWCwoW8vsiED0NxtKNWsXLpRuZfRJ06gESSqLyQUjRXSc40S+kN6dYJYO3EOv3VEPig=="
},
"@walmart/inbox-mini-app": {
- "version": "0.26.0-beta.1",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.26.0-beta.1.tgz",
- "integrity": "sha512-Ao6DoS1ze1m7Xd4ch/eFm+vc8Yc2YntGSSgKS74MBLVlqozoq4mz32ffNOI5XzDP/t0FDdAXpEMUMk+yoQBQEQ=="
+ "version": "0.26.0-beta.2",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.26.0-beta.2.tgz",
+ "integrity": "sha512-Bu9wTm2M9qC3hiqmImYONdxY5kRQ4vi8qu6VF/f2zojxjYVqKGKhhmx+eyiNC0VcBmtO3RHKOVO5+knrPTm2YQ=="
},
"@walmart/iteminfo-mini-app": {
"version": "4.0.7",
--- 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.11",
- "@walmart/inbox-mini-app": "0.26.0-beta.1",
+ "@walmart/inbox-mini-app": "0.26.0-beta.2",
"@walmart/iteminfo-mini-app": "4.0.7",
"@walmart/manager-approvals-miniapp": "0.0.59",
"@walmart/metrics-mini-app": "0.5.21",
| fix all caught up msg is not shown in inbox | fix all caught up msg is not shown in inbox
|
9fecd06746c07dafe5c63d5440ed5edda9db8c70 | --- src/channels/components/ChannelRow.tsx
@@ -104,11 +104,10 @@ export const ChannelRow = (props: ChannelRowProps) => {
);
const firstRecipientClockedIn = associateIsClockedIn(firstRecipientAssociate);
-
- const lastMessageTime = channelRowTimeStamp(
- lastMessage?.createdAt?.toDate(),
- t,
- );
+ //@ts-ignore
+ const lastMessageTime = lastMessage?.deleted
+ ? channelRowTimeStamp(lastMessage?.deletedTimestamp?.toDate(), t)
+ : channelRowTimeStamp(lastMessage?.createdAt?.toDate(), t);
const shouldDisplayLastMessage =
lastMessage?.createdAt &&
--- src/channels/types.ts
@@ -28,6 +28,7 @@ export type LastMessage = FirebaseMessage & {
timestamp: string;
deleted?: boolean;
deletedByPreferredName?: string;
+ deletedTimestamp?: any;
};
export type NewChannelDetails = Pick<
--- src/containers/Message/index.tsx
@@ -13,6 +13,7 @@ import {TEXTING_I18N_NAMESPACE} from '../../translations';
import {useRbacConfigForDeleteMessage} from '../../hooks';
import {deleteMessageEnabled} from '../../redux/selectors';
import {MessageOptionsModal} from './MessageOptionsModal';
+import {channelRowTimeStamp} from '../../utils/timestamps';
const {width} = Dimensions.get('window');
// screen width - (avatar width (40) + avatar margin (16/10)) * 0.8 (80%)
@@ -55,10 +56,15 @@ export const Message = ({
showReadReceipt,
deleted,
deletedByPreferredName,
+ deletedTimestamp,
messagePath,
channelPath,
}: LocalMessage) => {
const {t} = useTranslation([TEXTING_I18N_NAMESPACE]);
+ const deletedMessageTimeStamp = channelRowTimeStamp(
+ deletedTimestamp?.toDate(),
+ t,
+ );
const [isLongPressed, setIsLongPressed] = useState(false);
const [isConfirmationModalVisible, setIsConfirmationModalVisible] =
useState(false);
@@ -148,7 +154,9 @@ export const Message = ({
</Caption>
)}
{!!messageTime && (
- <Caption UNSAFE_style={styles.readReceipt}>{messageTime}</Caption>
+ <Caption UNSAFE_style={styles.readReceipt}>
+ {deleted ? deletedMessageTimeStamp : messageTime}
+ </Caption>
)}
</View>
</Pressable>
--- src/types.ts
@@ -64,6 +64,7 @@ export type LocalMessage = FirebaseMessage & {
showReadReceipt?: boolean;
deleted?: boolean;
deletedByPreferredName?: string;
+ deletedTimestamp?: any;
isGroupMessage?: boolean;
channelPath?: string;
};
--- src/channels/components/ChannelRow.tsx
@@ -104,11 +104,10 @@ export const ChannelRow = (props: ChannelRowProps) => {
);
const firstRecipientClockedIn = associateIsClockedIn(firstRecipientAssociate);
-
- const lastMessageTime = channelRowTimeStamp(
- lastMessage?.createdAt?.toDate(),
- t,
- );
+ //@ts-ignore
+ const lastMessageTime = lastMessage?.deleted
+ ? channelRowTimeStamp(lastMessage?.deletedTimestamp?.toDate(), t)
+ : channelRowTimeStamp(lastMessage?.createdAt?.toDate(), t);
const shouldDisplayLastMessage =
lastMessage?.createdAt &&
--- src/channels/types.ts
@@ -28,6 +28,7 @@ export type LastMessage = FirebaseMessage & {
timestamp: string;
deleted?: boolean;
deletedByPreferredName?: string;
+ deletedTimestamp?: any;
};
export type NewChannelDetails = Pick<
--- src/containers/Message/index.tsx
@@ -13,6 +13,7 @@ import {TEXTING_I18N_NAMESPACE} from '../../translations';
import {useRbacConfigForDeleteMessage} from '../../hooks';
import {deleteMessageEnabled} from '../../redux/selectors';
import {MessageOptionsModal} from './MessageOptionsModal';
+import {channelRowTimeStamp} from '../../utils/timestamps';
const {width} = Dimensions.get('window');
// screen width - (avatar width (40) + avatar margin (16/10)) * 0.8 (80%)
@@ -55,10 +56,15 @@ export const Message = ({
showReadReceipt,
deleted,
deletedByPreferredName,
+ deletedTimestamp,
messagePath,
channelPath,
}: LocalMessage) => {
const {t} = useTranslation([TEXTING_I18N_NAMESPACE]);
+ const deletedMessageTimeStamp = channelRowTimeStamp(
+ deletedTimestamp?.toDate(),
+ t,
+ );
const [isLongPressed, setIsLongPressed] = useState(false);
const [isConfirmationModalVisible, setIsConfirmationModalVisible] =
useState(false);
@@ -148,7 +154,9 @@ export const Message = ({
</Caption>
)}
{!!messageTime && (
- <Caption UNSAFE_style={styles.readReceipt}>{messageTime}</Caption>
+ <Caption UNSAFE_style={styles.readReceipt}>
+ {deleted ? deletedMessageTimeStamp : messageTime}
+ </Caption>
)}
</View>
</Pressable>
--- src/types.ts
@@ -64,6 +64,7 @@ export type LocalMessage = FirebaseMessage & {
showReadReceipt?: boolean;
deleted?: boolean;
deletedByPreferredName?: string;
+ deletedTimestamp?: any;
isGroupMessage?: boolean;
channelPath?: string;
};
| Adding time stamp to be shown on UI for deleted message | Adding time stamp to be shown on UI for deleted message
|
ce7f92d4ea2b9fd7ab5ab690cd44ff772ffd5549 | --- ios/Podfile.lock
@@ -178,7 +178,7 @@ PODS:
- RNPermissions
- PromisesObjC (2.1.0)
- Protobuf (3.20.0)
- - PTT (0.7.14-rc.10):
+ - PTT (0.7.14-rc.12):
- BinaryCodable (~> 0.2.1)
- CocoaAsyncSocket (~> 7.6.3)
- RealmSwift (= 10.15.0)
@@ -406,8 +406,8 @@ PODS:
- React-Core
- react-native-pdf (6.2.2):
- React-Core
- - react-native-ptt-module (1.5.78):
- - PTT (= 0.7.14-rc.10)
+ - react-native-ptt-module (1.5.80):
+ - PTT (= 0.7.14-rc.12)
- React
- react-native-safe-area-context (3.3.2):
- React-Core
@@ -945,7 +945,7 @@ SPEC CHECKSUMS:
Permission-Notifications: 4325073de6e418cfbbdd8d296822c419d8ddc7ef
PromisesObjC: 99b6f43f9e1044bd87a95a60beff28c2c44ddb72
Protobuf: 66e2f3b26a35e4cc379831f4ced538274ee4b923
- PTT: ab3794fa59deeb1a0550ba6578531236e2475fe9
+ PTT: 9b948d24280ca3c174bed57a9e185ec761f9ef16
RCT-Folly: a21c126816d8025b547704b777a2ba552f3d9fa9
RCTRequired: 4bf86c70714490bca4bf2696148638284622644b
RCTTypeSafety: c475a7059eb77935fa53d2c17db299893f057d5d
@@ -970,7 +970,7 @@ SPEC CHECKSUMS:
react-native-netinfo: 77d133105df525d4a11f10fcaa8d0b8883ea6429
react-native-pager-view: 311c10a4eead1be627cad59062aa059d8108b943
react-native-pdf: 4b5a9e4465a6a3b399e91dc4838eb44ddf716d1f
- react-native-ptt-module: 635d1d321f6aafa92128f1e8e6d2102575e63886
+ react-native-ptt-module: 5fcd0b0405b308bb1d783c67cf946e60e0b211a6
react-native-safe-area-context: 5cf05f49df9d17261e40e518481f2e334c6cd4b5
react-native-splash-screen: 200d11d188e2e78cea3ad319964f6142b6384865
react-native-video: 8d97379f3c2322a569f1e27542ad1a646cad9444
--- package-lock.json
@@ -16978,9 +16978,9 @@
"integrity": "sha512-PO99dptMocEfUSS3SM7gY6UqophaBxizKjnZ7FcEwa+H4ONVxTk310/JCXJ9vdNunomgpxHluKRXnApfm9Md1w=="
},
"react-native-ptt-module": {
- "version": "1.5.78",
- "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.5.78.tgz",
- "integrity": "sha512-Ch9N2kA4AJBSUgFjxFBk91uTIxkx/hlP6wIXm5zawxpY7SftwAVdR7/R6sXxcsb15qhSpXEMd1aYRTTqa05+hA=="
+ "version": "1.5.80",
+ "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.5.80.tgz",
+ "integrity": "sha512-lD20dwKxbD0G2Oaa30XQYoNtH9EhtCosVlm3LfUaospFOTnwVBEeCfix2HmP+kHYs1PLxMS1jTlMVdW22dcGXA=="
},
"react-native-qrcode-svg": {
"version": "6.0.6",
--- package.json
@@ -145,7 +145,7 @@
"react-native-pdf": "^6.2.0",
"react-native-permissions": "3.0.0",
"react-native-popup-menu": "^0.15.9",
- "react-native-ptt-module": "1.5.78",
+ "react-native-ptt-module": "1.5.80",
"react-native-qrcode-svg": "^6.0.6",
"react-native-reanimated": "^1.10.2",
"react-native-safe-area-context": "^3.3.0",
| using ptt mini app v0.5.104 | using ptt mini app v0.5.104
|
cd39afb8c59d596efe47d1a5434252e1e5a740a3 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/wmconnect-mini-app",
- "version": "3.7.0-alpha.22",
+ "version": "3.7.0-alpha.23",
"main": "dist/index.js",
"files": [
"dist",
| chore(wmconnect): bump version to 3.7.0-alpha.23 | chore(wmconnect): bump version to 3.7.0-alpha.23
|
af49c590f16bd53f1220decafcbfebae46db9842 | --- .yarn/patches/@walmart-compass-sdk-rn-npm-5.19.3-6aa8f19bab.patch
@@ -1,9 +1,29 @@
diff --git a/android/build.gradle b/android/build.gradle
-index cb0d0a7cbc9e2dad95732f9aab06eb903e354e89..df8ee622ca5f7baec5aae4e47ce9f6cd0d60f6c0 100644
+index cb0d0a7cbc9e2dad95732f9aab06eb903e354e89..633ef68e66ec81c55c20bc3e7d6336a02f4de16e 100644
--- a/android/build.gradle
+++ b/android/build.gradle
-@@ -36,6 +36,10 @@ android {
- namespace 'com.compasssdkrn'
+@@ -59,9 +59,13 @@ android {
+ disable 'GradleCompatible'
+ }
+
++ kotlinOptions {
++ jvmTarget = '17'
++ }
++
+ compileOptions {
+- sourceCompatibility JavaVersion.VERSION_1_8
+- targetCompatibility JavaVersion.VERSION_1_8
++ sourceCompatibility JavaVersion.VERSION_17
++ targetCompatibility JavaVersion.VERSION_17
+ }
+ }
+
+diff --git a/android_submodules/compass_dynamic_module/build.gradle b/android_submodules/compass_dynamic_module/build.gradle
+index 20a96215997c80e32df07a2619cdfd4fe7b02484..99457707bb1d18d0ab56882284a84cde7ef21194 100644
+--- a/android_submodules/compass_dynamic_module/build.gradle
++++ b/android_submodules/compass_dynamic_module/build.gradle
+@@ -71,6 +71,10 @@ android {
+ namespace 'com.walmart.compassrnimpl'
compileSdkVersion getExtOrIntegerDefault('compileSdkVersion')
+ buildFeatures {
@@ -13,19 +33,14 @@ index cb0d0a7cbc9e2dad95732f9aab06eb903e354e89..df8ee622ca5f7baec5aae4e47ce9f6cd
defaultConfig {
minSdkVersion getExtOrIntegerDefault('minSdkVersion')
targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
-@@ -59,9 +63,13 @@ android {
- disable 'GradleCompatible'
+@@ -115,8 +119,8 @@ android {
}
-+ kotlinOptions {
-+ jvmTarget = '17'
-+ }
-+
compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
+ sourceCompatibility JavaVersion.VERSION_17
+ targetCompatibility JavaVersion.VERSION_17
}
- }
+ splits {
| chore: update compass patch | chore: update compass patch
|
b47640399cabe6aabcb35ad8e5837fbd52a453db | --- __tests__/core/analyticsInitTest.ts
@@ -71,7 +71,7 @@ describe('initAnalyticsUserAttributes', () => {
// now set a user
const userState = {
- user: {
+ data: {
userId: 'test123',
countryCode: 'US',
division: '1',
@@ -85,7 +85,7 @@ describe('initAnalyticsUserAttributes', () => {
user: userState,
});
onAction();
- expect(WmTelemetry.setUserId).toHaveBeenCalledWith(userState.user.userId);
+ expect(WmTelemetry.setUserId).toHaveBeenCalledWith(userState.data.userId);
expect(WmTelemetry.setUserProperties).toHaveBeenCalledWith({
countryCode: 'US',
division: '1',
--- __tests__/core/notificationInitTest.ts
@@ -46,7 +46,7 @@ describe('notificationInit', () => {
mockGetState.mockReturnValueOnce({
user: {
- user: {
+ data: {
siteId: 'NOT_FOUND',
domain: 'homeoffice',
userId: 'user',
@@ -62,7 +62,7 @@ describe('notificationInit', () => {
mockGetState.mockReturnValueOnce({
user: {
- user: {
+ data: {
siteId: '100',
domain: 'homeoffice',
userId: 'user',
@@ -90,7 +90,7 @@ describe('notificationInit', () => {
(WmNotification.setDefaultEventListener as jest.Mock).mockClear();
mockGetState.mockReturnValueOnce({
user: {
- user: {
+ data: {
siteId: '100',
domain: 'storePharm',
userId: 'user',
--- src/core/analyticsInit.ts
@@ -12,19 +12,19 @@ let prevUser: SSOUser;
export const initAnalyticsUserAttributes = () => {
getStore().subscribe(() => {
- const user = getStore().getState().user?.user;
- if (user && user !== prevUser) {
- WmTelemetry.setUserId(user.userId);
+ const userData = getStore().getState().user?.data;
+ if (userData && userData !== prevUser) {
+ WmTelemetry.setUserId(userData.userId);
WmTelemetry.setUserProperties({
- countryCode: user.countryCode,
- division: user.division,
- regionNbr: user.regionNumber + '',
- site: user.siteId + '',
- employeeType: user.employeeType,
- domain: user.domain,
+ countryCode: userData.countryCode,
+ division: userData.division,
+ regionNbr: userData.regionNumber + '',
+ site: userData.siteId + '',
+ employeeType: userData.employeeType,
+ domain: userData.domain,
});
- prevUser = user;
+ prevUser = userData;
}
});
};
--- src/core/notificationInit.ts
@@ -8,17 +8,17 @@ let defaultEventHandler = () => true; // TODO update to reflect design
export const initSumoNotification = () => {
getStore().subscribe(async () => {
- const {authToken, user} = getStore().getState().user;
- const {siteId} = user || {};
+ const {authToken, data} = getStore().getState().user;
+ const {siteId} = data || {};
const shouldConfigNotification =
- user &&
+ data &&
siteId &&
siteId !== 'NOT_FOUND' &&
authToken &&
authToken !== currentAuth;
if (shouldConfigNotification) {
currentAuth = authToken as string;
- const {domain, userId, countryCode} = user;
+ const {domain, userId, countryCode} = data;
await WmNotification.setPingFedToken(authToken as string);
await WmNotification.setOptions(Config.sumoOptions);
await WmNotification.setProfile({
| update redux store slice structure | update redux store slice structure
|
8c6450dc330cb40a38d250275e0c64122307fca4 | --- __tests__/navigation/AssociateHallwayNav/Tabs/__snapshots__/MainTabsNavTest.tsx.snap
@@ -18,11 +18,9 @@ exports[`MainTabsNav matches snapshot when disabled from config 1`] = `
name="copilot"
options={
{
- "tabBarAccessibilityLabel": "Work undefined function translate(t) {
- return t;
-},[object Object]",
+ "tabBarAccessibilityLabel": "navigation.work",
"tabBarBadge": undefined,
- "tabBarBadgeStyle": Object {
+ "tabBarBadgeStyle": {
"alignItems": "center",
"backgroundColor": "#ffc220",
"borderColor": "#000000",
@@ -33,8 +31,8 @@ exports[`MainTabsNav matches snapshot when disabled from config 1`] = `
"left": 0,
"textAlign": "center",
"top": -8,
- "transform": Array [
- Object {
+ "transform": [
+ {
"scale": 0.85,
},
],
@@ -84,7 +82,7 @@ exports[`MainTabsNav matches snapshot with badges 1`] = `
options={
{
"tabBarBadge": undefined,
- "tabBarBadgeStyle": Object {
+ "tabBarBadgeStyle": {
"alignItems": "center",
"backgroundColor": "#ffc220",
"borderColor": "#000000",
@@ -95,8 +93,8 @@ exports[`MainTabsNav matches snapshot with badges 1`] = `
"left": 0,
"textAlign": "center",
"top": -8,
- "transform": Array [
- Object {
+ "transform": [
+ {
"scale": 0.85,
},
],
@@ -110,11 +108,8 @@ exports[`MainTabsNav matches snapshot with badges 1`] = `
name="taskit"
options={
{
- "tabBarAccessibilityLabel": "taskit undefined function translate(t) {
- return t;
-},[object Object]",
"tabBarBadge": undefined,
- "tabBarBadgeStyle": Object {
+ "tabBarBadgeStyle": {
"alignItems": "center",
"backgroundColor": "#ffc220",
"borderColor": "#000000",
@@ -125,8 +120,8 @@ exports[`MainTabsNav matches snapshot with badges 1`] = `
"left": 0,
"textAlign": "center",
"top": -8,
- "transform": Array [
- Object {
+ "transform": [
+ {
"scale": 0.85,
},
],
@@ -175,7 +170,7 @@ exports[`MainTabsNav matches snapshot with inbox shown and badges 1`] = `
options={
{
"tabBarBadge": undefined,
- "tabBarBadgeStyle": Object {
+ "tabBarBadgeStyle": {
"alignItems": "center",
"backgroundColor": "#ffc220",
"borderColor": "#000000",
@@ -186,8 +181,8 @@ exports[`MainTabsNav matches snapshot with inbox shown and badges 1`] = `
"left": 0,
"textAlign": "center",
"top": -8,
- "transform": Array [
- Object {
+ "transform": [
+ {
"scale": 0.85,
},
],
@@ -201,9 +196,6 @@ exports[`MainTabsNav matches snapshot with inbox shown and badges 1`] = `
name="inbox"
options={
{
- "tabBarAccessibilityLabel": "inbox 2 function translate(t) {
- return t;
-},[object Object]",
"tabBarBadge": "",
}
}
@@ -248,7 +240,7 @@ exports[`MainTabsNav matches snapshot with no badges 1`] = `
options={
{
"tabBarBadge": undefined,
- "tabBarBadgeStyle": Object {
+ "tabBarBadgeStyle": {
"alignItems": "center",
"backgroundColor": "#ffc220",
"borderColor": "#000000",
@@ -259,8 +251,8 @@ exports[`MainTabsNav matches snapshot with no badges 1`] = `
"left": 0,
"textAlign": "center",
"top": -8,
- "transform": Array [
- Object {
+ "transform": [
+ {
"scale": 0.85,
},
],
@@ -274,11 +266,9 @@ exports[`MainTabsNav matches snapshot with no badges 1`] = `
name="copilot"
options={
{
- "tabBarAccessibilityLabel": "Work undefined function translate(t) {
- return t;
-},[object Object]",
+ "tabBarAccessibilityLabel": "navigation.work",
"tabBarBadge": undefined,
- "tabBarBadgeStyle": Object {
+ "tabBarBadgeStyle": {
"alignItems": "center",
"backgroundColor": "#ffc220",
"borderColor": "#000000",
@@ -289,8 +279,8 @@ exports[`MainTabsNav matches snapshot with no badges 1`] = `
"left": 0,
"textAlign": "center",
"top": -8,
- "transform": Array [
- Object {
+ "transform": [
+ {
"scale": 0.85,
},
],
--- package-lock.json
@@ -43,7 +43,7 @@
"@walmart/attendance-mini-app": "1.62.13",
"@walmart/compass-sdk-rn": "5.7.4",
"@walmart/config-components": "4.2.8",
- "@walmart/copilot-mini-app": "^3.25.0",
+ "@walmart/copilot-mini-app": "^3.26.3",
"@walmart/core-services": "~2.2.1",
"@walmart/core-services-allspark": "~2.12.8",
"@walmart/core-utils": "~2.0.5",
@@ -8571,9 +8571,9 @@
}
},
"node_modules/@walmart/copilot-mini-app": {
- "version": "3.25.0",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.25.0.tgz",
- "integrity": "sha512-Dk8rPk+vRxbgdqX2E5BoUaeqjxMrnM5B1O0HsGvIQf3RMaC5PiatHTyg/g8DDfBJTlqvRYYpnFJMViQ4N7Nj0g==",
+ "version": "3.26.3",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.26.3.tgz",
+ "integrity": "sha512-p2rHS45LjrZLUa8HY0yUuH3sTNl+7wHLwK0c2pKFqpGOzJjEuQJhHs473HB6xociAZmuCugQf8fOMaw6wC8E3w==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -33194,9 +33194,9 @@
}
},
"@walmart/copilot-mini-app": {
- "version": "3.25.0",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.25.0.tgz",
- "integrity": "sha512-Dk8rPk+vRxbgdqX2E5BoUaeqjxMrnM5B1O0HsGvIQf3RMaC5PiatHTyg/g8DDfBJTlqvRYYpnFJMViQ4N7Nj0g=="
+ "version": "3.26.3",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.26.3.tgz",
+ "integrity": "sha512-p2rHS45LjrZLUa8HY0yUuH3sTNl+7wHLwK0c2pKFqpGOzJjEuQJhHs473HB6xociAZmuCugQf8fOMaw6wC8E3w=="
},
"@walmart/core-services": {
"version": "2.2.1",
--- package.json
@@ -84,7 +84,7 @@
"@walmart/attendance-mini-app": "1.62.13",
"@walmart/compass-sdk-rn": "5.7.4",
"@walmart/config-components": "4.2.8",
- "@walmart/copilot-mini-app": "3.25.0",
+ "@walmart/copilot-mini-app": "3.26.3",
"@walmart/core-services": "~2.2.1",
"@walmart/core-services-allspark": "~2.12.8",
"@walmart/core-utils": "~2.0.5",
@@ -164,7 +164,6 @@
"react-native-circular-progress": "^1.3.7",
"react-native-code-push": "7.1.0",
"react-native-device-info": "^10.3.0",
- "react-native-drop-shadow": "^0.0.7",
"react-native-error-boundary": "^1.1.6",
"react-native-fast-image": "^8.6.3",
"react-native-flipper": "0.182.0",
| chore: bump copilot@3.26.3 | chore: bump copilot@3.26.3
|
faefcc2a27087de5ca3170211720e5ca0874fa45 | --- src/translations/en-US.ts
@@ -7,6 +7,7 @@ export const enUS = {
'@walmart/amp-mini-app': 'Amp',
'@walmart/ask-sam-mini-app': 'Ask Sam',
'@walmart/counts-component-miniapp': 'Counts',
+ '@walmart/emergency-mini-app': 'Emergency',
'@walmart/exception-mini-app': 'Pinpoint',
'@walmart/facilities-management-miniapp': 'Facility management',
'@walmart/feedback-all-spark-miniapp': 'Feedback',
--- src/translations/es-MX.ts
@@ -7,6 +7,7 @@ export const esMX = {
'@walmart/amp-mini-app': 'Amp',
'@walmart/ask-sam-mini-app': 'Ask Sam',
'@walmart/counts-component-miniapp': 'Counts',
+ '@walmart/emergency-mini-app': 'Emergency',
'@walmart/exception-mini-app': 'Pinpoint',
'@walmart/facilities-management-miniapp': 'Gestión de instalaciones',
'@walmart/feedback-all-spark-miniapp': 'Feedback',
--- src/versions/constants.ts
@@ -11,6 +11,7 @@ export const LISTED_DEPENDENCIES = [
'@walmart/amp-mini-app',
'@walmart/ask-sam-mini-app',
'@walmart/counts-component-miniapp',
+ '@walmart/emergency-mini-app',
'@walmart/exception-mini-app',
'@walmart/facilities-management-miniapp',
'@walmart/feedback-all-spark-miniapp',
| adding emergency in version list | adding emergency in version list
|
071db42e791defecd5feb35fe1992eb06e27e7cf | --- __tests__/screens/SearchScreen/SearchScreenTest.tsx
@@ -265,6 +265,7 @@ describe('SearchScreen', () => {
);
const iconButton = renderItem.getByTestId('IconButton');
fireEvent.press(iconButton);
+ //TODO: Add assertions to check if associateRemoveHandler has been called
expect(recentSearchHistoryComponent).toBeDefined();
expect(iconButton).toBeDefined();
});
| Adding TODO | Adding TODO |
01a867e53d8d0255a669634f56aaa8e0401f80a8 | --- docs/CHANGELOG.md
@@ -1,3 +1,10 @@
+# [2.6.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.5.0...v2.6.0) (2024-06-26)
+
+
+### Features
+
+* **ui:** Merge changes for drop 23 version 1 SMDV-5921 ([82b9552](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/82b955238337ec4e45bb6f46a1ab844adf9d75e1))
+
# [2.5.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.4.0...v2.5.0) (2024-06-26)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.5.0",
+ "version": "2.6.0",
"main": "dist/index.js",
"files": [
"dist"
| chore(release): 2.6.0 [skip ci] | chore(release): 2.6.0 [skip ci]
# [2.6.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.5.0...v2.6.0) (2024-06-26)
### Features
* **ui:** Merge changes for drop 23 version 1 SMDV-5921 ([82b9552](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/82b955238337ec4e45bb6f46a1ab844adf9d75e1))
|
0498b176916092f09db439fa432d6ec28390981c | --- package-lock.json
@@ -12816,9 +12816,9 @@
"integrity": "sha512-Ls9qiNZzW/OLFoI25wfjjAcrf2DZ975hn2vr6U9gyuxi2nooVbzQeFoQS5vQcbCt9QX5NY8ASEEAtlLdIa6KVg=="
},
"react-native-ssmp-sso-allspark": {
- "version": "1.2.0",
- "resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-1.2.0.tgz",
- "integrity": "sha512-GCXmcdKZ3uwpCJtPeUdrvGkbWH43isyXRxc/3/WM9B4ZZHbYuEzw8haVjEagWhzUTLqgTtLYO5mnQZHTKFuUnQ=="
+ "version": "1.2.1",
+ "resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-1.2.1.tgz",
+ "integrity": "sha512-6C2BHP+Rh8187r1w8L77/2ByQiKtT2/AQhBfpjO1TYKNNkApT0h0vJqMqNwy9qSU16pJe3tUi1LgyldD09PbQA=="
},
"react-native-sumo-sdk": {
"version": "2.7.4-rc.9",
--- package.json
@@ -134,7 +134,7 @@
"react-native-snap-carousel": "^3.9.1",
"react-native-sound-player": "0.10.9",
"react-native-splash-screen": "^3.2.0",
- "react-native-ssmp-sso-allspark": "1.2.0",
+ "react-native-ssmp-sso-allspark": "1.2.1",
"react-native-sumo-sdk": "^2.7.4-rc.9",
"react-native-svg": "^12.1.0",
"react-native-tab-view": "^2.15.2",
| SSMP-1949 | SSMP-1949
|
b67b00696db0b39351edc405252b84abb76b628c | --- package-lock.json
@@ -1892,9 +1892,9 @@
}
},
"@walmart/ask-sam-mini-app": {
- "version": "0.6.28",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.6.28.tgz",
- "integrity": "sha512-oOblRG9LWJ707UQcWhdi2RgY0WMkAqo7WlGLBVC19L3wjCBzhbryjx7E0oe2XpGsYOGXEwO4NN4UbtoxzJzmLg==",
+ "version": "0.7.5",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.7.5.tgz",
+ "integrity": "sha512-Zhb1m7TS/5k2K9AqB6Pcm8+5R19I/KDeMnT76K5gHT5LbFC9zpLWFjl18yot9p1jbwkHffyq+gCdXH8YJOL/1Q==",
"requires": {
"apisauce": "^1.1.2",
"lodash": "^4.17.19",
--- package.json
@@ -48,7 +48,7 @@
"@walmart/allspark-health-survey-mini-app": "0.0.13",
"@walmart/allspark-home-mini-app": "0.1.7",
"@walmart/allspark-me-mini-app": "0.0.14",
- "@walmart/ask-sam-mini-app": "0.6.28",
+ "@walmart/ask-sam-mini-app": "0.7.5",
"@walmart/config-components": "1.0.8",
"@walmart/feedback-all-spark-miniapp": "0.0.30",
"@walmart/functional-components": "^1.0.22",
| Incrementing ask sam version (#219) | Incrementing ask sam version (#219)
Co-authored-by: rlane1 <rlane1@walmart.com> |
2412f28d3d836ae19ee6b9872dc2483fff2a4ca4 | --- __tests__/components/modals/hoc/EditTeamsModal.test.tsx
@@ -129,6 +129,35 @@ jest.mock('../../../../packages/associate-exp-hub-mini-app/src/constants', () =>
},
}));
+// Mock the store slice to prevent createSlice syntax error
+jest.mock('../../../../packages/associate-exp-hub-mini-app/src/store/slices/reducer', () => ({
+ associateExpHubSlice: {
+ actions: {
+ updateSelectedTeamData: jest.fn(),
+ updateSelectedShifts: jest.fn(),
+ setSelectedSavedTeamId: jest.fn(),
+ setSelectedAllTeamId: jest.fn(),
+ recordTeamSwitch: jest.fn(),
+ setUserTeamSelectionInProgress: jest.fn(),
+ },
+ reducer: jest.fn(),
+ },
+ updateSelectedTeamData: jest.fn(),
+ updateSelectedShifts: jest.fn(),
+ setSelectedSavedTeamId: jest.fn(),
+ setSelectedAllTeamId: jest.fn(),
+ recordTeamSwitch: jest.fn(),
+ setUserTeamSelectionInProgress: jest.fn(),
+ DEFAULT_SELECTED_TEAM: {
+ teamId: '',
+ teamLabel: '',
+ teamImage: {
+ uri: '',
+ blurhash: '',
+ },
+ },
+}));
+
describe('EditTeamsModal - Enhanced Coverage', () => {
beforeEach(() => {
jest.clearAllMocks();
| feat(ui): update tests | feat(ui): update tests
|
855122a1c35684cabc3fab160dd4525c957fdef4 | --- android/app/build.gradle
@@ -153,8 +153,8 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 884
- versionName "1.7.1"
+ versionCode 885
+ versionName "1.7.2"
}
splits {
abi {
--- ios/AllSpark/Info.plist
@@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.7.1</string>
+ <string>1.7.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -36,7 +36,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>884</string>
+ <string>885</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
--- package-lock.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.7.1",
+ "version": "1.7.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.7.1",
+ "version": "1.7.2",
"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 increment to 1.7.2 | version increment to 1.7.2
|
1d49628790773a9ec1f54d72c6df109892042918 | --- packages/allspark-foundation-hub/src/HubFeature/Store/Hub/Container/AllsparkSiteHubContainer.tsx
| Adding site container | Adding site container
|
e34227d0b3b39a75c3e3928e0046264ab6ab384c | --- ios/AllSpark/Info.plist
@@ -48,8 +48,6 @@
<true/>
<key>NSAppTransportSecurity</key>
<dict>
- <key>NSAllowsArbitraryLoads</key>
- <true/>
<key>NSExceptionDomains</key>
<dict>
<key>i5.walmartimages.com</key>
| Removing allow arbitrary loads | Removing allow arbitrary loads
|
9acd2cb0fb49852a000eab146763d01aa00befd6 | --- package-lock.json
@@ -62,7 +62,7 @@
"@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.20",
+ "@walmart/pay-stub-miniapp": "0.9.21",
"@walmart/payrollsolution_miniapp": "0.130.23",
"@walmart/price-changes-mini-app": "1.6.10",
"@walmart/profile-feature-app": "0.76.0",
@@ -5626,9 +5626,9 @@
}
},
"node_modules/@walmart/pay-stub-miniapp": {
- "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==",
+ "version": "0.9.21",
+ "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.9.21.tgz",
+ "integrity": "sha512-GK7Es7HpvtFNWxQES7a/2PQDeVq6QD2idsklwDv1wgiDeqwfqWJxripcI0yucrli1Sz6xSAPnjJM+164wfv05w==",
"dependencies": {
"crypto-js": "^3.3.0"
}
@@ -25302,9 +25302,9 @@
}
},
"@walmart/pay-stub-miniapp": {
- "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==",
+ "version": "0.9.21",
+ "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.9.21.tgz",
+ "integrity": "sha512-GK7Es7HpvtFNWxQES7a/2PQDeVq6QD2idsklwDv1wgiDeqwfqWJxripcI0yucrli1Sz6xSAPnjJM+164wfv05w==",
"requires": {
"crypto-js": "^3.3.0"
}
--- package.json
@@ -104,7 +104,7 @@
"@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.20",
+ "@walmart/pay-stub-miniapp": "0.9.21",
"@walmart/payrollsolution_miniapp": "0.130.23",
"@walmart/price-changes-mini-app": "1.6.10",
"@walmart/profile-feature-app": "0.76.0",
| bump version | bump version
|
1a68ba73550f51977f696b64a8986910a8365f63 | --- package.json
@@ -134,7 +134,7 @@
"@walmart/me-at-walmart-common": "workspace:^",
"@walmart/me-at-walmart-container": "workspace:^",
"@walmart/me-at-walmart-location": "^1.2.20",
- "@walmart/metrics-mini-app": "1.34.9",
+ "@walmart/metrics-mini-app": "1.34.11",
"@walmart/mod-flex-mini-app": "1.31.8",
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "2.4.3",
--- yarn.lock
@@ -8872,7 +8872,7 @@ __metadata:
"@walmart/me-at-walmart-common": "workspace:^"
"@walmart/me-at-walmart-container": "workspace:^"
"@walmart/me-at-walmart-location": "npm:^1.2.20"
- "@walmart/metrics-mini-app": "npm:1.34.9"
+ "@walmart/metrics-mini-app": "npm:1.34.11"
"@walmart/mod-flex-mini-app": "npm:1.31.8"
"@walmart/moment-walmart": "npm:1.0.4"
"@walmart/money-auth-shared-components": "npm:2.4.3"
@@ -9124,9 +9124,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/metrics-mini-app@npm:1.34.9":
- version: 1.34.9
- resolution: "@walmart/metrics-mini-app@npm:1.34.9::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fmetrics-mini-app%2F-%2F%40walmart%2Fmetrics-mini-app-1.34.9.tgz"
+"@walmart/metrics-mini-app@npm:1.34.11":
+ version: 1.34.11
+ resolution: "@walmart/metrics-mini-app@npm:1.34.11::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fmetrics-mini-app%2F-%2F%40walmart%2Fmetrics-mini-app-1.34.11.tgz"
dependencies:
"@walmart/metrics-common": "npm:1.8.2"
base-64: "npm:^1.0.0"
@@ -9152,7 +9152,7 @@ __metadata:
react-native: 0.73.7
react-redux: ">=8.0.4"
reduxsauce: ">=1.2.0"
- checksum: 10c0/18dfdbe67fc64e95d3a24481dc091bbceffa6f5db9023745ac7ed9393e65c4c070f4ab774c53c89c1a614d198590e4ddc3c76ed0768391e1d5138ba6b69b8e30
+ checksum: 10c0/f5696eb9a485f84145ef7764425c3d2b6f11920969d3d5576e3f7ac775f4d765cdc8b0717a36a801b6b1ba7f091287caf9f5b414868295b24783481eea6ab888
languageName: node
linkType: hard
| Update Metrics for 2.0 (#5255) | Update Metrics for 2.0 (#5255)
Co-authored-by: Pavan Lingamallu - p0l04ug <Pavan.Lingamallu@walmart.com> |
403ca993ce253d34ce6da04ac2281ab8f4cb2e18 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.15.13",
+ "version": "1.15.14",
"main": "dist/index.js",
"files": [
"dist"
@@ -99,7 +99,7 @@
"@walmart/react-native-shared-navigation": "6.1.4",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "3.7.0",
- "@walmart/roster-mini-app": "2.12.16",
+ "@walmart/roster-mini-app": "2.12.17",
"@walmart/ui-components": "1.15.1",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
--- yarn.lock
@@ -6473,7 +6473,7 @@ __metadata:
"@walmart/react-native-shared-navigation": "npm:6.1.4"
"@walmart/react-native-sumo-sdk": "npm:2.6.0"
"@walmart/redux-store": "npm:3.7.0"
- "@walmart/roster-mini-app": "npm:2.12.16"
+ "@walmart/roster-mini-app": "npm:2.12.17"
"@walmart/ui-components": "npm:1.15.1"
babel-jest: "npm:^29.2.1"
chance: "npm:^1.1.11"
@@ -6654,9 +6654,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:2.12.16":
- version: 2.12.16
- resolution: "@walmart/roster-mini-app@npm:2.12.16"
+"@walmart/roster-mini-app@npm:2.12.17":
+ version: 2.12.17
+ resolution: "@walmart/roster-mini-app@npm:2.12.17"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6698,7 +6698,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/25477948615d6ef4ed9937667545c361bca5a7c3fd3cfee6312a64dc10823aa68fc762b01c1b856e3d7e8ff7b3463d2d4e9d24d4e70d92bc33949eb5266c699b
+ checksum: 10c0/fd012c0325ae292778956b1baa2d215879c690a4ec2d1bc3e159c98be5ec6e615e2151c1cea6e96b1d538a5041f463e57acdc254613459789827c4256d8fd10f
languageName: node
linkType: hard
| Update the version for roster | Update the version for roster
|
ee2daa16f8c47e71ea1fb82aefb7c8e554c6b8ef | --- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.3.13",
+ "version": "1.3.14",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/allspark-foundation-hub/src/SupplyChain/Components/TeamShiftSwitcher/style.ts
@@ -5,7 +5,6 @@ const { width } = Dimensions.get('window');
export const teamShiftSwitcherStyles = StyleSheet.create({
teamShiftSwitcherContainer: {
backgroundColor: colors.blue['100'],
- paddingVertical: 12,
},
teamImage: {
alignSelf: 'flex-start',
--- packages/allspark-foundation-hub/src/SupplyChain/Hub/styles.ts
@@ -3,6 +3,7 @@ import { colors } from '@walmart/gtp-shared-components';
export const styles = StyleSheet.create({
switcherContainer: {
+ backgroundColor: colors.blue['100'],
minHeight: 70,
paddingBottom: 20,
},
| Update the style for shift switcher | Update the style for shift switcher
|
f83203838268b9c33fc317cfef4ea5ea8a249755 | --- 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.20.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.20.0...@walmart/allspark-foundation-hub@1.20.1) (2025-10-30)
+
+**Note:** Version bump only for package @walmart/allspark-foundation-hub
+
# [1.20.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.19.18...@walmart/allspark-foundation-hub@1.20.0) (2025-10-30)
### Features
--- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.20.0",
+ "version": "1.20.1",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/allspark-foundation/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [7.9.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.9.0...@walmart/allspark-foundation@7.9.1) (2025-10-30)
+
+### Bug Fixes
+
+- disable navigationInChildEnabled ([#460](https://gecgithub01.walmart.com/allspark/allspark/issues/460)) ([26198bf](https://gecgithub01.walmart.com/allspark/allspark/commit/26198bf702872a79a687f7fdc0aeed1fce30c3f4))
+
# [7.9.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.8.1...@walmart/allspark-foundation@7.9.0) (2025-10-30)
### Features
--- packages/allspark-foundation/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation",
- "version": "7.9.0",
+ "version": "7.9.1",
"description": "",
"main": "Core/index.js",
"types": "Core/index.d.ts",
--- packages/me-at-walmart-geolocation/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.3.19](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-geolocation@1.3.18...@walmart/me-at-walmart-geolocation@1.3.19) (2025-10-30)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-geolocation
+
## [1.3.18](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-geolocation@1.3.17...@walmart/me-at-walmart-geolocation@1.3.18) (2025-10-30)
**Note:** Version bump only for package @walmart/me-at-walmart-geolocation
--- packages/me-at-walmart-geolocation/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-geolocation",
- "version": "1.3.18",
+ "version": "1.3.19",
"description": "Geofencing, location tracking and location services for me@ apps",
"author": "m0n09mr <maksym.novakh@walmart.com>",
"main": "./lib/cjs/index.js",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-foundation@7.9.1
- @walmart/allspark-foundation-hub@1.20.1
- @walmart/me-at-walmart-geolocation@1.3.19
|
cddb80dd5ef49715d1c60c8aefa6ebdd352ce31d | --- package.json
@@ -147,7 +147,7 @@
"@types/semver": "^7.3.4",
"@types/uuid": "^8.3.0",
"@walmart/allspark-foundation": "6.22.0",
- "@walmart/allspark-foundation-hub": "1.0.1-beta.19",
+ "@walmart/allspark-foundation-hub": "1.2.0",
"@walmart/allspark-graphql-client": "~6.3.28",
"@walmart/allspark-http-client": "~6.3.28",
"@walmart/allspark-utils": "~6.5.0",
--- targets/US/package.json
@@ -78,7 +78,7 @@
"@walmart/allspark-authentication": "~6.4.1",
"@walmart/allspark-cope-key-listener": "0.0.18",
"@walmart/allspark-foundation": "6.22.0",
- "@walmart/allspark-foundation-hub": "1.0.1-beta.19",
+ "@walmart/allspark-foundation-hub": "1.2.0",
"@walmart/allspark-graphql-client": "~6.3.28",
"@walmart/allspark-http-client": "~6.3.28",
"@walmart/allspark-neon-core": "0.1.31",
--- yarn.lock
@@ -5966,9 +5966,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation-hub@npm:1.0.1-beta.19":
- version: 1.0.1-beta.19
- resolution: "@walmart/allspark-foundation-hub@npm:1.0.1-beta.19"
+"@walmart/allspark-foundation-hub@npm:1.2.0":
+ version: 1.2.0
+ resolution: "@walmart/allspark-foundation-hub@npm:1.2.0"
dependencies:
"@apollo/client": "npm:^3.8.6"
"@graphql-codegen/cli": "npm:^5.0.0"
@@ -5977,7 +5977,6 @@ __metadata:
"@graphql-codegen/typescript-operations": "npm:^4.0.1"
"@graphql-codegen/typescript-react-apollo": "npm:^4.1.0"
"@reduxjs/toolkit": "npm:^1.9.7"
- "@shopify/flash-list": "npm:~1.6.4"
"@types/node-fetch": "npm:^2.6.9"
axios: "npm:~1.6.0"
axios-cache-interceptor: "npm:^1.3.2"
@@ -6064,7 +6063,7 @@ __metadata:
allspark-generate-graphql: cli/generate.js
allspark-link: cli/link.js
allspark-setup: cli/setup.js
- checksum: 10c0/4ee02f421510dfacab6d8298329d7fb354868b27cd92425b23ed4407fd5a973220854254f4e75f9de63b623d64dfbeb26ac9d5958d9d93b15d90a3e1ce444168
+ checksum: 10c0/181b816f7327b326a2ed3d34c738f5fb2deee7033932cd169a82851bc0869223d7c69d8353cfa819ecc30c7549b69b17fcafff8f9af2e1203fe7299c862f5bb1
languageName: node
linkType: hard
@@ -7367,7 +7366,7 @@ __metadata:
"@walmart/allspark-authentication": "npm:~6.4.1"
"@walmart/allspark-cope-key-listener": "npm:0.0.18"
"@walmart/allspark-foundation": "npm:6.22.0"
- "@walmart/allspark-foundation-hub": "npm:1.0.1-beta.19"
+ "@walmart/allspark-foundation-hub": "npm:1.2.0"
"@walmart/allspark-graphql-client": "npm:~6.3.28"
"@walmart/allspark-http-client": "npm:~6.3.28"
"@walmart/allspark-neon-core": "npm:0.1.31"
| Update the foundation hub version | Update the foundation hub version
|
6fd5d4d3bc7dac1b49900713ec29327dee7f1482 | --- package-lock.json
@@ -40,7 +40,7 @@
"@walmart/amp-mini-app": "1.1.59",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.15.4",
- "@walmart/attendance-mini-app": "1.62.5",
+ "@walmart/attendance-mini-app": "1.62.6",
"@walmart/compass-sdk-rn": "5.7.0",
"@walmart/config-components": "4.2.7",
"@walmart/copilot-mini-app": "2.3.19",
@@ -8002,9 +8002,9 @@
}
},
"node_modules/@walmart/attendance-mini-app": {
- "version": "1.62.5",
- "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-1.62.5.tgz",
- "integrity": "sha512-WYL2bECFmI+5v0FpNLpfZfRSqjGqchQ1tKZ5CV+dlf34dkl7Ih7hF/6xUUDVttxYP4r0zbe121XNhsiTtJDAxQ==",
+ "version": "1.62.6",
+ "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-1.62.6.tgz",
+ "integrity": "sha512-swbFpWXbtL26SPZBSy+QtOQOKtK3fTLY/IYKt2DrI2OajrFrH5/5CdRevQ+o+Dg7pAKz4gsyDUg7oYULtsuMPQ==",
"dependencies": {
"@walmart/gta-react-native-calendars": "^0.0.16",
"@walmart/wfm-ui": "^0.2.26",
@@ -34162,9 +34162,9 @@
}
},
"@walmart/attendance-mini-app": {
- "version": "1.62.5",
- "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-1.62.5.tgz",
- "integrity": "sha512-WYL2bECFmI+5v0FpNLpfZfRSqjGqchQ1tKZ5CV+dlf34dkl7Ih7hF/6xUUDVttxYP4r0zbe121XNhsiTtJDAxQ==",
+ "version": "1.62.6",
+ "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-1.62.6.tgz",
+ "integrity": "sha512-swbFpWXbtL26SPZBSy+QtOQOKtK3fTLY/IYKt2DrI2OajrFrH5/5CdRevQ+o+Dg7pAKz4gsyDUg7oYULtsuMPQ==",
"requires": {
"@walmart/gta-react-native-calendars": "^0.0.16",
"@walmart/wfm-ui": "^0.2.26",
--- package.json
@@ -81,7 +81,7 @@
"@walmart/amp-mini-app": "1.1.59",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.15.4",
- "@walmart/attendance-mini-app": "1.62.5",
+ "@walmart/attendance-mini-app": "1.62.6",
"@walmart/compass-sdk-rn": "5.7.0",
"@walmart/config-components": "4.2.7",
"@walmart/copilot-mini-app": "2.3.19",
| ama v1.62.6 report an absence firebase events and disable tor for drivers | ama v1.62.6 report an absence firebase events and disable tor for drivers
|
56669392bf62bd94d7645317bf8d88baf5a2493b | --- packages/allspark-foundation-hub/src/Store/Hub/TeamSwitcher/index.tsx
@@ -119,12 +119,10 @@ export const TeamSwitcher = ({
dispatch(
ManagerExperienceCreators.updateSelectedTeamIDs(selectedTeamsList)
);
- onTeamChange(team.teamId, selectedTeamsList);
} else {
dispatch(
ManagerExperienceCreators.updateSelectedTeamIDs([team.teamId])
);
- onTeamChange(team.teamId, [team.teamId]);
}
};
| Update team switcher | Update team switcher
|
b4b43e7f3c930f70cc6b73df2930177bdfb2aa5b | --- yarn.lock
@@ -6874,7 +6874,7 @@ __metadata:
"@walmart/store-feature-orders": "npm:1.26.12"
"@walmart/taskit-mini-app": "patch:@walmart/taskit-mini-app@npm%3A3.3.0#~/.yarn/patches/@walmart-taskit-mini-app-npm-3.3.0-a2dd632c59.patch"
"@walmart/time-clock-mini-app": "npm:2.400.0"
- "@walmart/topstock-mini-app": "npm:1.16.23"
+ "@walmart/topstock-mini-app": "npm:1.16.25"
"@walmart/ui-components": "patch:@walmart/ui-components@patch%3A@walmart/ui-components@npm%253A1.16.1%23~/.yarn/patches/@walmart-ui-components-npm-1.16.1-c240fb0151.patch%3A%3Aversion=1.16.1&hash=79c828#~/.yarn/patches/@walmart-ui-components-patch-cd5ae6f92c.patch"
"@walmart/welcomeme-mini-app": "npm:0.95.1"
"@walmart/wfm-ui": "npm:1.6.0"
@@ -7860,9 +7860,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/topstock-mini-app@npm:1.16.23":
- version: 1.16.23
- resolution: "@walmart/topstock-mini-app@npm:1.16.23"
+"@walmart/topstock-mini-app@npm:1.16.25":
+ version: 1.16.25
+ resolution: "@walmart/topstock-mini-app@npm:1.16.25"
peerDependencies:
"@react-native-firebase/app": ^15.1.1
"@react-native-firebase/crashlytics": ^15.1.1
@@ -7879,7 +7879,7 @@ __metadata:
react-native-haptic-feedback: ^1.13.0
react-native-vector-icons: ">=6.6.0"
react-redux: ">=7.2.0"
- checksum: 10c0/14c513f6c88b79e78be0c246bde39831c65dafe10ca9d85ce47908e8d36e7d2499cc6f1825feb07903b57c4698fa58b4fd74ee6c1f7fe6c6240a4586da592615
+ checksum: 10c0/e214b9e8fc472d3099d2da6910f87cd0d6a486370832535150c8b7aaec1fd3e862b8cc9e96512c67527bfed1a8787c35c5d86ada1d5a950d2a13405b33d73bcc
languageName: node
linkType: hard
| fix(): updated topstock version to 1.16.25 | fix(): updated topstock version to 1.16.25
|
dd1bf0d32966d77ff24f9a8879a2852a504e3e37 | --- __tests__/navigation/AssociateHallwayNav/MainStackNavTest.tsx
@@ -30,6 +30,10 @@ jest.mock('../../../src/biometrics/BiometricModal', () => ({
BiometricModal: 'BiometricModal',
}));
+jest.mock('@walmart/emergency-mini-app', () => ({
+ EmergencyBannerScreen: 'EmergencyBannerScreen',
+}));
+
jest.mock('../../../src/navigation/NavigationConstants', () => ({
commonModalHeaderProps: {},
backButtonOnlyHeaderProps: {},
--- __tests__/navigation/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap
@@ -198,6 +198,15 @@ Array [
}
}
>
+ <Screen
+ component="EmergencyBannerScreen"
+ name="emergency.banner"
+ options={
+ Object {
+ "gestureDirection": "vertical",
+ }
+ }
+ />
<Screen
component="AskSamMiniApp"
name="askSam"
| add unit test for emergency navigation' | add unit test for emergency navigation'
|
b2ff057f73689e15aa19de6b5357e7ab4b0939c7 | --- docs/docs/getting-started.md
@@ -19,6 +19,7 @@ See the [Introduction](./components/allspark%20foundation/foundation-intro.md) p
- Android Studio
- Cocoapods
+[Environment setup guide for react native](https://reactnative.dev/docs/set-up-your-environment) will help you install most of the dependencies correctly.
For migrating a feature app to Foundation, read the [migration documentation](./components/allspark%20foundation/migration%20guides/foundation-migration.md). There are six phases in total, however the final phase is optional.
| docs: add instructions for installing prerequisites | docs: add instructions for installing prerequisites
|
32a17f4a2279e07380f1e5aa4e3a89748cca085e | --- package.json
@@ -161,7 +161,7 @@
"@walmart/walmart-fiscal-week": "^0.3.6",
"@walmart/welcomeme-mini-app": "1.0.13",
"@walmart/wfm-ui": "3.0.2",
- "@walmart/wm-plus-mini-app": "1.5.4",
+ "@walmart/wm-plus-mini-app": "1.5.5",
"@walmart/wmconnect-mini-app": "3.1.1",
"axios": "~1.6.0",
"axios-cache-adapter": "patch:axios-cache-adapter@npm%3A2.7.3#~/.yarn/patches/axios-cache-adapter-npm-2.7.3-26c357b785.patch",
--- yarn.lock
@@ -7669,7 +7669,7 @@ __metadata:
"@walmart/walmart-fiscal-week": "npm:^0.3.6"
"@walmart/welcomeme-mini-app": "npm:1.0.13"
"@walmart/wfm-ui": "npm:3.0.2"
- "@walmart/wm-plus-mini-app": "npm:1.5.4"
+ "@walmart/wm-plus-mini-app": "npm:1.5.5"
"@walmart/wmconnect-mini-app": "npm:3.1.1"
adaptive-expressions: "npm:^4.13.5"
adaptivecards-templating: "npm:^2.1.0"
@@ -8762,16 +8762,16 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wm-plus-mini-app@npm:1.5.4":
- version: 1.5.4
- resolution: "@walmart/wm-plus-mini-app@npm:1.5.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwm-plus-mini-app%2F-%2F%40walmart%2Fwm-plus-mini-app-1.5.4.tgz"
+"@walmart/wm-plus-mini-app@npm:1.5.5":
+ version: 1.5.5
+ resolution: "@walmart/wm-plus-mini-app@npm:1.5.5::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwm-plus-mini-app%2F-%2F%40walmart%2Fwm-plus-mini-app-1.5.5.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=6.0.0"
expo: 50.0.17
expo-image: 1.5.2
react: "*"
react-native: "*"
- checksum: 10c0/5c5d79f69a038c3a8d79ba0ea3d3ef8c248d8f07b7b5269d190f3f1127fe404efa92793a82f1914376a83d76262f3f31e3a8f3b500657bf9e044b0cd4c269c80
+ checksum: 10c0/7b6347e67d1eba5709d627bc6efe3783664d9e88eb69e7ca51ff5435e2d0b0e73f3e6cd4fe3ef7ca6b46225ffda59e3403912f29e1085a1ceca9a1e57741f016
languageName: node
linkType: hard
| feat(profile): update wmplus miniapp to 1.5.5 (#4469) | feat(profile): update wmplus miniapp to 1.5.5 (#4469)
* feat(profile): update wmplus miniapp to 1.5.5
* feat(profile): trigger build
---------
Co-authored-by: Pratibha Thimmoji - p0t00x3 <pratibha.thimmoji@walmart.com>
Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com> |
2e3ee5d31b1fc297d51976529c9499194a337b49 | --- package-lock.json
@@ -3323,9 +3323,9 @@
"integrity": "sha512-GIK3yOpMOShJylR3pFnCnQhNOCknzhcpSE+qW51mUXrnVkOxUBK8ENtYurUc2GumOROfh+728tCHyXoY7yB+NQ=="
},
"@walmart/counts-component-miniapp": {
- "version": "0.0.17",
- "resolved": "https://npme.walmart.com/@walmart/counts-component-miniapp/-/counts-component-miniapp-0.0.17.tgz",
- "integrity": "sha512-5cla0k4tS7an8zHF5Fn8udmss3AsWs1UXPV/QwC0W49L/BD6SK+I6TcuPnEnGugOS718JTgMSG32iPED/yOSIA=="
+ "version": "0.0.18",
+ "resolved": "https://npme.walmart.com/@walmart/counts-component-miniapp/-/counts-component-miniapp-0.0.18.tgz",
+ "integrity": "sha512-25jOl+Jh0tHbfjXVwBc6ckMs/e0gQPeHQufIXxEZoqfHdCio7804wVD8mtkkKXPtyISi8fOXy1TIfwKoxEFYIw=="
},
"@walmart/exception-mini-app": {
"version": "0.31.0",
--- package.json
@@ -68,7 +68,7 @@
"@walmart/allspark-me-mini-app": "0.2.2",
"@walmart/ask-sam-mini-app": "0.30.12",
"@walmart/config-components": "^1.0.28",
- "@walmart/counts-component-miniapp": "0.0.17",
+ "@walmart/counts-component-miniapp": "0.0.18",
"@walmart/exception-mini-app": "0.31.0",
"@walmart/feedback-all-spark-miniapp": "0.0.58",
"@walmart/functional-components": "1.0.31",
| Counts miniapp update | Counts miniapp update
|
cb3894fc826ce0a36871981ab7c51bebbc7b3d0f | --- src/hooks/user.ts
@@ -1,6 +1,6 @@
import {useSelector} from 'react-redux';
import {isNil} from 'lodash';
-import {useEnvironment} from '@walmart/allspark-foundation';
+import {useEnvironment} from '@walmart/allspark-foundation/Environment';
import {logger} from '../common/logger';
import {UserSelectors} from '@walmart/allspark-foundation/User';
import {SiteSelectors} from '@walmart/allspark-foundation/Site';
| feat: updated import | feat: updated import
|
4cbe3aa44647f45a1e105e81bffbeed3fb1476be | --- __tests__/components/TeamHubHeaderTest.test.tsx
@@ -0,0 +1,33 @@
+import React from 'react';
+import { renderWithProviders } from '../harness';
+import { TeamHubHeader } from '../../src/components/TeamHubHeader';
+import { render, screen } from '@testing-library/react-native';
+import { useTranslation } from 'react-i18next';
+
+jest.mock('../../src/common/translation', () => ({
+ translationClient: {
+ useTranslation: jest.fn(() => ({ t: jest.fn(key => key) }))
+ }
+}));
+
+interface HubHeaderProps {
+ title: string;
+ subText: string;
+}
+
+jest.mock('@walmart/allspark-foundation-hub', () => ({
+ HubHeader: (props: HubHeaderProps) => (
+ <div>
+ <h1 aria-label='title'>{props.title}</h1>
+ <p aria-label='subText'>{props.subText}</p>
+ </div>
+ )
+}));
+
+describe('Hub header tests', () => {
+ it('probably renders the header', () => {
+ render(<TeamHubHeader />);
+ const title = screen.getByLabelText('title');
+ expect(title).toHaveProperty('_fiber.memoizedProps.children', 'hubHeader.title');
+ });
+});
--- __tests__/components/TeamHubHeaderTest.tsx
@@ -1,23 +0,0 @@
-import React from 'react';
-import { renderWithProviders } from '../harness';
-import { TeamHubHeader } from '../../src/components/TeamHubHeader';
-import { render, screen } from '@testing-library/react-native';
-
-jest.mock('@walmart/allspark-foundation', () => ({
- AllsparkFeature: jest.fn(() => ({
- createTranslationClient: jest.fn(() => ({
- useTranslation: jest.fn(() => ({
- t: jest.fn(key => (key)),
- })),
- })),
- })),
-}));
-
-describe('Hub header tests', () => {
- it('probably renders the header', () => {
- console.log(TeamHubHeader)
- renderWithProviders(<TeamHubHeader />);
- const title = screen.getByLabelText('hubHeader.title');
- expect(title).toBeDefined();
- });
-});
--- __tests__/components/WarningBannerTest.test.tsx
| Fixed test file names for folder and fixed header test | Fixed test file names for folder and fixed header test
|
7b9d8b39f3876032e0a457c179deb3a610498db6 | --- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.3.10",
+ "version": "1.3.11",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| Update foundation hub version | Update foundation hub version
|
dcad5c7e10ac91757a633f27a3529a28ac7287f9 | --- core/__tests__/navigation/USHallway/hallwaysTest.tsx
@@ -0,0 +1,38 @@
+import React from 'react';
+import {LazyPreHireHallway, LazyAssociateHallway} from '../../../src/navigation/USHallway/hallways';
+
+jest.mock('../../../src/navigation/USHallway/PreHireHallwayNav', () => {
+ throw new Error('Failed to load PreHireHallwayNav');
+});
+
+jest.mock('../../../src/navigation/USHallway/AssociateHallwayNav', () => {
+ throw new Error('Failed to load AssociateHallwayNav');
+});
+
+describe('Hallways', () => {
+ beforeEach(() => {
+ jest.clearAllMocks();
+ });
+
+ it('exports lazy-loaded components', () => {
+ expect(LazyPreHireHallway).toBeDefined();
+ expect(LazyPreHireHallway.$$typeof).toBe(Symbol.for('react.lazy'));
+
+ expect(LazyAssociateHallway).toBeDefined();
+ expect(LazyAssociateHallway.$$typeof).toBe(Symbol.for('react.lazy'));
+ });
+
+ describe('PreHireHallway', () => {
+ it('handles loading error', async () => {
+ const lazyComponent = LazyPreHireHallway as any;
+ await expect(lazyComponent._payload._result()).rejects.toThrow('Failed to load PreHireHallwayNav');
+ });
+ });
+
+ describe('AssociateHallway', () => {
+ it('handles loading error', async () => {
+ const lazyComponent = LazyAssociateHallway as any;
+ await expect(lazyComponent._payload._result()).rejects.toThrow('Failed to load AssociateHallwayNav');
+ });
+ });
+});
\ No newline at end of file
| added tests for lazy loaded hallways | added tests for lazy loaded hallways
|
c07e6f398d5a5324f58dc7d6c2d7ceb53a186a81 | --- .looper.multibranch.yml
@@ -270,8 +270,7 @@ flows:
##
## @param (unnamed) env release type
build:
- - tools(android = ${ANDROID_TOOLS}):
- - echo "Installed android tools in this flow multibranch flow"
+ - tools(android = ${ANDROID_TOOLS})
- declare(BUILD_NUMBER)
- echo "release type ${releaseType}"
- echo "slackIcon ${slackIcon}"
| removed echo | removed echo
|
ebb229014d7cc9f3da20d76cba1ce7bf8d13a3db | --- src/services/blob.ts
@@ -95,8 +95,6 @@ export const downloadBlobWithRetry = async (
* @returns localURI pointing to local file in file system
*/
export const fetchResource = async (remoteURI: string): Promise<string> => {
- console.log('fetchResource: remoteURI');
- console.log(remoteURI);
// if (Platform.OS === 'android') {
// await PermissionsAndroid.request(
// PermissionsAndroid.PERMISSIONS.WRITE_EXTERNAL_STORAGE,
--- src/utils/blob.ts
@@ -3,14 +3,6 @@ import * as FileSystem from 'expo-file-system';
import {stat} from 'react-native-fs';
import moment from 'moment-timezone';
import {isNil} from 'lodash';
-import {fetchResource} from '../services/blob';
-import {
- getCurrentRouteName,
- navigate,
-} from '@walmart/react-native-shared-navigation';
-import {Audio} from 'expo-av';
-import {logger} from '../logger/Logger';
-import {ROOT_CONTAINER_SCREEN_NAME} from '../constants';
// --- Local Blob Storage --- //
// Interaction with the local filesystem
--- src/services/blob.ts
@@ -95,8 +95,6 @@ export const downloadBlobWithRetry = async (
* @returns localURI pointing to local file in file system
*/
export const fetchResource = async (remoteURI: string): Promise<string> => {
- console.log('fetchResource: remoteURI');
- console.log(remoteURI);
// if (Platform.OS === 'android') {
// await PermissionsAndroid.request(
// PermissionsAndroid.PERMISSIONS.WRITE_EXTERNAL_STORAGE,
--- src/utils/blob.ts
@@ -3,14 +3,6 @@ import * as FileSystem from 'expo-file-system';
import {stat} from 'react-native-fs';
import moment from 'moment-timezone';
import {isNil} from 'lodash';
-import {fetchResource} from '../services/blob';
-import {
- getCurrentRouteName,
- navigate,
-} from '@walmart/react-native-shared-navigation';
-import {Audio} from 'expo-av';
-import {logger} from '../logger/Logger';
-import {ROOT_CONTAINER_SCREEN_NAME} from '../constants';
// --- Local Blob Storage --- //
// Interaction with the local filesystem
| code cleanup | code cleanup
|
cbd35141a365a9a7a6b4d4dbb490e24f85248901 | --- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/roster-mini-app",
- "version": "1.0.4",
+ "version": "1.0.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/roster-mini-app",
- "version": "1.0.4",
+ "version": "1.0.5",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.20.0",
@@ -67,7 +67,7 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.3",
+ "@walmart/wmconnect-mini-app": "1.0.5",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
@@ -11853,9 +11853,9 @@
}
},
"node_modules/@walmart/wmconnect-mini-app": {
- "version": "1.0.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.5",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.5.tgz",
+ "integrity": "sha512-UknVlgxDqjQgmOWLkSuw+w9aowxzOETeAhDtWnbuLZUO8yCfl4Oo2Mfz9N/FesUleQ6woTgKlZqZ11O3UypFmg==",
"dev": true,
"hasInstallScript": true
},
@@ -41071,9 +41071,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.5",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.5.tgz",
+ "integrity": "sha512-UknVlgxDqjQgmOWLkSuw+w9aowxzOETeAhDtWnbuLZUO8yCfl4Oo2Mfz9N/FesUleQ6woTgKlZqZ11O3UypFmg==",
"dev": true
},
"@whatwg-node/events": {
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "1.0.4",
+ "version": "1.0.5",
"private": false,
"main": "dist/index.js",
"files": [
@@ -90,7 +90,7 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.3",
+ "@walmart/wmconnect-mini-app": "1.0.5",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
| Update version | Update version
|
b2c4d49e9539b3a766e0780d5eaaffa4c7c68a93 | --- packages/allspark-foundation/src/GraphQL/hooks.ts
@@ -12,6 +12,7 @@ import {
LazyQueryHookOptions,
QueryHookOptions,
} from '@apollo/client';
+import { useHttpClient } from '../HTTP';
import { AllsparkGraphQLClient } from './client';
/**
@@ -38,10 +39,11 @@ export const useQuery = <
featureId?: string;
}
) => {
+ const httpContext = useHttpClient();
return useQueryBase(query, {
...options,
context: {
- featureId: options?.featureId,
+ featureId: options?.featureId || httpContext?.featureId,
...(options?.context || {}),
},
});
@@ -62,10 +64,11 @@ export const useLazyQuery = <
featureId?: string;
}
) => {
+ const httpContext = useHttpClient();
return useLazyQueryBase(query, {
...options,
context: {
- featureId: options?.featureId,
+ featureId: options?.featureId || httpContext?.featureId,
...(options?.context || {}),
},
});
@@ -93,10 +96,11 @@ export const useMutation = <
featureId?: string;
}
) => {
+ const httpContext = useHttpClient();
return useMutationBase(query, {
...options,
context: {
- featureId: options?.featureId,
+ featureId: options?.featureId || httpContext?.featureId,
...(options?.context || ({} as TContext)),
},
});
| fix: legacy http client context was not being honored by graphql hooks | fix: legacy http client context was not being honored by graphql hooks
|
01f8c7ec1a4d104c035c4ae3bcb0a5935393fbfa | --- packages/allspark-foundation-hub/__tests__/HubFeature/Hub/__snapshots__/AddEditButton.test.tsx.snap
@@ -49,6 +49,7 @@ exports[`AddEditButton renders correctly 1`] = `
"borderWidth": 1.5,
"height": 40,
"justifyContent": "center",
+ "marginTop": 4,
"width": 40,
}
}
| Add cancel button for error screen | Add cancel button for error screen
|
a0fa51be2e3da076c71ced76cc3d1511a343c712 | --- package-lock.json
@@ -5046,9 +5046,9 @@
}
},
"@walmart/core-services": {
- "version": "1.2.1",
- "resolved": "https://npme.walmart.com/@walmart/core-services/-/core-services-1.2.1.tgz",
- "integrity": "sha512-YLnUmrC8zHVLDGNmyM3JShg2XwQUcoryatT3zpkkCn0nNczMG3j/oGAVPwi7ejwkbPE/qyGkbbqzIv1ULRboWg==",
+ "version": "1.2.4",
+ "resolved": "https://npme.walmart.com/@walmart/core-services/-/core-services-1.2.4.tgz",
+ "integrity": "sha512-HI+qErs8SW4BtcEnyaE4+IWN8KWCVaLro514Hsrf3kkLDfnsBgJUgBbP6RN9Kvog87s19bkBgDYOj+S/cvN07g==",
"requires": {
"@walmart/core-utils": "^1.0.10",
"axios": "^0.26.0",
@@ -5085,9 +5085,9 @@
}
},
"@walmart/core-services-allspark": {
- "version": "1.7.2",
- "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-1.7.2.tgz",
- "integrity": "sha512-hs2ShSkI5Y2xnku4yUbJXnPTCkNYDAwQvbiug3ofiayalrEzXkwcGV56bRtFLsnE2bwsEmXsmI3WgyIQ0aTAXw==",
+ "version": "1.7.11",
+ "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-1.7.11.tgz",
+ "integrity": "sha512-is5KRRNtPuZQF4nx153KN3vZGi46DfNpHN/MkG8fVaSJ9OvdCwFlZ/OMeBitxSRuSXdjY41Gcd8C1jzh4+EgyA==",
"requires": {
"axios": "^0.26.0",
"crypto-js": "^4.1.1",
--- package.json
@@ -78,8 +78,8 @@
"@walmart/amp-mini-app": "0.2.10",
"@walmart/ask-sam-mini-app": "1.1.2",
"@walmart/config-components": "3.0.2",
- "@walmart/core-services": "~1.2.1",
- "@walmart/core-services-allspark": "~1.7.2",
+ "@walmart/core-services": "~1.2.4",
+ "@walmart/core-services-allspark": "~1.7.11",
"@walmart/core-utils": "~1.0.10",
"@walmart/core-widget-registry": "0.3.2",
"@walmart/counts-component-miniapp": "0.0.35",
| bumping core services for permission and user id fixes | bumping core services for permission and user id fixes
|
3b6b220741ad74e37cb8c5b498a14fa9552b5988 | --- packages/allspark-foundation/src/Nudge/NudgeLogger.ts
@@ -12,4 +12,4 @@ import { LoggerService } from '../Logger';
*/
export const NudgeLogger =
- LoggerService.createFeatureInstance('allspark-nudge');
+ LoggerService.createFeatureInstance('nudge');
--- packages/allspark-foundation/src/Nudge/NudgeTelemetry.ts
@@ -10,4 +10,4 @@ import { TelemetryService } from '../Telemetry';
*/
export const NudgeTelemetry =
- TelemetryService.createFeatureInstance('allspark-nudge');
+ TelemetryService.createFeatureInstance('nudge');
--- packages/allspark-foundation/src/Nudge/constants.ts
@@ -1,14 +1,13 @@
export const CORE_NUDGE = 'coreNudge';
export const FEATURE_NUDGE = 'featureNudge';
export const NUDGE_BANNER = 'nudgeBanner';
-export const NUDGE_BANNER_SHOWN_TELEMETRY = 'nudge_banner_shown';
+export const NUDGE_BANNER_SHOWN_TELEMETRY = 'banner_shown';
export const NUDGE_BOTTOM_SHEET_SHOWN_TELEMETRY =
- 'nudge_optional_bottom_sheet_shown';
-export const NUDGE_BANNER_SHOWN_LOG = 'Nudge banner shown';
-export const NUDGE_BOTTOM_SHEET_SHOWN_LOG = 'Nudge optional bottomSheet shown';
-export const NUDGE_MANDATORY_SCREEN_SHOWN_TELEMETRY =
- 'nudge_mandatory_screen_shown';
-export const NUDGE_MANDATORY_SCREEN_SHOWN_LOG = 'Nudge mandatory screen shown';
+ 'optional_bottom_sheet';
+export const NUDGE_BANNER_SHOWN_LOG = 'banner shown';
+export const NUDGE_BOTTOM_SHEET_SHOWN_LOG = 'optional bottomSheet';
+export const NUDGE_MANDATORY_SCREEN_SHOWN_TELEMETRY = 'mandatory_screen';
+export const NUDGE_MANDATORY_SCREEN_SHOWN_LOG = 'mandatory screen';
export const urlListFallback = {
android:
'https://play.google.com/store/apps/details?id=com.walmart.squiggly&hl=en_US&gl=US',
--- packages/allspark-foundation/src/Nudge/helpers.tsx
@@ -131,13 +131,12 @@ export const setNudgeLogsAndTelemetry = (
? NUDGE_BANNER_SHOWN_TELEMETRY
: NUDGE_BOTTOM_SHEET_SHOWN_TELEMETRY;
- NudgeLogger.info(telemetryMessage, {
+ NudgeLogger.info(logEventName, {
featureId,
value: `${config?.title}\n ${config?.description!}`,
});
- NudgeTelemetry.logEvent(logEventName, {
+ NudgeTelemetry.logEvent(telemetryMessage, {
featureId,
- value: `${config?.title}\n ${config?.description!}`,
});
};
--- packages/allspark-foundation/src/Nudge/withNudgeGuard.tsx
@@ -83,7 +83,10 @@ export const NudgeGuard = (props: PropsWithChildren<IWithNudgeGuardProps>) => {
}
);
}
- }, [config, featureId, mandatory]);
+ return () => {
+ setBottomSheetOpen(false);
+ }
+ }, [featureId, enabled, optional, isAppVersion]); //eslint-disable-line react-hooks/exhaustive-deps
return (
<>
| fix(nudge): clean up and optimization nudge (#453) | fix(nudge): clean up and optimization nudge (#453)
Co-authored-by: Maksym Novakh <maksym.novakh@walmart.com> |
66c991d4b8cea722e4a87bde7c329a5be237be60 | --- packages/allspark-foundation/src/FeatureRunner/AllsparkFeatureRunner.tsx
@@ -57,7 +57,7 @@ export class AllsparkFeatureRunner<
config: FeatureRunnerOptions
) => {
try {
- const env = container.config.environment.config?.[config.environment];
+ const env = container.config.environment.config?.[config.environment.env];
const containerConfig =
typeof container.config.featureRunner === 'function'
? container.config.featureRunner(env)
--- packages/allspark-foundation/src/FeatureRunner/types.ts
@@ -2,7 +2,7 @@ import { ComponentType } from 'react';
import { AuthConfiguration } from '../Auth';
import { ContainerProviderProps } from '../Container';
import { AllsparkFeatureModule, AllsparkScreenProps } from '../Core';
-import { BaseAllsparkEnvironment, EnvironmentType } from '../Environment';
+import { BaseAllsparkEnvironment } from '../Environment';
import { ImpersonationFormProps } from '../User';
import { SideMenuItemProps } from './screens/SideMenu';
@@ -26,6 +26,4 @@ export type FeatureRunnerConfig = {
plugins?: FeatureRunnerPlugin[];
};
-export type FeatureRunnerOptions<E extends BaseAllsparkEnvironment = BaseAllsparkEnvironment> = FeatureRunnerConfig & ContainerProviderProps<E> & {
- environment: EnvironmentType;
-}
\ No newline at end of file
+export type FeatureRunnerOptions<E extends BaseAllsparkEnvironment = BaseAllsparkEnvironment> = FeatureRunnerConfig & ContainerProviderProps<E>;
\ No newline at end of file
| fix(feature runner): environment type conflict in feature runner options | fix(feature runner): environment type conflict in feature runner options
|
f325101b6c4f0b31cd5e6bf580769196c9b23287 | --- __tests__/screens/SearchScreen/SearchScreenTest.tsx
@@ -4,6 +4,7 @@ const {SearchScreen} = require('../../../src/screens/SearchScreen');
import {RouteProp, useNavigation} from '@react-navigation/native';
import {StackNavigationProp} from '@react-navigation/stack';
import {TextingNavParamsMap} from '../../../src/navigation';
+import {useDispatch} from 'react-redux';
jest.mock('react-redux', () => {
const actualRedux = jest.requireActual('react-redux');
@@ -29,11 +30,12 @@ describe('SearchScreen', () => {
};
it('should render search screen with expected elements on initial render', () => {
+ const mockDispatch = jest.fn();
+ (useDispatch as jest.Mock).mockReturnValue(mockDispatch);
const searchScreen = renderWithProviders(
<SearchScreen navigation={mockNavigation} route={mockRoute} />,
);
searchScreen.getByTestId('flashlist');
- searchScreen.getByTestId('associateListItem');
expect(searchScreen.toJSON()).toMatchSnapshot();
});
--- __tests__/screens/SearchScreen/__snapshots__/SearchScreenTest.tsx.snap
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`SearchScreen should render search screen with expected elements 1`] = `
+exports[`SearchScreen should render search screen with expected elements on initial render 1`] = `
<View
style={
{
| updating search screen test | updating search screen test
|
d5bab59c0a6cfaa177c7b0fe2f238fbbac7a8b3e | --- .looper.multibranch.yml
@@ -24,7 +24,7 @@ envs:
ANDROID_BASE_PATH: targets/US/android
branches:
- - spec: feature/topstock-drop24-1
+ - spec: feature/drop24
triggers:
- manual:
name: Publish Packages (Pre-Release)
--- targets/US/ios/Podfile.lock
@@ -627,16 +627,16 @@ PODS:
- compass-sdk-ios (= 0.4.12.3)
- React-Core
- DoubleConversion (1.1.6)
- - EXAV (13.6.0):
+ - EXAV (13.10.6):
- ExpoModulesCore
- ReactCommon/turbomodule/core
- EXConstants (15.4.6):
- ExpoModulesCore
- - Expo (50.0.17):
+ - Expo (50.0.20):
- ExpoModulesCore
- ExpoFileSystem (16.0.9):
- ExpoModulesCore
- - ExpoImage (1.5.2):
+ - ExpoImage (1.10.6):
- ExpoModulesCore
- SDWebImage (~> 5.17.0)
- SDWebImageAVIFCoder (~> 0.10.1)
@@ -651,7 +651,7 @@ PODS:
- React-NativeModulesApple
- React-RCTAppDelegate
- ReactCommon/turbomodule/core
- - ExpoSharing (11.7.0):
+ - ExpoSharing (11.10.0):
- ExpoModulesCore
- FBLazyVector (0.73.7)
- FBReactNativeSpec (0.73.7):
@@ -1917,7 +1917,7 @@ PODS:
- React
- react-native-maps (1.10.4):
- React-Core
- - react-native-netinfo (11.3.1):
+ - react-native-netinfo (11.3.2):
- React-Core
- react-native-pager-view (6.3.0):
- glog
@@ -2254,7 +2254,7 @@ PODS:
- FirebaseMessaging (<= 10.18.0)
- StructuredLogAssistantIOS (= 0.0.7)
- TOCropViewController (2.7.4)
- - topstock-mini-app (1.16.23):
+ - topstock-mini-app (1.15.20):
- React
- VisionCamera (3.7.1):
- React
@@ -2878,7 +2878,7 @@ SPEC CHECKSUMS:
Realm: 7e75a684c16aca7c6a5db9c70caebf37f07dcee5
RealmJS: 2c7fdb3991d7655fba5f88eb288f75eaf5cb9980
RNCallKeep: 2015ba5eb74666407e3613fd54c65bd227624a0a
- RNCAsyncStorage: 826b603ae9c0f88b5ac4e956801f755109fa4d5c
+ RNCAsyncStorage: ec53e44dc3e75b44aa2a9f37618a49c3bc080a7a
RNCClipboard: 090462274cc05b02628bd158baf6d73c3abe8441
RNCPicker: 0bf8ef8f7800524f32d2bb2a8bcadd53eda0ecd1
RNDateTimePicker: 4f3c4dbd4f908be32ec8c93f086e8924bd4a2e07
@@ -2898,8 +2898,8 @@ SPEC CHECKSUMS:
RNInAppBrowser: e36d6935517101ccba0e875bac8ad7b0cb655364
RNPermissions: 438c75db343dc7cb218befcc63e3b5eb395f6f73
RNReactNativeHapticFeedback: 1e3efeca9628ff9876ee7cdd9edec1b336913f8c
- RNReanimated: 9441de03e9bcbbc6c1ac4bd1603f2d50b6390a7e
- RNScreens: 134a7511b12b8eb440b87aac21e36a71295d6024
+ RNReanimated: 7171bba9a3f9ecfe5bdccb04ea0063bcc6c4c12c
+ RNScreens: 29418ceffb585b8f0ebd363de304288c3dce8323
RNSha256: e1bc64e9e50b293d5282bb4caa1b2043931f1c9d
RNSketchCanvas: 9c28adb5381543ed55cc98ce6de46479cb3cb12c
RNSoundPlayer: 369105c565b8fe6ea0a43fc882dc81eba444e842
@@ -2917,7 +2917,7 @@ SPEC CHECKSUMS:
StructuredLogAssistantIOS: d48c327b3b67366d954435891dc1e748a6aeb9c1
SumoSDK: 58664bf3b83e2f4bcdfc52704235ab4bca519ceb
TOCropViewController: 80b8985ad794298fb69d3341de183f33d1853654
- topstock-mini-app: 0510dd18742f2084eb731ccc9e0db85d9a8e71e9
+ topstock-mini-app: a96504a14b0e8ef2c9a9fbc591642ea9743d90d4
VisionCamera: ef56ac9d3e0fef4b94c7cf75735aaccc2326e35a
walmart-react-native-sumo-sdk: a6dc20c0ec3c8ab878886529a0e2fc22e747821c
WebexSDK: d652713bd7ad5902e81918121912ba75a0056c3b
| fix(): reverting back not required changes | fix(): reverting back not required changes
|
c16afe7c8bd456177fac0865f8d3ebb1ba610ed6 | --- package-lock.json
@@ -4239,7 +4239,7 @@
"@walmart/gtp-shared-components": {
"version": "1.2.0",
"resolved": "https://npme.walmart.com/@walmart/gtp-shared-components/-/gtp-shared-components-1.2.0.tgz",
- "integrity": "sha512-OxDrYdXQeR22V+aTBNqQHRJFyIOlOkp2erG4KS+0lEWWve1EApNHNyPgIbFQbydtWn1rybwFossRsVszkr2XKQ==",
+ "integrity": "sha1-uZ6zL5R12W20AFyA5eFskWpu0Iw=",
"requires": {
"@react-native-community/datetimepicker": "^3.0.8",
"@react-native-community/picker": "^1.6.5",
--- src/auth/ErrorScreen.tsx
@@ -42,6 +42,7 @@ export const ErrorScreen: FC<any> = (props) => {
const {bottom} = useSafeAreaInsets();
+ // const [offset, setOffset] = useState(0);
const [userId, setUserId] = useState('');
const [siteId, setSiteId] = useState('');
const [detail, setDetail] = useState('');
@@ -128,11 +129,12 @@ export const ErrorScreen: FC<any> = (props) => {
return (
<View style={styles.errorView}>
- <ScrollView contentContainerStyle={styles.errorScrollView}>
- <KeyboardAvoidingView
- behavior={Platform.OS === 'ios' ? 'position' : undefined}
- enabled
- keyboardVerticalOffset={Platform.OS === 'android' ? 60 : 0}>
+ <KeyboardAvoidingView
+ style={styles.keyboardAdjestmet}
+ behavior={Platform.OS === 'ios' ? 'position' : undefined}
+ enabled
+ keyboardVerticalOffset={Platform.OS === 'android' ? 60 : 0}>
+ <ScrollView contentContainerStyle={styles.errorScrollView}>
<Subheader style={styles.errorMsg} testID='errorMessage'>
{translate('ssoError.errorMsg')}
</Subheader>
@@ -264,8 +266,8 @@ export const ErrorScreen: FC<any> = (props) => {
placeholder={translate('ssoError.details')}
/>
</View>
- </KeyboardAvoidingView>
- </ScrollView>
+ </ScrollView>
+ </KeyboardAvoidingView>
<View style={[styles.errorBottom, {paddingBottom: Math.max(bottom, 20)}]}>
<LinkButton
--- src/auth/styles.ts
@@ -123,6 +123,11 @@ export default StyleSheet.create({
fontSize: 16,
lineHeight: 24,
},
+ keyboardAdjestmet: {
+ flex: 1,
+ flexDirection: 'column',
+ justifyContent: 'center',
+ },
fieldTitle: {
fontSize: 14,
lineHeight: 28,
| resolve shifting up of view :SSMP-3054 | resolve shifting up of view :SSMP-3054
|
aa77135f37cd752d9616269d1c23411ed95e7ba7 | --- packages/allspark-foundation-hub/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.2.10](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.2.9...@walmart/allspark-foundation-hub@1.2.10) (2025-01-31)
+
+### Bug Fixes
+
+- **ui:** revert the changes for the teamswicger select team function ([0e815fb](https://gecgithub01.walmart.com/allspark/allspark/commit/0e815fb5f8efc1b2492bc85b40127dde2548bf1b))
+
## [1.2.9](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.2.8...@walmart/allspark-foundation-hub@1.2.9) (2025-01-31)
**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.2.9",
+ "version": "1.2.10",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-foundation-hub@1.2.10
|
36851d58717fcd09df02aafb3f9e6690733801e6 | --- packages/allspark-foundation/src/Feature/AllsparkFeatureManager.ts
@@ -118,9 +118,7 @@ export class FeatureModuleManager {
*/
public onFeatureConnect = (featureId: string, listener: () => void) => {
const feature = this.getFeature(featureId);
- if (feature) {
- return feature.onConnect(listener);
- }
+ return feature?.onConnect(listener);
};
/**
@@ -128,9 +126,7 @@ export class FeatureModuleManager {
*/
public onFeatureDisconnect = (featureId: string, listener: () => void) => {
const feature = this.getFeature(featureId);
- if (feature) {
- return feature.onDisconnect(listener);
- }
+ return feature?.onDisconnect(listener);
};
// --- Connection --- //
| chore: build fix | chore: build fix
|
277e3800d0c30af413b883f1726fc09ed9513394 | --- 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.
+## [6.4.1](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@6.4.0...@walmart/core-services-allspark@6.4.1) (2024-06-28)
+
+
+### Bug Fixes
+
+* add legacy types for backwards compatability ([d2ba58c](https://gecgithub01.walmart.com/allspark/allspark-core-services/commit/d2ba58c3e94cc5193a1f06e16d7247bfdbb1c217))
+
+
+
+
+
# 6.4.0 (2024-05-23)
--- packages/core-services-allspark/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "6.4.0",
+ "version": "6.4.1",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/core-widget-registry/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.4.1](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-widget-registry@6.4.0...@walmart/core-widget-registry@6.4.1) (2024-06-28)
+
+**Note:** Version bump only for package @walmart/core-widget-registry
+
+
+
+
+
# 6.4.0 (2024-05-23)
--- packages/core-widget-registry/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-widget-registry",
- "version": "6.4.0",
+ "version": "6.4.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- packages/core-widget-registry/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-widget-registry",
- "version": "6.4.0",
+ "version": "6.4.1",
"description": "Repo for Me@Walmart related widget registries",
"author": "rlane1 <russell.lane@walmart.com>",
"license": "ISC",
--- packages/me-at-walmart-common/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.4.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-common@6.4.0...@walmart/me-at-walmart-common@6.4.1) (2024-06-28)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-common
+
+
+
+
+
# 6.4.0 (2024-05-23)
--- packages/me-at-walmart-common/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-common",
- "version": "6.4.0",
+ "version": "6.4.1",
"description": "Common utilities and components for Me@Walmat mini apps",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/me-at-walmart-container/CHANGELOG.md
@@ -3,6 +3,19 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.4.1](https://gecgithub01.walmart.com/allspark/allspark-core/compare/@walmart/me-at-walmart-container@6.4.0...@walmart/me-at-walmart-container@6.4.1) (2024-06-28)
+
+
+### Bug Fixes
+
+* add correct feature id tagging to screen view telemetry ([cf69e23](https://gecgithub01.walmart.com/allspark/allspark-core/commit/cf69e23ac042b6047be5c85336a1b190c106b0a6))
+* add handling of get user error in auth error listeners ([b2e338e](https://gecgithub01.walmart.com/allspark/allspark-core/commit/b2e338e90605bce7c51600b6dac5b45d1050591d))
+* pin prompt task not using config to enable or disable ([2624c99](https://gecgithub01.walmart.com/allspark/allspark-core/commit/2624c99d6ff1c98bb576bb95f42b132c9fcb4c53))
+
+
+
+
+
# 6.4.0 (2024-05-23)
--- packages/me-at-walmart-container/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-container",
- "version": "6.4.0",
+ "version": "6.4.1",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
- @walmart/core-services-allspark@6.4.1
- @walmart/core-widget-registry@6.4.1
- @walmart/me-at-walmart-common@6.4.1
- @walmart/me-at-walmart-container@6.4.1
|
78ea9af3f3c555a3637e1fd4c0632ac0b03d67f5 | --- package-lock.json
@@ -4475,9 +4475,9 @@
}
},
"@walmart/taskit-mini-app": {
- "version": "0.7.0",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.7.0.tgz",
- "integrity": "sha512-L2BlQtIX1BQzc1YiqlRD/yPa6nkgxVwP+TYE99vuKbAd1O30255ej4o3DkhtnatgAqwfwSpKdp8jfEAdhphwdQ=="
+ "version": "0.8.0",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.8.0.tgz",
+ "integrity": "sha512-60zO/wjdR+03ctEVt/8odzbgdFQc7D1b/b3BbW1J9jlDyn8eoEzuxK+u+kPnAC69ITqHraf6ZII/c3IUMie/KQ=="
},
"@walmart/time-clock-mini-app": {
"version": "0.4.33",
--- package.json
@@ -101,7 +101,7 @@
"@walmart/schedule-mini-app": "0.12.0",
"@walmart/settings-mini-app": "1.6.0",
"@walmart/shelfavailability-mini-app": "0.8.3",
- "@walmart/taskit-mini-app": "0.7.0",
+ "@walmart/taskit-mini-app": "0.8.0",
"@walmart/time-clock-mini-app": "0.4.33",
"@walmart/ui-components": "1.3.0-rc.14",
"@walmart/welcomeme-mini-app": "0.47.0",
| Updating taskIt version | Updating taskIt version
|
6d53ba2594cc49cce65fecc6c73e62e3e71bbb6e | --- src/channels/components/ChannelRow.tsx
@@ -190,6 +190,8 @@ export const ChannelRow = (props: ChannelRowProps) => {
return `${channelName} ${clockedInStatusLabel} ${messagePreview} ${timeStampLabel}`;
};
+ const unreadWeight = unread ? '700' : '400';
+
return (
<TouchableOpacity onPress={onChannelPress} testID='channelRow'>
<Card
@@ -207,7 +209,7 @@ export const ChannelRow = (props: ChannelRowProps) => {
accessibilityLabel={getAccessibilityLabel()}
UNSAFE_style={[styles.item, style]}
title={
- <Body size='large' weight={unread ? '700' : '400'}>
+ <Body size='large' weight={unreadWeight}>
{channelName}
</Body>
}
@@ -246,7 +248,7 @@ export const ChannelRow = (props: ChannelRowProps) => {
{showLastMessage && (
<Body
testID='lastMessage'
- weight={unread ? '700' : '400'}
+ weight={unreadWeight}
numberOfLines={1}>
{messagePreview}
</Body>
@@ -254,7 +256,7 @@ export const ChannelRow = (props: ChannelRowProps) => {
{showUnreadCount && (
<Body
testID='unreadCount'
- weight={unread ? '700' : '400'}
+ weight={unreadWeight}
numberOfLines={1}>
{!isNil(unreadCount) &&
t('channelsScreen.unreadCountText.unreadMessage', {
| fix(ui): sonar vulnerabilities in channel row | fix(ui): sonar vulnerabilities in channel row
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.