commit_hash stringlengths 40 40 | input stringlengths 13 7.99k | output stringlengths 5 155 | full_message stringlengths 6 8.96k |
|---|---|---|---|
06076008c50521943c3ffb17a261c367366fdbcb | --- package-lock.json
@@ -57,7 +57,7 @@
"@walmart/iteminfo-mini-app": "6.0.1",
"@walmart/manager-approvals-miniapp": "0.1.1",
"@walmart/me-field-mini-app": "1.1.35",
- "@walmart/metrics-mini-app": "0.9.32",
+ "@walmart/metrics-mini-app": "0.9.33",
"@walmart/mod-flex-mini-app": "1.2.7",
"@walmart/moment-walmart": "1.0.4",
"@walmart/OneWalmart-MiniApp": "1.0.12",
@@ -5253,9 +5253,9 @@
}
},
"node_modules/@walmart/metrics-mini-app": {
- "version": "0.9.32",
- "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.32.tgz",
- "integrity": "sha512-TEyG8Nz216ECPEaZY0EzU0jym+BHYBihZQv5jSB5/mbFFRkIiafHXFIAThTljg4Nflv5TjUjRglzghjadEWxHw==",
+ "version": "0.9.33",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.33.tgz",
+ "integrity": "sha512-2vtk0gMwHAbWcwVI/o1jcSUwWaWXgPmSO764N6USPto00OS19H1PVAiR19TFJ0m9NV307Kzknbou0GJR8XXfiw==",
"dependencies": {
"@types/base-64": "^1.0.0",
"apisauce": "1.1.2",
@@ -24859,9 +24859,9 @@
"integrity": "sha512-ERQVQCZSYCKEZwgSAlPgAx0qKtqGudUA53rfxZ3RgDznTDqoaxmXG6aA3iCtfZpoF2RKr7CAKc/RYABitQdt4g=="
},
"@walmart/metrics-mini-app": {
- "version": "0.9.32",
- "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.32.tgz",
- "integrity": "sha512-TEyG8Nz216ECPEaZY0EzU0jym+BHYBihZQv5jSB5/mbFFRkIiafHXFIAThTljg4Nflv5TjUjRglzghjadEWxHw==",
+ "version": "0.9.33",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.33.tgz",
+ "integrity": "sha512-2vtk0gMwHAbWcwVI/o1jcSUwWaWXgPmSO764N6USPto00OS19H1PVAiR19TFJ0m9NV307Kzknbou0GJR8XXfiw==",
"requires": {
"@types/base-64": "^1.0.0",
"apisauce": "1.1.2",
--- package.json
@@ -100,7 +100,7 @@
"@walmart/iteminfo-mini-app": "6.0.1",
"@walmart/manager-approvals-miniapp": "0.1.1",
"@walmart/me-field-mini-app": "1.1.35",
- "@walmart/metrics-mini-app": "0.9.32",
+ "@walmart/metrics-mini-app": "0.9.33",
"@walmart/mod-flex-mini-app": "1.2.7",
"@walmart/moment-walmart": "1.0.4",
"@walmart/pay-stub-miniapp": "0.9.5",
| bumping metrics version | bumping metrics version
|
3776bd94935a1a96469397ebeaee5e5d51505aef | --- packages/allspark-app-auth/src/context.tsx
@@ -1,40 +0,0 @@
-import React, {
- createContext,
- PropsWithChildren,
- useContext,
- useEffect,
-} from 'react';
-import { AppAuth, IAppAuth } from './appAuth';
-
-export const AuthContext = createContext<IAppAuth>(AppAuth);
-
-export const useAuth = () => {
- const context = useContext(AuthContext);
- if (!context) {
- throw new Error('useAuth must be used within an AuthProvider');
- }
- return context;
-};
-
-/**
- * @description Sets up the Auth context. Optional proxy prop to
- * override or extend instance methods.
- */
-export const AuthProvider = (
- props: PropsWithChildren<{
- proxy?: Partial<IAppAuth>;
- }>
-) => {
- const { proxy, children } = props;
-
- useEffect(() => {
- if (proxy) {
- AppAuth.proxy(proxy);
- }
- // eslint-disable-next-line react-hooks/exhaustive-deps
- }, []);
-
- return (
- <AuthContext.Provider value={AppAuth}>{children}</AuthContext.Provider>
- );
-};
--- packages/allspark-app-auth/src/index.ts
@@ -9,8 +9,6 @@ import { AppAuth, IAppAuth } from './appAuth';
export { AuthEvents };
-export * from './context';
-
export type {
AuthEvent,
AuthEventListener,
| fix: remove context from app auth | fix: remove context from app auth
|
287c9d30806250a16a3363f515e9ddcbbf276361 | --- env.beta.js
@@ -1,6 +1,6 @@
// Environment Overrides for Beta
export default {
- env: 'beta',
+ deployment: 'beta',
graphql: {
url: 'https://developer.api.us.walmart.com/api-proxy/service/ATHENA/GATEWAY/v1',
headers: {
--- env.dev.js
@@ -1,6 +1,6 @@
// Environment Overrides for Dev
export default {
- env: 'dev',
+ deployment: 'dev',
graphql: {
// url: 'https://developer.api.us.stg.walmart.com/api-proxy/service/ATHENA/GATEWAY/v1',
url: 'https://athena-gateway.sstage.us.walmart.net',
--- env.prod.js
@@ -1,6 +1,6 @@
// Environment Overrides for Prod
export default {
- env: 'prod',
+ deployment: 'prod',
graphql: {
url: 'https://developer.api.us.walmart.com/api-proxy/service/ATHENA/GATEWAY/v1',
headers: {
--- env.teflon.js
@@ -1,6 +1,6 @@
// Environment Overrides for Teflon
export default {
- env: 'teflon',
+ deployment: 'teflon',
graphql: {
url: 'https://developer.api.us.stg.walmart.com/api-proxy/service/ATHENA/GATEWAY/v1',
headers: {
--- src/index.tsx
@@ -42,7 +42,7 @@ export class BaseApp extends Component {
render() {
return (
<MeAtWalmartContainer.Provider
- env={env.env as EnvironmentType}
+ env={env.deployment as EnvironmentType}
environmentOverrides={env as Partial<IMeAtWalmartEnvironment>}>
<RootStackNavigation />
</MeAtWalmartContainer.Provider>
| fix: adjusting env overrides for beta prod disconnect | fix: adjusting env overrides for beta prod disconnect
|
1a04aaa80c4a175315f69a39cbc08a5921cabd64 | --- package.json
@@ -154,7 +154,7 @@
"@walmart/time-clock-mini-app": "2.462.1",
"@walmart/time-clock-mini-app-next": "2.812.1",
"@walmart/topstock-mini-app": "1.22.3",
- "@walmart/translator-mini-app": "1.4.2",
+ "@walmart/translator-mini-app": "1.4.5",
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.23.1#~/.yarn/patches/@walmart-ui-components-npm-1.23.1-247996ccb0.patch",
"@walmart/walmart-fiscal-week": "^0.3.6",
"@walmart/welcomeme-mini-app": "1.0.12",
@@ -255,7 +255,7 @@
"react-native-wm-network": "6.3.17",
"react-native-wm-notification": "6.3.17",
"react-native-wm-telemetry": "6.3.17",
- "react-native-wm-voice-text": "1.0.4",
+ "react-native-wm-voice-text": "1.1.3",
"react-redux": "^8.1.3",
"realm": "12.14.1",
"redux": "^4.2.1",
--- yarn.lock
@@ -8387,7 +8387,7 @@ __metadata:
"@walmart/time-clock-mini-app": "npm:2.462.1"
"@walmart/time-clock-mini-app-next": "npm:2.812.1"
"@walmart/topstock-mini-app": "npm:1.22.3"
- "@walmart/translator-mini-app": "npm:1.4.2"
+ "@walmart/translator-mini-app": "npm:1.4.5"
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.23.1#~/.yarn/patches/@walmart-ui-components-npm-1.23.1-247996ccb0.patch"
"@walmart/walmart-fiscal-week": "npm:^0.3.6"
"@walmart/welcomeme-mini-app": "npm:1.0.12"
@@ -8503,7 +8503,7 @@ __metadata:
react-native-wm-network: "npm:6.3.17"
react-native-wm-notification: "npm:6.3.17"
react-native-wm-telemetry: "npm:6.3.17"
- react-native-wm-voice-text: "npm:1.0.4"
+ react-native-wm-voice-text: "npm:1.1.3"
react-redux: "npm:^8.1.3"
react-test-renderer: "npm:18.2.0"
reactotron-react-native: "npm:^5.1.12"
@@ -9429,9 +9429,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/translator-mini-app@npm:1.4.2":
- version: 1.4.2
- resolution: "@walmart/translator-mini-app@npm:1.4.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftranslator-mini-app%2F-%2Ftranslator-mini-app-1.4.2.tgz"
+"@walmart/translator-mini-app@npm:1.4.5":
+ version: 1.4.5
+ resolution: "@walmart/translator-mini-app@npm:1.4.5::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftranslator-mini-app%2F-%2F%40walmart%2Ftranslator-mini-app-1.4.5.tgz"
peerDependencies:
"@react-native-async-storage/async-storage": ^2.0.0
"@react-native-clipboard/clipboard": ^1.14.2
@@ -9444,9 +9444,9 @@ __metadata:
react-native-inappbrowser-reborn: ^3.7.0
react-native-render-html: ^6.1.1
react-native-svg: ">=14.0.0"
- react-native-wm-voice-text: ^1.0.4
+ react-native-wm-voice-text: ^1.1.2
uuid: ">=3.0.0"
- checksum: 10c0/03bc2d56641f414c10483fb57e9051dd1e801e061713e4f9bb7057bdb3a0e51568c39087e03d8c65c9506726230cb556894be086fb388c46aa0ae7b7e74473f1
+ checksum: 10c0/0a65494c5c235f60073790ae4f6ce74b4f69ca0a5f6313f893df8dbe24899a18f5955a4623024d830a380e5edd3197aef94b9f3c9081901c6fc2bc0897bcb6c5
languageName: node
linkType: hard
@@ -20973,13 +20973,14 @@ __metadata:
languageName: node
linkType: hard
-"react-native-wm-voice-text@npm:1.0.4":
- version: 1.0.4
- resolution: "react-native-wm-voice-text@npm:1.0.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Freact-native-wm-voice-text%2F-%2Freact-native-wm-voice-text-1.0.4.tgz"
+"react-native-wm-voice-text@npm:1.1.3":
+ version: 1.1.3
+ resolution: "react-native-wm-voice-text@npm:1.1.3::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Freact-native-wm-voice-text%2F-%2Freact-native-wm-voice-text-1.1.3.tgz"
peerDependencies:
+ "@react-navigation/native": "*"
react: "*"
react-native: "*"
- checksum: 10c0/968d847570e4aa3073cf810623a95b428053ceea7635f67f82e92d8a3ec2a569f79d67b0e68af41671b5bbd67d54d06b339927c777d6121337f4baf85ea7919e
+ checksum: 10c0/59f17b9c430e160ee61f31b6ab5f1821e297dcd110c6d24c3059bf08b518a0ea48a85e9a22a048767607cf0fe77aa6b123681c154114a7dd587c4585625898b7
languageName: node
linkType: hard
| feat: MYAT-1371 adding 3 second idle cutoff for mic (#4172) | feat: MYAT-1371 adding 3 second idle cutoff for mic (#4172)
Co-authored-by: Sushrut Palatkar - s0p0fos <Sushrut.Palatkar@walmart.com>
Co-authored-by: Shubhang Shah - s0s0zug <Shubhang.Shah@walmart.com>
Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com> |
eeafe1cd1b5cc695d8aea677c8eda8f603d849df | --- src/navigation/index.tsx
@@ -6,10 +6,10 @@ import {GestureHandlerRootView} from 'react-native-gesture-handler';
import {Header} from '@walmart/ui-components';
import {RenderGuard} from '@walmart/allspark-utils';
-// import {
-// useMinimizedCallView,
-// useCallEventListeners,
-// } from '@walmart/calling-mini-app';
+import {
+ useMinimizedCallView as getMinimizedCallView,
+ useCallEventListeners as getCallEventListeners,
+} from '@walmart/calling-mini-app';
import {UpdateVersionModal} from '../updates/UpdateVersionModal';
import {
@@ -53,12 +53,15 @@ const RootStack = createStackNavigator<RootStackMap>();
const styles = StyleSheet.create({gestureRootView: {flex: 1}});
+// These are not actually hooks. They return static components that are at risk of being recreated on every render
+// if treated as hooks. These components should just be exported directly from the calling-mini-app package. Treating
+// them as creators and calling outside of the render until then.
+const {MinimizedCallView} = getMinimizedCallView();
+const {CallListeners} = getCallEventListeners();
+
export const RootStackNavigation = () => {
const isAppAccessible = useSelector(getIsAppAccessible);
- // const {MinimizedCallView} = useMinimizedCallView();
- // const {CallListeners} = useCallEventListeners();
-
/**
* Hide Splash Screen once root navigation is mounted
*/
@@ -212,9 +215,9 @@ export const RootStackNavigation = () => {
)}
</RootStack.Navigator>
{/* Minimized view of an ongoing call, can be moved so that associate can work on other mini apps while on an active call. */}
- {/* <MinimizedCallView /> */}
+ <MinimizedCallView />
{/* Event listeners required for an active call, having it here allows call support even without user navigating to Calls mini app */}
- {/* <CallListeners /> */}
+ <CallListeners />
{/* Modal to prompt for app update. TODO: Refactor this to use NavigationClient modal or dynamic render screen */}
<UpdateVersionModal />
</RenderGuard>
| fix: change calling hooks to avoid component recreation | fix: change calling hooks to avoid component recreation
|
31d461aeba98517c8ab60a3603b224d09ac65686 | --- targets/US/package.json
@@ -143,7 +143,7 @@
"@walmart/roster-mini-app": "2.8.2",
"@walmart/schedule-mini-app": "0.118.0",
"@walmart/shelfavailability-mini-app": "1.5.33",
- "@walmart/sidekick-mini-app": "4.80.3",
+ "@walmart/sidekick-mini-app": "4.81.4",
"@walmart/store-feature-orders": "1.26.12",
"@walmart/taskit-mini-app": "patch:@walmart/taskit-mini-app@npm%3A3.3.0#~/.yarn/patches/@walmart-taskit-mini-app-npm-3.3.0-a2dd632c59.patch",
"@walmart/time-clock-mini-app": "2.400.0",
--- yarn.lock
@@ -6851,7 +6851,7 @@ __metadata:
"@walmart/roster-mini-app": "npm:2.8.2"
"@walmart/schedule-mini-app": "npm:0.118.0"
"@walmart/shelfavailability-mini-app": "npm:1.5.33"
- "@walmart/sidekick-mini-app": "npm:4.80.3"
+ "@walmart/sidekick-mini-app": "npm:4.81.4"
"@walmart/store-feature-orders": "npm:1.26.12"
"@walmart/taskit-mini-app": "patch:@walmart/taskit-mini-app@npm%3A3.3.0#~/.yarn/patches/@walmart-taskit-mini-app-npm-3.3.0-a2dd632c59.patch"
"@walmart/time-clock-mini-app": "npm:2.400.0"
@@ -7721,9 +7721,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/sidekick-mini-app@npm:4.80.3":
- version: 4.80.3
- resolution: "@walmart/sidekick-mini-app@npm:4.80.3"
+"@walmart/sidekick-mini-app@npm:4.81.4":
+ version: 4.81.4
+ resolution: "@walmart/sidekick-mini-app@npm:4.81.4"
peerDependencies:
"@apollo/client": "*"
"@react-navigation/native": ^6.0.0
@@ -7736,7 +7736,7 @@ __metadata:
expo-linear-gradient: ~12.3.0
react: ^18.2.0
react-native: ^0.73.7
- checksum: 10c0/71dd244b1a66dff400e30d2494a6d1fc9ecc86a915240445bf488906706dd6b0124296d39831c301aa0239d2bd839e71fdbf4e2aa69165e4344e4bafd4ed2a29
+ checksum: 10c0/1795badc753e9d8292fadf52cd0a8cdde98e737ac36324c06d56b841e7eb8e8c13cac6cf39e162a97544dbae8c7b76ea066b695de437d28672d337e86e38a82a
languageName: node
linkType: hard
| chore: bump sidekick@4.81.4 | chore: bump sidekick@4.81.4
|
723dabe407ef21252543c6742987aebabe359da4 | --- packages/wmconnect-mini-app/src/Translations/index.ts
--- packages/wmconnect-mini-app/src/Translations/locales/en-US.json
--- packages/wmconnect-mini-app/src/Translations/locales/es-MX.json
--- packages/wmconnect-mini-app/src/Translations/locales/translations.d.ts
| fix: correct Translations directory casing to match roster-miniapp | fix: correct Translations directory casing to match roster-miniapp
|
7089738bf5e58dcaa1a3d312de8c7e09aa03004f | --- src/core/versionsInit.ts
@@ -16,6 +16,7 @@ const miniApps = [
'@walmart/time-clock-mini-app',
'@walmart/feedback-all-spark-miniapp',
'@walmart/settings-mini-app',
+ '@walmart/refrigeration-alarms-mini-app',
'@walmart/exception-mini-app',
'@walmart/iteminfo-mini-app',
'@walmart/shelfavailability-mini-app',
@@ -26,6 +27,7 @@ const miniApps = [
'@walmart/manager-approvals-miniapp',
'@walmart/metrics-mini-app',
'@walmart/price-changes-mini-app',
+ '@walmart/price-changes-mini-app',
];
export async function setupAppVersions() {
--- src/translations/en-US.ts
@@ -20,6 +20,7 @@ export const enUS = {
'@walmart/counts-component-miniapp': 'Counts',
'@walmart/manager-approvals-miniapp': 'Manager Approvals',
'@walmart/price-changes-mini-app': 'Price Changes',
+ '@walmart/refrigeration-alarms-mini-app': 'Refrigeration Alarms',
},
navigation: {
main: 'Me@Walmart',
--- src/translations/es-MX.ts
@@ -20,6 +20,7 @@ export const esMX = {
'@walmart/counts-component-miniapp': 'Counts',
'@walmart/manager-approvals-miniapp': 'Manager Approvals',
'@walmart/price-changes-mini-app': 'Cambios de precios',
+ '@walmart/refrigeration-alarms-mini-app': 'Alarmas de Refrigeración',
},
navigation: {
main: 'Me@Walmart',
| Add refrigerations alarms to versionInt | Add refrigerations alarms to versionInt
|
444822df6a368df84eb4d46096d0aadba1807c2b | --- package-lock.json
@@ -47,7 +47,7 @@
"@walmart/calling-mini-app": "0.1.13",
"@walmart/compass-sdk-rn": "5.18.15",
"@walmart/config-components": "4.2.17",
- "@walmart/copilot-mini-app": "3.70.2",
+ "@walmart/copilot-mini-app": "3.70.3",
"@walmart/core-services": "~2.3.0",
"@walmart/core-services-allspark": "~2.13.11",
"@walmart/core-utils": "~2.0.5",
@@ -8678,9 +8678,9 @@
}
},
"node_modules/@walmart/copilot-mini-app": {
- "version": "3.70.2",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.70.2.tgz",
- "integrity": "sha512-qsgwhwHn2WWfP4KLbYJCsk4x576IRY8xm4CQt1osoxC4vz7/P6NdKaDDVUzKvW8d78CBPaeNbghsWeS+ifuS7Q==",
+ "version": "3.70.3",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.70.3.tgz",
+ "integrity": "sha512-jzWVQvFH9+uo/cVgIBaadelcFssizal6fnt+70S3b1+uohArFmoJksPAE7+r8ttX9UKvqlBe4wkJ9CpD6d+peQ==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -33180,9 +33180,9 @@
}
},
"@walmart/copilot-mini-app": {
- "version": "3.70.2",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.70.2.tgz",
- "integrity": "sha512-qsgwhwHn2WWfP4KLbYJCsk4x576IRY8xm4CQt1osoxC4vz7/P6NdKaDDVUzKvW8d78CBPaeNbghsWeS+ifuS7Q=="
+ "version": "3.70.3",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.70.3.tgz",
+ "integrity": "sha512-jzWVQvFH9+uo/cVgIBaadelcFssizal6fnt+70S3b1+uohArFmoJksPAE7+r8ttX9UKvqlBe4wkJ9CpD6d+peQ=="
},
"@walmart/core-services": {
"version": "2.3.2",
--- package.json
@@ -88,7 +88,7 @@
"@walmart/calling-mini-app": "0.1.13",
"@walmart/compass-sdk-rn": "5.18.15",
"@walmart/config-components": "4.2.17",
- "@walmart/copilot-mini-app": "3.70.2",
+ "@walmart/copilot-mini-app": "3.70.3",
"@walmart/core-services": "~2.3.0",
"@walmart/core-services-allspark": "~2.13.11",
"@walmart/core-utils": "~2.0.5",
| chore: bump copilot@3.70.3 | chore: bump copilot@3.70.3
|
c7232c3cb3b15088ea29dd83d9ed6eb0f0e8cd52 | --- core/src/core/CreateGuardedScreens.tsx
@@ -4,14 +4,22 @@ import {StackNavigationOptions} from '@react-navigation/stack';
import {withClockOutGuard} from './ClockOutGuard';
import {withFeatureToggleGuard} from './FeatureToggleGuard';
+import {AllsparkFeatureModule} from '@walmart/allspark-foundation';
-export type ScreenConfig = {
- name: string;
- featureId: string;
- component: ComponentType;
- options?: StackNavigationOptions;
- clockCheckEnabled: boolean;
-};
+export type ScreenConfig =
+ | {
+ name: string;
+ featureId: string;
+ component: ComponentType;
+ options?: StackNavigationOptions;
+ clockCheckEnabled: boolean;
+ }
+ | {
+ featureId?: string;
+ clockCheckEnabled?: boolean;
+ screen: string;
+ featureModule: AllsparkFeatureModule;
+ };
// Wrap a mini app screen component with relevant guards based on config
export const withScreenGuards = <T extends ComponentType<any>>(
@@ -38,6 +46,35 @@ export const createMiniAppScreen = (
Stack: TypedNavigator<any, any, any, any, any>,
config: ScreenConfig,
) => {
+ // Handle feature modules that have migrated to foundation but still need clock/feature guards in Drop 24
+ if ('featureModule' in config) {
+ const {
+ screen,
+ featureId,
+ featureModule,
+ clockCheckEnabled = false,
+ } = config;
+
+ const screenConfig = featureModule.getScreenConfig(screen);
+ if (!screenConfig) {
+ return null;
+ }
+
+ const ScreenComponent = withScreenGuards(screenConfig.getComponent(), {
+ featureId: featureId || featureModule.id,
+ clockCheckEnabled: screenConfig.clockCheckRequired || clockCheckEnabled,
+ });
+
+ return (
+ <Stack.Screen
+ key={screen}
+ name={screen}
+ component={ScreenComponent}
+ options={screenConfig.options}
+ />
+ );
+ }
+
const {name, component, featureId, options = {}, clockCheckEnabled} = config;
const ScreenComponent = withScreenGuards(component, {
--- targets/US/ios/Podfile.lock
@@ -2924,6 +2924,6 @@ SPEC CHECKSUMS:
wifi-store-locator: 501fca0a220c725ed93ab403635c0f246a8ce7e3
Yoga: c716aea2ee01df6258550c7505fa61b248145ced
-PODFILE CHECKSUM: cb246e6a4b567bc76ce34f7c1d86af2023ad1231
+PODFILE CHECKSUM: 79762e92a369aa18acfab74237463b207180b823
COCOAPODS: 1.14.3
| feat: add support for feature modules in create mini app screen method | feat: add support for feature modules in create mini app screen method
|
0fa2e45ec0124004b5fb5c9983572d9ba4de0372 | --- packages/allspark-foundation/__tests__/Device/DeviceModule.test.ts
@@ -0,0 +1,87 @@
+import { ReduxModule } from '../../src/Redux/ReduxModule';
+import { DeviceModule } from '../../src/Device/DeviceModule';
+import { DeviceManager } from '../../src/Device/DeviceManager';
+import { IDeviceService } from '../../src/Device/types';
+import { createMockDeviceService } from '../utils/mockFactories';
+
+describe('DeviceModule', () => {
+ let mockService: IDeviceService;
+
+ beforeAll(() => {
+ // Create a single mock service that will be used across all tests
+ mockService = createMockDeviceService();
+ });
+
+ beforeEach(() => {
+ // Clear mock calls before each test
+ jest.clearAllMocks();
+ });
+
+ it('should provide a singleton instance', () => {
+ const manager1 = DeviceModule.manager;
+ const manager2 = DeviceModule.manager;
+ expect(manager1).toBe(manager2);
+ });
+
+ it('should expose a DeviceManager as the manager', () => {
+ const manager = DeviceModule.manager;
+ expect(manager).toBeInstanceOf(DeviceManager);
+ });
+
+ it('should add device reducer to Redux store on initialization', () => {
+ // Access manager to trigger initialization
+ DeviceModule.manager;
+ expect(ReduxModule.manager.getState().deviceInfo).toBeDefined();
+ });
+
+ it('should inject service into the facade', () => {
+ // Create a spy to verify the facade's setService method is called
+ DeviceModule.manager;
+
+ // Access the private facade to spy on it
+ const facade = (DeviceModule as any).instance._facade;
+ const setServiceSpy = jest.spyOn(facade, 'setService');
+
+ DeviceModule.injectService(mockService);
+
+ expect(setServiceSpy).toHaveBeenCalledWith(mockService);
+ });
+
+ it('should maintain the same instance across multiple accesses', () => {
+ const instance1 = (DeviceModule as any).instance;
+ const instance2 = (DeviceModule as any).instance;
+ expect(instance1).toBe(instance2);
+ });
+
+ it('should create manager with facade and dispatch function', () => {
+ const manager = DeviceModule.manager;
+
+ // Verify that the manager has the expected service (facade)
+ const managerService = (manager as any)._service;
+ const moduleInstance = (DeviceModule as any).instance;
+ expect(managerService).toBe(moduleInstance._facade);
+
+ // Verify that the manager has a dispatch function
+ const managerDispatch = (manager as any)._dispatch;
+ expect(typeof managerDispatch).toBe('function');
+ });
+
+ it('should register the device slice with the correct name and reducer', () => {
+ // Spy on ReduxModule.manager.addReducer to verify it's called correctly
+ const addReducerSpy = jest.spyOn(ReduxModule.manager, 'addReducer');
+
+ // Clear any previous calls
+ addReducerSpy.mockClear();
+
+ // Force re-initialization by clearing the instance
+ (DeviceModule as any)._instance = undefined;
+
+ // Access manager to trigger initialization
+ DeviceModule.manager;
+
+ expect(addReducerSpy).toHaveBeenCalledWith(
+ 'deviceInfo',
+ expect.any(Function)
+ );
+ });
+});
| tests(device): add device module tests | tests(device): add device module tests
|
39551f694524b7a37045c44614185bdc5829e9e7 | --- android/build.gradle
@@ -2,10 +2,10 @@
buildscript {
ext {
- buildToolsVersion = "33.0.0"
+ buildToolsVersion = "31.0.0"
minSdkVersion = 26
- compileSdkVersion = 33
- targetSdkVersion = 33
+ compileSdkVersion = 31
+ targetSdkVersion = 31
kotlinVersion = "1.6.20"
kotlin_version = "1.6.20"
--- android/build.gradle
@@ -2,10 +2,10 @@
buildscript {
ext {
- buildToolsVersion = "33.0.0"
+ buildToolsVersion = "31.0.0"
minSdkVersion = 26
- compileSdkVersion = 33
- targetSdkVersion = 33
+ compileSdkVersion = 31
+ targetSdkVersion = 31
kotlinVersion = "1.6.20"
kotlin_version = "1.6.20"
| Build gradle rolled back | Build gradle rolled back
|
2a096ebe041cc0211c4d2592151eacf4a0da9e2e | --- ios/Podfile.lock
@@ -556,7 +556,7 @@ PODS:
- React-Core
- react-native-wm-app-review (0.4.0):
- React-Core
- - react-native-wm-vizpick-shell (1.1.2-rc.12):
+ - react-native-wm-vizpick-shell (1.1.2):
- React
- react-native-wm-voice-text (1.0.1):
- React
@@ -1231,7 +1231,7 @@ SPEC CHECKSUMS:
react-native-view-shot: 792829857bbb23a9c8acdad9a640554bdee397a3
react-native-webview: d33e2db8925d090871ffeb232dfa50cb3a727581
react-native-wm-app-review: eff89fab61d28c3bf7106419717d4aeb6c5aa6f2
- react-native-wm-vizpick-shell: 9d4c6da354e056ee766d7bfe40c5fab61a502e2d
+ react-native-wm-vizpick-shell: 491602d0508c3106fed07d58397c87b6e9b71c91
react-native-wm-voice-text: 0658ee8e9d8e9e3df0f48dd49115f804ac0e8896
React-perflogger: cce000b5caa4bcecbb29ee9cfdb47f26202d2599
React-RCTActionSheet: ba29f52a82d970e2aba5804490ecaea587c7a751
--- package-lock.json
@@ -81,7 +81,7 @@
"@walmart/shelfavailability-mini-app": "1.5.13",
"@walmart/taskit-mini-app": "2.24.5",
"@walmart/time-clock-mini-app": "2.49.0",
- "@walmart/topstock-mini-app": "1.0.2",
+ "@walmart/topstock-mini-app": "1.0.3",
"@walmart/ui-components": "1.10.1",
"@walmart/welcomeme-mini-app": "0.76.0",
"@walmart/wfm-ui": "0.2.26",
@@ -161,7 +161,7 @@
"react-native-wm-network": "0.2.0",
"react-native-wm-notification": "2.0.1",
"react-native-wm-telemetry": "0.4.0",
- "react-native-wm-vizpick-shell": "1.1.2-rc.12",
+ "react-native-wm-vizpick-shell": "1.1.2",
"react-native-wm-voice-text": "1.0.1",
"react-redux": "^8.0.4",
"realm": "11.2.0",
@@ -6101,9 +6101,9 @@
"license": "GPL-3.0-or-later"
},
"node_modules/@walmart/topstock-mini-app": {
- "version": "1.0.2",
- "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.0.2.tgz",
- "integrity": "sha512-YPjtWOtPcaJ1hQrGTtaQDnTgeEthG1COr6Pmf56U+yiRMNbZ+UACaa6cc0rlZH1Z8IXUs808663hX8y7bVlRyA==",
+ "version": "1.0.3",
+ "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.0.3.tgz",
+ "integrity": "sha512-eN2aSoJGnpuHZRQdc7ZBHqzIRPD5eXIqGmJFgBWRY7QiGjyxxP94/3hAmXpq//i5DrNrg4ptkRLuc5goTPjmuA==",
"dependencies": {
"javascript-time-ago": "^2.5.7"
},
@@ -18359,9 +18359,9 @@
}
},
"node_modules/react-native-wm-vizpick-shell": {
- "version": "1.1.2-rc.12",
- "resolved": "https://npme.walmart.com/react-native-wm-vizpick-shell/-/react-native-wm-vizpick-shell-1.1.2-rc.12.tgz",
- "integrity": "sha512-hodQDYSDFZJMwhqzmQvCvl8LBiDX/c+MzGYztiQNoZ6NNaqgzX7LvsOt0JwhM0hvPE+Fsq72jKVDY3iG5I6hHw==",
+ "version": "1.1.2",
+ "resolved": "https://npme.walmart.com/react-native-wm-vizpick-shell/-/react-native-wm-vizpick-shell-1.1.2.tgz",
+ "integrity": "sha512-AXHIWmBq7WLrW1sJO9+dff6r6VVd0NbO3vt+QA8967ctTTvLhUo8sErZL49I+UvDGS9JRenzAvf3Gphsu/NCxg==",
"license": "UNLICENSED"
},
"node_modules/react-native-wm-voice-text": {
@@ -25408,9 +25408,9 @@
"version": "1.0.4"
},
"@walmart/topstock-mini-app": {
- "version": "1.0.2",
- "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.0.2.tgz",
- "integrity": "sha512-YPjtWOtPcaJ1hQrGTtaQDnTgeEthG1COr6Pmf56U+yiRMNbZ+UACaa6cc0rlZH1Z8IXUs808663hX8y7bVlRyA==",
+ "version": "1.0.3",
+ "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.0.3.tgz",
+ "integrity": "sha512-eN2aSoJGnpuHZRQdc7ZBHqzIRPD5eXIqGmJFgBWRY7QiGjyxxP94/3hAmXpq//i5DrNrg4ptkRLuc5goTPjmuA==",
"requires": {
"javascript-time-ago": "^2.5.7"
}
@@ -33224,9 +33224,9 @@
"version": "0.4.0"
},
"react-native-wm-vizpick-shell": {
- "version": "1.1.2-rc.12",
- "resolved": "https://npme.walmart.com/react-native-wm-vizpick-shell/-/react-native-wm-vizpick-shell-1.1.2-rc.12.tgz",
- "integrity": "sha512-hodQDYSDFZJMwhqzmQvCvl8LBiDX/c+MzGYztiQNoZ6NNaqgzX7LvsOt0JwhM0hvPE+Fsq72jKVDY3iG5I6hHw=="
+ "version": "1.1.2",
+ "resolved": "https://npme.walmart.com/react-native-wm-vizpick-shell/-/react-native-wm-vizpick-shell-1.1.2.tgz",
+ "integrity": "sha512-AXHIWmBq7WLrW1sJO9+dff6r6VVd0NbO3vt+QA8967ctTTvLhUo8sErZL49I+UvDGS9JRenzAvf3Gphsu/NCxg=="
},
"react-native-wm-voice-text": {
"version": "1.0.1"
--- package.json
@@ -123,7 +123,7 @@
"@walmart/shelfavailability-mini-app": "1.5.13",
"@walmart/taskit-mini-app": "2.24.5",
"@walmart/time-clock-mini-app": "2.49.0",
- "@walmart/topstock-mini-app": "1.0.2",
+ "@walmart/topstock-mini-app": "1.0.3",
"@walmart/ui-components": "1.10.1",
"@walmart/welcomeme-mini-app": "0.76.0",
"@walmart/wfm-ui": "0.2.26",
@@ -203,7 +203,7 @@
"react-native-wm-network": "0.2.0",
"react-native-wm-notification": "2.0.1",
"react-native-wm-telemetry": "0.4.0",
- "react-native-wm-vizpick-shell": "1.1.2-rc.12",
+ "react-native-wm-vizpick-shell": "1.1.2",
"react-native-wm-voice-text": "1.0.1",
"react-redux": "^8.0.4",
"realm": "11.2.0",
| fix(update): Update version for shell & topstock mini | fix(update): Update version for shell & topstock mini
|
e3947491b839a0f079451e4f8d9eaa9cf4cf1af0 | --- targets/US/package.json
@@ -108,7 +108,7 @@
"@walmart/functional-components": "~6.3.20",
"@walmart/gta-react-native-calendars": "0.7.0",
"@walmart/gtp-shared-components": "2.2.4",
- "@walmart/ims-print-services-ui": "2.12.0",
+ "@walmart/ims-print-services-ui": "2.15.1",
"@walmart/inbox-mini-app": "0.95.3",
"@walmart/iteminfo-mini-app": "7.16.2",
"@walmart/learning-mini-app": "20.0.32",
--- yarn.lock
@@ -6548,9 +6548,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/ims-print-services-ui@npm:2.12.0":
- version: 2.12.0
- resolution: "@walmart/ims-print-services-ui@npm:2.12.0"
+"@walmart/ims-print-services-ui@npm:2.15.1":
+ version: 2.15.1
+ resolution: "@walmart/ims-print-services-ui@npm:2.15.1"
peerDependencies:
"@react-native-firebase/analytics": ">=10.5.1"
"@react-native-firebase/app": ">=10.5.0"
@@ -6571,7 +6571,7 @@ __metadata:
react-native-segmented-control-tab: ">=4.0.0"
react-native-wm-telemetry: ">=0.2.0"
uuid: ">=3.3.2"
- checksum: 10c0/39cb49e2ff52bacd3766f051507499f6263f7e68870574b972b6d1783159404e7507fdfeadf2f5a4ea7770e14153dca6f24c8c5f025831643abfd1d05d672804
+ checksum: 10c0/abe3e832e62851dc464586016dbdf35ff04dca9d514576bcd8e7387200a5044132eae1b34e274328c0205875946e5d9fb96c38ab2810e7ff9af578801724a387
languageName: node
linkType: hard
@@ -7089,7 +7089,7 @@ __metadata:
"@walmart/functional-components": "npm:~6.3.20"
"@walmart/gta-react-native-calendars": "npm:0.7.0"
"@walmart/gtp-shared-components": "npm:2.2.4"
- "@walmart/ims-print-services-ui": "npm:2.12.0"
+ "@walmart/ims-print-services-ui": "npm:2.15.1"
"@walmart/inbox-mini-app": "npm:0.95.3"
"@walmart/iteminfo-mini-app": "npm:7.16.2"
"@walmart/learning-mini-app": "npm:20.0.32"
| Bump Print UI to v2.15.1 | Bump Print UI to v2.15.1
|
b8d4b2a4f6c60621d99524ed81159043ee282142 | --- example/src/teamHub/screens/screen.tsx
@@ -44,14 +44,6 @@ export const HomeScreen = TeamHub.createScreen(
}>
Team Selection
</Button>
- <Button
- variant="primary"
- UNSAFE_style={{marginBottom: 10}}
- onPress={() =>
- AllsparkNavigationClient.navigate('teamHub.teamSelection')
- }>
- Team Selection
- </Button>
<Button
variant="primary"
UNSAFE_style={{marginBottom: 10}}
| feat: removed duplicate code | feat: removed duplicate code
|
e1589ebd02722df66d31826708bf5f8e25507c98 | --- .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)&&!MAC-LAB-MINI29&&!MAC-LAB-MINI32&&!MAC-LAB-MINI22)
+node: ((osx||stable_osx)&&!MAC-LAB-MINI29&&!MAC-LAB-MINI39&&!MAC-LAB-MINI32&&!MAC-LAB-MINI22)
tools:
android:
@@ -46,7 +46,7 @@ cache:
envs:
global:
variables:
- LOOPER_NODES: "((osx||stable_osx)&&!MAC-LAB-MINI29&&!MAC-LAB-MINI32&&!MAC-LAB-MINI22)"
+ LOOPER_NODES: "((osx||stable_osx)&&!MAC-LAB-MINI29&&!MAC-LAB-MINI39&&!MAC-LAB-MINI32&&!MAC-LAB-MINI22)"
GITHUB_TOKEN: "%{credentials.secret('GITHUB_TOKEN')}"
TMPDIR: /tmp
| removing nodes | removing nodes
|
1d764249e682188f71d751c293614fc02c4d115d | --- graphql.yml
@@ -103,21 +103,21 @@ applications:
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getLoggedInUser.graphql'
tags:
- 'v1'
- # - name: "GetSupplyChainShifts"
- # hash: "b0f8dbb33dfb79cf68890fa719d4a9a6a2ab8e851ea3a81708a31ac9078c988c"
- # queryTemplate: "packages/me-at-walmart-athena-queries/src/getSupplyChainShifts.graphql"
- # tags:
- # - "v1"
- # - name: "getSupplyChainTeamPreference"
- # hash: "61253c3d4d8ab6db774a903969c2f63de9113f44c1947d52c3630dd38ce30839"
- # queryTemplate: "packages/me-at-walmart-athena-queries/src/getSupplyChainTeamPreferenceQuery.graphql"
- # tags:
- # - "v1"
- # - name: "GetSupplyChainTeamsByStore"
- # hash: "74bb80b3180028948952cb07a41ad7a621c0721110520631ee9d871f7a555b67"
- # queryTemplate: "packages/me-at-walmart-athena-queries/src/getSupplyChainTeamsByStore.graphql"
- # tags:
- # - "v1"
+ - name: "GetSupplyChainShifts"
+ hash: "b0f8dbb33dfb79cf68890fa719d4a9a6a2ab8e851ea3a81708a31ac9078c988c"
+ queryTemplate: "packages/me-at-walmart-athena-queries/src/getSupplyChainShifts.graphql"
+ tags:
+ - "v1"
+ - name: "getSupplyChainTeamPreference"
+ hash: "61253c3d4d8ab6db774a903969c2f63de9113f44c1947d52c3630dd38ce30839"
+ queryTemplate: "packages/me-at-walmart-athena-queries/src/getSupplyChainTeamPreferenceQuery.graphql"
+ tags:
+ - "v1"
+ - name: "GetSupplyChainTeamsByStore"
+ hash: "74bb80b3180028948952cb07a41ad7a621c0721110520631ee9d871f7a555b67"
+ queryTemplate: "packages/me-at-walmart-athena-queries/src/getSupplyChainTeamsByStore.graphql"
+ tags:
+ - "v1"
- name: 'getTeamByIdHome'
hash: '6b4b876250309d85dd51831ace4595bd1764b3d41ef7fd65c08df03b4c4982e0'
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getTeamByIdHome.graphql'
@@ -138,8 +138,8 @@ applications:
queryTemplate: "packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql"
tags:
- "v1"
- # - name: "upsertSupplyChainAssociatePreference"
- # hash: "39c45936c3b4d0020c6192b629c29860a30a5f2f70c5297c9e34dcffbaa0c7b0"
- # queryTemplate: "packages/me-at-walmart-athena-queries/src/upsertSupplyChainAssociatePreference.graphql"
- # tags:
- # - "v1"
+ - name: "upsertSupplyChainAssociatePreference"
+ hash: "39c45936c3b4d0020c6192b629c29860a30a5f2f70c5297c9e34dcffbaa0c7b0"
+ queryTemplate: "packages/me-at-walmart-athena-queries/src/upsertSupplyChainAssociatePreference.graphql"
+ tags:
+ - "v1"
| Update graphql yml | Update graphql yml
|
981e4912bf370e0b9f1fd37e61b57b1038facce6 | --- packages/allspark-foundation/__tests__/Site/selectors.test.tsx
@@ -54,18 +54,18 @@ describe('Address and Location Functions', () => {
longitude: -122.4194,
});
- it('should return false if divisionCode does not match one of DC_DIVISION_CODES', () =>{
+ it('should return false if divisionCode does not match one of DC_DIVISION_CODES', () => {
expect(divisionIsDC('1')).toBe(false);
expect(divisionIsDC(undefined)).toBe(false);
- })
+ });
// Tests for divisionIsDC
it('should return true if divisionCode matches one of DC_DIVISION_CODES', () => {
- expect(divisionIsDC('7')).toBe(true);
- expect(divisionIsDC('3')).toBe(true);
- expect(divisionIsDC('13')).toBe(true);
- expect(divisionIsDC('44')).toBe(true);
- })
+ expect(divisionIsDC('7')).toBe(true);
+ expect(divisionIsDC('3')).toBe(true);
+ expect(divisionIsDC('13')).toBe(true);
+ expect(divisionIsDC('44')).toBe(true);
+ });
});
// Tests for divisionIsStore
@@ -122,6 +122,19 @@ describe('Address and Location Functions', () => {
fullName: 'Jane Doe',
},
});
+
+ it('should return false if divisionCode does not match one of DC_DIVISION_CODES', () => {
+ expect(divisionIsDC('1')).toBe(false);
+ expect(divisionIsDC(undefined)).toBe(false);
+ });
+
+ // Tests for divisionIsDC
+ it('should return true if divisionCode matches one of DC_DIVISION_CODES', () => {
+ expect(divisionIsDC('7')).toBe(true);
+ expect(divisionIsDC('3')).toBe(true);
+ expect(divisionIsDC('13')).toBe(true);
+ expect(divisionIsDC('44')).toBe(true);
+ });
});
it('should return false if divisionCode does not match one of DC_DIVISION_CODES', () => {
| feat: update isDC selector for new DC division scope. | feat: update isDC selector for new DC division scope.
|
9dca33c34ff0d4ddf5317fe7068f238a4596fd58 | --- yarn.lock
@@ -42,7 +42,7 @@ __metadata:
rehackt: "npm:^0.1.0"
response-iterator: "npm:^0.2.6"
symbol-observable: "npm:^4.0.0"
- ts-invariant: "npm:^0.10.31.11.2
+ ts-invariant: "npm:^0.10.3"
tslib: "npm:^2.3.0"
zen-observable-ts: "npm:^1.2.5"
peerDependencies:
| Update yarn.lock | Update yarn.lock |
9e193a1082357cca12ed2211e9fce22ce5f8c38e | --- packages/allspark-foundation-hub/__tests__/HubFeature/supplyChain/ShiftFilterList.test.tsx
@@ -60,4 +60,16 @@ describe('ShiftFilterList', () => {
expect(toJSON()).toMatchSnapshot();
});
+ it('Test 2: Calls handleSelectShift when a shift is selected', () => {
+ const { getByTestId } = render(
+ <ShiftFilterList {...mockShiftFilterListProps} />
+ );
+
+ const shift1 = getByTestId('shift-filter-shift1');
+ fireEvent.press(shift1);
+
+ expect(mockShiftFilterListProps.handleSelectShift).toHaveBeenCalledWith(
+ 'shift1'
+ );
+ });
});
| Adding Test 2 for shiftFilterList | Adding Test 2 for shiftFilterList
|
8df11f82f2978e4be6654560ffb96195b0b8411d | --- packages/allspark-foundation/src/GraphQL/client.ts
@@ -43,7 +43,6 @@ export class GraphQLClient extends ApolloClient<NormalizedCacheObject> {
constructor(config: GraphQLClientConfig = {}) {
const {
- connectToDevTools = __DEV__,
cacheConfig,
httpConfig,
persistedQueryConfig,
@@ -59,7 +58,7 @@ export class GraphQLClient extends ApolloClient<NormalizedCacheObject> {
super({
cache,
link: from([persistedQueryLink, dynamicLink, httpLink, ...links]),
- connectToDevTools,
+ connectToDevTools: false,
...restConfig,
});
--- packages/allspark-foundation/src/Redux/client.ts
@@ -43,9 +43,7 @@ export class ReduxStoreClient {
private _store: EnhancedStore;
private _storeOptions: ConfigureStoreOptions;
- constructor(config?: { devTools?: boolean | DevToolsEnhancerOptions }) {
- const { devTools = __DEV__ } = config || {};
-
+ constructor(_?: { devTools?: boolean | DevToolsEnhancerOptions }) {
// Reducer
this._reducers = AllsparkRootReducer;
this._rootReducer = combineReducers(this._reducers);
@@ -61,7 +59,7 @@ export class ReduxStoreClient {
];
this._storeOptions = {
- devTools,
+ devTools: false,
// Custom reducer to handle dynamic reducers, and store reset
reducer: (state: IAllsparkReduxState | undefined, action) => {
let nextState = state;
| refactor: remove automatic connection of graphql and redux clients to dev tools | refactor: remove automatic connection of graphql and redux clients to dev tools
|
7cedc8b302f74d2986178f68341b2c4a2c1eb29d | --- 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.61",
+ "@walmart/metrics-mini-app": "0.9.63",
"@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
|
97d5b13c0b473209e0c0a49c3a1fb7e4e1e361c3 | --- package.json
@@ -109,7 +109,7 @@
"@walmart/global-vpi-mini-app": "1.1.14",
"@walmart/gta-react-native-calendars": "0.7.0",
"@walmart/gtp-shared-components": "2.2.7-rc.0",
- "@walmart/ims-print-services-ui": "2.18.1",
+ "@walmart/ims-print-services-ui": "2.18.2",
"@walmart/inbox-mini-app": "0.98.4",
"@walmart/invue-react-native-sdk": "0.1.26-alpha.8-wt2",
"@walmart/iteminfo-mini-app": "8.2.9",
--- yarn.lock
@@ -6927,9 +6927,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/ims-print-services-ui@npm:2.18.1":
- version: 2.18.1
- resolution: "@walmart/ims-print-services-ui@npm:2.18.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fims-print-services-ui%2F-%2F%40walmart%2Fims-print-services-ui-2.18.1.tgz"
+"@walmart/ims-print-services-ui@npm:2.18.2":
+ version: 2.18.2
+ resolution: "@walmart/ims-print-services-ui@npm:2.18.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fims-print-services-ui%2F-%2F%40walmart%2Fims-print-services-ui-2.18.2.tgz"
peerDependencies:
"@react-native-firebase/analytics": ">=10.5.1"
"@react-native-firebase/app": ">=10.5.0"
@@ -6950,7 +6950,7 @@ __metadata:
react-native-segmented-control-tab: ">=4.0.0"
react-native-wm-telemetry: ">=0.2.0"
uuid: ">=3.3.2"
- checksum: 10c0/24e538d3b384aacc3d54b751e3aace31bd690ed73565596331ce9ad6e646394907709d93d8bfeca7b9406a7eb812beafffada3ea744b2e6e4ca1218ad7a50370
+ checksum: 10c0/a3e9959dea5eb716c64e09deb2fbdcf221d26b8067070c4143908216f3bb3be96cacc74e87d8dcd8064642975dea3f7be92cda1c250027c3124b7047b925abaa
languageName: node
linkType: hard
@@ -7330,7 +7330,7 @@ __metadata:
"@walmart/global-vpi-mini-app": "npm:1.1.14"
"@walmart/gta-react-native-calendars": "npm:0.7.0"
"@walmart/gtp-shared-components": "npm:2.2.7-rc.0"
- "@walmart/ims-print-services-ui": "npm:2.18.1"
+ "@walmart/ims-print-services-ui": "npm:2.18.2"
"@walmart/inbox-mini-app": "npm:0.98.4"
"@walmart/invue-react-native-sdk": "npm:0.1.26-alpha.8-wt2"
"@walmart/iteminfo-mini-app": "npm:8.2.9"
| fix(ui): SSLS-9972 Print UI Drop 29 bugfixes (#4065) | fix(ui): SSLS-9972 Print UI Drop 29 bugfixes (#4065)
* fix: SSLS-9972 Print UI Drop 29 bugfixes
* feat: OPIF-101037 Bump Price Changes version to 1.12.2
* build: SSLS-9972 Revert dependencies, ensure only Print is bumped
---------
Co-authored-by: Pavan Lingamallu - p0l04ug <Pavan.Lingamallu@walmart.com> |
50ac0a1a269d7d0378d0660fa4b1988386a958ba | --- packages/associate-exp-hub-mini-app/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.4.0-alpha.19](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.4.0-alpha.18...@walmart/associate-exp-hub-mini-app@1.4.0-alpha.19) (2025-09-03)
+
+### Features
+
+- **ui:** added redux contract supporting sidekick ([0718b72](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/0718b720aff10887b13af74bab9d1a7fca870397))
+
# [1.4.0-alpha.18](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.4.0-alpha.17...@walmart/associate-exp-hub-mini-app@1.4.0-alpha.18) (2025-09-03)
### Features
--- packages/associate-exp-hub-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-mini-app",
- "version": "1.4.0-alpha.18",
+ "version": "1.4.0-alpha.19",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/associate-exp-hub-mini-app@1.4.0-alpha.19
|
c42dc5d9cc5931b0f13b998392252e9a889bf41d | --- package-lock.json
@@ -9882,20 +9882,6 @@
"integrity": "sha512-bRBcb2T+I88aG74LMVHaKms2p/T8aQd8+BZ7LuuzXlRfog1bMWWn/C5i0HVuvW4RPtXQYgIlGiXVDy9Ir1So/w==",
"license": "MIT"
},
- "node_modules/@react-native/virtualized-lists": {
- "version": "0.72.8",
- "resolved": "https://npme.walmart.com/@react-native/virtualized-lists/-/virtualized-lists-0.72.8.tgz",
- "integrity": "sha512-J3Q4Bkuo99k7mu+jPS9gSUSgq+lLRSI/+ahXNwV92XgJ/8UgOTxu2LPwhJnBk/sQKxq7E8WkZBnBiozukQMqrw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "invariant": "^2.2.4",
- "nullthrows": "^1.1.1"
- },
- "peerDependencies": {
- "react-native": "*"
- }
- },
"node_modules/@react-navigation/core": {
"version": "6.4.10",
"resolved": "https://npme.walmart.com/@react-navigation/core/-/core-6.4.10.tgz",
@@ -31517,7 +31503,6 @@
"@types/lodash": "~4.14.178",
"@types/node": "20.5.9",
"@types/node-fetch": "^2.6.9",
- "@types/react-native": "0.72.6",
"@types/react-redux": "^7.1.9",
"@walmart/gtp-shared-components": "^2.2.0",
"@walmart/react-native-scanner-3.0": "0.3.0",
@@ -32602,15 +32587,6 @@
"dev": true,
"license": "MIT"
},
- "packages/allspark-foundation/node_modules/@types/react-native": {
- "version": "0.72.6",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@react-native/virtualized-lists": "^0.72.4",
- "@types/react": "*"
- }
- },
"packages/allspark-foundation/node_modules/@whatwg-node/events": {
"version": "0.0.3",
"resolved": "https://npme.walmart.com/@whatwg-node/events/-/events-0.0.3.tgz",
--- packages/allspark-authentication/tsconfig.json
@@ -10,6 +10,7 @@
"coverage/*",
"types/*",
"*.js",
- "jest.config.js"
+ "jest.config.js",
+ "__mocks__/*"
]
}
--- packages/allspark-foundation/package.json
@@ -96,7 +96,6 @@
"@types/lodash": "~4.14.178",
"@types/node": "20.5.9",
"@types/node-fetch": "^2.6.9",
- "@types/react-native": "0.72.6",
"@types/react-redux": "^7.1.9",
"@walmart/gtp-shared-components": "^2.2.0",
"@walmart/react-native-scanner-3.0": "0.3.0",
--- packages/allspark-foundation/tsconfig.json
@@ -16,5 +16,6 @@
"__tests__/*",
"coverage/*",
"src/cli/",
+ "__mocks__/*"
]
}
--- packages/allspark-utils/tsconfig.json
@@ -10,6 +10,7 @@
"coverage/*",
"types/*",
"*.js",
- "jest.config.js"
+ "jest.config.js",
+ "__mocks__/*"
]
}
--- packages/me-at-walmart-common/tsconfig.json
@@ -10,6 +10,7 @@
"coverage/*",
"types/*",
"*.js",
- "jest.config.js"
+ "jest.config.js",
+ "__mocks__/*"
]
}
--- packages/me-at-walmart-container/tsconfig.json
@@ -13,5 +13,6 @@
"*.js",
"jest.config.js",
"cli/*",
+ "__mocks__/*"
]
}
| chore: lint and build fixes | chore: lint and build fixes
|
c11f00c95562c690e5e5173deeebc4cbefecde1a | --- docs/CHANGELOG.md
@@ -1,59 +1,3 @@
-# [3.8.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v3.7.0...v3.8.0) (2025-09-22)
-
-
-### Features
-
-* **ui:** updated version ([a2ae244](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/a2ae244c5c0ecc7397a0420b1b34a4a9c8c9cb08))
-
-# [3.7.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v3.6.0...v3.7.0) (2025-09-17)
-
-
-### Bug Fixes
-
-* SMDV-7771 add translation keys ([c27032d](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/c27032daec6effc70201bb4d7bf18a1458c1c92f))
-
-
-### Features
-
-* **ui:** adding new version for drop 34 ([46c5965](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/46c596562e48282a57e3f59e97bf1d8157372868))
-* **ui:** adding new version for drop 34 ([d4fb6d1](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/d4fb6d12c5b4ab951d0abc2b2449e5ba882a640e))
-* **ui:** new version for drop 34 ([24cb9a9](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/24cb9a93e5cf0e80b9c7e6db19400cdee2236be4))
-* **ui:** new version for drop 34 ([c4d0bcd](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/c4d0bcd8ba4f74d9a19b0f315c2058bc029ef120))
-* **ui:** new version for drop 34 ([abffb57](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/abffb57b9e0cfde4fb3e5c2350b1f76143e14486))
-
-# [3.6.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v3.5.0...v3.6.0) (2025-09-05)
-
-
-### Features
-
-* **ui:** updating wmconnect version with firestore changes ([69cfccc](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/69cfccc7cf471ed29baa2cec5d25c2668a741d17))
-
-# [3.5.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v3.4.0...v3.5.0) (2025-08-28)
-
-
-### Bug Fixes
-
-* **ui:** resolving conflicts ([011d6c3](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/011d6c36c2c0959e8ceadcba23c3e32e5fbe18be))
-
-
-### Features
-
-* **ui:** updating wmconnect version ([619ec57](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/619ec577d98ec60eb80f6650a5029db785e6dbec))
-
-# [3.4.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v3.3.0...v3.4.0) (2025-08-25)
-
-
-### Features
-
-* **ui:** creating new roster version ([4d645fc](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/4d645fc628a45cad6b9068152a08851c20e2bc4c))
-* **ui:** updating new version ([7996c0c](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/7996c0cc1bb9c539784704f7dc3d146e2dbc02c3))
-* **ui:** updating new version for drop 33 ([f08938c](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/f08938cbe02dfb7acfca3de550dda4976484eb74))
-* **ui:** updating new version for drop 33 ([423da6c](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/423da6c18126db118edadb300b0dd0a3703240af))
-* **ui:** updating new version for drop 33 ([dbbe3c5](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/dbbe3c572393c6831ad0b79ac7b49e933c4b9060))
-* **ui:** updating roster version for drop 33 ([aa8d4aa](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/aa8d4aabbca10164bacde8e4d42330359e58d1e5))
-* **ui:** updating roster version for drop 33 ([5689c89](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/5689c89198049654d76469ac530506b241e1be4e))
-* **ui:** updating with main branch ([b8d7007](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/b8d7007723678ffc4a73b65e8b878ddf509523e6))
-
# [3.3.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v3.2.0...v3.3.0) (2025-07-22)
--- yarn.lock
@@ -6368,7 +6368,7 @@ __metadata:
"@walmart/react-native-scanner-3.0": "npm:0.10.4"
"@walmart/react-native-sumo-sdk": "npm:2.8.0"
"@walmart/ui-components": "npm:1.15.1"
- "@walmart/wmconnect-mini-app": "npm:3.7.0"
+ "@walmart/wmconnect-mini-app": "npm:3.4.0-alpha.2"
babel-jest: "npm:^29.6.3"
chance: "npm:^1.1.11"
crypto-js: "npm:~4.2.0"
@@ -6451,9 +6451,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:3.7.0":
- version: 3.7.0
- resolution: "@walmart/wmconnect-mini-app@npm:3.7.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.7.0.tgz"
+"@walmart/wmconnect-mini-app@npm:3.4.0-alpha.2":
+ version: 3.4.0-alpha.2
+ resolution: "@walmart/wmconnect-mini-app@npm:3.4.0-alpha.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.4.0-alpha.2.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=6.32.0"
expo: ~52.0.46
@@ -6464,7 +6464,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/981975ee68eda7d59cf3bd337ea9931c4f4abb9ce758ccf2664293da7a93d9dee5950af40e019d2423947548bba23c78b549b5d45240785afee4800090374fd9
+ checksum: 10c0/689f63f126024d93e0b7695062aacb12b90dd16fda2a78902df9eaf18e43bbf85a19e9231ceef42a9ba312435d5d2fff9f9bca71b1dc3f2dc0ba35a9e304b134
languageName: node
linkType: hard
| feat(ada): update versions | feat(ada): update versions
|
28efee60bf26f33217d9784aa74fb1b8452accef | --- yarn.lock
@@ -8429,7 +8429,7 @@ __metadata:
"@walmart/react-native-scanner-3.0": "patch:@walmart/react-native-scanner-3.0@npm%3A0.15.8#~/.yarn/patches/@walmart-react-native-scanner-3.0-npm-0.15.8-6fb92a01bb.patch"
"@walmart/react-native-sumo-sdk": "patch:@walmart/react-native-sumo-sdk@npm%3A2.8.0#~/.yarn/patches/@walmart-react-native-sumo-sdk-npm-2.8.0-31dfe1d845.patch"
"@walmart/ui-components": "npm:1.26.3-423-05e66f8"
- "@walmart/wmconnect-mini-app": "npm:3.7.4"
+ "@walmart/wmconnect-mini-app": "npm:3.7.5"
babel-jest: "npm:^29.6.3"
chance: "npm:^1.1.11"
crypto-js: "npm:~4.2.0"
@@ -8521,9 +8521,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:3.7.4":
- version: 3.7.4
- resolution: "@walmart/wmconnect-mini-app@npm:3.7.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.7.4.tgz"
+"@walmart/wmconnect-mini-app@npm:3.7.5":
+ version: 3.7.5
+ resolution: "@walmart/wmconnect-mini-app@npm:3.7.5::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.7.5.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=7.12.0"
"@walmart/gtp-shared-components": ^2.3.0-rc.0
@@ -8535,7 +8535,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/b0a44b17cac0728ab9be3825e3249a101b4c0dc191beb38f5e8ab8ec07455f8ac971d4e7d7b0af7120b162d43024dbacde0e6c9e4e0147a40a4cfd8d1bfcc070
+ checksum: 10c0/b14fc8b9f0066dc5209b0d00d79a24cc2f28ff0d9af8fead717a8af21cbc50c86da17043727aaf9b67b22bfd721cd2dc74742d222e904b8796d51b8813263da7
languageName: node
linkType: hard
| feat(ui): update tests and lint changes | feat(ui): update tests and lint changes
|
cfabf824faad34f41a992f116f1b0a8a0ab3e08e | --- package-lock.json
@@ -3051,9 +3051,9 @@
"integrity": "sha512-YaTiCgAbfok/KFqRCqrVuffa653FcH6tRvwMKPpj0Dez2hqQmGxAa7rxMj0Z5XeMdFOOgim78Lz5DGdhrnuRyg=="
},
"@walmart/inbox-mini-app": {
- "version": "0.0.34",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.0.34.tgz",
- "integrity": "sha512-fAIwfIsxVb3tMBNTreXjWtmc1YeyKAmknhxI6DfpbTWMgONna9GEmpEPEQs1b6Zob8xuOuNdBdfznJpXOmKqtQ=="
+ "version": "0.0.36",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.0.36.tgz",
+ "integrity": "sha512-L/KGq4L1nKhhxdApAYTumwBhYptM2lNpswCxlyM2u5l/Td5WZCA2av30RT6x9N6hcFR9G5AqcYV6iP/23YGn7A=="
},
"@walmart/moment-walmart": {
"version": "1.0.4",
@@ -3121,9 +3121,9 @@
"integrity": "sha512-/2QStrLatWqZuSGvGhosemz4kt3dg95Zo5TAvE2AV+GOod1Qyuqzbz70/5CAifuAOPTtK/ihXMCj5xwlMA5SVw=="
},
"@walmart/schedule-mini-app": {
- "version": "0.2.36",
- "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.2.36.tgz",
- "integrity": "sha512-Mc+bOpvanzO8+YicXEes0Ir9YV2wiRdzzqq9xv4p8nRE9Fhg2BDK/h/xXy93j0VxwfDs4dlo1XfRQZknSm9pcA==",
+ "version": "0.2.38",
+ "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.2.38.tgz",
+ "integrity": "sha512-oIskeDydw05dBmsds8by07/CQ+vzBnsSq2ifepvtr4qCBDrkUdRwxlmKbd1YE1eAry2L8QgQVEmImYlWi+OQXQ==",
"requires": {
"@walmart/moment-walmart": "^1.0.4",
"@walmart/wfm-ui": "^0.1.29",
@@ -3161,9 +3161,9 @@
"integrity": "sha512-lYh4gj+ie2/KP1LzWUWW5hyS6DTUZez1Q4MIx9YUJaXCKU6knb9u746g9D3Q8yj/6u8+XiEL32kDJh/kKcCxBA=="
},
"@walmart/wfm-ui": {
- "version": "0.1.29",
- "resolved": "https://npme.walmart.com/@walmart/wfm-ui/-/wfm-ui-0.1.29.tgz",
- "integrity": "sha512-wY9LXaRs7laOk2cCFWugiJosW7+z7yQqTRDN2bwTxODOKEg6f6c1p/LP8ELYi/lVAKuxPhwJkUCvRdaqvfbJsA==",
+ "version": "0.1.33",
+ "resolved": "https://npme.walmart.com/@walmart/wfm-ui/-/wfm-ui-0.1.33.tgz",
+ "integrity": "sha512-i77QGnSz7E5rcoFQlIYFhYkMAvMiu1GZSg/mTxxIjOdS7zDPLMvEElw1IMtxVj61R/TU0D37YnhCWuiHBl+9GQ==",
"requires": {
"@walmart/gtp-shared-components": "^0.2.2",
"@walmart/moment-walmart": "1.0.3",
--- package.json
@@ -54,14 +54,14 @@
"@walmart/functional-components": "^1.0.22",
"@walmart/gtp-shared-components": "^0.2.2",
"@walmart/impersonation-mini-app": "1.0.5",
- "@walmart/inbox-mini-app": "0.0.34",
+ "@walmart/inbox-mini-app": "0.0.36",
"@walmart/moment-walmart": "1.0.4",
"@walmart/push-to-talk-mini-app": "0.0.73",
"@walmart/react-native-env": "^0.1.0",
"@walmart/react-native-logger": "^1.17.0",
"@walmart/react-native-shared-navigation": "^0.2.0",
"@walmart/redux-store": "^1.0.11",
- "@walmart/schedule-mini-app": "0.2.36",
+ "@walmart/schedule-mini-app": "0.2.38",
"@walmart/settings-mini-app": "1.1.8",
"@walmart/time-clock-mini-app": "0.1.6",
"@walmart/welcomeme-mini-app": "0.5.18",
| Bumping schedule-mini-app and inbox-mini-app (#259) | Bumping schedule-mini-app and inbox-mini-app (#259)
|
d666a9969092d707188ee468f061cb18ffc3aa94 | --- package.json
@@ -95,9 +95,9 @@
"@walmart/react-native-shared-navigation": "6.1.4",
"@walmart/react-native-sumo-sdk": "2.8.0",
"@walmart/redux-store": "6.3.29",
- "@walmart/roster-mini-app": "2.41.0",
+ "@walmart/roster-mini-app": "2.42.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "2.37.1",
+ "@walmart/wmconnect-mini-app": "2.38.0",
"babel-jest": "^29.6.3",
"chance": "^1.1.11",
"crypto-js": "~4.2.0",
--- yarn.lock
@@ -7047,9 +7047,9 @@ __metadata:
"@walmart/react-native-shared-navigation": "npm:6.1.4"
"@walmart/react-native-sumo-sdk": "npm:2.8.0"
"@walmart/redux-store": "npm:6.3.29"
- "@walmart/roster-mini-app": "npm:2.41.0"
+ "@walmart/roster-mini-app": "npm:2.42.0"
"@walmart/ui-components": "npm:1.15.1"
- "@walmart/wmconnect-mini-app": "npm:2.37.1"
+ "@walmart/wmconnect-mini-app": "npm:2.38.0"
babel-jest: "npm:^29.6.3"
chance: "npm:^1.1.11"
crypto-js: "npm:~4.2.0"
@@ -7173,9 +7173,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:2.41.0":
- version: 2.41.0
- resolution: "@walmart/roster-mini-app@npm:2.41.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2Froster-mini-app-2.41.0.tgz"
+"@walmart/roster-mini-app@npm:2.42.0":
+ version: 2.42.0
+ resolution: "@walmart/roster-mini-app@npm:2.42.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2Froster-mini-app-2.42.0.tgz"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -7217,7 +7217,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/8d7cfd54359427e0a709694ec5e248cc90ddedbb09dfe00e6ff82390e08fa0d6b01ce71a1088804b2f6c94bc22b06f3cda0b77b319fc7082d62fd2618c1bbb6b
+ checksum: 10c0/ff6cffa67d3e17842dd3ebb9cfaca498372abbbcf7339b1689aaa7970840f43cc228902c3ed79904bc53f91ffa99638909254f399d589a4bf4286b255ab01bec
languageName: node
linkType: hard
@@ -7241,9 +7241,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:2.37.1":
- version: 2.37.1
- resolution: "@walmart/wmconnect-mini-app@npm:2.37.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-2.37.1.tgz"
+"@walmart/wmconnect-mini-app@npm:2.38.0":
+ version: 2.38.0
+ resolution: "@walmart/wmconnect-mini-app@npm:2.38.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-2.38.0.tgz"
dependencies:
expo: "npm:~52.0.46"
react: "npm:18.3.1"
@@ -7258,7 +7258,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/da10edb453595540a412568513b18de5565279ff18dc6dae8af57aa197ed746a0f7832d0aa0e793620421e35ec922522271a6fcd2cf2ed7208e7a315ed62fc98
+ checksum: 10c0/58a47b6336b0cbf858911a481bd8d9af7375a4520f110567643c32cb737aa9a481ce173721c1e08ca4e870ba1eee48d2993d27a54e41293420fb8090664ca818
languageName: node
linkType: hard
| feat(ui): update roster and wmconnect mini app | feat(ui): update roster and wmconnect mini app
|
31558f3b822e248bfa4d3131fa821d8fa5bf5497 | --- package-lock.json
@@ -3089,9 +3089,9 @@
"integrity": "sha512-PaVy13mQ/ehDdi+UiSK0Z4DG1iuL4PId2bYlccy1uHj5FEGW/S2tPrPJL/xIEjv3P6XLQnw/C05OObgyq9RY7A=="
},
"@walmart/counts-component-miniapp": {
- "version": "0.0.11",
- "resolved": "https://npme.walmart.com/@walmart/counts-component-miniapp/-/counts-component-miniapp-0.0.11.tgz",
- "integrity": "sha512-6mn+6g+DjmNh3C26iI+gVE0XZQpnUVIIJJIKr+UX6eYhBmjSxI89C4/8VEr3+slxjAxKdQehgkqYnj5tuJHgxw=="
+ "version": "0.0.13",
+ "resolved": "https://npme.walmart.com/@walmart/counts-component-miniapp/-/counts-component-miniapp-0.0.13.tgz",
+ "integrity": "sha512-+25H67LTPtrwp3AAmNm4E3hzqIJy5G8zhJ804cEj/DsyHH/Kb1HbyehtJ3KWqE2lj/2PlXc0LmGdYGWt+NcWWA=="
},
"@walmart/exception-mini-app": {
"version": "0.17.0",
@@ -3112,9 +3112,9 @@
}
},
"@walmart/gtp-shared-components": {
- "version": "1.1.6",
- "resolved": "https://npme.walmart.com/@walmart/gtp-shared-components/-/gtp-shared-components-1.1.6.tgz",
- "integrity": "sha512-9st+T9tHDfRmpZd0q/FoUXgkX1DExlZ9LV0fSbzrpL0mWPQwIu+5bSrVfaIL9ucfptpf0/wlpWYMmbFesRJfzA==",
+ "version": "1.1.8",
+ "resolved": "https://npme.walmart.com/@walmart/gtp-shared-components/-/gtp-shared-components-1.1.8.tgz",
+ "integrity": "sha512-q3TEibSwqTwXVFj4LqRpX6mSwInN23UBN9Dh2oWuPJnZf923XpDLUC6MtPovVEKHGqvgNyKmQNxAn11JV5hZFg==",
"requires": {
"@react-native-community/datetimepicker": "^3.0.8",
"@react-native-community/picker": "^1.6.5",
--- package.json
@@ -68,11 +68,11 @@
"@walmart/allspark-me-mini-app": "0.1.0",
"@walmart/ask-sam-mini-app": "0.29.10",
"@walmart/config-components": "^1.0.26",
- "@walmart/counts-component-miniapp": "0.0.11",
+ "@walmart/counts-component-miniapp": "0.0.13",
"@walmart/exception-mini-app": "0.17.0",
"@walmart/feedback-all-spark-miniapp": "0.0.50",
"@walmart/functional-components": "1.0.27",
- "@walmart/gtp-shared-components": "^1.1.5",
+ "@walmart/gtp-shared-components": "^1.1.8",
"@walmart/impersonation-mini-app": "1.0.15",
"@walmart/ims-print-services-ui": "0.0.19",
"@walmart/inbox-mini-app": "0.0.94",
| Counts Component Update | Counts Component Update
|
086ad0881b818d171760e50346707b79240a5dae | --- yarn.lock
@@ -6428,7 +6428,7 @@ __metadata:
"@walmart/react-native-shared-navigation": "npm:6.1.4"
"@walmart/react-native-sumo-sdk": "npm:2.6.0"
"@walmart/redux-store": "npm:3.7.0"
- "@walmart/roster-mini-app": "npm:2.12.0-alpha.7"
+ "@walmart/roster-mini-app": "npm:2.12.0-alpha.8"
"@walmart/ui-components": "npm:1.15.1"
"@walmart/wmconnect-mini-app": "npm:2.7.0"
babel-jest: "npm:^29.2.1"
@@ -6610,9 +6610,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:2.12.0-alpha.7":
- version: 2.12.0-alpha.7
- resolution: "@walmart/roster-mini-app@npm:2.12.0-alpha.7"
+"@walmart/roster-mini-app@npm:2.12.0-alpha.8":
+ version: 2.12.0-alpha.8
+ resolution: "@walmart/roster-mini-app@npm:2.12.0-alpha.8"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6654,7 +6654,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/fd88cd5eb4244c3077c7926db7a4da82d347a0ca8d848d2c37fa151df612c49da67be4e3b98331a381525aa4f824be9eabdf647c445dfff678b890f4319b68d6
+ checksum: 10c0/ada3ab6669347d0f03a9f59b8bed0c805fd8d00349dc124d964eaefc371756480870b69fce430d28c33ed70eb045228663dd689ad8141bdafaf91919b72d32d7
languageName: node
linkType: hard
| Update my team mini app version | Update my team mini app version
|
803a67d9f73f1632ac5c72f84d3f82176c3b6d69 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/wmconnect-mini-app",
- "version": "3.4.0",
+ "version": "3.2.0-alpha.6",
"main": "dist/index.js",
"files": [
"dist",
--- yarn.lock
@@ -4100,12 +4100,12 @@ __metadata:
linkType: hard
"@humanfs/node@npm:^0.16.6":
- version: 0.16.6
- resolution: "@humanfs/node@npm:0.16.6::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40humanfs%2Fnode%2F-%2Fnode-0.16.6.tgz"
+ version: 0.16.7
+ resolution: "@humanfs/node@npm:0.16.7::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40humanfs%2Fnode%2F-%2Fnode-0.16.7.tgz"
dependencies:
"@humanfs/core": "npm:^0.19.1"
- "@humanwhocodes/retry": "npm:^0.3.0"
- checksum: 10c0/8356359c9f60108ec204cbd249ecd0356667359b2524886b357617c4a7c3b6aace0fd5a369f63747b926a762a88f8a25bc066fa1778508d110195ce7686243e1
+ "@humanwhocodes/retry": "npm:^0.4.0"
+ checksum: 10c0/9f83d3cf2cfa37383e01e3cdaead11cd426208e04c44adcdd291aa983aaf72d7d3598844d2fe9ce54896bb1bf8bd4b56883376611c8905a19c44684642823f30
languageName: node
linkType: hard
@@ -4134,14 +4134,7 @@ __metadata:
languageName: node
linkType: hard
-"@humanwhocodes/retry@npm:^0.3.0":
- version: 0.3.1
- resolution: "@humanwhocodes/retry@npm:0.3.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40humanwhocodes%2Fretry%2F-%2Fretry-0.3.1.tgz"
- checksum: 10c0/f0da1282dfb45e8120480b9e2e275e2ac9bbe1cf016d046fdad8e27cc1285c45bb9e711681237944445157b430093412b4446c1ab3fc4bb037861b5904101d3b
- languageName: node
- linkType: hard
-
-"@humanwhocodes/retry@npm:^0.4.2":
+"@humanwhocodes/retry@npm:^0.4.0, @humanwhocodes/retry@npm:^0.4.2":
version: 0.4.3
resolution: "@humanwhocodes/retry@npm:0.4.3::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40humanwhocodes%2Fretry%2F-%2Fretry-0.4.3.tgz"
checksum: 10c0/3775bb30087d4440b3f7406d5a057777d90e4b9f435af488a4923ef249e93615fb78565a85f173a186a076c7706a81d0d57d563a2624e4de2c5c9c66c486ce42
| feat(ui): updating version | feat(ui): updating version
|
f3769af3dd1416c5049bf965e9edfa68d87247dc | --- package.json
@@ -171,7 +171,7 @@
"@walmart/store-feature-orders": "1.35.6",
"@walmart/talent-preboarding-mini-app": "1.0.63",
"@walmart/talent-preboarding-shared-utils": "^0.1.114",
- "@walmart/taskit-mini-app": "5.51.0",
+ "@walmart/taskit-mini-app": "5.52.0",
"@walmart/time-clock-feature-app": "1.0.0-beta.10",
"@walmart/time-clock-mini-app": "patch:@walmart/time-clock-mini-app@npm%3A3.19.12#~/.yarn/patches/@walmart-time-clock-mini-app-npm-3.19.12-d3039974f6.patch",
"@walmart/timesheet-feature-app": "0.2.0-beta.17",
--- yarn.lock
@@ -8556,7 +8556,7 @@ __metadata:
"@walmart/store-feature-orders": "npm:1.35.6"
"@walmart/talent-preboarding-mini-app": "npm:1.0.63"
"@walmart/talent-preboarding-shared-utils": "npm:^0.1.114"
- "@walmart/taskit-mini-app": "npm:5.51.0"
+ "@walmart/taskit-mini-app": "npm:5.52.0"
"@walmart/time-clock-feature-app": "npm:1.0.0-beta.10"
"@walmart/time-clock-mini-app": "patch:@walmart/time-clock-mini-app@npm%3A3.19.12#~/.yarn/patches/@walmart-time-clock-mini-app-npm-3.19.12-d3039974f6.patch"
"@walmart/timesheet-feature-app": "npm:0.2.0-beta.17"
@@ -9474,13 +9474,13 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/taskit-mini-app@npm:5.51.0":
- version: 5.51.0
- resolution: "@walmart/taskit-mini-app@npm:5.51.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftaskit-mini-app%2F-%2F%40walmart%2Ftaskit-mini-app-5.51.0.tgz"
+"@walmart/taskit-mini-app@npm:5.52.0":
+ version: 5.52.0
+ resolution: "@walmart/taskit-mini-app@npm:5.52.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftaskit-mini-app%2F-%2F%40walmart%2Ftaskit-mini-app-5.52.0.tgz"
peerDependencies:
"@walmart/allspark-foundation": "*"
"@walmart/gtp-shared-components-3": "*"
- checksum: 10c0/143b70952c1cc04ed7889d187844392dab9c8d46090500f3becdf9d01c9b089328a902efa7c4df9415886be4338813ff152d6aa27920d4f58734f225186d2336
+ checksum: 10c0/0512106d67de5647379541875c5bb9ea92a082039c52a22f068ea1e561ff6927bbe1a81cba875343035ca5068006f2eead1b82d8b490f7c613b77abbd665a4be
languageName: node
linkType: hard
| fix(notes): taskit mini app my walmart2.0 bug fixes (#5225) | fix(notes): taskit mini app my walmart2.0 bug fixes (#5225)
|
bca16294113c73593d8efe7764defb8c4514d1f0 | --- yarn.lock
@@ -8392,9 +8392,12 @@ __metadata:
peerDependencies:
"@react-native-async-storage/async-storage": "*"
"@react-native-community/netinfo": 11.x
- "@react-navigation/drawer": 6.x
- "@react-navigation/native": 6.x
- "@react-navigation/stack": 6.x
+ "@react-native-firebase/analytics": 17.x
+ "@react-native-firebase/app": 17.x
+ "@react-native-picker/picker": "*"
+ "@react-navigation/drawer": 7.x
+ "@react-navigation/native": 7.x
+ "@react-navigation/stack": 7.x
"@walmart/allspark-graphql-client": ">=6.3"
"@walmart/allspark-http-client": ">=6.3"
"@walmart/core-services": ">=6.5"
| chore: fix yarn lock after merge conflicts | chore: fix yarn lock after merge conflicts
|
fef7e08a32ed28f9911300dc82cc30c51c3dd71b | --- package-lock.json
@@ -46,7 +46,7 @@
"@walmart/counts-component-miniapp": "0.1.2",
"@walmart/emergency-mini-app": "1.19.0",
"@walmart/exception-mini-app": "1.0.16",
- "@walmart/facilities-management-miniapp": "0.5.26",
+ "@walmart/facilities-management-miniapp": "0.5.27",
"@walmart/feedback-all-spark-miniapp": "0.9.10",
"@walmart/financial-wellbeing-feature-app": "1.1.2",
"@walmart/functional-components": "2.0.6",
@@ -80,7 +80,7 @@
"@walmart/schedule-mini-app": "0.33.0",
"@walmart/settings-mini-app": "1.12.0",
"@walmart/shelfavailability-mini-app": "1.5.11",
- "@walmart/taskit-mini-app": "0.49.11",
+ "@walmart/taskit-mini-app": "0.49.12",
"@walmart/time-clock-mini-app": "2.25.0",
"@walmart/ui-components": "1.9.0",
"@walmart/welcomeme-mini-app": "0.76.0",
@@ -5070,9 +5070,9 @@
}
},
"node_modules/@walmart/facilities-management-miniapp": {
- "version": "0.5.26",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.26.tgz",
- "integrity": "sha512-0JMTSSuNBAS9CtUd+ydc2Z5X++w6jlW3GEIwLqxHBwn35mPy4SA9eMx1CfdaYC49RNX/BQ4gVWJGNGfnnx6Mfw==",
+ "version": "0.5.27",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.27.tgz",
+ "integrity": "sha512-wAyu5l0mP5YEAueHA6aiZSnAVOqg/kfNwQ9PKma/7v43Er2PZOLhddx+kd7BV2FHma1aNkBiwsCFZ4dt4CQ5jQ==",
"hasInstallScript": true,
"peerDependencies": {
"@react-native-community/async-storage": "^1.12.1",
@@ -6064,9 +6064,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "0.49.11",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.49.11.tgz",
- "integrity": "sha512-D0Oi1XUgIvxIVjQL2wl0nyeTJr0Sqcvtezbag3ZG0tMlwxGJMXNB2PvkQ5n8JBuAV1YRlggsGtIp+yLz+slgCQ==",
+ "version": "0.49.12",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.49.12.tgz",
+ "integrity": "sha512-Qv9d7niybQ9sVyN87KI3gpbSa3I+QVLwf+TjW+l+mgG1LHRUou8uCygL5bfKDOB6acg5FqFKQ+x/ccEv74Fhtg==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
@@ -25325,9 +25325,9 @@
"integrity": "sha512-mzesUeNPUwAWFUrFs6104aZ3NCM5eXa2uD8TrjL+BV+ZVgYG/A58k1xUUxNayw26w7Z41J7m4bxA9ctgNiNVMQ=="
},
"@walmart/facilities-management-miniapp": {
- "version": "0.5.26",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.26.tgz",
- "integrity": "sha512-0JMTSSuNBAS9CtUd+ydc2Z5X++w6jlW3GEIwLqxHBwn35mPy4SA9eMx1CfdaYC49RNX/BQ4gVWJGNGfnnx6Mfw=="
+ "version": "0.5.27",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.27.tgz",
+ "integrity": "sha512-wAyu5l0mP5YEAueHA6aiZSnAVOqg/kfNwQ9PKma/7v43Er2PZOLhddx+kd7BV2FHma1aNkBiwsCFZ4dt4CQ5jQ=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.9.10",
| package lock update | package lock update
|
89c211b08189d52c66953efb9a96ac6d78339dba | --- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.0.16-alpha-11",
+ "version": "1.0.16-alpha-12",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/myteam-mini-app",
- "version": "1.0.16-alpha-11",
+ "version": "1.0.16-alpha-12",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.20.0",
@@ -66,7 +66,7 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "3.7.0",
- "@walmart/roster-mini-app": "1.0.17-alpha-11",
+ "@walmart/roster-mini-app": "1.0.17-alpha-12",
"@walmart/ui-components": "1.15.1",
"@walmart/wmconnect-mini-app": "1.0.16-alpha-11",
"babel-jest": "^29.2.1",
@@ -11817,9 +11817,9 @@
}
},
"node_modules/@walmart/roster-mini-app": {
- "version": "1.0.17-alpha-11",
- "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.17-alpha-11.tgz",
- "integrity": "sha512-JgwCJoAea7CTz8sYEtKE7O7FnvZy9BfTwBrVroXBcWEXxVOzMWpzQGB5Zqn6t91UKdEP414exnDgRJWgpqg+fQ==",
+ "version": "1.0.17-alpha-12",
+ "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.17-alpha-12.tgz",
+ "integrity": "sha512-Zs0PWjxEdoRH4eGwbJl8YmPmQB6Umu9Dse7gZFI0ZyydBIVV4L5TtNzv1ITV5ndy25wywCTD05IxID7/t3vC5w==",
"dev": true,
"hasInstallScript": true
},
@@ -40901,9 +40901,9 @@
}
},
"@walmart/roster-mini-app": {
- "version": "1.0.17-alpha-11",
- "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.17-alpha-11.tgz",
- "integrity": "sha512-JgwCJoAea7CTz8sYEtKE7O7FnvZy9BfTwBrVroXBcWEXxVOzMWpzQGB5Zqn6t91UKdEP414exnDgRJWgpqg+fQ==",
+ "version": "1.0.17-alpha-12",
+ "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.17-alpha-12.tgz",
+ "integrity": "sha512-Zs0PWjxEdoRH4eGwbJl8YmPmQB6Umu9Dse7gZFI0ZyydBIVV4L5TtNzv1ITV5ndy25wywCTD05IxID7/t3vC5w==",
"dev": true
},
"@walmart/ui-components": {
| Update version | Update version
|
a701f899de1e34fecf74247da4a62fbe82b6c2ad | --- core/src/navigation/USHallway/AssociateHallwayNav/MainStackNav.tsx
@@ -538,7 +538,6 @@ const MiniAppScreens = createMiniAppScreens(MainStack, [
export const MainStackNav = () => {
const dispatch = useDispatch();
- console.log('######### Inside MainStackNav!! ##########');
useEffect(() => {
// Signals the completion of startup. This is used to resume the startup flow saga that runs startup side effects
dispatch(ContainerActionCreators.STARTUP_COMPLETE());
--- core/src/navigation/USHallway/AssociateHallwayNav/SideMenuContent.tsx
@@ -56,7 +56,7 @@ export const SCREEN_RENAME_MAP = {
FeatureRestrictions: 'Core.FeatureRestrictions',
WhatsNewModal: 'Core.WhatsNewModal',
ManagerApprovals: 'ma.startManagerApprovals',
- Checkout: 'Checkout.Root',
+ Checkout: 'checkoutFeature.Root',
};
export const SideMenuContent: React.FC<DrawerContentComponentProps> = (
--- core/src/navigation/USHallway/AssociateHallwayNav/types.ts
@@ -85,7 +85,7 @@ export type MainStackMap = CoreAssociateStackMap & {
taskItQuickActions: undefined;
timeClock: undefined;
Topstock: undefined;
- 'Checkout.Root': undefined;
+ 'checkoutFeature.Root': undefined;
Receiving: undefined;
};
| updated the main screen name for checkout | updated the main screen name for checkout
|
268065c0f0659337846a608b9947f4a90441dbdf | --- .looper.multibranch.yml
@@ -296,7 +296,6 @@ flows:
- node(label=$LOOPER_NODES, ws="exclusive"):
- parallel(failsafe):
- call: build-native(ios)
- - call: build-native(android)
- call: run-sonar-analysis
- call: publish-to-hygieia
@@ -515,7 +514,7 @@ flows:
fi
exit 0
- (name cocoapods setup) ./BuildSupport/install-cocoapods.sh
- - (name prepare xcode) sudo /usr/local/bin/xcversion select $TARGET_XCODE
+ - (name prepare xcode) bundle exec fastlane set_xcodeversion version:$TARGET_XCODE
# performs the ios build for the given env
#
--- fastlane/Fastfile
@@ -33,6 +33,11 @@ lane :set_android do |values|
)
end
+desc 'Set xcode version'
+lane :set_xcodeversion do |values|
+ xcversion(version: "13.0")
+end
+
desc 'Evaluate and Set Build Number and Version Code'
lane :set_build do
version_json = read_json(json_path: "#{VERSION_PATH}")
| update hallway | update hallway
|
1c1f41f74797d6cdf66a785896f56543c2322ecf | --- packages/allspark-foundation/src/Network/NetInfoNetworkService.ts
@@ -5,6 +5,7 @@ import {
NetworkStateType,
NetworkWifiState,
NetworkServiceConfig,
+ ConnectionType,
} from './types';
import { SharedPromise } from '@walmart/allspark-utils';
@@ -60,7 +61,7 @@ export class NetInfoNetworkService implements INetworkService {
*/
private _getConnectionType = new SharedPromise(async () => {
const type = await this._config?.getConnectionType?.();
- return type || 'External';
+ return (type || 'External') as ConnectionType;
});
/**
@@ -84,7 +85,7 @@ export class NetInfoNetworkService implements INetworkService {
} catch (error) {
throw new Error(
'NetInfoNetworkService: @react-native-community/netinfo is required but not available. ' +
- 'Please install it or provide a custom implementation of INetworkService.'
+ 'Please install it or provide a custom implementation of INetworkService.'
);
}
};
@@ -109,7 +110,7 @@ export class NetInfoNetworkService implements INetworkService {
state: NetInfoType.NetInfoState
): Promise<NetworkDetails> => {
// Create a new object for the enriched state with required NetworkDetails properties
- const nextState: NetworkDetails = {
+ let nextState: NetworkDetails = {
...state,
// Map NetInfoStateType to NetworkStateType and initialize required properties
type: state.type as unknown as NetworkStateType,
@@ -124,12 +125,12 @@ export class NetInfoNetworkService implements INetworkService {
// Update connection type when needed.
if (typeChanged || isConnectedChanged) {
- await this._updateConnectionType(nextState);
+ nextState = await this._updateConnectionType(nextState);
}
// Process wifi specific details.
if (nextState.type === NetworkStateType.wifi) {
- await this._updateWifiDetails(nextState as NetworkWifiState);
+ nextState = await this._updateWifiDetails(nextState as NetworkWifiState);
}
this._previousNetworkState = nextState;
@@ -142,20 +143,23 @@ export class NetInfoNetworkService implements INetworkService {
*/
private _updateConnectionType = async (
state: NetworkDetails
- ): Promise<void> => {
+ ): Promise<NetworkDetails> => {
+ // Default to 'External' if not connected, unknown connection, or type.
+ let connectionType: ConnectionType = 'External';
+
if (state.isConnected) {
try {
- state.connectionType = await this._getConnectionType.call();
- return;
+ connectionType = await this._getConnectionType.call();
} catch (error) {
this._logger.error(
'NetInfoNetworkService._updateConnectionType: Failed to get connection type.',
{ message: (error as Error).message }
);
+ connectionType = 'External';
}
}
- // Default to 'External' if not connected, unknown connection, or type.
- state.connectionType = 'External';
+
+ return { ...state, connectionType } as NetworkDetails;
};
/**
@@ -164,16 +168,19 @@ export class NetInfoNetworkService implements INetworkService {
*/
private _updateWifiDetails = async (
state: NetworkWifiState
- ): Promise<void> => {
+ ): Promise<NetworkDetails> => {
+ // Default to null
+ let wifiSiteId: string | null = null;
+
if (
this._previousNetworkState?.type === NetworkStateType.wifi &&
this._previousNetworkState?.details.ssid === state.details.ssid &&
this._previousNetworkState?.details.wifiSiteId
) {
- state.details.wifiSiteId = this._previousNetworkState.details.wifiSiteId;
+ wifiSiteId = this._previousNetworkState.details.wifiSiteId;
} else {
try {
- state.details.wifiSiteId = await this._getWifiSiteId.call();
+ wifiSiteId = await this._getWifiSiteId.call();
} catch (error) {
// If we fail to get the wifiSiteId, we can still return the state without
// it, but we log the error for debugging purposes.
@@ -181,9 +188,13 @@ export class NetInfoNetworkService implements INetworkService {
`NetInfoNetworkService._updateWifiDetails: Failed to get wifiSiteId for SSID ${state.details.ssid}.`,
{ message: (error as Error).message }
);
- state.details.wifiSiteId = null;
+ wifiSiteId = null;
}
}
+ return {
+ ...state,
+ details: { ...state.details, wifiSiteId },
+ } as NetworkDetails;
};
/**
| fix(network): net info service failed to update state for internally maintained fields | fix(network): net info service failed to update state for internally maintained fields
|
c15393588e8bb2ebf56d23adc0c485528b74da82 | --- packages/me-at-walmart-geolocation/README.md
@@ -37,25 +37,25 @@ expo install expo-location expo-task-manager
/*
To start using library there is three steps process:
- Defined task
- - Start tracking geofencing
- - Stop tracking geofencing
+ - Start client
+ - Stop client
To define a task:
- 1. Install lib and import MeGeofencingManager class on a top level of your app or on a main local container;
+ 1. Install lib and import MeGeoLocationManager class on a top level of your app or on a main local container;
*/
-import MeGeofencingManager from '@walmart/me-at-walmart-geolocation';
+import MeGeoLocationManager from '@walmart/me-at-walmart-geolocation';
/*
- 2. Create a MeGeofencingManager instance and provide all necessary params to contstructor to configure a necessary geo client (geofencing/geolocation)
- MeGeofencingManager gives you and access to MeGeoLocationTrackingClient or MeGeoFenceClient
+ 2. Create a MeGeoLocationManager instance and provide all necessary params to contstructor to configure a necessary geo client (geofencing/locationTracking)
+ MeGeoLocationManager gives you an access to MeGeoFenceClient and MeGeoLocationTrackingClient
- const manager = new MeGeofencingManager(config)
- export const geoFenceClient = manager.getGeofencesClient()
+ const geoManager = new MeGeoLocationManager(config)
+ export const geoFenceClient = geoManager.getGeofencesClient()
and
- export const geoLocationTrackingClient = manager.getGeoLocationTrackingClient()
+ export const geoLocationTrackingClient = geoManager.getGeoLocationTrackingClient()
- In case if you need to launch multiple geo tasks, considering a performance optimization, please reuse once created client across your code base.
+ In case if you need to launch multiple geo tasks, consider a performance optimization, please reuse once created client across your code base.
*/
export interface IMeGeoLocationManager {
@@ -65,13 +65,10 @@ export interface IMeGeoLocationManager {
}
/*
- 3. Using geoFenceClient/geoLocationTrackingClient client(s) subscribe fencing or location tracking task, using subscribe method of client class and providing a unique taskId, configuration and optional callback which will be triggered when dedicated client event occured.
+ 3. Using geoFenceClient/geoLocationTrackingClient client(s) subscribe fencing or location tracking task, using subscribe method of client class and providing a unique taskId, configuration and optional callback which will be triggered when dedicated event occured on a client.
For a library properly handle a geofencing event a taskId needs to be unique.
- We recommend to use pattern: `[taskIdName]`, where
- - `taskIdName` is the same value as `featureId` in case if this library is used within Allspark app or otherwise an application name,
- and
- For the naming convention, please use snakeCase.
+ We recommend to use pattern: `[taskIdName]`, where `taskIdName` is the same value as `featureId` in case if this library is used within Allspark container or otherwise your application name. For the naming convention, please use snakeCase.
Example: 'myStoreApp', `myCoolApp', `checkout`
DO NOT SUBSCRIBE A TASK INSIDE OF A REACT COMPONENT
@@ -197,7 +194,7 @@ Stops location tracking for the specified task.
```typescript
export type MeGeoUtilsBaseType = {
accuracy: LocationAccuracy;
- logger?: LoggerBaseService | null;
+ logger?: Omit<LoggerBaseService, 'setLogLevel' | 'configure'> | null;
telemetry?: TelemetryBaseService | null;
};
```
@@ -238,7 +235,6 @@ export enum LocationAccuracy {
HIGH = Accuracy.High,
NAVIGATION = Accuracy.BestForNavigation,
}
-
```
## Permissions
@@ -249,10 +245,8 @@ For React-native application which is not using CNG
Add the following to your `Info.plist`:
```xml
-<key>NSLocationWhenInUseUsageDescription</key>
+<key>NSLocationAlwaysAndWhenInUsageDescription</key>
<string>This app needs location access to provide location-based services.</string>
-<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
-<string>This app needs background location access for geofencing features.</string>
```
### Android Setup
@@ -384,11 +378,12 @@ const callback = async ({ region, taskName, eventName }) => {
### Debug Mode
-Enable debug logging in your configuration:
+Provide an optional custome Logger and Telemetry clients in your configuration:
```typescript
const config = {
- isAllsparkLogger: true,
+ logger: config?.loggerClient || null,
+ telemetry: config?.telemetryClient || null,
// ... other config
};
```
@@ -404,6 +399,9 @@ import MeGeoLocationManager from '@walmart/me-at-walmart-geolocation';
import { LoggerBaseService } from '@walmart/allspark-foundation/Logger';
import { TelemetryBaseService } from '@walmart/allspark-foundation/Telemetry';
+const LoggerBaseService = LoggerService.createFeatureInstance(this.id, config);
+const TelemetryBaseService = LoggerService.createFeatureInstance(this.id, config);
+
const geoManager = new MeGeoLocationManager({
accuracy: LocationAccuracy.HIGH,
logger: LoggerBaseService,
| fix(geo): ALLSPARK-0000 geo docs updates (#358) | fix(geo): ALLSPARK-0000 geo docs updates (#358)
Co-authored-by: Maksym Novakh <maksym.novakh@walmart.com> |
77b8a188fa2832ca8f4a75d1a7bf58a53622e837 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.15.33",
+ "version": "1.15.34",
"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.2.7-alpha.7",
+ "@walmart/allspark-foundation-hub": "1.2.7-alpha.8",
"@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.12.35",
+ "@walmart/roster-mini-app": "2.12.36",
"@walmart/ui-components": "1.15.1",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
--- src/hooks/user.ts
@@ -1,15 +1,9 @@
import {useSelector} from 'react-redux';
import {showManagerTeamsHub} from '../redux/selectors';
-import {UserSelectors} from '@walmart/allspark-foundation';
+import {useUserCanSeeHub} from '@walmart/allspark-foundation-hub';
export const useUserCanSeeTeamHub = () => {
const showTeamHub: boolean = useSelector(showManagerTeamsHub);
- const isPeopleLead = useSelector(UserSelectors.getIsUserPeopleLead);
- const isTeamLead = useSelector(UserSelectors.getIsUserTeamLead);
- const isSalaried = useSelector(UserSelectors.getIsUserSalaried);
- const userDomain = useSelector(UserSelectors.getDomain);
- const isHomeOffice = userDomain?.toLowerCase() === 'homeoffice';
- return (
- showTeamHub && (isTeamLead || isSalaried || isPeopleLead || isHomeOffice)
- );
+ const userCanSeeTeamHub = useUserCanSeeHub();
+ return showTeamHub && userCanSeeTeamHub;
};
--- yarn.lock
@@ -5992,63 +5992,25 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation-hub@npm:1.2.7-alpha.7":
- version: 1.2.7-alpha.7
- resolution: "@walmart/allspark-foundation-hub@npm:1.2.7-alpha.7"
+"@walmart/allspark-foundation-hub@npm:1.2.7-alpha.8":
+ version: 1.2.7-alpha.8
+ resolution: "@walmart/allspark-foundation-hub@npm:1.2.7-alpha.8"
dependencies:
- "@apollo/client": "npm:^3.8.6"
- "@graphql-codegen/cli": "npm:^5.0.0"
- "@graphql-codegen/near-operation-file-preset": "npm:^2.5.0"
- "@graphql-codegen/typescript": "npm:^4.0.1"
- "@graphql-codegen/typescript-operations": "npm:^4.0.1"
- "@graphql-codegen/typescript-react-apollo": "npm:^4.1.0"
"@reduxjs/toolkit": "npm:^1.9.7"
"@shopify/flash-list": "npm:~1.6.4"
lodash: "npm:~4.17.21"
namecase: "npm:^1.1.2"
react-redux: "npm:^8.1.3"
- redux: "npm:^4.2.1"
- redux-saga: "npm:^1.2.3"
- typed-redux-saga: "npm:^1.5.0"
peerDependencies:
- "@react-native-async-storage/async-storage": "*"
- "@react-native-community/datetimepicker": "*"
- "@react-native-community/netinfo": 11.x
- "@react-native-firebase/analytics": 17.x
- "@react-native-firebase/app": 17.x
- "@react-native-picker/picker": "*"
- "@react-navigation/drawer": 6.x
"@react-navigation/native": 6.x
- "@react-navigation/stack": 6.x
- "@walmart/allspark-foundation": "*"
- "@walmart/allspark-graphql-client": ">=6"
- "@walmart/allspark-http-client": ">=6"
- "@walmart/allspark-utils": "*"
- "@walmart/core-services": ">=6"
- "@walmart/core-utils": ">=6"
- "@walmart/functional-components": ">=6"
+ "@walmart/allspark-foundation": ">=6.27"
+ "@walmart/allspark-utils": ">=6.5"
"@walmart/gtp-shared-components": ">=2"
- "@walmart/me-at-walmart-athena-queries": "*"
- "@walmart/react-native-env": ">=6"
- "@walmart/react-native-scanner-3.0": ">=0.6.3"
- "@walmart/react-native-shared-navigation": ">=6"
- "@walmart/react-native-sumo-sdk": ^2.7.0
- "@walmart/react-native-wm-network": ">=6"
- "@walmart/react-native-wm-notification": ">=6"
- "@walmart/react-native-wm-telemetry": ">=6"
- "@walmart/redux-store": ">=6"
+ "@walmart/me-at-walmart-athena-queries": ">=6.30"
react: "*"
react-native: "*"
- react-native-apollo-devtools-client: "*"
- react-native-device-info: "*"
- react-native-drop-shadow: "*"
- react-native-flipper: "*"
- react-native-gesture-handler: 2.x
- react-native-get-random-values: 1.x
- react-native-permissions: 3.x
- react-native-reanimated: 3.x
react-native-safe-area-context: 4.x
- checksum: 10c0/63964a418e7efc852ae250e5305924e22ed9141de678fcad3ce7a42564b08845b07d97622264c4464e945dd00b62437a8f38f4d975d74dd5ff2769ec37dd3551
+ checksum: 10c0/d79eb944a09c987c509511e5f4176c18dcdb398a9f15814452b50b9b884831f94a2554d69be3198234ee3e6c46657605e34c86ecf02ab9424661aac26b10ed81
languageName: node
linkType: hard
@@ -6436,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.2.7-alpha.7"
+ "@walmart/allspark-foundation-hub": "npm:1.2.7-alpha.8"
"@walmart/allspark-graphql-client": "npm:^1.4.6"
"@walmart/allspark-http-client": "npm:6.1.4"
"@walmart/config-components": "npm:4.4.0"
@@ -6454,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.12.35"
+ "@walmart/roster-mini-app": "npm:2.12.36"
"@walmart/ui-components": "npm:1.15.1"
babel-jest: "npm:^29.2.1"
chance: "npm:^1.1.11"
@@ -6635,9 +6597,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:2.12.35":
- version: 2.12.35
- resolution: "@walmart/roster-mini-app@npm:2.12.35"
+"@walmart/roster-mini-app@npm:2.12.36":
+ version: 2.12.36
+ resolution: "@walmart/roster-mini-app@npm:2.12.36"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6679,7 +6641,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/1eebe115f6f4c082978569e767ea776cc544d7a5a5379cd5c4c8da622d85e28ebfb1adf3c96775c86c0923b6de16fd8db91c674aa88c89a48149fb451ffac103
+ checksum: 10c0/85b69ea1ae48e8d39acead4d029a7ba6ec2a2f4e00b0c72df8614f7ab49bd6aab9444a4ece7da4576dbdd45e8b985724cce69017e6160cbb1e49bec532fae687
languageName: node
linkType: hard
| Update the roster mini app version | Update the roster mini app version
|
0e71a694fbcfe684aa78e59abc2bb429d08b714b | --- src/containers/Message/index.tsx
@@ -48,8 +48,10 @@ export const Message = ({
audio,
readReceipt,
messageTime,
+ showReadReceipt,
}: LocalMessage) => {
const {t} = useTranslation([TEXTING_I18N_NAMESPACE]);
+ // console.log('ruh001x isLastMessage', isLastMessage, message);
return (
<View
style={[
@@ -80,7 +82,7 @@ export const Message = ({
{audio && <AudioMessage audio={audio} outgoing={isMyMessage} />}
- {!!readReceipt && (
+ {!!readReceipt && showReadReceipt && (
<Caption UNSAFE_style={styles.readReceipt}>
{readReceipt === 'Read'
? t('messageScreen.readReadReceipt')
--- src/types.ts
@@ -52,6 +52,7 @@ export type LocalMessage = FirebaseMessage & {
messagePath: string;
readReceipt?: string;
messageTime?: string;
+ showReadReceipt?: boolean;
};
export type SubscriptionContext<T> = T & {
--- src/utils/messages.ts
@@ -132,5 +132,23 @@ export const createMessageList = (config: {
lastMoment = createdAt;
});
+ // only show readReceipt for the first occurency of that type of readReceipt
+ const readReceiptTracker: string[] = [];
+ messages.forEach((message) => {
+ if (typeof message === 'string') return;
+
+ if (
+ !!message.readReceipt &&
+ readReceiptTracker.includes(message.readReceipt)
+ ) {
+ return;
+ }
+
+ if (message.readReceipt) {
+ readReceiptTracker.push(message.readReceipt);
+ message.showReadReceipt = true;
+ }
+ });
+
return messages;
};
--- src/containers/Message/index.tsx
@@ -48,8 +48,10 @@ export const Message = ({
audio,
readReceipt,
messageTime,
+ showReadReceipt,
}: LocalMessage) => {
const {t} = useTranslation([TEXTING_I18N_NAMESPACE]);
+ // console.log('ruh001x isLastMessage', isLastMessage, message);
return (
<View
style={[
@@ -80,7 +82,7 @@ export const Message = ({
{audio && <AudioMessage audio={audio} outgoing={isMyMessage} />}
- {!!readReceipt && (
+ {!!readReceipt && showReadReceipt && (
<Caption UNSAFE_style={styles.readReceipt}>
{readReceipt === 'Read'
? t('messageScreen.readReadReceipt')
--- src/types.ts
@@ -52,6 +52,7 @@ export type LocalMessage = FirebaseMessage & {
messagePath: string;
readReceipt?: string;
messageTime?: string;
+ showReadReceipt?: boolean;
};
export type SubscriptionContext<T> = T & {
--- src/utils/messages.ts
@@ -132,5 +132,23 @@ export const createMessageList = (config: {
lastMoment = createdAt;
});
+ // only show readReceipt for the first occurency of that type of readReceipt
+ const readReceiptTracker: string[] = [];
+ messages.forEach((message) => {
+ if (typeof message === 'string') return;
+
+ if (
+ !!message.readReceipt &&
+ readReceiptTracker.includes(message.readReceipt)
+ ) {
+ return;
+ }
+
+ if (message.readReceipt) {
+ readReceiptTracker.push(message.readReceipt);
+ message.showReadReceipt = true;
+ }
+ });
+
return messages;
};
| fixing SMDV-4748 | fixing SMDV-4748
|
4ce48cc952185b6efdca3379e8c06fda837ebd0c | --- packages/me-at-walmart-container/src/services/site/fetchSiteInfo.ts
@@ -0,0 +1,45 @@
+import { AllsparkEnvironment } from '@walmart/allspark-foundation/Environment';
+import { AllsparkHttpClient } from '@walmart/allspark-foundation/HTTP';
+import { IMeAtWalmartEnvironment } from '@walmart/me-at-walmart-common';
+import { MeAtWalmartLogger } from '../logger';
+
+export const fetchSiteInfo = async (
+ storeNumber: string,
+ forceRefresh = false
+) => {
+ try {
+ const env =
+ await AllsparkEnvironment.getDeferred<IMeAtWalmartEnvironment>();
+
+ const { status, data = {} } = await AllsparkHttpClient.get(
+ `${env.http.externalUrl}${env.http.bffService}/storeConfigs/v2/store/${storeNumber}`,
+ {
+ headers: {
+ 'Accept': 'application/json',
+ 'wm_consumer.id': env.http.consumerId,
+ },
+ cache: {
+ override: forceRefresh,
+ ttl: 1000 * 60 * 60 * 24 * 7, // 24 hours
+ },
+ timeout: 5000,
+ }
+ );
+ if (status === 200) {
+ MeAtWalmartLogger.debug('Successfully fetched store configs.', {
+ storeNumber,
+ });
+ return data;
+ }
+ MeAtWalmartLogger.warn('No configs exist for this store.', {
+ storeNumber,
+ });
+ } catch (e) {
+ MeAtWalmartLogger.error('Unable to fetch store configs.', {
+ storeNumber,
+ message: (e as Error).message,
+ });
+ }
+
+ return {};
+};
--- packages/me-at-walmart-container/src/services/site/index.ts
@@ -0,0 +1,9 @@
+import { SiteServiceCreator } from '@walmart/allspark-foundation/Site';
+import { fetchSiteInfo } from './fetchSiteInfo';
+
+export const MeAtWalmartSiteService = SiteServiceCreator({
+ fetchHomeSite: fetchSiteInfo,
+ fetchWorkingSite: fetchSiteInfo,
+});
+
+export type IMeAtWalmartSiteService = typeof MeAtWalmartSiteService;
--- packages/me-at-walmart-container/src/services/site/querySiteInfo.ts
@@ -0,0 +1,63 @@
+import { AllsparkGraphQLClient } from '@walmart/allspark-foundation/GraphQL';
+import {
+ BusinessUnitByCountryAndNumberDocument,
+ BusinessUnitByCountryAndNumberQuery,
+} from '@walmart/me-at-walmart-common';
+import { MeAtWalmartLocalStorage } from '../localStorage';
+import { MeAtWalmartLogger } from '../logger';
+import parseBusinessUnitDetail from './transforms';
+
+const STORAGE_KEY = 'storage-appConfig';
+
+export const querySiteInfo = async (
+ storeNumber: string,
+ countryCode: string,
+ forceRefresh = false
+) => {
+ try {
+ if (!forceRefresh) {
+ const cachedResponse = MeAtWalmartLocalStorage.get(STORAGE_KEY);
+ if (cachedResponse) return cachedResponse;
+ }
+
+ const response =
+ await AllsparkGraphQLClient.query<BusinessUnitByCountryAndNumberQuery>({
+ query: BusinessUnitByCountryAndNumberDocument,
+ variables: {
+ businessUnitNbr: storeNumber,
+ countryCode: countryCode,
+ },
+ context: {
+ headers: {},
+ },
+ errorPolicy: 'all',
+ fetchPolicy: forceRefresh ? 'no-cache' : 'cache-first',
+ });
+
+ const storeData = response?.data?.businessUnitByCountryAndNumber;
+
+ if (!storeData) return null;
+
+ const parsedStoreData = parseBusinessUnitDetail(
+ storeData,
+ countryCode,
+ storeNumber
+ );
+
+ await MeAtWalmartLocalStorage.set(
+ STORAGE_KEY,
+ JSON.stringify(parsedStoreData)
+ );
+ MeAtWalmartLogger.debug('Successfully fetched store configs.', {
+ storeNumber,
+ });
+
+ return parsedStoreData;
+ } catch (error) {
+ MeAtWalmartLogger.error('Successfully fetched store configs.', {
+ message: (error as Error).message,
+ storeNumber,
+ });
+ return null;
+ }
+};
--- packages/me-at-walmart-container/src/services/site/transforms.ts
@@ -0,0 +1,107 @@
+import { BusinessUnitByCountryAndNumberQuery } from '@walmart/me-at-walmart-common';
+
+// --- @TODO: Review this transformation logic --- //
+
+type SiteResponse =
+ BusinessUnitByCountryAndNumberQuery['businessUnitByCountryAndNumber'];
+
+export default function parseBusinessUnitDetail(
+ businessUnitDetail: NonNullable<SiteResponse>,
+ countryCode: string,
+ storeNumber: string
+) {
+ if (!businessUnitDetail) {
+ return null;
+ }
+
+ const businessUnit = businessUnitDetail.businessUnit;
+ const facilityLocation = businessUnitDetail.facilityDetails?.[0]?.location;
+ const locationTimeZone = facilityLocation?.locationTimeZone;
+ const locationDSTTimeZone = locationTimeZone?.daylightSavingTimeZone;
+ const facilityLocationCurrency = facilityLocation?.currency;
+ const baseAlignment = businessUnitDetail.baseAlignment;
+
+ return {
+ ...businessUnit,
+ country: countryCode, //this country code needs to 'US' for 'IN' associates
+ siteId: storeNumber,
+ division: businessUnitDetail.baseDivision
+ ? {
+ code: businessUnitDetail.baseDivision.code,
+ description: businessUnitDetail.baseDivision.description,
+ }
+ : null,
+ timeZone: locationTimeZone
+ ? {
+ // @ts-ignore - not part of query, please review
+ standard: locationTimeZone.standard,
+ isDSTObservable: locationTimeZone.isDaylightSavingTimeObservable,
+ dstOffset: locationDSTTimeZone?.daylightSavingTimeOffset,
+ rawOffset: locationDSTTimeZone?.rawOffset,
+ // @ts-ignore - not part of query, please review
+ timeZoneId: locationDSTTimeZone?.timeZoneId,
+ timeZoneCode: locationDSTTimeZone?.timeZoneCode,
+ name: locationDSTTimeZone?.name,
+ }
+ : null,
+ currency: facilityLocationCurrency
+ ? {
+ code: facilityLocationCurrency.code,
+ description: facilityLocationCurrency.description,
+ }
+ : null,
+ specialHours:
+ businessUnit?.specialHours?.map((specialHour) => ({
+ name: specialHour?.name,
+ type: {
+ code: specialHour?.type?.code,
+ description: specialHour?.type?.description,
+ },
+ hoursType: specialHour?.hoursType,
+ operatingHours: {
+ startTime: specialHour?.operatingHours?.startTime,
+ endTime: specialHour?.operatingHours?.endTime,
+ },
+ })) || [],
+ isStoreOpen: businessUnit?.isStoreOpen != null && businessUnit?.isStoreOpen,
+ isTempStore: businessUnit?.isTemporaryStore,
+ contacts:
+ businessUnit?.contact?.map((businessUnitContact) => ({
+ // @ts-ignore - not part of query, please review
+ faxNumber: businessUnitContact?.faxNumber,
+ type: businessUnitContact?.type,
+ name: businessUnitContact?.name
+ ? {
+ // @ts-ignore - not part of query, please review
+ first: businessUnitContact.name.first,
+ // @ts-ignore - not part of query, please review
+ last: businessUnitContact.name.last,
+ fullName: businessUnitContact.name.fullName,
+ }
+ : null,
+ phones:
+ businessUnitContact?.phone?.map((contactPhone) => ({
+ number: contactPhone?.number,
+ type: contactPhone?.type,
+ })) || [],
+ })) || [],
+ location: facilityLocation
+ ? {
+ ...facilityLocation,
+ address: facilityLocation?.locationAddress?.[0],
+ }
+ : null,
+ relocationStoreNumber:
+ // @ts-ignore - not part of query, please review
+ businessUnitDetail.reloFacilityDetails?.relocationDetails?.tempStoreNbr,
+ storeAlignment: {
+ segment: baseAlignment?.segment?.code,
+ businessUnitOrgArea: baseAlignment?.businessUnitOrganizationArea?.code,
+ subDivision: baseAlignment?.subDivision?.code,
+ region: baseAlignment?.region?.code,
+ subRegion: baseAlignment?.subRegion?.code,
+ market: baseAlignment?.market?.code,
+ },
+ divisionDepartments: businessUnitDetail?.division || [],
+ };
+}
| chore: add site info query for eventual transition to graphql call | chore: add site info query for eventual transition to graphql call
|
03f7de74c8637e1dcb4475327544a2f806b37bd7 | --- __tests__/managerExperience/components/FilterChipHeader.test.tsx
@@ -0,0 +1,50 @@
+import React from 'react';
+import {render} from '@testing-library/react-native';
+import {FilterChipHeader} from '../../../src/managerExperience/components/FilterChipHeader';
+
+describe('FilterChipHeader Component', () => {
+ const props = {
+ label: 'Test Label',
+ scheduledAssociates: 42,
+ };
+
+ it('renders correctly with given label and scheduled associates', () => {
+ const {getByTestId, toJSON} = render(<FilterChipHeader {...props} />);
+
+ //Check for the text elements by testID
+ const labelElement = getByTestId('label');
+ const scheduledAssociatesElement = getByTestId('scheduledAssociates');
+
+ expect(labelElement).toBeTruthy();
+ expect(scheduledAssociatesElement).toBeTruthy();
+ expect(toJSON()).toMatchSnapshot();
+ });
+
+ it('applies the correct accessibility labels', () => {
+ const {getByLabelText} = render(<FilterChipHeader {...props} />);
+
+ const labelElement = getByLabelText(props.label);
+ const scheduledAssociatesElement = getByLabelText(
+ props.scheduledAssociates.toString(),
+ );
+
+ expect(labelElement).toBeTruthy();
+ expect(scheduledAssociatesElement).toBeTruthy();
+ });
+
+ it('renders correctly with different props', () => {
+ const newProps = {
+ label: 'New Label',
+ scheduledAssociates: 100,
+ };
+ const {getByTestId, toJSON} = render(<FilterChipHeader {...newProps} />);
+
+ //Check for the text elements by testID
+ const labelElement = getByTestId('label');
+ const scheduledAssociatesElement = getByTestId('scheduledAssociates');
+
+ expect(labelElement).toBeTruthy();
+ expect(scheduledAssociatesElement).toBeTruthy();
+ expect(toJSON()).toMatchSnapshot();
+ });
+});
--- __tests__/managerExperience/components/__snapshots__/FilterChipHeader.test.tsx.snap
@@ -0,0 +1,87 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`FilterChipHeader Component renders correctly with different props 1`] = `
+<View
+ style={
+ {
+ "alignItems": "center",
+ "flexDirection": "row",
+ }
+ }
+>
+ <Text
+ accessibilityLabel="New Label"
+ style={
+ {
+ "color": "#2e2f32",
+ "fontFamily": "Bogle-Bold",
+ "fontSize": 20,
+ "lineHeight": 28,
+ "marginRight": 6,
+ }
+ }
+ testID="label"
+ >
+ New Label
+ </Text>
+ <Text
+ accessibilityLabel="100"
+ style={
+ {
+ "color": "#2e2f32",
+ "fontFamily": "Bogle-Regular",
+ "fontSize": 18,
+ "lineHeight": 28,
+ }
+ }
+ testID="scheduledAssociates"
+ >
+ (
+ 100
+ )
+ </Text>
+</View>
+`;
+
+exports[`FilterChipHeader Component renders correctly with given label and scheduled associates 1`] = `
+<View
+ style={
+ {
+ "alignItems": "center",
+ "flexDirection": "row",
+ }
+ }
+>
+ <Text
+ accessibilityLabel="Test Label"
+ style={
+ {
+ "color": "#2e2f32",
+ "fontFamily": "Bogle-Bold",
+ "fontSize": 20,
+ "lineHeight": 28,
+ "marginRight": 6,
+ }
+ }
+ testID="label"
+ >
+ Test Label
+ </Text>
+ <Text
+ accessibilityLabel="42"
+ style={
+ {
+ "color": "#2e2f32",
+ "fontFamily": "Bogle-Regular",
+ "fontSize": 18,
+ "lineHeight": 28,
+ }
+ }
+ testID="scheduledAssociates"
+ >
+ (
+ 42
+ )
+ </Text>
+</View>
+`;
--- src/managerExperience/components/FilterChipHeader/FilterChipHeader.tsx
@@ -0,0 +1,23 @@
+import React from 'react';
+import {FilterChipHeaderProps} from './types';
+import {Text, View} from 'react-native';
+import {FilterChipHeaderStyles as styles} from './style';
+
+export const FilterChipHeader = ({
+ label,
+ scheduledAssociates,
+}: FilterChipHeaderProps) => {
+ return (
+ <View style={styles.container}>
+ <Text style={styles.label} accessibilityLabel={label} testID='label'>
+ {label}
+ </Text>
+ <Text
+ style={styles.scheduledAssociates}
+ accessibilityLabel={`${scheduledAssociates}`}
+ testID='scheduledAssociates'>
+ ({scheduledAssociates.toString()})
+ </Text>
+ </View>
+ );
+};
--- src/managerExperience/components/FilterChipHeader/index.ts
@@ -0,0 +1 @@
+export {FilterChipHeader} from './FilterChipHeader';
--- src/managerExperience/components/FilterChipHeader/style.ts
@@ -0,0 +1,22 @@
+import {StyleSheet} from 'react-native';
+import {colors} from '@walmart/gtp-shared-components';
+
+export const FilterChipHeaderStyles = StyleSheet.create({
+ container: {
+ flexDirection: 'row',
+ alignItems: 'center',
+ },
+ label: {
+ color: colors.gray['160'],
+ fontSize: 20,
+ lineHeight: 28,
+ fontFamily: 'Bogle-Bold',
+ marginRight: 6,
+ },
+ scheduledAssociates: {
+ color: colors.gray['160'],
+ fontSize: 18,
+ lineHeight: 28,
+ fontFamily: 'Bogle-Regular',
+ },
+});
--- src/managerExperience/components/FilterChipHeader/types.ts
@@ -0,0 +1,4 @@
+export interface FilterChipHeaderProps {
+ label: string;
+ scheduledAssociates: number;
+}
| feat: create filter chip header component | feat: create filter chip header component
|
473bba5828f7a0281c6559e11365ba9b4c8f1a32 | --- src/components/FilterChipGroup/FilterChipGroup.tsx
@@ -5,7 +5,10 @@ import {FilterChip} from '../FilterChip/FilterChip';
import {ScrollView, View, Text} from 'react-native';
import {FilterChipProps, FilterValue} from '../FilterChip/types';
import {useSelector} from 'react-redux';
-import {displayFilterChipCount} from '../../redux/selectors';
+import {
+ displayFilterChipCount,
+ shiftSwitcherEnabled,
+} from '../../redux/selectors';
import {UserSelectors} from '@walmart/allspark-foundation/User';
import {translationClient} from '../../common/translation';
import {CaretDownIcon, Chip} from '@walmart/gtp-shared-components';
@@ -30,6 +33,7 @@ export const FilterChipGroup = ({
const isSalariedOrLead = isTeamLead || isSalaried || isPeopleLead;
const isSiteDC = useSelector(SiteSelectors.getWorkingSiteIsDC);
const showShiftSwitcher = !isPrimaryTeam && !isSalariedOrLead && isSiteDC;
+ const isShiftSwitcherEnabled = useSelector(shiftSwitcherEnabled);
const [selectedShift, setSelectedShift] = useState<ShiftType | undefined>(
undefined,
@@ -79,7 +83,7 @@ export const FilterChipGroup = ({
return (
<View style={styles.filterChipGroupContainer}>
- {showShiftSwitcher && (
+ {isShiftSwitcherEnabled && showShiftSwitcher && (
<>
<Chip
trailing={
--- src/redux/selectors.ts
@@ -76,6 +76,15 @@ export const messageButtonEnabled = createSelector(
),
);
+export const shiftSwitcherEnabled = createSelector(
+ [getRosterConfigData],
+ (state) =>
+ getCCMBooleanStr(
+ state?.enableShiftSwitcher,
+ CCMFallbacks.enableShiftSwitcher,
+ ),
+);
+
export const teamLeadJobDescriptions = createSelector(
[getRosterConfigData],
(state) => {
--- src/utils/ccmFallbacks.ts
@@ -1,6 +1,7 @@
export const CCMFallbacks = {
teamLeadJobDescriptions: ['team lead'],
enableMessageButton: true,
+ enableShiftSwitcher: true,
rmaPath: '/texting/weekly_schedule_link',
showJobDescription: true,
showManagerSchedule: true,
| feat: featureFlags for sc | feat: featureFlags for sc
|
0ed5e77866b1e772b7317379ff6f9221f8d975cf | --- graphql.yml
@@ -36,9 +36,9 @@ applications:
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getLoggedInUser.graphql'
tags:
- 'v1'
- - name: 'GetSupplyChainTeamsByStore'
- hash: '628c21f19457c4deea7fd9d2dd15138c11da598add9f4f67441e0d7d9318c8d1'
- queryTemplate: 'packages/me-at-walmart-athena-queries/src/getSupplyChainTeamsByStore.graphql'
+ - name: 'getSupplyChainTeamPreference'
+ hash: '61253c3d4d8ab6db774a903969c2f63de9113f44c1947d52c3630dd38ce30839'
+ queryTemplate: 'packages/me-at-walmart-athena-queries/src/getSupplyChainTeamPreferenceQuery.graphql'
tags:
- 'v1'
- name: 'getTeamByIdHome'
@@ -78,11 +78,11 @@ applications:
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getAssociateById.graphql'
tags:
- 'v1'
- # - name: "getAssociatePreferences"
- # hash: "38e0530d669fff42cb1dc8e5814369c40c33f6d6a77ed734e039948a0c06e8f4"
- # queryTemplate: "packages/me-at-walmart-athena-queries/src/getAssociatePreference.graphql"
- # tags:
- # - "v1"
+ - name: 'getAssociatePreferences'
+ hash: '38e0530d669fff42cb1dc8e5814369c40c33f6d6a77ed734e039948a0c06e8f4'
+ queryTemplate: 'packages/me-at-walmart-athena-queries/src/getAssociatePreference.graphql'
+ tags:
+ - 'v1'
- name: 'getDailyRosterHome'
hash: '3c492831585580bae535c3386ec48e90c2d1895450016f050653bd51ddf86c21'
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getDailyRosterHome.graphql'
@@ -93,33 +93,28 @@ applications:
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getLoggedInUser.graphql'
tags:
- 'v1'
- # - name: "GetSupplyChainTeamsByStore"
- # hash: "628c21f19457c4deea7fd9d2dd15138c11da598add9f4f67441e0d7d9318c8d1"
- # queryTemplate: "packages/me-at-walmart-athena-queries/src/getSupplyChainTeamsByStore.graphql"
- # tags:
- # - "v1"
+ - name: 'getSupplyChainTeamPreference'
+ hash: '61253c3d4d8ab6db774a903969c2f63de9113f44c1947d52c3630dd38ce30839'
+ queryTemplate: 'packages/me-at-walmart-athena-queries/src/getSupplyChainTeamPreferenceQuery.graphql'
+ tags:
+ - 'v1'
- name: 'getTeamByIdHome'
hash: '6b4b876250309d85dd51831ace4595bd1764b3d41ef7fd65c08df03b4c4982e0'
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getTeamByIdHome.graphql'
tags:
- 'v1'
- # - name: "GetTeamsByStore"
- # hash: "e500ff0792181beb5a6281effd5b5324834295856eaaa4c2af8336f6643a0a44"
- # queryTemplate: "packages/me-at-walmart-athena-queries/src/getTeamsbyStore.graphql"
- # tags:
- # - "v1"
+ - name: 'GetTeamsByStore'
+ hash: 'e500ff0792181beb5a6281effd5b5324834295856eaaa4c2af8336f6643a0a44'
+ queryTemplate: 'packages/me-at-walmart-athena-queries/src/getTeamsbyStore.graphql'
+ tags:
+ - 'v1'
- name: 'upsertAssociatePreference'
hash: '972c522c6ad0675f13587637cff2dd2ed46937a9878a48a66ad2bc2f7d51a036'
queryTemplate: 'packages/me-at-walmart-athena-queries/src/updateAssociatePrivacyPreference.graphql'
tags:
- 'v1'
- # - name: "upsertManagerExperiencePreference"
- # hash: "bdf7ca7ba91a0c700df0b0dbd418064d98ef1c2818688e2a1c9e478d8cc3e1ca"
- # queryTemplate: "packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql"
- # tags:
- # - "v1"
- - name: 'upsertSupplyChainAssociatePreference'
- hash: '39c45936c3b4d0020c6192b629c29860a30a5f2f70c5297c9e34dcffbaa0c7b0'
- queryTemplate: 'packages/me-at-walmart-athena-queries/src/upsertSupplyChainAssociatePreference.graphql'
+ - name: 'upsertManagerExperiencePreference'
+ hash: 'bdf7ca7ba91a0c700df0b0dbd418064d98ef1c2818688e2a1c9e478d8cc3e1ca'
+ queryTemplate: 'packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql'
tags:
- 'v1'
--- packages/me-at-walmart-athena-queries/src/getSupplyChainTeamPreferenceQuery.ts
@@ -17,7 +17,7 @@ export type GetSupplyChainTeamPreferenceQuery = {
__typename: 'MeAtWalmartPreferences';
managerExperiencePreferences?: {
__typename: 'ManagerExperiencePreferences';
- mySupplyChainTeams?: {
+ mySupplyChainTeams?: Array<{
__typename: 'ManagerExperienceSupplyChain';
shiftCodePreference?: Array<string | null> | null;
supplyChainTeamPreference?: Array<{
@@ -26,7 +26,7 @@ export type GetSupplyChainTeamPreferenceQuery = {
countryCode?: string | null;
teamId?: string | null;
} | null> | null;
- } | null;
+ } | null> | null;
} | null;
} | null;
} | null;
| Adding getSupplyChainTeamPreference query | Adding getSupplyChainTeamPreference query
|
e6d4c4969e25f10f094054d570ae951daa8e4e8a | --- src/navigation/AssociateHallwayNav/MainStackNav.tsx
@@ -380,7 +380,7 @@ export const MainStackNav = () => {
/>
<MainStack.Screen
name='itemInfoQuickAction'
- component={ItemInfoMiniApp}
+ component={withClockOutGuard(ItemInfoMiniApp)}
/>
<MainStack.Screen
name='me-field-mini-app'
| adding a clock check for item info quick action | adding a clock check for item info quick action
|
a7e768f444ceadd9fa3b5d2a863870607f651543 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart",
- "version": "1.24.0",
+ "version": "1.25.0",
"private": true,
"workspaces": [
"core",
--- targets/US/android/app/build.gradle
@@ -106,8 +106,8 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 934
- versionName "1.24.0"
+ versionCode 935
+ versionName "1.26.0"
}
signingConfigs {
debug {
--- targets/US/ios/AllSpark/Info.plist
@@ -19,7 +19,7 @@
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<!-- @customization - default: <string>$(MARKETING_VERSION)</string> -->
- <string>1.24.0</string>
+ <string>1.25.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
| update version to 1.25.0 | update version to 1.25.0
|
059f2196faa452c03caf6e7b2803c9aa2e1835c1 | --- src/components/shared/EmptyAllTeams/EmptyAllTeams.tsx
@@ -22,6 +22,8 @@
* // ... render teams
* }
* ```
+ *
+ * @todo TODO: This component needs to be moved to the @walmart/allspark-foundation-hub repo
*/
import React from 'react';
| feat(ui): add zero state for all teams section #SMDV-1234 | feat(ui): add zero state for all teams section #SMDV-1234
|
7bcbc0395ef1a08af3021c0cd73a71a7b759f1d6 | --- package-lock.json
@@ -81,7 +81,7 @@
"@walmart/settings-mini-app": "1.18.1",
"@walmart/shelfavailability-mini-app": "1.5.13",
"@walmart/taskit-mini-app": "2.28.14",
- "@walmart/time-clock-mini-app": "2.85.1",
+ "@walmart/time-clock-mini-app": "2.85.2",
"@walmart/topstock-mini-app": "1.0.5",
"@walmart/ui-components": "1.11.1",
"@walmart/welcomeme-mini-app": "0.76.0",
@@ -6073,9 +6073,9 @@
}
},
"node_modules/@walmart/time-clock-mini-app": {
- "version": "2.85.1",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.85.1.tgz",
- "integrity": "sha512-GB9cxUONeEqLTjAF+NYfJslF0+8Slpvj9urqbhQ46FBc21cgsZWXvtaWD8YsQIsSNspA1PM2HOxgl2rzFq6Xcg==",
+ "version": "2.85.2",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.85.2.tgz",
+ "integrity": "sha512-zVDC4f+RB77zu7nAgGpiwmDWFRr0id1+bJ7xXU5K9foKrvOnSEY9hhUStcZSem/AblbKfBjg8f1JY0jB0sdFvw==",
"hasInstallScript": true,
"license": "UNLICENSED",
"dependencies": {
@@ -25495,9 +25495,9 @@
}
},
"@walmart/time-clock-mini-app": {
- "version": "2.85.1",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.85.1.tgz",
- "integrity": "sha512-GB9cxUONeEqLTjAF+NYfJslF0+8Slpvj9urqbhQ46FBc21cgsZWXvtaWD8YsQIsSNspA1PM2HOxgl2rzFq6Xcg==",
+ "version": "2.85.2",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.85.2.tgz",
+ "integrity": "sha512-zVDC4f+RB77zu7nAgGpiwmDWFRr0id1+bJ7xXU5K9foKrvOnSEY9hhUStcZSem/AblbKfBjg8f1JY0jB0sdFvw==",
"requires": {
"@react-navigation/elements": "^1.3.1",
"moment-timezone": "0.5.33",
--- package.json
@@ -123,7 +123,7 @@
"@walmart/settings-mini-app": "1.18.1",
"@walmart/shelfavailability-mini-app": "1.5.13",
"@walmart/taskit-mini-app": "2.28.14",
- "@walmart/time-clock-mini-app": "2.85.1",
+ "@walmart/time-clock-mini-app": "2.85.2",
"@walmart/topstock-mini-app": "1.0.5",
"@walmart/ui-components": "1.11.1",
"@walmart/welcomeme-mini-app": "0.76.0",
| Update TCMA to 2.85.2 | Update TCMA to 2.85.2
|
81b778bd2182fae441fa67b2c882fd19be0e9ced | --- packages/allspark-foundation/cli/link.js
@@ -1,5 +1,8 @@
#!/usr/bin/env node
'use strict';
-const mergeConfig = require('./mergeConfig');
-mergeConfig('./react-native.config.js');
+const { mergeReactNativeConfig } = require('./mergeUtils');
+const path = require('path');
+
+const input = path.resolve(__dirname, '../react-native.config.js');
+mergeReactNativeConfig(input);
--- packages/allspark-foundation/cli/mergeConfig.js
@@ -1,56 +1,12 @@
#!/usr/bin/env node
'use strict';
-const fs = require('fs');
-const path = require('path');
-
-const processPath = process.cwd();
-const baseConfigPath = `${processPath}/react-native.config.js`;
-const baseConfig = require(baseConfigPath);
-
-function isObject(item) {
- return item && typeof item === 'object' && !Array.isArray(item);
-}
-
-function mergeDeep(target, ...sources) {
- if (!sources.length) return target;
- const source = sources.shift();
-
- if (isObject(target) && isObject(source)) {
- for (const key in source) {
- if (isObject(source[key])) {
- if (!target[key]) Object.assign(target, { [key]: {} });
- mergeDeep(target[key], source[key]);
- } else {
- Object.assign(target, { [key]: source[key] });
- }
- }
- }
-
- return mergeDeep(target, ...sources);
-}
-
-function writeConfig(config) {
- const fileContent = `module.exports = ${JSON.stringify(config, null, 2)};\n`;
- fs.writeFileSync(baseConfigPath, fileContent);
-}
-
-function mergeConfig(inputConfigPath) {
- const inputConfigRelativePath = path.resolve(processPath, inputConfigPath);
- const inputConfig = require(inputConfigRelativePath);
-
- if (baseConfig) {
- const mergedConfig = mergeDeep(baseConfig, inputConfig);
- writeConfig(mergedConfig);
- } else {
- writeConfig(inputConfig);
- }
-}
+const { mergeReactNativeConfig } = require('./mergeUtils');
const inputConfigPath = process.argv[2];
if (inputConfigPath) {
- mergeConfig(inputConfigPath);
+ mergeReactNativeConfig(inputConfigPath);
} else {
console.error('Please provide config path for merging');
}
--- packages/allspark-foundation/cli/mergeUtils.js
@@ -0,0 +1,52 @@
+#!/usr/bin/env node
+'use strict';
+
+const fs = require('fs');
+const path = require('path');
+
+function isObject(item) {
+ return item && typeof item === 'object' && !Array.isArray(item);
+}
+
+function mergeDeep(target, ...sources) {
+ if (!sources.length) return target;
+ const source = sources.shift();
+
+ if (isObject(target) && isObject(source)) {
+ for (const key in source) {
+ if (isObject(source[key])) {
+ if (!target[key]) Object.assign(target, { [key]: {} });
+ mergeDeep(target[key], source[key]);
+ } else {
+ Object.assign(target, { [key]: source[key] });
+ }
+ }
+ }
+
+ return mergeDeep(target, ...sources);
+}
+
+function writeConfig(config, filePath) {
+ const fileContent = `module.exports = ${JSON.stringify(config, null, 2)};\n`;
+ fs.writeFileSync(filePath, fileContent);
+}
+
+function mergeReactNativeConfig(inputConfigPath) {
+ const processPath = process.cwd();
+ const baseConfigPath = `${processPath}/react-native.config.js`;
+ const baseConfig = require(baseConfigPath);
+
+ const inputConfigRelativePath = path.resolve(processPath, inputConfigPath);
+ const inputConfig = require(inputConfigRelativePath);
+
+ if (baseConfig) {
+ const mergedConfig = mergeDeep(baseConfig, inputConfig);
+ writeConfig(mergedConfig, baseConfigPath);
+ } else {
+ writeConfig(inputConfig, baseConfigPath);
+ }
+}
+
+module.exports = {
+ mergeReactNativeConfig,
+};
--- packages/allspark-graphql-client/package.json
@@ -9,11 +9,10 @@
"lib": "lib"
},
"bin": {
- "allspark-graphql-client-generate": "npx allspark-graphql-client-generate"
+ "allspark-graphql-client-generate": "npx allspark-foundation:generate-graphql"
},
"files": [
- "lib",
- "codegen"
+ "lib"
],
"publishConfig": {
"registry": "https://npme.walmart.com/"
--- packages/me-at-walmart-container/cli/link.js
@@ -8,57 +8,21 @@ const containerConfigPath = path.resolve(
__dirname,
'../react-native.config.js'
);
-exec(
- `npx allspark-merge-rn-config ${containerConfigPath}`,
- (error, stdout, stderr) => {
- if (error) {
- console.error('Error executing npm script', error.message);
- }
- console.log(`NPM script output: ${stdout}`);
- }
-);
-
-// const fs = require('fs');
-// const path = require('path');
-
-// const processPath = process.cwd();
-// const baseConfigPath = `${processPath}/react-native.config.js`;
-// const baseConfig = require(baseConfigPath);
-// const containerConfigPath = path.resolve(__dirname, '../react-native.config.js');
-
-// function isObject(item) {
-// return (item && typeof item === 'object' && !Array.isArray(item));
-// }
-// function mergeDeep(target, ...sources) {
-// if (!sources.length) return target;
-// const source = sources.shift();
-
-// if (isObject(target) && isObject(source)) {
-// for (const key in source) {
-// if (isObject(source[key])) {
-// if (!target[key]) Object.assign(target, { [key]: {} });
-// mergeDeep(target[key], source[key]);
-// } else {
-// Object.assign(target, { [key]: source[key] });
-// }
-// }
-// }
-
-// return mergeDeep(target, ...sources);
-// }
-
-// function writeConfig(config) {
-// const fileContent = `module.exports = ${JSON.stringify(config, null, 2)};\n`;
-// fs.writeFileSync(baseConfigPath, fileContent);
-// };
-
-// // Merge React Native Config
-// const inputConfig = require(containerConfigPath);
+exec(`npx allspark-foundation:link`, (linkError) => {
+ if (linkError) {
+ console.error('Error @ allspark-foundation:link', linkError.message);
+ }
-// if (baseConfig) {
-// const mergedConfig = mergeDeep(baseConfig, inputConfig);
-// writeConfig(mergedConfig);
-// } else {
-// writeConfig(inputConfig);
-// }
+ exec(
+ `npx allspark-foundation:merge-rn-config ${containerConfigPath}`,
+ (mergeError) => {
+ if (mergeError) {
+ console.error(
+ 'Error @ allspark-foundation:merge-rn-config',
+ mergeError.message
+ );
+ }
+ }
+ );
+});
| chore: update cli scripts | chore: update cli scripts
|
ee41fdc03727978c84de183de2353af3e64f093c | --- src/containers/ChatInput/index.tsx
@@ -30,6 +30,7 @@ import {ImageAttachments} from './ImageAttachments';
import {RecordingDetails} from './types';
import {useTranslation} from 'react-i18next';
import {TEXTING_I18N_NAMESPACE} from '../../translations';
+import {logger} from "../../logger/Logger";
// @todo - a bit clumsy with the styling. layout with flex was cleaner
// but didn't play well with animation.
@@ -205,7 +206,6 @@ export const ChatInput = (props: {
}
};
- //TODO: Log to splunk, no console logging
const onAttachImage = async () => {
const pickerResponse: ImagePickerResponse | void = await launchImageLibrary(
{
@@ -214,7 +214,7 @@ export const ChatInput = (props: {
maxHeight: 512,
maxWidth: 512,
},
- ).catch((e) => console.log('pick image error', e));
+ ).catch((e) => logger.error('pick image error', e));
if (pickerResponse && pickerResponse.assets) {
setImageAssets(pickerResponse.assets);
--- src/containers/ChatInput/index.tsx
@@ -30,6 +30,7 @@ import {ImageAttachments} from './ImageAttachments';
import {RecordingDetails} from './types';
import {useTranslation} from 'react-i18next';
import {TEXTING_I18N_NAMESPACE} from '../../translations';
+import {logger} from "../../logger/Logger";
// @todo - a bit clumsy with the styling. layout with flex was cleaner
// but didn't play well with animation.
@@ -205,7 +206,6 @@ export const ChatInput = (props: {
}
};
- //TODO: Log to splunk, no console logging
const onAttachImage = async () => {
const pickerResponse: ImagePickerResponse | void = await launchImageLibrary(
{
@@ -214,7 +214,7 @@ export const ChatInput = (props: {
maxHeight: 512,
maxWidth: 512,
},
- ).catch((e) => console.log('pick image error', e));
+ ).catch((e) => logger.error('pick image error', e));
if (pickerResponse && pickerResponse.assets) {
setImageAssets(pickerResponse.assets);
| update logs | update logs
|
00eba61e5d75ca5eb7fa259cdbd18416dc96ecee | --- example/src/teamHub/screens/screen.tsx
@@ -59,7 +59,8 @@ export const HomeScreen = TeamHub.createScreen(
'Vision Center',
]}
selectedTeams={[]}
- primaryArea="Management"
+ myArea="Management"
+ primaryTeam="Management"
handleSelectSingle={() => {}}
handleSelectAll={() => {}}
/>
--- example/src/teamHub/tempComponentForTesting/TeamSelectionList.tsx
@@ -47,7 +47,8 @@ const areaTeamMap: Record<Area, TeamName[]> = {
interface TeamSelectionListProps {
areas: Area[];
selectedTeams: TeamName[];
- primaryArea: Area;
+ myArea: Area;
+ primaryTeam: TeamName;
handleSelectSingle: (teamName: string) => void;
handleSelectAll: () => void;
}
@@ -55,7 +56,8 @@ interface TeamSelectionListProps {
export const TeamSelectionList = ({
areas,
selectedTeams,
- primaryArea,
+ myArea,
+ primaryTeam,
handleSelectSingle,
handleSelectAll,
}: TeamSelectionListProps) => {
@@ -73,14 +75,14 @@ export const TeamSelectionList = ({
<View style={styles.myAreaContainaer}>
<Text style={styles.myArea}>My area</Text>
- <Text style={styles.areaHeader}>{primaryArea}</Text>
- {areaTeamMap[primaryArea].map((team, index) => (
+ <Text style={styles.areaHeader}>{myArea}</Text>
+ {areaTeamMap[myArea].map((team, index) => (
<TeamSelectionListItem
key={`team-${team}`}
teamName={team}
- isLastListItem={index === areaTeamMap[primaryArea].length - 1}
+ isLastListItem={index === areaTeamMap[myArea].length - 1}
isSelected={true}
- isPrimaryTeam={true}
+ isPrimaryTeam={team === primaryTeam}
checkboxDisabled
toggleSelection={() => handleSelectSingle(team)}
/>
@@ -88,7 +90,7 @@ export const TeamSelectionList = ({
</View>
{areas.map(area => {
- const isPrimary = area === primaryArea;
+ const isPrimary = area === myArea;
const areaTeams = areaTeamMap[area];
return !isPrimary ? (
<View key={`area-${area}`} style={styles.teamListContainer}>
| feat: added primary team and my area props | feat: added primary team and my area props
|
8bda31adb5820fe739e4e9da317f2715840f7807 | --- .yarn/patches/@walmart-ui-components-npm-1.20.0-8c7e633082.patch
@@ -77,17 +77,3 @@ index 60301993d95e862c7bafcb74519609f031a81d03..62edd4a51993274e8d29c97e1b9596bd
-DrawerButton.Provider = DrawerButtonContext.Provider;
DrawerButton.Context = DrawerButtonContext;
-diff --git a/containers/GlobalNavigation/NavList.js b/containers/GlobalNavigation/NavList.js
-index 03c8f96c46dcb93f7db21559f42fc0533458f532..629e07b8cac0dba6700a2efa443c6c6008060385 100644
---- a/containers/GlobalNavigation/NavList.js
-+++ b/containers/GlobalNavigation/NavList.js
-@@ -75,6 +75,9 @@ const NavList = (props) => {
- const generateMenu = (menu, itemIndex, menuTitle, selected) => (
- <TouchableOpacity
- accessibilityRole="button"
-+ accessibilityState={{
-+ selected,
-+ }}
- {...testID(`nav-item-${menuTitle}`)}
- key={`${menuTitle}`}
- onPress={() => menuItemPress(itemIndex, menu?.action?.value)}
--- package.json
@@ -160,7 +160,7 @@
"@walmart/me-at-walmart-container": "workspace:^",
"@walmart/moment-walmart": "1.0.4",
"@walmart/redux-store": "~6.3.28",
- "@walmart/ui-components@npm:^1.15.11": "patch:@walmart/ui-components@npm%3A1.19.0#~/.yarn/patches/@walmart-ui-components-npm-1.19.0-8c7e633082.patch",
+ "@walmart/ui-components@npm:^1.15.11": "patch:@walmart/ui-components@npm%3A1.20.0#~/.yarn/patches/@walmart-ui-components-npm-1.20.0-8c7e633082.patch",
"axios": "~1.6.0",
"axios-cache-adapter": "patch:axios-cache-adapter@npm%3A2.7.3#~/.yarn/patches/axios-cache-adapter-npm-2.7.3-26c357b785.patch",
"crypto-js": "~4.2.0",
--- targets/US/package.json
@@ -151,7 +151,7 @@
"@walmart/time-clock-mini-app": "2.448.1",
"@walmart/topstock-mini-app": "1.19.4",
"@walmart/translator-mini-app": "1.3.7",
- "@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.19.0#~/.yarn/patches/@walmart-ui-components-npm-1.19.0-8c7e633082.patch",
+ "@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.20.0#~/.yarn/patches/@walmart-ui-components-npm-1.20.0-8c7e633082.patch",
"@walmart/walmart-fiscal-week": "^0.3.6",
"@walmart/welcomeme-mini-app": "0.96.0",
"@walmart/wfm-ui": "1.6.0",
--- yarn.lock
@@ -7353,7 +7353,7 @@ __metadata:
"@walmart/time-clock-mini-app": "npm:2.448.1"
"@walmart/topstock-mini-app": "npm:1.19.4"
"@walmart/translator-mini-app": "npm:1.3.7"
- "@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.19.0#~/.yarn/patches/@walmart-ui-components-npm-1.19.0-8c7e633082.patch"
+ "@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.20.0#~/.yarn/patches/@walmart-ui-components-npm-1.20.0-8c7e633082.patch"
"@walmart/walmart-fiscal-week": "npm:^0.3.6"
"@walmart/welcomeme-mini-app": "npm:0.96.0"
"@walmart/wfm-ui": "npm:1.6.0"
@@ -8404,9 +8404,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/ui-components@npm:1.19.0":
- version: 1.19.0
- resolution: "@walmart/ui-components@npm:1.19.0"
+"@walmart/ui-components@npm:1.20.0":
+ version: 1.20.0
+ resolution: "@walmart/ui-components@npm:1.20.0"
dependencies:
"@walmart/ui-components": "npm:^1.15.11"
react-hook-form: "npm:^7.33.1"
@@ -8426,13 +8426,13 @@ __metadata:
react-native-safe-area-context: ">=3.1.3"
react-native-vector-icons: ">=7.0.0"
react-native-webview: ">=10.10.2"
- checksum: 10c0/b8115b91e4930b28ead8e4fed3f94c251f0be3dd370928858e6d1584aba05bb0382f10cc40d21ed0170b7eb33e6ccf370d805eadbd3a0e1c2e67e22baa8d33e2
+ checksum: 10c0/f1cc53bfb426c86446295ac94bf7fcaeeb1685780cf89edaade36e818c410af43457955c72c631b999cb9b3545b9b8017dffa52a588aee617ec91e78456cfd84
languageName: node
linkType: hard
-"@walmart/ui-components@patch:@walmart/ui-components@npm%3A1.19.0#~/.yarn/patches/@walmart-ui-components-npm-1.19.0-8c7e633082.patch":
- version: 1.19.0
- resolution: "@walmart/ui-components@patch:@walmart/ui-components@npm%3A1.19.0#~/.yarn/patches/@walmart-ui-components-npm-1.19.0-8c7e633082.patch::version=1.19.0&hash=fb2fde"
+"@walmart/ui-components@patch:@walmart/ui-components@npm%3A1.20.0#~/.yarn/patches/@walmart-ui-components-npm-1.20.0-8c7e633082.patch":
+ version: 1.20.0
+ resolution: "@walmart/ui-components@patch:@walmart/ui-components@npm%3A1.20.0#~/.yarn/patches/@walmart-ui-components-npm-1.20.0-8c7e633082.patch::version=1.20.0&hash=40394c"
dependencies:
"@walmart/ui-components": "npm:^1.15.11"
react-hook-form: "npm:^7.33.1"
@@ -8452,7 +8452,7 @@ __metadata:
react-native-safe-area-context: ">=3.1.3"
react-native-vector-icons: ">=7.0.0"
react-native-webview: ">=10.10.2"
- checksum: 10c0/e71dc4ae998541db1def20c85d9be3fe92556f237f016769178236abd23f984d507bee0b959fe21142c4b1e657072b71856c1c0376aa582fa4c48205d7dfffc9
+ checksum: 10c0/439afbbe874971565ad07b5893ae7ee16387f16438f7d684be2088b18533a7f2fec988015e23802a6221f5f6775d29f6fc4497a8e3dcce5d090ca5de00d28fbe
languageName: node
linkType: hard
| chore: bump version of ui-components to remove NavList patch | chore: bump version of ui-components to remove NavList patch
|
01921ec2be6374e2227922d968c2cbfc2ec619fa | --- .looper-android-dev.yml
@@ -20,5 +20,5 @@ flows:
- var(androidAppVersion):
sh scripts/getAndroidAppVersionFromGradle.sh android/app/build.gradle
- npm run jetifier
- - (name replace gradle implementation in firestore) sh scripts/updateFirestoreGradle.sh
+ # - (name replace gradle implementation in firestore) sh scripts/updateFirestoreGradle.sh
- call: build-and-publish(os = "android", version = ${androidAppVersion}-SNAPSHOT, env = "${env}", packaging = "apk")
| commenting firestore script code | commenting firestore script code
|
aea4a8dc0590961807307a03ae2712d14e1f8ec6 | --- package-lock.json
@@ -9726,16 +9726,10 @@
}
},
"node_modules/@walmart/store-feature-orders": {
- "version": "1.22.0",
- "resolved": "https://npme.walmart.com/@walmart/store-feature-orders/-/store-feature-orders-1.22.0.tgz",
- "integrity": "sha512-Gr6hQwZEpY21sxjrRX8Bn90mHDXMBNfJ8CcsicKKkRNM+yZSuVBUiEad4ELxc91zlufXNFPM+3ZFlf6jqPqBUw==",
+ "version": "1.23.0",
+ "resolved": "https://npme.walmart.com/@walmart/store-feature-orders/-/store-feature-orders-1.23.0.tgz",
+ "integrity": "sha512-yUGfrUJxc1nOTxfHsFhMFfF+9vRY9m5V8tSzhD8ISRXDZTCaAIp9XpjGaTOe6iY/5/gpNN9oISFsEO9LMfx5Iw==",
"hasInstallScript": true,
- "dependencies": {
- "axios-cache-adapter": "^2.7.3",
- "clear": "^0.1.0",
- "react-native-drop-shadow": "^0.0.9",
- "yarnrc": "^1.1.4"
- },
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
"@react-navigation/stack": "^6.1.0",
@@ -9746,16 +9740,6 @@
"react-native": "~0.70.5"
}
},
- "node_modules/@walmart/store-feature-orders/node_modules/react-native-drop-shadow": {
- "version": "0.0.9",
- "resolved": "https://npme.walmart.com/react-native-drop-shadow/-/react-native-drop-shadow-0.0.9.tgz",
- "integrity": "sha512-XVU/E2yHuYdAsjippzgGMO/kDaPFbx5iSPJrQuN/a5WCPuS2xuRjHFu0wuhpRHGhfMCiZdBFXlKx9QNo65tDXA==",
- "license": "MIT",
- "peerDependencies": {
- "react": "*",
- "react-native": "*"
- }
- },
"node_modules/@walmart/taskit-mini-app": {
"version": "2.47.9",
"resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.47.9.tgz",
@@ -11597,14 +11581,6 @@
"node": ">=6"
}
},
- "node_modules/clear": {
- "version": "0.1.0",
- "resolved": "https://npme.walmart.com/clear/-/clear-0.1.0.tgz",
- "integrity": "sha512-qMjRnoL+JDPJHeLePZJuao6+8orzHMGP04A8CdwCNsKhRbOnKRjefxONR7bwILT3MHecxKBjHkKL/tkZ8r4Uzw==",
- "engines": {
- "node": "*"
- }
- },
"node_modules/cli-cursor": {
"version": "3.1.0",
"license": "MIT",
@@ -27818,15 +27794,6 @@
"node": ">=12"
}
},
- "node_modules/yarnrc": {
- "version": "1.1.4",
- "resolved": "https://npme.walmart.com/yarnrc/-/yarnrc-1.1.4.tgz",
- "integrity": "sha512-tjdOWeVr31OYqw00ESRuf7jRHx9aqO2aixgoKHVzmvQgmoQqNDiRgg7bXDXKjU1vs298ZK1kIDDcCffllkwhOg==",
- "license": "BSD",
- "bin": {
- "yarnrc": "yarnrc.js"
- }
- },
"node_modules/yazl": {
"version": "2.5.1",
"resolved": "https://npme.walmart.com/yazl/-/yazl-2.5.1.tgz",
@@ -33591,22 +33558,9 @@
"integrity": "sha512-XCQBKME/ee2yJDYX+XVtNin3Fvz8zIJTXy3qSGit3ufUcRvaZv2aRN/fR4oK0gyvOTb7p548SS47DZydK/EYlg=="
},
"@walmart/store-feature-orders": {
- "version": "1.22.0",
- "resolved": "https://npme.walmart.com/@walmart/store-feature-orders/-/store-feature-orders-1.22.0.tgz",
- "integrity": "sha512-Gr6hQwZEpY21sxjrRX8Bn90mHDXMBNfJ8CcsicKKkRNM+yZSuVBUiEad4ELxc91zlufXNFPM+3ZFlf6jqPqBUw==",
- "requires": {
- "axios-cache-adapter": "^2.7.3",
- "clear": "^0.1.0",
- "react-native-drop-shadow": "^0.0.9",
- "yarnrc": "^1.1.4"
- },
- "dependencies": {
- "react-native-drop-shadow": {
- "version": "0.0.9",
- "resolved": "https://npme.walmart.com/react-native-drop-shadow/-/react-native-drop-shadow-0.0.9.tgz",
- "integrity": "sha512-XVU/E2yHuYdAsjippzgGMO/kDaPFbx5iSPJrQuN/a5WCPuS2xuRjHFu0wuhpRHGhfMCiZdBFXlKx9QNo65tDXA=="
- }
- }
+ "version": "1.23.0",
+ "resolved": "https://npme.walmart.com/@walmart/store-feature-orders/-/store-feature-orders-1.23.0.tgz",
+ "integrity": "sha512-yUGfrUJxc1nOTxfHsFhMFfF+9vRY9m5V8tSzhD8ISRXDZTCaAIp9XpjGaTOe6iY/5/gpNN9oISFsEO9LMfx5Iw=="
},
"@walmart/taskit-mini-app": {
"version": "2.47.9",
@@ -34785,11 +34739,6 @@
"resolved": "https://npme.walmart.com/clean-stack/-/clean-stack-2.2.0.tgz",
"integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A=="
},
- "clear": {
- "version": "0.1.0",
- "resolved": "https://npme.walmart.com/clear/-/clear-0.1.0.tgz",
- "integrity": "sha512-qMjRnoL+JDPJHeLePZJuao6+8orzHMGP04A8CdwCNsKhRbOnKRjefxONR7bwILT3MHecxKBjHkKL/tkZ8r4Uzw=="
- },
"cli-cursor": {
"version": "3.1.0",
"requires": {
@@ -45287,11 +45236,6 @@
"decamelize": "^1.2.0"
}
},
- "yarnrc": {
- "version": "1.1.4",
- "resolved": "https://npme.walmart.com/yarnrc/-/yarnrc-1.1.4.tgz",
- "integrity": "sha512-tjdOWeVr31OYqw00ESRuf7jRHx9aqO2aixgoKHVzmvQgmoQqNDiRgg7bXDXKjU1vs298ZK1kIDDcCffllkwhOg=="
- },
"yazl": {
"version": "2.5.1",
"resolved": "https://npme.walmart.com/yazl/-/yazl-2.5.1.tgz",
| package version update in lock file | package version update in lock file
|
21e2aa2a7f5a8e8dee5bdf63ce4194fbe870c6d3 | --- package-lock.json
@@ -3283,9 +3283,9 @@
}
},
"@walmart/ask-sam-mini-app": {
- "version": "0.30.2",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.30.2.tgz",
- "integrity": "sha512-+Rqrm66FG/lER7KeIWB6v/YeiAiSQACj5Tp1u+MCSl+PFzRxb85sCw4eBrFc5DaL4PYFPU9mGTeJHH4m+L1oaw==",
+ "version": "0.30.3",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.30.3.tgz",
+ "integrity": "sha512-5nCZsi6U+kWWUTj5QHoQDuxRGpe5cxQiwbMD4BPWoOk9dFr1VSwCMdph5NdgXatS3fHggJzfNOvfLs7/IVqVow==",
"requires": {
"apisauce": "^1.1.2",
"lodash": "^4.17.19",
@@ -12549,9 +12549,9 @@
"integrity": "sha512-vneDkHGDuTvLQjUBztqb2YI8QoH1zxdJonPGTS+g57lfJZff9fAjoLSSb6NgMBebpXFcK3I3sEresGyL+3AArw=="
},
"react-native-error-boundary": {
- "version": "1.1.10",
- "resolved": "https://npme.walmart.com/react-native-error-boundary/-/react-native-error-boundary-1.1.10.tgz",
- "integrity": "sha512-DDqAcJw3LRDlPImOYX0iEFy1q9aEXjxFFf/s37O8Z/amDnCMogYeeW5hZ/Cb+35rTa4dWh6r53Bov7wBQfy9nA=="
+ "version": "1.1.11",
+ "resolved": "https://npme.walmart.com/react-native-error-boundary/-/react-native-error-boundary-1.1.11.tgz",
+ "integrity": "sha512-aSrFwM0ow4yKNDWOCGPqpC0FBQ+km3ntlMU+0k7MB5RxhSvHo6itnXKRQuU9wPN0j4uM6sZ1bdKK5tnvlT/YQA=="
},
"react-native-fast-image": {
"version": "8.3.4",
--- package.json
@@ -67,7 +67,7 @@
"@walmart/allspark-home-mini-app": "0.4.21",
"@walmart/metrics-mini-app": "0.0.27",
"@walmart/allspark-me-mini-app": "0.1.0",
- "@walmart/ask-sam-mini-app": "0.30.2",
+ "@walmart/ask-sam-mini-app": "0.30.3",
"@walmart/config-components": "^1.0.26",
"@walmart/counts-component-miniapp": "0.0.13",
"@walmart/exception-mini-app": "0.28.0",
| Incrementing ask sam version | Incrementing ask sam version
|
7837a8fcb89a38c31075167fe7359655a1a161d6 | --- package-lock.json
@@ -4236,9 +4236,9 @@
"integrity": "sha512-D1I8i9IA/LlfKInPduKHARhcJ2KuUVKQ8GMoHlLBLmnl6Zo55xuzKdU8DCyiIJfPsAv/KQVRD63/FVKbyyO1LA=="
},
"@walmart/exception-mini-app": {
- "version": "0.40.3",
- "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-0.40.3.tgz",
- "integrity": "sha512-35HAwsVAJwYNXdEpqmrceyV+sAyDNg+awpz8AY2V3BFHTZ6nwudqk5+IWjzlDd13xqIoWPgWQdlsSpNSUiC4VQ=="
+ "version": "0.40.4",
+ "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-0.40.4.tgz",
+ "integrity": "sha512-JuNzcUSGo2OI5/P7dhyI6wnJvrQhIra/t22pLyUUMx/kuUvXKxGuwxFN4FlpeWe05R9S3DVPiFiHPgu+4KVEVg=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.3.4",
--- package.json
@@ -77,7 +77,7 @@
"@walmart/ask-sam-mini-app": "0.41.5",
"@walmart/config-components": "3.0.2",
"@walmart/counts-component-miniapp": "0.0.34",
- "@walmart/exception-mini-app": "0.40.3",
+ "@walmart/exception-mini-app": "0.40.4",
"@walmart/feedback-all-spark-miniapp": "0.3.4",
"@walmart/functional-components": "1.0.34",
"@walmart/gta-react-native-calendars": "0.0.15",
| Bump Pinpoint to 40.4 | Bump Pinpoint to 40.4
|
93182eb5944673c350fdca841c2b082de8592fd5 | --- packages/allspark-foundation/src/HTTP/client.ts
@@ -265,7 +265,7 @@ export class HttpClient extends Axios {
);
if (options?.recursive) {
- this.clones.forEach((instance) => {
+ this._featureClientMap.forEach((instance) => {
instance.cancelRequests(options);
});
}
@@ -280,7 +280,7 @@ export class HttpClient extends Axios {
this.defaults.cancelToken = undefined;
if (options?.recursive) {
- this.clones.forEach((instance) => {
+ this._featureClientMap.forEach((instance) => {
instance.resumeRequests(options);
});
}
| fix: fix reference error | fix: fix reference error
|
d59d05a738603917f9dac78d24bc9845a4b9d4f6 | --- __tests__/setup.ts
@@ -36,4 +36,7 @@ jest.mock('@walmart/wmconnect-mini-app', () => ({
useStartTeamText: jest.fn(),
useStartStoreText: jest.fn(),
},
+ MyTeamHooks: {
+ useUserPresence: jest.fn(),
+ },
}));
| Update version | Update version
|
27f640f4668fd6f01afdc64df89dac0a6327ecc9 | --- package.json
@@ -157,7 +157,7 @@
"@walmart/translator-mini-app": "1.4.2",
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.21.3#~/.yarn/patches/@walmart-ui-components-npm-1.21.3-509a6d703d.patch",
"@walmart/walmart-fiscal-week": "^0.3.6",
- "@walmart/welcomeme-mini-app": "1.0.10",
+ "@walmart/welcomeme-mini-app": "1.0.11",
"@walmart/wfm-ui": "2.4.0",
"@walmart/wm-plus-mini-app": "1.5.1",
"@walmart/wmconnect-mini-app": "2.24.0",
--- yarn.lock
@@ -7375,7 +7375,7 @@ __metadata:
"@walmart/translator-mini-app": "npm:1.4.2"
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.21.3#~/.yarn/patches/@walmart-ui-components-npm-1.21.3-509a6d703d.patch"
"@walmart/walmart-fiscal-week": "npm:^0.3.6"
- "@walmart/welcomeme-mini-app": "npm:1.0.10"
+ "@walmart/welcomeme-mini-app": "npm:1.0.11"
"@walmart/wfm-ui": "npm:2.4.0"
"@walmart/wm-plus-mini-app": "npm:1.5.1"
"@walmart/wmconnect-mini-app": "npm:2.24.0"
@@ -8596,9 +8596,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/welcomeme-mini-app@npm:1.0.10":
- version: 1.0.10
- resolution: "@walmart/welcomeme-mini-app@npm:1.0.10::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwelcomeme-mini-app%2F-%2F%40walmart%2Fwelcomeme-mini-app-1.0.10.tgz"
+"@walmart/welcomeme-mini-app@npm:1.0.11":
+ version: 1.0.11
+ resolution: "@walmart/welcomeme-mini-app@npm:1.0.11::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwelcomeme-mini-app%2F-%2F%40walmart%2Fwelcomeme-mini-app-1.0.11.tgz"
peerDependencies:
"@walmart/allspark-foundation": "*"
"@walmart/schedule-mini-app": "*"
@@ -8615,7 +8615,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/7a4b0e9e715abcf0603ca00424424e3747e5a747be7302ce1205cad486db93ece3c8df28f97939add541f8d4212ac6ccdb01ff300b6aeeee4f15278b3ace1fcd
+ checksum: 10c0/19bf550ff8dd10e537fca2c03f64ea9c13a66b7e407e653103c58df9aafa502a796a211f602a9ddfd84cd407649164aedf8ab4cbed3b200362139d1ac0a213ba
languageName: node
linkType: hard
| feat(package bump): RECRUIT-100414 bump package (#4109) | feat(package bump): RECRUIT-100414 bump package (#4109)
Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com> |
c2b44359ddc30a1b77983a8a168aab84d3b6ede6 | --- targets/US/package.json
@@ -119,11 +119,11 @@
"@walmart/metrics-mini-app": "1.24.4",
"@walmart/mod-flex-mini-app": "1.22.0",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/money-auth-shared-components": "2.1.3",
+ "@walmart/money-auth-shared-components": "2.1.4",
"@walmart/myteam-mini-app": "1.12.0",
"@walmart/native-rfid-scanner": "3.12.1",
"@walmart/onewalmart-miniapp": "1.0.24",
- "@walmart/pay-stub-miniapp": "0.20.3",
+ "@walmart/pay-stub-miniapp": "0.20.5",
"@walmart/payrollsolution_miniapp": "0.145.16",
"@walmart/price-changes-mini-app": "1.10.18",
"@walmart/profile-feature-app": "patch:@walmart/profile-feature-app@npm%3A1.138.3#~/.yarn/patches/@walmart-profile-feature-app-npm-1.138.3-9802440ed6.patch",
--- yarn.lock
@@ -7321,11 +7321,11 @@ __metadata:
"@walmart/metrics-mini-app": "npm:1.24.4"
"@walmart/mod-flex-mini-app": "npm:1.22.0"
"@walmart/moment-walmart": "npm:1.0.4"
- "@walmart/money-auth-shared-components": "npm:2.1.3"
+ "@walmart/money-auth-shared-components": "npm:2.1.4"
"@walmart/myteam-mini-app": "npm:1.12.0"
"@walmart/native-rfid-scanner": "npm:3.12.1"
"@walmart/onewalmart-miniapp": "npm:1.0.24"
- "@walmart/pay-stub-miniapp": "npm:0.20.3"
+ "@walmart/pay-stub-miniapp": "npm:0.20.5"
"@walmart/payrollsolution_miniapp": "npm:0.145.16"
"@walmart/price-changes-mini-app": "npm:1.10.18"
"@walmart/profile-feature-app": "patch:@walmart/profile-feature-app@npm%3A1.138.3#~/.yarn/patches/@walmart-profile-feature-app-npm-1.138.3-9802440ed6.patch"
@@ -7646,9 +7646,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/money-auth-shared-components@npm:2.1.3":
- version: 2.1.3
- resolution: "@walmart/money-auth-shared-components@npm:2.1.3"
+"@walmart/money-auth-shared-components@npm:2.1.4":
+ version: 2.1.4
+ resolution: "@walmart/money-auth-shared-components@npm:2.1.4"
peerDependencies:
"@react-navigation/drawer": ^6.6.4
"@react-navigation/native": ^6.0.0
@@ -7656,7 +7656,7 @@ __metadata:
"@walmart/allspark-foundation": "*"
"@walmart/core-services": ~2.0.11
"@walmart/gtp-shared-components": ^2.0.6
- checksum: 10c0/27073883e368fef40e15ec361dc4bec756ae93fee59e74e9cebf4d007d7f4918db0f8948e554b589265a81171425df428afadc8453397804c8cf47523c0ed931
+ checksum: 10c0/b88251c396c693410bed8becc5045045b17132fc500471bcc3fd00c1a3ee097c2105b53731a97ae2bf456edc0341b9dc486dcc12e9a4efabce38f4c7fda7f4ce
languageName: node
linkType: hard
@@ -7738,15 +7738,15 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/pay-stub-miniapp@npm:0.20.3":
- version: 0.20.3
- resolution: "@walmart/pay-stub-miniapp@npm:0.20.3"
+"@walmart/pay-stub-miniapp@npm:0.20.5":
+ version: 0.20.5
+ resolution: "@walmart/pay-stub-miniapp@npm:0.20.5"
dependencies:
expo: "npm:^50.0.0"
expo-sharing: "npm:~11.7.0"
peerDependencies:
"@walmart/allspark-foundation": "*"
- checksum: 10c0/5b808a45e46273aa331c54d027bc2a3b3551cc0db407cb1669e4d42f023ce534a0f28bb82975f2ba8c004addd14b48b0716378d2b545c1fedf5e22d10228e91d
+ checksum: 10c0/4bdc70859cf45d03f201f91944930af2ae987b1c48e2e9dd386cfff59d416408554c9f71381074271805e4a227518bb817925c212593492ba6a83b81ee16c05a
languageName: node
linkType: hard
| bump version | bump version
|
e102ec0da220a4e1026e891ffeac55d6378ec2c5 | --- 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.12.2](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@2.12.1...@walmart/core-services-allspark@2.12.2) (2023-08-15)
+
+**Note:** Version bump only for package @walmart/core-services-allspark
+
+
+
+
+
## [2.12.1](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@2.12.0...@walmart/core-services-allspark@2.12.1) (2023-08-15)
**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.12.1",
+ "version": "2.12.2",
"lockfileVersion": 1,
"requires": true,
"packages": {
--- packages/core-services-allspark/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "2.12.1",
+ "version": "2.12.2",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -27,7 +27,7 @@
"@walmart/allspark-http-client": "^2.4.17",
"@walmart/allspark-utils": "^1.6.1",
"@walmart/core-services": "^2.2.0",
- "@walmart/me-at-walmart-athena-queries": "^1.6.0",
+ "@walmart/me-at-walmart-athena-queries": "^1.7.0",
"crypto-js": "~4.1.1",
"jwt-decode": "^3.1.2",
"luxon": "^2.4.0",
--- packages/me-at-walmart-athena-queries/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.7.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@1.6.0...@walmart/me-at-walmart-athena-queries@1.7.0) (2023-08-15)
+
+
+### Features
+
+* **athena:** lint fix ([e023dc7](https://gecgithub01.walmart.com/allspark/allspark/commit/e023dc74cbe02c8fca6a24aa7bfa19ab647f7e7e))
+
+
+
+
+
# [1.6.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@1.5.0...@walmart/me-at-walmart-athena-queries@1.6.0) (2023-08-15)
--- packages/me-at-walmart-athena-queries/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-athena-queries",
- "version": "1.6.0",
+ "version": "1.7.0",
"description": "> TODO: description",
"author": "rlane1 <russell.lane@walmart.com>",
"homepage": "",
| chore(version): updating package version | chore(version): updating package version
- @walmart/core-services-allspark@2.12.2
- @walmart/me-at-walmart-athena-queries@1.7.0
|
ce438fea7c20be8aa3c730199880ae667944f221 | --- .github/pull_request_template.md
@@ -1,9 +1,9 @@
## Note:
PR/Template Process for Allspark-core: [Link](https://confluence.walmart.com/pages/viewpage.action?pageId=655900878#AllSparkIntegrateaFeatureAppwithCore-SubmitaPRtomergetodevelop)
-> [!WARNING]
-> YOUR PR WILL NOT BE REVIEWED IF THE TEMPLATE IS INCOMPLETE!
-> All fields are required according to your changes
+
+| :exclamation: YOUR PR WILL NOT BE REVIEWED IF THE TEMPLATE IS INCOMPLETE! |
+| ------------------------------------------------------------------------- |
## Links to JIRA tickets:
| twicking changes | twicking changes
|
c624c1ad1618566c03214976e62c6a15ce07337b | --- packages/allspark-foundation-hub/src/HubFeature/TeamSelection/Component/TeamSelectionListItem.tsx
@@ -72,4 +72,4 @@ export const TeamSelectionListItem = ({
</View>
</View>
);
-};
\ No newline at end of file
+};
| Merge changes | Merge changes
|
4558d1c3593e543c2531b475cdfbde7fadd1ab78 | --- __tests__/legacy/sagasTest.ts
@@ -17,6 +17,7 @@ describe('onStartImpersonation', () => {
put(
ClockActionCreators.FETCH_SUCCESS({
clockStatus: action.payload.clockStatus,
+ clockedIn: true, // derived: not clockedOut ('2') so should be true
}),
),
);
--- src/legacy/sagas.ts
@@ -25,6 +25,8 @@ export function* onStartImpersonation(
yield put(
ClockActionCreators.FETCH_SUCCESS({
clockStatus: impersonatee.clockStatus,
+ // Explicitly derive clockedIn to avoid foundation selector defaulting to true when undefined
+ clockedIn: impersonatee.clockStatus !== ClockStatus.clockedOut,
}),
);
| fix(sagas): clock status check bypass during impersonation | fix(sagas): clock status check bypass during impersonation
|
9f28bed87f4b23c714f0e7aa36e7d5101a75c63e | --- package-lock.json
@@ -7913,6 +7913,11 @@
"resolved": "https://npme.walmart.com/detect-node/-/detect-node-2.1.0.tgz",
"integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g=="
},
+ "diacritics": {
+ "version": "1.3.0",
+ "resolved": "https://npme.walmart.com/diacritics/-/diacritics-1.3.0.tgz",
+ "integrity": "sha512-wlwEkqcsaxvPJML+rDh/2iS824jbREk6DUMUKkEaSlxdYHeS43cClJtsWglvw2RfeXGm6ohKDqsXteJ5sP5enA=="
+ },
"diff-sequences": {
"version": "25.2.6",
"resolved": "https://npme.walmart.com/diff-sequences/-/diff-sequences-25.2.6.tgz",
@@ -10525,6 +10530,14 @@
}
}
},
+ "i18n-iso-countries": {
+ "version": "7.5.0",
+ "resolved": "https://npme.walmart.com/i18n-iso-countries/-/i18n-iso-countries-7.5.0.tgz",
+ "integrity": "sha512-PtfKJNWLVhhU0KBX/8asmywjAcuyQk07mmmMwxFJcddTNBJJ1yvpY2qxVmyxbtVF+9+6eg9phgpv83XPUKU5CA==",
+ "requires": {
+ "diacritics": "1.3.0"
+ }
+ },
"i18next": {
"version": "21.8.5",
"resolved": "https://npme.walmart.com/i18next/-/i18next-21.8.5.tgz",
--- package.json
@@ -125,6 +125,7 @@
"axios-cache-adapter": "2.7.3",
"crypto-js": "^3.3.0",
"dayjs": "^1.10.5",
+ "i18n-iso-countries": "^7.5.0",
"i18next": "^21.6.3",
"intl": "^1.2.5",
"javascript-time-ago": "2.3.3",
| Added i18n-iso-countries needed for profile. | Added i18n-iso-countries needed for profile.
|
2d31f0221e8499705ec940ab104ccd2317de2ce8 | --- jest.config.js
@@ -1,50 +1,42 @@
module.exports = {
- "preset": "react-native",
- "setupFilesAfterEnv": [
- "@testing-library/jest-native/extend-expect"
- ],
- "roots": [
- "<rootDir>/__tests__"
- ],
- "moduleFileExtensions": [
- "ts",
- "tsx",
- "js",
- "jsx",
- "json",
- "node"
- ],
- "testPathIgnorePatterns": [
- "<rootDir>/__tests__/setup.js",
- "<rootDir>/__tests__/__mocks__/",
- "<rootDir>/__tests__/whatsNew/data.mock.ts"
- ],
- "collectCoverageFrom": [
- "<rootDir>/src/**/*.{js,jsx,ts,tsx}"
- ],
- "coverageReporters": [
- "lcov",
- "text"
- ],
- "testResultsProcessor": "jest-sonar-reporter",
- "coverageThreshold": {
- "global": {
- "statements": 100,
- "branches": 100,
- "functions": 100,
- "lines": 100
- }
+ preset: 'react-native',
+ setupFilesAfterEnv: ['@testing-library/jest-native/extend-expect'],
+ roots: ['<rootDir>/__tests__'],
+ moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
+ testPathIgnorePatterns: [
+ '<rootDir>/__tests__/setup.js',
+ '<rootDir>/__tests__/__mocks__/',
+ '<rootDir>/__tests__/home/mockData/',
+ '<rootDir>/__tests__/whatsNew/data.mock.ts',
+ ],
+ collectCoverageFrom: ['<rootDir>/src/**/*.{js,jsx,ts,tsx}'],
+ coverageReporters: ['lcov', 'text'],
+ testResultsProcessor: 'jest-sonar-reporter',
+ coverageThreshold: {
+ global: {
+ statements: 100,
+ branches: 100,
+ functions: 100,
+ lines: 100,
},
- "transformIgnorePatterns": [
- "<rootDir>/node_modules/(?!(react-native|@walmart/core-utils|@walmart/allspark-utils|@walmart/core-services|@walmart/core-services-allspark|@walmart/gtp-shared-components|@walmart/redux-store|@react-native-firebase|react-native-gesture-handler|@react-native|@living-design|@react-native-community/datetimepicker|@testing-library|jest-diff|jest-matcher-utils)/)"
- ],
- "moduleNameMapper": {
- "@walmart/react-native-logger/(.*)": "<rootDir>/__tests__/__mocks__/@walmart/react-native-logger.js",
- "@walmart/ui-components/(.*)": "<rootDir>/__tests__/__mocks__/@walmart/ui-components.js",
- "@walmart/redux-store/(.*)": "<rootDir>/__tests__/__mocks__/@walmart/redux-store.js",
- "@react-navigation/drawer/(.*)": "<rootDir>/__tests__/__mocks__/@react-navigation/drawer.js",
- "@walmart/feedback-all-spark-miniapp/(.*)": "<rootDir>/__tests__/__mocks__/@walmart/feedback-all-spark-miniapp.js",
- "@walmart/iteminfo-mini-app/(.*)": "<rootDir>/__tests__/__mocks__/@walmart/iteminfo-mini-app.js",
- "@walmart/gtp-shared-components/dist/messaging": "<rootDir>/__tests__/__mocks__/@walmart/gtp-shared-components.js"
- }
-}
+ },
+ transformIgnorePatterns: [
+ '<rootDir>/node_modules/(?!(react-native|@walmart/core-utils|@walmart/allspark-utils|@walmart/allspark-http-client|@walmart/core-services|@walmart/core-services-allspark|@walmart/gtp-shared-components|@react-native-community/picker|@walmart/redux-store|@react-native-firebase|axios|react-native-gesture-handler|@react-native|@living-design|@react-native-community/datetimepicker|@testing-library|jest-diff|jest-matcher-utils)/)',
+ ],
+ moduleNameMapper: {
+ '@walmart/react-native-logger/(.*)':
+ '<rootDir>/__tests__/__mocks__/@walmart/react-native-logger.js',
+ '@walmart/ui-components/(.*)':
+ '<rootDir>/__tests__/__mocks__/@walmart/ui-components.js',
+ '@walmart/redux-store/(.*)':
+ '<rootDir>/__tests__/__mocks__/@walmart/redux-store.js',
+ '@react-navigation/drawer/(.*)':
+ '<rootDir>/__tests__/__mocks__/@react-navigation/drawer.js',
+ '@walmart/feedback-all-spark-miniapp/(.*)':
+ '<rootDir>/__tests__/__mocks__/@walmart/feedback-all-spark-miniapp.js',
+ '@walmart/iteminfo-mini-app/(.*)':
+ '<rootDir>/__tests__/__mocks__/@walmart/iteminfo-mini-app.js',
+ '@walmart/gtp-shared-components/dist/messaging':
+ '<rootDir>/__tests__/__mocks__/@walmart/gtp-shared-components.js',
+ },
+};
--- package.json
@@ -284,57 +284,6 @@
"typescript": "^4.8.3",
"yargs": "^17.0.1"
},
- "jest": {
- "preset": "react-native",
- "setupFilesAfterEnv": [
- "@testing-library/jest-native/extend-expect"
- ],
- "roots": [
- "<rootDir>/__tests__"
- ],
- "moduleFileExtensions": [
- "ts",
- "tsx",
- "js",
- "jsx",
- "json",
- "node"
- ],
- "testPathIgnorePatterns": [
- "<rootDir>/__tests__/setup.js",
- "<rootDir>/__tests__/__mocks__/",
- "<rootDir>/__tests__/home/mockData/",
- "<rootDir>/__tests__/whatsNew/data.mock.ts"
- ],
- "collectCoverageFrom": [
- "<rootDir>/src/**/*.{js,jsx,ts,tsx}"
- ],
- "coverageReporters": [
- "lcov",
- "text"
- ],
- "testResultsProcessor": "jest-sonar-reporter",
- "coverageThreshold": {
- "global": {
- "statements": 100,
- "branches": 100,
- "functions": 100,
- "lines": 100
- }
- },
- "transformIgnorePatterns": [
- "<rootDir>/node_modules/(?!(react-native|@walmart/core-utils|@walmart/allspark-utils|@walmart/allspark-http-client|@walmart/core-services|@walmart/core-services-allspark|@walmart/gtp-shared-components|@react-native-community/picker|@walmart/redux-store|@react-native-firebase|axios|react-native-gesture-handler|@react-native|@living-design|@react-native-community/datetimepicker|@testing-library|jest-diff|jest-matcher-utils)/)"
- ],
- "moduleNameMapper": {
- "@walmart/react-native-logger/(.*)": "<rootDir>/__tests__/__mocks__/@walmart/react-native-logger.js",
- "@walmart/ui-components/(.*)": "<rootDir>/__tests__/__mocks__/@walmart/ui-components.js",
- "@walmart/redux-store/(.*)": "<rootDir>/__tests__/__mocks__/@walmart/redux-store.js",
- "@react-navigation/drawer/(.*)": "<rootDir>/__tests__/__mocks__/@react-navigation/drawer.js",
- "@walmart/feedback-all-spark-miniapp/(.*)": "<rootDir>/__tests__/__mocks__/@walmart/feedback-all-spark-miniapp.js",
- "@walmart/iteminfo-mini-app/(.*)": "<rootDir>/__tests__/__mocks__/@walmart/iteminfo-mini-app.js",
- "@walmart/gtp-shared-components/dist/messaging": "<rootDir>/__tests__/__mocks__/@walmart/gtp-shared-components.js"
- }
- },
"husky": {
"hooks": {
"pre-commit": "run-p lint verifyBranchName",
| fixing jest configs to ignore mock data on home folder | fixing jest configs to ignore mock data on home folder
|
312b1d67ff3bf91c71389474928dcdea80e6e790 | --- src/services/config.ts
@@ -1,5 +1,5 @@
import type {EnvConfig} from '@walmart/core-services/Environment';
-const miniAppPackage = require('../../../package.json');
+const miniAppPackage = require('../../package.json');
export const HTTP_CLIENT_KEY = 'texting';
--- src/services/config.ts
@@ -1,5 +1,5 @@
import type {EnvConfig} from '@walmart/core-services/Environment';
-const miniAppPackage = require('../../../package.json');
+const miniAppPackage = require('../../package.json');
export const HTTP_CLIENT_KEY = 'texting';
| updating the path for package | updating the path for package
|
8599f1362d3bc01110a5dc68c5bac9e9a07db088 | --- __tests__/auth/AuthenticatorViewTest.tsx
@@ -3,8 +3,9 @@ import {View, Text} from 'react-native';
import {create, act, ReactTestRenderer} from 'react-test-renderer';
import {AuthenticatorView} from '../../src/auth/AuthenticatorView';
-import {ConnectedSSO, SSOState} from '@walmart/redux-store';
-import {SSOEnv} from '../../src/auth/ssoPingFedType';
+import {ConnectedSSO} from 'react-native-connect-sso-redux';
+import {UserState} from '@walmart/redux-store';
+import {SSOEnv} from 'react-native-ssmp-sso-allspark';
jest.mock('react-redux', () => ({
useSelector: jest.fn(),
@@ -38,15 +39,14 @@ describe('AuthenticatorView', () => {
connectedSSO: mockConnectedSSO,
};
- const baseSSOState: SSOState = {
- user: null,
- authToken: null,
+ const baseSSOState: UserState = {
+ data: null,
fetchingUser: false,
- fetchingUserError: null,
+ fetchingUserError: false,
signingOut: false,
- signOutError: null,
- fetchingToken: false,
- fetchingTokenError: null,
+ signOutError: false,
+ loaded: false,
+ error: false,
};
it('renders signing in', () => {
--- package-lock.json
@@ -1937,9 +1937,9 @@
"integrity": "sha512-iTkDEL7GeYYS8laso4ECQ7DyHgBxnJh/uP5PJNQMHZyKb8niIwIwb19HFLuGBVRa9vZIjTz7mChSydbIn4KV0w=="
},
"@walmart/push-to-talk-mini-app": {
- "version": "0.0.19",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.0.19.tgz",
- "integrity": "sha512-4dX+FyOYmEDzbTGLUP+4HBpQJ48KAShFYNRLblhrpiVfhvNKWkWkuFLCnCjg1xFTB3z0cCvnZu7ccm+Yd3IxIQ=="
+ "version": "0.0.20",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.0.20.tgz",
+ "integrity": "sha512-K7+mBGIgiJwbU62G2PZbv+qIDRXPlaCSXeWd2RkFWm2w2mnGCC/X9JWaC/vCW8cBFoJxluV2JLtrTA3MOyD+3A=="
},
"@walmart/react-native-logger": {
"version": "1.14.0",
--- src/auth/AuthenticatorView.tsx
@@ -6,7 +6,7 @@ import {
Image,
ImageBackground,
} from 'react-native';
-import {SSOEnv, SSOUser} from 'react-native-ssmp-sso';
+import {SSOEnv, SSOUser} from 'react-native-ssmp-sso-allspark';
import {GlobalState} from '@walmart/redux-store';
import {useSelector, shallowEqual} from 'react-redux';
import {PrimaryButton} from '@walmart/gtp-shared-components';
| fix refs to sso | fix refs to sso
|
49ad9dcccefba3fa0daa88b3090a60f64d56d35a | --- package-lock.json
@@ -92,7 +92,7 @@
"@walmart/store-feature-orders": "1.25.0",
"@walmart/taskit-mini-app": "2.53.3",
"@walmart/texting-mini-app": "2.1.4",
- "@walmart/time-clock-mini-app": "2.320.0",
+ "@walmart/time-clock-mini-app": "2.320.1",
"@walmart/topstock-mini-app": "1.4.14",
"@walmart/ui-components": "1.15.6",
"@walmart/welcomeme-mini-app": "0.86.0",
@@ -9920,9 +9920,9 @@
"hasInstallScript": true
},
"node_modules/@walmart/time-clock-mini-app": {
- "version": "2.320.0",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.320.0.tgz",
- "integrity": "sha512-1ruwEq9pxE7WvPTVW3LM6Ukex/0mcRhEwjk/lSQT9ZKEooyD107+f2/NFMDyqWGcJXz2NOjYt2qIVsO9Bl9lrw==",
+ "version": "2.320.1",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.320.1.tgz",
+ "integrity": "sha512-EaaQzlzd/za0qutGsjuArCbB/xFXw3XgEQfZ8HM49VISAm8MfVoFjm2XlG8tDjQuVoGC9UkUz9pGZbJloS9ZUw==",
"hasInstallScript": true,
"license": "UNLICENSED",
"dependencies": {
@@ -33686,9 +33686,9 @@
"integrity": "sha512-u4QRgXYEKWLvnfhlfAcLibXYKcoG1J+wjK2MWh4LbqAFIJs+9GV/51KItrS4zNYXXMvPDNF0VwkzlVfQSkdvXA=="
},
"@walmart/time-clock-mini-app": {
- "version": "2.320.0",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.320.0.tgz",
- "integrity": "sha512-1ruwEq9pxE7WvPTVW3LM6Ukex/0mcRhEwjk/lSQT9ZKEooyD107+f2/NFMDyqWGcJXz2NOjYt2qIVsO9Bl9lrw==",
+ "version": "2.320.1",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.320.1.tgz",
+ "integrity": "sha512-EaaQzlzd/za0qutGsjuArCbB/xFXw3XgEQfZ8HM49VISAm8MfVoFjm2XlG8tDjQuVoGC9UkUz9pGZbJloS9ZUw==",
"requires": {
"@react-navigation/elements": "^1.3.1",
"moment-timezone": "0.5.33",
--- package.json
@@ -133,7 +133,7 @@
"@walmart/store-feature-orders": "1.25.0",
"@walmart/taskit-mini-app": "2.53.3",
"@walmart/texting-mini-app": "2.1.4",
- "@walmart/time-clock-mini-app": "2.320.0",
+ "@walmart/time-clock-mini-app": "2.320.1",
"@walmart/topstock-mini-app": "1.4.14",
"@walmart/ui-components": "1.15.6",
"@walmart/welcomeme-mini-app": "0.86.0",
| Update TCMA 2.230.1 | Update TCMA 2.230.1
|
ecfadf87075b9230c451dee9b50f7d064815a160 | --- targets/US/package.json
@@ -86,7 +86,7 @@
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.28.21",
"@walmart/associate-listening-mini-app": "1.2.10",
- "@walmart/attendance-mini-app": "3.142.0",
+ "@walmart/attendance-mini-app": "3.143.0",
"@walmart/avp-feature-app": "0.10.19",
"@walmart/avp-shared-library": "0.10.5",
"@walmart/backroom-mini-app": "1.9.0",
--- yarn.lock
@@ -6416,9 +6416,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/attendance-mini-app@npm:3.142.0":
- version: 3.142.0
- resolution: "@walmart/attendance-mini-app@npm:3.142.0"
+"@walmart/attendance-mini-app@npm:3.143.0":
+ version: 3.143.0
+ resolution: "@walmart/attendance-mini-app@npm:3.143.0"
peerDependencies:
"@react-native-community/datetimepicker": ">=5.1.0"
"@react-navigation/native": ">=6.0.8"
@@ -6449,7 +6449,7 @@ __metadata:
redux-saga: ">=1.2.3"
reselect: ">=4.1.0"
wfm-allspark-data-library: ">=3.3.0"
- checksum: 10c0/1bed5aeabdeba015d8c5c5ceea463078921caf895476128186ac2ae460670ba07f5dad35e5d583bac740a0cbdb499444cea79f8dcbb5551f5a7ed21b0f941c2e
+ checksum: 10c0/f386cd329280ab89c2c95d7624d440a084a567c4424f5db57321d8a10fd07e355bc53351064239cd74fef2d613fecfdd2e12d072490948bf9da0455fd8ec5db5
languageName: node
linkType: hard
@@ -7422,7 +7422,7 @@ __metadata:
"@walmart/ask-sam-chat-components": "npm:^0.2.7"
"@walmart/ask-sam-mini-app": "npm:1.28.21"
"@walmart/associate-listening-mini-app": "npm:1.2.10"
- "@walmart/attendance-mini-app": "npm:3.142.0"
+ "@walmart/attendance-mini-app": "npm:3.143.0"
"@walmart/avp-feature-app": "npm:0.10.19"
"@walmart/avp-shared-library": "npm:0.10.5"
"@walmart/backroom-mini-app": "npm:1.9.0"
| Update attendance-mini-app version. | Update attendance-mini-app version.
|
91db81e75ba0d11d6086d6499a8eca489c8a37c1 | --- package-lock.json
@@ -3320,9 +3320,9 @@
"integrity": "sha512-h/VhUxIrOY6lVrMP/b7ORG02nqwNl65hx4uH57fvGy3isNjQ5QjRXvtnB/QJTFDyKTcowOd9uroYFhblRZh0bw=="
},
"@walmart/functional-components": {
- "version": "1.0.28",
- "resolved": "https://npme.walmart.com/@walmart/functional-components/-/functional-components-1.0.28.tgz",
- "integrity": "sha512-vROc0cw2WZj5EACR7hLYowL4xYOy13jYzmKDjH5DP6CzvSFuOE+kruoPJwOS5hcTwzP+afy4fSNHDcxiN2GEfw==",
+ "version": "1.0.30",
+ "resolved": "https://npme.walmart.com/@walmart/functional-components/-/functional-components-1.0.30.tgz",
+ "integrity": "sha512-+UaYtB6ZOKvO539efvbQ2ypZZTXRFyk/65hUiQdC+jg/2tSyh1URQEGLWLxWXGQ3LoJFL62HYBrOfDa1r73R1Q==",
"requires": {
"axios": "^0.19.2"
}
--- package.json
@@ -71,7 +71,7 @@
"@walmart/counts-component-miniapp": "0.0.14",
"@walmart/exception-mini-app": "0.28.0",
"@walmart/feedback-all-spark-miniapp": "0.0.55",
- "@walmart/functional-components": "1.0.28",
+ "@walmart/functional-components": "1.0.30",
"@walmart/gtp-shared-components": "^1.1.8",
"@walmart/impersonation-mini-app": "1.0.15",
"@walmart/ims-print-services-ui": "0.0.19",
| update functional components | update functional components
|
fc81ccf27f215f11eb83faae0287c5f0c671ee49 | --- packages/allspark-foundation/package.json
@@ -172,6 +172,12 @@
},
"@walmart/react-native-wm-telemetry": {
"optional": true
+ },
+ "react-native-apollo-devtools-client": {
+ "optional": true
+ },
+ "react-native-flipper": {
+ "optional": true
}
}
}
--- packages/allspark-foundation/src/Feature/AllsparkFeatureModule.tsx
@@ -120,7 +120,7 @@ export class AllsparkFeatureModule<
*/
public get modalNames() {
const modals =
- this._resourceMap.screens || this._resolveCapability(this._modals);
+ this._resourceMap.modals || this._resolveCapability(this._modals);
return (modals ? Object.keys(modals) : []) as InferRecordKey<
InferCapabilityType<Module['modals']>
| fix: feature modal names fix | fix: feature modal names fix
|
1cdf1b1aa171b83e92ec14706d05b1e6df065c72 | --- src/managerExperience/screens/RosterDetailScreen/RosterDetailScreen.tsx
@@ -73,7 +73,8 @@ export const RosterDetailScreen = ({route}: RosterDetailScreenProps) => {
const {data: allTeamsData} = useGetTeamsByStore();
const dataLoading = teamLoading || rosterLoading;
- const dataError = teamError || rosterError;
+ const dataError =
+ teamError || rosterError || rosterData?.getDailyRoster?.length === 0;
const allTeams = useMemo(
() => allTeamsData?.getTeamsByStore,
--- src/managerExperience/utils/rosterDetail.tsx
@@ -48,6 +48,12 @@ export const generateTeamRoster = (
return [];
}
+ if (dailyRoster.length === 0) {
+ logger.warn('generateTeamRoster Warning: ', {
+ message: 'roster is empty',
+ });
+ }
+
if (currentTeamId === 'total') {
return dailyRoster;
}
| feat: added warning if roster is empty | feat: added warning if roster is empty
|
9f8693464871c5b33da368fe2d1b10f6ccaeadb1 | --- packages/allspark-foundation/__tests__/Translation/client.test.tsx
@@ -13,87 +13,16 @@ jest.mock('i18next', () => ({
options: {},
}));
-jest.mock('react-native', () => ({
- NativeModules: {
- SettingsManager: {
- settings: {
- AppleLocale: 'en_US',
- AppleLanguages: ['en_US', 'es_US'],
- },
- },
- I18nManager: {
- localeIdentifier: 'en_US',
- },
- },
- Platform: {
- OS: 'ios',
- },
-}));
-
describe('TranslationClient', () => {
let translationClient;
beforeEach(() => {
jest.clearAllMocks();
- translationClient = TranslationClient({ ...DefaultConfig });
- });
-
- it('should initialize the translation client with default options', async () => {
- const resourceData = { resources: { 'en-US': { container: { key: 'value' } } } };
- await translationClient.initialize({ ...DefaultConfig, ...resourceData });
- expect(i18next.init).toHaveBeenCalledWith(expect.objectContaining(DefaultConfig));
- expect(translationClient.isInitialized()).toBe(true);
+ translationClient = TranslationClient(DefaultConfig);
});
- it('should set and get the initialization status', async () => {
- expect(translationClient.isInitialized()).toBe(false);
+ it('should initialize correctly', async () => {
await translationClient.initialize(DefaultConfig);
expect(translationClient.isInitialized()).toBe(true);
});
-
- it('should create and return a feature client', () => {
- const mockTranslateFunction = jest.fn();
- AllsparkTranslationClient.getFixedT = jest.fn().mockReturnValue(mockTranslateFunction);
- const featureClient = translationClient.createFeatureClient('testFeature');
- expect(featureClient.featureID).toBe('testFeature');
- expect(featureClient.translate).toBe(mockTranslateFunction);
- expect(AllsparkTranslationClient.getFixedT).toHaveBeenCalledWith(null, 'testFeature');
- });
-
- it('should get an existing feature client if already created', () => {
- const mockTranslateFunction = jest.fn();
- AllsparkTranslationClient.getFixedT = jest.fn().mockReturnValue(mockTranslateFunction);
- const featureClient1 = translationClient.createFeatureClient('testFeature');
- const featureClient2 = translationClient.getFeatureClient('testFeature');
- expect(featureClient1).toBe(featureClient2);
- });
-
- it('should set the default namespace', async () => {
- const results = await translationClient.setDefaultNamespace('testNS');
- expect(results).toEqual(undefined);
- });
-
- it('should get locale config', () => {
- const localeConfig = { 'en-US': { dateFormat: 'MM/DD/YYYY' } };
- const config = { ...DefaultConfig, localeConfig };
- translationClient = TranslationClient(config);
- const result = translationClient.getLocaleConfig('en-US');
- expect(result).toEqual(localeConfig['en-US']);
- });
-
- it('should get supported languages', () => {
- const supportedLanguages = translationClient.getSupportedLanguages();
- expect(supportedLanguages).toEqual(DefaultConfig.supportedLanguages);
- });
-
- it('should select the correct language config', () => {
- const languageConfig = { 'en-US': 'English', 'es-US': 'Spanish' };
- const result = translationClient.select(languageConfig);
- expect(result).toBe('English');
- });
-
- it('should get device language', async () => {
- const deviceLanguage = await translationClient.getDeviceLanguage();
- expect(deviceLanguage).toBe('en-US');
- });
});
\ No newline at end of file
| running translation with minimum coverage | running translation with minimum coverage
|
5f0fa79d14f73a6cbef8b0ad7e3882f13e0b89a4 | --- ios/Podfile.lock
@@ -763,7 +763,7 @@ PODS:
- React
- React-callinvoker
- React-Core
- - vizpick-mini-app (1.0.11):
+ - vizpick-mini-app (1.0.12):
- React
- walmart-react-native-sumo-sdk (2.5.1):
- React
@@ -1302,7 +1302,7 @@ SPEC CHECKSUMS:
TextServiceProto: 8af27cc52ab3421f79c94e7c7fdcd6f3579b5fdc
TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863
VisionCamera: 4cfd685b1e671fea4aa0400905ab397f0e972210
- vizpick-mini-app: e2ead89f5669651d94aa59e231318d56e077b8a4
+ vizpick-mini-app: 6aae3a9c880da81f5bed6d1e8702cd0afe393341
walmart-react-native-sumo-sdk: 0c9a5bd5f514bce7eed9f4a31b5d7b76ad6749a8
wifi-store-locator: 56782767136ebc63eeafa5b8a368a0321d8e1969
Yoga: dc109b79db907f0f589fc423e991b09ec42d2295
--- package-lock.json
@@ -82,7 +82,7 @@
"@walmart/shelfavailability-mini-app": "1.5.16",
"@walmart/taskit-mini-app": "2.34.6",
"@walmart/time-clock-mini-app": "2.98.0",
- "@walmart/topstock-mini-app": "1.0.11",
+ "@walmart/topstock-mini-app": "1.0.12",
"@walmart/ui-components": "1.15.0",
"@walmart/welcomeme-mini-app": "0.77.0",
"@walmart/wfm-ui": "0.2.26",
@@ -6103,9 +6103,9 @@
"license": "GPL-3.0-or-later"
},
"node_modules/@walmart/topstock-mini-app": {
- "version": "1.0.11",
- "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.0.11.tgz",
- "integrity": "sha512-xgfNHP+dyUpIcf/wuRGbQ8BSPg17EuVwMJ7NeXpC3P3V6ICxWDv+fpnKmDsWuBqoABavHfKSX7gpQ0oMuuNTgw==",
+ "version": "1.0.12",
+ "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.0.12.tgz",
+ "integrity": "sha512-fabt19kuK4dDwjC69Iyhl7B+gCFcpHK9mSTp4tGBHUCKaWyiwOZrdGZECo6HBlx8hVMxWxAFmTQimALEK0jJQA==",
"dependencies": {
"javascript-time-ago": "^2.5.7"
},
@@ -25427,9 +25427,9 @@
"version": "1.0.4"
},
"@walmart/topstock-mini-app": {
- "version": "1.0.11",
- "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.0.11.tgz",
- "integrity": "sha512-xgfNHP+dyUpIcf/wuRGbQ8BSPg17EuVwMJ7NeXpC3P3V6ICxWDv+fpnKmDsWuBqoABavHfKSX7gpQ0oMuuNTgw==",
+ "version": "1.0.12",
+ "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.0.12.tgz",
+ "integrity": "sha512-fabt19kuK4dDwjC69Iyhl7B+gCFcpHK9mSTp4tGBHUCKaWyiwOZrdGZECo6HBlx8hVMxWxAFmTQimALEK0jJQA==",
"requires": {
"javascript-time-ago": "^2.5.7"
}
--- package.json
@@ -124,7 +124,7 @@
"@walmart/shelfavailability-mini-app": "1.5.16",
"@walmart/taskit-mini-app": "2.34.6",
"@walmart/time-clock-mini-app": "2.98.0",
- "@walmart/topstock-mini-app": "1.0.11",
+ "@walmart/topstock-mini-app": "1.0.12",
"@walmart/ui-components": "1.15.0",
"@walmart/welcomeme-mini-app": "0.77.0",
"@walmart/wfm-ui": "0.2.26",
| fix(1.0.11): update the version 1.0.11 | fix(1.0.11): update the version 1.0.11
|
226e192f9fbaf11d0d39b57f6cced55dc8e955b6 | --- packages/core-widget-registry/src/Sidekick.ts
@@ -2,10 +2,10 @@ import { FunctionComponent } from 'react';
import { StyleProp, ViewStyle } from 'react-native';
import { useRegistry, WidgetRegistry } from '@walmart/allspark-utils';
-export type PayloadStatusType = 'ok' | 'stale' | 'failed';
+export type PayloadType = 'ok' | 'stale' | 'failed';
export interface SidekickWidgetProps {
- onNetworkCallback: (payloadStatus: PayloadStatusType) => void;
+ onNetworkCallback: (payloadStatus: PayloadType) => void;
maxItems?: number;
filterBy?: {
trailerIds?: string[];
--- packages/core-widget-registry/src/index.tsx
@@ -3,3 +3,4 @@ export * from './Core';
export * from './Home';
export * from './Metrics';
export * from './Inbox';
+export * from './Sidekick';
| feat: updated exports for sidekick widget registration | feat: updated exports for sidekick widget registration
|
ac4bf07441f35efae6400fd82e7a1b671aee3f13 | --- src/translations/en-US.ts
@@ -0,0 +1 @@
+export const enUS = {};
--- src/translations/es-MX.ts
@@ -0,0 +1 @@
+export const esMX = {};
--- src/translations/index.ts
@@ -0,0 +1,17 @@
+import i18n from 'i18next';
+import {useTranslation as useTranslationHook} from 'react-i18next';
+import {enUS} from './en-US';
+import {esMX} from './es-MX';
+
+const TEXTING_MINIAPP_NAMESPACE = 'textingMiniApp';
+
+export const addLanguageResources = () => {
+ i18n.addResourceBundle('en-US', TEXTING_MINIAPP_NAMESPACE, enUS);
+ i18n.addResourceBundle('es-MX', TEXTING_MINIAPP_NAMESPACE, esMX);
+};
+
+export const initI18n = () => {
+ i18n.on('initialized', addLanguageResources);
+};
+
+export const useTranslation = () => useTranslationHook([TEXTING_MINIAPP_NAMESPACE]);
--- src/translations/en-US.ts
@@ -0,0 +1 @@
+export const enUS = {};
--- src/translations/es-MX.ts
@@ -0,0 +1 @@
+export const esMX = {};
--- src/translations/index.ts
@@ -0,0 +1,17 @@
+import i18n from 'i18next';
+import {useTranslation as useTranslationHook} from 'react-i18next';
+import {enUS} from './en-US';
+import {esMX} from './es-MX';
+
+const TEXTING_MINIAPP_NAMESPACE = 'textingMiniApp';
+
+export const addLanguageResources = () => {
+ i18n.addResourceBundle('en-US', TEXTING_MINIAPP_NAMESPACE, enUS);
+ i18n.addResourceBundle('es-MX', TEXTING_MINIAPP_NAMESPACE, esMX);
+};
+
+export const initI18n = () => {
+ i18n.on('initialized', addLanguageResources);
+};
+
+export const useTranslation = () => useTranslationHook([TEXTING_MINIAPP_NAMESPACE]);
| add init logic for language files | add init logic for language files
|
2a4b19331aa52d8a3056b33ec40e62fef7881e16 | --- ios/Podfile.lock
@@ -356,7 +356,7 @@ PODS:
- React
- react-native-webview (10.10.0):
- React-Core
- - react-native-wm-barcode (2.21.4-patch.1):
+ - react-native-wm-barcode (2.24.0-patch.1):
- React
- react-native-wm-voice-text (0.3.1):
- React
@@ -809,7 +809,7 @@ SPEC CHECKSUMS:
react-native-video: 8d97379f3c2322a569f1e27542ad1a646cad9444
react-native-view-shot: 08c46c9e8e92f6681e8f2ffa55ac3d06e7e99070
react-native-webview: 2e330b109bfd610e9818bf7865d1979f898960a7
- react-native-wm-barcode: edc854bcdfc7e2570af4a8bcd34a068e92f41ab1
+ react-native-wm-barcode: 480aead7f5dacfe1ca569d6d702d8607e7fae3f4
react-native-wm-voice-text: 498a87b567be0074720a30386a22b1e7cde873f5
React-RCTActionSheet: 910163b6b09685a35c4ebbc52b66d1bfbbe39fc5
React-RCTAnimation: 9a883bbe1e9d2e158d4fb53765ed64c8dc2200c6
--- package-lock.json
@@ -12614,9 +12614,9 @@
}
},
"react-native-wm-barcode": {
- "version": "2.21.4-patch.1",
- "resolved": "https://npme.walmart.com/react-native-wm-barcode/-/react-native-wm-barcode-2.21.4-patch.1.tgz",
- "integrity": "sha512-rM+lA/3a8qQ4F8vKfLc16wPG6d+fvCY1FiZli6nOpUKkHGDpO/kkroILiOkZHpyWrnrO+sdM6FGyRtYoGhx4eQ=="
+ "version": "2.24.0-patch.1",
+ "resolved": "https://npme.walmart.com/react-native-wm-barcode/-/react-native-wm-barcode-2.24.0-patch.1.tgz",
+ "integrity": "sha512-TKBYktC65sECtmWF3dpdvk3QaFiWb2bLA2tBY9nvK6JnmQLN7VT7lMfMTzhNmYXM1qOG+N668aWso4fC0Hxpjw=="
},
"react-native-wm-config": {
"version": "0.1.1",
--- package.json
@@ -129,7 +129,7 @@
"react-native-video": "^5.1.0-alpha8",
"react-native-view-shot": "^3.1.2",
"react-native-webview": "^10.7.0",
- "react-native-wm-barcode": "2.21.4-patch.1",
+ "react-native-wm-barcode": "2.24.0-patch.1",
"react-native-wm-config": "^0.1.1",
"react-native-wm-network": "^0.1.0",
"react-native-wm-notification": "^1.0.0",
| barcode scanner update | barcode scanner update
|
a5d5f67d0096cff9e68b3af84a89b2a9021f337d | --- package-lock.json
@@ -3727,7 +3727,7 @@
"md5": "^2.2.1",
"node-fetch": "^2.6.1",
"remove-trailing-slash": "^0.1.0",
- "uuid": "^3.3.2"
+ "uuid": "^8.3.2"
},
"engines": {
"node": ">=12"
@@ -9513,7 +9513,7 @@
"version": "1.0.2",
"license": "MIT",
"dependencies": {
- "uuid": "^3.3.2"
+ "uuid": "^8.3.2"
},
"peerDependencies": {
"react": "*",
@@ -10104,7 +10104,7 @@
"jspath": "^0.4.0",
"lodash.isequal": "^4.5.0",
"lru-cache": "^5.1.1",
- "uuid": "^3.3.2",
+ "uuid": "^8.3.2",
"xpath": "^0.0.32"
}
},
@@ -15147,7 +15147,7 @@
"dev": true,
"license": "MIT",
"dependencies": {
- "axios": "~1.2.6"
+ "axios": "^0.21.4"
}
},
"node_modules/gluegun/node_modules/chalk": {
| package version update in lock file | package version update in lock file
|
234d3cd07a245e7034611ad4c797f664385f8737 | --- packages/me-at-walmart-container/src/services/logger.ts
@@ -51,13 +51,19 @@ class LoggerClient {
private _id: string;
private _logger: ILogger;
- constructor(id: string, config?: TConfig & FoundationLoggerConfig) {
- const { fields = {}, ...restConfig } = config || {};
+ constructor(id: string, config?: FoundationLoggerConfig) {
+ const { fields = {}, logLevel, ...restConfig } = config || {};
this._id = id;
this._logger = DefaultLogger.clone(restConfig, {
id,
...fields,
});
+
+ // Set log level if provided
+ if (logLevel) {
+ this.setLogLevel(logLevel, OVERRIDES);
+ }
+
/**
* Session Info is not maintained across logger instances by react-native-logger.
* We must manually set on each instance to ensure it is included in logs.
@@ -75,15 +81,14 @@ class LoggerClient {
public configure = (
config: FoundationLoggerConfig & { overrides?: TLogLevelOverride[] }
) => {
- const { logLevel, overrides, ...restConfig } = config || {};
+ const { logLevel, overrides } = config;
+
+ // @todo - think about how to merge new fields
+ // if (config.fields) {}
if (logLevel) {
this.setLogLevel(logLevel, overrides);
}
-
- if (restConfig) {
- this._logger.setConfig(restConfig as TConfig);
- }
};
public debug = (message: string, params?: Record<string, any>) => {
@@ -123,11 +128,12 @@ export class LoggerClientManager {
public createFeatureInstance = (
id: string,
- config?: FoundationLoggerConfig & TConfig
+ config?: FoundationLoggerConfig
) => {
const existing = this._instances.get(id);
- if (existing) {
- existing.configure(config as FoundationLoggerConfig);
+
+ if (existing && config) {
+ existing.configure(config);
return existing;
}
@@ -148,7 +154,7 @@ export class LoggerClientManager {
* @deprecated kept for backwards compatability
*/
public clone = (
- config: FoundationLoggerConfig & TConfig,
+ config: FoundationLoggerConfig,
fields: { id: string; [key: string]: any }
) => {
return this.createFeatureInstance(fields.id, config);
| fix: log level not set during creation of logger client if provided | fix: log level not set during creation of logger client if provided
|
af43f7f17c1456c151cc9d4ac7fdfa6768e4ac45 | --- packages/myteam-mini-app/__tests__/components/TeamHubButton.test.tsx
@@ -24,7 +24,6 @@ jest.mock('@walmart/gtp-shared-components-3', () => {
import {TeamHubButton, style} from '../../src/components/TeamHubButton';
-// Expected style values from the component
const EXPECTED_STYLES = {
hubButton: {
justifyContent: 'center',
--- packages/myteam-mini-app/__tests__/myteam-hub/components/MyTeamAssociateExpHub.test.tsx
@@ -36,8 +36,6 @@ import {myTeamTelemetry} from '../../../src/common/telemetry';
import {useUserCanSeeHub} from '@walmart/my-walmart-hub';
import {useAllsparkSelector} from '@walmart/allspark-foundation';
-// Default values from MyTeamAssociateExpHub component props
-// These match the default parameter values in the source component
const DEFAULTS = {
CONTAINER_ID: 'MyTeam.AssociateExpHub',
CCM_NAMESPACE: 'associate-exp-hub',
--- packages/myteam-mini-app/__tests__/myteam-hub/components/MyTeamUserTypeHub.test.tsx
@@ -2,7 +2,6 @@ import React from 'react';
import {render} from '@testing-library/react-native';
import {MyTeamUserTypeHub} from '../../../src/myteam-hub/components/MyTeamUserTypeHub';
-// Expected values - must match mock and source
const EXPECTED_CONTAINER_ID = 'MY_WALMART.MY_TEAM';
const EXPECTED_CCM_NAMESPACE = 'associate-exp-hub';
| chore: increase test coverage | chore: increase test coverage
|
41bc05c03b84f6976311bf550bc140af3a586c88 | --- package.json
@@ -98,7 +98,7 @@
"@walmart/avp-feature-app": "0.28.42",
"@walmart/avp-shared-library": "0.27.24",
"@walmart/ax-components": "1.2.3",
- "@walmart/backroom-mini-app": "1.17.7",
+ "@walmart/backroom-mini-app": "1.17.9",
"@walmart/beneficiary-online-mini-app": "0.1.26",
"@walmart/beneficiary-online-shared-library": "1.2.7",
"@walmart/calling-mini-app": "0.8.29",
--- yarn.lock
@@ -7624,14 +7624,13 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/backroom-mini-app@npm:1.17.7":
- version: 1.17.7
- resolution: "@walmart/backroom-mini-app@npm:1.17.7::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fbackroom-mini-app%2F-%2F%40walmart%2Fbackroom-mini-app-1.17.7.tgz"
+"@walmart/backroom-mini-app@npm:1.17.9":
+ version: 1.17.9
+ resolution: "@walmart/backroom-mini-app@npm:1.17.9::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fbackroom-mini-app%2F-%2F%40walmart%2Fbackroom-mini-app-1.17.9.tgz"
peerDependencies:
"@react-navigation/native": ^7.0.0
"@react-navigation/stack": ^7.1.0
"@walmart/allspark-foundation": ">=6.19.1"
- "@walmart/gtp-shared-components": ">=1.8.0"
"@walmart/ims-print-services-ui": ^2.14.0
"@walmart/me-at-walmart-common": ">=6.24.0"
"@walmart/react-native-scanner-3.0": ">=0.6.0"
@@ -7649,7 +7648,7 @@ __metadata:
react-native-svg-transformer: ">=1.0.0"
react-redux: ">=8.0.0"
redux: ">=4.0.0"
- checksum: 10c0/d4143d9574c1ac2ddfbd8ab1872fd64492aad82716c83e997e7f6d6ba1a7cfb1c85b04949d6980eb19cc3565f4b8f9e890447cefb123505c8b2039954065059c
+ checksum: 10c0/c09dc00534e37ca6cac28eb1812f5ac5bf3fce193233fe41af1fdb87344cc2dbb6b231c10f53d635f6bde9720902c4d3bf9b2b265f6ac947825ed8eb2935477e
languageName: node
linkType: hard
@@ -8503,7 +8502,7 @@ __metadata:
"@walmart/avp-feature-app": "npm:0.28.42"
"@walmart/avp-shared-library": "npm:0.27.24"
"@walmart/ax-components": "npm:1.2.3"
- "@walmart/backroom-mini-app": "npm:1.17.7"
+ "@walmart/backroom-mini-app": "npm:1.17.9"
"@walmart/beneficiary-online-mini-app": "npm:0.1.26"
"@walmart/beneficiary-online-shared-library": "npm:1.2.7"
"@walmart/calling-mini-app": "npm:0.8.29"
| feat: Upgrade backroom-mini-app to 1.17.9 (#5194) | feat: Upgrade backroom-mini-app to 1.17.9 (#5194)
Co-authored-by: Hariharan Sundaram <121838+h0s0em0@users.noreply.gecgithub01.walmart.com> |
2b882bcc49c1a0eb04f5a242c303f84f69a05434 | --- ios/Podfile.lock
@@ -581,20 +581,20 @@ PODS:
- SSO (1.4.3):
- AppAuth
- Starscream (3.0.6)
- - StructuredLogAssistantIOS (0.0.6)
- - SumoSDK (2.2.0):
+ - StructuredLogAssistantIOS (0.0.7)
+ - SumoSDK (2.2.1):
- Apollo (= 0.42.0)
- Apollo/SQLite (= 0.42.0)
- Firebase/Messaging (~> 8.4)
- - StructuredLogAssistantIOS (= 0.0.6)
+ - StructuredLogAssistantIOS (= 0.0.7)
- SwiftProtobuf (1.19.0)
- TextServiceProto (0.0.12):
- SwiftProtobuf
- VisionCamera (1.0.10):
- React-Core
- - walmart-react-native-sumo-sdk (2.2.0):
+ - walmart-react-native-sumo-sdk (2.2.1):
- React
- - SumoSDK (= 2.2.0)
+ - SumoSDK (= 2.2.1)
- wifi-store-locator (1.0.0-alpha2):
- React-Core
- Yoga (1.14.0)
@@ -1025,12 +1025,12 @@ SPEC CHECKSUMS:
SQLite.swift: d2b4642190917051ce6bd1d49aab565fe794eea3
SSO: dde199615662c7a7f9d62828f898441074950864
Starscream: ef3ece99d765eeccb67de105bfa143f929026cf5
- StructuredLogAssistantIOS: 68c6fc083b10202a570f4a737359dcc7f81ec6e4
- SumoSDK: fdaac9d36fa26540c84f80a454f495b1eb2b3b28
+ StructuredLogAssistantIOS: d48c327b3b67366d954435891dc1e748a6aeb9c1
+ SumoSDK: d3184a1ee47b1cfde30a01e53f0922add1bb1065
SwiftProtobuf: 6ef3f0e422ef90d6605ca20b21a94f6c1324d6b3
TextServiceProto: 07782a63b28a91b30d9a008ffd925768f6da6a2d
VisionCamera: 60b74823ece943da919e2eb6dde62a676c486382
- walmart-react-native-sumo-sdk: a452de9879a2420f2cd522795be989596574d728
+ walmart-react-native-sumo-sdk: 5a7fe08175ca155904f8f19db9a2d8710511771b
wifi-store-locator: 0f4d1e14ff9b98c559275105c655a5a6103ef427
Yoga: e7dc4e71caba6472ff48ad7d234389b91dadc280
--- package-lock.json
@@ -4394,9 +4394,9 @@
"integrity": "sha512-xXCe5sJeytOO9HAKLaTiQQMzomfUS2wUP6ICLYv9BGtdJUDmoKNT7aFYeRDGPgvPvkc1A8oFrqJIrOshjLnxSg=="
},
"@walmart/react-native-sumo-sdk": {
- "version": "2.2.0",
- "resolved": "https://npme.walmart.com/@walmart/react-native-sumo-sdk/-/react-native-sumo-sdk-2.2.0.tgz",
- "integrity": "sha512-y7qpakPUnLrHXskuvuMmyPGRfttJhllcUm31hE0awpa7ebveEOmfvBhlpa4zBgCkA3E54FRWKLN158sVynf64g=="
+ "version": "2.2.1",
+ "resolved": "https://npme.walmart.com/@walmart/react-native-sumo-sdk/-/react-native-sumo-sdk-2.2.1.tgz",
+ "integrity": "sha512-//ejMEC33M3sDSfEXxpxGsbtIynPTof0vlCqtrO6m4V/W0uF0Z5Kg2qatsBbcwI8EFG22DLuXUUfvtTvoVPn6A=="
},
"@walmart/redux-store": {
"version": "1.1.26",
--- package.json
@@ -95,7 +95,7 @@
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.28.0",
"@walmart/react-native-shared-navigation": "^0.4.0",
- "@walmart/react-native-sumo-sdk": "2.2.0",
+ "@walmart/react-native-sumo-sdk": "2.2.1",
"@walmart/redux-store": "1.1.26",
"@walmart/refrigeration-alarms-mini-app": "1.35.0",
"@walmart/schedule-mini-app": "0.12.0",
| sumo version bump to 2.2.1 | sumo version bump to 2.2.1
|
81a9715f75180a4fffb7943e77a3369d050fba58 | --- docs/CHANGELOG.md
@@ -1,3 +1,11 @@
+## [2.25.3](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.25.2...v2.25.3) (2025-04-07)
+
+
+### Bug Fixes
+
+* **ui:** update the selector error ([3248ee8](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/3248ee81e226d53c629c6a058a2cc90d39b669d4))
+* **ui:** update the selector error ([c619ca4](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/c619ca4af26d22a4c002a353cc36332b40b6c3d5))
+
## [2.25.2](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.25.1...v2.25.2) (2025-04-04)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.25.2",
+ "version": "2.25.3",
"main": "dist/index.js",
"files": [
"dist"
| chore(release): 2.25.3 [skip ci] | chore(release): 2.25.3 [skip ci]
## [2.25.3](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.25.2...v2.25.3) (2025-04-07)
### Bug Fixes
* **ui:** update the selector error ([3248ee8](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/3248ee81e226d53c629c6a058a2cc90d39b669d4))
* **ui:** update the selector error ([c619ca4](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/c619ca4af26d22a4c002a353cc36332b40b6c3d5))
|
d3972c4c95c79ea5dca38b070ea482f7af4619d0 | --- package-lock.json
@@ -80,7 +80,7 @@
"@walmart/schedule-mini-app": "0.37.0",
"@walmart/settings-mini-app": "1.18.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
- "@walmart/taskit-mini-app": "2.40.2-823-7acc54a",
+ "@walmart/taskit-mini-app": "2.40.3",
"@walmart/time-clock-mini-app": "2.98.0",
"@walmart/topstock-mini-app": "1.0.6",
"@walmart/ui-components": "1.15.0",
@@ -5994,9 +5994,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "2.40.2-823-7acc54a",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.40.2-823-7acc54a.tgz",
- "integrity": "sha512-cmzqQqS5ulOHGaf60ZyewuI7abyzSlVJdxf6qh+1QsXFkH4OzNqHowJaKbCh62r2Bnxn9Hz+gqfO0KTWQNXi6Q==",
+ "version": "2.40.3",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.40.3.tgz",
+ "integrity": "sha512-eXG9NXxRPPbeTKR06/ajP7f4Zvr8G/sANHb1IhVkhQkTY4eQV8ZkBBxnrWyDXZvec2HLNicr29RWdxoWUyy6iQ==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
@@ -25384,9 +25384,9 @@
"version": "1.5.16"
},
"@walmart/taskit-mini-app": {
- "version": "2.40.2-823-7acc54a",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.40.2-823-7acc54a.tgz",
- "integrity": "sha512-cmzqQqS5ulOHGaf60ZyewuI7abyzSlVJdxf6qh+1QsXFkH4OzNqHowJaKbCh62r2Bnxn9Hz+gqfO0KTWQNXi6Q=="
+ "version": "2.40.3",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.40.3.tgz",
+ "integrity": "sha512-eXG9NXxRPPbeTKR06/ajP7f4Zvr8G/sANHb1IhVkhQkTY4eQV8ZkBBxnrWyDXZvec2HLNicr29RWdxoWUyy6iQ=="
},
"@walmart/tcnumber": {
"version": "2.3.3",
--- package.json
@@ -122,7 +122,7 @@
"@walmart/schedule-mini-app": "0.37.0",
"@walmart/settings-mini-app": "1.18.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
- "@walmart/taskit-mini-app": "2.40.2-823-7acc54a",
+ "@walmart/taskit-mini-app": "2.40.3",
"@walmart/time-clock-mini-app": "2.98.0",
"@walmart/topstock-mini-app": "1.0.6",
"@walmart/ui-components": "1.15.0",
| updated taskit version | updated taskit version
|
5cce6ac19ed1321d9fdb70f7bdf378398f5a4842 | --- packages/allspark-foundation-hub/src/Store/Modules/Hub/HubDashboard.tsx
@@ -24,6 +24,7 @@ import {
telemetryLogHandler,
telemetryEventsHandler,
createDefaultWidgetPlaceholder,
+ MY_TEAMS_TEAM_ID,
} from '../../../Shared';
import styles from './styles';
import { Body } from '@walmart/gtp-shared-components';
@@ -163,8 +164,10 @@ export const HubDashboard = ({
const navigateBack = () => AllsparkNavigationClient.goBack();
useEffect(() => {
- const allowedWidgets = Object.keys(widgets).includes(teamState.teamLabel)
- ? widgets[teamState.teamLabel].widgets.map((widgetData: string) => {
+ const teamName =
+ teamState.teamIds.length > 1 ? MY_TEAMS_TEAM_ID : teamState.teamIds?.[0];
+ const allowedWidgets = Object.keys(widgets).includes(teamName)
+ ? widgets[teamName].widgets.map((widgetData: string) => {
let layoutConfig = { componentId: '' };
let layoutConfigList: [] = [];
layoutConfig.componentId = widgetData;
--- packages/allspark-foundation-hub/src/Store/Modules/TeamSwitcher/index.tsx
@@ -48,6 +48,22 @@ import { useUserPersonaType } from '../../../Shared/Hooks/useUserPersonaType';
export * from './types';
+const totalStore: TeamSwitcherTypes = {
+ teamId: TOTAL_STORE_TEAM_ID,
+ teamLabel: TOTAL_STORE_TEAM_LABEL,
+ teamImage: Images.total,
+};
+const myTeams: TeamSwitcherTypes = {
+ teamId: MY_TEAMS_TEAM_ID,
+ teamLabel: MY_TEAMS_TEAM_LABEL,
+ teamImage: Images.myTeams,
+};
+const management: TeamSwitcherTypes = {
+ teamId: MANAGEMENT_TEAM_ID,
+ teamLabel: MANAGEMENT_TEAM_LABEL,
+ teamImage: Images[MANAGEMENT_TEAM_ID],
+};
+
export const TeamSwitcher = ({
onTeamChange,
refreshing,
@@ -79,6 +95,7 @@ export const TeamSwitcher = ({
const styles = useMemo(() => TeamSwitcherStyles(), []);
const TeamImage = useAllsparkImage();
const dispatch = useDispatch();
+
const selectedTeamPreference: string = useSelector(
StoreManagerExperienceSelectors.getSelectedTeamPreference
);
@@ -93,53 +110,50 @@ export const TeamSwitcher = ({
);
const { isOffSite, allTeamsOfStore } = useGetAllTeamsOfStore();
- useEffect(() => {
- const totalStore: TeamSwitcherTypes = {
- teamId: TOTAL_STORE_TEAM_ID,
- teamLabel: TOTAL_STORE_TEAM_LABEL,
- teamImage: Images.total,
- };
- const myTeams: TeamSwitcherTypes = {
- teamId: MY_TEAMS_TEAM_ID,
- teamLabel: MY_TEAMS_TEAM_LABEL,
- teamImage: Images.myTeams,
- };
- const management: TeamSwitcherTypes = {
- teamId: MANAGEMENT_TEAM_ID,
- teamLabel: MANAGEMENT_TEAM_LABEL,
- teamImage: Images[MANAGEMENT_TEAM_ID],
- };
+ const isSalariedAndNotHomeOffice =
+ isOffSite && empType === EMP_TYPE_SALARIED && !isHomeOffice;
+ const isHourlyAndHomeOffice =
+ (isOffSite && empType === EMP_TYPE_HOURLY) || isHomeOffice;
+ const isPrefAvaialable = userPrefTeams && userPrefTeams.length > 0;
- const selectTeam = (team: TeamSwitcherTypes) => {
+ const setCurrentTeam = (team: any) => {
+ if (team.teamId === 'myTeams') {
+ const selectedTeamsList = teamData
+ .filter((teamInfo) => teamInfo.teamLabel)
+ .map((teamInfo) => teamInfo.teamId);
+ dispatch(
+ StoreManagerExperienceCreators.updateSelectedTeamIDs(selectedTeamsList)
+ );
+ onTeamChange(team.teamLabel, selectedTeamsList);
+ } else {
+ dispatch(
+ StoreManagerExperienceCreators.updateSelectedTeamIDs([team.teamId])
+ );
+ onTeamChange(team.teamLabel, [team.teamId]);
+ }
+ };
+
+ const selectTeam = useCallback(
+ (team: any) => {
setSelectedTeam(team.teamLabel);
- if (team.teamId === 'myTeams') {
- const selectedTeamsList = teamData
- .filter((teamInfo) => teamInfo.teamLabel)
- .map((teamInfo) => teamInfo.teamId);
- dispatch(
- StoreManagerExperienceCreators.updateSelectedTeamIDs(
- selectedTeamsList
- )
- );
- onTeamChange(team.teamLabel, selectedTeamsList);
- } else {
- dispatch(
- StoreManagerExperienceCreators.updateSelectedTeamIDs([team.teamId])
- );
- onTeamChange(team.teamLabel, [team.teamId]);
- }
- };
+ setCurrentTeam(team);
+ },
+ [onTeamChange, teamData, selectedTeam, dispatch]
+ );
- let evaluatedTeamList: TeamSwitcherTypes[];
- let evaluatedSelectTeam: TeamSwitcherTypes;
+ const initializeTeamEvaluation = () => {
+ let evaluatedTeamList: TeamSwitcherTypes[] = [];
+ let evaluatedSelectTeam: TeamSwitcherTypes = {} as TeamSwitcherTypes;
- if (isOffSite && empType === EMP_TYPE_SALARIED && !isHomeOffice) {
+ if (isSalariedAndNotHomeOffice) {
evaluatedTeamList = [totalStore, management, ...allTeamsOfStore];
evaluatedSelectTeam = management;
- } else if ((isOffSite && empType === EMP_TYPE_HOURLY) || isHomeOffice) {
+ }
+ if (isHourlyAndHomeOffice) {
evaluatedTeamList = [totalStore, ...allTeamsOfStore];
evaluatedSelectTeam = totalStore;
- } else if (userPrefTeams && userPrefTeams.length > 1) {
+ }
+ if (isPrefAvaialable) {
const primaryTeam = userTeams?.[0];
evaluatedTeamList = [
totalStore,
@@ -147,25 +161,33 @@ export const TeamSwitcher = ({
...sorter(userPrefTeams, primaryTeam),
];
evaluatedSelectTeam = myTeams;
- } else {
+ }
+ if (
+ !isSalariedAndNotHomeOffice &&
+ !isHourlyAndHomeOffice &&
+ !isPrefAvaialable
+ ) {
const defaultTeams = getDefaultTeamsForUserType(empType, userTeams);
evaluatedTeamList = [totalStore, ...defaultTeams];
evaluatedSelectTeam = defaultTeams[0] || totalStore;
}
+
setTeamSwitcherList(evaluatedTeamList);
selectTeam(
findTeamById(evaluatedTeamList, selectedTeamPreference) ||
evaluatedSelectTeam
);
+ };
+
+ useEffect(() => {
+ initializeTeamEvaluation();
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [
- userPrefTeams,
- empType,
- userTeams,
- isOffSite,
allTeamsOfStore,
- selectedTeamPreference,
- selectedTeam,
+ userPrefTeams,
+ isSalariedAndNotHomeOffice,
+ isHourlyAndHomeOffice,
+ isPrefAvaialable,
]);
useEffect(() => {
--- 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]}
+ teamImage={Images[savedTeam.teamId] || Images['Default']}
onSelect={() => {}}
/>
);
| feat(ui): updated logic for store switcher | feat(ui): updated logic for store switcher
|
8b3d5735a8a8914216745412929cfc1466a9c276 | --- jest.config.js
@@ -9,10 +9,10 @@ module.exports = {
],
coverageThreshold: {
global: {
- statements: 19.58,
- branches: 9.63,
- functions: 14.12,
- lines: 19.86,
+ statements: 19.82,
+ branches: 9.45,
+ functions: 14.04,
+ lines: 20.09,
},
},
transformIgnorePatterns: [
--- jest.config.js
@@ -9,10 +9,10 @@ module.exports = {
],
coverageThreshold: {
global: {
- statements: 19.58,
- branches: 9.63,
- functions: 14.12,
- lines: 19.86,
+ statements: 19.82,
+ branches: 9.45,
+ functions: 14.04,
+ lines: 20.09,
},
},
transformIgnorePatterns: [
| fixing coverage | fixing coverage
|
2c3bb0c396e880aa097349b697ac40cbd6d77ac1 | --- CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.33.1-alpha.6](https://gecgithub01.walmart.com/allspark/allspark-core/compare/v6.33.1-alpha.5...v6.33.1-alpha.6) (2025-07-22)
+
+
+### Features
+
+* **template:** ALLSPARK-6366 PR teamplate update ([c2cd26e](https://gecgithub01.walmart.com/allspark/allspark-core/commit/c2cd26ef4d4d370c2e5ee1b0aa5fc5a0baf7bb07))
+
+
+
+
+
## [6.33.1-alpha.5](https://gecgithub01.walmart.com/allspark/allspark-core/compare/v6.33.1-alpha.4...v6.33.1-alpha.5) (2025-07-21)
**Note:** Version bump only for package @walmart/me-at-walmart
--- lerna.json
@@ -1,5 +1,5 @@
{
- "version": "6.33.1-alpha.5",
+ "version": "6.33.1-alpha.6",
"npmClient": "yarn",
"changelogPreset": "angular",
"command": {
--- 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.
+## [6.33.1-alpha.6](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/v6.33.1-alpha.5...v6.33.1-alpha.6) (2025-07-22)
+
+**Note:** Version bump only for package @walmart/core-services-allspark
+
+
+
+
+
## [6.33.1-alpha.5](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/v6.33.1-alpha.4...v6.33.1-alpha.5) (2025-07-21)
**Note:** Version bump only for package @walmart/core-services-allspark
--- packages/core-services-allspark/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "6.33.1-alpha.5",
+ "version": "6.33.1-alpha.6",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/core-widget-registry/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.33.1-alpha.6](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/v6.33.1-alpha.5...v6.33.1-alpha.6) (2025-07-22)
+
+**Note:** Version bump only for package @walmart/core-widget-registry
+
+
+
+
+
## [6.33.1-alpha.5](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/v6.33.1-alpha.4...v6.33.1-alpha.5) (2025-07-21)
**Note:** Version bump only for package @walmart/core-widget-registry
--- packages/core-widget-registry/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-widget-registry",
- "version": "6.33.1-alpha.5",
+ "version": "6.33.1-alpha.6",
"description": "Repo for Me@Walmart related widget registries",
"author": "rlane1 <russell.lane@walmart.com>",
"license": "ISC",
--- packages/me-at-walmart-common/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.33.1-alpha.6](https://gecgithub01.walmart.com/allspark/allspark/compare/v6.33.1-alpha.5...v6.33.1-alpha.6) (2025-07-22)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-common
+
+
+
+
+
## [6.33.1-alpha.5](https://gecgithub01.walmart.com/allspark/allspark/compare/v6.33.1-alpha.4...v6.33.1-alpha.5) (2025-07-21)
**Note:** Version bump only for package @walmart/me-at-walmart-common
--- packages/me-at-walmart-common/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-common",
- "version": "6.33.1-alpha.5",
+ "version": "6.33.1-alpha.6",
"description": "Common utilities and components for Me@Walmat mini apps",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/me-at-walmart-container/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.33.1-alpha.6](https://gecgithub01.walmart.com/allspark/allspark-core/compare/v6.33.1-alpha.5...v6.33.1-alpha.6) (2025-07-22)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-container
+
+
+
+
+
## [6.33.1-alpha.5](https://gecgithub01.walmart.com/allspark/allspark-core/compare/v6.33.1-alpha.4...v6.33.1-alpha.5) (2025-07-21)
**Note:** Version bump only for package @walmart/me-at-walmart-container
--- packages/me-at-walmart-container/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-container",
- "version": "6.33.1-alpha.5",
+ "version": "6.33.1-alpha.6",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
|
f917bfed76f34ac89c790c90adf815dd0548da0c | --- package.json
@@ -109,7 +109,7 @@
"@walmart/exception-mini-app": "1.8.19",
"@walmart/expo-config-plugins": "~0.5.3",
"@walmart/facilities-management-miniapp": "0.18.33",
- "@walmart/feedback-all-spark-miniapp": "0.9.75",
+ "@walmart/feedback-all-spark-miniapp": "patch:@walmart/feedback-all-spark-miniapp@npm%3A0.9.75#~/.yarn/patches/@walmart-feedback-all-spark-miniapp-npm-0.9.75-733d2d347a.patch",
"@walmart/financial-wellbeing-feature-app": "1.31.6",
"@walmart/functional-components": "~6.3.28",
"@walmart/global-vpi-mini-app": "1.1.40",
--- yarn.lock
@@ -7809,6 +7809,29 @@ __metadata:
languageName: node
linkType: hard
+"@walmart/feedback-all-spark-miniapp@patch:@walmart/feedback-all-spark-miniapp@npm%3A0.9.75#~/.yarn/patches/@walmart-feedback-all-spark-miniapp-npm-0.9.75-733d2d347a.patch":
+ version: 0.9.75
+ resolution: "@walmart/feedback-all-spark-miniapp@patch:@walmart/feedback-all-spark-miniapp@npm%3A0.9.75%3A%3A__archiveUrl=https%253A%252F%252Fnpm.ci.artifacts.walmart.com%253A443%252Fartifactory%252Fapi%252Fnpm%252Fnpme-npm%252F%2540walmart%252Ffeedback-all-spark-miniapp%252F-%252F%2540walmart%252Ffeedback-all-spark-miniapp-0.9.75.tgz#~/.yarn/patches/@walmart-feedback-all-spark-miniapp-npm-0.9.75-733d2d347a.patch::version=0.9.75&hash=f7be98"
+ peerDependencies:
+ "@react-navigation/native": ^6.0.0
+ "@react-navigation/stack": ^6.1.0
+ "@walmart/allspark-foundation": "*"
+ "@walmart/core-services": ">=6"
+ "@walmart/gtp-shared-components": ^2.1.9
+ "@walmart/react-native-shared-navigation": ">=1.0.2"
+ "@walmart/redux-store": ">=6"
+ "@walmart/ui-components": ">=1.10.1"
+ crypto-js: ~4.2.0
+ react: ^18.2.0
+ react-native: ~0.73.7
+ react-navigation: ^4.4.3
+ react-redux: ^7.2.1
+ reduxsauce: ^1.2.0
+ reselect: ^4.0.0
+ checksum: 10c0/7fdd906c973c9b359ee6c497e404dde8ed12602d86dd2ce0ba0c8d7fa4fb678b41e0ad525460ca42c2ee9526f3c187e55bcb1c9d9b4ffa957ee1c7401baa0954
+ languageName: node
+ linkType: hard
+
"@walmart/financial-wellbeing-feature-app@npm:1.31.6":
version: 1.31.6
resolution: "@walmart/financial-wellbeing-feature-app@npm:1.31.6::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ffinancial-wellbeing-feature-app%2F-%2F%40walmart%2Ffinancial-wellbeing-feature-app-1.31.6.tgz"
@@ -8327,7 +8350,7 @@ __metadata:
"@walmart/exception-mini-app": "npm:1.8.19"
"@walmart/expo-config-plugins": "npm:~0.5.3"
"@walmart/facilities-management-miniapp": "npm:0.18.33"
- "@walmart/feedback-all-spark-miniapp": "npm:0.9.75"
+ "@walmart/feedback-all-spark-miniapp": "patch:@walmart/feedback-all-spark-miniapp@npm%3A0.9.75#~/.yarn/patches/@walmart-feedback-all-spark-miniapp-npm-0.9.75-733d2d347a.patch"
"@walmart/financial-wellbeing-feature-app": "npm:1.31.6"
"@walmart/functional-components": "npm:~6.3.28"
"@walmart/global-vpi-mini-app": "npm:1.1.40"
| fix: apply feedback mini app patch from drop 33 (#4830) | fix: apply feedback mini app patch from drop 33 (#4830)
|
93ef01188dc5ac59238e514547dbbd3e84153d61 | --- core/src/core/CreateGuardedScreens.tsx
@@ -6,7 +6,7 @@ import {StackNavigationOptions} from '@react-navigation/stack';
export const CreateGuardedScreens = (
Stack: TypedNavigator<any, any, any, any, any>,
configs: readonly {
- name: keyof MainStackMap & keyof HomeStackMap;
+ name: string;
component: ComponentType;
options?: StackNavigationOptions;
}[],
@@ -18,9 +18,7 @@ export const CreateGuardedScreens = (
<Stack.Screen
key={name}
name={name}
- component={
- withClockOutGuard(withFeatureToggleGuard(component))
- }
+ component={withClockOutGuard(withFeatureToggleGuard(component))}
options={options}
/>
);
--- core/src/oneClick/DataSelector.tsx
@@ -1,9 +0,0 @@
-import {createSelector} from 'reselect';
-import {IAllsparkReduxState} from '@walmart/allspark-foundation/Redux';
-import { ConfigSelectors } from '@walmart/allspark-foundation/Config';
-
-
-export const getAppConfig = (state: IAllsparkReduxState): any =>
- state?.appConfig;
-
-export const AppConfigSelector = createSelector([getAppConfig], (data) => data);
--- core/src/oneClick/OneClickSagas.tsx
@@ -10,7 +10,7 @@ import {
NavConfigSelectors,
} from '@walmart/allspark-foundation/Navigation';
import {updateMegaNavCCM} from './utility/updateMegaNavCCM';
-import { ConfigSelectors } from '@walmart/allspark-foundation/Config';
+import {ConfigSelectors} from '@walmart/allspark-foundation/Config';
import {ConfigActionTypes} from '@walmart/allspark-foundation/Config';
export function* onOneClickRequest(): any {
@@ -27,7 +27,7 @@ export function* onOneClickRequest(): any {
//Calling updateMeganavData for the updated data
const updateMegaNavCCMData = updateMegaNavCCM(
meganavData,
- appConfigData?.oneClick,
+ appConfigData?.data?.oneClick,
);
//updating the meganav data
--- core/src/oneClick/useOneClick.ts
@@ -1,5 +1,5 @@
import {useSelector} from 'react-redux';
-import { ConfigSelectors } from '@walmart/allspark-foundation/Config';
+import {ConfigSelectors} from '@walmart/allspark-foundation/Config';
import {MINI_APPS} from './MiniApps';
export const useOneClick = () => {
--- core/src/oneClick/utility/updateMegaNavCCM.js
@@ -1,24 +0,0 @@
-import _ from 'lodash';
-
-export const updateMegaNavCCM = (meganavData, oneClickMapper) => {
- const meganavClonedData = _.cloneDeep(meganavData);
- const updateEnabled = (menu) => {
- if (!menu) {
- return;
- }
- const {id} = menu;
- const app = oneClickMapper?.[id];
- menu.enabled = app?.enable ?? menu.enabled;
- };
-
- meganavClonedData?.data.forEach((navItem) => {
- navItem.navs.forEach((menu) => {
- if (menu?.subMenus) {
- menu.subMenus.forEach(updateEnabled);
- }
- updateEnabled(menu);
- });
- });
-
- return meganavClonedData;
-};
--- core/src/oneClick/utility/updateMegaNavCCM.ts
@@ -0,0 +1,39 @@
+import _ from 'lodash';
+import {NavConfigData, NavType} from '@walmart/allspark-foundation/Navigation';
+import {FeatureConfig} from '@walmart/allspark-foundation';
+
+export const updateMegaNavCCM = (
+ meganavData: NavConfigData,
+ oneClickMapper: FeatureConfig,
+) => {
+ const meganavClonedData = _.cloneDeep(meganavData);
+ const updateEnabled = (menu: any) => {
+ if (!menu) {
+ return;
+ }
+ const {id} = menu;
+ const app = oneClickMapper?.[id];
+ menu.enabled = app?.enable ?? menu.enabled;
+ };
+
+ meganavClonedData[NavType.sideNav].forEach((navItem) => {
+ if (navItem?.subMenus) {
+ navItem.subMenus.forEach(updateEnabled);
+ }
+ updateEnabled(navItem);
+ });
+
+ meganavClonedData[NavType.bottomNav].forEach((navItem) => {
+ if (navItem?.id) {
+ updateEnabled(navItem);
+ }
+ });
+
+ meganavClonedData[NavType.quickAction].forEach((navItem) => {
+ if (navItem?.id) {
+ updateEnabled(navItem);
+ }
+ });
+
+ return meganavClonedData;
+};
| ALLSPARK-3962: Updated to use foundation and megaNav changes | ALLSPARK-3962: Updated to use foundation and megaNav changes
|
9fc971689ea0c748a2e27b17aaf0684c5bd899c4 | --- targets/US/package.json
@@ -86,7 +86,7 @@
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.24.7",
"@walmart/associate-listening-mini-app": "1.2.7",
- "@walmart/attendance-mini-app": "3.84.0",
+ "@walmart/attendance-mini-app": "3.85.0",
"@walmart/avp-feature-app": "0.10.7",
"@walmart/avp-shared-library": "0.10.1",
"@walmart/backroom-mini-app": "1.5.20",
--- yarn.lock
@@ -6001,9 +6001,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/attendance-mini-app@npm:3.84.0":
- version: 3.84.0
- resolution: "@walmart/attendance-mini-app@npm:3.84.0"
+"@walmart/attendance-mini-app@npm:3.85.0":
+ version: 3.85.0
+ resolution: "@walmart/attendance-mini-app@npm:3.85.0"
dependencies:
"@walmart/wfm-ui": "npm:^0.2.26"
moment-timezone: "npm:0.5.40"
@@ -6033,7 +6033,7 @@ __metadata:
redux-saga: ^1.2.0
reselect: ^4.1.0
wfm-allspark-data-library: ^3.3.0
- checksum: 10c0/0bc3ecf70348fbbfa65aafbc80282f641c32fc39f3542ec32923187aace22ad7fc75847d189b6fe727907afb069dfa0569f78df595aa2a7bacbf03a159ae43e0
+ checksum: 10c0/e3d2514586b11ca7073dfec86d663c0f10d98331093fb611ca81351f7b4cf95510416a1e484daa5a4b6b0c7cb5c99610aeb47c9307c37629b186c6ab19e437fd
languageName: node
linkType: hard
@@ -7002,7 +7002,7 @@ __metadata:
"@walmart/ask-sam-chat-components": "npm:^0.2.7"
"@walmart/ask-sam-mini-app": "npm:1.24.7"
"@walmart/associate-listening-mini-app": "npm:1.2.7"
- "@walmart/attendance-mini-app": "npm:3.84.0"
+ "@walmart/attendance-mini-app": "npm:3.85.0"
"@walmart/avp-feature-app": "npm:0.10.7"
"@walmart/avp-shared-library": "npm:0.10.1"
"@walmart/backroom-mini-app": "npm:1.5.20"
| bump ama verion 3.85.0 | bump ama verion 3.85.0
|
b05b35b162342434329e32fcc710524f95acb2fa | --- packages/allspark-foundation-hub/src/HubFeature/Hub/Container/styles.ts
@@ -18,12 +18,6 @@ export default StyleSheet.create({
textAlign: 'center',
marginTop: 12,
},
- warningContainer: {
- paddingHorizontal: 16,
- paddingTop: 16,
- backgroundColor: colors.white,
- top: 8,
- },
cardStyle: {
marginBottom: 16,
marginHorizontal: 16,
--- packages/allspark-foundation-hub/src/HubFeature/Hub/TeamSwitcher/index.tsx
@@ -32,7 +32,6 @@ import { useTelemetryService } from '@walmart/allspark-foundation/Telemetry';
import { useAllsparkImage } from '@walmart/allspark-foundation/Components/context';
import { Images } from '../../Images/images';
import { LoggerService } from '@walmart/allspark-foundation/Logger';
-import alertStyles from '../Container/styles';
import { useAllsparkTranslation } from '@walmart/allspark-foundation/Translation';
import { FEATURE_ID } from '../../constant';
@@ -249,7 +248,7 @@ export const TeamSwitcher = ({
);
return (
- <>
+ <View style={styles.teamSwitcherContainer}>
<View style={styles.container}>
<FlatList
style={styles.flatListContainer}
@@ -266,7 +265,7 @@ export const TeamSwitcher = ({
/>
</View>
{error && (
- <View style={alertStyles.warningContainer}>
+ <View style={styles.warningContainer}>
<Alert
variant='warning'
children={t('hubContainer.selectedTeamsError.message')}
@@ -279,6 +278,6 @@ export const TeamSwitcher = ({
/>
</View>
)}
- </>
+ </View>
);
};
--- packages/allspark-foundation-hub/src/HubFeature/Hub/TeamSwitcher/styles.ts
@@ -139,4 +139,13 @@ export const TeamSwitcherStyles = () =>
skeletonOuterContainer: {
margin: 10,
},
+ warningContainer: {
+ paddingHorizontal: 16,
+ paddingTop: 16,
+ backgroundColor: colors.white,
+ },
+ teamSwitcherContainer: {
+ backgroundColor: colors.white,
+ gap: 8,
+ },
});
| feat(ui): update style | feat(ui): update style
|
d241c9867e51594c785063ed782d6627f9d766e7 | --- packages/allspark-foundation-hub/src/HubFeature/Hub/Container/styles.ts
@@ -27,7 +27,5 @@ export default StyleSheet.create({
marginBottom: 16,
marginHorizontal: 16,
width: 'auto',
- marginRight: 16,
- marginLeft: 16,
},
});
| feat(ui): Update the refresh logic | feat(ui): Update the refresh logic
|
92abce28c10038bf52c3d68e01a25b38aeecd623 | --- __tests__/navigation/AssociateHallwayNav/__snapshots__/SideMenuContentTest.tsx.snap
@@ -54,11 +54,6 @@ exports[`SideMenuContent matches snapshot for undefined user info, and can imper
siteId={0}
testID="globalNav"
updateComponent="UpdateSideMenu"
- user={
- Object {
- "displayName": "",
- }
- }
/>
<Dialog
headerText="signoutDialog.title"
@@ -103,11 +98,6 @@ exports[`SideMenuContent matches snapshot with not user/clockstatus data; sets b
siteId={0}
testID="globalNav"
updateComponent="UpdateSideMenu"
- user={
- Object {
- "data": null,
- }
- }
/>
<Dialog
headerText="signoutDialog.title"
@@ -152,20 +142,6 @@ exports[`SideMenuContent matches snapshot with user/clockstatus data; sets bar s
siteId={0}
testID="globalNav"
updateComponent="UpdateSideMenu"
- user={
- Object {
- "data": Object {
- "countryCode": "US",
- "division": "1",
- "domain": "homeoffice",
- "employeeType": "h",
- "fullTimePartTime": "f",
- "siteId": "100",
- "userId": "testUser",
- "win": "12345",
- },
- }
- }
/>
<Dialog
headerText="signoutDialog.title"
--- src/navigation/AssociateHallwayNav/SideMenuContent.tsx
@@ -21,6 +21,7 @@ import {UpdateSideMenu} from '../../updates/UpdateSideMenu';
import {getUser} from '../../redux/UserSelector';
import {getNavConfig, getNavConfigState} from '../../navConfig/NavConfigRedux';
import {getClockStatusData, getDeviceType} from '../../redux/SharedSelectors';
+import {UserSelectors} from '@walmart/redux-store';
const activityName = 'MainActivity';
@@ -131,6 +132,9 @@ export const SideMenuContent: React.FC<DrawerContentComponentProps<
[navigation],
);
+ const nameInitials = useSelector(UserSelectors.getOriginalUserInitials);
+ const displayName = useSelector(UserSelectors.getOriginalUserFirstName);
+
return (
<SafeAreaView style={styles.globalNavContainer}>
<GlobalNavigation
@@ -139,7 +143,8 @@ export const SideMenuContent: React.FC<DrawerContentComponentProps<
clockIn={clockStatus?.clockStatus !== ClockStatus.clockedOut}
onDrawerClose={onDrawerClose}
globalNavConfig={navConfig}
- user={user || {displayName: ''}}
+ nameInitials={nameInitials}
+ displayName={displayName}
siteId={user?.siteId || 0}
onSignOut={showSignOutDialog}
navigate={onNavigate}
--- src/types/ui-components.d.ts
@@ -58,6 +58,8 @@ declare module '@walmart/ui-components/containers' {
loadingText?: string;
error?: boolean;
errorText?: string;
+ displayName: string;
+ nameInitials: string;
}
export const GlobalNavigation: FC<GlobalNavigationProps>;
| updating tests and GlobalNavigation props | updating tests and GlobalNavigation props
|
85dfffe1b33d775583ca016def603df8130b1eed | --- yarn.lock
@@ -5928,13 +5928,13 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/compass-sdk-rn@npm:5.19.13":
- version: 5.19.13
- resolution: "@walmart/compass-sdk-rn@npm:5.19.13"
+"@walmart/compass-sdk-rn@npm:5.19.15":
+ version: 5.19.15
+ resolution: "@walmart/compass-sdk-rn@npm:5.19.15"
peerDependencies:
react: "*"
react-native: "*"
- checksum: 10c0/0c498344aba113e5c566441d6483867d08c2cb900f036f99a419896e8cc16fff610a75a56c7e5cb33cd911505730c5e0968d4cf069ebfb291b6c2ab9186aa26b
+ checksum: 10c0/3c2cfd38545fbedc1170e286a8dc17858550ed6b49c341f4c26c068eef03e0583203d755986665de006f1d05d74e92bc0551f89c10fc1fcbf886e6737f24c7b6
languageName: node
linkType: hard
@@ -7890,7 +7890,7 @@ __metadata:
"@walmart/backroom-mini-app": "npm:1.2.6"
"@walmart/calling-mini-app": "npm:0.3.5"
"@walmart/checkout-mini-app": "npm:3.22.0"
- "@walmart/compass-sdk-rn": "npm:5.19.13"
+ "@walmart/compass-sdk-rn": "npm:5.19.15"
"@walmart/config-components": "npm:4.4.1"
"@walmart/copilot-mini-app": "npm:3.92.14"
"@walmart/core-services": "npm:6.1.4"
| Update yarn.lock | Update yarn.lock
|
d2ae814e47d308890215c4a6f98fcb4aabd94d3d | --- __tests__/redux/ReducerTest.tsx
@@ -0,0 +1,22 @@
+import {rosterSlice} from '../../src/redux/reducer';
+
+describe('rosterSlice', () => {
+ it('should handle SET_SEARCH_TEXT correctly', () => {
+ const initialState = {searchText: ''};
+ const nextState = rosterSlice.reducer(
+ initialState,
+ rosterSlice.actions.SET_SEARCH_TEXT('newSearchText'),
+ );
+
+ expect(nextState).toEqual({searchText: 'newSearchText'});
+ });
+
+ it('should handle SET_SEARCH_TEXT with empty payload correctly', () => {
+ const initialState = {searchText: 'previousSearchText'};
+ const nextState = rosterSlice.reducer(
+ initialState,
+ rosterSlice.actions.SET_SEARCH_TEXT(''),
+ );
+ expect(nextState).toEqual({searchText: ''});
+ });
+});
| Adding coverage for reducer | Adding coverage for reducer
|
55f1cd46a8fdc31930a97840d0015bcef11c8d28 | --- graphql.yml
@@ -103,3 +103,24 @@ applications:
# queryTemplate: "packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql"
# tags:
# - "v1"
+ - name: "allspark-core-intl"
+ applicationKey: "ALLSPARK_APP_INTL"
+ description: "Core application for Me@Walmart International"
+ environments:
+ - name: "stg"
+ persistedQueries:
+ - name: "businessUnitByCountryAndNumber"
+ hash: "dc5adc0197a2bfd29b0ecc4ec5a255f44f8e0700a8a6916a834ec745574ab54d"
+ queryTemplate: "packages/me-at-walmart-athena-queries/src/businessUnitByCountryAndNumber.graphql"
+ tags:
+ - "v1"
+ - name: "getAssociateById"
+ hash: "0a06f624828f31fa5f8a13615385e1c3c4424732132e432655f4a45962a7fa22"
+ queryTemplate: "packages/me-at-walmart-athena-queries/src/getAssociateById.graphql"
+ tags:
+ - "v1"
+ - name: "getLoggedInUser"
+ hash: "0beb54411dbf4e0c72d8d94982d755e0559023bc5e2c174e356b42f1e07b22fd"
+ queryTemplate: "packages/me-at-walmart-athena-queries/src/getLoggedInUser.graphql"
+ tags:
+ - "v1"
| fix: adding back international queries that were somehow changed here | fix: adding back international queries that were somehow changed here
|
95dbc6cef1ea76bb8f6fca5abc5d3b109f45a0e5 | --- __tests__/core/loggerInitTest.ts
@@ -166,7 +166,7 @@ describe('onUserChanged', () => {
expect(iterator.next().done).toEqual(true);
});
- it('adds user information to the default logger; NOT_FOUND site', () => {
+ it('adds user information to the default logger; NOT_FOUND site & countryCode', () => {
const iterator = onUserChanged();
const sysInfo = {
@@ -180,7 +180,9 @@ describe('onUserChanged', () => {
expect(iterator.next('NOT_FOUND').value).toEqual(
select(getOriginalUserData),
);
- expect(iterator.next(user).value).toEqual(select(getIsImpersonated));
+ expect(iterator.next({...user, countryCode: 'NOT_FOUND'}).value).toEqual(
+ select(getIsImpersonated),
+ );
expect(iterator.next(false).value).toEqual(call(getSystemInfo));
expect(iterator.next(sysInfo).value).toEqual(select(getEncryptionKey));
@@ -189,9 +191,9 @@ describe('onUserChanged', () => {
);
expect(iterator.next(user.userId).value).toEqual(
call(DefaultLogger.setUserInfo, {
- country: user.countryCode,
+ country: 'NOT_FOUND',
userId: user.userId,
- storeNumber: '0',
+ storeNumber: 'NOT_FOUND',
domain: user.domain,
division: user.division,
employeeType: user.employeeType,
--- src/core/loggerInit.ts
@@ -31,7 +31,6 @@ import {
getEncryptionKey,
} from '../redux';
import {encryptUserId} from '../services/MaskUserId';
-import {defaultCountryCode} from '../transforms/user';
import {getDeviceType} from '../redux/SharedSelectors';
import env from '../../env';
@@ -108,8 +107,8 @@ export function* onUserChanged() {
yield call(DefaultLogger.setUserInfo, {
userId: encryptedUserId,
- country: defaultCountryCode(user.countryCode),
- storeNumber: `${parseInt(site, 10) || 0}`,
+ country: user.countryCode,
+ storeNumber: site,
domain: user.domain,
division: user.division,
employeeType: user.employeeType,
| Removed default logging for countrycode and siteid | Removed default logging for countrycode and siteid
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.