commit_hash stringlengths 40 40 | input stringlengths 13 7.99k | output stringlengths 5 155 | full_message stringlengths 6 8.96k |
|---|---|---|---|
69e94a5a664581cc326bf192a556e3aaff3931ae | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 82
+ versionCode 83
versionName "1.0.5"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>82</string>
+ <string>83</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>invmgmt</string>
| Incrementing build number | Incrementing build number
|
3dbf16cc29f4ab9c1efedf56df8b8424678cd097 | --- core/src/navigation/USHallway/AssociateHallwayNav/types.ts
@@ -171,8 +171,6 @@ export type HomeStackMap = {
scheduleScreen: undefined;
torInbox: undefined;
roster: undefined;
- managedTorListScreen: undefined;
- managedTorDetailsScreen: undefined;
};
// The type of screen props for a home stack screen, passed to the screen component as props
| minor change | minor change
|
de315b1dc31892b769acaa88eb615ee18cf36ed9 | --- package-lock.json
@@ -65,7 +65,7 @@
"@walmart/pay-stub-miniapp": "0.9.7",
"@walmart/payrollsolution_miniapp": "0.130.14",
"@walmart/price-changes-mini-app": "1.6.10",
- "@walmart/profile-feature-app": "0.115.0",
+ "@walmart/profile-feature-app": "0.121.0",
"@walmart/push-to-talk-mini-app": "1.8.59",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
@@ -5705,9 +5705,9 @@
}
},
"node_modules/@walmart/profile-feature-app": {
- "version": "0.115.0",
- "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.115.0.tgz",
- "integrity": "sha512-jHwUYcy+EB+lYBXd1okvWTlvfp6cYHW2NyHPxXoiZNeDFFN3vfDrPNNGm6atMj5YDXvyeD4MVOXixvlcgVz0EQ==",
+ "version": "0.121.0",
+ "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.121.0.tgz",
+ "integrity": "sha512-xkJaRm+ynUyTVg2t5jBWpfZdUVr1S2LCl/RrZDc7RAk9A0I074krawHDag51UFtOCq/PydTlBGJi6kyir81baw==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/bottom-tabs": "^6.0.0",
@@ -25377,9 +25377,9 @@
"integrity": "sha512-TIzjXjT8jlsb/OrY7WPr4xUv5RsCsnNN0wwjawIwOHurrZtrFn8f/WjwkY8e6zUC3AlZ4QsHdaKqCD/pfkgGPg=="
},
"@walmart/profile-feature-app": {
- "version": "0.115.0",
- "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.115.0.tgz",
- "integrity": "sha512-jHwUYcy+EB+lYBXd1okvWTlvfp6cYHW2NyHPxXoiZNeDFFN3vfDrPNNGm6atMj5YDXvyeD4MVOXixvlcgVz0EQ=="
+ "version": "0.121.0",
+ "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.121.0.tgz",
+ "integrity": "sha512-xkJaRm+ynUyTVg2t5jBWpfZdUVr1S2LCl/RrZDc7RAk9A0I074krawHDag51UFtOCq/PydTlBGJi6kyir81baw=="
},
"@walmart/push-to-talk-mini-app": {
"version": "1.8.59",
--- package.json
@@ -107,7 +107,7 @@
"@walmart/pay-stub-miniapp": "0.9.7",
"@walmart/payrollsolution_miniapp": "0.130.14",
"@walmart/price-changes-mini-app": "1.6.10",
- "@walmart/profile-feature-app": "0.115.0",
+ "@walmart/profile-feature-app": "0.121.0",
"@walmart/push-to-talk-mini-app": "1.8.59",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
| bumped profile-feature-app to 0.121.0 | bumped profile-feature-app to 0.121.0
|
cd6181f8ff387d11c9cb46f7baf8412a3c3aadea | --- src/screens/ChannelsScreen.tsx
@@ -55,6 +55,8 @@ export const ChannelsScreen: React.FC<ChannelScreenProps> = (
const isMessageButtonEnabled: boolean = useSelector(messageButtonEnabled);
const onNewMessage = () => {
+ const data = navigation.getParent()?.getState().index;
+ console.log('Data: ', data);
navigation.navigate('myTeam.newMessage');
};
--- src/screens/MeganavScreen.tsx
@@ -19,6 +19,7 @@ import {ChannelsProvider} from '../channels';
import {navigate} from '@walmart/react-native-shared-navigation';
import {Button} from '@walmart/gtp-shared-components/dist';
import {ClockedOutScreenGuard} from '../components/ClockedOutScreenGuard';
+import {ROOT_CONTAINER_SCREEN_NAME} from '../constants';
const styles = StyleSheet.create({
screen: {
@@ -97,7 +98,10 @@ export const MeganavScreen: React.FC<MeganavScreenProps> = (props) => {
navigation.pop();
};
const navigateToRoster = () => {
- navigate('myTeam.tabs');
+ navigate(ROOT_CONTAINER_SCREEN_NAME, {
+ // @ts-ignore
+ screen: 'myTeam.tabs',
+ });
};
/*
Todo: https://jira.walmart.com/browse/SMDV-4657
@@ -110,9 +114,9 @@ export const MeganavScreen: React.FC<MeganavScreenProps> = (props) => {
Tapping on View Roster button should navigate to My Team tabs
To be fixed in Drop 14
*/
- useEffect(() => {
- navigate('myTeam');
- }, []);
+ // useEffect(() => {
+ // navigate('myTeam');
+ // }, []);
return (
<ClockedOutScreenGuard>
<PresenceProvider>
--- src/screens/ChannelsScreen.tsx
@@ -55,6 +55,8 @@ export const ChannelsScreen: React.FC<ChannelScreenProps> = (
const isMessageButtonEnabled: boolean = useSelector(messageButtonEnabled);
const onNewMessage = () => {
+ const data = navigation.getParent()?.getState().index;
+ console.log('Data: ', data);
navigation.navigate('myTeam.newMessage');
};
--- src/screens/MeganavScreen.tsx
@@ -19,6 +19,7 @@ import {ChannelsProvider} from '../channels';
import {navigate} from '@walmart/react-native-shared-navigation';
import {Button} from '@walmart/gtp-shared-components/dist';
import {ClockedOutScreenGuard} from '../components/ClockedOutScreenGuard';
+import {ROOT_CONTAINER_SCREEN_NAME} from '../constants';
const styles = StyleSheet.create({
screen: {
@@ -97,7 +98,10 @@ export const MeganavScreen: React.FC<MeganavScreenProps> = (props) => {
navigation.pop();
};
const navigateToRoster = () => {
- navigate('myTeam.tabs');
+ navigate(ROOT_CONTAINER_SCREEN_NAME, {
+ // @ts-ignore
+ screen: 'myTeam.tabs',
+ });
};
/*
Todo: https://jira.walmart.com/browse/SMDV-4657
@@ -110,9 +114,9 @@ export const MeganavScreen: React.FC<MeganavScreenProps> = (props) => {
Tapping on View Roster button should navigate to My Team tabs
To be fixed in Drop 14
*/
- useEffect(() => {
- navigate('myTeam');
- }, []);
+ // useEffect(() => {
+ // navigate('myTeam');
+ // }, []);
return (
<ClockedOutScreenGuard>
<PresenceProvider>
| update navigation for mega nav | update navigation for mega nav
|
295c87c7dc1babed8a91ad5830466e29cbc006fd | --- docs/docs/troubleshooting.md
@@ -3,4 +3,29 @@ sidebar_position: 8
title: Troubleshooting
---
-# Allspark Troubleshooting
\ No newline at end of file
+# Allspark Troubleshooting
+
+## General Troubleshooting Advice
+- Is your branch up to date?
+- Have you run all the necessary commands?
+ - For core: `yarn`, `yarn run build`, `pod install`, then `run` for your particular target
+ - For foundation: `yarn`, `yarn run build`
+- Have you tried the [Metro bundler troubleshooting advice](https://metrobundler.dev/docs/troubleshooting/)?
+- Have you run the `yarn start` command from the right folder (targets/US or targets/International)?
+- Have you deleted the `node_modules` folder and ran `yarn` again?
+- Have you tried running `yarn install --immutable`?
+- If none of the above have resolved your issue:
+ - If possible, delete your local repository and clone the repository again.
+ - Otherwise, reach out to the #allspark-engineering channel.
+
+## I'm having issues with publishing a branch/pushing to a branch in the core repository.
+If you are facing this issue, check the git error.
+- Ensure that you have proper [access to the repository](./faq.md#how-do-i-gain-write-access-to-the-allspark-coreallspark-repositories).
+- Ensure that all lint checks and unit tests are passing.
+- Check your package and library versions. The solidarity file checks for particular library versions for NPM, Node, and CocoaPods, and these must be installed in order for the push to go through. See [Getting Started](./getting-started.md) for the pre-requisities for the repositories.
+
+## `Error: Could not find scheme Allspark. Please make sure the schema you want to run exists. Available schemas are: Allspark'`.
+If facing this issue while building the Allspark iOS project, try to build the project in XCode.
+
+## `Error: Invariant Violation: "Allspark" has not been registered.`
+See the general troubleshooting advice above.
\ No newline at end of file
| Initial troubleshooting page. | Initial troubleshooting page.
|
ac773f5c90e4160e35177609c797eadf58255736 | --- core/__tests__/PinAccess/ActivityMonitorGuardTest.tsx
@@ -1,5 +1,5 @@
import React from 'react';
-import {useDispatch} from 'react-redux';
+import {useDispatch, useSelector} from 'react-redux';
import {AllsparkNavigationClient} from '@walmart/allspark-foundation/Navigation';
import {render} from '@testing-library/react-native';
import {Text} from 'react-native';
@@ -32,4 +32,17 @@ describe('ActivityMonitorGuard tests', () => {
expect(dispatch).toBeCalledWith(PinAccessActionCreators.promptForPasscode('input change'));
expect(component.toJSON()).toMatchSnapshot();
});
+ it('does not call dispatch when route is in noInActiveTimerList', async () => {
+ (useSelector as jest.Mock).mockReset();
+ (useSelector as jest.Mock).mockReturnValueOnce({});
+ (useSelector as jest.Mock).mockReturnValueOnce(['HomeScreen']);
+
+ const component = render(<ActivityMonitorGuard {...props} />);
+ const onIdleTimeLapsed =
+ component.UNSAFE_root._fiber.child.pendingProps.onIdleTimeLapsed;
+ expect(component.getByText('Child component')).toBeTruthy();
+ onIdleTimeLapsed('input change');
+ jest.advanceTimersByTime(500);
+ expect(dispatch).not.toBeCalledWith(PinAccessActionCreators.promptForPasscode('input change'));
+ });
});
| add route in noInActiveTimerList list | add route in noInActiveTimerList list
|
6b5ad317ae72505c00a23774a02a2a5761d5766a | --- .looper.codepush.yml
@@ -40,7 +40,7 @@ flows:
- npm install -g appcenter-cli
- echo 'doing listing'
- appcenter apps list --token $APPCENTER_API_TOKEN_ANDROID
- - appcenter codepush release-react -a AllSpark-Me-Walmart/AllSpark-Android -d Staging --description ‘This is from looper’ --token $APPCENTER_API_TOKEN_ANDROID
+ - appcenter codepush release-react -a AllSpark-Me-Walmart/AllSpark-Android -d Staging --description "This is from looper double quotes" --token $APPCENTER_API_TOKEN_ANDROID
pr:
- npm install
| double quotes. | double quotes.
|
f2d4536b2db7eeeedcad29df9f9e2ae63f60be5c | --- src/redux/reducer.tsx
@@ -1,7 +1,7 @@
import {createSlice, PayloadAction} from '@reduxjs/toolkit';
export const rosterSlice = createSlice({
- name: 'texting', //Todo: Update it to roster and make changes in the initial state as well
+ name: 'texting', //Todo: Update it to roster and make changes in the initial state as well - https://jira.walmart.com/browse/SMDV-5325
initialState: {
searchText: '',
},
| Address review comments | Address review comments
|
fb6f059994e969d45b7fcea7a224c82a6d7d7b82 | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Components/ShiftFilter/ShiftFilterList.tsx
@@ -18,15 +18,18 @@ export const ShiftFilterList: React.FC<ShiftFilterListProps> = ({
<>
<HubHeader
title={t('shiftFilter.title')}
- subText={t('shiftFilter.subText')}
+ subText={filterListData ? t('shiftFilter.subText') : ''}
backgroundColor={colors.white}
textColor={colors.black}
noPadding
/>
- <Alert
- variant='error'
- children={'Select at least one shift to continue.'}
- />
+ {!filterListData && (
+ <Alert
+ variant='error'
+ children={'Select at least one shift to continue.'}
+ />
+ )}
+
<View style={styles.container}>
{filterListData?.map(
(item) =>
| Saving as is | Saving as is
|
961b2e9c76ce71193aff7a2ad9214dffc66bf34a | --- packages/allspark-foundation/__tests__/utils/index.js
@@ -3,10 +3,7 @@ import { Provider } from 'react-redux';
import { render as tlRender } from '@testing-library/react-native';
import { AllsparkReduxStore } from '../../src/Redux';
import { MockedProvider } from '@apollo/client/testing';
-const {
- apolloMocks,
-} = require('../../__mocks__/data/upsertManagerExperiencePreference');
-
+const { apolloMocks } = require('../../__mocks__/data/apolloMocks');
const render = (component, renderOptions = {}) => {
const Wrapper = ({ children }) => {
| chore(ui): updated apollo mock path | chore(ui): updated apollo mock path
|
0f2c1c623afeee640de964f6f483984f1b311c8f | --- packages/allspark-foundation/src/Feature/AllsparkFeature.tsx
@@ -6,7 +6,7 @@ import {
createRestartableSagas,
} from '@walmart/allspark-utils';
-import { AllsparkGraphQLClient, GraphQLFeatureConfig } from '../GraphQL';
+import { GraphQLModule, GraphQLFeatureClientConfig } from '../GraphQL';
import { HttpModule, HttpClientConfig } from '../HTTP';
import {
LocalStorageModule,
@@ -144,8 +144,8 @@ export class AllsparkFeature<ID extends string = string> {
* MyGraphQLClient.mutation(...);
* MyGraphQLClient.useMutation(...);
*/
- public createGraphQLClient = (config: GraphQLFeatureConfig) => {
- return AllsparkGraphQLClient.createFeatureClient(this.id, config);
+ public createGraphQLClient = (config: GraphQLFeatureClientConfig) => {
+ return GraphQLModule.factory.createFeatureClient(this.id, config);
};
/**
--- packages/allspark-foundation/src/GraphQL/GraphQLClient.ts
@@ -179,7 +179,7 @@ export class GraphQLClient extends ApolloClient<NormalizedCacheObject> {
};
/**
- * The standard query hash generation AllsparkGraphQLClient uses for persisted queries
+ * The standard query hash generation GraphQLModule uses for persisted queries
*/
public generatePersistedQueryHash = generateQueryHash;
}
| chore: fix references after update | chore: fix references after update
|
c2d3060afdf3eb39b1a15131b53d27153304e5e0 | --- package-lock.json
@@ -3385,12 +3385,11 @@
"integrity": "sha512-YobY79Shmn2LHbN7kqsG/X5q+Nx55i8BFH9dRl5Rgf0SS+A9rO4BJghGgLwT5bqG0SBJDR/uA5lBKdNyBq+Bnw=="
},
"@walmart/metrics-mini-app": {
- "version": "0.4.10",
- "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.4.10.tgz",
- "integrity": "sha512-vAUUKE7PJJmdGtt05BotqrRTfU98e+bmeUZFhZ8x81e+1WXTkSIOpyYLYQEAuFbZf+jVvoMkjIZCAUlhoRRwqA==",
+ "version": "0.4.11",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.4.11.tgz",
+ "integrity": "sha512-GqO2SEWNHFhjDbf9Gy3rEYKubg2TPxdH1KBAxpeAfemQbupsL5EpNXS4xRPGlOBf9Unsv6jqsQwpu+vJynRofA==",
"requires": {
"@types/base-64": "^1.0.0",
- "@walmart/react-native-env": "^0.1.0",
"apisauce": "^1.1.2",
"axios-cache-adapter": "^2.7.0",
"base-64": "^1.0.0",
--- package.json
@@ -78,7 +78,7 @@
"@walmart/inbox-mini-app": "0.0.101",
"@walmart/iteminfo-mini-app": "1.0.22",
"@walmart/manager-approvals-miniapp": "0.0.42",
- "@walmart/metrics-mini-app": "0.4.10",
+ "@walmart/metrics-mini-app": "0.4.11",
"@walmart/moment-walmart": "1.0.4",
"@walmart/push-to-talk-mini-app": "0.5.21",
"@walmart/react-native-env": "^0.1.0",
| updated packages | updated packages
|
197dd82a1b546635b2c096a6228ee5718069546b | --- jest.config.js
@@ -9,10 +9,10 @@ module.exports = {
],
coverageThreshold: {
global: {
- statements: 19,
- branches: 8.98,
- functions: 14,
- lines: 20,
+ statements: 19.58,
+ branches: 9.63,
+ functions: 14.12,
+ lines: 19.86,
},
},
transformIgnorePatterns: [
--- jest.config.js
@@ -9,10 +9,10 @@ module.exports = {
],
coverageThreshold: {
global: {
- statements: 19,
- branches: 8.98,
- functions: 14,
- lines: 20,
+ statements: 19.58,
+ branches: 9.63,
+ functions: 14.12,
+ lines: 19.86,
},
},
transformIgnorePatterns: [
| update coverage thresh | update coverage thresh
|
6e5eef85555ea1597613babf1570020d9889c7ca | --- src/images/assets/index.ts
@@ -25,6 +25,7 @@ const Images: {[key: string]: ImageURISource} = {
NotificationsIllustration: require('./notifications-illustration.png'),
OneIllustration: require('./one-illustration.png'),
PinIllustration: require('./pin-illustration.png'),
+ PriceChangesIllustration: require('./price-changes-illustration.png'),
ProfileIllustration: require('./profile-illustration.png'),
RefrigerationBadge: require('./refrigeration-alarm-badge.png'),
ReturnsIllustration: require('./returns-illustration.png'),
--- src/images/assets/price-changes-illustration.png
Binary files /dev/null and b/src/images/assets/price-changes-illustration.png differ
| update PC illustration | update PC illustration
|
465aa30c5d1b206c6fbe5e6a5905dcb0dd78d710 | --- package.json
@@ -83,7 +83,7 @@
"@walmart/allspark-utils": "6.5.3",
"@walmart/amp-mini-app": "1.1.98",
"@walmart/ask-sam-chat-components": "^0.2.7",
- "@walmart/ask-sam-mini-app": "1.29.5",
+ "@walmart/ask-sam-mini-app": "1.29.8",
"@walmart/associate-listening-mini-app": "1.2.14",
"@walmart/attendance-mini-app": "3.156.0",
"@walmart/avp-feature-app": "0.16.12",
--- yarn.lock
@@ -7285,9 +7285,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/ask-sam-mini-app@npm:1.29.5":
- version: 1.29.5
- resolution: "@walmart/ask-sam-mini-app@npm:1.29.5::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fask-sam-mini-app%2F-%2F%40walmart%2Fask-sam-mini-app-1.29.5.tgz"
+"@walmart/ask-sam-mini-app@npm:1.29.8":
+ version: 1.29.8
+ resolution: "@walmart/ask-sam-mini-app@npm:1.29.8::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fask-sam-mini-app%2F-%2F%40walmart%2Fask-sam-mini-app-1.29.8.tgz"
dependencies:
apisauce: "npm:^1.1.2"
numeral: "npm:^2.0.6"
@@ -7332,7 +7332,7 @@ __metadata:
react-native-wm-voice-text: ">=0.3"
reselect: ">=4"
victory-native: ">=36.5"
- checksum: 10c0/ca7a9b5ec5565944ae7d10e644d0c8c68621bf59f9473a49f49006437054ea9e7830527aab29e9af24e2fa9b9871efa19f50ef69106ca34bf6d3d6330e32892f
+ checksum: 10c0/d420103d78a9d05c6f7558b49a43dc4a46f85acf076004731eaa9d0d940ae30d5229a9c659288b387fab0d016b12adf5853f87cdd41cb04352681db587a7f946
languageName: node
linkType: hard
@@ -8256,7 +8256,7 @@ __metadata:
"@walmart/allspark-utils": "npm:6.5.3"
"@walmart/amp-mini-app": "npm:1.1.98"
"@walmart/ask-sam-chat-components": "npm:^0.2.7"
- "@walmart/ask-sam-mini-app": "npm:1.29.5"
+ "@walmart/ask-sam-mini-app": "npm:1.29.8"
"@walmart/associate-listening-mini-app": "npm:1.2.14"
"@walmart/attendance-mini-app": "npm:3.156.0"
"@walmart/avp-feature-app": "npm:0.16.12"
| refactor(buildconversepayload): SMBLV-8901 envProfile | refactor(buildconversepayload): SMBLV-8901 envProfile
|
df3d74ba581c24b50582c4e1cc025bbebcc55c1c | --- docs/CHANGELOG.md
@@ -1,3 +1,39 @@
+# [3.9.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v3.8.5...v3.9.0) (2025-12-11)
+
+
+### Bug Fixes
+
+* **roster:** add route to useEffect deps for SMDV-8921 ([00fadcf](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/00fadcf7fb959d8a9deba2ec9148eaa9119aaa59))
+* **ui:** roster messages button visibilty ([75da1d0](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/75da1d0a82b0f9af7c965c93749861023dc6e433))
+* **version:** updated version ([04a93e7](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/04a93e7908cb09c1771832eddb02da5893a8aeef))
+
+
+### Features
+
+* **ui:** corrected label ([10c3fc1](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/10c3fc1d354939a78c3bcd8c15c2b54a934c719d))
+* **ui:** fix the tests ([1128354](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/11283546040af6b0e7966295276147ef17d1fce0))
+* **ui:** fix update package versions ([4afa305](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/4afa30525cdf4ef770f09e634731ce3be73181a5))
+* **ui:** fixed few QE bugs ([10308c5](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/10308c5b7ac508ccdb9419d9c75d4d7906b14bf5))
+* **ui:** remove unused package and update tests ([8d4db1a](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/8d4db1a4f64b7806fce7149f571b9482239603d2))
+* **ui:** sidekick fab demo feedback fix ([c5f772b](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/c5f772bf28cbdbd87345c9cc93d8af18ef151fe3))
+* **ui:** sorting list based on firstname ([d4454c3](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/d4454c3536db32e22563e103fb66ceba90a97924))
+* **ui:** sorting roster data ([82d5afc](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/82d5afc111732b698b41ed886e1eba88a8eca0aa))
+* **ui:** update analytics pargs ([44d69a8](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/44d69a82afe8de5db961a940e5bf1554df3921fb))
+* **ui:** update package version ([cc150aa](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/cc150aa2b1d8a9e202a40d7a9fe9006f22f184c7))
+* **ui:** update package version ([2ef018b](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/2ef018b705896b7599a087dbc9fb86d596dd7e5a))
+* **ui:** update package version ([7556201](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/75562011754ddc9a601299aa113c468aca9fd9a6))
+* **ui:** update roster mini app to use the my walmart common types ([0d4e27b](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/0d4e27bae1c1152bb5f4a0313123b3b9cf75d9eb))
+* **ui:** update roster mini app version ([367a451](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/367a4513015463a8af938ad254a233a0d0b7bf63))
+* **ui:** update roster version ([d8ecf11](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/d8ecf116b273fdaf8c597c5c1633f61e01b00069))
+* **ui:** update roster version and tests ([bdb08da](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/bdb08da4fcc5fd9c893adc65e52245b68778f37c))
+* **ui:** update roster version and tests ([7a3be04](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/7a3be045cc957b0b4c1c67e87729ac8349ed0990))
+* **ui:** update test and loggers ([0a98be6](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/0a98be6829e426fbda3a8f0ad28bbc5a01c2acd5))
+* **ui:** updated coverage ([fa0e906](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/fa0e9065e137350753e9b00e224446af1eeb5638))
+* **ui:** updated logic for widget and hoc to show correct count for sc users ([27f5fe1](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/27f5fe1201d6d24fb862c4fc662e1d9bebb6da19))
+* **ui:** updated style for search input ([580b3a2](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/580b3a2a20b592d1e303f32659098ad65bc6e0b5))
+* **ui:** using String constructer to validate string instead of json stringify ([5abed6c](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/5abed6ca05e7221846c1ac97a2d342a922e7845f))
+* **ui:** yarn install issue fix ([b11b620](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/b11b6207c529fd469650d1de69213160532deb1f))
+
# [3.3.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v3.2.0...v3.3.0) (2025-07-22)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "3.8.12",
+ "version": "3.9.0",
"main": "dist/index.js",
"files": [
"dist",
| chore(release): 3.9.0 [skip ci] | chore(release): 3.9.0 [skip ci]
# [3.9.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v3.8.5...v3.9.0) (2025-12-11)
### Bug Fixes
* **roster:** add route to useEffect deps for SMDV-8921 ([00fadcf](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/00fadcf7fb959d8a9deba2ec9148eaa9119aaa59))
* **ui:** roster messages button visibilty ([75da1d0](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/75da1d0a82b0f9af7c965c93749861023dc6e433))
* **version:** updated version ([04a93e7](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/04a93e7908cb09c1771832eddb02da5893a8aeef))
### Features
* **ui:** corrected label ([10c3fc1](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/10c3fc1d354939a78c3bcd8c15c2b54a934c719d))
* **ui:** fix the tests ([1128354](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/11283546040af6b0e7966295276147ef17d1fce0))
* **ui:** fix update package versions ([4afa305](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/4afa30525cdf4ef770f09e634731ce3be73181a5))
* **ui:** fixed few QE bugs ([10308c5](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/10308c5b7ac508ccdb9419d9c75d4d7906b14bf5))
* **ui:** remove unused package and update tests ([8d4db1a](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/8d4db1a4f64b7806fce7149f571b9482239603d2))
* **ui:** sidekick fab demo feedback fix ([c5f772b](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/c5f772bf28cbdbd87345c9cc93d8af18ef151fe3))
* **ui:** sorting list based on firstname ([d4454c3](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/d4454c3536db32e22563e103fb66ceba90a97924))
* **ui:** sorting roster data ([82d5afc](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/82d5afc111732b698b41ed886e1eba88a8eca0aa))
* **ui:** update analytics pargs ([44d69a8](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/44d69a82afe8de5db961a940e5bf1554df3921fb))
* **ui:** update package version ([cc150aa](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/cc150aa2b1d8a9e202a40d7a9fe9006f22f184c7))
* **ui:** update package version ([2ef018b](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/2ef018b705896b7599a087dbc9fb86d596dd7e5a))
* **ui:** update package version ([7556201](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/75562011754ddc9a601299aa113c468aca9fd9a6))
* **ui:** update roster mini app to use the my walmart common types ([0d4e27b](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/0d4e27bae1c1152bb5f4a0313123b3b9cf75d9eb))
* **ui:** update roster mini app version ([367a451](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/367a4513015463a8af938ad254a233a0d0b7bf63))
* **ui:** update roster version ([d8ecf11](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/d8ecf116b273fdaf8c597c5c1633f61e01b00069))
* **ui:** update roster version and tests ([bdb08da](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/bdb08da4fcc5fd9c893adc65e52245b68778f37c))
* **ui:** update roster version and tests ([7a3be04](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/7a3be045cc957b0b4c1c67e87729ac8349ed0990))
* **ui:** update test and loggers ([0a98be6](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/0a98be6829e426fbda3a8f0ad28bbc5a01c2acd5))
* **ui:** updated coverage ([fa0e906](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/fa0e9065e137350753e9b00e224446af1eeb5638))
* **ui:** updated logic for widget and hoc to show correct count for sc users ([27f5fe1](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/27f5fe1201d6d24fb862c4fc662e1d9bebb6da19))
* **ui:** updated style for search input ([580b3a2](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/580b3a2a20b592d1e303f32659098ad65bc6e0b5))
* **ui:** using String constructer to validate string instead of json stringify ([5abed6c](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/5abed6ca05e7221846c1ac97a2d342a922e7845f))
* **ui:** yarn install issue fix ([b11b620](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/b11b6207c529fd469650d1de69213160532deb1f))
|
f488d23228836cb80809e6f9083fb612803c0870 | --- package-lock.json
@@ -4166,9 +4166,9 @@
"integrity": "sha512-t1d3ohYMyfrKWEogykstetXWuIeHcGrnClVJu+m1CrTlL0o4ZrcyNpHwZLo1olJbwX3ujgmpRRcygMmWpowDCA=="
},
"@walmart/ask-sam-mini-app": {
- "version": "0.40.7",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.40.7.tgz",
- "integrity": "sha512-LU0A7hzy4a8tU+451r2YBf5IDFcRSvzhCwOv4pDcLqjX9Bd6lQ2nXxzfdrcZeziF1YOKo6QJEwB0MSAOQv2QBQ==",
+ "version": "0.40.8",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.40.8.tgz",
+ "integrity": "sha512-USsX54sAYOdCxrUcaarXJM30zFDgEjRtjMVDh2gPLiNjHqspIn4qdIkCH6aFc0A1DIIZhK42OSQjyQOG2YWTQw==",
"requires": {
"apisauce": "^1.1.2",
"axios-cache-adapter": "^2.7.3",
--- package.json
@@ -74,7 +74,7 @@
"@walmart/allspark-home-mini-app": "0.5.25",
"@walmart/allspark-me-mini-app": "0.31.4",
"@walmart/allspark-neon-core": "0.1.25",
- "@walmart/ask-sam-mini-app": "0.40.7",
+ "@walmart/ask-sam-mini-app": "0.40.8",
"@walmart/config-components": "1.0.35",
"@walmart/counts-component-miniapp": "0.0.32",
"@walmart/exception-mini-app": "0.39.9",
| Bumping ask sam version | Bumping ask sam version
|
98029f829b448db63f7d9b3aac7fe8bf6ca3c5c9 | --- package-lock.json
@@ -62,7 +62,7 @@
"@walmart/moment-walmart": "1.0.4",
"@walmart/onewalmart-miniapp": "1.0.14",
"@walmart/pay-stub-miniapp": "0.9.35",
- "@walmart/payrollsolution_miniapp": "^0.130.45",
+ "@walmart/payrollsolution_miniapp": "0.130.46",
"@walmart/price-changes-mini-app": "1.8.7",
"@walmart/profile-feature-app": "0.143.0",
"@walmart/push-to-talk-mini-app": "1.9.22",
@@ -5647,9 +5647,10 @@
}
},
"node_modules/@walmart/payrollsolution_miniapp": {
- "version": "0.130.45",
- "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.130.45.tgz",
- "integrity": "sha512-WD+gxW/DyYHfdWgpSFE9yYhYsJIQCQb4SgNFXkqQ4lXyMf4sERy3Q6QaSMoY5N/cGEkxUAjksOIVd5LLx6CTNg==",
+ "version": "0.130.46",
+ "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.130.46.tgz",
+ "integrity": "sha512-Dx9Cg+z2183MYuKxdxAUGtMVMTtYhX6ZzLldBK1e3Cj/rPoSO2WAyONZwdhjq3YvaNew+547vm0OmJaI94CdYw==",
+ "hasInstallScript": true,
"dependencies": {
"crypto-js": "^3.3.0"
},
@@ -25252,9 +25253,9 @@
}
},
"@walmart/payrollsolution_miniapp": {
- "version": "0.130.45",
- "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.130.45.tgz",
- "integrity": "sha512-WD+gxW/DyYHfdWgpSFE9yYhYsJIQCQb4SgNFXkqQ4lXyMf4sERy3Q6QaSMoY5N/cGEkxUAjksOIVd5LLx6CTNg==",
+ "version": "0.130.46",
+ "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.130.46.tgz",
+ "integrity": "sha512-Dx9Cg+z2183MYuKxdxAUGtMVMTtYhX6ZzLldBK1e3Cj/rPoSO2WAyONZwdhjq3YvaNew+547vm0OmJaI94CdYw==",
"requires": {
"crypto-js": "^3.3.0"
}
--- package.json
@@ -104,7 +104,7 @@
"@walmart/moment-walmart": "1.0.4",
"@walmart/onewalmart-miniapp": "1.0.14",
"@walmart/pay-stub-miniapp": "0.9.35",
- "@walmart/payrollsolution_miniapp": "0.130.45",
+ "@walmart/payrollsolution_miniapp": "^0.130.46",
"@walmart/price-changes-mini-app": "1.8.7",
"@walmart/profile-feature-app": "0.143.0",
"@walmart/push-to-talk-mini-app": "1.9.22",
| bump version | bump version
|
52196c49b6e8488c2b756c234ca7da97909bf710 | --- packages/celebration-mini-app-graphql/CHANGELOG.md
@@ -0,0 +1,11 @@
+# Change Log
+
+All notable changes to this project will be documented in this file.
+See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+
+# 1.1.0 (2025-08-30)
+
+### Features
+
+- **ui:** update celebration mini app ([5c122ee](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/5c122ee117b328f33f8654e11c81c7dec50fea6c))
+- **ui:** update celebration mini app build fix ([fe6576d](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/fe6576dd4d1b4976dc625105229b2b4006930523))
--- packages/celebration-mini-app-graphql/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app-graphql",
- "version": "1.0.0",
+ "version": "1.1.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/celebration-mini-app/CHANGELOG.md
@@ -0,0 +1,11 @@
+# Change Log
+
+All notable changes to this project will be documented in this file.
+See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+
+# 1.1.0 (2025-08-30)
+
+### Features
+
+- **ui:** update celebration mini app ([5c122ee](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/5c122ee117b328f33f8654e11c81c7dec50fea6c))
+- **ui:** update celebration mini app build fix ([fe6576d](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/fe6576dd4d1b4976dc625105229b2b4006930523))
--- packages/celebration-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app",
- "version": "1.0.0",
+ "version": "1.1.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/celebration-mini-app@1.1.0
- @walmart/celebration-mini-app-graphql@1.1.0
|
a14967f9c2336f70aa8e5e6f05acdeef4a33173c | --- src/index.tsx
@@ -43,7 +43,7 @@ AllsparkComponentContainers.add(
AllsparkComponentContainers.add(
'Me@Walmart.ManagerExperience.MyTeam',
- 'roster.header',
+ 'teamHub.header',
Header,
);
--- src/navigation/index.tsx
@@ -108,11 +108,11 @@ export const TeamHub = () => {
const MyTeamHubContainer = new AllsparkHubContainer()
.create(
'Me@Walmart.ManagerExperience.MyTeam',
- 'myTeam',
+ 'myteam',
'myTeam.root',
['roster'],
{
- ['Header']: {id: 'roster.header'},
+ ['Header']: {id: 'teamHub.header'},
},
)
.validate()
| Update my team mini app version | Update my team mini app version
|
6250fef174fd01b33b609e2a0c4bb34d1b8dc97d | --- package.json
@@ -35,12 +35,7 @@
"build": "yarn tsc && yarn run copy:assets",
"copy:assets": "cpy 'src/assets/**/*' '!**/*.ts' '!**/*.tsx' dist/assets",
"prepare": "husky",
- "prepublishOnly": "yarn build",
- "ci:check-published": "npm view $(node -p \"require('./package.json').name\")@$(node -p \"require('./package.json').version\") version --registry ${REPOSOLNS_NPM_REPO} 2>/dev/null || echo 'not-published'",
- "ci:version-bump": "node -e \"const fs=require('fs'); const pkg=JSON.parse(fs.readFileSync('package.json','utf8')); const semver=require('semver'); pkg.version=semver.inc(pkg.version,'prerelease','alpha'); fs.writeFileSync('package.json',JSON.stringify(pkg,null,2)+'\\n');\"",
- "ci:show-version": "node -p \"const pkg=JSON.parse(require('fs').readFileSync('package.json','utf8')); pkg.name + '@' + pkg.version\"",
- "ci:validate": "yarn lint && yarn coverage && yarn build",
- "ci:publish": "npm publish --registry ${REPOSOLNS_NPM_REPO}"
+ "prepublishOnly": "yarn build"
},
"devDependencies": {
"@azure/storage-blob": "^12.26.0",
@@ -87,7 +82,7 @@
"@walmart/allspark-utils": "6.5.1",
"@walmart/config-components": "4.6.5",
"@walmart/expo-config-plugins": "0.1.4",
- "@walmart/gtp-shared-components": "^2.2.8",
+ "@walmart/gtp-shared-components": "2.2.8",
"@walmart/me-at-walmart-athena-queries": "6.26.1",
"@walmart/me-at-walmart-common": "6.29.0-alpha.0",
"@walmart/me-at-walmart-container": "6.29.0-alpha.0",
--- yarn.lock
@@ -6451,7 +6451,7 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/gtp-shared-components@npm:^2.2.8":
+"@walmart/gtp-shared-components@npm:2.2.8":
version: 2.2.8
resolution: "@walmart/gtp-shared-components@npm:2.2.8::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fgtp-shared-components%2F-%2F%40walmart%2Fgtp-shared-components-2.2.8.tgz"
dependencies:
@@ -6639,7 +6639,7 @@ __metadata:
"@walmart/allspark-utils": "npm:6.5.1"
"@walmart/config-components": "npm:4.6.5"
"@walmart/expo-config-plugins": "npm:0.1.4"
- "@walmart/gtp-shared-components": "npm:^2.2.8"
+ "@walmart/gtp-shared-components": "npm:2.2.8"
"@walmart/me-at-walmart-athena-queries": "npm:6.26.1"
"@walmart/me-at-walmart-common": "npm:6.29.0-alpha.0"
"@walmart/me-at-walmart-container": "npm:6.29.0-alpha.0"
| chore(cleanup): remove ci scripts | chore(cleanup): remove ci scripts
|
ef546a0acf48f321e5c5ba7773d95d1c20f8eeab | --- package-lock.json
@@ -3380,9 +3380,9 @@
}
},
"@walmart/manager-approvals-miniapp": {
- "version": "0.0.42",
- "resolved": "https://npme.walmart.com/@walmart/manager-approvals-miniapp/-/manager-approvals-miniapp-0.0.42.tgz",
- "integrity": "sha512-YobY79Shmn2LHbN7kqsG/X5q+Nx55i8BFH9dRl5Rgf0SS+A9rO4BJghGgLwT5bqG0SBJDR/uA5lBKdNyBq+Bnw=="
+ "version": "0.0.44",
+ "resolved": "https://npme.walmart.com/@walmart/manager-approvals-miniapp/-/manager-approvals-miniapp-0.0.44.tgz",
+ "integrity": "sha512-hRUlnDCCzEzWlT24sx/YkpRWLMiKEd5I1WsXmnnLHjwHcd9ksOGwKnVxgeBH9dY8Qc87h4X2iVe1nbA+3VfwpA=="
},
"@walmart/metrics-mini-app": {
"version": "0.4.10",
--- package.json
@@ -77,7 +77,7 @@
"@walmart/ims-print-services-ui": "0.0.30",
"@walmart/inbox-mini-app": "0.0.101",
"@walmart/iteminfo-mini-app": "2.0.1",
- "@walmart/manager-approvals-miniapp": "0.0.42",
+ "@walmart/manager-approvals-miniapp": "0.0.44",
"@walmart/metrics-mini-app": "0.4.10",
"@walmart/moment-walmart": "1.0.4",
"@walmart/push-to-talk-mini-app": "0.5.21",
| Manager approvals app version bump | Manager approvals app version bump
|
8cf1aad2a403aebaf16bb0d974ecedd9037197b5 | --- src/components/RosterHeader.tsx
@@ -49,10 +49,14 @@ export const RosterHeader = (props: RosterHeaderProps) => {
const translationContext = useSiteTranslationContext();
+ const headerTitle = teamName
+ ? t('rosterScreen.rosterName')
+ : t('rosterScreen.totalStoreRosterName', {context: translationContext});
+
return (
<View style={styles.rosterHeader}>
<Body weight='700' size='large'>
- {t('rosterScreen.rosterName', {context: translationContext})}
+ {headerTitle}
</Body>
{isWeeklyScheduleVisible && (
<Button
--- src/translations/en-US.ts
@@ -20,9 +20,10 @@ export const enUS = {
viewTimeClock: 'View time clock',
},
rosterScreen: {
- rosterName: "Today's Total Store roster",
- rosterName_site: "Today's Total Site roster",
- rosterName_store: "Today's Total Store roster",
+ rosterName: "Today's roster",
+ totalStoreRosterName: "Today's total store roster",
+ totalStoreRosterName_site: "Today's total site roster",
+ totalStoreRosterName_store: "Today's total store roster",
weeklySchedule: 'Weekly schedule',
filters: {
all: 'All',
--- src/translations/es-MX.ts
@@ -20,7 +20,10 @@ export const esMX = {
viewTimeClock: 'Ver Timeclock',
},
rosterScreen: {
- rosterName: 'Lista de Total Store de hoy', //TODO: Update official translation
+ rosterName: 'Lista de hoy', //TODO: Update official translation
+ totalStoreRosterName: 'Lista de la tienda total de hoy', //TODO: Update official translation
+ totalStoreRosterName_site: 'Lista del sitio total de hoy', //TODO: Update official translation
+ totalStoreRosterName_store: 'Lista de la tienda total de hoy', //TODO: Update official translation
weeklySchedule: 'Horario semanal',
Filters: {
all: 'Todos',
--- src/components/RosterHeader.tsx
@@ -49,10 +49,14 @@ export const RosterHeader = (props: RosterHeaderProps) => {
const translationContext = useSiteTranslationContext();
+ const headerTitle = teamName
+ ? t('rosterScreen.rosterName')
+ : t('rosterScreen.totalStoreRosterName', {context: translationContext});
+
return (
<View style={styles.rosterHeader}>
<Body weight='700' size='large'>
- {t('rosterScreen.rosterName', {context: translationContext})}
+ {headerTitle}
</Body>
{isWeeklyScheduleVisible && (
<Button
--- src/translations/en-US.ts
@@ -20,9 +20,10 @@ export const enUS = {
viewTimeClock: 'View time clock',
},
rosterScreen: {
- rosterName: "Today's Total Store roster",
- rosterName_site: "Today's Total Site roster",
- rosterName_store: "Today's Total Store roster",
+ rosterName: "Today's roster",
+ totalStoreRosterName: "Today's total store roster",
+ totalStoreRosterName_site: "Today's total site roster",
+ totalStoreRosterName_store: "Today's total store roster",
weeklySchedule: 'Weekly schedule',
filters: {
all: 'All',
--- src/translations/es-MX.ts
@@ -20,7 +20,10 @@ export const esMX = {
viewTimeClock: 'Ver Timeclock',
},
rosterScreen: {
- rosterName: 'Lista de Total Store de hoy', //TODO: Update official translation
+ rosterName: 'Lista de hoy', //TODO: Update official translation
+ totalStoreRosterName: 'Lista de la tienda total de hoy', //TODO: Update official translation
+ totalStoreRosterName_site: 'Lista del sitio total de hoy', //TODO: Update official translation
+ totalStoreRosterName_store: 'Lista de la tienda total de hoy', //TODO: Update official translation
weeklySchedule: 'Horario semanal',
Filters: {
all: 'Todos',
| SMDV-4852 - updating language on roster screen | SMDV-4852 - updating language on roster screen
|
4487cb2ef30e2ede5f8cf8f0dc4217249049dac1 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart",
- "version": "1.33.3",
+ "version": "1.33.4",
"main": "index.js",
"private": true,
"workspaces": [
| feat(release): ALLSPARK-0000 bump app version to patch 1.33.4 | feat(release): ALLSPARK-0000 bump app version to patch 1.33.4
|
5b282c909e80569a7cd30b7a163836968d7f91e0 | --- src/components/FilterChipGroup/types.ts
@@ -9,6 +9,6 @@ export interface FilterChipGroupProps {
) => void;
isPrimaryTeam: boolean | undefined;
selectedFilter?: FilterValue;
- selectedShift?: ShiftType;
- onShiftChange: (shift: ShiftType) => void;
+selectedShift?: ShiftType;
+onShiftChange: (shift: ShiftType | undefined) => void;
}
| Update src/components/FilterChipGroup/types.ts | Update src/components/FilterChipGroup/types.ts
Co-authored-by: AI Code Assistant <AI-Code-Assistant@email.wal-mart.com> |
a28d45464c12b2b6395d42bdd83ec3e8329d7aa5 | --- targets/US/package.json
@@ -148,7 +148,7 @@
"@walmart/sidekick-mini-app": "4.84.9",
"@walmart/store-feature-orders": "1.27.1",
"@walmart/taskit-mini-app": "4.17.21",
- "@walmart/time-clock-mini-app": "2.419.0",
+ "@walmart/time-clock-mini-app": "2.433.0",
"@walmart/topstock-mini-app": "1.17.11",
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.17.1#~/.yarn/patches/@walmart-ui-components-npm-1.17.1-4a29feac03.patch",
"@walmart/walmart-fiscal-week": "^0.3.6",
--- yarn.lock
@@ -7055,7 +7055,7 @@ __metadata:
"@walmart/sidekick-mini-app": "npm:4.84.9"
"@walmart/store-feature-orders": "npm:1.27.1"
"@walmart/taskit-mini-app": "npm:4.17.21"
- "@walmart/time-clock-mini-app": "npm:2.419.0"
+ "@walmart/time-clock-mini-app": "npm:2.433.0"
"@walmart/topstock-mini-app": "npm:1.17.11"
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.17.1#~/.yarn/patches/@walmart-ui-components-npm-1.17.1-4a29feac03.patch"
"@walmart/walmart-fiscal-week": "npm:^0.3.6"
@@ -7993,9 +7993,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/time-clock-mini-app@npm:2.419.0":
- version: 2.419.0
- resolution: "@walmart/time-clock-mini-app@npm:2.419.0"
+"@walmart/time-clock-mini-app@npm:2.433.0":
+ version: 2.433.0
+ resolution: "@walmart/time-clock-mini-app@npm:2.433.0"
dependencies:
"@react-navigation/elements": "npm:^1.3.1"
moment-timezone: "npm:0.5.33"
@@ -8038,7 +8038,7 @@ __metadata:
uuid: ^3.3.2
wifi-store-locator: ^1.4.0
xdate: ^0.8.2
- checksum: 10c0/88022d6bba110f37bbbc006d5f7c966811c16184400a36f4e19a7bfb5af85563843946b68a95fe9efe645e6d55c987226d5ad7fb4f8f859973cce82bd5cd90c4
+ checksum: 10c0/fba468fa8ce889c2d5ba897038c57a2be5044865f3df88a8adb12254f52229642cd1e097240ddbd708b7f3b8853442d13bb154ba7b69f02701470beaf620aba3
languageName: node
linkType: hard
| GTA-153821 Updating time clock version | GTA-153821 Updating time clock version
|
02d84a8e86ab39fc2ba7d7fc349bcc142bb9f385 | --- package-lock.json
@@ -3634,9 +3634,9 @@
}
},
"@walmart/ui-components": {
- "version": "1.1.66",
- "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.1.66.tgz",
- "integrity": "sha512-68bSY2SjTmJCaLbD3gjxfWvMtpou8vd7L+ulRG3f/rETyCo3F6AbTKj9g4PnffQvOAxH675sOoR/kSHDi69o6w==",
+ "version": "1.1.68",
+ "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.1.68.tgz",
+ "integrity": "sha512-yDK234JlCjNzZs83opaU3fcAu53lq3S0pcJipCkd42jv24ianl73YgL9vgdJNZguRaJI0eMZoipAmkIUFXSDlg==",
"requires": {
"react-native-calendars": "1.299.0"
}
@@ -12712,7 +12712,7 @@
"react-native-connect-sso-redux": {
"version": "1.0.1",
"resolved": "https://npme.walmart.com/react-native-connect-sso-redux/-/react-native-connect-sso-redux-1.0.1.tgz",
- "integrity": "sha1-qd4UZjKEiXDiPtd13qB/sjL988Y="
+ "integrity": "sha512-RJADBxeUB3qlJ6D0qyljw6ePrCWobUObZ/j7cxK1M4NTYCn/OGVm6TuVO80WzHyi3/1wVscTSNdoF/m/+10ipQ=="
},
"react-native-device-info": {
"version": "5.6.5",
@@ -13163,27 +13163,27 @@
"react-native-wm-config": {
"version": "0.1.1",
"resolved": "https://npme.walmart.com/react-native-wm-config/-/react-native-wm-config-0.1.1.tgz",
- "integrity": "sha1-Nn+tRZascRxL031AMLmpsn4nbB4="
+ "integrity": "sha512-s3S3bciDoyVqUyfzVKsXJp+aQxPriU62yL+cvbBJB6d7sGnCFHDQHF7/2y8YfK4Qc756VQ2o3SgCzlcQEYoTEw=="
},
"react-native-wm-network": {
"version": "0.1.0",
"resolved": "https://npme.walmart.com/react-native-wm-network/-/react-native-wm-network-0.1.0.tgz",
- "integrity": "sha1-FagRyJUW+/eIfL/NqCnPfrY632I="
+ "integrity": "sha512-lDgyoghNlFRRCK0ET3vYy+HzYK0sENPxs77RkHbkr1VxY2vMlC8MbyU5Hg13ORnDf7qst5A0bVz2bocVHR2k8Q=="
},
"react-native-wm-notification": {
"version": "2.0.0",
"resolved": "https://npme.walmart.com/react-native-wm-notification/-/react-native-wm-notification-2.0.0.tgz",
- "integrity": "sha1-48bg0mzjuQpCaLOjUbwd+z20aj8="
+ "integrity": "sha512-TqMxfERxOKomh3P9hGh0lGUTTLv5X6zCZMF2xXJp3hggtbT0l1o0LN5/S+ptR3QdEO48TxHLtWC0LgstkJ/UYQ=="
},
"react-native-wm-telemetry": {
"version": "0.3.0",
"resolved": "https://npme.walmart.com/react-native-wm-telemetry/-/react-native-wm-telemetry-0.3.0.tgz",
- "integrity": "sha1-8QwZvpngLi+J6pHSOcu+5HqQcLs="
+ "integrity": "sha512-zTOSJ7BMbGHaqAF8+LDQI/s5winKcxsHSe4hv49gUbfDz19v71apgNchz31W1D2UQP+kNgrglrmCdmr5RdI8mw=="
},
"react-native-wm-voice-text": {
"version": "0.5.0",
"resolved": "https://npme.walmart.com/react-native-wm-voice-text/-/react-native-wm-voice-text-0.5.0.tgz",
- "integrity": "sha1-BCBLE9teUsdgAcNTXImFU/p4Niw="
+ "integrity": "sha512-PKaL0MFy+VjTT4wcx/v90BlvlRXgdWGUU8Sz/760A2Esj175A8w/vFQCtZhUer5FVxmpYVKk7nHzoewii4ygRw=="
},
"react-query": {
"version": "3.34.7",
@@ -14186,7 +14186,7 @@
"squiggly-localization": {
"version": "0.0.2",
"resolved": "https://npme.walmart.com/squiggly-localization/-/squiggly-localization-0.0.2.tgz",
- "integrity": "sha1-3ksz5Io53VPnUBiRSVDpxDaSGHU="
+ "integrity": "sha512-9j/XUl0XvLk5wksN/nhOcRHmHesVHopX7v3Z1Hv398/656CLarKW0FAqL28zjKO68YH566s8PM1gflrAayBuMA=="
},
"sshpk": {
"version": "1.16.1",
@@ -15446,7 +15446,7 @@
"wfm-allspark-data-library": {
"version": "0.0.11",
"resolved": "https://npme.walmart.com/wfm-allspark-data-library/-/wfm-allspark-data-library-0.0.11.tgz",
- "integrity": "sha1-E27LsiPO+Sbj5h3p0FQpcH9VU8g=",
+ "integrity": "sha512-o34ej3nNhCcy3uwWkOJcU/3zjXmX+VvbqiZrEgQwrxbO6cbJGxiK1Tz/JQX8j1lwi6cZFJKvDOucJtlduzVQrg==",
"requires": {
"@walmart/functional-components": "^1.0.22",
"@walmart/react-native-env": "^0.1.0",
@@ -15460,7 +15460,7 @@
"@walmart/react-native-env": {
"version": "0.1.0",
"resolved": "https://npme.walmart.com/@walmart/react-native-env/-/react-native-env-0.1.0.tgz",
- "integrity": "sha1-ojNwDE5pPTzF1RuQXDc//Fnlpz0="
+ "integrity": "sha512-ooH0AqLGhS5PNcLaOWRHAEIIvrYIyTUXqshlHkgEKDLhLtGW8WvFu0mlcCXb1FEUc/PVmKEzHNHYV1gzGNBqxQ=="
},
"moment": {
"version": "2.24.0",
@@ -15470,7 +15470,7 @@
"react-native-ssmp-sso-allspark": {
"version": "0.0.1-rc8",
"resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-0.0.1-rc8.tgz",
- "integrity": "sha1-/SHw48C+3muBMp2bynExhYPZl0s="
+ "integrity": "sha512-4ZWTteIvddzP7Lg3EM0KP1fDfcN8nx7v5yvHASCLUpoZvhxHQUkjj8uTt4TkJxvTuEK16w7mTwHDauTrIC/BJg=="
}
}
},
@@ -15527,12 +15527,12 @@
"wifi-store-locator": {
"version": "1.0.0-alpha2",
"resolved": "https://npme.walmart.com/wifi-store-locator/-/wifi-store-locator-1.0.0-alpha2.tgz",
- "integrity": "sha1-W1OXsVMHI8dYMcI0QKg6pJO/R3Q="
+ "integrity": "sha512-Gj0fP/NwQAguJrxEuRuHQjlUHDDH2qnFZAGgh1R0l1CUAPKFROL8L8gHZ1GDKnfoYMev7AOXKcEbZVcXpNomOg=="
},
"wm-react-native-vector-icons": {
"version": "1.0.33",
"resolved": "https://npme.walmart.com/wm-react-native-vector-icons/-/wm-react-native-vector-icons-1.0.33.tgz",
- "integrity": "sha1-vIAL0WOWBBaAsIuacYHnzsxTQxk=",
+ "integrity": "sha512-pAcEq6iOVxzKM55qucKOkh2ML3kii4yGJ5YdmMEOcRAGH4fQ1lHa7BETIl+jzX5n1ZVKgWkzmAiH3vw0nkuklQ==",
"requires": {
"lodash": "^4.0.0",
"prop-types": "^15.6.2",
--- package.json
@@ -96,7 +96,7 @@
"@walmart/redux-store": "^1.0.15",
"@walmart/schedule-mini-app": "0.4.4",
"@walmart/settings-mini-app": "1.3.8",
- "@walmart/ui-components": "1.1.66",
+ "@walmart/ui-components": "1.1.68",
"@walmart/shelfavailability-mini-app": "0.5.0",
"@walmart/time-clock-mini-app": "0.4.23",
"@walmart/welcomeme-mini-app": "0.30.4",
| fixed signout issue on pin screen | fixed signout issue on pin screen
|
f5498422d5176f313fba9b2d8e11f1383b971102 | --- packages/allspark-foundation/src/Navigation/components/DrawerButton.tsx
@@ -7,6 +7,7 @@ import { MenuIcon, IconButton } from '@walmart/gtp-shared-components';
import { AllsparkDrawerBadge } from '../../Components';
import { useAllsparkDrawer } from '../context';
import { debounce } from 'lodash';
+import { useAllsparkTranslation } from '../../Translation';
export type DrawerButtonProps = HeaderBackButtonProps & {
style?: StyleProp<ViewStyle>;
@@ -38,6 +39,7 @@ export const DrawerButton = (props: DrawerButtonProps) => {
const drawer = useAllsparkDrawer();
const navigation = useNavigation();
+ const { t } = useAllsparkTranslation();
const toggleDrawer = () => {
if (!drawer.locked) {
@@ -54,6 +56,7 @@ export const DrawerButton = (props: DrawerButtonProps) => {
onPress={toggleDrawer}
disabled={drawer.locked}
UNSAFE_style={style}
+ accessibilityLabel={t('menu.drawerButton')}
>
<MenuIcon UNSAFE_style={iconStyle} />
</IconButton>
| fix: adding accessibility label for DrawerButton | fix: adding accessibility label for DrawerButton
|
41b534169afc811e1ce19b98b460636ebe10d336 | --- package-lock.json
@@ -86,7 +86,7 @@
"@walmart/shelfavailability-mini-app": "1.5.16",
"@walmart/taskit-mini-app": "2.40.8",
"@walmart/texting-mini-app": "2.0.29",
- "@walmart/time-clock-mini-app": "2.111.1",
+ "@walmart/time-clock-mini-app": "2.111.2",
"@walmart/topstock-mini-app": "1.0.13",
"@walmart/ui-components": "1.15.1",
"@walmart/welcomeme-mini-app": "0.81.2",
@@ -8120,9 +8120,9 @@
"hasInstallScript": true
},
"node_modules/@walmart/time-clock-mini-app": {
- "version": "2.111.1",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.111.1.tgz",
- "integrity": "sha512-AFShw5e1RZpaqM0hGnIbc6ybXnW0I7Ez82WqZ+REAaH+dG2n7jzyViDqnxLG81yyErckzDobBSeLF2X9xRy0lA==",
+ "version": "2.111.2",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.111.2.tgz",
+ "integrity": "sha512-LVxGD7Pbc2RRxGp8cFmeXQmprSBVWcFg588OEfegmLIm7hJVQ/aAa8idLO45vF9TrHV1iPKiU/OLWovNJ/Aowg==",
"hasInstallScript": true,
"license": "UNLICENSED",
"dependencies": {
@@ -30721,9 +30721,9 @@
"integrity": "sha512-Du6CSDtOyhYWft5l8q5TYYNy9c5QE4nRwQ83YyEKH8rbXUbAY3ImmBVoIbocGtR0nKYsILgaCcWjOKWfhFRqTQ=="
},
"@walmart/time-clock-mini-app": {
- "version": "2.111.1",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.111.1.tgz",
- "integrity": "sha512-AFShw5e1RZpaqM0hGnIbc6ybXnW0I7Ez82WqZ+REAaH+dG2n7jzyViDqnxLG81yyErckzDobBSeLF2X9xRy0lA==",
+ "version": "2.111.2",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.111.2.tgz",
+ "integrity": "sha512-LVxGD7Pbc2RRxGp8cFmeXQmprSBVWcFg588OEfegmLIm7hJVQ/aAa8idLO45vF9TrHV1iPKiU/OLWovNJ/Aowg==",
"requires": {
"@react-navigation/elements": "^1.3.1",
"moment-timezone": "0.5.33",
--- package.json
@@ -127,7 +127,7 @@
"@walmart/shelfavailability-mini-app": "1.5.16",
"@walmart/taskit-mini-app": "2.40.8",
"@walmart/texting-mini-app": "2.0.29",
- "@walmart/time-clock-mini-app": "2.111.1",
+ "@walmart/time-clock-mini-app": "2.111.2",
"@walmart/topstock-mini-app": "1.0.13",
"@walmart/ui-components": "1.15.1",
"@walmart/welcomeme-mini-app": "0.81.2",
| Update TCMA to 2.111.2 | Update TCMA to 2.111.2
|
402e739321de0b4c9c3f992d08f98d264d598411 | --- ios/AllSpark.xcodeproj/project.pbxproj
@@ -453,6 +453,7 @@
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-AllSpark/Pods-AllSpark-resources.sh",
+ "${PODS_CONFIGURATION_BUILD_DIR}/AppAuth/AppAuthCore_Privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/EXConstants/EXConstants.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/EXConstants/ExpoConstants_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/ExpoFileSystem/ExpoFileSystem_privacy.bundle",
@@ -499,6 +500,7 @@
);
name = "[CP] Copy Pods Resources";
outputPaths = (
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AppAuthCore_Privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/EXConstants.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ExpoConstants_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ExpoFileSystem_privacy.bundle",
--- ios/Podfile.lock
@@ -602,11 +602,12 @@ PODS:
- Apollo/SQLite (0.53.0):
- Apollo/Core
- SQLite.swift (~> 0.13.1)
- - AppAuth (1.4.0):
- - AppAuth/Core (= 1.4.0)
- - AppAuth/ExternalUserAgent (= 1.4.0)
- - AppAuth/Core (1.4.0)
- - AppAuth/ExternalUserAgent (1.4.0)
+ - AppAuth (1.7.5):
+ - AppAuth/Core (= 1.7.5)
+ - AppAuth/ExternalUserAgent (= 1.7.5)
+ - AppAuth/Core (1.7.5)
+ - AppAuth/ExternalUserAgent (1.7.5):
+ - AppAuth/Core
- Base64 (1.1.2)
- boost (1.83.0)
- BoringSSL-GRPC (0.0.24):
@@ -1872,8 +1873,8 @@ PODS:
- React-Mapbuffer (0.73.7):
- glog
- React-debug
- - react-native-app-auth (6.4.3):
- - AppAuth (= 1.4.0)
+ - react-native-app-auth (7.2.0):
+ - AppAuth (>= 1.7.3)
- React-Core
- react-native-background-timer (2.4.1):
- React-Core
@@ -2723,7 +2724,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
abseil: ebe5b5529fb05d93a8bdb7951607be08b7fa71bc
Apollo: 204819ea82022fbc59ad05056820df867f19bd02
- AppAuth: 31bcec809a638d7bd2f86ea8a52bd45f6e81e7c7
+ AppAuth: 501c04eda8a8d11f179dbe8637b7a91bb7e5d2fa
Base64: cecfb41a004124895a7bcee567a89bae5a89d49b
boost: 26fad476bfa736552bbfa698a06cc530475c1505
BoringSSL-GRPC: 3175b25143e648463a56daeaaa499c6cb86dad33
@@ -2807,7 +2808,7 @@ SPEC CHECKSUMS:
React-jsinspector: f356e49aa086380d3a4892708ca173ad31ac69c1
React-logger: 7b19bdfb254772a0332d6cd4d66eceb0678b6730
React-Mapbuffer: 6f392912435adb8fbf4c3eee0e79a0a0b4e4b717
- react-native-app-auth: fd1eaa667c0bc014199456d14a6440cb74de814e
+ react-native-app-auth: 63fa4e58c5bd29aeb974d3a06a23c5858322d533
react-native-background-timer: 17ea5e06803401a379ebf1f20505b793ac44d0fe
react-native-biometrics: 352e5a794bfffc46a0c86725ea7dc62deb085bdc
react-native-ble-manager: 99778506a9a9541ce7ad951144a9c362b3655125
--- package.json
@@ -177,7 +177,7 @@
"react-hook-form": "^7.51.0",
"react-i18next": "^13.3.1",
"react-native": "patch:react-native@npm%3A0.73.7#~/.yarn/patches/react-native-npm-0.73.7-7f2047866d.patch",
- "react-native-app-auth": "^6.4.3",
+ "react-native-app-auth": "7.2.0",
"react-native-audio-recorder-player": "^3.6.7",
"react-native-background-timer": "^2.4.1",
"react-native-barcode-builder": "^2.0.0",
@@ -424,7 +424,7 @@
"react-hook-form": "^7.51.0",
"react-i18next": "^13.3.1",
"react-native": "patch:react-native@npm%3A0.73.7#~/.yarn/patches/react-native-npm-0.73.7-7f2047866d.patch",
- "react-native-app-auth": "^6.4.3",
+ "react-native-app-auth": "7.2.0",
"react-native-audio-recorder-player": "^3.6.7",
"react-native-background-timer": "^2.4.1",
"react-native-barcode-builder": "^2.0.0",
--- yarn.lock
@@ -7904,7 +7904,7 @@ __metadata:
react-i18next: "npm:^13.3.1"
react-native: "patch:react-native@npm%3A0.73.7#~/.yarn/patches/react-native-npm-0.73.7-7f2047866d.patch"
react-native-apollo-devtools-client: "npm:^1.0.4"
- react-native-app-auth: "npm:^6.4.3"
+ react-native-app-auth: "npm:7.2.0"
react-native-audio-recorder-player: "npm:^3.6.7"
react-native-background-timer: "npm:^2.4.1"
react-native-barcode-builder: "npm:^2.0.0"
@@ -17810,15 +17810,15 @@ __metadata:
languageName: node
linkType: hard
-"react-native-app-auth@npm:^6.4.3":
- version: 6.4.3
- resolution: "react-native-app-auth@npm:6.4.3"
+"react-native-app-auth@npm:7.2.0":
+ version: 7.2.0
+ resolution: "react-native-app-auth@npm:7.2.0"
dependencies:
invariant: "npm:2.2.4"
react-native-base64: "npm:0.0.2"
peerDependencies:
react-native: ">=0.63.0"
- checksum: 10c0/e0c644f2e3a77e3da825c7042a86fdaa17fe44cad85b9f07f26fe348651e8f6411d39d98fee152f2eb220e820d2f7104b9d1f68755d79297d73795e2997bf2b8
+ checksum: 10c0/f69903d91ba1e790a6e6690c1b4bfd796a6c50a99e2eaf36793cabe1277bd33798742073ed4a1eff22d40a05becb149cfdb37d81a57eb48580fa32bb16dfc6eb
languageName: node
linkType: hard
| update app auth to 7.2 | update app auth to 7.2
|
df74b328e63de7cb5202ab38589479d867697d25 | --- ios/Podfile.lock
@@ -538,7 +538,7 @@ PODS:
- RCTTypeSafety
- React
- ReactCommon/turbomodule/core
- - react-native-scanner-3.0 (0.2.0):
+ - react-native-scanner-3.0 (0.2.1):
- Firebase/Analytics
- React
- ScanditBarcodeCapture (= 6.14.0)
@@ -1220,7 +1220,7 @@ SPEC CHECKSUMS:
react-native-ptt-module: 47e1b73551afa3830155cc92f4809d06c38e5eca
react-native-render-html: 984dfe2294163d04bf5fe25d7c9f122e60e05ebe
react-native-safe-area-context: 6c12e3859b6f27b25de4fee8201cfb858432d8de
- react-native-scanner-3.0: e2827283accaa51fa2e1f55bde21607ae0a695df
+ react-native-scanner-3.0: 357a5d88bc757579087ef0d2ce2001b17b6e323b
react-native-splash-screen: 4312f786b13a81b5169ef346d76d33bc0c6dc457
react-native-video: c26780b224543c62d5e1b2a7244a5cd1b50e8253
react-native-view-shot: 792829857bbb23a9c8acdad9a640554bdee397a3
| fix(pod): update react native scanner pod version | fix(pod): update react native scanner pod version
|
95aa7a50361d74e25926bbdb3ea2b83aebfe1694 | --- __tests__/utils/user-test.ts
@@ -98,7 +98,7 @@ describe('returnClockedStatusBasedOnSchedule', () => {
{startTime: '2023-07-11T08:00:00', endTime: '2023-07-11T17:00:00'},
];
const clockedStatus = returnClockedStatusBasedOnSchedule(scheduleInfo);
- expect(clockedStatus).toBe(false);
+ expect(clockedStatus).toBe(true);
});
it('should return false if current time is after schedEndTime', () => {
@@ -107,6 +107,6 @@ describe('returnClockedStatusBasedOnSchedule', () => {
{startTime: '2023-07-11T08:00:00', endTime: '2023-07-11T17:00:00'},
];
const clockedStatus = returnClockedStatusBasedOnSchedule(scheduleInfo);
- expect(clockedStatus).toBe(false);
+ expect(clockedStatus).toBe(true);
});
});
| Merge changes | Merge changes
|
b6e444c304e2ed7a319fdbe7edf22b7ebc11f755 | --- docs/CHANGELOG.md
@@ -1,3 +1,12 @@
+# [1.14.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.13.0...v1.14.0) (2024-09-10)
+
+
+### Features
+
+* **ui:** fixes to mitigate sonar violations ([7dccaac](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/7dccaacf170bf92b9feaf5c0368711ed5dd40654))
+* **ui:** reverted label logic ([678b669](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/678b6693094cc00e4e2903fde9764f2b69bb0a8f))
+* **ui:** updated import ref ([a264358](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/a264358fd4dc5651e0ae617e249f95106bbd423e))
+
# [1.13.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.12.0...v1.13.0) (2024-08-30)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.13.0",
+ "version": "1.14.0",
"main": "dist/index.js",
"files": [
"dist"
| chore(release): 1.14.0 [skip ci] | chore(release): 1.14.0 [skip ci]
# [1.14.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.13.0...v1.14.0) (2024-09-10)
### Features
* **ui:** fixes to mitigate sonar violations ([7dccaac](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/7dccaacf170bf92b9feaf5c0368711ed5dd40654))
* **ui:** reverted label logic ([678b669](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/678b6693094cc00e4e2903fde9764f2b69bb0a8f))
* **ui:** updated import ref ([a264358](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/a264358fd4dc5651e0ae617e249f95106bbd423e))
|
ded1bc55a7d838eb768509a22fbca7319eb17386 | --- packages/core-services-allspark/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.10.5](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@2.10.4...@walmart/core-services-allspark@2.10.5) (2023-04-11)
+
+**Note:** Version bump only for package @walmart/core-services-allspark
+
+
+
+
+
## [2.10.4](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@2.10.3...@walmart/core-services-allspark@2.10.4) (2023-04-07)
**Note:** Version bump only for package @walmart/core-services-allspark
--- packages/core-services-allspark/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "2.10.4",
+ "version": "2.10.5",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- packages/core-services-allspark/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "2.10.4",
+ "version": "2.10.5",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
- @walmart/core-services-allspark@2.10.5
|
1dd9a48f5357ea50ea1468415b5901ce3ebb91c8 | --- core/__tests__/__mocks__/@walmart/utils/mockNavConfigSideNav.js
--- core/__tests__/oneClick/utility/updateMegaNavCCMTest.ts
@@ -1,7 +1,7 @@
import {getIsFeatureEnabled, updateMegaNavCCM} from '../../../src/oneClick/utility/updateMegaNavCCM.ts';
import _ from 'lodash';
import {NavType} from '@walmart/allspark-foundation/Navigation';
-import {mockNavConfigData} from './mockNavConfigSideNav';
+import {mockNavConfigData} from '../../__mocks__/@walmart/utils/mockNavConfigSideNav';
const mockOneClickConfig = {
HolidayPlusUp: {enable: true},
| Move under __mocks__ | Move under __mocks__
|
15729a4c2a75cf429eee2434d737b63c8ff0490d | --- package-lock.json
@@ -37,7 +37,7 @@
"@terrylinla/react-native-sketch-canvas": "0.8.0",
"@walmart/allspark-graphql-client": "^1.4.5",
"@walmart/allspark-neon-core": "0.1.31",
- "@walmart/amp-mini-app": "1.1.58",
+ "@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.0",
@@ -7896,9 +7896,9 @@
}
},
"node_modules/@walmart/amp-mini-app": {
- "version": "1.1.58",
- "resolved": "https://npme.walmart.com/@walmart/amp-mini-app/-/amp-mini-app-1.1.58.tgz",
- "integrity": "sha512-fM8inxFPcUsqx7Ii5watoGppk/A7if7QLfFLXY9sMYhshkagna8cEgNLdJiaH2NVJWKnSXcYVSBkaXpNt/FVqw==",
+ "version": "1.1.59",
+ "resolved": "https://npme.walmart.com/@walmart/amp-mini-app/-/amp-mini-app-1.1.59.tgz",
+ "integrity": "sha512-8IziEm3PkL5G8OnQMw7NIuXWwOoNXi+QhnUEizCcnarQfoqij3FpaLSCRQvbD+k7N5KzVkfxXK12O/iagrS1iQ==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -33518,9 +33518,9 @@
}
},
"@walmart/amp-mini-app": {
- "version": "1.1.58",
- "resolved": "https://npme.walmart.com/@walmart/amp-mini-app/-/amp-mini-app-1.1.58.tgz",
- "integrity": "sha512-fM8inxFPcUsqx7Ii5watoGppk/A7if7QLfFLXY9sMYhshkagna8cEgNLdJiaH2NVJWKnSXcYVSBkaXpNt/FVqw=="
+ "version": "1.1.59",
+ "resolved": "https://npme.walmart.com/@walmart/amp-mini-app/-/amp-mini-app-1.1.59.tgz",
+ "integrity": "sha512-8IziEm3PkL5G8OnQMw7NIuXWwOoNXi+QhnUEizCcnarQfoqij3FpaLSCRQvbD+k7N5KzVkfxXK12O/iagrS1iQ=="
},
"@walmart/ask-sam-chat-components": {
"version": "0.2.13",
--- package.json
@@ -78,7 +78,7 @@
"@terrylinla/react-native-sketch-canvas": "0.8.0",
"@walmart/allspark-graphql-client": "^1.4.5",
"@walmart/allspark-neon-core": "0.1.31",
- "@walmart/amp-mini-app": "1.1.58",
+ "@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.0",
| Bump up AMP version to 1.1.59 | Bump up AMP version to 1.1.59
|
03ca6c64803d4f97f6f600db66641f0cdf95c5a8 | --- package-lock.json
@@ -3025,9 +3025,9 @@
}
},
"@walmart/allspark-health-survey-mini-app": {
- "version": "0.0.38",
- "resolved": "https://npme.walmart.com/@walmart/allspark-health-survey-mini-app/-/allspark-health-survey-mini-app-0.0.38.tgz",
- "integrity": "sha512-6HkUeZT9FyDHzry06Ky+bksXtz/Ik3aUkFF51eGXHB19M7MyouvgdeTqhbtAdg1EW4V9kmmoMExDxd2VtOOpaA==",
+ "version": "0.0.39",
+ "resolved": "https://npme.walmart.com/@walmart/allspark-health-survey-mini-app/-/allspark-health-survey-mini-app-0.0.39.tgz",
+ "integrity": "sha512-ZUNYwZzj7xix/f8n1ACQMB1HzwQY7WYKgBfvfHTSOFW5NDNQRkBjtm/u5YJm2IvHBP7GDJImymnarLUbKDrMmQ==",
"requires": {
"@walmart/patient-portal-mobile": "^2.1.13",
"crypto-js": "^3.3.0",
--- package.json
@@ -63,7 +63,7 @@
"@redux-saga/testing-utils": "^1.1.3",
"@sharcoux/slider": "^5.2.1",
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
- "@walmart/allspark-health-survey-mini-app": "0.0.38",
+ "@walmart/allspark-health-survey-mini-app": "0.0.39",
"@walmart/allspark-home-mini-app": "0.4.0",
"@walmart/allspark-me-mini-app": "0.1.0",
"@walmart/ask-sam-mini-app": "0.28.0",
| fb events for health survey v2 | fb events for health survey v2
|
f0d342ee59cbe507b6b9327fcb83adcdf9eb63bd | --- ios/Podfile.lock
@@ -406,7 +406,7 @@ PODS:
- React-Core
- react-native-pdf (6.2.2):
- React-Core
- - react-native-ptt-module (1.5.66):
+ - react-native-ptt-module (1.5.67):
- PTT (= 0.7.14-rc.2)
- React
- react-native-safe-area-context (3.3.2):
@@ -970,7 +970,7 @@ SPEC CHECKSUMS:
react-native-netinfo: 77d133105df525d4a11f10fcaa8d0b8883ea6429
react-native-pager-view: 311c10a4eead1be627cad59062aa059d8108b943
react-native-pdf: 4b5a9e4465a6a3b399e91dc4838eb44ddf716d1f
- react-native-ptt-module: fdb2a8ff8005b17cc1cde9be3c4bf74bbd707400
+ react-native-ptt-module: a679045d24b688e5b952245aa56c8380f62376e8
react-native-safe-area-context: 5cf05f49df9d17261e40e518481f2e334c6cd4b5
react-native-splash-screen: 200d11d188e2e78cea3ad319964f6142b6384865
react-native-video: 8d97379f3c2322a569f1e27542ad1a646cad9444
--- package-lock.json
@@ -4343,9 +4343,9 @@
"integrity": "sha512-qJaaKPSs5rNbukmidrZoqqWylzPX1nos0NwavGpgMjfCIvRuAE83yxNgNMV2KNP8y42YfNhEQlMJ5dCnsg/vWw=="
},
"@walmart/push-to-talk-mini-app": {
- "version": "0.5.92",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.92.tgz",
- "integrity": "sha512-+BvvgK5NSrrCzHdMgjd2MNxQ/IhVK/blQUkYBNrm6tx8M6O3gxnEIgccqXri7rtgrix+uSskChkuP4nTZeTzzA=="
+ "version": "0.5.93",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.93.tgz",
+ "integrity": "sha512-c7mIQ5IuiwlFhE6R30kb0U89JZEpuHWZCoQUERT1BWM8dUQAcbdMIM78vFXOV+EfkP7DX0EPSVGQNOcfKac49g=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
@@ -16978,9 +16978,9 @@
"integrity": "sha512-PO99dptMocEfUSS3SM7gY6UqophaBxizKjnZ7FcEwa+H4ONVxTk310/JCXJ9vdNunomgpxHluKRXnApfm9Md1w=="
},
"react-native-ptt-module": {
- "version": "1.5.66",
- "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.5.66.tgz",
- "integrity": "sha512-MWJYelxwd8N31/tNRuX9Is38Jjp0wFGkpalTCNmdTQYKVfoojcuQrQI8SjqdzRWPo+2C07VaNeh6rpKCTceFig=="
+ "version": "1.5.67",
+ "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.5.67.tgz",
+ "integrity": "sha512-+hw6a7rhckyXiYxCuTTmbCqAQi6azVlb4hK1wTwlgvXZcBdMhkL/bVeo5EgEbyrQ6ByJCoWf7uRL4c36Lba68Q=="
},
"react-native-qrcode-svg": {
"version": "6.0.6",
--- package.json
@@ -91,7 +91,7 @@
"@walmart/moment-walmart": "1.0.4",
"@walmart/payrollsolution_miniapp": "0.91.0",
"@walmart/price-changes-mini-app": "1.0.6",
- "@walmart/push-to-talk-mini-app": "0.5.92",
+ "@walmart/push-to-talk-mini-app": "0.5.93",
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.28.0",
"@walmart/react-native-shared-navigation": "^0.4.0",
@@ -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.66",
+ "react-native-ptt-module": "1.5.67",
"react-native-qrcode-svg": "^6.0.6",
"react-native-reanimated": "^1.10.2",
"react-native-safe-area-context": "^3.3.0",
| updating to latest versions | updating to latest versions
|
3e8c4a04a95b42a95a16f35c8b61c3b762140935 | --- package.json
@@ -97,7 +97,7 @@
"@walmart/core-services": "~6.5.2",
"@walmart/core-services-allspark": "workspace:^",
"@walmart/core-widget-registry": "workspace:^",
- "@walmart/counts-component-miniapp": "0.2.4",
+ "@walmart/counts-component-miniapp": "0.2.6",
"@walmart/digital-locks-mini-app": "1.4.4",
"@walmart/emergency-mini-app": "1.32.5",
"@walmart/exception-mini-app": "1.8.15",
@@ -114,7 +114,7 @@
"@walmart/invue-react-native-sdk": "0.1.26-alpha.12",
"@walmart/iteminfo-mini-app": "8.4.2",
"@walmart/learning-mini-app": "20.0.70",
- "@walmart/manager-approvals-miniapp": "0.3.4",
+ "@walmart/manager-approvals-miniapp": "0.3.6",
"@walmart/me-at-walmart-athena-queries": "6.31.0",
"@walmart/me-at-walmart-common": "workspace:^",
"@walmart/me-at-walmart-container": "workspace:^",
@@ -128,7 +128,7 @@
"@walmart/pay-stub-miniapp": "0.23.3",
"@walmart/payrollsolution_miniapp": "0.147.26",
"@walmart/persona-hub": "0.3.3",
- "@walmart/price-changes-mini-app": "1.12.7",
+ "@walmart/price-changes-mini-app": "1.13.3",
"@walmart/profile-feature-app": "2.0.2-UPV2MyWalmart.2",
"@walmart/react-native-barcode-builder": "^1.0.1",
"@walmart/react-native-cookies": "1.0.1",
--- yarn.lock
@@ -8039,9 +8039,9 @@ __metadata:
languageName: unknown
linkType: soft
-"@walmart/counts-component-miniapp@npm:0.2.4":
- version: 0.2.4
- resolution: "@walmart/counts-component-miniapp@npm:0.2.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcounts-component-miniapp%2F-%2F%40walmart%2Fcounts-component-miniapp-0.2.4.tgz"
+"@walmart/counts-component-miniapp@npm:0.2.6":
+ version: 0.2.6
+ resolution: "@walmart/counts-component-miniapp@npm:0.2.6::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcounts-component-miniapp%2F-%2F%40walmart%2Fcounts-component-miniapp-0.2.6.tgz"
peerDependencies:
"@react-navigation/native": ">=6.0.0"
"@react-navigation/stack": ">=6.2.0"
@@ -8053,7 +8053,7 @@ __metadata:
react-native-permissions: ">=3.10.1"
react-native-webview: ^13.6.3
reselect: ">=4.1.0"
- checksum: 10c0/56fef1d725dae7ae1025cae2f37bba812a553f5bb837538fd48ca4205a482996b23b67ddb25846609e10864f04db3ef26bc758732ebf292b8abaaefad485815c
+ checksum: 10c0/a992d1bb4b06e03945a3392b3fb24f8f762eae61c424efe227cbbe1be40de3f8cb63f593e25d49c8e5cb2840aaa0b8fa432a09b7ab411d047168da1dbd592119
languageName: node
linkType: hard
@@ -8478,9 +8478,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/manager-approvals-miniapp@npm:0.3.4":
- version: 0.3.4
- resolution: "@walmart/manager-approvals-miniapp@npm:0.3.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fmanager-approvals-miniapp%2F-%2F%40walmart%2Fmanager-approvals-miniapp-0.3.4.tgz"
+"@walmart/manager-approvals-miniapp@npm:0.3.6":
+ version: 0.3.6
+ resolution: "@walmart/manager-approvals-miniapp@npm:0.3.6::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fmanager-approvals-miniapp%2F-%2F%40walmart%2Fmanager-approvals-miniapp-0.3.6.tgz"
peerDependencies:
"@react-navigation/native": ^6.0.8
"@react-navigation/stack": ^6.2.0
@@ -8495,7 +8495,7 @@ __metadata:
react-native-wm-telemetry: 0.3.0
react-redux: ^8.0.4
reselect: ^4.1.0
- checksum: 10c0/c20e0e74777eab3b2081794252c4b684e2fa9dc568142d282bc3ede60bc8e41ca8e459630ea2db3717ca731a63672f7ff43d701ce473b14d21420059dd3db5b6
+ checksum: 10c0/d70b943b1cc59440dd78f664184b8278140ee4e653b3aebacdde2af998f186036d06f99d390e59dfeb7308c886ee8e2c3e36c62c4b706d73ca0a61f8168d6ae9
languageName: node
linkType: hard
@@ -8643,7 +8643,7 @@ __metadata:
"@walmart/core-services": "npm:~6.5.2"
"@walmart/core-services-allspark": "workspace:^"
"@walmart/core-widget-registry": "workspace:^"
- "@walmart/counts-component-miniapp": "npm:0.2.4"
+ "@walmart/counts-component-miniapp": "npm:0.2.6"
"@walmart/digital-locks-mini-app": "npm:1.4.4"
"@walmart/emergency-mini-app": "npm:1.32.5"
"@walmart/exception-mini-app": "npm:1.8.15"
@@ -8660,7 +8660,7 @@ __metadata:
"@walmart/invue-react-native-sdk": "npm:0.1.26-alpha.12"
"@walmart/iteminfo-mini-app": "npm:8.4.2"
"@walmart/learning-mini-app": "npm:20.0.70"
- "@walmart/manager-approvals-miniapp": "npm:0.3.4"
+ "@walmart/manager-approvals-miniapp": "npm:0.3.6"
"@walmart/me-at-walmart-athena-queries": "npm:6.31.0"
"@walmart/me-at-walmart-common": "workspace:^"
"@walmart/me-at-walmart-container": "workspace:^"
@@ -8674,7 +8674,7 @@ __metadata:
"@walmart/pay-stub-miniapp": "npm:0.23.3"
"@walmart/payrollsolution_miniapp": "npm:0.147.26"
"@walmart/persona-hub": "npm:0.3.3"
- "@walmart/price-changes-mini-app": "npm:1.12.7"
+ "@walmart/price-changes-mini-app": "npm:1.13.3"
"@walmart/profile-feature-app": "npm:2.0.2-UPV2MyWalmart.2"
"@walmart/react-native-barcode-builder": "npm:^1.0.1"
"@walmart/react-native-cookies": "npm:1.0.1"
@@ -9064,9 +9064,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/price-changes-mini-app@npm:1.12.7":
- version: 1.12.7
- resolution: "@walmart/price-changes-mini-app@npm:1.12.7::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fprice-changes-mini-app%2F-%2F%40walmart%2Fprice-changes-mini-app-1.12.7.tgz"
+"@walmart/price-changes-mini-app@npm:1.13.3":
+ version: 1.13.3
+ resolution: "@walmart/price-changes-mini-app@npm:1.13.3::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fprice-changes-mini-app%2F-%2F%40walmart%2Fprice-changes-mini-app-1.13.3.tgz"
peerDependencies:
"@react-navigation/native": ">=6.0.0"
"@react-navigation/stack": ">=6.2.0"
@@ -9085,7 +9085,7 @@ __metadata:
redux-saga: ^1.1.3
reduxsauce: ^1.2.0
uuid: ^3.3.2
- checksum: 10c0/d299d5d47141e2a8570934ac03585b5a3463fa7e8ac9b494cb58068ed1918d7e833c66b2bf51341962a167d74d2b6b788aeb2f29b4d47d58aa41d355ff69df34
+ checksum: 10c0/8bf9fa4a021edc6ad124592021aa56654ac5da7398b13f49eda22a414cb764c02a2ab0cbdcea87e45b5b3cf001173decfda4418392403a0cc68d4ff9d728b847
languageName: node
linkType: hard
| feat: OPIF-200791 SIPC Batch Enhancement | Updates to retry and reprint (#4231) | feat: OPIF-200791 SIPC Batch Enhancement | Updates to retry and reprint (#4231)
|
985a5b8c4f432911a71371adb44a9d84fb05e9a6 | --- ios/Podfile.lock
@@ -376,6 +376,8 @@ PODS:
- React-Core (= 0.63.2)
- React-cxxreact (= 0.63.2)
- React-jsi (= 0.63.2)
+ - ReactNativeART (1.2.0):
+ - React
- rn-fetch-blob (0.12.0):
- React-Core
- RNCAsyncStorage (1.11.0):
@@ -462,6 +464,7 @@ DEPENDENCIES:
- React-RCTText (from `../node_modules/react-native/Libraries/Text`)
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
+ - "ReactNativeART (from `../node_modules/@react-native-community/art`)"
- rn-fetch-blob (from `../node_modules/rn-fetch-blob`)
- "RNCAsyncStorage (from `../node_modules/@react-native-community/async-storage`)"
- "RNCMaskedView (from `../node_modules/@react-native-community/masked-view`)"
@@ -574,6 +577,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/Libraries/Vibration"
ReactCommon:
:path: "../node_modules/react-native/ReactCommon"
+ ReactNativeART:
+ :path: "../node_modules/@react-native-community/art"
rn-fetch-blob:
:path: "../node_modules/rn-fetch-blob"
RNCAsyncStorage:
@@ -663,6 +668,7 @@ SPEC CHECKSUMS:
React-RCTText: 1b6773e776e4b33f90468c20fe3b16ca3e224bb8
React-RCTVibration: 4d2e726957f4087449739b595f107c0d4b6c2d2d
ReactCommon: a0a1edbebcac5e91338371b72ffc66aa822792ce
+ ReactNativeART: f003b07dfa7098aa419ed95b69560923440b1eee
rn-fetch-blob: f065bb7ab7fb48dd002629f8bdcb0336602d3cba
RNCAsyncStorage: db711e29e5e0500d9bd21aa0c2e397efa45302b1
RNCMaskedView: f5c7d14d6847b7b44853f7acb6284c1da30a3459
--- package-lock.json
@@ -1838,9 +1838,9 @@
}
},
"@walmart/ask-sam-mini-app": {
- "version": "0.3.0",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.3.0.tgz",
- "integrity": "sha512-zsFmA95NXzXoQZ3ntyIpknykiu7QaMhXjtKbKxJORm7s4w1Qbq5hVi9DBnIiKiua1fQV4k9u9y+F6pmVBObh7w==",
+ "version": "0.3.1",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.3.1.tgz",
+ "integrity": "sha512-PjM0msXXoBSlFwssOeB3sMGsuAq+kqDXQr0sMF5vD7U6GUzyQHhyUweV+Op9P8XXjzu+nimuvYKFEZe4YeyIFQ==",
"requires": {
"@babel/preset-typescript": "^7.10.4",
"apisauce": "^1.1.2",
--- package.json
@@ -17,6 +17,7 @@
"lint": "eslint ./src ./__tests__ --ext .js,.jsx,.ts,.tsx"
},
"dependencies": {
+ "@react-native-community/art": "^1.2.0",
"@react-native-community/async-storage": "^1.11.0",
"@react-native-community/masked-view": "^0.1.10",
"@react-native-community/netinfo": "^5.9.5",
@@ -32,7 +33,7 @@
"@react-navigation/stack": "^5.9.0",
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": "^4.14.159",
- "@walmart/ask-sam-mini-app": "^0.3.0",
+ "@walmart/ask-sam-mini-app": "^0.3.1",
"@walmart/gtp-shared-components": "^0.1.3",
"@walmart/react-native-shared-navigation": "^0.2.0",
"@walmart/redux-store": "^0.1.1",
| adding react native art; updating ask sam version again | adding react native art; updating ask sam version again
|
ae86f561931195cfb4d30117889619932fdd44d5 | --- package-lock.json
@@ -65,7 +65,7 @@
"@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.133.0",
+ "@walmart/profile-feature-app": "0.139.0",
"@walmart/push-to-talk-mini-app": "1.8.59",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
@@ -5693,9 +5693,9 @@
}
},
"node_modules/@walmart/profile-feature-app": {
- "version": "0.133.0",
- "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.133.0.tgz",
- "integrity": "sha512-mVvLALSjzNenxZZJQi4UNL8H+R4SLEC+IeSW5gH3AGnRiv/hA8V16j+j/IJWAc7bNos6gNMsUcUHC8QmkYrjUQ==",
+ "version": "0.139.0",
+ "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.139.0.tgz",
+ "integrity": "sha512-YFiFiwrUXTtofr+wkRl6IvK+rrQpo337lC1NrkLdAcooJZztIuZsP+i0ILETLeDw40HP6I5vD4mbQGZIaz0YrA==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/bottom-tabs": "^6.0.0",
@@ -25323,9 +25323,9 @@
"integrity": "sha512-TIzjXjT8jlsb/OrY7WPr4xUv5RsCsnNN0wwjawIwOHurrZtrFn8f/WjwkY8e6zUC3AlZ4QsHdaKqCD/pfkgGPg=="
},
"@walmart/profile-feature-app": {
- "version": "0.133.0",
- "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.133.0.tgz",
- "integrity": "sha512-mVvLALSjzNenxZZJQi4UNL8H+R4SLEC+IeSW5gH3AGnRiv/hA8V16j+j/IJWAc7bNos6gNMsUcUHC8QmkYrjUQ=="
+ "version": "0.139.0",
+ "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.139.0.tgz",
+ "integrity": "sha512-YFiFiwrUXTtofr+wkRl6IvK+rrQpo337lC1NrkLdAcooJZztIuZsP+i0ILETLeDw40HP6I5vD4mbQGZIaz0YrA=="
},
"@walmart/push-to-talk-mini-app": {
"version": "1.8.59",
--- package.json
@@ -107,7 +107,7 @@
"@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.133.0",
+ "@walmart/profile-feature-app": "0.139.0",
"@walmart/push-to-talk-mini-app": "1.8.59",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
| Bump profile-feature-app to 0.139.0 | Bump profile-feature-app to 0.139.0
|
04263f4bad776d6704a1e74866a926c6b7fe8066 | --- packages/allspark-foundation/src/FeatureRunner/components/PluginSection.tsx
@@ -7,7 +7,9 @@ import {
CardHeader,
Heading,
} from '@walmart/gtp-shared-components';
+
import { FeatureRunnerPlugin } from '../types';
+import { PluginComponentContainer } from '../navigation';
import { createScreenLink } from './FeatureSection';
const styles = StyleSheet.create({
@@ -58,6 +60,7 @@ export const PluginSection = (props: {
<View style={style}>
<Heading>Plugins</Heading>
<PluginScreensCard screens={screens} />
+ <PluginComponentContainer.List />
</View>
);
};
--- packages/allspark-foundation/src/FeatureRunner/navigation.tsx
@@ -52,7 +52,7 @@ const renderSideMenu = (props: DrawerContentComponentProps) => (
<SideMenu {...props} />
);
-export const FeatureRunnerContainer = new ComponentContainer<any>();
+export const PluginComponentContainer = new ComponentContainer<any>();
export const createFeatureRunnerNavigation = <F extends AllsparkFeatureModule>(
feature: F,
@@ -69,7 +69,7 @@ export const createFeatureRunnerNavigation = <F extends AllsparkFeatureModule>(
plugins.forEach((plugin) => {
// If plugin has a component, add it to the component container shown on home
if (plugin.component) {
- FeatureRunnerContainer.add(plugin.name, plugin.component);
+ PluginComponentContainer.add(plugin.name, plugin.component);
}
// If plugin has a menu option config, add it to the dynamic side menu component
--- packages/allspark-foundation/src/FeatureRunner/screens/Home.tsx
@@ -7,7 +7,6 @@ import { AllsparkFeatureModule } from '../../Feature';
import { UserHeader } from '../components/UserHeader';
import { FeatureSection } from '../components/FeatureSection';
import { FeatureRunnerPlugin } from '../types';
-import { FeatureRunnerContainer } from '../navigation';
import { PluginSection } from '../components/PluginSection';
const styles = StyleSheet.create({
@@ -41,7 +40,6 @@ export const Home = (props: {
<UserHeader style={styles.userHeader} />
<FeatureSection feature={feature} style={styles.section} />
<PluginSection plugins={plugins} style={styles.section} />
- <FeatureRunnerContainer.List />
</ScrollView>
);
};
| chore: move plugin container to plugin section | chore: move plugin container to plugin section
|
3b242be17ce3ee50e60fbc5d2349ea16ab284da3 | --- package-lock.json
@@ -43,7 +43,7 @@
"@walmart/core-services-allspark": "~2.10.15",
"@walmart/core-utils": "~2.0.5",
"@walmart/core-widget-registry": "~1.2.4",
- "@walmart/counts-component-miniapp": "0.1.4",
+ "@walmart/counts-component-miniapp": "0.1.5",
"@walmart/emergency-mini-app": "1.24.1",
"@walmart/exception-mini-app": "1.4.2",
"@walmart/facilities-management-miniapp": "0.6.34",
@@ -56,7 +56,7 @@
"@walmart/ims-print-services-ui": "2.2.3",
"@walmart/inbox-mini-app": "0.83.3",
"@walmart/iteminfo-mini-app": "7.2.2",
- "@walmart/manager-approvals-miniapp": "0.2.2",
+ "@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-field-mini-app": "1.3.0",
"@walmart/metrics-mini-app": "0.11.5",
"@walmart/mod-flex-mini-app": "1.8.6",
@@ -64,7 +64,7 @@
"@walmart/onewalmart-miniapp": "1.0.14",
"@walmart/pay-stub-miniapp": "0.9.35",
"@walmart/payrollsolution_miniapp": "0.130.46",
- "@walmart/price-changes-mini-app": "1.9.3",
+ "@walmart/price-changes-mini-app": "1.9.4",
"@walmart/profile-feature-app": "0.221.0",
"@walmart/push-to-talk-mini-app": "1.11.2",
"@walmart/react-native-encrypted-storage": "1.1.3",
@@ -5033,7 +5033,9 @@
}
},
"node_modules/@walmart/counts-component-miniapp": {
- "version": "0.1.4",
+ "version": "0.1.5",
+ "resolved": "https://npme.walmart.com/@walmart/counts-component-miniapp/-/counts-component-miniapp-0.1.5.tgz",
+ "integrity": "sha512-BgI8swrYfixZHukrWeyFuUqppEX0RdH1o7tnEVgycBh8BfTEFtFv0FvML4Qgz5MXa4ZN4T291XMtkLDmrQaPEg==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -5421,7 +5423,9 @@
}
},
"node_modules/@walmart/manager-approvals-miniapp": {
- "version": "0.2.2",
+ "version": "0.2.4",
+ "resolved": "https://npme.walmart.com/@walmart/manager-approvals-miniapp/-/manager-approvals-miniapp-0.2.4.tgz",
+ "integrity": "sha512-IjgpoS1xzZAm8jtEI5fpTqpwRHQXC8FORd2OpRD5vCpJ2QIKVUzhH3iCEhyjZSOWQ5rmc9miUxt5HGtLABYhTg==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -5671,12 +5675,14 @@
}
},
"node_modules/@walmart/price-changes-mini-app": {
- "version": "1.9.3",
+ "version": "1.9.4",
+ "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.9.4.tgz",
+ "integrity": "sha512-W8fwJycZagm2K+KqyI3M4tRE7WGNNYA4f/cZKfUnGF4KWIcjHwQwxxc2u64y6mH1WpXbky3AL9avA9gUpi0Mag==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
"@react-navigation/stack": "^6.1.0",
- "@walmart/counts-component-miniapp": "0.1.2",
+ "@walmart/counts-component-miniapp": "0.1.5",
"@walmart/gtp-shared-components": "2.0.2",
"@walmart/ims-print-services-ui": "2.2.1",
"@walmart/react-native-scanner-3.0": "^0.1.27",
@@ -25238,7 +25244,9 @@
}
},
"@walmart/counts-component-miniapp": {
- "version": "0.1.4"
+ "version": "0.1.5",
+ "resolved": "https://npme.walmart.com/@walmart/counts-component-miniapp/-/counts-component-miniapp-0.1.5.tgz",
+ "integrity": "sha512-BgI8swrYfixZHukrWeyFuUqppEX0RdH1o7tnEVgycBh8BfTEFtFv0FvML4Qgz5MXa4ZN4T291XMtkLDmrQaPEg=="
},
"@walmart/emergency-mini-app": {
"version": "1.24.1",
@@ -25333,7 +25341,9 @@
"version": "7.2.2"
},
"@walmart/manager-approvals-miniapp": {
- "version": "0.2.2"
+ "version": "0.2.4",
+ "resolved": "https://npme.walmart.com/@walmart/manager-approvals-miniapp/-/manager-approvals-miniapp-0.2.4.tgz",
+ "integrity": "sha512-IjgpoS1xzZAm8jtEI5fpTqpwRHQXC8FORd2OpRD5vCpJ2QIKVUzhH3iCEhyjZSOWQ5rmc9miUxt5HGtLABYhTg=="
},
"@walmart/me-at-walmart-athena-queries": {
"version": "1.3.9",
@@ -25397,7 +25407,9 @@
}
},
"@walmart/price-changes-mini-app": {
- "version": "1.9.3"
+ "version": "1.9.4",
+ "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.9.4.tgz",
+ "integrity": "sha512-W8fwJycZagm2K+KqyI3M4tRE7WGNNYA4f/cZKfUnGF4KWIcjHwQwxxc2u64y6mH1WpXbky3AL9avA9gUpi0Mag=="
},
"@walmart/profile-feature-app": {
"version": "0.221.0"
--- package.json
@@ -85,7 +85,7 @@
"@walmart/core-services-allspark": "~2.10.15",
"@walmart/core-utils": "~2.0.5",
"@walmart/core-widget-registry": "~1.2.4",
- "@walmart/counts-component-miniapp": "0.1.4",
+ "@walmart/counts-component-miniapp": "0.1.5",
"@walmart/emergency-mini-app": "1.24.1",
"@walmart/exception-mini-app": "1.4.2",
"@walmart/facilities-management-miniapp": "0.6.34",
@@ -98,7 +98,7 @@
"@walmart/ims-print-services-ui": "2.2.3",
"@walmart/inbox-mini-app": "0.83.3",
"@walmart/iteminfo-mini-app": "7.2.2",
- "@walmart/manager-approvals-miniapp": "0.2.2",
+ "@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-field-mini-app": "1.3.0",
"@walmart/metrics-mini-app": "0.11.5",
"@walmart/mod-flex-mini-app": "1.8.6",
@@ -106,7 +106,7 @@
"@walmart/onewalmart-miniapp": "1.0.14",
"@walmart/pay-stub-miniapp": "0.9.35",
"@walmart/payrollsolution_miniapp": "0.130.46",
- "@walmart/price-changes-mini-app": "1.9.3",
+ "@walmart/price-changes-mini-app": "1.9.4",
"@walmart/profile-feature-app": "0.221.0",
"@walmart/push-to-talk-mini-app": "1.11.2",
"@walmart/react-native-encrypted-storage": "1.1.3",
| chore: updating PC, MA and counts version | chore: updating PC, MA and counts version
|
96747359fbf52d3213556706fafb0aa26acbe5b8 | --- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.29",
+ "version": "2.0.37.alpha.0.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/texting-mini-app",
- "version": "2.0.29",
+ "version": "2.0.37.alpha.0.1",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.8.4",
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.29",
+ "version": "2.0.37.alpha.0.1",
"private": false,
"main": "dist/index.js",
"files": [
--- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.29",
+ "version": "2.0.37.alpha.0.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/texting-mini-app",
- "version": "2.0.29",
+ "version": "2.0.37.alpha.0.1",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.8.4",
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.29",
+ "version": "2.0.37.alpha.0.1",
"private": false,
"main": "dist/index.js",
"files": [
| update version for Drop 16 QE build | update version for Drop 16 QE build
|
52bfc7adb679351a8a85af04fce72bace7928247 | --- packages/allspark-authentication/src/Authentication.ts
@@ -239,12 +239,23 @@ export class AllsparkAuthentication {
}
});
+ /**
+ * Merges the given config with the current config.
+ */
public mergeConfig = (config: Partial<AuthenticationConfig>) => {
this._config = merge(this._config, config);
};
+ /**
+ * Adds an event listener for the given event.
+ */
public addEventListener = this._eventManager.addListener;
+ /**
+ * Authorizes the user.
+ * @param config The configuration to use for authorization.
+ * @returns The authorization result.
+ */
public signIn = async (config: AuthConfiguration) => {
try {
const result = await authorize(config);
@@ -263,6 +274,10 @@ export class AllsparkAuthentication {
}
};
+ /**
+ * Gets the current signed in user.
+ * @returns The current signed in user or null if no user is signed in.
+ */
public getUser = async () => {
try {
// If no user cached, this will error
@@ -284,10 +299,17 @@ export class AllsparkAuthentication {
}
};
+ /**
+ * Refreshes the current user's token.
+ * @returns The refreshed authorization result.
+ */
public refreshToken = async () => {
return this._refreshToken.call();
};
+ /**
+ * Signs the user out.
+ */
public signOut = async () => {
try {
const authResult = await this._cachedResult.get();
| chore: add comments to authentication methods | chore: add comments to authentication methods
|
636ab7f3185baaad6c81300e18ab5b8f5c4224a4 | --- __tests__/core/loggerInitTest.ts
@@ -17,6 +17,7 @@ jest.mock('../../src/redux/CreateRestartableSagas', () => ({
jest.mock('../../src/services/MaskUserId', () => ({
encryptUserId: jest.fn(),
+ encryptSumoProfileId: jest.fn(),
}));
import {DefaultLogger} from '@walmart/react-native-logger';
@@ -47,7 +48,10 @@ import {
getIsPreHire,
getOriginalUserDomain,
} from '../../src/redux';
-import {encryptUserId} from '../../src/services/MaskUserId';
+import {
+ encryptSumoProfileId,
+ encryptUserId,
+} from '../../src/services/MaskUserId';
import {
loggerInitSagas,
@@ -168,7 +172,7 @@ describe('onUserChanged', () => {
isEmulator: 'false',
};
const encryptedKey = '1234';
- const sumoProfile = {profileId: ''};
+ const sumoProfile = {profileId: 'asdfwe'};
expect(iterator.next().value).toEqual(select(getOriginalUserId));
expect(iterator.next(user.userId).value).toEqual(select(getOriginalSite));
@@ -191,6 +195,9 @@ describe('onUserChanged', () => {
select(getSumoProfile),
);
expect(iterator.next(sumoProfile).value).toEqual(
+ call(encryptSumoProfileId, sumoProfile.profileId, encryptedKey),
+ );
+ expect(iterator.next(sumoProfile.profileId).value).toEqual(
call(DefaultLogger.setUserInfo, {
country: user.countryCode,
userId: user.userId,
@@ -201,7 +208,7 @@ describe('onUserChanged', () => {
regionNumber: '',
impersonating: 'false',
appConfigLogLevel,
- sumoProfileId: 'unset',
+ sumoProfileId: 'asdfwe',
...sysInfo,
} as TUserInfo),
);
@@ -239,6 +246,9 @@ describe('onUserChanged', () => {
select(getSumoProfile),
);
expect(iterator.next(sumoProfile).value).toEqual(
+ call(encryptSumoProfileId, sumoProfile.profileId, encryptedKey),
+ );
+ expect(iterator.next(sumoProfile.profileId).value).toEqual(
call(DefaultLogger.setUserInfo, {
country: user.countryCode,
userId: user.userId,
@@ -321,6 +331,9 @@ describe('onUserChanged', () => {
select(getSumoProfile),
);
expect(iterator.next(sumoProfile).value).toEqual(
+ call(encryptSumoProfileId, sumoProfile.profileId, encryptedKey),
+ );
+ expect(iterator.next(sumoProfile.profileId).value).toEqual(
call(DefaultLogger.setUserInfo, {
country: 'US',
userId: preHireUser.emailId,
--- __tests__/services/MaskUserIdTest.ts
@@ -1,5 +1,8 @@
import CryptoJS from 'crypto-js';
-import {encryptUserId} from '../../src/services/MaskUserId';
+import {
+ encryptUserId,
+ encryptSumoProfileId,
+} from '../../src/services/MaskUserId';
jest.mock('crypto-js', () => ({
enc: {
@@ -43,3 +46,25 @@ describe('encryptUserId', () => {
expect(encrpytedValue).toEqual(encrypted);
});
});
+
+describe('encryptSumoProfileId', () => {
+ afterEach(() => {
+ jest.clearAllMocks();
+ });
+
+ const sumoProfileId = 'testUser_US_123';
+ const key = '100';
+ const paddedKey = key.padStart(64, '0');
+ const encrypted = `encrypted-${sumoProfileId}`;
+
+ it('encrypts the profile id with the key', () => {
+ const encryptedSumoProfileId = encryptSumoProfileId(sumoProfileId, key);
+ expect(CryptoJS.enc.Hex.parse).toHaveBeenCalledWith(paddedKey);
+ expect(encryptedSumoProfileId).toEqual(encrypted);
+ });
+ it('returns unset if no profileId is preset', () => {
+ const encryptedSumoProfileId = encryptSumoProfileId('', key);
+ expect(CryptoJS.enc.Hex.parse).not.toHaveBeenCalled();
+ expect(encryptedSumoProfileId).toEqual('unset');
+ });
+});
--- src/core/loggerInit.ts
@@ -32,7 +32,7 @@ import {
getIsPreHire,
getOriginalUserDomain,
} from '../redux';
-import {encryptUserId} from '../services/MaskUserId';
+import {encryptSumoProfileId, encryptUserId} from '../services/MaskUserId';
import {defaultCountryCode} from '../transforms/user';
import {getDeviceType, getLogLevel} from '../redux/SharedSelectors';
import {ELevel} from '@walmart/react-native-logger/dist/types';
@@ -130,6 +130,11 @@ export function* onUserChanged() {
const sumoProfile: SumoProfile = yield select(getSumoProfile);
// @ts-ignore - profileId is missing on SumoProfile definition
const sumoProfileId = sumoProfile?.profileId;
+ const encryptedProfileId = yield call(
+ encryptSumoProfileId,
+ sumoProfileId,
+ key,
+ );
yield call(DefaultLogger.setUserInfo, {
userId: encryptedUserId,
@@ -141,7 +146,7 @@ export function* onUserChanged() {
regionNumber: user.regionNumber || '',
impersonating: String(impersonated),
appConfigLogLevel,
- sumoProfileId: sumoProfileId || 'unset',
+ sumoProfileId: encryptedProfileId,
...systemInfo,
...networkInfo,
});
--- src/services/MaskUserId.ts
@@ -13,3 +13,13 @@ export const encryptUserId = memoize(
},
(userId: string, publicKey: string): string => `${userId}_${publicKey}`,
);
+
+// This will use same encryption as user id.
+// Only difference would be encryption string would be jdoe_US_4108 instead of jdoe.s4108
+// returns encrypted profileId or 'unset' if profileId is not defined.
+
+export const encryptSumoProfileId = (
+ sumoProfileId: string,
+ publicKey: string,
+): string =>
+ sumoProfileId ? encryptUserId(sumoProfileId, publicKey) : 'unset';
| encrypt sumo profile id. | encrypt sumo profile id.
|
3621071a659f97ae0a7b743d90a9b61243b47b2a | --- packages/allspark-foundation-hub/src/Shared/Common/constant.ts
@@ -24,6 +24,7 @@ export const All_SAVED_TEAMS_LABEL = 'allSavedTeams';
export const ONBOARDING_KEY = 'SUPPLY_CHAIN_ONBOARDING';
export const POPOVER_KEY = 'SUPPLY_CHAIN_POPOVER';
export const DEFAULT_SHIFTS_COUNT = 6;
+export const DEFAULT_SHIFT = ['A1'];
/**Team Selection Component Constants */
export const HeaderTitle = 'Personalize your hubs';
--- packages/allspark-foundation-hub/src/SupplyChain/Components/TeamShiftSwitcher/TeamShiftSwitcher.tsx
@@ -14,6 +14,7 @@ import {
SupplyChainCCMFallbacks as CCMFallbacks,
SupplyChainCCMFallbacks,
TOTAL_SITE_TEAM_LABEL,
+ DEFAULT_SHIFT,
} from '../../../Shared';
import { useAllsparkImage } from '@walmart/allspark-foundation/Components/context';
import { teamShiftSwitcherStyles as styles } from './style';
@@ -79,10 +80,11 @@ export const TeamShiftSwitcher = ({
const currentSelectedTeamIds = selectedTeamIds?.length
? selectedTeamIds
: teamPreferenceData;
-
const currentSelectedShifts = selectedShifts?.length
? selectedShifts
- : shiftPreferenceData;
+ : shiftPreferenceData.length
+ ? shiftPreferenceData
+ : DEFAULT_SHIFT;
const getTeamNameById = (teamIds: string[]): string[] => {
const matchingTeamNames: string[] = [];
| Adding default shift logic | Adding default shift logic
|
445ec69c612cb8ec3ad63e851531967084e67643 | --- src/managerExperience/components/RosterDetailPageHeader/RosterDetailPageHeader.tsx
@@ -5,15 +5,14 @@ import {Heading, Link} from '@walmart/gtp-shared-components';
import {getRosterDetailPageHeaderStyles} from './style';
import {useAllsparkImage} from '@walmart/allspark-foundation/Components/context';
import {Images as teamImageIcon} from '@walmart/allspark-foundation-hub/HubFeature/Images/images';
-import {translationClient} from '../../../common/translation';
export const RosterDetailPageHeader = ({
header,
subText,
teamId,
+ linkText,
handleNavigation,
}: RosterDetailPageHeaderProps) => {
- const {t} = translationClient.useTranslation();
const TeamImage = useAllsparkImage();
const styles = getRosterDetailPageHeaderStyles(subText);
@@ -23,7 +22,7 @@ export const RosterDetailPageHeader = ({
<Heading UNSAFE_style={styles.header}>{header}</Heading>
{subText && <Text style={styles.subText}>{subText}</Text>}
<Link UNSAFE_style={styles.link} onPress={handleNavigation}>
- {t('rosterScreen.viewTeamLink.linkLabel')}
+ {linkText}
</Link>
</View>
<View>
--- src/managerExperience/components/RosterDetailPageHeader/types.ts
@@ -2,5 +2,6 @@ export interface RosterDetailPageHeaderProps {
header: string;
teamId: string;
subText?: string;
+ linkText: string;
handleNavigation: () => void;
}
--- src/managerExperience/screens/RosterDetailScreen/RosterDetailScreen.tsx
@@ -55,6 +55,7 @@ import {filterValues} from '../../../constants';
import {Associate, Team} from '../../../types';
import {AllsparkSharedComponents} from '@walmart/allspark-foundation/Components';
import {RosterDetailScreenProps} from './types';
+import {SiteSelectors} from '@walmart/allspark-foundation';
//Todo: Refactor some functionalities in this component
export const RosterDetailScreen = ({route}: RosterDetailScreenProps) => {
@@ -90,6 +91,8 @@ export const RosterDetailScreen = ({route}: RosterDetailScreenProps) => {
});
const isPrimaryTeam = primaryTeamId === teamState.teamIds?.[0];
+ const isDCStore = useSelector(SiteSelectors.getWorkingSiteIsDC);
+
const AllsparkImage = useAllsparkImage();
const currentSiteId = useSelector(UserSelectors.getSiteId);
@@ -372,6 +375,11 @@ export const RosterDetailScreen = ({route}: RosterDetailScreenProps) => {
header={headerAndSubtext.header}
subText={headerAndSubtext.subText}
teamId={teamState.teamIds?.[0]}
+ linkText={t(
+ isDCStore
+ ? 'rosterScreen.viewTeamLink.linkLabel_site'
+ : 'rosterScreen.viewTeamLink.linkLabel_store',
+ )}
handleNavigation={() => {
analytics('view_all_teams', {
message: 'Navigate to all teams screen',
--- src/translations/en-US.ts
@@ -91,7 +91,8 @@ export const enUS = {
messageTeam: 'Message team',
},
viewTeamLink: {
- linkLabel: 'View other teams',
+ linkLabel_store: 'View other teams',
+ linkLabel_site: 'View other teams and shifts',
},
notInRoster:
'You cannot text other associates since you are not in the roster of store {{siteId}}.',
--- src/translations/es-MX.ts
@@ -86,7 +86,8 @@ export const esMX = {
messageTeam: 'Equipo de mensajes',
},
viewTeamLink: {
- linkLabel: 'Ver otros equipos',
+ linkLabel_store: 'Ver otros equipos',
+ linkLabel_site: 'Ver otros equipos y turnos',
},
notInRoster:
'No puedes enviar mensajes de texto a otros asociados ya que no estás en la lista de la tienda {{siteId}}.',
| feat: extract label link as prop of component - [SMDV-6508] | feat: extract label link as prop of component - [SMDV-6508]
|
0d829a037f15ad97537b5c8886edce386597f0a8 | --- package.json
@@ -230,14 +230,6 @@
"text"
],
"testResultsProcessor": "jest-sonar-reporter",
- "coverageThreshold": {
- "global": {
- "statements": 100,
- "branches": 100,
- "functions": 100,
- "lines": 100
- }
- },
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!(react-native|@walmart/gtp-shared-components|@react-native-community/picker|@walmart/redux-store|@react-native-firebase|react-native-iphone-x-helper|react-native-gesture-handler|jsencrypt)/)"
],
| ignoring coverage | ignoring coverage
|
52324bccd6e18712e55b913bcae673b7377ac9ef | --- __tests__/screens/RosterScreen/RosterScreenTest.tsx
@@ -0,0 +1,10 @@
+import React from 'react';
+import {RosterScreen} from '../../../src/screens/RosterScreen';
+
+const {renderWithProviders} = require('../../harness');
+describe('RosterScreenTest', () => {
+ it('should render roster screen', () => {
+ const rosterScreen = renderWithProviders(<RosterScreen />);
+ expect(rosterScreen.toJSON()).toMatchSnapshot();
+ });
+});
--- __tests__/screens/RosterScreen/__snapshots__/RosterScreenTest.tsx.snap
@@ -0,0 +1,9 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`RosterScreenTest should render roster screen 1`] = `
+<View>
+ <Text>
+ Placeholder For Roster Screen Integration
+ </Text>
+</View>
+`;
| Adding roster screen test coverage | Adding roster screen test coverage
|
4830c2503d85a46abe3c81deb480cb82afcfd8ff | --- src/types/ui-components.d.ts
@@ -29,6 +29,7 @@ declare module '@walmart/ui-components' {
indicatorContainerStyle?: any;
}>;
export const ConnectivityBanner: React.FC<{handleWifiSettings?: () => any}>;
+ export const FontIcon: React.FC<{size: number; name: string; color: string}>;
}
declare module '@walmart/ui-components/containers' {
| fontIcon in ui-component | fontIcon in ui-component
|
c226c9f519fa5004a303be0c6960e2aa0fd43e9a | --- tsconfig.json
@@ -12,7 +12,7 @@
// "sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "dist", /* Redirect output structure to the directory. */
- "rootDir": "src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
+ // "rootDir": "src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "removeComments": true, /* Do not emit comments to output. */
"noEmit": false, /* Do not emit outputs. */
// "incremental": true, /* Enable incremental compilation */
--- tsconfig.json
@@ -12,7 +12,7 @@
// "sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "dist", /* Redirect output structure to the directory. */
- "rootDir": "src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
+ // "rootDir": "src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "removeComments": true, /* Do not emit comments to output. */
"noEmit": false, /* Do not emit outputs. */
// "incremental": true, /* Enable incremental compilation */
| fixing tsconfig file | fixing tsconfig file
|
ea8572c18408476c80dad077c6f748a206d750ab | --- .looper-pr.yml
@@ -30,4 +30,3 @@ envs:
SLACK_CHANNEL: 'smdv-miniapp'
-
| fix(ui): update looper | fix(ui): update looper
|
b93457e7238daee3c64d1c5e374656a3613bfeea | --- package-lock.json
@@ -19810,9 +19810,9 @@
}
},
"react-native-wm-app-review": {
- "version": "0.2.0-appReview.1",
- "resolved": "https://npme.walmart.com/react-native-wm-app-review/-/react-native-wm-app-review-0.2.0-appReview.1.tgz",
- "integrity": "sha512-68MKM09zMf5z3cYtA2CpLQKgd56D4me7OUa2Z94vjUD8dyUTbHo2MSbpMFytjyeKdEBzqUwI/btCN07+Z9TVBg==",
+ "version": "0.2.0",
+ "resolved": "https://npme.walmart.com/react-native-wm-app-review/-/react-native-wm-app-review-0.2.0.tgz",
+ "integrity": "sha512-mBTMSwFkEUNKeT3irRNa0FD+SldIMZABQYjYtZKEkDbCgcg/IrxGH3yYHJjBpE5WP/yXzA+Jq2WS0UKkrjkoog==",
"requires": {
"@react-native-community/async-storage": "^1.11.0"
}
--- package.json
@@ -184,7 +184,7 @@
"react-native-view-shot": "^3.1.2",
"react-native-vision-camera": "1.0.10",
"react-native-webview": "^10.7.0",
- "react-native-wm-app-review": "0.2.0-appReview.1",
+ "react-native-wm-app-review": "0.2.0",
"react-native-wm-barcode": "2.36.6",
"react-native-wm-config": "^0.1.1",
"react-native-wm-network": "^0.2.0",
| updated package | updated package
|
561a7694f8d72c052ed604636e30ba3275081e69 | --- package-lock.json
@@ -5551,9 +5551,9 @@
"integrity": "sha512-+2MW/LQi8PqCiPpJXBs2uvhOa4mMKwHcjp3m4XpA8fVtndQLd76C0FivBSqOvAZgBoQc1DYRbVMdqM9nkCdy6Q=="
},
"@walmart/taskit-mini-app": {
- "version": "0.34.5-beta.1",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.34.5-beta.1.tgz",
- "integrity": "sha512-lqN94qbpUV+PCNJxFuK96HmG/GVyhWthTKPWoMzJi+LGCGlTPO/PcjPqB+M+pPsG2dIX4FD9zbfJWZaHRDssEw=="
+ "version": "0.34.5-beta.2",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.34.5-beta.2.tgz",
+ "integrity": "sha512-sFgqq1YbGY6J5pjhQm4hnEiYUzKUWFcroM7NqIKEovVBQ/DRxlkP5bdliF0bfusSCc6v4tkgZA/FCVS93rzQHA=="
},
"@walmart/time-clock-mini-app": {
"version": "0.13.4",
--- package.json
@@ -117,7 +117,7 @@
"@walmart/schedule-mini-app": "0.25.0",
"@walmart/settings-mini-app": "1.8.0",
"@walmart/shelfavailability-mini-app": "1.2.4",
- "@walmart/taskit-mini-app": "0.34.5-beta.1",
+ "@walmart/taskit-mini-app": "0.34.5-beta.2",
"@walmart/time-clock-mini-app": "0.13.4",
"@walmart/ui-components": "1.5.0-beta.1",
"@walmart/welcomeme-mini-app": "0.71.0",
| updating taskIt version | updating taskIt version
|
5f052019d4556de132ce9124775fb362e191558e | --- packages/allspark-foundation/__mocks__/@react-native-async-storage/async-storage.js
@@ -0,0 +1,12 @@
+module.exports = {
+ getItem: jest.fn(),
+ setItem: jest.fn(),
+ removeItem: jest.fn(),
+ mergeItem: jest.fn(),
+ multiGet: jest.fn(),
+ multiSet: jest.fn(),
+ multiMerge: jest.fn(),
+ multiRemove: jest.fn(),
+ getAllKeys: jest.fn(),
+ };
+
| moving local storage lib to global | moving local storage lib to global
|
59b5b1c59263e5c58bac3289b729bd824d2eb23b | --- ios/AllSpark.xcodeproj/project.pbxproj
@@ -485,6 +485,7 @@
"${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/ScanditBarcodeCapture/ScanditBarcodeCapture.framework/ScanditBarcodeCapture",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/ScanditCaptureCore/ScanditCaptureCore.framework/ScanditCaptureCore",
+ "${PODS_XCFRAMEWORKS_BUILD_DIR}/compass-sdk-rn/compass_sdk_ios.framework/compass_sdk_ios",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/hermes.framework/hermes",
);
name = "[CP] Embed Pods Frameworks";
@@ -494,6 +495,7 @@
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OpenSSL.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ScanditBarcodeCapture.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ScanditCaptureCore.framework",
+ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/compass_sdk_ios.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework",
);
runOnlyForDeploymentPostprocessing = 0;
--- ios/Podfile.lock
@@ -16,6 +16,8 @@ PODS:
- BVLinearGradient (2.6.2):
- React-Core
- CocoaAsyncSocket (7.6.5)
+ - compass-sdk-rn (3.16.17):
+ - React-Core
- DoubleConversion (1.1.6)
- FBLazyVector (0.70.9)
- FBReactNativeSpec (0.70.9):
@@ -689,6 +691,8 @@ PODS:
- React-Core
- React-RCTImage
- TOCropViewController
+ - RNInAppBrowser (3.7.0):
+ - React-Core
- RNPermissions (3.6.1):
- React-Core
- RNReactNativeHapticFeedback (1.14.0):
@@ -774,6 +778,7 @@ DEPENDENCIES:
- boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
- BVLinearGradient (from `../node_modules/react-native-linear-gradient`)
- CocoaAsyncSocket
+ - "compass-sdk-rn (from `../node_modules/@walmart/compass-sdk-rn`)"
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
- FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)
@@ -883,6 +888,7 @@ DEPENDENCIES:
- RNFS (from `../node_modules/react-native-fs`)
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
- RNImageCropPicker (from `../node_modules/react-native-image-crop-picker`)
+ - RNInAppBrowser (from `../node_modules/react-native-inappbrowser-reborn`)
- RNPermissions (from `../node_modules/react-native-permissions`)
- RNReactNativeHapticFeedback (from `../node_modules/react-native-haptic-feedback`)
- RNReanimated (from `../node_modules/react-native-reanimated`)
@@ -959,6 +965,8 @@ EXTERNAL SOURCES:
:podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec"
BVLinearGradient:
:path: "../node_modules/react-native-linear-gradient"
+ compass-sdk-rn:
+ :path: "../node_modules/@walmart/compass-sdk-rn"
DoubleConversion:
:podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
FBLazyVector:
@@ -1119,6 +1127,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-gesture-handler"
RNImageCropPicker:
:path: "../node_modules/react-native-image-crop-picker"
+ RNInAppBrowser:
+ :path: "../node_modules/react-native-inappbrowser-reborn"
RNPermissions:
:path: "../node_modules/react-native-permissions"
RNReactNativeHapticFeedback:
@@ -1154,6 +1164,7 @@ SPEC CHECKSUMS:
boost: a7c83b31436843459a1961bfd74b96033dc77234
BVLinearGradient: 34a999fda29036898a09c6a6b728b0b4189e1a44
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
+ compass-sdk-rn: ae72c59724e5864ef20582e487c93187a87dd4fa
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
FBLazyVector: bc76253beb7463b688aa6af913b822ed631de31a
FBReactNativeSpec: 85d34420d92cb178897de05e3aba90e7a8568162
@@ -1269,6 +1280,7 @@ SPEC CHECKSUMS:
RNFS: 4ac0f0ea233904cb798630b3c077808c06931688
RNGestureHandler: 071d7a9ad81e8b83fe7663b303d132406a7d8f39
RNImageCropPicker: 648356d68fbf9911a1016b3e3723885d28373eda
+ RNInAppBrowser: e36d6935517101ccba0e875bac8ad7b0cb655364
RNPermissions: dcdb7b99796bbeda6975a6e79ad519c41b251b1c
RNReactNativeHapticFeedback: 1e3efeca9628ff9876ee7cdd9edec1b336913f8c
RNReanimated: 6668b0587bebd4b15dd849b99e5a9c70fc12ed95
@@ -1296,6 +1308,6 @@ SPEC CHECKSUMS:
Yoga: dc109b79db907f0f589fc423e991b09ec42d2295
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
-PODFILE CHECKSUM: 5d9ba60be3dfb87f4278eff1d4ebb95b0c7dbcf4
+PODFILE CHECKSUM: 428e0e59976a5af07a4bda2ef6a2bae4353919ea
COCOAPODS: 1.12.0
--- package-lock.json
@@ -179,7 +179,7 @@
"util": "^0.12.4",
"uuid": "^3.3.2",
"victory-native": "^36.5.0",
- "wifi-store-locator": "1.3.0",
+ "wifi-store-locator": "1.1.3",
"xdate": "^0.8.2"
},
"devDependencies": {
@@ -21898,9 +21898,9 @@
}
},
"node_modules/wifi-store-locator": {
- "version": "1.3.0",
- "resolved": "https://npme.walmart.com/wifi-store-locator/-/wifi-store-locator-1.3.0.tgz",
- "integrity": "sha512-q1iq064saKzIP1d135eFtZbVpHe3rP8Qe2fSReEcaoIHcjlHOoG/NFOiJEq7tCYR85ZEI5zDmfB8DPKJWsyM4w==",
+ "version": "1.1.3",
+ "resolved": "https://npme.walmart.com/wifi-store-locator/-/wifi-store-locator-1.1.3.tgz",
+ "integrity": "sha512-X9ODYB/KpLNsHeOcrLNS/FO6eFMSZ+SBHv8CojvO3B3P7JcFkpSjY/XCvaXT02qp/sWuhd2Nk0dB1wUSQoQWbg==",
"license": "MIT",
"peerDependencies": {
"react": "*",
@@ -35636,9 +35636,9 @@
}
},
"wifi-store-locator": {
- "version": "1.3.0",
- "resolved": "https://npme.walmart.com/wifi-store-locator/-/wifi-store-locator-1.3.0.tgz",
- "integrity": "sha512-q1iq064saKzIP1d135eFtZbVpHe3rP8Qe2fSReEcaoIHcjlHOoG/NFOiJEq7tCYR85ZEI5zDmfB8DPKJWsyM4w=="
+ "version": "1.1.3",
+ "resolved": "https://npme.walmart.com/wifi-store-locator/-/wifi-store-locator-1.1.3.tgz",
+ "integrity": "sha512-X9ODYB/KpLNsHeOcrLNS/FO6eFMSZ+SBHv8CojvO3B3P7JcFkpSjY/XCvaXT02qp/sWuhd2Nk0dB1wUSQoQWbg=="
},
"wm-react-native-vector-icons": {
"version": "1.0.33",
--- package.json
@@ -221,7 +221,7 @@
"util": "^0.12.4",
"uuid": "^3.3.2",
"victory-native": "^36.5.0",
- "wifi-store-locator": "1.3.0",
+ "wifi-store-locator": "1.1.3",
"xdate": "^0.8.2"
},
"overrides": {
| fix(merge): removed wifi locator updated version | fix(merge): removed wifi locator updated version
|
0e49fe91b03b34fb084d485a8a53c7c02b601d83 | --- packages/allspark-foundation-hub/src/SupplyChain/Components/EditSavedTeams/EditSavedTeams.tsx
@@ -98,7 +98,7 @@ const EditSavedTeams = ({ handleEdit }: { handleEdit: () => void }) => {
isSelected={false}
teamId={savedTeam.teamId}
teamName={savedTeam.teamName}
- teamImage={Images[savedTeam.teamId] || Images['Default']}
+teamImage={savedTeam.teamId? Images[savedTeam.teamId] : Images['Default']}
onSelect={() => {}}
/>
);
| Update packages/allspark-foundation-hub/src/SupplyChain/Components/EditSavedTeams/EditSavedTeams.tsx | Update packages/allspark-foundation-hub/src/SupplyChain/Components/EditSavedTeams/EditSavedTeams.tsx
Co-authored-by: AI Code Assistant <AI-Code-Assistant@email.wal-mart.com> |
ad65747d85cb4136fd1fadfbc810afe9b6bb559b | --- packages/me-at-walmart-container/__tests__/navigation.test.ts
@@ -0,0 +1,28 @@
+import {MeAtWalmartNavigationConfig} from '../src/navigation';
+
+describe('MeAtWalmartNavigationConfig', () => {
+ it('should have the correct theme properties', () => {
+ const theme = MeAtWalmartNavigationConfig.theme;
+
+ expect(theme).toBeDefined();
+
+ expect(theme.dark).toBe(true);
+
+ expect(theme.colors).toBeDefined();
+ expect(theme.colors.primary).toBe('#0071dc');
+ expect(theme.colors.background).toBe('rgb(242, 242, 242)');
+ expect(theme.colors.card).toBe('rgb(255, 255, 255)');
+ expect(theme.colors.text).toBe('rgb(28, 28, 30)');
+ expect(theme.colors.border).toBe('rgb(216, 216, 216)');
+ expect(theme.colors.notification).toBe('#fff200');
+ });
+
+ it('should have the correct linking prefixes', () => {
+ const linking = MeAtWalmartNavigationConfig.linking;
+
+ expect(linking).toBeDefined();
+
+ expect(linking.prefixes).toBeDefined();
+ expect(linking.prefixes).toEqual(['meatwmt://']);
+ });
+});
| chore: test coverage | chore: test coverage
|
f802b4ad1930474303a4e17765705b292eb685cd | --- __tests__/utils/blobs-test.js
@@ -1,7 +1,11 @@
import moment from 'moment-timezone';
import * as FileSystem from 'expo-file-system';
import {stat} from 'react-native-fs';
-import {purgeOldFiles, blobLocalStoragePath, isValidFileURI} from '../../src/utils';
+import {
+ purgeOldFiles,
+ blobLocalStoragePath,
+ isValidFileURI,
+} from '../../src/utils';
const MOCK_FILES = {
'older/file/path': {
--- __tests__/utils/blobs-test.js
@@ -1,7 +1,11 @@
import moment from 'moment-timezone';
import * as FileSystem from 'expo-file-system';
import {stat} from 'react-native-fs';
-import {purgeOldFiles, blobLocalStoragePath, isValidFileURI} from '../../src/utils';
+import {
+ purgeOldFiles,
+ blobLocalStoragePath,
+ isValidFileURI,
+} from '../../src/utils';
const MOCK_FILES = {
'older/file/path': {
| fix lint errors | fix lint errors
|
516ba284cfb372ebc78ef5f437c000dd8f35a454 | --- android/gradle.properties
@@ -24,6 +24,9 @@ android.enableJetifier=true
# Required by :compass_dynamic_module
# android.defaults.buildfeatures.buildconfig=true
+# Version of flipper SDK to use with React Native
+FLIPPER_VERSION=0.200.0
+
# Use this property to specify which architecture you want to build.
# You can also override it from the CLI using
# ./gradlew <task> -PreactNativeArchitectures=x86_64
| fix: add flipper version back for error during android build | fix: add flipper version back for error during android build
|
d842c9ffb8c2272bc71a1d79e07e5b58d54e04d8 | --- package-lock.json
@@ -4137,9 +4137,9 @@
}
},
"@walmart/allspark-home-mini-app": {
- "version": "0.5.26-test.2",
- "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.5.26-test.2.tgz",
- "integrity": "sha512-vA7zcKdf8jcm7wRzGKFqpUKoUfdvjm4ppITSXST0L7cQ4S5mH0sQjXgxyEHYbTnenLAPvYCBQdrfGtW+DmWSqA==",
+ "version": "0.5.27",
+ "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.5.27.tgz",
+ "integrity": "sha512-x9ZQbQGKymbf+aTzjd3EhrdGqduD6dgSRQQXXJTJWyJTyHXAteJ06pZn76oZuP2fE1n3K7M9FJoHrkEyO4UJFA==",
"requires": {
"moment": "^2.29.0",
"uuid": "^8.3.1"
@@ -4273,9 +4273,9 @@
"integrity": "sha512-UWciGlPmDkMLM0BvZzvEdYrg8iHagGxhvrBwdrgTDeK1SsX8TCPNgMq/1cVdkuk0wdhcaiTTf6DLi4d6AAcWFw=="
},
"@walmart/metrics-mini-app": {
- "version": "0.6.10",
- "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.6.10.tgz",
- "integrity": "sha512-Ybx6wfvg/GTWktFMqJ3qbS2nC+//novtPYGprHGAiv3eaK5sERqGJQib7ARdBQLWMryFIjI+IYHd47+/aFxpbQ==",
+ "version": "0.7.1",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.7.1.tgz",
+ "integrity": "sha512-REMOnP2ajscECJm2SjPPfDkh9NvGe5/glKjCD+RJOw+I9BYqDMdAoQ8pXsMYvjOvItzO9IYwFv/fAnVc97oUjg==",
"requires": {
"@types/base-64": "^1.0.0",
"apisauce": "1.1.2",
--- package.json
@@ -71,7 +71,7 @@
"@sharcoux/slider": "^5.2.1",
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@walmart/allspark-health-survey-mini-app": "0.0.44",
- "@walmart/allspark-home-mini-app": "0.5.26-test.2",
+ "@walmart/allspark-home-mini-app": "0.5.27",
"@walmart/allspark-me-mini-app": "0.31.4",
"@walmart/allspark-neon-core": "0.1.25",
"@walmart/ask-sam-mini-app": "0.40.10",
@@ -87,7 +87,7 @@
"@walmart/inbox-mini-app": "0.28.0",
"@walmart/iteminfo-mini-app": "4.0.26",
"@walmart/manager-approvals-miniapp": "0.0.59",
- "@walmart/metrics-mini-app": "0.6.10",
+ "@walmart/metrics-mini-app": "0.7.1",
"@walmart/moment-walmart": "1.0.4",
"@walmart/payrollsolution_miniapp": "0.101.0",
"@walmart/price-changes-mini-app": "1.0.6",
| bumping metrics and home versions | bumping metrics and home versions
|
d5f3666b3c8106cde64c2c8fc18c5858587b7f16 | --- docs/CHANGELOG.md
@@ -1,3 +1,10 @@
+## [1.25.2](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.25.1...v1.25.2) (2025-04-07)
+
+
+### Bug Fixes
+
+* **ui:** update roster mini app version ([15ced69](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/15ced69cb6432d8c926636bb59c8f9a4bf2a9a1f))
+
## [1.25.1](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.25.0...v1.25.1) (2025-04-04)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.25.1",
+ "version": "1.25.2",
"main": "dist/index.js",
"files": [
"dist"
| chore(release): 1.25.2 [skip ci] | chore(release): 1.25.2 [skip ci]
## [1.25.2](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.25.1...v1.25.2) (2025-04-07)
### Bug Fixes
* **ui:** update roster mini app version ([15ced69](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/15ced69cb6432d8c926636bb59c8f9a4bf2a9a1f))
|
bd8f8ec39a28f859b1a9d400e1b9a1e784e73665 | --- package.json
@@ -63,7 +63,7 @@
"@redux-saga/testing-utils": "^1.1.3",
"@sharcoux/slider": "^5.2.1",
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
- "@walmart/ItemInfo": "0.1.123",
+ "@walmart/ItemInfo": "0.1.134",
"@walmart/allspark-health-survey-mini-app": "0.0.35",
"@walmart/allspark-home-mini-app": "0.4.0",
"@walmart/allspark-me-mini-app": "0.1.0",
| 134 iteminfo version | 134 iteminfo version
|
cea40eba523b29212f5b492e287b692ddf1d1b9e | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.22.0",
+ "version": "2.23.0",
"main": "dist/index.js",
"files": [
"dist"
--- src/screens/index.tsx
@@ -1,11 +1,20 @@
+import React from 'react';
import {ScreenTags} from '@walmart/me-at-walmart-common';
import {RosterFeature} from '../common/feature';
import {RosterNavParamsMap, RosterNavigation} from '../navigation';
// import {AllTeamsScreen} from './AllTeamsScreen';
// import {RosterDetailScreen} from './RosterDetailScreen';
+export const RosterMiniApp = () => {
+ return (
+ <>
+ <RosterNavigation />
+ </>
+ );
+};
+
const rosterScreens = RosterFeature.createScreen<RosterNavParamsMap, 'myTeam'>(
- RosterNavigation,
+ RosterMiniApp,
{
tags: [ScreenTags.MyTeamTab],
clockCheckRequired: true,
--- src/shared/index.tsx
@@ -1,4 +1,5 @@
export {RosterDetailScreen} from '../screens/RosterDetailScreen';
export {AllTeamsScreen} from '../screens/AllTeamsScreen';
export {RosterWidget} from '../components/RosterWidget';
+export {RosterMiniApp} from '../screens';
export * from '../navigation';
| Update roster version | Update roster version
|
7fa452e6ef41a19c5861911ff126059720f54f2b | --- src/translations/en-US.ts
@@ -55,6 +55,10 @@ export const enUS = {
showTeamsFooter: 'Show teams',
hideTeamsFooter: 'Hide teams',
},
+ teamWorkgroup: {
+ myTeam: 'My Team',
+ myArea: 'My Area',
+ },
associateRosterItem: {
messageBtn: 'Message',
viewSchedule: 'View schedule',
--- src/translations/es-MX.ts
@@ -55,6 +55,10 @@ export const esMX = {
showTeamsFooter: 'Mostrar Equipos',
hideTeamsFooter: 'Ocultar Equipos',
},
+ teamWorkgroup: {
+ myTeam: 'Mi Equipo',
+ myArea: 'Mi Area',
+ },
associateRosterItem: {
messageBtn: 'Mensaje',
viewSchedule: 'Ver horario',
--- src/translations/en-US.ts
@@ -55,6 +55,10 @@ export const enUS = {
showTeamsFooter: 'Show teams',
hideTeamsFooter: 'Hide teams',
},
+ teamWorkgroup: {
+ myTeam: 'My Team',
+ myArea: 'My Area',
+ },
associateRosterItem: {
messageBtn: 'Message',
viewSchedule: 'View schedule',
--- src/translations/es-MX.ts
@@ -55,6 +55,10 @@ export const esMX = {
showTeamsFooter: 'Mostrar Equipos',
hideTeamsFooter: 'Ocultar Equipos',
},
+ teamWorkgroup: {
+ myTeam: 'Mi Equipo',
+ myArea: 'Mi Area',
+ },
associateRosterItem: {
messageBtn: 'Mensaje',
viewSchedule: 'Ver horario',
| adding translations | adding translations
|
0f192e4d808a8dd8ee81a44d2331597688cfead4 | --- lerna.json
@@ -1,5 +1,5 @@
{
- "version": "5.0.0-beta.16",
+ "version": "5.0.0-beta.15",
"npmClient": "npm",
"changelogPreset": "angular",
"command": {
| chore: correcting version | chore: correcting version
|
a21a2dc74ccdf4bf801626ff784406d917ea161e | --- packages/allspark-cli/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.3](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-cli@1.7.2...@walmart/allspark-cli@1.7.3) (2025-11-13)
+
+### Bug Fixes
+
+- fix pr comment spacing ([#444](https://gecgithub01.walmart.com/allspark/allspark/issues/444)) ([5033a2c](https://gecgithub01.walmart.com/allspark/allspark/commit/5033a2c151df8ef8099c44ef0dec4403cd628d19))
+
## [1.7.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-cli@1.7.1...@walmart/allspark-cli@1.7.2) (2025-11-12)
**Note:** Version bump only for package @walmart/allspark-cli
--- packages/allspark-cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-cli",
- "version": "1.7.2",
+ "version": "1.7.3",
"description": "Allspark CLI: CLI tools for allspark clients",
"main": "dist/index.js",
"types": "dist/index.d.ts",
--- 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.24.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.24.3...@walmart/allspark-foundation-hub@1.24.4) (2025-11-13)
+
+**Note:** Version bump only for package @walmart/allspark-foundation-hub
+
## [1.24.3](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.24.2...@walmart/allspark-foundation-hub@1.24.3) (2025-11-13)
**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.24.3",
+ "version": "1.24.4",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/allspark-foundation/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [7.13.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.13.3...@walmart/allspark-foundation@7.13.4) (2025-11-13)
+
+**Note:** Version bump only for package @walmart/allspark-foundation
+
## [7.13.3](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.13.2...@walmart/allspark-foundation@7.13.3) (2025-11-13)
**Note:** Version bump only for package @walmart/allspark-foundation
--- packages/allspark-foundation/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation",
- "version": "7.13.3",
+ "version": "7.13.4",
"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.4.7](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-geolocation@1.4.6...@walmart/me-at-walmart-geolocation@1.4.7) (2025-11-13)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-geolocation
+
## [1.4.6](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-geolocation@1.4.5...@walmart/me-at-walmart-geolocation@1.4.6) (2025-11-13)
**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.4.6",
+ "version": "1.4.7",
"description": "Geofencing, location tracking and location services for me@ apps",
"author": "m0n09mr <maksym.novakh@walmart.com>",
"main": "./lib/cjs/index.js",
--- packages/me-at-walmart-location/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.2.7](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-location@1.2.6...@walmart/me-at-walmart-location@1.2.7) (2025-11-13)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-location
+
## [1.2.6](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-location@1.2.5...@walmart/me-at-walmart-location@1.2.6) (2025-11-13)
**Note:** Version bump only for package @walmart/me-at-walmart-location
--- packages/me-at-walmart-location/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-location",
- "version": "1.2.6",
+ "version": "1.2.7",
"description": "Geofencing, location tracking and location services for me@ apps",
"author": "m0n09mr <maksym.novakh@walmart.com>",
"main": "./lib/cjs/index.js",
--- packages/my-walmart-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.4.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/my-walmart-hub@1.4.3...@walmart/my-walmart-hub@1.4.4) (2025-11-13)
+
+**Note:** Version bump only for package @walmart/my-walmart-hub
+
## [1.4.3](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/my-walmart-hub@1.4.2...@walmart/my-walmart-hub@1.4.3) (2025-11-13)
**Note:** Version bump only for package @walmart/my-walmart-hub
--- packages/my-walmart-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/my-walmart-hub",
- "version": "1.4.3",
+ "version": "1.4.4",
"description": "My Walmart Hub - A comprehensive hub framework for building dynamic widget-based interfaces",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-cli@1.7.3
- @walmart/allspark-foundation@7.13.4
- @walmart/allspark-foundation-hub@1.24.4
- @walmart/me-at-walmart-geolocation@1.4.7
- @walmart/me-at-walmart-location@1.2.7
- @walmart/my-walmart-hub@1.4.4
|
ce2c0e765cace17dfe6c4f7b060e4c54a0ea9494 | --- packages/celebration-mini-app/src/screens/CelebrationDetailsScreen.tsx
@@ -17,7 +17,7 @@ import {colors} from '@walmart/gtp-shared-components';
import {CelebrationFeature} from '../utils/feature';
import {CelebrationLogger} from '../utils/logger';
import {CelebrationTelemetryHelpers} from '../utils/telemetry';
-import type {AllsparkScreenProps} from '@walmart/allspark-foundation';
+import {AllsparkSharedComponents, type AllsparkScreenProps} from '@walmart/allspark-foundation';
import {ScrollingHeader} from '../components/ScrollingHeader';
import {
AnniversarySection,
@@ -327,6 +327,10 @@ const CelebrationDetailsScreen = CelebrationFeature.createScreen(
return (
<View style={styles.screen}>
+ <AllsparkSharedComponents.Component
+ id="AssociateExpHub.MyWalmartTeamSwitcherWithHeader"
+ props={{onTeamChange: console.log}}
+ />
<TabView
testID="celebrationDetailsTabView"
renderTabBar={renderTabBar}
| feat(ui): update celebration details screen | feat(ui): update celebration details screen
|
fb26cbade479e81b427041a5a4606a1370a797e1 | --- packages/associate-exp-hub-mini-app/src/hooks/useScreenTracking.ts
@@ -1,6 +1,7 @@
import {useEffect, useRef} from 'react';
import {useNavigationState, useRoute} from '@react-navigation/native';
import {AssociateExpHubTelemetry} from '../services/telemetry/telemetry';
+import {FEATURE_ID} from '../constants';
// Constants
const MAX_EVENT_NAME_LENGTH = 40;
@@ -8,8 +9,9 @@ const MAX_EVENT_NAME_LENGTH = 40;
// Helper function to ensure event names are within the character limit
const formatEventName = (baseName: string, screenName: string): string => {
const eventName = `${baseName}_${screenName.toLowerCase()}`;
- return eventName.length > MAX_EVENT_NAME_LENGTH
- ? `${eventName.slice(0, MAX_EVENT_NAME_LENGTH)}`
+ const eventLength = MAX_EVENT_NAME_LENGTH - FEATURE_ID.length;
+ return eventName.length > eventLength
+ ? `${eventName.slice(0, eventLength - 1)}`
: eventName;
};
--- packages/associate-exp-hub-mini-app/src/services/telemetry/telemetry.ts
@@ -1,3 +1,4 @@
+import {FEATURE_ID} from '../../constants';
import {
TelemetryEventProperties,
PerformanceMetrics,
@@ -21,10 +22,11 @@ const trimEventName = (eventName: string): string => {
// First, sanitize the event name by replacing invalid characters with underscores
// Firebase Analytics only allows alphanumeric characters and underscores
const sanitized = eventName.replace(/[^a-zA-Z0-9_]/g, '_');
+ const sanitizedLength = MAX_EVENT_NAME_LENGTH - FEATURE_ID.length;
// Then trim to max length if needed
- return sanitized.length > MAX_EVENT_NAME_LENGTH
- ? sanitized.substring(0, MAX_EVENT_NAME_LENGTH)
+ return sanitized.length > sanitizedLength
+ ? sanitized.substring(0, sanitizedLength - 1)
: sanitized;
};
| feat(ui): update logs | feat(ui): update logs
|
0db5f8143fd1df11040a1bff61960537023267f8 | --- packages/allspark-foundation/src/Feature/types.ts
@@ -21,7 +21,7 @@ export type IAllsparkFeatureListeners = {
/**
* A features "flows" to be run in the container.
*/
-export type IAllsparkFeatureFlows = Record<string, WorkflowExecutor>;
+export type IAllsparkFeatureFlows = Record<string, WorkflowExecutor<any>>;
/**
* Represents a modal configuration for an Allspark feature.
--- packages/allspark-foundation/src/Work/client.ts
@@ -75,14 +75,14 @@ export class WorkClient<T extends BaseWorkflows, K extends keyof T = keyof T> {
* Runs a workflow
* @param id The id of the workflow
* @param metadata The metadata for the workflow
- * @return Promise - resolves when the workflow is complete
+ * @return Promise - resolves when the workflow is complete with the return value of the workflow
*/
public runFlow = async <Key extends K>(
id: Key,
- metadata: T[Key] extends (...args: any) => any
- ? Parameters<T[Key]>[0]
+ metadata: T[Key] extends WorkflowExecutor<infer M, any>
+ ? WorkflowMetadata<M>
: WorkflowMetadata
- ) => {
+ ): Promise<T[Key] extends WorkflowExecutor<any, infer R> ? R : any> => {
const flow = this._flowMap.get(id);
// If no existing flow, throw error
@@ -101,7 +101,7 @@ export class WorkClient<T extends BaseWorkflows, K extends keyof T = keyof T> {
}
// Create a generator that yields flow along with workflow actions
- function* worker() {
+ function* worker(): Generator<any, any, any> {
try {
AllsparkReduxStore.dispatch(
WorkActionsCreators.WORK_FLOW_START({
@@ -110,9 +110,11 @@ export class WorkClient<T extends BaseWorkflows, K extends keyof T = keyof T> {
context: metadata.context,
})
);
- yield (flow as WorkflowExecutor)(metadata);
+ const result = yield (flow as WorkflowExecutor)(metadata);
AllsparkReduxStore.dispatch(WorkActionsCreators.WORK_FLOW_COMPLETE());
- return WorkActionTypes.WORK_FLOW_COMPLETE;
+ return result !== undefined
+ ? result
+ : WorkActionTypes.WORK_FLOW_COMPLETE;
} catch (error) {
AllsparkReduxStore.dispatch(WorkActionsCreators.WORK_FLOW_ERROR());
throw new WorkflowError(
@@ -139,7 +141,7 @@ export class WorkClient<T extends BaseWorkflows, K extends keyof T = keyof T> {
this._activeTasks.set(id, task);
// Return the task promise
- return task.toPromise<string>().then((result) => {
+ return task.toPromise<any>().then((result) => {
// If the task was cancelled, using task.cancel(), the result will be '@@redux-saga/TASK_CANCEL'
// To propagate the cancellation error to the caller, we throw a WorkflowError with the CANCELLED code.
if (result === '@@redux-saga/TASK_CANCEL') {
--- packages/allspark-foundation/src/Work/types.ts
@@ -7,18 +7,17 @@ export enum WorkflowErrors {
}
export type WorkflowMetadata<
- T extends { [key: string & {}]: any } = { [key: string & {}]: any },
+ T extends Record<string, any> = Record<string, any>,
> = T & {
actionId: string;
- context?: {
- [key: string]: any;
- };
+ context?: Record<string, any>;
};
export type WorkflowExecutor<
- T extends { [key: string & {}]: any } = { [key: string & {}]: any },
-> = (metadata: WorkflowMetadata<T>) => Generator<any>;
+ T extends Record<string, any> = Record<string, any>,
+ R = any,
+> = (metadata: WorkflowMetadata<T>) => Generator<any, R, any>;
export type BaseWorkflows = {
- [key: string & {}]: WorkflowExecutor<any>;
+ [key: string]: WorkflowExecutor<any, any>;
};
| fix: work client typing issues. client did not honor flow return values | fix: work client typing issues. client did not honor flow return values
|
65960ad60259970d0855e89661cc55d938704f85 | --- package-lock.json
@@ -82,7 +82,7 @@
"@walmart/redux-store": "3.4.0",
"@walmart/returns-mini-app": "1.9.0",
"@walmart/schedule-mini-app": "0.37.0",
- "@walmart/settings-mini-app": "1.18.1",
+ "@walmart/settings-mini-app": "1.19.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
"@walmart/taskit-mini-app": "2.40.8",
"@walmart/texting-mini-app": "2.0.29",
@@ -8016,7 +8016,9 @@
"license": "GPL-3.0-or-later"
},
"node_modules/@walmart/settings-mini-app": {
- "version": "1.18.1",
+ "version": "1.19.1",
+ "resolved": "https://npme.walmart.com/@walmart/settings-mini-app/-/settings-mini-app-1.19.1.tgz",
+ "integrity": "sha512-vPR2jezSHG5E5tS690UEKbviYrSXpb3Bo27gNtOl8gnQfdCmyRkVrkOlZEobjRdOnFJmz8KHr/WN4lwjRM1ndw==",
"peerDependencies": {
"@react-native-community/masked-view": ">=0.1.10",
"@react-native-firebase/app": ">=8.4.7",
@@ -30707,7 +30709,9 @@
"version": "1.0.4"
},
"@walmart/settings-mini-app": {
- "version": "1.18.1"
+ "version": "1.19.1",
+ "resolved": "https://npme.walmart.com/@walmart/settings-mini-app/-/settings-mini-app-1.19.1.tgz",
+ "integrity": "sha512-vPR2jezSHG5E5tS690UEKbviYrSXpb3Bo27gNtOl8gnQfdCmyRkVrkOlZEobjRdOnFJmz8KHr/WN4lwjRM1ndw=="
},
"@walmart/shelfavailability-mini-app": {
"version": "1.5.16"
--- package.json
@@ -123,7 +123,7 @@
"@walmart/redux-store": "3.4.0",
"@walmart/returns-mini-app": "1.9.0",
"@walmart/schedule-mini-app": "0.37.0",
- "@walmart/settings-mini-app": "1.18.1",
+ "@walmart/settings-mini-app": "1.19.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
"@walmart/taskit-mini-app": "2.40.8",
"@walmart/texting-mini-app": "2.0.29",
| push notification fix | push notification fix
|
f97293a58e8fbf5d0748727eccaf1e5df0af2201 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.46.0",
+ "version": "1.47.0",
"main": "dist/index.js",
"files": [
"dist"
@@ -81,7 +81,7 @@
"@typescript-eslint/parser": "^5.37.0",
"@walmart/allspark-authentication": "6.1.4",
"@walmart/allspark-foundation": "6.20.0",
- "@walmart/allspark-foundation-hub": "1.3.13",
+ "@walmart/allspark-foundation-hub": "1.3.14",
"@walmart/allspark-graphql-client": "^1.4.6",
"@walmart/allspark-http-client": "6.1.4",
"@walmart/config-components": "4.4.0",
@@ -99,7 +99,7 @@
"@walmart/react-native-shared-navigation": "6.1.4",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "3.7.0",
- "@walmart/roster-mini-app": "2.52.0",
+ "@walmart/roster-mini-app": "2.53.0",
"@walmart/ui-components": "1.15.1",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
--- src/index.tsx
@@ -5,6 +5,7 @@ import {FeatureTags, ScreenTags} from '@walmart/me-at-walmart-common';
import {MyTeamMiniApp} from './navigation';
import {renderDrawerButton} from '@walmart/allspark-foundation/Navigation';
import {translationClient} from './common/translation';
+import {RosterDetailScreen} from '@walmart/roster-mini-app';
export * from './shared';
@@ -23,6 +24,13 @@ export default MyTeamFeature.createModule({
headerLeft: renderDrawerButton,
},
}),
+ ['myTeam.rosterDetailScreen']: MyTeamFeature.createScreen(
+ RosterDetailScreen,
+ {
+ tags: [ScreenTags.MyTeamTab],
+ clockCheckRequired: true,
+ },
+ ),
}),
translations: myTeamTranslations,
});
--- yarn.lock
@@ -5992,9 +5992,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation-hub@npm:1.3.13":
- version: 1.3.13
- resolution: "@walmart/allspark-foundation-hub@npm:1.3.13"
+"@walmart/allspark-foundation-hub@npm:1.3.14":
+ version: 1.3.14
+ resolution: "@walmart/allspark-foundation-hub@npm:1.3.14"
dependencies:
"@reduxjs/toolkit": "npm:^1.9.7"
"@shopify/flash-list": "npm:~1.6.4"
@@ -6010,7 +6010,7 @@ __metadata:
react: "*"
react-native: "*"
react-native-safe-area-context: 4.x
- checksum: 10c0/874219b1bdd0c8a6a8916b2992901b25755e69f5339c00087a03a3222f4623fb4bc3e9a2c086be2a2dad1fcf488f74efab7c23164a37720a5f7bb1a368fdd4e5
+ checksum: 10c0/5f80c2f6bb2bcd4c1c0865a56211f124baf9d9d937daeef9f92fc3b0022c69c8944d00b401b6eb4d65389b5e832bfc6eba9b4e196fda9ffc616aaab07db241eb
languageName: node
linkType: hard
@@ -6398,7 +6398,7 @@ __metadata:
"@typescript-eslint/parser": "npm:^5.37.0"
"@walmart/allspark-authentication": "npm:6.1.4"
"@walmart/allspark-foundation": "npm:6.20.0"
- "@walmart/allspark-foundation-hub": "npm:1.3.13"
+ "@walmart/allspark-foundation-hub": "npm:1.3.14"
"@walmart/allspark-graphql-client": "npm:^1.4.6"
"@walmart/allspark-http-client": "npm:6.1.4"
"@walmart/config-components": "npm:4.4.0"
@@ -6416,7 +6416,7 @@ __metadata:
"@walmart/react-native-shared-navigation": "npm:6.1.4"
"@walmart/react-native-sumo-sdk": "npm:2.6.0"
"@walmart/redux-store": "npm:3.7.0"
- "@walmart/roster-mini-app": "npm:2.52.0"
+ "@walmart/roster-mini-app": "npm:2.53.0"
"@walmart/ui-components": "npm:1.15.1"
babel-jest: "npm:^29.2.1"
chance: "npm:^1.1.11"
@@ -6597,9 +6597,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:2.52.0":
- version: 2.52.0
- resolution: "@walmart/roster-mini-app@npm:2.52.0"
+"@walmart/roster-mini-app@npm:2.53.0":
+ version: 2.53.0
+ resolution: "@walmart/roster-mini-app@npm:2.53.0"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6641,7 +6641,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/41252a568e87400af946291cafed3980e26a72ad7b3f50207e1aa0e1b8ebb4c533b8d319bd8718e3d383b9142df199d7497ba434ce17b4f88bbcec0e884c90d2
+ checksum: 10c0/1b906647aca699519d5c0982d19eb9114cc2f1724926299fa8033511ae3365528ce4ad8e8eb92acb9faa457e2e0f16bcf051a56ad4cc95c9c0c153eca9e37ff4
languageName: node
linkType: hard
| Update the my team | Update the my team
|
e8d7b13036859180f4929399187522f0ac912a42 | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Screens/EditSavedTeamModal/EditSavedTeamSection.tsx
@@ -8,6 +8,7 @@ import { EditSavedTeamSectionProps } from './types';
import { styles } from './styles';
import { useAllsparkTranslation } from '@walmart/allspark-foundation/Translation';
import { FEATURE_ID } from '../../constant';
+import { EditSavedTeamsSectionLoading } from './EditSavedTeamsSectionLoading';
export const EditSavedTeamSection: React.FC<EditSavedTeamSectionProps> = ({
sections = mockSections,
@@ -57,6 +58,7 @@ export const EditSavedTeamSection: React.FC<EditSavedTeamSectionProps> = ({
toggleSelection={() => handleSelection(item.teamId)}
/>
)}
+ ListEmptyComponent={<EditSavedTeamsSectionLoading />}
ListFooterComponent={<View style={styles.footerContainer} />}
/>
</>
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Screens/EditSavedTeamModal/EditSavedTeamsSectionLoading.tsx
@@ -0,0 +1,42 @@
+import { Skeleton } from '@walmart/gtp-shared-components';
+import React from 'react';
+import { ScrollView, useWindowDimensions, View } from 'react-native';
+import { styles } from './styles';
+
+const LoadingListItem = () => {
+ const { width } = useWindowDimensions();
+ const imageDimensions = width * 0.1;
+ const checkboxDimensions = width * 0.06;
+ return (
+ <View style={styles.loadingListItemContainer}>
+ <View style={styles.loadingTeamInfo}>
+ <Skeleton
+ height={imageDimensions}
+ width={imageDimensions}
+ variant='rounded'
+ />
+ <Skeleton height={20} width={width * 0.4} />
+ </View>
+ <Skeleton height={checkboxDimensions} width={checkboxDimensions} />
+ </View>
+ );
+};
+
+const LoadingListSection = () => {
+ const { width } = useWindowDimensions();
+ const loadingListRenderer = new Array(4).fill(<LoadingListItem />);
+ return (
+ <View style={styles.loadingListSectionContainer}>
+ <Skeleton height={24} width={width * 0.4} />
+ <View>{loadingListRenderer}</View>
+ </View>
+ );
+};
+
+export const EditSavedTeamsSectionLoading = () => {
+ const { height } = useWindowDimensions();
+ const loadingListRenderer = new Array(Math.ceil(height / 300)).fill(
+ <LoadingListSection />
+ );
+ return <ScrollView>{loadingListRenderer}</ScrollView>;
+};
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Screens/EditSavedTeamModal/styles.ts
@@ -1,9 +1,31 @@
+import { colors } from '@walmart/gtp-shared-components';
import { StyleSheet } from 'react-native';
export const styles = StyleSheet.create({
- rootContainer: { marginBottom: 10 },
+ rootContainer: { marginBottom: 10, backgroundColor: colors.white },
subTitle: { marginVertical: 10 },
inputContainer: { marginBottom: 10 },
sectionTitle: { marginStart: 15, fontWeight: 'bold' },
footerContainer: { margin: 5 },
+ loadingListItemContainer: {
+ display: 'flex',
+ paddingVertical: 8,
+ width: '100%',
+ alignItems: 'center',
+ justifyContent: 'space-between',
+ flexDirection: 'row',
+ },
+ loadingTeamInfo: {
+ display: 'flex',
+ flexDirection: 'row',
+ gap: 8,
+ alignItems: 'center',
+ },
+ loadingListSectionContainer: {
+ display: 'flex',
+ flexDirection: 'column',
+ gap: 8,
+ paddingHorizontal: 16,
+ paddingTop: 16,
+ },
});
| feat: edit saved teams loader | feat: edit saved teams loader
|
903c9a1111a8a3ebf5479b2ddecebb1322843aef | --- .looper.multibranch.yml
@@ -4,7 +4,7 @@ inherit: 'job:///metropolis/metroloop/metroloop-parent'
## Whenever you update the nodes, please update it at the two-place, below line & the global variable LOOPER_NODES
##
-node: ((osx||stable_osx)&&!dualcore)
+node: ((osx||stable_osx)&&!dualcore&&!MAC-LAB-MINI04&&!MAC-DRFQLAB-MINI26&&!MAC-DRFQLAB-MINI30&&!MAC-LAB-MINI44)
## Global tools used across all flows.
tools:
@@ -38,7 +38,7 @@ envs:
global:
variables:
CI: true
- LOOPER_NODES: '((osx||stable_osx)&&!dualcore)'
+ LOOPER_NODES: '((osx||stable_osx)&&!dualcore&&!MAC-LAB-MINI04&&!MAC-DRFQLAB-MINI26&&!MAC-DRFQLAB-MINI30&&!MAC-LAB-MINI44)'
GITHUB_TOKEN: "%{credentials.secret('GITHUB_TOKEN')}"
TMPDIR: /tmp
| Update .looper.multibranch.yml | Update .looper.multibranch.yml |
53a872b1fd1e09446854b3b0315477e2ff626c58 | --- core/__tests__/rbac/RbacSagasTest.tsx
@@ -1,10 +1,14 @@
import {takeLatest, select, put, call} from 'redux-saga/effects';
+
+import {ConfigActionTypes} from '@walmart/allspark-foundation/Config';
import {
NavConfigActionCreators,
NavConfigActionTypes,
+ NavConfigSelectors,
NavType,
} from '@walmart/allspark-foundation/Navigation';
import {EnvironmentSelectors} from '@walmart/allspark-foundation/Environment';
+import {waitForNavConfigFetch} from '@walmart/allspark-foundation/Navigation/config/sagas';
import {
getRbacData,
@@ -13,8 +17,6 @@ import {
} from '../../src/rbac/selectors';
import {onRbacRequest, watchForRbacRequest} from '../../src/rbac/RbacSagas';
import {RbacLogger} from '../../src/rbac/utils';
-import {waitForNavConfigFetch} from '@walmart/allspark-foundation/Navigation/config/sagas';
-import {ConfigActionTypes} from '@walmart/allspark-foundation';
const LoggerSpy = jest.spyOn(RbacLogger, 'error');
@@ -100,7 +102,7 @@ describe('onRbacRequest', () => {
iterator.next({rmaMegaNavId: '01d285d7-6ec4-45e1-96a5-74365d3b8a6d'})
.value,
).toEqual(call(waitForNavConfigFetch));
- expect(iterator.next(null).done).toEqual(true);
+ expect(iterator.next(null).done).toEqual(false);
});
it('success case', () => {
@@ -115,6 +117,9 @@ describe('onRbacRequest', () => {
iterator.next({rmaMegaNavId: '01d285d7-6ec4-45e1-96a5-74365d3b8a6d'})
.value,
).toEqual(call(waitForNavConfigFetch));
+ expect(iterator.next().value).toEqual(
+ select(NavConfigSelectors.getOriginalData),
+ );
expect(iterator.next(unmodifiedMeganavData).value).toEqual(
put(NavConfigActionCreators.OVERRIDE_DATA(modifiedMeganavData)),
);
--- core/src/rbac/RbacSagas.tsx
@@ -1,9 +1,11 @@
import {select, put, takeLatest, call} from 'redux-saga/effects';
+import {ConfigActionTypes} from '@walmart/allspark-foundation/Config';
import {
NavConfigActionCreators,
NavConfigActionTypes,
NavConfigData,
+ NavConfigSelectors,
} from '@walmart/allspark-foundation/Navigation';
import {waitForNavConfigFetch} from '@walmart/allspark-foundation/Navigation/config/sagas';
import {EnvironmentSelectors} from '@walmart/allspark-foundation/Environment';
@@ -13,7 +15,7 @@ import {IMeAtWalmartEnvironment} from '@walmart/me-at-walmart-common';
import {modifyNavConfigForRbacPermissions, RbacLogger} from './utils';
import {getRbacData, getRbacEnabledApps, getRbacErrorState} from './selectors';
import {RbacData} from './types';
-import {ConfigActionTypes} from '@walmart/allspark-foundation';
+import {Logger} from '../core/Logger';
export function* onRbacRequest() {
try {
@@ -33,9 +35,15 @@ export function* onRbacRequest() {
);
const rbacMeganavPermissions = rbacData?.[rmaMegaNavId]?.permissions ?? [];
+ Logger.info('Rbac meganav policies', rbacMeganavPermissions);
- // If no meganav data, stop here
- const meganavData: NavConfigData | null = yield call(waitForNavConfigFetch);
+ // Wait for meganav data
+ yield call(waitForNavConfigFetch);
+
+ // Always start with the original meganav data from backend before applying overrides
+ const meganavData: NavConfigData | null = yield select(
+ NavConfigSelectors.getOriginalData,
+ );
if (!meganavData) {
return;
}
--- package.json
@@ -146,7 +146,7 @@
"@types/seamless-immutable": "^7.1.16",
"@types/semver": "^7.3.4",
"@types/uuid": "^8.3.0",
- "@walmart/allspark-foundation": "6.22.0",
+ "@walmart/allspark-foundation": "6.25.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
@@ -77,7 +77,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": "~6.4.1",
"@walmart/allspark-cope-key-listener": "0.0.18",
- "@walmart/allspark-foundation": "6.22.0",
+ "@walmart/allspark-foundation": "6.25.0",
"@walmart/allspark-graphql-client": "~6.3.28",
"@walmart/allspark-http-client": "~6.3.28",
"@walmart/allspark-neon-core": "0.1.31",
@@ -93,7 +93,7 @@
"@walmart/calling-mini-app": "0.5.17",
"@walmart/checkout-mini-app": "3.31.0",
"@walmart/compass-sdk-rn": "5.19.15",
- "@walmart/config-components": "4.5.5",
+ "@walmart/config-components": "4.5.6",
"@walmart/core-services": "~6.5.2",
"@walmart/core-services-allspark": "workspace:^",
"@walmart/core-utils": "6.3.9",
--- yarn.lock
@@ -5966,9 +5966,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation@npm:6.22.0":
- version: 6.22.0
- resolution: "@walmart/allspark-foundation@npm:6.22.0"
+"@walmart/allspark-foundation@npm:6.25.0":
+ version: 6.25.0
+ resolution: "@walmart/allspark-foundation@npm:6.25.0"
dependencies:
"@apollo/client": "npm:^3.8.6"
"@graphql-codegen/cli": "npm:^5.0.0"
@@ -6061,7 +6061,7 @@ __metadata:
allspark-generate-graphql: cli/generate.js
allspark-link: cli/link.js
allspark-setup: cli/setup.js
- checksum: 10c0/ee0eb7b9ccc3ff24504e6b99b60e553766d481f6e6667ae5dcd58f82dd60937582d372fdae01e9e27546b47c2c7841d4530c4d6293233298ab4a1f02a11702dc
+ checksum: 10c0/dfdc3c6447ebf399aa2c1a90119e15ecaa24193c6ab736e736d44165152238122f501bbd7e72039d4702e21b035053a66d078c05ae6857a64ef3e948e627dd0a
languageName: node
linkType: hard
@@ -6504,9 +6504,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/config-components@npm:4.5.5":
- version: 4.5.5
- resolution: "@walmart/config-components@npm:4.5.5"
+"@walmart/config-components@npm:4.5.6":
+ version: 4.5.6
+ resolution: "@walmart/config-components@npm:4.5.6"
peerDependencies:
"@react-native-firebase/app": ">=15.1.1"
"@react-native-firebase/database": ">=15.1.1"
@@ -6522,7 +6522,7 @@ __metadata:
redux: ">=4.2.0"
reduxsauce: ">=1"
reselect: ">=4"
- checksum: 10c0/f3c8639e142efd020d0b97e6880c3c1b9debee1215cd96f81006039899704b700c3646cd3eb381a82984cda7c28ffd49542c147950399a1028bd4e8c1f017ba7
+ checksum: 10c0/9fe8a4fea2bb0cb542d3c9adff1e0d11083b75722d8ab55efe6c9297489ae89ad3dc066dd121b1c2fe775c90db3189d9b4526ad6ee3b1f3e308534cb9af65f00
languageName: node
linkType: hard
@@ -7276,7 +7276,7 @@ __metadata:
"@types/uuid": "npm:^8.3.0"
"@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": "npm:6.25.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"
@@ -7292,7 +7292,7 @@ __metadata:
"@walmart/calling-mini-app": "npm:0.5.17"
"@walmart/checkout-mini-app": "npm:3.31.0"
"@walmart/compass-sdk-rn": "npm:5.19.15"
- "@walmart/config-components": "npm:4.5.5"
+ "@walmart/config-components": "npm:4.5.6"
"@walmart/core-services": "npm:~6.5.2"
"@walmart/core-services-allspark": "workspace:^"
"@walmart/core-utils": "npm:6.3.9"
| fix rbac meganav issue | fix rbac meganav issue
|
bc5af0113e0c836e0c3cd7e728788464a824c95c | --- .looper.yml
@@ -7,10 +7,10 @@ updateTaskStatusOnGit: true
scheduling: concurrent
-# envs:
-# global:
-# variables:
-# ALLOW_NPM_PUSH_TO_AF: true
+envs:
+ global:
+ variables:
+ ALLOW_NPM_PUSH_TO_AF: true
triggers:
- manual:
--- .yarnrc.yml
@@ -10,5 +10,4 @@ nodeLinker: node-modules
# Add the following in your Local Mac's ~/.zshrc file
# export REPOSOLNS_NPM_REPO=https://npm.ci.artifacts.walmart.com/artifactory/api/npm/npme-npm
-# npmRegistryServer: ${REPOSOLNS_NPM_REPO}
-npmRegistryServer: "https://npme.walmart.com/"
+npmRegistryServer: ${REPOSOLNS_NPM_REPO}
| Update hub version | Update hub version
|
71f879529a4030a6f7809d6fb23b9ddf8362c775 | --- src/whatsNew/WhatsNewScreen.tsx
@@ -16,7 +16,7 @@ import {getValueForCurrentLanguage} from '../transforms/language';
import {Images} from '../images';
import {RestrictionNote} from './RestrictionNote';
import {getWhatsNew} from './WhatsNewSaga';
-import env from "../../env";
+import env from '../../env';
import {
RecordText,
WhatsNewConfig,
| lint fixes. | lint fixes.
|
a7db9035f1256cd4e6d3c5eaa0bbc1fe7cdcc157 | --- ios/AllSpark.xcodeproj/project.pbxproj
@@ -115,11 +115,11 @@
06FF016091624EA0B919BA1E /* Resources */ = {
isa = PBXGroup;
children = (
- E9AD4B172679309900D8DDD4 /* clockfailure.mp3 */,
- E9AD4B152679309900D8DDD4 /* clockin.mp3 */,
- E9AD4B162679309900D8DDD4 /* clockout.mp3 */,
- 7E03751FFBC04D1E977A672C /* icomoon.ttf */,
- 4120FE278C5A4EFEB2622758 /* DIGIMark-custom.ttf */,
+ E9AD4B172679309900D8DDD4 /* clockfailure.mp3 */,
+ E9AD4B152679309900D8DDD4 /* clockin.mp3 */,
+ E9AD4B162679309900D8DDD4 /* clockout.mp3 */,
+ 7E03751FFBC04D1E977A672C /* icomoon.ttf */,
+ 4120FE278C5A4EFEB2622758 /* DIGIMark-custom.ttf */,
);
name = Resources;
sourceTree = "<group>";
@@ -451,7 +451,7 @@
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
- "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/DMSDK.framework",
+ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/DMSDK.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
--- ios/Podfile.lock
@@ -570,8 +570,8 @@ DEPENDENCIES:
- RNScreens (from `../node_modules/react-native-screens`)
- RNSha256 (from `../node_modules/react-native-sha256`)
- "RNSketchCanvas (from `../node_modules/@terrylinla/react-native-sketch-canvas`)"
- - RNSVG (from `../node_modules/react-native-svg`)
- RNSoundPlayer (from `../node_modules/react-native-sound-player`)
+ - RNSVG (from `../node_modules/react-native-svg`)
- RNVectorIcons (from `../node_modules/react-native-vector-icons`)
- RNWMSSOLibrary (from `../node_modules/react-native-ssmp-sso-allspark`)
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
| Updating the files to match develop branch | Updating the files to match develop branch
|
bf7db095b470d6f9870517a0fa334082e665befb | --- package.json
@@ -26,7 +26,7 @@
"solidarity": "solidarity",
"test": "jest --no-watchman",
"us:ios:dev": "yarn workspaces foreach --from 'me-at-walmart-us' -Rpti run ios:dev",
- "verifyBranchName": "sh ./scripts/verifyBranchName.sh"
+ "verifyBranchName": "bash ./scripts/verifyBranchName.sh"
},
"devDependencies": {
"eslint": "^8.19.0",
--- targets/US/package.json
@@ -8,10 +8,10 @@
"android:dev": "yarn run env:dev && react-native run-android --mode=devDebug",
"android:prod": "yarn run env:prod && react-native run-android --mode=prodDebug",
"android:teflon": "yarn run env:teflon && react-native run-android --mode=teflonDebug",
- "androidConfig:beta": "sh scripts/updateAndroidProjectConfig.sh Beta",
- "androidConfig:dev": "sh scripts/updateAndroidProjectConfig.sh Dev",
- "androidConfig:prod": "sh scripts/updateAndroidProjectConfig.sh Prod",
- "androidConfig:teflon": "sh scripts/updateAndroidProjectConfig.sh Teflon",
+ "androidConfig:beta": "bash scripts/updateAndroidProjectConfig.sh Beta",
+ "androidConfig:dev": "bash scripts/updateAndroidProjectConfig.sh Dev",
+ "androidConfig:prod": "bash scripts/updateAndroidProjectConfig.sh Prod",
+ "androidConfig:teflon": "bash scripts/updateAndroidProjectConfig.sh Teflon",
"check:dependencies": "yarn rnx-align-deps",
"coverage": "jest --coverage",
"env:beta": "yarn run firebase:beta && cp env.beta.js env.js && yarn run projConfig:beta",
@@ -28,10 +28,10 @@
"ios:dev": "yarn run env:dev && react-native run-ios",
"ios:prod": "yarn run env:prod && react-native run-ios",
"ios:teflon": "yarn run env:teflon && react-native run-ios",
- "iosConfig:beta": "sh scripts/updateiOSProjectConfig.sh Beta",
- "iosConfig:dev": "sh scripts/updateiOSProjectConfig.sh Dev",
- "iosConfig:prod": "sh scripts/updateiOSProjectConfig.sh Prod",
- "iosConfig:teflon": "sh scripts/updateiOSProjectConfig.sh Teflon",
+ "iosConfig:beta": "bash scripts/updateiOSProjectConfig.sh Beta",
+ "iosConfig:dev": "bash scripts/updateiOSProjectConfig.sh Dev",
+ "iosConfig:prod": "bash scripts/updateiOSProjectConfig.sh Prod",
+ "iosConfig:teflon": "bash scripts/updateiOSProjectConfig.sh Teflon",
"jetifier": "jetifier",
"lint": "eslint ./src ./__tests__ --ext .js,.jsx,.ts,.tsx --max-warnings 3",
"lint:fix": "eslint ./src ./__tests__ --ext .js,.jsx,.ts,.tsx --fix",
| update bash from sh | update bash from sh
|
fe979d80601d815e0111b68ab373e2896d56d048 | --- packages/allspark-foundation-hub/src/HubFeature/Hooks/useUserPreferences.ts
@@ -6,6 +6,7 @@ import { AllsparkEnvironment } from '@walmart/allspark-foundation/Environment';
import { getVersion } from 'react-native-device-info';
import { Images } from '../Images/images';
import { TeamSwitcherTypes } from '../Hub/TeamSwitcher/types';
+import { LoggerService } from '@walmart/allspark-foundation/Logger';
const sorter = (data: TeamSwitcherTypes[]): TeamSwitcherTypes[] => {
const TOTAL_STORE = 'Total store';
@@ -30,6 +31,7 @@ const sorter = (data: TeamSwitcherTypes[]): TeamSwitcherTypes[] => {
};
export const useUserPreferences = () => {
+ const logger = LoggerService.getContainerInstance();
const storeId: string | undefined = useSelector(UserSelectors.getWorkingSite);
const win = useSelector(UserSelectors.getWin);
const [teamData, setTeamData] = useState<Array<any>>([]);
@@ -62,9 +64,15 @@ export const useUserPreferences = () => {
})
) ?? [];
setTeamData(sorter(transformedTeamData));
+ logger.info('useGetAssociatePreferencesQuery', {
+ message: 'GetAssociatePreferencesQuery completed',
+ });
},
- onError: () => {
+ onError: (err: any) => {
setUserPrefError(true); //Todo: We need to consider scenario of getting the error as well as data
+ logger.error('useGetAssociatePreferencesQuery error', {
+ message: `${err}`,
+ });
},
notifyOnNetworkStatusChange: true,
});
--- packages/allspark-foundation-hub/src/HubFeature/Hub/Container/Screens/HubDashboard.tsx
@@ -108,28 +108,44 @@ export const HubDashboard = ({ name, widgets }: HubDashboardProps) => {
useEffect(() => {
if (eligibleForOnboarding) {
- const getMyTeamData = async () =>
- await data?.associatePreferences?.meAtWalmartPreferences
- ?.managerExperiencePreferences?.myTeams;
+ const getMyTeamData = async () => {
+ try {
+ const myTeams =
+ await data?.associatePreferences?.meAtWalmartPreferences
+ ?.managerExperiencePreferences?.myTeams;
+ loggerRef.current.info('Team data fetched successfully');
+ return myTeams;
+ } catch (error: any) {
+ loggerRef.current.error('Error:', error);
+ throw error;
+ }
+ };
- getMyTeamData().then((myTeamData) => {
- if (myTeamData !== undefined) {
- const isUserOnboarded = myTeamData && myTeamData.length >= 0;
- if (!isUserOnboarded) {
- dispatch(ManagerExperienceCreators.startUserOnboarding());
- AllsparkNavigationClient.navigate(
- 'managerExperience.teamOnboarding'
- );
- } else {
- dispatch(
- ManagerExperienceCreators.setUserIsAlreadyOnboarded(
- isUserOnboarded
- )
- );
+ getMyTeamData()
+ .then((myTeamData) => {
+ if (myTeamData !== undefined) {
+ const isUserOnboarded = myTeamData && myTeamData.length >= 0;
+ if (!isUserOnboarded) {
+ loggerRef.current.info('Starting onboarding process...');
+ dispatch(ManagerExperienceCreators.startUserOnboarding());
+ AllsparkNavigationClient.navigate(
+ 'managerExperience.teamOnboarding'
+ );
+ } else {
+ loggerRef.current.info('User is already onboarded.');
+ dispatch(
+ ManagerExperienceCreators.setUserIsAlreadyOnboarded(
+ isUserOnboarded
+ )
+ );
+ }
}
- }
- });
+ })
+ .catch((error) => {
+ loggerRef.current.error('Error:', error);
+ });
} else {
+ loggerRef.current.info('User is not eligible for onboarding.');
AllsparkNavigationClient.navigate('');
}
}, [
@@ -138,10 +154,12 @@ export const HubDashboard = ({ name, widgets }: HubDashboardProps) => {
dispatch,
eligibleForOnboarding,
]);
-
// After changing store, reload all the hub widgets with new store data.
useEffect(() => {
if (currentSiteId !== parentSiteID.current) {
+ loggerRef.current.info(
+ `SiteId changed from ${parentSiteID.current} to ${currentSiteId}`
+ );
parentSiteID.current = currentSiteId;
onRefresh();
}
@@ -155,6 +173,7 @@ export const HubDashboard = ({ name, widgets }: HubDashboardProps) => {
}));
const onRefresh = () => {
+ loggerRef.current.info('onRefresh called');
setState((prev) => ({
...prev,
refreshTime: Date.now().toString(),
@@ -204,9 +223,12 @@ export const HubDashboard = ({ name, widgets }: HubDashboardProps) => {
let layoutConfig = { componentId: '' };
let layoutConfigList: [] = [];
layoutConfig.componentId = widgetData;
+ loggerRef.current.info('Adding widget to layoutConfig');
return [...layoutConfigList, layoutConfig];
})
: createDefaultWidgetPlaceholder(teamState.teamLabel, widgets);
+
+ loggerRef.current.info('Setting allowedWidgetsList');
setAllowedWidgetsList(allowedWidgets);
}, [teamState, widgets]);
const renderContent = useCallback(() => {
--- packages/allspark-foundation-hub/src/HubFeature/Hub/TeamSwitcher/index.tsx
@@ -29,6 +29,7 @@ import {
} from '../../constant';
import { useAllsparkImage } from '@walmart/allspark-foundation/Components/context';
import { Images } from '../../Images/images';
+import { LoggerService } from '@walmart/allspark-foundation/Logger';
export * from './types';
@@ -37,6 +38,7 @@ export const TeamSwitcher = ({
refreshing,
}: TeamSwitcherProps) => {
const { teamData, loading: isLoading, refetch } = useUserPreferences();
+ const logger = LoggerService.getContainerInstance();
const userPrefTeams = teamData.length > 0 ? teamData : undefined;
const userSelectedTeamLabel = useSelector(
ManagerExperienceSelectors.getSelectedTeamPreference
@@ -149,8 +151,10 @@ export const TeamSwitcher = ({
}
};
- const handleAddEditPress = () =>
+ const handleAddEditPress = () => {
+ logger.info('Add/Edit teams triggered');
AllsparkNavigationClient.navigate('managerExperience.teamSelection');
+ };
const keyExtractor = (item: TeamSwitcherTypes) => item.teamLabel;
const renderEmptyList = () => {
| Adding telemtry | Adding telemtry
|
f4673388e338a77576bc7d1da9b45e7ff1c70a4f | --- targets/US/ios/AllSpark/AllSpark-Prod.entitlements
@@ -4,6 +4,8 @@
<dict>
<key>aps-environment</key>
<string>development</string>
+ <key>com.apple.developer.networking.wifi-info</key>
+ <true/>
<key>com.apple.security.application-groups</key>
<array>
<string>group.com.walmart.sumo.appstore</string>
| Update prod entitlements to include wifi info | Update prod entitlements to include wifi info
|
68e2ac775cb06673dd72bbce62f0f8d6b3651e36 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.16.0",
+ "version": "1.17.0",
"main": "dist/index.js",
"files": [
"dist"
| Update the roster mini app version | Update the roster mini app version
|
547c23a78b9423b270a126e29f4782a7d56afcd0 | --- .github/pull_request_template_check.yml
@@ -8,9 +8,10 @@ jobs:
check-template:
runs-on: ubuntu-latest
steps:
- - name: Check required sections and conditional requirements
+ - name: Check required sections
uses: actions/github-script@v6
with:
+ github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const pr = context.payload.pull_request;
const body = pr.body || '';
@@ -18,7 +19,7 @@ jobs:
// Check basic required sections
const requiredSections = [
"## Description",
- "## Related Issue",
+ "## Jira Link",
"## Type of Change"
];
@@ -30,7 +31,22 @@ jobs:
}
}
- // Check if code-modifying change type is selected
+ // Check if any type is selected
+ const typeSelected = body.includes("- [x] Bug fix") ||
+ body.includes("- [x] New feature") ||
+ body.includes("- [x] Breaking change") ||
+ body.includes("- [x] Query updates or changes") ||
+ body.includes("- [x] Performance improvement") ||
+ body.includes("- [x] Refactoring") ||
+ body.includes("- [x] Test addition or update") ||
+ body.includes("- [x] Configuration change") ||
+ body.includes("- [x] Documentation update");
+
+ if (!typeSelected) {
+ missingFields.push("At least one Type of Change must be selected");
+ }
+
+ // Check code-modifying changes
const codeModTypes = [
"- [x] Bug fix",
"- [x] New feature",
@@ -56,16 +72,24 @@ jobs:
}
}
- // Check for screenshots and recordings are added
- if (!body.includes("### Screenshots") || !body.split("### Screenshots")[1].trim()) {
+ // Check for screenshots and recordings
+ const hasScreenshots = body.includes("### Screenshots") &&
+ body.split("### Screenshots")[1].trim() &&
+ !body.split("### Screenshots")[1].trim().startsWith("###");
+
+ if (!hasScreenshots) {
missingFields.push("Screenshots");
}
- if (!body.includes("### Recordings") || !body.split("### Recordings")[1].trim()) {
+ const hasRecordings = body.includes("### Recordings") &&
+ body.split("### Recordings")[1].trim() &&
+ !body.split("### Recordings")[1].trim().startsWith("###");
+
+ if (!hasRecordings) {
missingFields.push("Recordings");
}
- // If it's a query update, check for additional requirements
+ // Check query updates requirements
if (body.includes("- [x] Query updates or changes")) {
if (!body.includes("- [x] Open Observe screenshot attached")) {
missingFields.push("Open Observe screenshot");
@@ -77,8 +101,24 @@ jobs:
}
}
+ // Create a detailed comment for failed checks
if (missingFields.length > 0) {
- core.setFailed(`Your PR is missing required information: ${missingFields.join(", ")}. Please update your PR description.`);
+ const comment = `## ❌ PR Template Check Failed\n\nYour PR is missing required information:\n\n${missingFields.map(field => `- ${field}`).join('\n')}\n\nPlease update your PR description to include all required information.`;
+
+ await github.rest.issues.createComment({
+ issue_number: context.issue.number,
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ body: comment
+ });
+
+ core.setFailed(`PR Template check failed: ${missingFields.join(", ")}`);
} else {
+ await github.rest.issues.createComment({
+ issue_number: context.issue.number,
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ body: `## ✅ PR Template Check Passed\n\nAll required sections and conditional requirements are met!`
+ });
console.log("All required sections and conditional requirements are met!");
}
\ No newline at end of file
| feat(ui): updating pr template | feat(ui): updating pr template
|
a2fc4128ddec514d33531880e953704a1646b326 | --- package-lock.json
@@ -57,7 +57,7 @@
"@walmart/iteminfo-mini-app": "7.1.4",
"@walmart/manager-approvals-miniapp": "0.2.1",
"@walmart/me-field-mini-app": "1.3.0",
- "@walmart/metrics-mini-app": "0.9.66",
+ "@walmart/metrics-mini-app": "0.9.68",
"@walmart/mod-flex-mini-app": "1.6.3",
"@walmart/moment-walmart": "1.0.4",
"@walmart/onewalmart-miniapp": "1.0.14",
@@ -5518,9 +5518,9 @@
}
},
"node_modules/@walmart/metrics-mini-app": {
- "version": "0.9.66",
- "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.66.tgz",
- "integrity": "sha512-leq0RdQAzG/sWpIsA2Qw0HWaAnA/y/bXGp2v/HavWB6UmJHhergjVjZPYd4DoV2hL4hz9HmOaBTBeBpF4qXzEA==",
+ "version": "0.9.68",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.68.tgz",
+ "integrity": "sha512-l63bI0WlO/S0nfLY3TQGaNWxLRkzpVNrpi2S0VCvBctNHDkcCNjPRJoac77BJbxxacTLnSpgL+Vy6bWVkWmkgw==",
"dependencies": {
"@types/base-64": "^1.0.0",
"apisauce": "1.1.2",
@@ -25304,9 +25304,9 @@
"integrity": "sha512-75CISnPJImPcR33NhMkwonct2dJbHWVVZsL7DaADW28V2K2WEKLd+k0CvSHubjhxD2DAHKQf/gH0YZ3jDjiEtA=="
},
"@walmart/metrics-mini-app": {
- "version": "0.9.66",
- "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.66.tgz",
- "integrity": "sha512-leq0RdQAzG/sWpIsA2Qw0HWaAnA/y/bXGp2v/HavWB6UmJHhergjVjZPYd4DoV2hL4hz9HmOaBTBeBpF4qXzEA==",
+ "version": "0.9.68",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.68.tgz",
+ "integrity": "sha512-l63bI0WlO/S0nfLY3TQGaNWxLRkzpVNrpi2S0VCvBctNHDkcCNjPRJoac77BJbxxacTLnSpgL+Vy6bWVkWmkgw==",
"requires": {
"@types/base-64": "^1.0.0",
"apisauce": "1.1.2",
--- package.json
@@ -99,7 +99,7 @@
"@walmart/iteminfo-mini-app": "7.1.4",
"@walmart/manager-approvals-miniapp": "0.2.1",
"@walmart/me-field-mini-app": "1.3.0",
- "@walmart/metrics-mini-app": "0.9.66",
+ "@walmart/metrics-mini-app": "0.9.68",
"@walmart/mod-flex-mini-app": "1.6.3",
"@walmart/moment-walmart": "1.0.4",
"@walmart/onewalmart-miniapp": "1.0.14",
| metrics version bump | metrics version bump
|
b51345b2321ca877fd071adbf69629d4ab6bd372 | --- docs/CHANGELOG.md
@@ -1,3 +1,10 @@
+# [1.24.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.23.0...v1.24.0) (2025-04-04)
+
+
+### Features
+
+* **ui:** update package js for myteam ([052875f](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/052875f02d2faccd7c7b107d72172aa9b555ae5e))
+
# [1.23.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.22.0...v1.23.0) (2025-03-31)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.23.0",
+ "version": "1.24.0",
"main": "dist/index.js",
"files": [
"dist"
| chore(release): 1.24.0 [skip ci] | chore(release): 1.24.0 [skip ci]
# [1.24.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.23.0...v1.24.0) (2025-04-04)
### Features
* **ui:** update package js for myteam ([052875f](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/052875f02d2faccd7c7b107d72172aa9b555ae5e))
|
882ec2c23202ad281bcbdd8b6ca0a5472bd948ea | --- packages/celebration-mini-app-graphql/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.28.2](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.28.1...@walmart/celebration-mini-app-graphql@1.28.2) (2025-12-19)
+
+**Note:** Version bump only for package @walmart/celebration-mini-app-graphql
+
## [1.28.1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.28.0...@walmart/celebration-mini-app-graphql@1.28.1) (2025-12-19)
**Note:** Version bump only for package @walmart/celebration-mini-app-graphql
--- packages/celebration-mini-app-graphql/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app-graphql",
- "version": "1.28.1",
+ "version": "1.28.2",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/celebration-mini-app/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.38.1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.38.0...@walmart/celebration-mini-app@1.38.1) (2025-12-19)
+
+**Note:** Version bump only for package @walmart/celebration-mini-app
+
# [1.38.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.37.0...@walmart/celebration-mini-app@1.38.0) (2025-12-19)
### Features
--- packages/celebration-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app",
- "version": "1.38.0",
+ "version": "1.38.1",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/celebration-mini-app@1.38.1
- @walmart/celebration-mini-app-graphql@1.28.2
|
5776844b7d3aff67af054a74214ea879510b498f | --- sonar-project.properties
@@ -3,8 +3,8 @@ sonar.projectName=AllSpark-Core
sonar.projectVersion=1.0.0
sonar.host.url=http://sonar.looper.prod.walmartlabs.com
-sonar.sources=targets/US/src
-sonar.tests=targets/US/__tests__
+sonar.sources=targets/US/src,core/src, packages/me-at-walmart-container/src, packages/me-at-walmart-common/src, scripts/dependencies-map
+sonar.tests=targets/US/__tests__,core/__tests__, packages/me-at-walmart-container/__tests__, packages/me-at-walmart-common/__tests__, scripts/dependencies-map/**/__tests__
sonar.exclusions=targets/US/src/images,targets/US/src/navigation/Navigation.tsx,targets/US/src/navigation/NavigationStyle.ts
sonar.sourceEncoding=UTF-8
sonar.typescript.lcov.reportPaths=coverage/lcov.info
| fix: include core for code coverage | fix: include core for code coverage
|
a70a58745a989ad30585d737be86378ad6cbcc5e | --- .looper.multibranch.yml
@@ -24,7 +24,7 @@ envs:
ANDROID_BASE_PATH: targets/US/android
branches:
- - spec: feature/drop24
+ - spec: feature/drop24-iteminfo
triggers:
- manual:
name: Publish Packages (Pre-Release)
| trigger looper building | trigger looper building
|
aac7fc5ba6e1297870d92e5bcc1521d2d2eee57f | --- container/ReactotronConfig.js
@@ -1,4 +1,4 @@
-import {AllsparkGraphQLClient, ReduxModule} from '@walmart/allspark-foundation';
+import {GraphQLModule, ReduxModule} from '@walmart/allspark-foundation';
import Reactotron from 'reactotron-react-native';
import {reactotronRedux} from 'reactotron-redux'
@@ -20,7 +20,7 @@ Reactotron.onCustomCommand({
Reactotron.display({
name: 'Apollo Cache',
preview: 'Cache Snapshot',
- value: AllsparkGraphQLClient.cache.extract(),
+ value: GraphQLModule.client.cache.extract(),
});
},
});
| fix: update env and logger modules | fix: update env and logger modules
|
a6556b8b641ebf6e869c6e4c3e19099911d90142 | --- package-lock.json
@@ -82,7 +82,7 @@
"@walmart/settings-mini-app": "1.12.0",
"@walmart/shelfavailability-mini-app": "1.5.11",
"@walmart/taskit-mini-app": "0.49.6",
- "@walmart/time-clock-mini-app": "2.11.0",
+ "@walmart/time-clock-mini-app": "2.12.0",
"@walmart/ui-components": "1.9.0",
"@walmart/welcomeme-mini-app": "0.73.0",
"@walmart/wfm-ui": "0.2.26",
@@ -6102,9 +6102,9 @@
}
},
"node_modules/@walmart/time-clock-mini-app": {
- "version": "2.11.0",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.11.0.tgz",
- "integrity": "sha512-rUEAXNo8viLXJyclnn/2uk7d/S4rozAFb8k6Wkt4r23xVACx5olHsX+TCLys5LBx792s0f57//8D7GihZ9QM9A==",
+ "version": "2.12.0",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.12.0.tgz",
+ "integrity": "sha512-0VVwktMtmb/XDmaU5mwkAeLoYxrodJ9my9a1jurnv+nsn/O2ntb447/lQLCtAGs0dcF5V6KePvbsoH1t3oVBDA==",
"hasInstallScript": true,
"license": "UNLICENSED",
"dependencies": {
@@ -25629,9 +25629,9 @@
}
},
"@walmart/time-clock-mini-app": {
- "version": "2.11.0",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.11.0.tgz",
- "integrity": "sha512-rUEAXNo8viLXJyclnn/2uk7d/S4rozAFb8k6Wkt4r23xVACx5olHsX+TCLys5LBx792s0f57//8D7GihZ9QM9A==",
+ "version": "2.12.0",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.12.0.tgz",
+ "integrity": "sha512-0VVwktMtmb/XDmaU5mwkAeLoYxrodJ9my9a1jurnv+nsn/O2ntb447/lQLCtAGs0dcF5V6KePvbsoH1t3oVBDA==",
"requires": {
"@react-navigation/elements": "^1.3.1",
"moment-timezone": "0.5.33",
--- package.json
@@ -124,7 +124,7 @@
"@walmart/settings-mini-app": "1.12.0",
"@walmart/shelfavailability-mini-app": "1.5.2",
"@walmart/taskit-mini-app": "0.49.6",
- "@walmart/time-clock-mini-app": "2.11.0",
+ "@walmart/time-clock-mini-app": "2.12.0",
"@walmart/ui-components": "1.9.0",
"@walmart/welcomeme-mini-app": "0.73.0",
"@walmart/wfm-ui": "0.2.26",
| Update Time Clock Mini app to 2.12.0 | Update Time Clock Mini app to 2.12.0
|
9f9b71abbf34e2babcf4428ac1bb2a8c793e1e93 | --- .yarn/patches/react-native-npm-0.79.5-8fdac25583.patch
@@ -1,19 +0,0 @@
-diff --git a/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm b/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm
-index 441a16f419f384367390218d5a78f9f601f9cd40..1c540f654eb1fe484c905312992287775fc3aba8 100644
---- a/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm
-+++ b/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm
-@@ -438,7 +438,13 @@ TraceSection s(
- @try {
- [inv invokeWithTarget:strongModule];
- } @catch (NSException *exception) {
-- throw convertNSExceptionToJSError(runtime, exception, std::string{moduleName}, methodNameStr);
-+ if (shouldVoidMethodsExecuteSync_) {
-+ // We can only convert NSException to JSError in sync method calls.
-+ // See https://github.com/reactwg/react-native-new-architecture/discussions/276#discussioncomment-12567155
-+ throw convertNSExceptionToJSError(runtime, exception, std::string{moduleName}, methodNameStr);
-+ } else {
-+ @throw exception;
-+ }
- } @finally {
- [retainedObjectsForInvocation removeAllObjects];
- }
--- package.json
@@ -239,7 +239,7 @@
"react-dom": "19.0.0",
"react-hook-form": "^7.51.0",
"react-i18next": "^13.3.1",
- "react-native": "patch:react-native@npm:0.79.5#~/.yarn/patches/react-native-npm-0.79.5-8fdac25583.patch",
+ "react-native": "0.79.5",
"react-native-app-auth": "^8.0.0",
"react-native-audio-api": "^0.6.5",
"react-native-ble-manager": "11.6.1",
@@ -472,7 +472,7 @@
"test-exclude": ">=7.0.0",
"moment-timezone": "~0.5.43",
"moment": "^2.29.4",
- "react-native": "patch:react-native@npm:0.79.5#~/.yarn/patches/react-native-npm-0.79.5-8fdac25583.patch",
+ "react-native": "0.79.5",
"react-native-calendars": "^1.1313.0",
"react-native-modal": "^14.0.0-rc.1",
"react-native-network-logger": "patch:react-native-network-logger@npm%3A2.0.1#~/.yarn/patches/react-native-network-logger-npm-2.0.1-a1f08caa90.patch",
--- yarn.lock
@@ -9018,7 +9018,7 @@ __metadata:
react-dom: "npm:19.0.0"
react-hook-form: "npm:^7.51.0"
react-i18next: "npm:^13.3.1"
- react-native: "patch:react-native@npm:0.79.5#~/.yarn/patches/react-native-npm-0.79.5-8fdac25583.patch"
+ react-native: "npm:0.79.5"
react-native-app-auth: "npm:^8.0.0"
react-native-audio-api: "npm:^0.6.5"
react-native-ble-manager: "npm:11.6.1"
@@ -21281,58 +21281,6 @@ __metadata:
languageName: node
linkType: hard
-"react-native@patch:react-native@npm:0.79.5#~/.yarn/patches/react-native-npm-0.79.5-8fdac25583.patch":
- version: 0.79.5
- resolution: "react-native@patch:react-native@npm%3A0.79.5%3A%3A__archiveUrl=https%253A%252F%252Fnpm.ci.artifacts.walmart.com%253A443%252Fartifactory%252Fapi%252Fnpm%252Fnpme-npm%252Freact-native%252F-%252Freact-native-0.79.5.tgz#~/.yarn/patches/react-native-npm-0.79.5-8fdac25583.patch::version=0.79.5&hash=e139af"
- dependencies:
- "@jest/create-cache-key-function": "npm:^29.7.0"
- "@react-native/assets-registry": "npm:0.79.5"
- "@react-native/codegen": "npm:0.79.5"
- "@react-native/community-cli-plugin": "npm:0.79.5"
- "@react-native/gradle-plugin": "npm:0.79.5"
- "@react-native/js-polyfills": "npm:0.79.5"
- "@react-native/normalize-colors": "npm:0.79.5"
- "@react-native/virtualized-lists": "npm:0.79.5"
- abort-controller: "npm:^3.0.0"
- anser: "npm:^1.4.9"
- ansi-regex: "npm:^5.0.0"
- babel-jest: "npm:^29.7.0"
- babel-plugin-syntax-hermes-parser: "npm:0.25.1"
- base64-js: "npm:^1.5.1"
- chalk: "npm:^4.0.0"
- commander: "npm:^12.0.0"
- event-target-shim: "npm:^5.0.1"
- flow-enums-runtime: "npm:^0.0.6"
- glob: "npm:^7.1.1"
- invariant: "npm:^2.2.4"
- jest-environment-node: "npm:^29.7.0"
- memoize-one: "npm:^5.0.0"
- metro-runtime: "npm:^0.82.0"
- metro-source-map: "npm:^0.82.0"
- nullthrows: "npm:^1.1.1"
- pretty-format: "npm:^29.7.0"
- promise: "npm:^8.3.0"
- react-devtools-core: "npm:^6.1.1"
- react-refresh: "npm:^0.14.0"
- regenerator-runtime: "npm:^0.13.2"
- scheduler: "npm:0.25.0"
- semver: "npm:^7.1.3"
- stacktrace-parser: "npm:^0.1.10"
- whatwg-fetch: "npm:^3.0.0"
- ws: "npm:^6.2.3"
- yargs: "npm:^17.6.2"
- peerDependencies:
- "@types/react": ^19.0.0
- react: ^19.0.0
- peerDependenciesMeta:
- "@types/react":
- optional: true
- bin:
- react-native: cli.js
- checksum: 10c0/4b47cbb161f048560df6b89f8730926143130b0374b3b7c536a26d6ec7eac81a4543e22e3574d1e82492de9b0e207cc0b596e11a396e5584220e7649778f8192
- languageName: node
- linkType: hard
-
"react-query@npm:^3.39.3":
version: 3.39.3
resolution: "react-query@npm:3.39.3::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Freact-query%2F-%2Freact-query-3.39.3.tgz"
| fix(crash): removed patch added to fix rn crash (#5276) | fix(crash): removed patch added to fix rn crash (#5276)
Co-authored-by: Pavan Lingamallu - p0l04ug <Pavan.Lingamallu@walmart.com>
Co-authored-by: Vishesh Hiremath - v0h00hj <Vishesh.Hiremath@walmart.com>
Co-authored-by: Hariharan Sundaram <hariharan.sundaram0@walmart.com>
Co-authored-by: Hitesh Arora - h0a006n <Hitesh.Arora@walmart.com> |
b3d7f6296f5914b240e9f0fd65fb46808a3d09b8 | --- package-lock.json
@@ -4137,9 +4137,9 @@
}
},
"@walmart/allspark-home-mini-app": {
- "version": "0.5.14",
- "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.5.14.tgz",
- "integrity": "sha512-/4+yNPZbDAjzcw6LhDxfUseOEQoiRrqAifk2lkp8LHqOaar4UL/wpOM2sAXhAq/yzfTaTLYZTGDTcGpb28la2g==",
+ "version": "0.5.15",
+ "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.5.15.tgz",
+ "integrity": "sha512-m0q2LzsXybfofXj5guqJReffAnexc3Pxq6ccqR99xJGdY+VgEKOJCUK4Xp04eDsTJXdK7iT2pUlsB5U7BiU3qg==",
"requires": {
"moment": "^2.29.0",
"uuid": "^8.3.1"
@@ -4271,9 +4271,9 @@
"integrity": "sha512-7nXe02E/AOFtT1u6/tVerIskwWvSoJcMgYN2DNH7vMgbb0YIFOsqwzX+nbRh/AcaZhC7YX5H2irVCc6/5/HjJw=="
},
"@walmart/metrics-mini-app": {
- "version": "0.5.14",
- "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.5.14.tgz",
- "integrity": "sha512-3HAOEX3YLqnrn9vH5Z3Jg6cEe468NvsCeANjCye26m7TxwrAhX4vy59ZiT6waWOMUTG+03sd25S0MjONb7zfYQ==",
+ "version": "0.5.15",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.5.15.tgz",
+ "integrity": "sha512-EEg1HvnZI1fK6+QeB+Qst2BuInbqgDRu4/8avpZF1CTtI/AK7/CGeXkIpeUYgyjq5xHoeN30B9Vvbr2W1alUNA==",
"requires": {
"@types/base-64": "^1.0.0",
"apisauce": "1.1.2",
--- package.json
@@ -71,7 +71,7 @@
"@sharcoux/slider": "^5.2.1",
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@walmart/allspark-health-survey-mini-app": "0.0.43",
- "@walmart/allspark-home-mini-app": "0.5.14",
+ "@walmart/allspark-home-mini-app": "0.5.15",
"@walmart/allspark-me-mini-app": "0.31.2",
"@walmart/ask-sam-mini-app": "0.40.4",
"@walmart/config-components": "1.0.35",
@@ -86,7 +86,7 @@
"@walmart/inbox-mini-app": "0.22.0",
"@walmart/iteminfo-mini-app": "2.0.16",
"@walmart/manager-approvals-miniapp": "0.0.58",
- "@walmart/metrics-mini-app": "0.5.14",
+ "@walmart/metrics-mini-app": "0.5.15",
"@walmart/moment-walmart": "1.0.4",
"@walmart/push-to-talk-mini-app": "0.5.39",
"@walmart/react-native-env": "^0.2.0",
| bumping metrics and home version | bumping metrics and home version
|
a1a51be203de10705880532bd7eaf3b66884e9e3 | --- __tests__/utils/recentSearchHistory.test.ts
@@ -3,7 +3,7 @@ import {
storeAssociateName,
RECENT_SEARCH_HISTORY_KEY,
} from '../../src/utils/recentSearchHistory';
-import {logger} from '../../src/common';
+import {logger} from '../../src/common/logger';
jest.mock('@react-native-async-storage/async-storage');
jest.mock('../../src/common/Logger');
| feat(ui): Merge changes for drop 23 SMDV-5921 | feat(ui): Merge changes for drop 23 SMDV-5921
|
8765b4a80b178e67739451b2990ff9dcbc4f8590 | --- packages/celebration-mini-app/src/components/Widget/HubCelebrationWidget.tsx
@@ -186,41 +186,38 @@ const HubCelebrationWidgetCore: React.FC<
maxCelebrationsInWidget,
]);
- // REFRESH HANDLING
- // Handle refresh trigger from Hub Framework with loading state
+ // REFRESH HANDLING - Optimized with useCallback to prevent unnecessary re-renders
const [isRefreshLoading, setIsRefreshLoading] = useState(false);
const [lastRefreshValue, setLastRefreshValue] = useState<
string | number | null
>(null);
+ // Memoize refresh handler to prevent recreating on every render
+ const handleHubRefresh = useCallback(() => {
+ if (!refresh || refresh === lastRefreshValue) return;
+
+ CelebrationTelemetryHelpers.logWidgetRefresh({
+ reason: 'hub',
+ celebrationCount: celebrations.length,
+ teamId: effectiveTeamIds?.[0],
+ });
+
+ setIsRefreshLoading(true);
+ setLastRefreshValue(refresh);
+ setRetryCount(0);
+ setLastRetryTime(0);
+
+ setTimeout(() => {
+ refetchCelebrations?.()
+ .then(() => setIsRefreshLoading(false))
+ .catch(() => setIsRefreshLoading(false));
+ }, 300); // Reduced from 1000ms to 300ms for faster response
+ }, [refresh, lastRefreshValue, refetchCelebrations, celebrations.length, effectiveTeamIds]);
+
// Handle refresh prop changes with loading state - only trigger if refresh value actually changed
useEffect(() => {
- if (refresh && refresh !== lastRefreshValue) {
- // Log telemetry for widget refresh
- CelebrationTelemetryHelpers.logWidgetRefresh({
- reason: 'hub',
- celebrationCount: celebrations.length,
- teamId: effectiveTeamIds?.[0],
- });
-
- setIsRefreshLoading(true);
- setLastRefreshValue(refresh);
- // Reset retry count on Hub refresh
- setRetryCount(0);
- setLastRetryTime(0);
- setTimeout(() => {
- refetchCelebrations?.()
- .then(() => setIsRefreshLoading(false))
- .catch(() => setIsRefreshLoading(false));
- }, 1000);
- }
- }, [
- refresh,
- lastRefreshValue,
- refetchCelebrations,
- effectiveTeamIds,
- celebrations,
- ]);
+ handleHubRefresh();
+ }, [handleHubRefresh]);
// Combined loading state (initial load, refresh, or user-triggered refresh)
const combinedLoadingState =
--- packages/celebration-mini-app/src/hooks/useCelebrations.ts
@@ -237,12 +237,19 @@ export const useCelebrations = (params: UseCelebrationsParams = {}): UseCelebrat
return fetchCelebrations();
}, [fetchCelebrations]);
- // Initial load
+ // OPTIMIZED: Only fetch once on initial mount, prevent multiple fetches
useEffect(() => {
if (!initializedRef.current && mountedRef.current) {
initializedRef.current = true;
- fetchCelebrations();
+ // Defer initial fetch slightly to allow other components to initialize
+ const timer = setTimeout(() => {
+ if (mountedRef.current) {
+ fetchCelebrations();
+ }
+ }, 100);
+ return () => clearTimeout(timer);
}
+ return undefined;
}, [fetchCelebrations]);
return {
--- packages/celebration-mini-app/src/services/celebrationBackendApi.ts
@@ -96,7 +96,7 @@ export const CelebrationApi = {
'wm_consumer.id': AllsparkEnvironment.VALUES.appConsumerId,
},
cache: {
- ttl: 24 * 60 * 60000, // 24 hour,
+ ttl: 24 * 60 * 60 * 1000, // 24 hours - celebration data only changes at midnight
interpretHeader: true,
},
}
| feat(ui): update celebration peformance | feat(ui): update celebration peformance
|
a830fb8ab448394b01964e34d3fe3007c4e5d0f5 | --- scripts/updateAndroidProjectConfig.sh
@@ -18,9 +18,6 @@ RN_CONFIG_JS="react-native.config.js"
RN_CONFIG_PROD_APP_MANIFEST_PATH="{manifestPath: '\/app\/src\/main\/AndroidManifest.xml'},"
RN_CONFIG_DEV_BETA_APP_MANIFEST_PATH="{},"
-RN_CONFIG_JS_PROD="react-native-prod.config.js"
-RN_CONFIG_JS_DEV_BETA="react-native-dev_beta.config.js"
-
BETA_PACKAGE="com.walmart.stores.allspark.beta"
PROD_PACKAGE="com.walmart.squiggly"
BETA_BUILD_CONFIG="${BETA_PACKAGE}.BuildConfig"
@@ -35,19 +32,16 @@ if [[ "${env}" == "Prod" ]]; then
SPLASH=${PROD_SPLASH}
CODE_PUSH_KEY=$PROD_CODE_PUSH_KEY
RN_CONFIG_MANIFEST_PATH=$RN_CONFIG_PROD_APP_MANIFEST_PATH
- RN_CONFIG_JS_SELECTED=$RN_CONFIG_JS_PROD
elif [[ "${env}" == "Beta" ]]; then
PACKAGE=${BETA_PACKAGE}
SPLASH=${BETA_SPLASH}
CODE_PUSH_KEY=$BETA_CODE_PUSH_KEY
RN_CONFIG_MANIFEST_PATH=$RN_CONFIG_DEV_BETA_APP_MANIFEST_PATH
- RN_CONFIG_JS_SELECTED=$RN_CONFIG_JS_DEV_BETA
else
PACKAGE=${BETA_PACKAGE}
SPLASH=${BETA_SPLASH}
CODE_PUSH_KEY=$DEV_CODE_PUSH_KEY
RN_CONFIG_MANIFEST_PATH=$RN_CONFIG_DEV_BETA_APP_MANIFEST_PATH
- RN_CONFIG_JS_SELECTED=$RN_CONFIG_JS_DEV_BETA
fi
## Find and replace package name ########
@@ -69,9 +63,6 @@ sed -Ei '' "s/import ${BETA_BUILD_CONFIG}|import ${PROD_BUILD_CONFIG}/import ${B
echo "Updating CodePushDeploymentKey to ${CODE_PUSH_KEY} in ${STRINGS_XML}"
sed -Ei '' "s/${DEV_CODE_PUSH_KEY}|${BETA_CODE_PUSH_KEY}|${PROD_CODE_PUSH_KEY}/${CODE_PUSH_KEY}/" ${STRINGS_XML}
-echo "Updating Manifest path in react-native.config.js to ${RN_CONFIG_MANIFEST_PATH} in ${RN_CONFIG_JS}"
-sed -Ei '' "s/android: ${RN_CONFIG_PROD_APP_MANIFEST_PATH}|android: ${RN_CONFIG_DEV_BETA_APP_MANIFEST_PATH}/android: ${RN_CONFIG_MANIFEST_PATH}/" ${RN_CONFIG_JS}
-
else # for Linux
echo "Updating package name to ${PACKAGE} in ${APP_GRADLE}"
sed -Ei'' "s/${BETA_PACKAGE}|${PROD_PACKAGE}/${PACKAGE}/" ${APP_GRADLE}
@@ -89,6 +80,4 @@ sed -Ei'' "s/import ${BETA_BUILD_CONFIG}|import ${PROD_BUILD_CONFIG}/import ${BU
echo "Updating CodePushDeploymentKey to ${CODE_PUSH_KEY} in ${STRINGS_XML}"
sed -Ei'' "s/${DEV_CODE_PUSH_KEY}|${BETA_CODE_PUSH_KEY}|${PROD_CODE_PUSH_KEY}/${CODE_PUSH_KEY}/" ${STRINGS_XML}
-# echo "Updating Manifest path in react-native.config.js to ${RN_CONFIG_MANIFEST_PATH} in ${RN_CONFIG_JS}"
-# cat ${RN_CONFIG_JS_SELECTED} > ${RN_CONFIG_JS}
fi
| Removing all mentions of react-native.config.js and related files | Removing all mentions of react-native.config.js and related files |
46952eef612e14797a61f3452cc30205cf00f1a2 | --- targets/US/package.json
@@ -142,7 +142,7 @@
"@walmart/roster-mini-app": "2.4.0",
"@walmart/schedule-mini-app": "0.114.2",
"@walmart/shelfavailability-mini-app": "1.5.26",
- "@walmart/shop-gnfr-mini-app": "1.0.20",
+ "@walmart/shop-gnfr-mini-app": "1.0.30",
"@walmart/store-feature-orders": "1.26.9",
"@walmart/taskit-mini-app": "patch:@walmart/taskit-mini-app@npm%3A3.0.2#~/.yarn/patches/@walmart-taskit-mini-app-npm-3.0.2-4cbd5b8e6d.patch",
"@walmart/time-clock-mini-app": "2.395.0",
--- yarn.lock
@@ -6749,7 +6749,7 @@ __metadata:
"@walmart/roster-mini-app": "npm:2.4.0"
"@walmart/schedule-mini-app": "npm:0.114.2"
"@walmart/shelfavailability-mini-app": "npm:1.5.26"
- "@walmart/shop-gnfr-mini-app": "npm:1.0.20"
+ "@walmart/shop-gnfr-mini-app": "npm:1.0.30"
"@walmart/store-feature-orders": "npm:1.26.9"
"@walmart/taskit-mini-app": "patch:@walmart/taskit-mini-app@npm%3A3.0.2#~/.yarn/patches/@walmart-taskit-mini-app-npm-3.0.2-4cbd5b8e6d.patch"
"@walmart/time-clock-mini-app": "npm:2.395.0"
@@ -7590,9 +7590,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/shop-gnfr-mini-app@npm:1.0.20":
- version: 1.0.20
- resolution: "@walmart/shop-gnfr-mini-app@npm:1.0.20"
+"@walmart/shop-gnfr-mini-app@npm:1.0.30":
+ version: 1.0.30
+ resolution: "@walmart/shop-gnfr-mini-app@npm:1.0.30"
dependencies:
"@testing-library/react-native": "npm:^12.5.1"
react-native-drop-shadow: "npm:^1.0.0"
@@ -7606,7 +7606,7 @@ __metadata:
"@walmart/gtp-shared-components": ^2.0.0
react: ^18.2.0
react-native: ~0.70.5
- checksum: 10c0/7569399517b7a6bc4c51fbef9c3f1c29f52493379bb9fc6b67ef37e2306da36e83208461f7acc5264713bafdab7db09a696c78deefc5a4166541972563398dc6
+ checksum: 10c0/4fce7091579a1eae723566c25f976874610d5ec5c4e126a6a51d29a146ec8b84a5a5c958cfe3eca277fab128918456edc603fceb9634c81ca0f00f0d692bc7e4
languageName: node
linkType: hard
| shop gnfr mini app test cases added for code coverage | shop gnfr mini app test cases added for code coverage
|
c265ff73a5a71b06dee7358ddc350bc777e131a9 | --- allspark.config.js
@@ -0,0 +1,23 @@
+module.exports = {
+ id: 'me-at-walmart-common',
+ graphql: {
+ queries: 'packages/me-at-walmart-common/src/queries',
+ codegen: {
+ yml: {
+ schemaVersion: '1.0.0',
+ teamRostersProductId: 2071,
+ notify: {
+ slack: {
+ channelName: 'ask-sam-automaton-test',
+ },
+ },
+ application: {
+ name: 'allspark-core',
+ applicationKey: 'ALLSPARK_APP',
+ description: 'Core application for Me@Walmart',
+ },
+ environments: ['stg', 'prod'],
+ },
+ },
+ },
+};
--- package.json
@@ -35,6 +35,11 @@
"devDependencies": {
"@babel/core": "^7.20.0",
"@commitlint/config-conventional": "^16.2.1",
+ "@graphql-codegen/cli": "^2.16.3",
+ "@graphql-codegen/near-operation-file-preset": "^2.5.0",
+ "@graphql-codegen/typescript": "^2.8.7",
+ "@graphql-codegen/typescript-operations": "^2.5.10",
+ "@graphql-codegen/typescript-react-apollo": "^3.3.7",
"@react-native-community/eslint-config": "^2.0.0",
"@redux-saga/testing-utils": "^1.1.3",
"@testing-library/react-hooks": "^5.0.3",
| chore: add codegen libraries and allspark config | chore: add codegen libraries and allspark config
|
25c4f566c0e91d6837f2da9ff0ff6678f42b7794 | --- packages/allspark-foundation/__tests__/Feature/AllsparkFeatureModule.test.tsx
@@ -106,9 +106,7 @@ describe('AllsparkFeatureModule', () => {
beforeEach(() => {
allsparkFeatureModule = new AllsparkFeatureModule('id', config);
jest.spyOn(allsparkFeatureModule as any, '_resolveCapability').mockReturnValue(mockScreens);
- jest.spyOn(allsparkFeatureModule as any, 'buildScreen').mockReturnValue('builtScreen');
- // allsparkFeatureModule['_events'] = { runEvent: jest.fn() } as any;
-
+ jest.spyOn(allsparkFeatureModule as any, 'buildScreen').mockReturnValue('builtScreen');
jest.spyOn(allsparkFeatureModule as any, '_disconnectListeners');
jest.spyOn(allsparkFeatureModule as any, '_disconnectRedux');
(allsparkFeatureModule as any)._listeners = {
| code cleanup | code cleanup
|
f655c2f9933b3548d872d47f942bb67725054cb9 | --- package.json
@@ -134,7 +134,7 @@
"@walmart/react-native-webex-sdk": "0.1.5",
"@walmart/receipt-check-miniapp": "1.19.3",
"@walmart/redux-store": "6.0.0",
- "@walmart/returns-mini-app": "3.13.0",
+ "@walmart/returns-mini-app": "4.6.0",
"@walmart/roster-mini-app": "1.0.20",
"@walmart/schedule-mini-app": "0.93.0",
"@walmart/shelfavailability-mini-app": "1.5.20",
| bump returns mini-app version | bump returns mini-app version
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.