commit_hash
stringlengths
40
40
input
stringlengths
13
7.99k
output
stringlengths
5
155
full_message
stringlengths
6
8.96k
8306b4cc27a9d168dec9f8bf9b7955d549c595b6
--- package-lock.json @@ -3218,9 +3218,9 @@ } }, "@walmart/welcomeme-mini-app": { - "version": "0.16.0", - "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.16.0.tgz", - "integrity": "sha512-nYZEdUc57FUygVAUbzLVTknMrACH41vs9RODk9xCf8UuFIo1ztxM+nt2dOH8iv8Qrfa5wi+uSe8YKBrvM32JbA==" + "version": "0.17.0", + "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.17.0.tgz", + "integrity": "sha512-rYvZevYXityyvOqtyqDb0aOrsoNgHPC+dIbn14Td8IGoB8sNkQYb7t6O2Hiu1OudcDNRJM841HqNYTioUm5jTw==" }, "@walmart/wfm-ui": { "version": "0.1.50", --- package.json @@ -83,7 +83,7 @@ "@walmart/settings-mini-app": "1.2.3", "@walmart/time-clock-mini-app": "0.3.1", "@walmart/ui-components": "1.1.14", - "@walmart/welcomeme-mini-app": "0.16.0", + "@walmart/welcomeme-mini-app": "0.17.0", "@walmart/wfm-ui": "^0.1.50", "axios-cache-adapter": "2.7.3", "crypto-js": "^3.3.0",
welcomeme-mini version bump v0.17.0
welcomeme-mini version bump v0.17.0
ae9cf8bd1d23a39f09e88c8a7a706441978d8499
--- graphql.yml @@ -24,7 +24,6 @@ applications: - 'v3' - 'Drop14' - name: 'GetTeamById' - hash: '8a0ff1bceff296ade72cd86c88273c0924510d42ff6bd3487819814045781f31' queryTemplate: 'src/queries/getTeamById.graphql' tags: - 'v2' @@ -53,7 +52,6 @@ applications: - 'v3' - 'Drop14' - name: 'GetTeamById' - hash: '8a0ff1bceff296ade72cd86c88273c0924510d42ff6bd3487819814045781f31' queryTemplate: 'src/queries/getTeamById.graphql' tags: - 'v2' @@ -82,7 +80,6 @@ applications: - 'v3' - 'Drop14' - name: 'GetTeamById' - hash: 'ca8e5acc29eeba742a4e7bc7ec976770e607b6e25ce48b6dc4eb88e372748eb5' queryTemplate: 'src/queries/getTeamById.graphql' tags: - 'v1' --- graphql.yml @@ -24,7 +24,6 @@ applications: - 'v3' - 'Drop14' - name: 'GetTeamById' - hash: '8a0ff1bceff296ade72cd86c88273c0924510d42ff6bd3487819814045781f31' queryTemplate: 'src/queries/getTeamById.graphql' tags: - 'v2' @@ -53,7 +52,6 @@ applications: - 'v3' - 'Drop14' - name: 'GetTeamById' - hash: '8a0ff1bceff296ade72cd86c88273c0924510d42ff6bd3487819814045781f31' queryTemplate: 'src/queries/getTeamById.graphql' tags: - 'v2' @@ -82,7 +80,6 @@ applications: - 'v3' - 'Drop14' - name: 'GetTeamById' - hash: 'ca8e5acc29eeba742a4e7bc7ec976770e607b6e25ce48b6dc4eb88e372748eb5' queryTemplate: 'src/queries/getTeamById.graphql' tags: - 'v1'
Removed hash values
Removed hash values
260a50fcc25d204c0fcd43cd1e0e130dae44ff9c
--- packages/allspark-foundation/__tests__/Translation/client.test.tsx @@ -35,19 +35,19 @@ describe('TranslationClient', () => { beforeEach(() => { jest.clearAllMocks(); - translationClient = TranslationClient(DefaultConfig); + translationClient = TranslationClient({ ...DefaultConfig }); }); it('should initialize the translation client with default options', async () => { - const resourceData = {resources: 'Test'} - await translationClient.initialize({...DefaultConfig, ...resourceData}); - expect(i18next.init).toHaveBeenCalledWith(DefaultConfig); + const resourceData = { resources: 'Test' }; + await translationClient.initialize({ ...DefaultConfig, ...resourceData }); + expect(i18next.init).toHaveBeenCalledWith({ ...DefaultConfig }); expect(translationClient.isInitialized()).toBe(true); }); it('should set and get the initialization status', async () => { expect(translationClient.isInitialized()).toBe(false); - await translationClient.initialize(DefaultConfig); + await translationClient.initialize(DefaultConfig); expect(translationClient.isInitialized()).toBe(true); }); @@ -69,7 +69,7 @@ describe('TranslationClient', () => { }); it('should set the default namespace', async () => { - const results = await translationClient.setDefaultNamespace('testNS'); + const results = await translationClient.setDefaultNamespace('testNS'); expect(results).toEqual(undefined); });
build fail fix translation client
build fail fix translation client
b2c71f9521fad3435d040349a23eafdbcbba3cb4
--- src/components/TeamList.tsx @@ -19,6 +19,7 @@ import { ListItem, SkeletonText, } from '@walmart/gtp-shared-components'; +import {textingMethods} from '@walmart/wmconnect-mini-app'; import {Images} from '../images'; import { useDailyRoster, @@ -341,8 +342,8 @@ export const TeamChatCard = (props: { primaryWorkGroup, ); - const startTeamText = useStartTeamText(); //Todo: import from wm connect mini app - const startStoreText = useStartStoreText(); //Todo: import from wmconnect mini app + const startTeamText = textingMethods.useStartTeamText(); + const startStoreText = textingMethods.useStartStoreText(); const renderWorkgroups = () => { if (!sortedWorkgroupKeys || sortedWorkgroupKeys.length <= 0) { @@ -450,8 +451,8 @@ export const TeamChatCard = (props: { actionButtons={[ { i18nLabel: t('rosterScreen.associateRosterItem.messageBtn'), - action(team) { - startStoreText(team); + action() { + startStoreText(); }, }, ]}
Add team message button function
Add team message button function
9e471562cb5360f6da832c8e29381ae350a54dba
--- src/screens/RosterDetailScreen/StoreRosterDetailScreen/useStoreRosterDetails.ts @@ -15,7 +15,7 @@ export const useHeaderAndSubtext = ( ) => { const siteTranslationContext = useTotalSiteOrTotalStore(); const primaryTeam = useGetViewersPrimaryTeam(); - const isPrimaryTeam = primaryTeam?.[0].teamId === teamState.teamIds?.[0]; +const isPrimaryTeam = teamState.teamIds && primaryTeam?.[0].teamId === teamState.teamIds[0]; const {t} = translationClient.useTranslation(); if (teamState.teamLabel === TOTAL_STORE_TEAM_LABEL) { return {
Update src/screens/RosterDetailScreen/StoreRosterDetailScreen/useStoreRosterDetails.ts
Update src/screens/RosterDetailScreen/StoreRosterDetailScreen/useStoreRosterDetails.ts Co-authored-by: AI Code Assistant <AI-Code-Assistant@email.wal-mart.com>
1b54eab7360ef4d9a302ab8c0adfe89854cc4f32
--- packages/allspark-foundation/allspark.config.js @@ -16,9 +16,9 @@ module.exports = { 'react-native-screens': {}, }, }, - }, - ios: { - sources: ['source "https://github.com/CocoaPods/Specs.git"'], - pods: [['GoogleUtilities', ':modular_headers => true']], + ios: { + sources: ['source "https://github.com/CocoaPods/Specs.git"'], + pods: [['GoogleUtilities', ':modular_headers => true']], + }, }, }; --- packages/allspark-foundation/src/Container/Services/Auth/redux.ts @@ -1,5 +1,6 @@ import { createSlice, PayloadAction, createSelector } from '@reduxjs/toolkit'; -import { createSliceUtilities, InferActionTypes } from '../../../Redux'; +import { createSliceUtilities } from '../../../Redux/utils'; +import { InferActionTypes } from '../../../Redux/types'; import { AllsparkAuthService, AuthResult } from './types'; export type AuthState = { --- packages/allspark-foundation/src/Container/Services/Clock/redux.ts @@ -1,9 +1,9 @@ import { createSelector, createSlice, PayloadAction } from '@reduxjs/toolkit'; import { - generateSubSelectors, createSliceUtilities, - InferActionTypes, -} from '../../../Redux'; + generateSubSelectors, +} from '../../../Redux/utils'; +import { InferActionTypes } from '../../../Redux/types'; import { AuthActionCreators } from '../Auth'; import { AllsparkClockService, ClockData } from './types'; --- packages/allspark-foundation/src/Container/Services/Config/redux.ts @@ -1,5 +1,6 @@ import { createSelector, createSlice, PayloadAction } from '@reduxjs/toolkit'; -import { createSliceUtilities, InferActionTypes } from '../../../Redux'; +import { createSliceUtilities } from '../../../Redux/utils'; +import { InferActionTypes } from '../../../Redux/types'; import { AuthActionCreators } from '../Auth'; import { AllsparkConfigService, ConfigData } from './types'; --- packages/allspark-foundation/src/Container/Services/Device/redux.ts @@ -2,8 +2,8 @@ import { createSlice, PayloadAction } from '@reduxjs/toolkit'; import { createSliceUtilities, generateSubSelectors, - InferActionTypes, -} from '../../../Redux'; +} from '../../../Redux/utils'; +import { InferActionTypes } from '../../../Redux/types'; import { DeviceInfo, AllsparkDeviceService } from './types'; export type DeviceState = { --- packages/allspark-foundation/src/Container/Services/Locale/redux.ts @@ -1,5 +1,6 @@ import { createSlice, PayloadAction } from '@reduxjs/toolkit'; -import { createSliceUtilities, InferActionTypes } from '../../../Redux'; +import { createSliceUtilities } from '../../../Redux/utils'; +import { InferActionTypes } from '../../../Redux/types'; import { AllsparkLocaleService, LocaleData } from './types'; export type LocaleState = { --- packages/allspark-foundation/src/Container/Services/Location/redux.ts @@ -2,8 +2,8 @@ import { createSlice, PayloadAction } from '@reduxjs/toolkit'; import { createSliceUtilities, generateSubSelectors, - InferActionTypes, -} from '../../../Redux'; +} from '../../../Redux/utils'; +import { InferActionTypes } from '../../../Redux/types'; import { AllsparkLocationService, LocationDetails } from './types'; import { PermissionStatus } from '../../../Permissions'; --- packages/allspark-foundation/src/Container/Services/Network/redux.ts @@ -2,8 +2,8 @@ import { createSlice, PayloadAction } from '@reduxjs/toolkit'; import { createSliceUtilities, generateSubSelectors, - InferActionTypes, -} from '../../../Redux'; +} from '../../../Redux/utils'; +import { InferActionTypes } from '../../../Redux/types'; import { AllsparkNetworkService, ConnectionType, --- packages/allspark-foundation/src/Container/Services/Notification/redux.ts @@ -3,8 +3,8 @@ import { isStatusGranted, isStatusSet } from '../../../Permissions'; import { createSliceUtilities, generateSubSelectors, - InferActionTypes, -} from '../../../Redux'; +} from '../../../Redux/utils'; +import { InferActionTypes } from '../../../Redux/types'; import { AllsparkNotificationService, NotificationPermission, --- packages/allspark-foundation/src/Container/Services/Site/redux.ts @@ -1,5 +1,6 @@ import { createSlice, PayloadAction } from '@reduxjs/toolkit'; -import { generateActionTypes, InferActionTypes } from '../../../Redux'; +import { generateActionTypes } from '../../../Redux/utils'; +import { InferActionTypes } from '../../../Redux/types'; import { AllsparkSiteService, Site } from './types'; export type SiteState = { --- packages/allspark-foundation/src/Container/Services/Site/selectors.ts @@ -3,7 +3,7 @@ import { startCase, toLower } from 'lodash'; import { generateSelectorsForSlice, generateSubSelectors, -} from '../../../Redux'; +} from '../../../Redux/utils'; import { siteSlice } from './redux'; import { Address, Contact, Location } from './types'; --- packages/allspark-foundation/src/Container/Services/User/redux.ts @@ -1,6 +1,7 @@ import { createSlice, PayloadAction } from '@reduxjs/toolkit'; import { AuthActionCreators } from '../Auth'; -import { generateActionTypes, InferActionTypes } from '../../../Redux'; +import { generateActionTypes } from '../../../Redux/utils'; +import { InferActionTypes } from '../../../Redux/types'; import { AllsparkUserService, ImpersonationUser, User } from './types'; export type UserState = { --- packages/allspark-foundation/src/Container/Services/User/selectors.ts @@ -3,7 +3,7 @@ import nameCase from 'namecase'; import { generateSelectorsForSlice, generateSubSelectors, -} from '../../../Redux'; +} from '../../../Redux/utils'; import { userSlice } from './redux'; import { Team, User } from './types'; --- packages/allspark-foundation/src/Container/Services/Versions/redux.ts @@ -1,5 +1,6 @@ import { createSlice, PayloadAction } from '@reduxjs/toolkit'; -import { createSliceUtilities, InferActionTypes } from '../../../Redux'; +import { createSliceUtilities } from '../../../Redux/utils'; +import { InferActionTypes } from '../../../Redux/types'; import { AllsparkVersionsService, ModuleVersion } from './types'; export type VersionState = { --- packages/allspark-foundation/src/Environment/redux.ts @@ -1,5 +1,6 @@ import { createSlice, PayloadAction } from '@reduxjs/toolkit'; -import { createSliceUtilities, InferActionTypes } from '../Redux'; +import { createSliceUtilities } from '../Redux/utils'; +import { InferActionTypes } from '../Redux/types'; import { IAllsparkEnvironment } from './types'; export type EnvironmentState = Partial<IAllsparkEnvironment> & --- packages/allspark-foundation/src/Redux/store.ts @@ -66,6 +66,8 @@ export const ReduxStoreFactory = < ? [...defaultMiddleware, ...inputMiddleware] : defaultMiddleware; + let keysToRemove: string[] = []; + // --- Create Store --- // const store = configureStore({ devTools, @@ -96,8 +98,6 @@ export const ReduxStoreFactory = < } // --- Enabled Dyanmic Reducers --- // - let keysToRemove: string[] = []; - store.getRootReducer = () => rootReducer as unknown as Reducer<S>; const removeReducer = (key: string) => { --- packages/allspark-foundation/src/cli/linkUtils.ts @@ -60,7 +60,7 @@ function mergePods(podfile: string, pods: string[]) { baseLines.findIndex((line) => /^\s*post_install/i.test(line)) - 1; // Add missing mods - baseLines.splice(podInsertionIndex, 0, ...missingPods); + baseLines.splice(podInsertionIndex, 0, '', ...missingPods); return baseLines.join('\n'); } @@ -79,7 +79,7 @@ function mergeSources(podfile: string, sources: string[]) { baseLines.findIndex((line) => /^\s*target/i.test(line)) - 1; // Add missing sources - baseLines.splice(sourceInsertionIndex, 0, ...missingSources); + baseLines.splice(sourceInsertionIndex, 0, '', ...missingSources); return baseLines.join('\n'); }
fix: fixes after testing integration
fix: fixes after testing integration
66ca536b79c05d48a17a6b2de1a1337b5d1913b3
--- .github/pull_request_template.md @@ -1,7 +1,8 @@ ## Note: PR/Template Process for Allspark-core: [Link](https://confluence.walmart.com/pages/viewpage.action?pageId=655900878#AllSparkIntegrateaFeatureAppwithCore-SubmitaPRtomergetodevelop) -## YOUR PR WILL NOT BE REVIEWED IF THE TEMPLATE IS INCOMPLETE! +> [!IMPORTANT] +> YOUR PR WILL NOT BE REVIEWED IF THE TEMPLATE IS INCOMPLETE! ## (REQUIRED) Links to JIRA tickets: @@ -11,7 +12,7 @@ PR/Template Process for Allspark-core: [Link](https://confluence.walmart.com/pag Fill in the below sections if this PR has changes to the core app. #### (REQUIRED) Types of changes -What types of changes does your code introduce to AskSam? +What types of changes does your code introduce to Core? _Put an `x` in the boxes that apply_ - [ ] Bugfix (non-breaking change which fixes an issue)
updating pr template
updating pr template
b21ea2c1c731bcf2331cad4e88d02b04d5cd39e8
--- src/components/TeamList.tsx @@ -35,6 +35,7 @@ import {associateIsClockedIn} from '../utils'; import {Team} from '../types'; import {useTranslation} from 'react-i18next'; import {TEXTING_I18N_NAMESPACE} from '../translations'; +import {WHOLE_STORE} from '../constants'; const styles = StyleSheet.create({ listItem: { @@ -213,7 +214,7 @@ export const TeamChatCard = (props: { }; const onViewTeam = () => { - navigation.navigate('myTeam.viewTeam', {teamId: 'WHOLESTORE'}); + navigation.navigate('myTeam.viewTeam', {teamId: WHOLE_STORE}); }; if (loading) { --- src/constants.ts @@ -4,6 +4,7 @@ export const RNFBConfigiOS = '75AC25EB-432A-47D1-855A-84728D2AB60C'; export const ROOT_CONTAINER_SCREEN_NAME = 'myTeam'; export const APP_CONTAINER_SCREEN_NAME = 'myTeam.root'; export const MESSAGES_SCREEN_NAME = 'myTeam.messages'; +export const WHOLE_STORE = 'WHOLESTORE'; // eslint-disable-next-line no-shadow export enum messageTypes { AUDIO = 'AUDIO', --- src/containers/StoreChatCard.tsx @@ -21,6 +21,7 @@ import {useTranslation} from 'react-i18next'; import {TEXTING_I18N_NAMESPACE} from '../translations'; import {NavigationProp, useNavigation} from '@react-navigation/native'; import {TextingNavParamsMap} from '../navigation'; +import {WHOLE_STORE} from '../constants'; const styles = StyleSheet.create({ viewTeamStyle: { @@ -41,7 +42,7 @@ export const StoreChatCard = (props: {style?: StyleProp<ViewStyle>}) => { const userIsInRoster = useUserIsInRoster(); const onViewTeam = () => { - navigation.navigate('myTeam.viewTeam', {teamId: 'WHOLESTORE'}); + navigation.navigate('myTeam.viewTeam', {teamId: WHOLE_STORE}); }; return ( --- src/screens/ViewTeamScreen.tsx @@ -12,6 +12,9 @@ import {TextingNavParamsMap} from '../navigation'; import {RosterFilters} from '../containers/RosterFilters'; import {useDailyRoster, useGetRosterByTeam} from '../hooks'; import {teamLeadJobDescriptions} from '../redux/selectors'; +import {WHOLE_STORE} from '../constants'; +import {TEXTING_I18N_NAMESPACE} from '../translations'; +import {useTranslation} from 'react-i18next'; const styles = StyleSheet.create({ associateRosterItemStyle: {marginHorizontal: 16, height: 100}, @@ -26,6 +29,7 @@ export type ViewTeamScreenProps = { export const ViewTeamScreen: React.FC<ViewTeamScreenProps> = (props) => { const {route, navigation} = props; const {teamId} = route.params; + const {t} = useTranslation([TEXTING_I18N_NAMESPACE]); const {bottom: bottomInset} = useSafeAreaInsets(); const {teamRoster, teamData} = useGetRosterByTeam(teamId); @@ -68,10 +72,10 @@ export const ViewTeamScreen: React.FC<ViewTeamScreenProps> = (props) => { }); } else { navigation.setOptions({ - title: 'Whole store', + title: t('storeChatCard.title'), }); } - }, [teamData, navigation]); + }, [teamData, navigation, t]); const onFilter = (filteredAssociates: Associate[]) => { setAssociates(sortedAssociateList(filteredAssociates)); @@ -88,11 +92,11 @@ export const ViewTeamScreen: React.FC<ViewTeamScreenProps> = (props) => { ListHeaderComponent={ <> <RosterFilters - associates={teamId === 'WHOLESTORE' ? allAssociates : teamRoster} + associates={teamId === WHOLE_STORE ? allAssociates : teamRoster} onFilter={onFilter} /> <RosterHeader - associates={teamId === 'WHOLESTORE' ? allAssociates : teamRoster} + associates={teamId === WHOLE_STORE ? allAssociates : teamRoster} teamName={teamData?.getTeamById?.teamName || undefined} /> </> --- src/components/TeamList.tsx @@ -35,6 +35,7 @@ import {associateIsClockedIn} from '../utils'; import {Team} from '../types'; import {useTranslation} from 'react-i18next'; import {TEXTING_I18N_NAMESPACE} from '../translations'; +import {WHOLE_STORE} from '../constants'; const styles = StyleSheet.create({ listItem: { @@ -213,7 +214,7 @@ export const TeamChatCard = (props: { }; const onViewTeam = () => { - navigation.navigate('myTeam.viewTeam', {teamId: 'WHOLESTORE'}); + navigation.navigate('myTeam.viewTeam', {teamId: WHOLE_STORE}); }; if (loading) { --- src/constants.ts @@ -4,6 +4,7 @@ export const RNFBConfigiOS = '75AC25EB-432A-47D1-855A-84728D2AB60C'; export const ROOT_CONTAINER_SCREEN_NAME = 'myTeam'; export const APP_CONTAINER_SCREEN_NAME = 'myTeam.root'; export const MESSAGES_SCREEN_NAME = 'myTeam.messages'; +export const WHOLE_STORE = 'WHOLESTORE'; // eslint-disable-next-line no-shadow export enum messageTypes { AUDIO = 'AUDIO', --- src/containers/StoreChatCard.tsx @@ -21,6 +21,7 @@ import {useTranslation} from 'react-i18next'; import {TEXTING_I18N_NAMESPACE} from '../translations'; import {NavigationProp, useNavigation} from '@react-navigation/native'; import {TextingNavParamsMap} from '../navigation'; +import {WHOLE_STORE} from '../constants'; const styles = StyleSheet.create({ viewTeamStyle: { @@ -41,7 +42,7 @@ export const StoreChatCard = (props: {style?: StyleProp<ViewStyle>}) => { const userIsInRoster = useUserIsInRoster(); const onViewTeam = () => { - navigation.navigate('myTeam.viewTeam', {teamId: 'WHOLESTORE'}); + navigation.navigate('myTeam.viewTeam', {teamId: WHOLE_STORE}); }; return ( --- src/screens/ViewTeamScreen.tsx @@ -12,6 +12,9 @@ import {TextingNavParamsMap} from '../navigation'; import {RosterFilters} from '../containers/RosterFilters'; import {useDailyRoster, useGetRosterByTeam} from '../hooks'; import {teamLeadJobDescriptions} from '../redux/selectors'; +import {WHOLE_STORE} from '../constants'; +import {TEXTING_I18N_NAMESPACE} from '../translations'; +import {useTranslation} from 'react-i18next'; const styles = StyleSheet.create({ associateRosterItemStyle: {marginHorizontal: 16, height: 100}, @@ -26,6 +29,7 @@ export type ViewTeamScreenProps = { export const ViewTeamScreen: React.FC<ViewTeamScreenProps> = (props) => { const {route, navigation} = props; const {teamId} = route.params; + const {t} = useTranslation([TEXTING_I18N_NAMESPACE]); const {bottom: bottomInset} = useSafeAreaInsets(); const {teamRoster, teamData} = useGetRosterByTeam(teamId); @@ -68,10 +72,10 @@ export const ViewTeamScreen: React.FC<ViewTeamScreenProps> = (props) => { }); } else { navigation.setOptions({ - title: 'Whole store', + title: t('storeChatCard.title'), }); } - }, [teamData, navigation]); + }, [teamData, navigation, t]); const onFilter = (filteredAssociates: Associate[]) => { setAssociates(sortedAssociateList(filteredAssociates)); @@ -88,11 +92,11 @@ export const ViewTeamScreen: React.FC<ViewTeamScreenProps> = (props) => { ListHeaderComponent={ <> <RosterFilters - associates={teamId === 'WHOLESTORE' ? allAssociates : teamRoster} + associates={teamId === WHOLE_STORE ? allAssociates : teamRoster} onFilter={onFilter} /> <RosterHeader - associates={teamId === 'WHOLESTORE' ? allAssociates : teamRoster} + associates={teamId === WHOLE_STORE ? allAssociates : teamRoster} teamName={teamData?.getTeamById?.teamName || undefined} /> </>
add constants for Wholestore
add constants for Wholestore
54a43d41c382b383765d4b6002a14d977f39a37b
--- packages/allspark-foundation-hub/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/allspark-foundation-hub", - "version": "1.3.7", + "version": "1.3.8", "description": "", "main": "lib/index.js", "types": "lib/index.d.ts", --- packages/allspark-foundation-hub/src/Store/Hooks/index.ts @@ -3,3 +3,5 @@ export * from './useGetViewersPrimaryTeam'; export * from './useTeamSelection'; export * from './useTeamsByStore'; export * from './useUserPreferences'; + +export * from './types'; --- packages/allspark-foundation-hub/src/Store/Hooks/types.ts @@ -0,0 +1,8 @@ +import { Team } from '@walmart/allspark-foundation/User'; + +export type UseGetViewersPrimaryTeamReturnType = + | Team[] + | { + teamName: string; + teamId: string; + }[];
Expose type for get viewer primary team function
Expose type for get viewer primary team function
b242c7f324a14a2c2990e8d159b9df36c671b989
--- graphql.yml @@ -8,12 +8,10 @@ applications: - name: 'dev' persistedQueries: - name: 'GetAssociateClockStatus' - hash: 'b4080db4f80721f28469fdce6584ae8afe567ee4c200d77b6889912ec1c0d214' queryTemplate: 'src/queries/getAssociateClockStatus.graphql' tags: - 'v1' - name: 'GetAssociateName' - hash: 'f82efac63c0d36b80c7bc2a20ea4dfd6d8f970491fb373e8e0c61764dea2360f' queryTemplate: 'src/queries/getAssociateName.graphql' tags: - 'v3' @@ -33,12 +31,10 @@ applications: - name: 'stage' persistedQueries: - name: 'GetAssociateClockStatus' - hash: 'b4080db4f80721f28469fdce6584ae8afe567ee4c200d77b6889912ec1c0d214' queryTemplate: 'src/queries/getAssociateClockStatus.graphql' tags: - 'v1' - name: 'GetAssociateName' - hash: 'f82efac63c0d36b80c7bc2a20ea4dfd6d8f970491fb373e8e0c61764dea2360f' queryTemplate: 'src/queries/getAssociateName.graphql' tags: - 'v1'
removed hash values
removed hash values
3dd0644518e85621edf64a7b3089c0c97bca8039
--- commitlint.config.ts @@ -10,7 +10,9 @@ const config: UserConfig = { ['feat', 'fix', 'docs', 'refactor', 'test', 'build', 'ci', 'chore', 'style'] ], 'scope-empty': [0] // scope is an optional field - } + }, + // ignore revert commits that are auto created from GitHub UI + ignores: [(commit) => commit.startsWith('Revert ')] } export default config
chore: update commitlint rule to ignore revert commit message (#4553)
chore: update commitlint rule to ignore revert commit message (#4553) Co-authored-by: Maksym Novakh - m0n09mr <Maksym.Novakh0@walmart.com>
823594bfe02ac596fe16b5620a25eef541e502c1
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Components/ShiftFilter/types.ts @@ -1,15 +1,14 @@ -export interface ShiftFilterProps { +export type Shift = { shiftId: string; teamImage?: { uri: string; }; +}; +export interface ShiftFilterProps extends Shift { handleSelectShift: (shiftId: string) => void; } export interface ShiftFilterListProps { - filterListData: Array<{ - shiftId: string; - teamImage: { uri: string }; - }>; + filterListData: Array<Shift>; handleSelectShift: (shiftId: string) => void; }
Updatin types
Updatin types
d3d7e1e5d84bfec467c8769715107af70783b4c8
--- packages/allspark-foundation-hub/__tests__/HubFeature/shared/__snapshots__/ActionButtonGroup.test.tsx.snap @@ -11,8 +11,8 @@ exports[`ActionButtonGroup renders action button group component with required p "bottom": 0, "display": "flex", "flexDirection": "row", - "justifyContent": "space-between", - "padding": 16, + "justifyContent": "space-around", + "paddingVertical": 16, "position": "absolute", "width": "100%", }
feat: updated snapshot
feat: updated snapshot
e37d5529b49b3fea17729c76d42452ce5264f0df
--- ios/Podfile.lock @@ -427,7 +427,7 @@ PODS: - React - react-native-safe-area-context (3.3.2): - React-Core - - react-native-scanner-3.0 (0.1.4): + - react-native-scanner-3.0 (0.1.7): - Firebase/Analytics - React - ScanditBarcodeCapture (= 6.14.0-beta.3) @@ -1005,7 +1005,7 @@ SPEC CHECKSUMS: react-native-pdf: 33c622cbdf776a649929e8b9d1ce2d313347c4fa react-native-ptt-module: 8548d9a0d613fe775bc56b5cd83b5c024114f6b7 react-native-safe-area-context: 5cf05f49df9d17261e40e518481f2e334c6cd4b5 - react-native-scanner-3.0: 6569a39c2e8fa75ec1ab2c77a0a31caf133705c0 + react-native-scanner-3.0: 56610b8597db81e5ae7e81bf84a359b0befb2237 react-native-splash-screen: 200d11d188e2e78cea3ad319964f6142b6384865 react-native-video: 8d97379f3c2322a569f1e27542ad1a646cad9444 react-native-view-shot: 08c46c9e8e92f6681e8f2ffa55ac3d06e7e99070 --- package-lock.json @@ -5210,9 +5210,9 @@ } }, "@walmart/iteminfo-mini-app": { - "version": "5.0.6", - "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-5.0.6.tgz", - "integrity": "sha512-HYS5FOxpNR8hd6O55pDvGwdZmDspdu1NrYG61PVz+FxokWNtr6BeghhzIxram9tn1n/P2YYaOgkVmZo5Iyu62A==" + "version": "5.0.8", + "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-5.0.8.tgz", + "integrity": "sha512-zB7w44oqWkbk9xYXv0w1MI9NgcJdsahoHYDv2ei3anMsi9r83mcX5u31xShfYW035lTAXZo4/uh6qtSxJw6rxQ==" }, "@walmart/manager-approvals-miniapp": { "version": "0.0.62", @@ -5357,9 +5357,9 @@ "integrity": "sha512-qxVserzdiG4xsZCLRIwYfRq/KuHsYSPkrl02tKHNhF5bhtWWo6oEUatBoSsY5BL8EVGOHk2ezsPWb2o5pg9Ryw==" }, "@walmart/react-native-scanner-3.0": { - "version": "0.1.4", - "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.1.4.tgz", - "integrity": "sha512-3ulFkAN1TcAUCCPhlqJfXUFMfULw1I/AB6qA4o5LXkUe7DgErqB+peUcDSR7I/CyF5Am7HfjCWGXeKO6qlS77A==" + "version": "0.1.7", + "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.1.7.tgz", + "integrity": "sha512-WsJSs6ewHF4P7FInXl8H072dMVlraBo6CY5LTA77E/FErpAvYeU1qCOdeUji+akThexWEXO9jd6atVtn1s4veQ==" }, "@walmart/react-native-shared-navigation": { "version": "1.0.2", @@ -5446,9 +5446,9 @@ "integrity": "sha512-vL0+hmLX3mP3jXomwGL+kxp2aRLe002I+b+LL+wVbmOdRdXBvA7gbA5VJeRFkvaUQfU2SlRVLYJwv34HT9I8jw==" }, "@walmart/shelfavailability-mini-app": { - "version": "1.2.2", - "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-1.2.2.tgz", - "integrity": "sha512-O/Ws19nd/94JUqGJD/CQWBajvNo4VK8P/h1gxm1FHJBtVB0LqCXunVXRm02Wviix+uSAp7OBiS9sRWvhkvEmhQ==" + "version": "1.2.3", + "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-1.2.3.tgz", + "integrity": "sha512-0Aemva6snk2LgySyY2NRuF9xKBS7DpGs1oPcDlaOjeXU3NRL7+DzbhY2VZhRIYxQKLz/MOC6NF81SzdgxlVimg==" }, "@walmart/taskit-mini-app": { "version": "0.32.0-beta.7", --- package.json @@ -91,7 +91,7 @@ "@walmart/impersonation-mini-app": "1.2.0", "@walmart/ims-print-services-ui": "1.1.3", "@walmart/inbox-mini-app": "0.40.0-inbox3.33", - "@walmart/iteminfo-mini-app": "5.0.6", + "@walmart/iteminfo-mini-app": "5.0.8", "@walmart/manager-approvals-miniapp": "0.0.62", "@walmart/me-field-mini-app": "1.1.14", "@walmart/metrics-mini-app": "0.9.8", @@ -104,7 +104,7 @@ "@walmart/react-native-encrypted-storage": "1.1.0", "@walmart/react-native-env": "^0.2.0", "@walmart/react-native-logger": "^1.29.0", - "@walmart/react-native-scanner-3.0": "0.1.4", + "@walmart/react-native-scanner-3.0": "0.1.7", "@walmart/react-native-shared-navigation": "1.0.2", "@walmart/react-native-store-map": "^0.3.7", "@walmart/react-native-sumo-sdk": "2.2.2-beta.2", @@ -112,7 +112,7 @@ "@walmart/refrigeration-alarms-mini-app": "1.35.0", "@walmart/schedule-mini-app": "0.18.0", "@walmart/settings-mini-app": "1.6.0", - "@walmart/shelfavailability-mini-app": "1.2.2", + "@walmart/shelfavailability-mini-app": "1.2.3", "@walmart/taskit-mini-app": "0.32.0-beta.7", "@walmart/time-clock-mini-app": "0.13.0", "@walmart/ui-components": "1.4.0-beta.8",
Scanner3: Add more symbology supports
Scanner3: Add more symbology supports
c0a29bb669538c023bae92f12bd9be0eb0135586
--- package-lock.json @@ -51,7 +51,7 @@ "@walmart/counts-component-miniapp": "0.1.5", "@walmart/emergency-mini-app": "1.25.1", "@walmart/exception-mini-app": "1.5.1", - "@walmart/facilities-management-miniapp": "0.6.69", + "@walmart/facilities-management-miniapp": "0.6.67", "@walmart/feedback-all-spark-miniapp": "0.9.43", "@walmart/financial-wellbeing-feature-app": "1.10.4", "@walmart/functional-components": "~4.0.3", @@ -8253,12 +8253,12 @@ } }, "node_modules/@walmart/facilities-management-miniapp": { - "version": "0.6.69", - "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.69.tgz", - "integrity": "sha512-M5dJGjAOiqjogKpCXY8f381dAl5RdvW5aV9rPfnRZTQCThnLgaZVzQnB3tTZiZMFWSRrRofZbfhHg0eBgPRCJQ==", + "version": "0.6.67", + "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.67.tgz", + "integrity": "sha512-vAn11SgL6thiZdZLdAe1EvJ+gYGSDJa2HBrLPXlTFQgUHtf2+fnnj4SG9bX8mg9/Ax3Hg7IQaiKle3GsdgN2ww==", "hasInstallScript": true, "peerDependencies": { - "@react-native-camera-roll/camera-roll": "5.6.0", + "@react-native-community/cameraroll": "^4.1.2", "@react-native-community/datetimepicker": "^5.1.0", "@react-native-firebase/analytics": "15.1.1", "@react-native-firebase/app": "15.1.1", @@ -33590,9 +33590,9 @@ "integrity": "sha512-d5j7mlW+7Muw6vSZzc0WvoPbOOlF0oLkniWfAS6IP/o9SZ08Ph6NRIRAg95PWOqeW52zh7YTJZwEi24Zpaf93g==" }, "@walmart/facilities-management-miniapp": { - "version": "0.6.69", - "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.69.tgz", - "integrity": "sha512-M5dJGjAOiqjogKpCXY8f381dAl5RdvW5aV9rPfnRZTQCThnLgaZVzQnB3tTZiZMFWSRrRofZbfhHg0eBgPRCJQ==" + "version": "0.6.67", + "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.67.tgz", + "integrity": "sha512-vAn11SgL6thiZdZLdAe1EvJ+gYGSDJa2HBrLPXlTFQgUHtf2+fnnj4SG9bX8mg9/Ax3Hg7IQaiKle3GsdgN2ww==" }, "@walmart/feedback-all-spark-miniapp": { "version": "0.9.43", --- package.json @@ -92,7 +92,7 @@ "@walmart/counts-component-miniapp": "0.1.5", "@walmart/emergency-mini-app": "1.25.1", "@walmart/exception-mini-app": "1.5.1", - "@walmart/facilities-management-miniapp": "0.6.69", + "@walmart/facilities-management-miniapp": "0.6.67", "@walmart/feedback-all-spark-miniapp": "0.9.43", "@walmart/financial-wellbeing-feature-app": "1.10.4", "@walmart/functional-components": "~4.0.3", --- patches/@walmart+facilities-management-miniapp+0.6.67.patch @@ -0,0 +1,23 @@ +diff --git a/node_modules/@walmart/facilities-management-miniapp/dist/common/camera/utils.d.ts b/node_modules/@walmart/facilities-management-miniapp/dist/common/camera/utils.d.ts +index 702a2e2..037e3c6 100644 +--- a/node_modules/@walmart/facilities-management-miniapp/dist/common/camera/utils.d.ts ++++ b/node_modules/@walmart/facilities-management-miniapp/dist/common/camera/utils.d.ts +@@ -1,4 +1,4 @@ +-import CameraRoll from '@react-native-community/cameraroll'; ++import CameraRoll from '@react-native-camera-roll/camera-roll'; + export declare const getMediaItemsFromGallery: ({ count, assetType, }: { + count?: number | undefined; + assetType?: string | undefined; +diff --git a/node_modules/@walmart/facilities-management-miniapp/dist/common/camera/utils.js b/node_modules/@walmart/facilities-management-miniapp/dist/common/camera/utils.js +index cd8c112..818064b 100644 +--- a/node_modules/@walmart/facilities-management-miniapp/dist/common/camera/utils.js ++++ b/node_modules/@walmart/facilities-management-miniapp/dist/common/camera/utils.js +@@ -34,7 +34,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) { + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } + }; +-import CameraRoll from '@react-native-community/cameraroll'; ++import CameraRoll from '@react-native-camera-roll/camera-roll'; + import RNFS from 'react-native-fs'; + export var getMediaItemsFromGallery = function (_a) { + var _b = _a.count, count = _b === void 0 ? 1 : _b, _c = _a.assetType, assetType = _c === void 0 ? 'Photos' : _c;
removed fixit changes
removed fixit changes
2b53f450285c472d47e5b271beff25c5ca70abc0
--- packages/allspark-foundation/src/Feature/AllsparkFeatureManager.ts @@ -376,4 +376,14 @@ export class FeatureModuleManager { return `${this._id}_${featureId}_${featureTag}_${screenTag}`; } ); + + public Screen = memoize( + (featureId: string, screenId: string, builder: BuildScreenConfig) => { + const feature = this.getFeature(featureId); + return feature?.buildScreen(screenId, builder) || null; + }, + (featureId, screenId) => { + return `${this._id}_${featureId}_${screenId}`; + } + ); }
feat: add screen component to feature manager to build a single feature screen
feat: add screen component to feature manager to build a single feature screen
ebeedf95b7d8bb55a10dbb78d7ca67274bff9665
--- packages/allspark-foundation-hub/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.25.7](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.25.6...@walmart/allspark-foundation-hub@1.25.7) (2025-12-08) + +**Note:** Version bump only for package @walmart/allspark-foundation-hub + ## [1.25.6](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.25.5...@walmart/allspark-foundation-hub@1.25.6) (2025-12-04) ### Bug Fixes --- packages/allspark-foundation-hub/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/allspark-foundation-hub", - "version": "1.25.6", + "version": "1.25.7", "description": "", "main": "lib/index.js", "types": "lib/index.d.ts", --- packages/allspark-foundation/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [7.16.5](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.16.4...@walmart/allspark-foundation@7.16.5) (2025-12-08) + +**Note:** Version bump only for package @walmart/allspark-foundation + ## [7.16.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.16.3...@walmart/allspark-foundation@7.16.4) (2025-12-04) **Note:** Version bump only for package @walmart/allspark-foundation --- packages/allspark-foundation/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/allspark-foundation", - "version": "7.16.4", + "version": "7.16.5", "description": "", "main": "Core/index.js", "types": "Core/index.d.ts", --- packages/components-library/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.7](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/ax-components@1.2.6...@walmart/ax-components@1.2.7) (2025-12-08) + +### Bug Fixes + +- **ada:** ALLSPARK-7352 fix ada issues with AssociateListItem, GoalListItem ([#509](https://gecgithub01.walmart.com/allspark/allspark/issues/509)) ([7685300](https://gecgithub01.walmart.com/allspark/allspark/commit/7685300f497c0bacd025dec8778b2623a5e6e8a8)) + ## [1.2.6](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/ax-components@1.2.5...@walmart/ax-components@1.2.6) (2025-12-04) ### Bug Fixes --- packages/components-library/package.json @@ -57,7 +57,7 @@ "test:coverage": "jest --coverage", "expo:check": "expo install --check" }, - "version": "1.2.6", + "version": "1.2.7", "main": "lib/index.js", "types": "lib/index.d.ts", "name": "@walmart/ax-components", --- packages/my-walmart-hub/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.6.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/my-walmart-hub@1.6.3...@walmart/my-walmart-hub@1.6.4) (2025-12-08) + +**Note:** Version bump only for package @walmart/my-walmart-hub + ## [1.6.3](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/my-walmart-hub@1.6.2...@walmart/my-walmart-hub@1.6.3) (2025-12-04) ### Bug Fixes --- packages/my-walmart-hub/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/my-walmart-hub", - "version": "1.6.3", + "version": "1.6.4", "description": "My Walmart Hub - A comprehensive hub framework for building dynamic widget-based interfaces", "main": "lib/index.js", "types": "lib/index.d.ts",
chore(version): updating package version
chore(version): updating package version - @walmart/allspark-foundation@7.16.5 - @walmart/allspark-foundation-hub@1.25.7 - @walmart/ax-components@1.2.7 - @walmart/my-walmart-hub@1.6.4
9c8b401d019e99bc73a5da5b7a162f2e1cd80e13
--- package-lock.json @@ -5421,9 +5421,9 @@ "integrity": "sha512-vL0+hmLX3mP3jXomwGL+kxp2aRLe002I+b+LL+wVbmOdRdXBvA7gbA5VJeRFkvaUQfU2SlRVLYJwv34HT9I8jw==" }, "@walmart/shelfavailability-mini-app": { - "version": "1.0.0", - "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-1.0.0.tgz", - "integrity": "sha512-kXnxC7X1ly3Mwl0m18cFiJ91Ybcnw34BcB5F8wF6xbXZrHXdpsaFBqLrnruDwBO/2vvPonYe/Y8otpuIWUXlvQ==" + "version": "1.2.1", + "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-1.2.1.tgz", + "integrity": "sha512-X73XCuc6mUjY03AIu+GNe4oUTnaCQW0hpSiYbaNnSi87Cilc7LxXa/TOcoXkkZ4+JsBZEmh0FMwVkyPnhotFzQ==" }, "@walmart/taskit-mini-app": { "version": "0.32.0-beta.5",
SA-239 package-lock for sa 1.2.1
SA-239 package-lock for sa 1.2.1
5fd3b046b3991ec65a222815db13f60bdfa0242b
--- package-lock.json @@ -48,7 +48,7 @@ "@walmart/exception-mini-app": "1.4.2", "@walmart/facilities-management-miniapp": "0.6.42", "@walmart/feedback-all-spark-miniapp": "0.9.33", - "@walmart/financial-wellbeing-feature-app": "1.8.1", + "@walmart/financial-wellbeing-feature-app": "1.10.0", "@walmart/functional-components": "~4.0.3", "@walmart/gta-react-native-calendars": "0.0.16", "@walmart/gtp-shared-components": "2.0.6", @@ -5188,7 +5188,9 @@ } }, "node_modules/@walmart/financial-wellbeing-feature-app": { - "version": "1.8.1", + "version": "1.10.0", + "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.10.0.tgz", + "integrity": "sha512-0mnjE+23U/Ay61QnAxFQEtxg19g8PGg24LLRyVEus7Is8SLg7wdtOfIuBtyNMUCvx4UWycY9Hnmxom2Cr/+p/g==", "hasInstallScript": true, "peerDependencies": { "@react-navigation/native": "^6.0.0", @@ -25161,7 +25163,9 @@ "version": "0.9.33" }, "@walmart/financial-wellbeing-feature-app": { - "version": "1.8.1" + "version": "1.10.0", + "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.10.0.tgz", + "integrity": "sha512-0mnjE+23U/Ay61QnAxFQEtxg19g8PGg24LLRyVEus7Is8SLg7wdtOfIuBtyNMUCvx4UWycY9Hnmxom2Cr/+p/g==" }, "@walmart/functional-components": { "version": "4.0.3", @@ -25258,7 +25262,9 @@ } }, "@walmart/mod-flex-mini-app": { - "version": "1.9.4" + "version": "1.9.4", + "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.9.4.tgz", + "integrity": "sha512-Z2Mh6hXBXAdZl6suTlO7lCa9GODtImMITZfhqNwYeDVT1fesqbW80s4zgUI2OyqDarPs9/wizWBooeyk+Anb2A==" }, "@walmart/moment-walmart": { "version": "1.0.4" --- package.json @@ -90,7 +90,7 @@ "@walmart/exception-mini-app": "1.4.2", "@walmart/facilities-management-miniapp": "0.6.42", "@walmart/feedback-all-spark-miniapp": "0.9.33", - "@walmart/financial-wellbeing-feature-app": "1.8.1", + "@walmart/financial-wellbeing-feature-app": "1.10.0", "@walmart/functional-components": "~4.0.3", "@walmart/gta-react-native-calendars": "0.0.16", "@walmart/gtp-shared-components": "2.0.6",
bumped financial-wellbeing-feature-app 1.10.0
bumped financial-wellbeing-feature-app 1.10.0
4ce48ea61d03581f08976960759f8925b7114b5f
--- packages/associate-exp-hub-hub/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.13.1](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-hub@2.13.0...@walmart/associate-exp-hub-hub@2.13.1) (2025-11-19) + +**Note:** Version bump only for package @walmart/associate-exp-hub-hub + # [2.13.0](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-hub@2.12.1...@walmart/associate-exp-hub-hub@2.13.0) (2025-11-19) ### Features --- packages/associate-exp-hub-hub/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/associate-exp-hub-hub", - "version": "2.13.0", + "version": "2.13.1", "description": "Hub Framework module for Associate Experience Hub - can be moved to @walmart/my-walmart-hub", "packageManager": "yarn@4.6.0", "engines": { --- packages/associate-exp-hub-mini-app/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.5.1](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.5.0...@walmart/associate-exp-hub-mini-app@1.5.1) (2025-11-19) + +**Note:** Version bump only for package @walmart/associate-exp-hub-mini-app + # [1.5.0](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.4.0-alpha.42...@walmart/associate-exp-hub-mini-app@1.5.0) (2025-11-19) ### Features --- packages/associate-exp-hub-mini-app/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/associate-exp-hub-mini-app", - "version": "1.5.0", + "version": "1.5.1", "packageManager": "yarn@4.6.0", "engines": { "node": ">=18"
chore(version): updating package version
chore(version): updating package version - @walmart/associate-exp-hub-hub@2.13.1 - @walmart/associate-exp-hub-mini-app@1.5.1
98c7a6400fbb84f022a31a5dea91ed780adf8824
--- packages/allspark-graphql-client/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. +## [0.0.9](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-graphql-client@0.0.8...@walmart/allspark-graphql-client@0.0.9) (2023-01-16) + +**Note:** Version bump only for package @walmart/allspark-graphql-client + + + + + ## [0.0.8](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-graphql-client@0.0.7...@walmart/allspark-graphql-client@0.0.8) (2023-01-13) **Note:** Version bump only for package @walmart/allspark-graphql-client --- packages/allspark-graphql-client/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/allspark-graphql-client", - "version": "0.0.8", + "version": "0.0.9", "description": "> TODO: description", "license": "ISC", "main": "lib/index.js", --- packages/allspark-redux-store/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.8](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-redux-store@1.0.7...@walmart/allspark-redux-store@1.0.8) (2023-01-16) + +**Note:** Version bump only for package @walmart/allspark-redux-store + + + + + ## [1.0.7](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-redux-store@1.0.6...@walmart/allspark-redux-store@1.0.7) (2023-01-13) **Note:** Version bump only for package @walmart/allspark-redux-store --- packages/allspark-redux-store/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/allspark-redux-store", - "version": "1.0.7", + "version": "1.0.8", "description": "Common redux store for allspark platform", "author": "rlane1 <russell.lane@walmart.com>", "homepage": "",
chore(version): updating package version
chore(version): updating package version - @walmart/allspark-graphql-client@0.0.9 - @walmart/allspark-redux-store@1.0.8
6acaf3b01c82bdf0a53e4b7f970e7114be10fd8b
--- sonar-project.properties @@ -0,0 +1,11 @@ +sonar.projectKey=com.walmart.stores.allspark.associateExpHub +sonar.projectName=AssociateExpHubMiniApp +sonar.projectVersion=1.0.0 +sonar.host.url=http://sonar.looper.prod.walmartlabs.com + +sonar.sources=src +sonar.tests=__tests__ +sonar.exclusions=src/images +sonar.sourceEncoding=UTF-8 +sonar.typescript.lcov.reportPaths=coverage/lcov.info +sonar.testExecutionReportPaths=test-report.xml
feat(ui): update sonar properties file
feat(ui): update sonar properties file
fe359ee18a6c5440029eb782936a37dc755e09ec
--- apps/example/devtools.js @@ -0,0 +1,3 @@ +import { ConsoleApi } from '@walmart/allspark-foundation/DeveloperMenu/ConsoleApi' + +ConsoleApi.attach(console); \ No newline at end of file --- apps/example/index.js @@ -1,9 +1,12 @@ import 'react-native-get-random-values'; import { registerRootComponent } from 'expo'; -import {App} from './src/core'; +import { App } from './src/core'; registerRootComponent(App); +if (process.env.EXPO_PUBLIC_APP_VARIANT === 'dev') { + require('./devtools'); +} // import {Feature1Standalone} from './src'; // AppRegistry.registerComponent(appName, Feature1Standalone.App);
chore(example): attach console api for dev variant
chore(example): attach console api for dev variant
d90c4e742422f7382b969a838f5fe39382ed9131
--- package.json @@ -93,7 +93,7 @@ "@walmart/react-native-logger": "1.35.0", "@walmart/react-native-scanner-3.0": "0.10.4", "@walmart/react-native-sumo-sdk": "2.8.0", - "@walmart/roster-mini-app": "3.8.0", + "@walmart/roster-mini-app": "3.8.1", "@walmart/ui-components": "1.15.1", "@walmart/wmconnect-mini-app": "3.7.0", "babel-jest": "^29.6.3",
chore(deps): update roster-mini-app to 3.8.1 for ADA fixes
chore(deps): update roster-mini-app to 3.8.1 for ADA fixes
9bb7f596764c276d53517039df03709ae77bbbc2
--- ios/Podfile.lock @@ -1917,7 +1917,7 @@ PODS: - React-Core - react-native-safe-area-context (4.10.1): - React-Core - - react-native-scanner-3.0 (0.6.3): + - react-native-scanner-3.0 (0.6.6): - Firebase/Analytics - React - ScanditBarcodeCapture (= 6.23.2) @@ -2833,7 +2833,7 @@ SPEC CHECKSUMS: react-native-pdf: 79aa75e39a80c1d45ffe58aa500f3cf08f267a2e react-native-render-html: 984dfe2294163d04bf5fe25d7c9f122e60e05ebe react-native-safe-area-context: dcab599c527c2d7de2d76507a523d20a0b83823d - react-native-scanner-3.0: 91bee82caee36a0d6dc949d6c5d91efae75ceeca + react-native-scanner-3.0: c8bf96839561a2e921dc181acaacaeec79ffee19 react-native-splash-screen: 4312f786b13a81b5169ef346d76d33bc0c6dc457 react-native-video: c26780b224543c62d5e1b2a7244a5cd1b50e8253 react-native-view-shot: 6b7ed61d77d88580fed10954d45fad0eb2d47688 --- package.json @@ -131,7 +131,7 @@ "@walmart/react-native-encrypted-storage": "~1.1.3", "@walmart/react-native-env": "6.1.4", "@walmart/react-native-logger": "1.34.8", - "@walmart/react-native-scanner-3.0": "0.6.5", + "@walmart/react-native-scanner-3.0": "0.6.6", "@walmart/react-native-shared-navigation": "6.1.4", "@walmart/react-native-store-map": "0.3.7", "@walmart/react-native-sumo-sdk": "2.7.0", --- yarn.lock @@ -6873,12 +6873,12 @@ __metadata: languageName: node linkType: hard -"@walmart/react-native-scanner-3.0@npm:0.6.5": - version: 0.6.5 - resolution: "@walmart/react-native-scanner-3.0@npm:0.6.5" +"@walmart/react-native-scanner-3.0@npm:0.6.6": + version: 0.6.6 + resolution: "@walmart/react-native-scanner-3.0@npm:0.6.6" peerDependencies: react-native: ">=0.47.1" - checksum: 10c0/d9e57560d435a57a0af04891857cefe07d14e4be16e05320287e83ff0a6357f91565455b81273c71a95f5ec54793cffaef32ceb4967f875b12dff89f988a8f35 + checksum: 10c0/78833166f9fc6fc06874492fcbdfc02e2888833672ee7c54b7f5351b27f473305a7826930779eb8018a1dd8f07833c7f425f66ab23b078b7732f65be263491e6 languageName: node linkType: hard @@ -7846,7 +7846,7 @@ __metadata: "@walmart/react-native-encrypted-storage": "npm:~1.1.3" "@walmart/react-native-env": "npm:6.1.4" "@walmart/react-native-logger": "npm:1.34.8" - "@walmart/react-native-scanner-3.0": "npm:0.6.5" + "@walmart/react-native-scanner-3.0": "npm:0.6.6" "@walmart/react-native-shared-navigation": "npm:6.1.4" "@walmart/react-native-store-map": "npm:0.3.7" "@walmart/react-native-sumo-sdk": "npm:2.7.0"
upgrade scanner3.0 to 0.6.6
upgrade scanner3.0 to 0.6.6
a15093674bcb772541bc5f918614e46811fc775c
--- packages/me-at-walmart-athena-queries/src/getAssociatePreference.graphql @@ -0,0 +1,12 @@ +query getAssociatePreferences($win: String!, $site: Int!) { + associatePreferences(walmartIdentificationNumber: $win) { + meAtWalmartPreferences { + managerExperiencePreferences { + myTeams(businessUnitNumber: $site) { + teamName + teamId + } + } + } + } +}
Adding getAssociatePreferences query initial commit
Adding getAssociatePreferences query initial commit
8c5356ae28af0a08954482ec149a97b2fddcdd5b
--- package-lock.json @@ -64,7 +64,7 @@ "@walmart/iteminfo-mini-app": "7.7.4", "@walmart/learning-mini-app": "17.0.4", "@walmart/manager-approvals-miniapp": "0.2.4", - "@walmart/metrics-mini-app": "0.18.6", + "@walmart/metrics-mini-app": "0.19.3", "@walmart/mod-flex-mini-app": "1.14.6", "@walmart/moment-walmart": "1.0.4", "@walmart/money-auth-shared-components": "0.0.14", @@ -9247,9 +9247,9 @@ } }, "node_modules/@walmart/metrics-mini-app": { - "version": "0.18.6", - "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.18.6.tgz", - "integrity": "sha512-ace3QwzEfcMPhBdpsQZOzD0X/XYqxLvD2XVjm2rONQQn7sMf/clVKRcb17m5BtIKR+HE5DlfUTPlFZwWWd7NvQ==", + "version": "0.19.3", + "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.19.3.tgz", + "integrity": "sha512-qUn6YcPL0qOpcyJaKwvuSsQJmUruqmy3laqSM96wCckWufFC0n6pw+Bj7mm8alzMP9EkL3jg2Va3EL516cqAjA==", "hasInstallScript": true, "dependencies": { "base-64": "^1.0.0" @@ -33234,9 +33234,9 @@ } }, "@walmart/metrics-mini-app": { - "version": "0.18.6", - "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.18.6.tgz", - "integrity": "sha512-ace3QwzEfcMPhBdpsQZOzD0X/XYqxLvD2XVjm2rONQQn7sMf/clVKRcb17m5BtIKR+HE5DlfUTPlFZwWWd7NvQ==", + "version": "0.19.3", + "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.19.3.tgz", + "integrity": "sha512-qUn6YcPL0qOpcyJaKwvuSsQJmUruqmy3laqSM96wCckWufFC0n6pw+Bj7mm8alzMP9EkL3jg2Va3EL516cqAjA==", "requires": { "base-64": "^1.0.0" } --- package.json @@ -105,7 +105,7 @@ "@walmart/iteminfo-mini-app": "7.7.4", "@walmart/learning-mini-app": "17.0.4", "@walmart/manager-approvals-miniapp": "0.2.4", - "@walmart/metrics-mini-app": "0.18.6", + "@walmart/metrics-mini-app": "0.19.3", "@walmart/mod-flex-mini-app": "1.14.6", "@walmart/moment-walmart": "1.0.4", "@walmart/money-auth-shared-components": "0.0.14",
metrics version bump
metrics version bump
3b42cd49c4802848487ea373bc9dabe9a974e24f
--- targets/US/package.json @@ -144,7 +144,7 @@ "@walmart/schedule-mini-app": "0.118.2", "@walmart/shelfavailability-mini-app": "1.5.37", "@walmart/shop-gnfr-mini-app": "1.0.131", - "@walmart/sidekick-mini-app": "4.83.7", + "@walmart/sidekick-mini-app": "4.84.5", "@walmart/store-feature-orders": "1.27.1", "@walmart/taskit-mini-app": "4.17.17", "@walmart/time-clock-mini-app": "2.419.0", --- yarn.lock @@ -7051,7 +7051,7 @@ __metadata: "@walmart/schedule-mini-app": "npm:0.118.2" "@walmart/shelfavailability-mini-app": "npm:1.5.37" "@walmart/shop-gnfr-mini-app": "npm:1.0.131" - "@walmart/sidekick-mini-app": "npm:4.83.7" + "@walmart/sidekick-mini-app": "npm:4.84.5" "@walmart/store-feature-orders": "npm:1.27.1" "@walmart/taskit-mini-app": "npm:4.17.17" "@walmart/time-clock-mini-app": "npm:2.419.0" @@ -7927,9 +7927,9 @@ __metadata: languageName: node linkType: hard -"@walmart/sidekick-mini-app@npm:4.84.4": - version: 4.84.4 - resolution: "@walmart/sidekick-mini-app@npm:4.84.4" +"@walmart/sidekick-mini-app@npm:4.84.5": + version: 4.84.5 + resolution: "@walmart/sidekick-mini-app@npm:4.84.5" peerDependencies: "@apollo/client": "*" "@react-navigation/native": ^6.0.0 @@ -7942,7 +7942,7 @@ __metadata: expo-linear-gradient: ~12.3.0 react: ^18.2.0 react-native: ^0.73.7 - checksum: 10c0/e1cc9cb14f8290502ff52061be0d56ce1a02a26be5f6f19ae0567f75c098f00be96fe0ebf243dfedc558094c648bb3fa700f4cff3482750f27b21dae7cd5d9c5 + checksum: 10c0/fc3634f12183007480fd1a756ca045b06225257e13115880c831d9d945fb2f90536480d6d39d0c25d9c8efdb7370f59f717f002930e3f16d504d2b73fb2bde1a languageName: node linkType: hard
chore: bump sidekick@4.84.5
chore: bump sidekick@4.84.5
3bbbae073030c1f6dea1664ef47db6638d6a3d8e
--- package.json @@ -189,12 +189,12 @@ "redux-devtools-extension": "^2.13.8", "redux-saga": "^1.1.3", "redux-thunk": "^2.4.0", - "uuid": "^3.3.2", "reduxsauce": "^1.2.0", "reselect": "^4.0.0", "rn-fetch-blob": "^0.12.0", "seamless-immutable": "^7.1.4", "semver": "^7.3.4", + "uuid": "^3.3.2", "victory-native": "^35.0.1", "wifi-store-locator": "^1.0.0-alpha2" },
reorder
reorder
e5644401fb80ca8e4d7984d986c86ea98ae148d1
--- .looper-pr.yml @@ -13,6 +13,11 @@ flows: - (name Yarn Install) yarn install - (name Test Coverage) yarn run coverage + commit-convention-checker: + - echo 'conventional commit disabled' + semantic-dry-run: + - echo 'semantic dryrun disabled' + envs: global: variables: --- package.json @@ -1,6 +1,6 @@ { "name": "@walmart/wmconnect-mini-app", - "version": "2.25.3", + "version": "2.25.4", "main": "index.ts", "workspaces": [ "packages/*"
fix: SMDV-9999 update looper
fix: SMDV-9999 update looper
98428cc0d73530511be7942f7a30aaf472369131
--- package-lock.json @@ -83,7 +83,7 @@ "@walmart/taskit-mini-app": "0.47.0", "@walmart/time-clock-mini-app": "0.30.0", "@walmart/ui-components": "1.6.0", - "@walmart/welcomeme-mini-app": "0.71.0", + "@walmart/welcomeme-mini-app": "0.73.0", "@walmart/wfm-ui": "0.2.25", "axios": "^0.26.1", "axios-cache-adapter": "2.7.3", @@ -6083,7 +6083,9 @@ } }, "node_modules/@walmart/welcomeme-mini-app": { - "version": "0.71.0", + "version": "0.73.0", + "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.73.0.tgz", + "integrity": "sha512-/6FCj5YUl5jb0xL4pGJNun/Eq/em0I3L8Jf1c9B+PbMF+bUFBuE2Ffd0rqAhTpR2d5GvQQyhi2ynE/jDi1GdJQ==", "peerDependencies": { "@react-native-community/async-storage": "^1.11.0", "@react-native-firebase/app": "12.3.0", @@ -6091,7 +6093,7 @@ "@react-native-firebase/remote-config": "12.3.0", "@react-navigation/native": "^6.0.0", "@react-navigation/stack": "^6.1.0", - "@walmart/ask-sam-mini-app": "0.40.4", + "@walmart/ask-sam-mini-app": "1.3.3", "@walmart/config-components": "1.0.35", "@walmart/feedback-all-spark-miniapp": "0.1.18", "@walmart/functional-components": "1.0.34", @@ -6103,13 +6105,12 @@ "@walmart/redux-store": "2.0.4", "@walmart/settings-mini-app": "1.3.9", "@walmart/ui-components": "v1.3.0-rc.0", - "react": "^17.0.2", - "react-native": "^0.66.4", + "react": "18.1.0", + "react-native": "0.70.4", "react-native-connect-sso-redux": "^1.1.1", "react-native-device-info": "^6.2.1", "react-native-permissions": "3.0.0", "react-native-video": "^5.1.0-alpha8", - "react-native-wm-barcode": "2.32.0", "react-native-wm-config": "0.1.1", "react-native-wm-network": "0.2.0", "react-native-wm-notification": "2.0.0", @@ -25126,7 +25127,9 @@ } }, "@walmart/welcomeme-mini-app": { - "version": "0.71.0" + "version": "0.73.0", + "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.73.0.tgz", + "integrity": "sha512-/6FCj5YUl5jb0xL4pGJNun/Eq/em0I3L8Jf1c9B+PbMF+bUFBuE2Ffd0rqAhTpR2d5GvQQyhi2ynE/jDi1GdJQ==" }, "@walmart/wfm-ui": { "version": "0.2.25", --- package.json @@ -125,7 +125,7 @@ "@walmart/taskit-mini-app": "0.47.0", "@walmart/time-clock-mini-app": "0.30.0", "@walmart/ui-components": "1.6.0", - "@walmart/welcomeme-mini-app": "0.71.0", + "@walmart/welcomeme-mini-app": "0.73.0", "@walmart/wfm-ui": "0.2.25", "axios": "^0.26.1", "axios-cache-adapter": "2.7.3",
chore: welcome-me version bump
chore: welcome-me version bump
11b645e6ba32aaea0987830a6217cc9dcbf7f885
--- package-lock.json @@ -56,7 +56,7 @@ "@walmart/inbox-mini-app": "0.82.3", "@walmart/iteminfo-mini-app": "7.1.4", "@walmart/manager-approvals-miniapp": "0.2.1", - "@walmart/me-field-mini-app": "12.0.5", + "@walmart/me-field-mini-app": "12.0.10", "@walmart/metrics-mini-app": "0.9.61", "@walmart/mod-flex-mini-app": "1.6.3", "@walmart/moment-walmart": "1.0.4", @@ -5449,9 +5449,9 @@ } }, "node_modules/@walmart/me-field-mini-app": { - "version": "12.0.5", - "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-12.0.5.tgz", - "integrity": "sha512-8mKfHVdXMdJCwZ6LAEuGkxy8mydvmV+HnWWVppVwROQVKqFjG03cYNtchhw9B+AXqJ7NJp3zHALITyTBNnChqA==", + "version": "12.0.10", + "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-12.0.10.tgz", + "integrity": "sha512-AGJ0H20411rQyTcI0giib+HkBEKu96JHjnYBi6hwS2eUkhSanXdb5TAH6kbHuxwpykd2fSs7JY2zQyYk8Ox8Aw==", "hasInstallScript": true, "peerDependencies": { "@atmt/feedback-component-native": "^8.0.0", @@ -25207,9 +25207,9 @@ } }, "@walmart/me-field-mini-app": { - "version": "12.0.5", - "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-12.0.5.tgz", - "integrity": "sha512-8mKfHVdXMdJCwZ6LAEuGkxy8mydvmV+HnWWVppVwROQVKqFjG03cYNtchhw9B+AXqJ7NJp3zHALITyTBNnChqA==" + "version": "12.0.10", + "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-12.0.10.tgz", + "integrity": "sha512-AGJ0H20411rQyTcI0giib+HkBEKu96JHjnYBi6hwS2eUkhSanXdb5TAH6kbHuxwpykd2fSs7JY2zQyYk8Ox8Aw==" }, "@walmart/metrics-mini-app": { "version": "0.9.61", --- package.json @@ -98,7 +98,7 @@ "@walmart/inbox-mini-app": "0.82.3", "@walmart/iteminfo-mini-app": "7.1.4", "@walmart/manager-approvals-miniapp": "0.2.1", - "@walmart/me-field-mini-app": "12.0.9", + "@walmart/me-field-mini-app": "12.0.10", "@walmart/metrics-mini-app": "0.9.61", "@walmart/mod-flex-mini-app": "1.6.3", "@walmart/moment-walmart": "1.0.4",
feat: :arrow_up: Bump learning mini app version to 12.0.10
feat: :arrow_up: Bump learning mini app version to 12.0.10
883342479ca9abfe4d15b544fceccb32ea43b083
--- src/screens/MessagesScreen.tsx @@ -281,15 +281,22 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => { const channelId = getChannelIdFromChannelPath(channelData?.id); if (recipients && recipients.length > 0) { - await notifyRecipientsWithPush( - capitalize(viewerFirstName), - getMessageTextForPush(), - recipients, - parseInt(siteId, 10), - channelId, - getMessageType(), - message?.audio?.uri || message?.image?.uri, - ); + try { + await notifyRecipientsWithPush( + capitalize(viewerFirstName), + getMessageTextForPush(), + recipients, + parseInt(siteId, 10), + channelId, + getMessageType(), + message?.audio?.uri || message?.image?.uri, + ); + } catch (e) { + const err = e as Error; + logger.error('Error sending push notification', { + message: `Error sending push notification: ${err.message}`, + }); + } } } }; --- src/screens/MessagesScreen.tsx @@ -281,15 +281,22 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => { const channelId = getChannelIdFromChannelPath(channelData?.id); if (recipients && recipients.length > 0) { - await notifyRecipientsWithPush( - capitalize(viewerFirstName), - getMessageTextForPush(), - recipients, - parseInt(siteId, 10), - channelId, - getMessageType(), - message?.audio?.uri || message?.image?.uri, - ); + try { + await notifyRecipientsWithPush( + capitalize(viewerFirstName), + getMessageTextForPush(), + recipients, + parseInt(siteId, 10), + channelId, + getMessageType(), + message?.audio?.uri || message?.image?.uri, + ); + } catch (e) { + const err = e as Error; + logger.error('Error sending push notification', { + message: `Error sending push notification: ${err.message}`, + }); + } } } };
add error log
add error log
fe110c3d6c452829e4f954d26efb6214a3396b16
--- packages/associate-exp-hub-team-switcher/src/components/team-switcher/MyWalmartTeamSwitcherFilter.tsx @@ -211,103 +211,93 @@ const MyWalmartTeamSwitcherComponent: React.FC<TeamSwitcherProps> = ({ * - Work Context should only contain actual team data, not initialization state * - Widgets wait for valid team selection before displaying team-specific content */ + // OPTIMIZED: Memoize callbacks to prevent effect re-runs + const syncToWorkContext = useCallback((selectedTeam: any, shifts: string[]) => { + const lastSync = lastSyncedTeamRef.current; + const needsSync = + !lastSync || + lastSync.teamId !== selectedTeam.teamId || + JSON.stringify(shifts) !== JSON.stringify(prevShiftsRef.current); + + if (!needsSync) return; + + const teamDataWithDepts = selectedTeam as any; + const timestamp = Date.now(); + + const teamSwitcherData: TeamSwitcherData = { + teamId: selectedTeam.teamId, + teamLabel: selectedTeam.teamLabel, + teamData: JSON.stringify(selectedTeam), + shifts: JSON.stringify(shifts), + metricsDeptsNumbers: JSON.stringify( + teamDataWithDepts.areaDepartments?.metricsDeptsNumbers || [] + ), + merchantDeptsNumbers: JSON.stringify( + teamDataWithDepts.areaDepartments?.merchantDeptsNumbers || [] + ), + timestamp, + }; + + dispatch( + WorkActionsCreators.SET_WORK_CONTEXT({ + context: { + teamId: teamSwitcherData.teamId, + teamLabel: teamSwitcherData.teamLabel, + teamData: teamSwitcherData.teamData, + shifts: teamSwitcherData.shifts, + metricsDeptsNumbers: teamSwitcherData.metricsDeptsNumbers, + merchantDeptsNumbers: teamSwitcherData.merchantDeptsNumbers, + timestamp: teamSwitcherData.timestamp, + }, + }) + ); + + if (isActive && onTeamChange) { + onTeamChange(selectedTeam.teamLabel, teamSwitcherData); + } + + lastSyncedTeamRef.current = {teamId: selectedTeam.teamId, timestamp}; + prevShiftsRef.current = shifts; + }, [dispatch, isActive, onTeamChange]); + React.useEffect(() => { const selectedTeam = teamState.selectedTeamData; - // Only sync to Work Context if we have valid team data AND it has actually changed - // This prevents widgets from initializing with empty teamId and prevents infinite loops - // NOTE: Sync happens REGARDLESS of isActive so all tabs stay in sync - if (selectedTeam.teamId && selectedTeam.teamLabel) { - // Check if this team was already synced to prevent circular updates - const lastSync = lastSyncedTeamRef.current; - const needsSync = - !lastSync || - lastSync.teamId !== selectedTeam.teamId || - JSON.stringify(selectedShifts) !== - JSON.stringify(prevShiftsRef.current); - - if (needsSync) { - const teamDataWithDepts = selectedTeam as any; // Type assertion to access areaDepartments - const timestamp = Date.now(); - - const teamSwitcherData: TeamSwitcherData = { - teamId: selectedTeam.teamId, - teamLabel: selectedTeam.teamLabel, - teamData: JSON.stringify(selectedTeam), - shifts: JSON.stringify(selectedShifts), - metricsDeptsNumbers: JSON.stringify( - teamDataWithDepts.areaDepartments?.metricsDeptsNumbers || [] - ), - merchantDeptsNumbers: JSON.stringify( - teamDataWithDepts.areaDepartments?.merchantDeptsNumbers || [] - ), - timestamp, - }; - - dispatch( - WorkActionsCreators.SET_WORK_CONTEXT({ - context: { - teamId: teamSwitcherData.teamId, - teamLabel: teamSwitcherData.teamLabel, - teamData: teamSwitcherData.teamData, - shifts: teamSwitcherData.shifts, - metricsDeptsNumbers: teamSwitcherData.metricsDeptsNumbers, - merchantDeptsNumbers: teamSwitcherData.merchantDeptsNumbers, - timestamp: teamSwitcherData.timestamp, - }, - }) - ); - - // Call onTeamChange callback with the team data (only from active tab to avoid duplicates) - // This ensures the callback is triggered when team changes from ANY source (modal, initialization, etc.) - if (isActive && onTeamChange) { - onTeamChange(selectedTeam.teamLabel, teamSwitcherData); - } + // Only sync if we have valid team data + if (!selectedTeam.teamId || !selectedTeam.teamLabel) return; - // Track what we synced to prevent re-syncing the same data - lastSyncedTeamRef.current = {teamId: selectedTeam.teamId, timestamp}; - prevShiftsRef.current = selectedShifts; - } - } + // Sync to Work Context + syncToWorkContext(selectedTeam, selectedShifts); - // Log telemetry when this instance is active (avoid duplicate logs from inactive tabs) - // ALWAYS enabled for OpenObserve/Firebase monitoring + // Log telemetry when active and team actually changed if ( isActive && prevTeamRef.current?.teamId && - prevTeamRef.current.teamId !== teamState.selectedTeamData.teamId + prevTeamRef.current.teamId !== selectedTeam.teamId ) { - // Log the team change event - TelemetryHelpers.logTeamAction(teamState.selectedTeamData.teamId, { - team_name: teamState.selectedTeamData.teamLabel, + TelemetryHelpers.logTeamAction(selectedTeam.teamId, { + team_name: selectedTeam.teamLabel, team_type: isSiteDC ? 'supply_chain' : 'store', }); - // Log the interaction that caused the team change TelemetryHelpers.logUserInteraction({ element_type: 'team_switcher', action: 'tap', - value: teamState.selectedTeamData.teamId, + value: selectedTeam.teamId, }); - } - // Broadcast team change if team actually changed (only from active tab to avoid duplicates) - if ( - isActive && - prevTeamRef.current?.teamId !== teamState.selectedTeamData.teamId - ) { - broadcastTeamChange(teamState.selectedTeamData); + // Broadcast only from active tab + broadcastTeamChange(selectedTeam); } - prevTeamRef.current = teamState.selectedTeamData; + prevTeamRef.current = selectedTeam; }, [ teamState.selectedTeamData, selectedShifts, isActive, - dispatch, isSiteDC, + syncToWorkContext, broadcastTeamChange, - onTeamChange, ]); // Get primary team data from Hub Framework @@ -419,7 +409,7 @@ const MyWalmartTeamSwitcherComponent: React.FC<TeamSwitcherProps> = ({ preferencesLoading, shiftCodePreferences, selectedShifts, - teamState.updateSelectedShifts, + teamState, ]); /** @@ -534,9 +524,7 @@ const MyWalmartTeamSwitcherComponent: React.FC<TeamSwitcherProps> = ({ isActive, teamsLoading, preferencesLoading, - teamState.hasTeamSelected, - teamState.isInitialState, - teamState.updateSelectedTeam, + teamState, primaryTeam, teams, teamImage,
feat(ui): cleanup logs
feat(ui): cleanup logs
a51a100c7e857f495cbce9372d04cb1dc53a1354
--- package.json @@ -148,7 +148,7 @@ "@types/semver": "^7.3.4", "@types/uuid": "^8.3.0", "@walmart/allspark-foundation": "6.27.4", - "@walmart/allspark-foundation-hub": "1.2.6", + "@walmart/allspark-foundation-hub": "1.2.10", "@walmart/allspark-graphql-client": "~6.3.28", "@walmart/allspark-http-client": "~6.3.28", "@walmart/allspark-utils": "~6.5.0", --- targets/US/package.json @@ -78,7 +78,7 @@ "@walmart/allspark-authentication": "~6.4.1", "@walmart/allspark-cope-key-listener": "0.0.18", "@walmart/allspark-foundation": "6.27.4", - "@walmart/allspark-foundation-hub": "1.2.6", + "@walmart/allspark-foundation-hub": "1.2.10", "@walmart/allspark-graphql-client": "~6.3.28", "@walmart/allspark-http-client": "~6.3.28", "@walmart/allspark-neon-core": "0.1.31", --- yarn.lock @@ -5966,9 +5966,9 @@ __metadata: languageName: node linkType: hard -"@walmart/allspark-foundation-hub@npm:1.2.6": - version: 1.2.6 - resolution: "@walmart/allspark-foundation-hub@npm:1.2.6" +"@walmart/allspark-foundation-hub@npm:1.2.10": + version: 1.2.10 + resolution: "@walmart/allspark-foundation-hub@npm:1.2.10" dependencies: "@reduxjs/toolkit": "npm:^1.9.7" lodash: "npm:~4.17.21" @@ -5982,7 +5982,7 @@ __metadata: react: "*" react-native: "*" react-native-safe-area-context: 4.x - checksum: 10c0/1130ff399616b4def3e2758c4d43487dce0efb389252c46817f0c5d831c5fa46213cfb8fffec7768898f567f9e0f6c9305a79f3bc2b48362f6403a0a93f05c89 + checksum: 10c0/da9fefc7fb95bdc2c2e94f3df5bfb4fc668a29b4a5965b9d782bf1f77fe328bb6e974be904f1645a49c9c6625d300d52c8bc2a596779356c85195ffb0c5c1d63 languageName: node linkType: hard @@ -7315,7 +7315,7 @@ __metadata: "@walmart/allspark-authentication": "npm:~6.4.1" "@walmart/allspark-cope-key-listener": "npm:0.0.18" "@walmart/allspark-foundation": "npm:6.27.4" - "@walmart/allspark-foundation-hub": "npm:1.2.6" + "@walmart/allspark-foundation-hub": "npm:1.2.10" "@walmart/allspark-graphql-client": "npm:~6.3.28" "@walmart/allspark-http-client": "npm:~6.3.28" "@walmart/allspark-neon-core": "npm:0.1.31"
fix(ui): Update manager experience hub version for work hub regeression
fix(ui): Update manager experience hub version for work hub regeression
576ba2fd459f35257af495fba7b5e82ba1371b74
--- graphql.yml @@ -42,7 +42,7 @@ applications: tags: - "v1" - name: "GetTeamsByStore" - hash: "0d9bcce8cdce8831861e22bd66c43d0891aef2304b2bab61e449c5570aa564d2" + hash: "e500ff0792181beb5a6281effd5b5324834295856eaaa4c2af8336f6643a0a44" queryTemplate: "packages/me-at-walmart-athena-queries/src/getTeamsbyStore.graphql" tags: - "v1" @@ -89,7 +89,7 @@ applications: tags: - "v1" # - name: "GetTeamsByStore" - # hash: "0d9bcce8cdce8831861e22bd66c43d0891aef2304b2bab61e449c5570aa564d2" + # hash: "e500ff0792181beb5a6281effd5b5324834295856eaaa4c2af8336f6643a0a44" # queryTemplate: "packages/me-at-walmart-athena-queries/src/getTeamsbyStore.graphql" # tags: # - "v1" --- packages/me-at-walmart-athena-queries/src/getTeamsbyStore.graphql @@ -1,9 +1,4 @@ -query GetTeamsByStore( - $countryCode: String! - $date: Date! - $includeManagement: Boolean - $storeNbr: String! -) { +query GetTeamsByStore($countryCode: String!, $date: Date!, $includeManagement: Boolean, $storeNbr: String!) { getTeamsByStore( countryCode: $countryCode includeManagement: $includeManagement @@ -21,4 +16,4 @@ query GetTeamsByStore( workgroup workgroupId } -} +} \ No newline at end of file --- packages/me-at-walmart-athena-queries/src/getTeamsbyStore.ts @@ -7,6 +7,7 @@ const defaultOptions = {} as const; export type GetTeamsByStoreQueryVariables = Types.Exact<{ countryCode: Types.Scalars['String']; date: Types.Scalars['Date']; + includeManagement?: Types.InputMaybe<Types.Scalars['Boolean']>; storeNbr: Types.Scalars['String']; }>; @@ -31,9 +32,14 @@ export const GetTeamsByStoreDocument = gql` query GetTeamsByStore( $countryCode: String! $date: Date! + $includeManagement: Boolean $storeNbr: String! ) { - getTeamsByStore(countryCode: $countryCode, storeNbr: $storeNbr) { + getTeamsByStore( + countryCode: $countryCode + includeManagement: $includeManagement + storeNbr: $storeNbr + ) { __typename members mewAbsentCount(date: $date) @@ -63,6 +69,7 @@ export const GetTeamsByStoreDocument = gql` * variables: { * countryCode: // value for 'countryCode' * date: // value for 'date' + * includeManagement: // value for 'includeManagement' * storeNbr: // value for 'storeNbr' * }, * }); --- packages/me-at-walmart-athena-queries/src/schema.graphql @@ -3092,7 +3092,7 @@ type InstructorLedTraining { """End time of the Training.""" endTime: String! - enrollmentStatus: String! + enrollmentStatus: String! @deprecated(reason: "This field is replaced by primaryStatus, so use primaryStatus field") """Instructor led training course id""" id: ID! @@ -3111,6 +3111,8 @@ type InstructorLedTraining { """ participantId: Int! postalCode: String! + primaryStatus: String! + secondaryStatus: String """Start date of the Training""" startDate: String! @@ -4244,6 +4246,7 @@ type Location { } type LocationMDMContact { + faxNumber: String name: LocationMDMContactName phone: [LocationMDMContactPhone] type: String --- packages/me-at-walmart-athena-queries/src/schema.types.ts @@ -2682,6 +2682,7 @@ export type InstructorLedTraining = { endDate: Scalars['String']; /** End time of the Training. */ endTime: Scalars['String']; + /** @deprecated This field is replaced by primaryStatus, so use primaryStatus field */ enrollmentStatus: Scalars['String']; /** Instructor led training course id */ id: Scalars['ID']; @@ -2694,6 +2695,8 @@ export type InstructorLedTraining = { /** Participat id is uniue id for the associate and the corrosponding ILT class */ participantId: Scalars['Int']; postalCode: Scalars['String']; + primaryStatus: Scalars['String']; + secondaryStatus?: Maybe<Scalars['String']>; /** Start date of the Training */ startDate: Scalars['String']; /** Start time of the Training. */ @@ -3631,6 +3634,7 @@ export type Location = { export type LocationMdmContact = { __typename?: 'LocationMDMContact'; + faxNumber?: Maybe<Scalars['String']>; name?: Maybe<LocationMdmContactName>; phone?: Maybe<Array<Maybe<LocationMdmContactPhone>>>; type?: Maybe<Scalars['String']>; --- packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.ts @@ -22,9 +22,9 @@ export type UpsertManagerExperiencePreferenceMutation = { __typename: 'ManagerExperiencePreferences'; myTeams?: Array<{ __typename: 'Team'; - teamId?: string | null; - site?: string | null; countryCode?: string | null; + site?: string | null; + teamId?: string | null; } | null> | null; } | null; } | null; @@ -57,9 +57,9 @@ export const UpsertManagerExperiencePreferenceDocument = gql` __typename myTeams(businessUnitNumber: $site) { __typename - teamId - site countryCode + site + teamId } } }
Update the graphql to includeManagement
Update the graphql to includeManagement
fc757b4efbfe939345511b48799da24a633fc182
--- targets/US/package.json @@ -110,7 +110,7 @@ "@walmart/ims-print-services-ui": "2.15.3", "@walmart/inbox-mini-app": "0.96.6", "@walmart/iteminfo-mini-app": "7.16.2", - "@walmart/learning-mini-app": "20.0.36", + "@walmart/learning-mini-app": "20.0.37", "@walmart/manager-approvals-miniapp": "0.3.0", "@walmart/me-at-walmart-athena-queries": "6.24.0", "@walmart/me-at-walmart-common": "workspace:^", --- yarn.lock @@ -6578,9 +6578,9 @@ __metadata: languageName: node linkType: hard -"@walmart/learning-mini-app@npm:20.0.36": - version: 20.0.36 - resolution: "@walmart/learning-mini-app@npm:20.0.36" +"@walmart/learning-mini-app@npm:20.0.37": + version: 20.0.37 + resolution: "@walmart/learning-mini-app@npm:20.0.37" peerDependencies: "@atmt/feedback-component-native": ^8.0.0 "@react-native-firebase/analytics": 17.4.2 @@ -6654,7 +6654,7 @@ __metadata: reduxsauce: ^1.2.0 reselect: ^4.0.0 wifi-store-locator: ^1.0.0-alpha2 - checksum: 10c0/706b6ff258a4b7638224134633b5d3252408af422d44ff3a1b66be45e093cce98b249f173fec9cc39dd0e81315a76aab647ae277db28efd9437ccdf2630e3ddd + checksum: 10c0/14553dc2a5af8270d408064dd70955ceccfe9abaef590fcd90bc4627b241714d035922665b02d1ade1367ff2050cf39c7fe86d412d49462478fb2333d6eb18f5 languageName: node linkType: hard @@ -7017,7 +7017,7 @@ __metadata: "@walmart/ims-print-services-ui": "npm:2.15.3" "@walmart/inbox-mini-app": "npm:0.96.6" "@walmart/iteminfo-mini-app": "npm:7.16.2" - "@walmart/learning-mini-app": "npm:20.0.36" + "@walmart/learning-mini-app": "npm:20.0.37" "@walmart/manager-approvals-miniapp": "npm:0.3.0" "@walmart/me-at-walmart-athena-queries": "npm:6.24.0" "@walmart/me-at-walmart-common": "workspace:^"
feat: :sparkles: Bump learning mini app version to 20.0.37
feat: :sparkles: Bump learning mini app version to 20.0.37
5faa010d7da24cd820a618202c67586d3a52d4d0
--- package-lock.json @@ -3268,9 +3268,9 @@ } }, "@walmart/allspark-home-mini-app": { - "version": "0.5.5", - "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.5.5.tgz", - "integrity": "sha512-n6oO9a8wQGL2+FD0mAJQyFkw8Kb9LIjj9dFuNCKeC3dMdoYW10JrmgbYRh2CxCIGQD0UleyfbgINrlkudEshKg==", + "version": "0.5.6", + "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.5.6.tgz", + "integrity": "sha512-KxvuNwFcpTE/Zc+N+m1M+GSyDkagPszo5/uSXFhJMHxUB7cgkJCFIjtFLacPTmueMB/YwMfW8PJt3gEKl/ra0A==", "requires": { "moment": "^2.29.0", "uuid": "^8.3.1" @@ -3284,9 +3284,9 @@ } }, "@walmart/allspark-me-mini-app": { - "version": "0.2.4", - "resolved": "https://npme.walmart.com/@walmart/allspark-me-mini-app/-/allspark-me-mini-app-0.2.4.tgz", - "integrity": "sha512-HDGlAwLBO4DX7MNVi9VCq58UgSJ6fu/J3SC7wP5AJ8pJCoO2y09QRj0GPH7pu/O+DCycds6iwKgOzgx1umfmug==", + "version": "0.2.5", + "resolved": "https://npme.walmart.com/@walmart/allspark-me-mini-app/-/allspark-me-mini-app-0.2.5.tgz", + "integrity": "sha512-hcLD0Z9IJi4ITEQgs5MQBTKV/k6LeRlWuiNQUcAg0HCrtBiyeeSh1Di67AiKaibVuz1pTCFC91LCscoPN2ukSQ==", "requires": { "reselect": "^4.0.0" } --- package.json @@ -71,8 +71,8 @@ "@sharcoux/slider": "^5.2.1", "@terrylinla/react-native-sketch-canvas": "^0.8.0", "@walmart/allspark-health-survey-mini-app": "0.0.43", - "@walmart/allspark-home-mini-app": "0.5.5", - "@walmart/allspark-me-mini-app": "0.2.4", + "@walmart/allspark-home-mini-app": "0.5.6", + "@walmart/allspark-me-mini-app": "0.2.5", "@walmart/ask-sam-mini-app": "0.30.29", "@walmart/config-components": "^1.0.33", "@walmart/counts-component-miniapp": "0.0.22",
Updating home and me mini apps
Updating home and me mini apps
cde051583f3f71dd0923ae91a5fb3c861f63d1c1
--- .looper.multibranch.yml @@ -78,7 +78,7 @@ envs: APPCENTER_API_KEY_iOS: "%{credentials.secret('appcenter_iOS')}" APPCENTER_API_KEY_ANDROID: "%{credentials.secret('appcenter_android')}" APPCENTER_DISTRIBUTE_DESTINATIONS: '*' - APPCENTER_DISTRIBUTION_GROUP_URL_SEGMENT: "AllSpark Testers" + APPCENTER_DISTRIBUTION_GROUP_URL_SEGMENT: "allsparktesters" APPCENTER_OUT: "./ios/BuildSupport/appcenter_out.json" APPCENTER_OWNER_TYPE: 'organization' APPCENTER_OWNER_NAME: 'AllSpark-Me-Walmart'
correcting public app center testers group
correcting public app center testers group
0543f0683cd67c57a0c815875529c67f516b3feb
--- core/__tests__/__mocks__/@walmart/allspark-foundation/Translation.js @@ -1,14 +1,15 @@ module.exports = { - ...jest.requireActual('@walmart/allspark-foundation/Translation'), - AllsparkTranslationClient: { - t: jest.fn((key) => key), - language: 'language', - on: jest.fn(), - getLocaleConfig: jest.fn(), - initialize: jest.fn(), - select: jest.fn(), - getSupportedLanguages: jest.fn(), - changeLanguage: jest.fn(), - getDeviceLanguage: jest.fn(), - }, -} \ No newline at end of file + ...jest.requireActual('@walmart/allspark-foundation/Translation'), + AllsparkTranslationClient: { + t: jest.fn((key) => key), + language: 'language', + on: jest.fn(), + getLocaleConfig: jest.fn(), + initialize: jest.fn(), + select: jest.fn(), + getSupportedLanguages: jest.fn(), + changeLanguage: jest.fn(), + getDeviceLanguage: jest.fn(), + addResourceBundle: jest.fn(), + }, +}; --- core/__tests__/guestExplore/indexTest.ts @@ -0,0 +1,35 @@ +import {GuestExploreFeature} from '../../src/guestExplore'; +import {AllsparkTranslationClient} from '@walmart/allspark-foundation/Translation'; + +describe('GuestExploreFeature', () => { + it('should have the correct name', () => { + expect(GuestExploreFeature.name).toEqual('GuestExploreScreen'); + }); + + it('should have the correct options for welcomeMe.GuestHome', () => { + const screen = GuestExploreFeature._screens['welcomeMe.GuestHome']; + expect(screen.options.headerShown).toEqual(false); + expect(screen.options.gestureEnabled).toEqual(true); + }); + + it('should have the correct options for welcomeMe.CandidateExplore', () => { + const screen = GuestExploreFeature._screens['welcomeMe.CandidateExplore']; + expect(screen.options.headerShown).toEqual(true); + expect(screen.options.gestureEnabled).toEqual(true); + }); + + it('should have the correct options for welcomeMe.InAppWebView', () => { + const screen = GuestExploreFeature._screens['welcomeMe.InAppWebView']; + expect(screen.options.headerShown).toEqual(true); + expect(screen.options.gestureEnabled).toEqual(true); + }); + + it('should add resource bundles on connect', () => { + const addResourceBundleMock = jest.spyOn( + AllsparkTranslationClient, + 'addResourceBundle', + ); + GuestExploreFeature._listeners.feature.onConnect(); + expect(addResourceBundleMock).toHaveBeenCalled(); + }); +}); --- core/__tests__/navigation/__snapshots__/RootStackTest.tsx.snap @@ -133,6 +133,39 @@ exports[`RootNav matches snapshot when app accessible 1`] = ` } } /> + <Screen + component={[Function]} + name="welcomeMe.GuestHome" + options={ + { + "animationTypeForReplace": "push", + "gestureEnabled": true, + "headerShown": false, + } + } + /> + <Screen + component={[Function]} + name="welcomeMe.CandidateExplore" + options={ + { + "animationTypeForReplace": "push", + "gestureEnabled": true, + "headerShown": false, + } + } + /> + <Screen + component={[Function]} + name="welcomeMe.InAppWebView" + options={ + { + "animationTypeForReplace": "push", + "gestureEnabled": true, + "headerShown": false, + } + } + /> <Screen component={[Function]} name="Core.SideButtonStartup" --- core/src/auth/AuthenticatorView.tsx @@ -83,7 +83,7 @@ export const AuthenticatorView = ( }; const openGuestScreen = () => { - navigation.navigate('WelcomeMeMiniApp'); + navigation.navigate('welcomeMe.GuestHome'); }; const openLanguageModal = () => { --- core/src/guestExplore/index.ts @@ -0,0 +1,57 @@ +import {AllsparkFeatureModule} from '@walmart/allspark-foundation/Feature'; +import {AllsparkTranslationClient} from '@walmart/allspark-foundation/Translation'; +import {Header} from '@walmart/ui-components'; + +//Note: A new feature should be exported from welcome-me to replace this. +export const GuestExploreFeature = new AllsparkFeatureModule('guestExplore', { + name: 'GuestExploreScreen', + screens: { + 'welcomeMe.GuestHome': { + getComponent: () => + require('@walmart/welcomeme-mini-app/dist/screens/HomeScreen') + .HomeScreen, + options: { + headerShown: false, + gestureEnabled: true, + animationTypeForReplace: 'push', + }, + }, + 'welcomeMe.CandidateExplore': { + getComponent: () => + require('@walmart/welcomeme-mini-app/dist/screens/CandidateFlow/CandidateExplore') + .CandidateExplore, + options: { + header: Header, + headerShown: true, + gestureEnabled: true, + animationTypeForReplace: 'push', + }, + }, + 'welcomeMe.InAppWebView': { + getComponent: () => + require('@walmart/welcomeme-mini-app/dist/components/InAppWebView') + .InAppWebView, + options: { + header: Header, + headerShown: true, + gestureEnabled: true, + animationTypeForReplace: 'push', + }, + }, + }, + listeners: { + feature: { + onConnect: () => { + const exploreTranslations = + require('@walmart/welcomeme-mini-app/dist/translations').default; + Object.keys(exploreTranslations).forEach((language) => { + AllsparkTranslationClient.addResourceBundle( + language, + 'welcomeme-mini-app', + exploreTranslations[language], + ); + }); + }, + }, + }, +}); --- core/src/manifest.ts @@ -27,6 +27,7 @@ export const getRootFeatures = (): AllsparkFeatureModule[] => { require('./core').CommonFeatures, require('./startup').StartupFeature, require('@walmart/ui-components').default, + require('./guestExplore').GuestExploreFeature, ]; // Me@Walmart US Only Root Features --- core/src/navigation/index.tsx @@ -2,7 +2,6 @@ import React from 'react'; import {StyleSheet} from 'react-native'; import {useSelector} from 'react-redux'; import {TransitionPresets, createStackNavigator} from '@react-navigation/stack'; - import {ActiveAllsparkContainer} from '@walmart/allspark-foundation/Container'; import {AllsparkEnvironment} from '@walmart/allspark-foundation/Environment'; import { @@ -10,7 +9,6 @@ import { RootComponentContainer, } from '@walmart/me-at-walmart-common'; import {ErrorMessage} from '@walmart/gtp-shared-components'; - import {AppBlockingScreen} from '../appBlock/AppBlockingScreen'; import {getIsAppAccessible} from '../appBlock/redux'; import {LoginFeature} from '../auth'; @@ -21,10 +19,10 @@ import {PinScreenFeature} from '../PinAccess'; import SideKeyFeature from '../sideKey'; import {TermsOfUseFeature} from '../termsOfUse'; import {getRootFeatures} from '../manifest'; - import {darkenStatusBar, hideSplashScreen} from './constants'; import {RootStackMap} from './types'; import USHallway from './USHallway'; +import {GuestExploreFeature} from '../guestExplore'; const styles = StyleSheet.create({ error: { @@ -86,6 +84,10 @@ export const CoreNavigation = () => { }, )} + {GuestExploreFeature.buildAllScreens({ + Navigator: RootStack as any, + })} + {SideKeyFeature.buildScreens( ['Core.SideButtonStartup', 'Core.SideButtonStartupSettings'], {Navigator: RootStack as any},
Fixed guest explore navigation
Fixed guest explore navigation
26f7b997802d7cb9697771327a0239c541ca89a4
--- .looper.multibranch.yml @@ -367,7 +367,7 @@ flows: - (set version code) bundle exec fastlane set_ios build_number:${BUILD_NUMBER} - call: ios-process else: - - (set version code) bundle exec fastlane set_android build_number:${BUILD_NUMBER} + - (set version code) bundle exec fastlane set_android version_code:${BUILD_NUMBER} - call: android-process - echo "uploading build" - call: upload-build(version = "${version}-${env}-SNAPSHOT", artifactId = "allspark-core-${os}-${env}", buildOutput = ${buildOutput}, sourceMap = ${sourceMap})
adding version code for android fastlane
adding version code for android fastlane
9039f57516cfedf2b10eacadf58258539a6d2e1a
--- src/myteam-hub/components/MyTeamAssociateExpHub.tsx @@ -13,6 +13,7 @@ * - MyTeam-specific container ID for widget management * - Error handling and fallback states * - Telemetry integration for user experience tracking + * - Hub configuration without prop drilling */ import React from 'react'; @@ -25,6 +26,8 @@ import {useUserCanSeeHubV2} from '@walmart/allspark-foundation-hub'; export interface MyTeamAssociateExpHubProps { /** Container ID for widget management (optional) */ containerId?: string; + /** CCM Namespace for configuration (optional) */ + ccmNamespace?: string; /** Enable widget management features (default: true) */ enableWidgetManagement?: boolean; /** Custom container styles */ @@ -40,13 +43,19 @@ export interface MyTeamAssociateExpHubProps { * automatically adapting to user type (hourly vs salaried) and site type (DC vs Store). * It provides a seamless integration of hub functionality into the MyTeam experience. * + * The hub configuration is passed directly through props to the AllsparkSharedComponents, + * avoiding prop drilling while maintaining flexibility and type safety. + * * @key_features * - **Enhanced User Type Detection**: Automatically detects and adapts to multiple user types * - **Site Awareness**: Handles both Distribution Center and Store site types * - **Widget Management**: Provides drag-drop widget management capabilities * - **Telemetry**: Tracks user interactions and hub usage patterns * - **Error Handling**: Graceful fallbacks for configuration or loading issues + * - **Direct Configuration**: Passes configuration directly through props * + * @param containerId - Container ID for widget management + * @param ccmNamespace - CCM namespace for configuration (defaults to 'associate-exp-hub') * @param enableWidgetManagement - Whether to enable drag-drop widget management * @param style - Custom styles for the hub container * @param hubProps - Additional props to pass to the underlying hub @@ -54,6 +63,7 @@ export interface MyTeamAssociateExpHubProps { */ export const MyTeamAssociateExpHub: React.FC<MyTeamAssociateExpHubProps> = ({ containerId = 'MyTeam.AssociateExpHub', + ccmNamespace = 'associate-exp-hub', enableWidgetManagement = false, style, hubProps: hubProps = {}, @@ -68,18 +78,21 @@ export const MyTeamAssociateExpHub: React.FC<MyTeamAssociateExpHubProps> = ({ myTeamTelemetry.logEvent('myteam_hub_rendered', { user_type: userType, site_type: isSiteDC ? 'DC' : 'Store', - widget_management_enabled: String(enableWidgetManagement), container_id: containerId, + ccm_namespace: ccmNamespace, }); - }, [userType, isSiteDC, enableWidgetManagement, containerId]); + }, [userType, isSiteDC, enableWidgetManagement, containerId, ccmNamespace]); return ( <View style={[styles.container, style]}> <AllsparkSharedComponents.Component id='AssociateExpHub.UserTypeAwareHub' props={{ - containerId, - enableWidgetManagement, + hubConfig: { + enableWidgetManagement, + containerId, + ccmNamespace, + }, hubFactoryProps: { ...hubProps, telemetrySource: 'MyTeam', --- src/myteam-hub/components/MyTeamUserTypeHub.tsx @@ -35,10 +35,12 @@ export const MyTeamUserTypeHub: React.FC = () => { return userCanSeeHub ? ( <MyTeamAssociateExpHub containerId="MyTeam.SalariedHub" + ccmNamespace="associate-exp-hub" /> ) : ( <MyTeamAssociateExpHub containerId="MyTeam.HourlyHub" + ccmNamespace="associate-exp-hub" /> ); };
feat(ui): update associate exp hub layout config
feat(ui): update associate exp hub layout config
2dd0d5bd153d5b450428afbc229ab8d7fa735d3d
--- package.json @@ -86,7 +86,7 @@ "@walmart/ask-sam-mini-app": "1.28.21", "@walmart/associate-listening-mini-app": "1.2.14", "@walmart/attendance-mini-app": "3.155.0", - "@walmart/avp-feature-app": "0.16.5", + "@walmart/avp-feature-app": "0.16.8", "@walmart/avp-shared-library": "0.10.7", "@walmart/backroom-mini-app": "1.9.0", "@walmart/calling-mini-app": "0.7.34", --- yarn.lock @@ -6462,9 +6462,9 @@ __metadata: languageName: node linkType: hard -"@walmart/avp-feature-app@npm:0.16.5": - version: 0.16.5 - resolution: "@walmart/avp-feature-app@npm:0.16.5::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Favp-feature-app%2F-%2F%40walmart%2Favp-feature-app-0.16.5.tgz" +"@walmart/avp-feature-app@npm:0.16.8": + version: 0.16.8 + resolution: "@walmart/avp-feature-app@npm:0.16.8" peerDependencies: "@react-navigation/native": ">=6.0.8" "@react-navigation/stack": ">=6.1.1" @@ -6473,7 +6473,7 @@ __metadata: react-native: ">=0.72.10" react-redux: ">=8.0.4" redux: ">=4.2.1" - checksum: 10c0/22bc5126de4a026fe6c994ccbc2d12dc04adfdca994fb08f30246f97992d8a5c89b3d2dd29524b94d340f84fcb4a70f507da25a6d9b7a446ab9c7cfc6a195467 + checksum: 10c0/a31f3da37d74868237138b9df3a6a093f25151aa8f1d39260b7ac6b82e5ba910539e41a86078b149de46e29d6f0973dfbfdbfe1ff6f0ce2df4e73f263c496cda languageName: node linkType: hard @@ -7304,7 +7304,7 @@ __metadata: "@walmart/ask-sam-mini-app": "npm:1.28.21" "@walmart/associate-listening-mini-app": "npm:1.2.14" "@walmart/attendance-mini-app": "npm:3.155.0" - "@walmart/avp-feature-app": "npm:0.16.5" + "@walmart/avp-feature-app": "npm:0.16.8" "@walmart/avp-shared-library": "npm:0.10.7" "@walmart/backroom-mini-app": "npm:1.9.0" "@walmart/calling-mini-app": "npm:0.7.34"
feat(ui): OPIF-204722 TPB Drop 29 (#4084)
feat(ui): OPIF-204722 TPB Drop 29 (#4084) * bumped avp * bumped avp * bumped avp --------- Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com>
44391d2fc9827cb873f4cd9bc7fcaf5cfa738f24
--- src/core/Navigation.tsx @@ -29,7 +29,7 @@ const ContentPlaceholder = (name: string) => () => ( const MainTabs = createBottomTabNavigator(); const MainTabsNav = () => ( - <MainTabs.Navigator tabBar={TabBar}> + <MainTabs.Navigator tabBar={(props) => <TabBar {...props} />}> <MainTabs.Screen name='home' component={Home} --- src/core/TabBar.tsx @@ -1,5 +1,6 @@ import React from 'react'; import {View, TouchableOpacity, Text} from 'react-native'; +import {useSafeArea} from 'react-native-safe-area-context'; import type {ParamListBase, NavigationHelpers} from '@react-navigation/native'; import { BottomTabBarProps, @@ -112,11 +113,15 @@ export const TabBar: React.FC<BottomTabBarProps> = (props) => { }; const routesUpdated = [first, second, askSamRoute, ...rest]; + const {bottom} = useSafeArea(); + return ( - <View style={styles.tabBarContainer}> + <View style={[styles.tabBarContainer, {paddingBottom: bottom}]}> {routesUpdated.map( partial(renderTabButton, descriptors, index, navigation), )} </View> ); }; + +console.log('TabBar is', TabBar);
add bottom spacing on tab bar using safe area
add bottom spacing on tab bar using safe area
99ca086bf15c3e9392ac89514adba99f0217fd12
--- ios/BuildSupport/AppStore.keychain-db Binary files a/ios/BuildSupport/AppStore.keychain-db and b/ios/BuildSupport/AppStore.keychain-db differ --- ios/BuildSupport/Squiggly_AppStore_Provision.mobileprovision Binary files a/ios/BuildSupport/Squiggly_AppStore_Provision.mobileprovision and b/ios/BuildSupport/Squiggly_AppStore_Provision.mobileprovision differ
Revert keychain to main branch
Revert keychain to main branch
7648f2895ccf00e46b5167d449ab341a7fb99fbf
--- package.json @@ -147,8 +147,8 @@ "@types/seamless-immutable": "^7.1.16", "@types/semver": "^7.3.4", "@types/uuid": "^8.3.0", - "@walmart/allspark-foundation": "6.27.3", - "@walmart/allspark-foundation-hub": "1.2.5", + "@walmart/allspark-foundation": "6.27.4", + "@walmart/allspark-foundation-hub": "1.2.6", "@walmart/allspark-graphql-client": "~6.3.28", "@walmart/allspark-http-client": "~6.3.28", "@walmart/allspark-utils": "~6.5.0", --- packages/core-services-allspark/package.json @@ -19,9 +19,6 @@ "author": "", "license": "ISC", "devDependencies": { - "@walmart/allspark-foundation": "*", - "@walmart/me-at-walmart-common": "workspace:^", - "@walmart/me-at-walmart-container": "workspace:^", "typescript": "5.0.4" }, "peerDependencies": { --- packages/core-widget-registry/package.json @@ -19,7 +19,6 @@ "prepack": "npm run build" }, "devDependencies": { - "@walmart/me-at-walmart-common": "workspace:^", "typescript": "5.0.4" }, "peerDependencies": { --- packages/me-at-walmart-common/package.json @@ -20,7 +20,6 @@ "prepack": "npm run build" }, "devDependencies": { - "@walmart/allspark-foundation": "*", "typescript": "5.0.4" }, "peerDependencies": { --- packages/me-at-walmart-container/package.json @@ -24,7 +24,6 @@ "redux-flipper": "^2.0.2" }, "devDependencies": { - "@walmart/me-at-walmart-common": "workspace:^", "typescript": "5.0.4" }, "peerDependencies": { --- targets/US/package.json @@ -77,8 +77,8 @@ "@terrylinla/react-native-sketch-canvas": "patch:@terrylinla/react-native-sketch-canvas@npm%3A0.8.0#~/.yarn/patches/@terrylinla-react-native-sketch-canvas-npm-0.8.0-c7b2afd4cd.patch", "@walmart/allspark-authentication": "~6.4.1", "@walmart/allspark-cope-key-listener": "0.0.18", - "@walmart/allspark-foundation": "6.27.3", - "@walmart/allspark-foundation-hub": "1.2.5", + "@walmart/allspark-foundation": "6.27.4", + "@walmart/allspark-foundation-hub": "1.2.6", "@walmart/allspark-graphql-client": "~6.3.28", "@walmart/allspark-http-client": "~6.3.28", "@walmart/allspark-neon-core": "0.1.31", --- yarn.lock @@ -5966,29 +5966,29 @@ __metadata: languageName: node linkType: hard -"@walmart/allspark-foundation-hub@npm:1.2.5": - version: 1.2.5 - resolution: "@walmart/allspark-foundation-hub@npm:1.2.5" +"@walmart/allspark-foundation-hub@npm:1.2.6": + version: 1.2.6 + resolution: "@walmart/allspark-foundation-hub@npm:1.2.6" dependencies: "@reduxjs/toolkit": "npm:^1.9.7" lodash: "npm:~4.17.21" react-redux: "npm:^8.1.3" peerDependencies: "@react-navigation/native": 6.x - "@walmart/allspark-foundation": "workspace:^" - "@walmart/allspark-utils": "workspace:^" + "@walmart/allspark-foundation": ">=6.27" + "@walmart/allspark-utils": ">=6.5" "@walmart/gtp-shared-components": ">=2" - "@walmart/me-at-walmart-athena-queries": "workspace:^" + "@walmart/me-at-walmart-athena-queries": ">=6.30" react: "*" react-native: "*" react-native-safe-area-context: 4.x - checksum: 10c0/8d1bcb0270dbdfdd26c06a85640c0cea60da533f36ec7e8e8e258e0d35ffb1cb35509af22ae46f4e8406391deaaf23c7136d81b74e41b406140fb6e5b5f4d3bf + checksum: 10c0/1130ff399616b4def3e2758c4d43487dce0efb389252c46817f0c5d831c5fa46213cfb8fffec7768898f567f9e0f6c9305a79f3bc2b48362f6403a0a93f05c89 languageName: node linkType: hard -"@walmart/allspark-foundation@npm:6.27.3": - version: 6.27.3 - resolution: "@walmart/allspark-foundation@npm:6.27.3" +"@walmart/allspark-foundation@npm:6.27.4": + version: 6.27.4 + resolution: "@walmart/allspark-foundation@npm:6.27.4" dependencies: "@apollo/client": "npm:^3.8.6" "@graphql-codegen/cli": "npm:^5.0.0" @@ -6024,20 +6024,20 @@ __metadata: "@react-navigation/drawer": 6.x "@react-navigation/native": 6.x "@react-navigation/stack": 6.x - "@walmart/allspark-graphql-client": "workspace:^" - "@walmart/allspark-http-client": "workspace:^" - "@walmart/core-services": "workspace:^" - "@walmart/core-utils": "workspace:^" - "@walmart/functional-components": "workspace:^" + "@walmart/allspark-graphql-client": ">=6.3" + "@walmart/allspark-http-client": ">=6.3" + "@walmart/core-services": ">=6.5" + "@walmart/core-utils": ">=6.3" + "@walmart/functional-components": ">=6.3" "@walmart/gtp-shared-components": ">=2" - "@walmart/react-native-env": "workspace:^" + "@walmart/react-native-env": ">=6.3" "@walmart/react-native-scanner-3.0": ">=0.6.3" - "@walmart/react-native-shared-navigation": "workspace:^" + "@walmart/react-native-shared-navigation": ">=6.3" "@walmart/react-native-sumo-sdk": ^2.7.0 - "@walmart/react-native-wm-network": "workspace:^" - "@walmart/react-native-wm-notification": "workspace:^" - "@walmart/react-native-wm-telemetry": "workspace:^" - "@walmart/redux-store": "workspace:^" + "@walmart/react-native-wm-network": ">=6.3" + "@walmart/react-native-wm-notification": ">=6.3" + "@walmart/react-native-wm-telemetry": ">=6.3" + "@walmart/redux-store": ">=6.3" react: "*" react-native: "*" react-native-apollo-devtools-client: "*" @@ -6080,7 +6080,7 @@ __metadata: allspark-generate-graphql: cli/generate.js allspark-link: cli/link.js allspark-setup: cli/setup.js - checksum: 10c0/40be45baf350ae569c459a46a3ecbbcf157eeb7ec15e7815d9865a339bae015251b0cf9971c993c1beb23d728929ab34c0b48549db1ead100ed6892bbbc54652 + checksum: 10c0/547a12bf03b7c3cf12ecd58ee0c8cbc42d36652566142dfba4c35dd54a2026b45d8e8aceaaa80fa07899991594329e3f8649ff83588b07cdf0a099fe5d691e84 languageName: node linkType: hard @@ -6545,9 +6545,6 @@ __metadata: version: 0.0.0-use.local resolution: "@walmart/core-services-allspark@workspace:packages/core-services-allspark" dependencies: - "@walmart/allspark-foundation": "npm:*" - "@walmart/me-at-walmart-common": "workspace:^" - "@walmart/me-at-walmart-container": "workspace:^" typescript: "npm:5.0.4" peerDependencies: "@walmart/allspark-foundation": "*" @@ -6580,7 +6577,6 @@ __metadata: version: 0.0.0-use.local resolution: "@walmart/core-widget-registry@workspace:packages/core-widget-registry" dependencies: - "@walmart/me-at-walmart-common": "workspace:^" typescript: "npm:5.0.4" peerDependencies: "@walmart/me-at-walmart-common": "*" @@ -7003,7 +6999,6 @@ __metadata: version: 0.0.0-use.local resolution: "@walmart/me-at-walmart-common@workspace:packages/me-at-walmart-common" dependencies: - "@walmart/allspark-foundation": "npm:*" typescript: "npm:5.0.4" peerDependencies: "@reduxjs/toolkit": "*" @@ -7016,7 +7011,6 @@ __metadata: version: 0.0.0-use.local resolution: "@walmart/me-at-walmart-container@workspace:packages/me-at-walmart-container" dependencies: - "@walmart/me-at-walmart-common": "workspace:^" jwt-decode: "npm:^3.1.2" nanoid: "npm:4.0.2" redux-flipper: "npm:^2.0.2" @@ -7280,8 +7274,8 @@ __metadata: "@types/uuid": "npm:^8.3.0" "@walmart/allspark-authentication": "npm:~6.4.1" "@walmart/allspark-cope-key-listener": "npm:0.0.18" - "@walmart/allspark-foundation": "npm:6.27.3" - "@walmart/allspark-foundation-hub": "npm:1.2.5" + "@walmart/allspark-foundation": "npm:6.27.4" + "@walmart/allspark-foundation-hub": "npm:1.2.6" "@walmart/allspark-graphql-client": "npm:~6.3.28" "@walmart/allspark-http-client": "npm:~6.3.28" "@walmart/allspark-neon-core": "npm:0.1.31"
chore: bump foundation for peer dependency fix. remove uneeded local package dev dependencies
chore: bump foundation for peer dependency fix. remove uneeded local package dev dependencies
b58754d653e9fcf4ce380a8271ee55283d654202
--- ios/Podfile.lock @@ -2044,4 +2044,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 5e9af5bffc9ed6ee9db34b0f1573f68bd919bf97 -COCOAPODS: 1.12.0 +COCOAPODS: 1.12.1 --- package-lock.json @@ -63,7 +63,7 @@ "@walmart/iteminfo-mini-app": "7.4.0", "@walmart/manager-approvals-miniapp": "0.2.4", "@walmart/me-field-mini-app": "13.0.3", - "@walmart/metrics-mini-app": "0.15.3", + "@walmart/metrics-mini-app": "0.15.5", "@walmart/mod-flex-mini-app": "1.10.4", "@walmart/moment-walmart": "1.0.4", "@walmart/onewalmart-miniapp": "1.0.16", @@ -7622,9 +7622,9 @@ } }, "node_modules/@walmart/metrics-mini-app": { - "version": "0.15.3", - "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.15.3.tgz", - "integrity": "sha512-tUdGjAg9xoVFTSoYcytToHaOAJ6n1qRQJ/AkX3fokLCy8Ng9fM8TVMxwrXWKWYH9n+cfae+CUszy8YLpU28rxw==", + "version": "0.15.5", + "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.15.5.tgz", + "integrity": "sha512-uIU7pYVk0wW1Sj6SBvS0NAMqukJab39aHgavTA+er6A0w8QuhGt5NEmQjBZyuRXNZYMXiHiB4+WwXXxpNJzrag==", "dependencies": { "@types/base-64": "^1.0.0", "apisauce": "1.1.2", @@ -7642,6 +7642,7 @@ "lodash": ">=4.17.21", "react": "18.1.0", "react-native": "0.70.9", + "react-native-fast-image": ">=8.6.3", "react-native-get-random-values": ">=1.8.0", "react-native-linear-gradient": ">=2.6.2", "react-redux": ">=8.0.4", @@ -30575,9 +30576,9 @@ "integrity": "sha512-JvV5AUWQ51uTUyD3LNk0UD8W5nQjUTRnMdJMvh2x3OHmKAhqTGctHoKjcpBzrtZlBie6e6Az3CUWtPrcA2TZwA==" }, "@walmart/metrics-mini-app": { - "version": "0.15.3", - "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.15.3.tgz", - "integrity": "sha512-tUdGjAg9xoVFTSoYcytToHaOAJ6n1qRQJ/AkX3fokLCy8Ng9fM8TVMxwrXWKWYH9n+cfae+CUszy8YLpU28rxw==", + "version": "0.15.5", + "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.15.5.tgz", + "integrity": "sha512-uIU7pYVk0wW1Sj6SBvS0NAMqukJab39aHgavTA+er6A0w8QuhGt5NEmQjBZyuRXNZYMXiHiB4+WwXXxpNJzrag==", "requires": { "@types/base-64": "^1.0.0", "apisauce": "1.1.2",
did pod install for metrics 0.15.5 ext imgs
did pod install for metrics 0.15.5 ext imgs
564cc8112f3f88f5d9720857fb7a71b1364b3613
--- jest.config.js @@ -5,10 +5,10 @@ module.exports = { collectCoverageFrom: ['<rootDir>/src/**/*.{js,jsx,ts,tsx}'], coverageThreshold: { global: { - statements: 16.44, - branches: 7.4, - functions: 6.69, - lines: 17.24, + statements: 24.3, + branches: 7.8, + functions: 9.68, + lines: 25, }, }, transformIgnorePatterns: [ --- jest.config.js @@ -5,10 +5,10 @@ module.exports = { collectCoverageFrom: ['<rootDir>/src/**/*.{js,jsx,ts,tsx}'], coverageThreshold: { global: { - statements: 16.44, - branches: 7.4, - functions: 6.69, - lines: 17.24, + statements: 24.3, + branches: 7.8, + functions: 9.68, + lines: 25, }, }, transformIgnorePatterns: [
updating coverage numbers
updating coverage numbers
61f31892259ce1678549bcb09a0c0556198c4f50
--- packages/allspark-utils/__tests__/cloneObjectTest.ts @@ -1,7 +1,7 @@ import { cloneObject } from '../src/cloneObject'; -describe('getCorrelationId', () => { - it('get correct correlation id', () => { +describe('cloneObject', () => { + it('cloneObject', () => { const object = { countryCode: 'US', siteId: '100', --- packages/allspark-utils/src/cloneObject.ts @@ -1,8 +1,8 @@ /** - * Creates a deep copy of an object. + * Creates a shallow copy of an object. * * @param instance - The object to clone. - * @returns A deep copy of the input object. + * @returns A shallow copy of the input object. * * @example * const clone = cloneObject(obj); --- packages/me-at-walmart-common/__tests__/allspark-foundation.test.js @@ -1,5 +0,0 @@ -describe('allspark-redux-store', () => { - it('works', () => { - expect(true).toEqual(true); - }); -}); --- packages/me-at-walmart-common/__tests__/redux/actionsTest.ts @@ -0,0 +1,26 @@ +import { + MeAtWalmartAuthActions, + MeAtWalmartConfigActions, + MeAtWalmartNotificationActions, +} from '../../src/redux/actions'; + +describe('MeAtWalmartAuthActions', () => { + it('should create appropriate action', () => { + expect(MeAtWalmartAuthActions.SIGN_OUT_REQUEST('Network Error')).toEqual({ + payload: 'Network Error', + type: 'auth/SIGN_OUT_REQUEST', + }); + expect(MeAtWalmartConfigActions.REFETCH_CONFIG()).toEqual({ + payload: undefined, + type: 'config/REFETCH_CONFIG_FOR_USER', + }); + expect(MeAtWalmartNotificationActions.LEGACY_OPT_IN_ACTION(true)).toEqual({ + payload: true, + type: 'core/sumo/OPT_IN_REQUEST', + }); + expect(MeAtWalmartNotificationActions.SET_ENABLED(false)).toEqual({ + payload: false, + type: 'notification/SET_ENABLED', + }); + }); +});
chore: rename test
chore: rename test
47bc5dc3b6aa2a34602f242a54adc4fd81127548
--- package-lock.json @@ -39,7 +39,7 @@ "@walmart/attendance-mini-app": "0.86.0", "@walmart/config-components": "4.1.0-rc.4", "@walmart/core-services": "~2.0.19", - "@walmart/core-services-allspark": "~2.10.7", + "@walmart/core-services-allspark": "~2.10.8", "@walmart/core-utils": "~2.0.5", "@walmart/core-widget-registry": "~1.2.2", "@walmart/counts-component-miniapp": "0.1.2", @@ -4946,7 +4946,9 @@ } }, "node_modules/@walmart/core-services-allspark": { - "version": "2.10.7", + "version": "2.10.8", + "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-2.10.8.tgz", + "integrity": "sha512-i98qkyvK8PBOa5ly5/pliSIwdgR3drANqvvd+G9VHvcuphYlmDKHaolwNCGdk3nYPKACjiZF3InsaUYMF77K2g==", "license": "ISC", "dependencies": { "@walmart/allspark-graphql-client": "^1.4.5", @@ -25057,7 +25059,9 @@ } }, "@walmart/core-services-allspark": { - "version": "2.10.7", + "version": "2.10.8", + "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-2.10.8.tgz", + "integrity": "sha512-i98qkyvK8PBOa5ly5/pliSIwdgR3drANqvvd+G9VHvcuphYlmDKHaolwNCGdk3nYPKACjiZF3InsaUYMF77K2g==", "requires": { "@walmart/allspark-graphql-client": "^1.4.5", "@walmart/allspark-http-client": "^2.4.13", --- package.json @@ -81,7 +81,7 @@ "@walmart/attendance-mini-app": "0.86.0", "@walmart/config-components": "4.1.0-rc.4", "@walmart/core-services": "~2.0.19", - "@walmart/core-services-allspark": "~2.10.7", + "@walmart/core-services-allspark": "~2.10.8", "@walmart/core-utils": "~2.0.5", "@walmart/core-widget-registry": "~1.2.2", "@walmart/counts-component-miniapp": "0.1.2",
fix: bumping core services package for graphql logging enhancements
fix: bumping core services package for graphql logging enhancements
facf4bbc15be2af86fbfcf2bc116d57efa38f20a
--- package-lock.json @@ -69,7 +69,7 @@ "@walmart/onewalmart-miniapp": "1.0.16", "@walmart/pay-stub-miniapp": "0.10.15", "@walmart/payrollsolution_miniapp": "0.131.15", - "@walmart/price-changes-mini-app": "1.10.0", + "@walmart/price-changes-mini-app": "1.10.1", "@walmart/profile-feature-app": "0.334.0", "@walmart/react-native-encrypted-storage": "1.1.3", "@walmart/react-native-env": "0.2.0", @@ -8852,9 +8852,9 @@ } }, "node_modules/@walmart/price-changes-mini-app": { - "version": "1.10.0", - "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.10.0.tgz", - "integrity": "sha512-aa290OEovEI4fisaXemakU/LySzAEOFuJetW/0BKKjTnl59vFXmfkmfn2FrQ/B+305UP9tA38zl2+vyq2jGn4A==", + "version": "1.10.1", + "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.10.1.tgz", + "integrity": "sha512-Jht/q+XDGe4mTqsjUQNNudNxeNF+N6/3dCJZ12IqIvL4ynY1sfOafLCCJ53VoEQwjlJUatSvS1toU5Yh/MYD+g==", "hasInstallScript": true, "peerDependencies": { "@react-navigation/native": "^6.0.0", @@ -33786,9 +33786,9 @@ } }, "@walmart/price-changes-mini-app": { - "version": "1.10.0", - "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.10.0.tgz", - "integrity": "sha512-aa290OEovEI4fisaXemakU/LySzAEOFuJetW/0BKKjTnl59vFXmfkmfn2FrQ/B+305UP9tA38zl2+vyq2jGn4A==" + "version": "1.10.1", + "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.10.1.tgz", + "integrity": "sha512-Jht/q+XDGe4mTqsjUQNNudNxeNF+N6/3dCJZ12IqIvL4ynY1sfOafLCCJ53VoEQwjlJUatSvS1toU5Yh/MYD+g==" }, "@walmart/profile-feature-app": { "version": "0.334.0", --- package.json @@ -110,7 +110,7 @@ "@walmart/onewalmart-miniapp": "1.0.16", "@walmart/pay-stub-miniapp": "0.10.15", "@walmart/payrollsolution_miniapp": "0.131.15", - "@walmart/price-changes-mini-app": "1.10.0", + "@walmart/price-changes-mini-app": "1.10.1", "@walmart/profile-feature-app": "0.334.0", "@walmart/react-native-encrypted-storage": "1.1.3", "@walmart/react-native-env": "0.2.0",
chore: Bump price changes mini app
chore: Bump price changes mini app
1e6da7d8b28fa0f8954235e306e5d9e17cd9abdd
--- __tests__/core/analyticsInitTest.ts @@ -1,4 +1,4 @@ -import {all, takeLatest, call} from 'redux-saga/effects'; +import {all, takeLatest, call, select} from 'redux-saga/effects'; jest.mock('@walmart/redux-store', () => ({ addSagas: jest.fn(), @@ -35,9 +35,10 @@ import { onUserChanged, onNetworkStateChanged, analyticsSagas, + getUserData, } from '../../src/core/analyticsInit'; -import type {User} from '@walmart/redux-store'; +import type {GlobalState, User} from '@walmart/redux-store'; import WmTelemetry from 'react-native-wm-telemetry'; import {WMNetworkReducerTypes} from 'react-native-wm-network'; import { @@ -63,8 +64,9 @@ describe('onUserChanged', () => { siteId: '123', }; - const iterator = onUserChanged({payload: user, type: ''}); - expect(iterator.next().value).toEqual( + const iterator = onUserChanged(); + expect(iterator.next().value).toEqual(select(getUserData)); + expect(iterator.next(user).value).toEqual( call(WmTelemetry.setUserId, user.userId), ); expect(iterator.next().value).toEqual( @@ -83,8 +85,15 @@ describe('onUserChanged', () => { it('handles user change with incomplete payload', () => { const user = {siteId: '123'}; - const iterator = onUserChanged({payload: user as User, type: ''}); - expect(iterator.next().done).toEqual(true); + const iterator = onUserChanged(); + expect(iterator.next().value).toEqual(select(getUserData)); + expect(iterator.next(user).done).toEqual(true); + }); + + it('handles user change with null user data', () => { + const iterator = onUserChanged(); + expect(iterator.next().value).toEqual(select(getUserData)); + expect(iterator.next(null).done).toEqual(true); }); }); @@ -163,3 +172,11 @@ describe('analyticsSagas', () => { expect(iterator.next().done).toEqual(true); }); }); + +describe('getUserData', () => { + it('returns expected result', () => { + const data = {userId: 'swalton3'}; + const userData = getUserData({user: {data}} as GlobalState); + expect(userData).toEqual(data); + }); +}); --- package-lock.json @@ -3107,9 +3107,9 @@ } }, "@walmart/ui-components": { - "version": "1.0.82", - "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.0.82.tgz", - "integrity": "sha512-kaBt5Gai2sMKbK0tDpipFCAbmuK9cUQKzsvwodaPd+ylIW4Xg6AGmj6Bc4VOz2rFlgdQmny8pxC9KhHDG659nQ==", + "version": "1.0.86", + "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.0.86.tgz", + "integrity": "sha512-AFTLsVHUg7wDRAiTXB9uesOfD35JQTZ/Re4gqJTkFiEpO5sq1HmzCFRJGHKn+in/nfe4mKY9VnACivUO1oG26Q==", "requires": { "react-native-calendars": "1.299.0" } --- package.json @@ -63,7 +63,7 @@ "@walmart/schedule-mini-app": "0.2.35", "@walmart/settings-mini-app": "1.1.8", "@walmart/time-clock-mini-app": "0.1.6", - "@walmart/ui-components": "^1.0.81", + "@walmart/ui-components": "^1.0.86", "i18next": "^19.7.0", "intl": "^1.2.5", "javascript-time-ago": "^2.3.3", --- src/core/analyticsInit.ts @@ -1,4 +1,4 @@ -import {all, takeLatest, call} from 'redux-saga/effects'; +import {all, takeLatest, call, select} from 'redux-saga/effects'; import type {AnyAction} from 'redux'; import { NetInfoStateType, @@ -6,21 +6,23 @@ import { NetInfoCellularState, } from '@react-native-community/netinfo'; import WmTelemetry from 'react-native-wm-telemetry'; -import {addSagas} from '@walmart/redux-store'; -import type {User} from '@walmart/redux-store'; +import {addSagas, GlobalState} from '@walmart/redux-store'; import {WMNetworkReducerTypes} from 'react-native-wm-network'; import {initWmConfig} from './wmConfigInit'; -export function* onUserChanged(action: {payload: User; type: string}) { - const {payload: userData} = action; +export const getUserData = (state: GlobalState) => state.user.data; - if (userData.userId && userData.siteId) { - yield call(WmTelemetry.setUserId, userData.userId); +export function* onUserChanged() { + const userData = yield select(getUserData); + const {userId, siteId} = userData || {}; + + if (userId && siteId) { + yield call(WmTelemetry.setUserId, userId); yield call(WmTelemetry.setUserProperties, { countryCode: userData.countryCode, division: userData.division, - regionNbr: userData.regionNumber + '', - site: userData.siteId + '', + regionNbr: String(userData.regionNumber), + site: String(siteId), employeeType: userData.employeeType, domain: userData.domain, });
Fix with config and analytics init. Increment ui-components (#244)
Fix with config and analytics init. Increment ui-components (#244) Co-authored-by: rlane1 <rlane1@walmart.com>
02a0f8984503c3c8bd5296c8fbdaa041d87d10cf
--- lerna.json @@ -1,5 +1,5 @@ { - "version": "5.0.0-beta.15", + "version": "5.0.0-beta.16", "npmClient": "npm", "changelogPreset": "angular", "command": { @@ -12,7 +12,10 @@ }, "version": { "message": "chore(version): updating package version", - "allowBranch": ["main", "develop"], + "allowBranch": [ + "main", + "develop" + ], "conventionalCommits": true, "conventionalPrerelease": true }
chore: enable develop to version packages. bump beta release
chore: enable develop to version packages. bump beta release
1d4df09ef51128972f57ba5a9838ae7388136f74
--- package.json @@ -136,7 +136,7 @@ "@walmart/react-native-store-map": "0.3.7", "@walmart/react-native-sumo-sdk": "2.7.0", "@walmart/react-native-webex-sdk": "0.2.11", - "@walmart/receipt-check-miniapp": "1.22.9", + "@walmart/receipt-check-miniapp": "1.22.11", "@walmart/redux-store": "6.1.4", "@walmart/returns-mini-app": "4.6.0", "@walmart/rfid-scan-mini-app": "2.3.16", --- yarn.lock @@ -6922,9 +6922,9 @@ __metadata: languageName: node linkType: hard -"@walmart/receipt-check-miniapp@npm:1.22.9": - version: 1.22.9 - resolution: "@walmart/receipt-check-miniapp@npm:1.22.9" +"@walmart/receipt-check-miniapp@npm:1.22.11": + version: 1.22.11 + resolution: "@walmart/receipt-check-miniapp@npm:1.22.11" dependencies: "@walmart/tcnumber": "npm:^2.3.3" "@xstate/react": "npm:^3.0.1" @@ -6939,7 +6939,7 @@ __metadata: react-native-device-info: ^10.3.0 react-redux: ^7.2.1 redux: ^4.1.2 - checksum: 10c0/f37c0de6909be549fec8668ae48dfe64050293e23fe4e6160a4a21071266041753b28f37dd0a12902e9057f8fa0ec12bdaf6da0bc6ccd6411468b8d829d5f909 + checksum: 10c0/b43ba9607f9a3991d6371565af5f5382c5e8134bfcf82fc3434ea49d31a584c5540b66ba5ea81a52588a33d48b1d2d1bac1349992bc94e9ff0fa23952a481aec languageName: node linkType: hard @@ -7851,7 +7851,7 @@ __metadata: "@walmart/react-native-store-map": "npm:0.3.7" "@walmart/react-native-sumo-sdk": "npm:2.7.0" "@walmart/react-native-webex-sdk": "npm:0.2.11" - "@walmart/receipt-check-miniapp": "npm:1.22.9" + "@walmart/receipt-check-miniapp": "npm:1.22.11" "@walmart/redux-store": "npm:6.1.4" "@walmart/returns-mini-app": "npm:4.6.0" "@walmart/rfid-scan-mini-app": "npm:2.3.16"
update
update
bdf0c5297a04ca1dab350f6d4ed761ed2bee1ec2
--- .looper-pr.yml @@ -32,4 +32,3 @@ envs: AUTHOR: temp SLACK_CHANNEL: 'smdv-miniapp' - --- package.json @@ -96,7 +96,7 @@ "@walmart/react-native-sumo-sdk": "2.8.0", "@walmart/redux-store": "6.3.29", "@walmart/ui-components": "1.15.1", - "@walmart/wmconnect-mini-app": "2.38.0", + "@walmart/wmconnect-mini-app": "2.39.0", "babel-jest": "^29.6.3", "chance": "^1.1.11", "crypto-js": "~4.2.0", @@ -200,10 +200,5 @@ "skipScope": false, "jiraPrefix": "JIRA_PROJECT" } - }, - "dependencies": { - "expo": "~52.0.46", - "react": "18.3.1", - "react-native": "0.76.9" } } --- yarn.lock @@ -7116,7 +7116,7 @@ __metadata: "@walmart/react-native-sumo-sdk": "npm:2.8.0" "@walmart/redux-store": "npm:6.3.29" "@walmart/ui-components": "npm:1.15.1" - "@walmart/wmconnect-mini-app": "npm:2.38.0" + "@walmart/wmconnect-mini-app": "npm:2.39.0" babel-jest: "npm:^29.6.3" chance: "npm:^1.1.11" crypto-js: "npm:~4.2.0" @@ -7199,13 +7199,9 @@ __metadata: languageName: node linkType: hard -"@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" - react-native: "npm:0.76.9" +"@walmart/wmconnect-mini-app@npm:2.39.0": + version: 2.39.0 + resolution: "@walmart/wmconnect-mini-app@npm:2.39.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.39.0.tgz" peerDependencies: "@walmart/allspark-foundation": ">=6.32.0" expo: ~52.0.46 @@ -7216,7 +7212,7 @@ __metadata: dependenciesMeta: "@walmart/me-at-walmart": built: false - checksum: 10c0/58a47b6336b0cbf858911a481bd8d9af7375a4520f110567643c32cb737aa9a481ce173721c1e08ca4e870ba1eee48d2993d27a54e41293420fb8090664ca818 + checksum: 10c0/4bf17de2513473705c723bc3f4767a1c96aa2379b75cf6569dd1d11448345c064eaf0f15d30c499df8062156cab0169648feda7c50e8ff3775dc5f4c2dedb86e languageName: node linkType: hard
feat(ui): updating wmconnect version
feat(ui): updating wmconnect version
7163cb071ba3002ae313f31368917db7da2b216b
--- core/src/manifest.ts @@ -76,6 +76,7 @@ export const getAssociateFeatures = (): AllsparkFeatureModule[] => { require('@walmart/mod-flex-mini-app').default, require('@walmart/shelfavailability-mini-app').default, require('@walmart/rfid-scan-mini-app').default, + require('@walmart/returns-mini-app').default, ); } --- targets/US/package.json @@ -142,7 +142,7 @@ "@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.4.3#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.4.3-2621d9f1df.patch", "@walmart/receipt-check-miniapp": "1.27.3", "@walmart/redux-store": "~6.3.28", - "@walmart/returns-mini-app": "4.15.0", + "@walmart/returns-mini-app": "4.16.2", "@walmart/rfid-scan-mini-app": "2.7.1", "@walmart/rn-mobile-sdk-pairing": "2.0.4", "@walmart/rn-receiving-mini-app": "2.4.45", --- yarn.lock @@ -7379,7 +7379,7 @@ __metadata: "@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.4.3#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.4.3-2621d9f1df.patch" "@walmart/receipt-check-miniapp": "npm:1.27.3" "@walmart/redux-store": "npm:~6.3.28" - "@walmart/returns-mini-app": "npm:4.15.0" + "@walmart/returns-mini-app": "npm:4.16.2" "@walmart/rfid-scan-mini-app": "npm:2.7.1" "@walmart/rn-mobile-sdk-pairing": "npm:2.0.4" "@walmart/rn-receiving-mini-app": "npm:2.4.45" @@ -8056,9 +8056,9 @@ __metadata: languageName: node linkType: hard -"@walmart/returns-mini-app@npm:4.15.0": - version: 4.15.0 - resolution: "@walmart/returns-mini-app@npm:4.15.0" +"@walmart/returns-mini-app@npm:4.16.2": + version: 4.16.2 + resolution: "@walmart/returns-mini-app@npm:4.16.2" dependencies: "@walmart/common-utilities-js": "npm:^1.2.10" "@walmart/virtual-zpl-printer-model": "npm:^0.2.11"
chore(ui): updated package json
chore(ui): updated package json chore(ui): updated package json
965c8f88b27bd8fda4620f5b0269348f0d768c84
--- __tests__/core/analyticsInitTest.ts @@ -47,6 +47,9 @@ import { } from '../../src/redux'; import {SESSION_ID} from '../../src/services/Session'; import {encryptUserId} from '../../src/services/MaskUserId'; +import {getDeviceType} from '../../src/redux/SharedSelectors'; + +const deviceType = 'junk'; describe('onUserChanged', () => { it('sets user attributes', () => { @@ -74,7 +77,8 @@ describe('onUserChanged', () => { expect(iterator.next(encryptionKey).value).toEqual( call(encryptUserId, user.userId, encryptionKey), ); - expect(iterator.next(user.userId).value).toEqual( + expect(iterator.next(user.userId).value).toEqual(select(getDeviceType)); + expect(iterator.next(deviceType).value).toEqual( call(WmTelemetry.setUserId, user.userId), ); expect(iterator.next().value).toEqual( @@ -87,6 +91,7 @@ describe('onUserChanged', () => { domain: user.domain, jobCode: user.jobCode, sessionId: SESSION_ID, + deviceType, }), ); expect(iterator.next().value).toEqual(call(initWmConfig)); @@ -117,7 +122,8 @@ describe('onUserChanged', () => { expect(iterator.next(encryptionKey).value).toEqual( call(encryptUserId, user.userId, encryptionKey), ); - expect(iterator.next(user.userId).value).toEqual( + expect(iterator.next(user.userId).value).toEqual(select(getDeviceType)); + expect(iterator.next(deviceType).value).toEqual( call(WmTelemetry.setUserId, user.userId), ); expect(iterator.next().value).toEqual( @@ -130,6 +136,7 @@ describe('onUserChanged', () => { domain: user.domain, jobCode: '', sessionId: SESSION_ID, + deviceType, }), ); expect(iterator.next().value).toEqual(call(initWmConfig)); --- __tests__/core/loggerInitTest.ts @@ -8,6 +8,7 @@ jest.mock('../../env', () => ({ }, logLevel: 'level', env: 'dev', + deployment: 'dev', })); jest.mock('../../src/redux/CreateRestartableSagas', () => ({ @@ -55,17 +56,20 @@ import { getNetworkInfo, initLogger, } from '../../src/core/loggerInit'; +import {getDeviceType} from '../../src/redux/SharedSelectors'; const expectedSysInfo = { appVersion: '1.0.0', appBundleId: 'com.walmart.test', appBuildNumber: '12', env: 'dev', + deployment: 'dev', os: 'ios', osVersion: '14', device: 'iphone', model: 'x', isEmulator: false, + deviceType: 'junk', }; describe('getSystemInfo', () => { @@ -91,7 +95,10 @@ describe('getSystemInfo', () => { expect(iterator.next(expectedSysInfo.isEmulator).value).toEqual( call(getModel), ); - const last = iterator.next(expectedSysInfo.model); + expect(iterator.next(expectedSysInfo.model).value).toEqual( + select(getDeviceType), + ); + const last = iterator.next(expectedSysInfo.deviceType); expect(last.value).toEqual({ ...expectedSysInfo, isEmulator: 'false', --- src/core/analyticsInit.ts @@ -20,6 +20,7 @@ import { import {SESSION_ID} from '../services/Session'; import {encryptUserId} from '../services/MaskUserId'; import {defaultCountryCode} from '../transforms/user'; +import {getDeviceType} from '../redux/SharedSelectors'; export function* onUserChanged() { const userId = yield select(getOriginalUserId); @@ -29,6 +30,7 @@ export function* onUserChanged() { const userData: User = yield select(getOriginalUserData); const key = yield select(getEncryptionKey); const encryptedUserId = yield call(encryptUserId, userId, key); + const deviceType = yield select(getDeviceType); yield call(WmTelemetry.setUserId, encryptedUserId); yield call(WmTelemetry.setUserProperties, { @@ -40,6 +42,7 @@ export function* onUserChanged() { domain: userData.domain, jobCode: userData.jobCode || '', sessionId: SESSION_ID, + deviceType, }); yield call(initWmConfig); --- src/core/loggerInit.ts @@ -32,6 +32,7 @@ import { } from '../redux'; import {encryptUserId} from '../services/MaskUserId'; import {defaultCountryCode} from '../transforms/user'; +import {getDeviceType} from '../redux/SharedSelectors'; import env from '../../env'; @@ -45,6 +46,8 @@ export interface SysInfo { device: string; model: string; isEmulator: string; + deployment: string; + deviceType: string; } type NetworkAttributes = { @@ -69,6 +72,7 @@ export function* getSystemInfo() { const device = yield call(getDeviceId); const isRunningEmulator = yield call(isEmulator); const model = yield call(getModel); + const deviceType = yield select(getDeviceType); sysInfo = { appVersion, @@ -81,6 +85,7 @@ export function* getSystemInfo() { device, model, isEmulator: String(isRunningEmulator), + deviceType, }; }
adding device type to analytics and logger
adding device type to analytics and logger
31da133fe0cda7dea31e472374399078aa447e73
--- package-lock.json @@ -54,7 +54,7 @@ "@walmart/checkout-mini-app": "3.9.310", "@walmart/compass-sdk-rn": "5.19.3", "@walmart/config-components": "4.3.2", - "@walmart/copilot-mini-app": "3.91.0", + "@walmart/copilot-mini-app": "3.92.4", "@walmart/core-services": "6.0.12", "@walmart/core-services-allspark": "6.0.12", "@walmart/core-utils": "6.0.12", @@ -11193,9 +11193,9 @@ } }, "node_modules/@walmart/copilot-mini-app": { - "version": "3.91.0", - "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.91.0.tgz", - "integrity": "sha512-al05kOB0ehlHQWTn6rk39KY9/2pW/CazZyGAd+FqutgVvR5nZ8R1YDB0sLBkANeKnZXdG1GXzblXjdlaezJDaA==", + "version": "3.92.4", + "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.92.4.tgz", + "integrity": "sha512-acGEdHP4L2EwGBN178a2CwD0az9p57w5XVeIYeIx5eaha5rYB615EDQnelYyDJr/zvneHWNlBp2Xste53QaMmw==", "hasInstallScript": true, "peerDependencies": { "@react-navigation/native": "^6.0.0", --- package.json @@ -95,7 +95,7 @@ "@walmart/checkout-mini-app": "3.9.310", "@walmart/compass-sdk-rn": "5.19.3", "@walmart/config-components": "4.3.2", - "@walmart/copilot-mini-app": "3.91.0", + "@walmart/copilot-mini-app": "3.92.4", "@walmart/core-services": "6.0.12", "@walmart/core-services-allspark": "6.0.12", "@walmart/core-utils": "6.0.12", @@ -360,7 +360,7 @@ "@walmart/calling-mini-app": "0.1.24", "@walmart/compass-sdk-rn": "5.19.3", "@walmart/config-components": "4.3.2", - "@walmart/copilot-mini-app": "3.91.0", + "@walmart/copilot-mini-app": "3.92.4", "@walmart/core-services": "6.0.12", "@walmart/core-services-allspark": "6.0.12", "@walmart/core-utils": "6.0.12",
chore: bump copilot@3.92.4
chore: bump copilot@3.92.4
69228c6e88701be6d5d4642382c6b6efb917368f
--- src/screens/RosterDetailScreen/SupplyChainRosterDetailScreen/useSupplyChainRosterDetails.ts @@ -1,14 +1,14 @@ -import {useCallback, useState} from 'react'; -import {RosterDetailScreenProps} from '../types'; +import { useCallback, useState } from "react"; +import { RosterDetailScreenProps } from "../types"; import { TOTAL_SITE_TEAM_ID, TOTAL_SITE_TEAM_LABEL, SC_ManagerExperienceSelectors as supplyChainSelector, -} from '@walmart/allspark-foundation-hub'; -import {useGetViewersShiftData} from '../../../hooks'; -import {useSelector} from 'react-redux'; -import {FilterValue} from '../../../components/FilterChip/types'; -import {useRosterDetailsUtils} from '../useRosterDetailsUtils'; +} from "@walmart/allspark-foundation-hub"; +import { useGetViewersShiftData } from "../../../hooks"; +import { useSelector } from "react-redux"; +import { FilterValue } from "../../../components/FilterChip/types"; +import { useRosterDetailsUtils } from "../useRosterDetailsUtils"; export const useSupplyChainRosterDetails = ({ route, @@ -25,8 +25,7 @@ export const useSupplyChainRosterDetails = ({ }); const loggedInUserShift = useGetViewersShiftData(); const shift = useSelector(supplyChainSelector.getSavedSiteShifts); - const selectedShift = useSelector( - supplyChainSelector.getSelectedShifts) + const selectedShift = useSelector(supplyChainSelector.getSelectedShifts); const getSavedSiteTeams = useSelector(supplyChainSelector.getSavedSiteTeams); const defaultTeamLabel = initialTeamName || TOTAL_SITE_TEAM_LABEL; const defaultTeamIds = initialTeamId ? [initialTeamId] : [TOTAL_SITE_TEAM_ID]; @@ -34,12 +33,12 @@ export const useSupplyChainRosterDetails = ({ useSelector(supplyChainSelector.getSelectedTeamIDs) || []; const [selectedFilter, setSelectedFilter] = useState<FilterValue>( - FilterValue.all, + FilterValue.all ); const [shiftSelected, setSelectedShift] = useState<string | undefined>( - undefined, + undefined ); - const [searchInput, setSearchInput] = useState(''); + const [searchInput, setSearchInput] = useState(""); const [teamState, setTeamState] = useState<{ teamLabel: string | null; teamIds: string[]; @@ -53,7 +52,11 @@ export const useSupplyChainRosterDetails = ({ teamLabel: string[]; teamIds: string[]; }>({ - shiftIds: selectedShift?.length ? selectedShift : [loggedInUserShift as string], + shiftIds: shift.length + ? shift + : selectedShift?.length + ? selectedShift + : [loggedInUserShift as string], teamLabel: [defaultTeamLabel as string], teamIds: selectedTeamIds?.length ? selectedTeamIds : defaultTeamIds, }); @@ -61,43 +64,49 @@ export const useSupplyChainRosterDetails = ({ const isPrimaryTeam = primaryTeam?.[0].teamId === teamState.teamIds?.[0]; const getHeaderAndSubtext = useCallback( - (currentTeam: {teamName: string}) => { + (currentTeam: { teamName: string }) => { if (teamState.teamLabel === TOTAL_SITE_TEAM_LABEL) { return { header: siteTranslationContext, - subText: '', + subText: "", }; } else if (isPrimaryTeam) { return { - header: t('rosterScreen.primaryTeamRosterDetailHeader'), - subText: t('rosterScreen.primaryTeamRosterDetailSubText'), + header: t("rosterScreen.primaryTeamRosterDetailHeader"), + subText: t("rosterScreen.primaryTeamRosterDetailSubText"), }; } else { return { - header: currentTeam?.teamName ?? '', - subText: '', + header: currentTeam?.teamName ?? "", + subText: "", }; } }, // eslint-disable-next-line react-hooks/exhaustive-deps - [teamState, siteTranslationContext, isPrimaryTeam], + [teamState, siteTranslationContext, isPrimaryTeam] ); const getCurrentTeamName = useCallback(() => { - const getTeamLabelOrDefault = (teamIds: string[], teamLabel: string | string[] | null) => { + const getTeamLabelOrDefault = ( + teamIds: string[], + teamLabel: string | string[] | null + ) => { if (teamIds.includes(TOTAL_SITE_TEAM_ID)) { return siteTranslationContext; } else if (teamLabel) { return teamLabel; } - return t('rosterScreen.teamWorkgroup.myTeam', { - defaultValue: 'My team', - lng: 'en-US', + return t("rosterScreen.teamWorkgroup.myTeam", { + defaultValue: "My team", + lng: "en-US", }); }; return isSalariedOrLead - ? getTeamLabelOrDefault(switcherTeamState.teamIds, switcherTeamState?.teamLabel) + ? getTeamLabelOrDefault( + switcherTeamState.teamIds, + switcherTeamState?.teamLabel + ) : getTeamLabelOrDefault(teamState.teamIds, teamState?.teamLabel); // eslint-disable-next-line react-hooks/exhaustive-deps }, [teamState.teamIds, teamState.teamLabel, switcherTeamState]);
feat(ui): shifts logic update
feat(ui): shifts logic update
6cc95b89ab20e6693717ee6a41ef13ce9a4e63c9
--- __tests__/navigation/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap @@ -88,6 +88,10 @@ Array [ } } /> + <Screen + component="TimeClockScreen" + name="timeClock" + /> <Group screenOptions={ Object { --- src/navigation/AssociateHallwayNav/MainStackNav.tsx @@ -19,6 +19,7 @@ import {ShelfAvailabilityMiniApp} from '@walmart/shelfavailability-mini-app'; import {PriceChangesMiniApp} from '@walmart/price-changes-mini-app'; import {useRbacConfig} from '@walmart/config-components'; import {RefrigerationApp} from '@walmart/refrigeration-alarms-mini-app'; +import {TimeClockScreen} from '@walmart/time-clock-mini-app'; import {FeatureRestrictionsScreen} from '../../whatsNew/FeatureRestrictionsScreen'; import {WhatsNewModal} from '../../whatsNew/WhatsNewModal'; @@ -68,13 +69,13 @@ const WorkMiniApps = [ ]; const WorkMiniAppScreens = WorkMiniApps.map((screen) => { - const {screenName, appName, component} = screen; + const {screenName, component} = screen; return ( <MainStack.Screen key={screenName} name={screenName} - component={withClockOutGuard(component, appName)} + component={withClockOutGuard(component)} /> ); }); @@ -139,6 +140,8 @@ export const MainStackNav = () => { }} /> + <MainStack.Screen name='timeClock' component={TimeClockScreen} /> + {/* Transparent Modal Screens - Renderd on top of current screen*/} <MainStack.Group screenOptions={{
Moving timeclock screen up to main stack for use from side menu
Moving timeclock screen up to main stack for use from side menu
ec768fa2c1d50518a5bdc876ad0e8e21cd945d71
--- packages/allspark-foundation-hub/src/Store/Modules/Hub/HubDashboard.tsx @@ -35,7 +35,6 @@ import { useFocusEffect, useNavigation, useRoute, - useScrollToTop, } from '@react-navigation/native'; import { TeamOnboardingScreen, useOnboardingContext } from '../Onboarding'; import { useAllsparkTranslation } from '@walmart/allspark-foundation/Translation'; @@ -82,8 +81,7 @@ export const HubDashboard = ({ const originalSiteId = useSelector(UserSelectors.getHomeSite); const parentSiteID = useRef(currentSiteId); const lastUpdatedTimeout = useRef<any>(); - const scrollViewRef = useRef(null); - useScrollToTop(scrollViewRef); + const scrollViewRef = useRef<ScrollView>(null); const scrollPosition = useRef(new Animated.Value(0)).current; @@ -198,6 +196,12 @@ export const HubDashboard = ({ }); }; + useFocusEffect( + useCallback(() => { + scrollViewRef.current?.scrollTo({ y: 0, animated: false }); + }, [allowedWidgetsList]) + ); + useEffect(() => { navigation.setOptions({ title: t('managerExperience.' + hubScreeName), --- packages/allspark-foundation-hub/src/Store/Modules/TeamSwitcher/index.tsx @@ -45,6 +45,7 @@ import { useAllsparkImage } from '@walmart/allspark-foundation/Components/contex import { LoggerService } from '@walmart/allspark-foundation/Logger'; import { useAllsparkTranslation } from '@walmart/allspark-foundation/Translation'; import { useUserPersonaType } from '../../../Shared/Hooks/useUserPersonaType'; +import { useFocusEffect } from '@react-navigation/native'; export * from './types'; @@ -92,6 +93,15 @@ export const TeamSwitcher = ({ selectedTeamPreference ); const { isOffSite, allTeamsOfStore } = useGetAllTeamsOfStore(); + const flatListRef = useRef<FlatList<any>>(null); + + useFocusEffect( + useCallback(() => { + if (flatListRef.current) { + flatListRef.current.scrollToOffset({ animated: false, offset: 0 }); + } + }, []) + ); useEffect(() => { const totalStore: TeamSwitcherTypes = { @@ -302,6 +312,7 @@ export const TeamSwitcher = ({ <View style={styles.teamSwitcherContainer}> <View style={styles.container}> <FlatList + ref={flatListRef} style={styles.flatListContainer} testID='team-switcher-list' data={teamSwitcherList}
horizontal scroll reset
horizontal scroll reset
beea014dbc206755f6c1df57aa2b5e4a4d317f2b
--- src/translations/es-MX.ts @@ -3,10 +3,10 @@ export const esMX = { languageName: 'Español', }, userHeader: { - onlinePresence: 'Online', - offlinePresence: 'Offline', + onlinePresence: 'En línea', //TODO: needs Official Translation, Used google translate + offlinePresence: 'Desconectado', //TODO: needs Official Translation, Used google translate clockedIn: 'Disponible', - dndPresence: 'Do not disturb', + dndPresence: 'No molestar', //TODO: needs Official Translation, Used google translate }, tabsScreen: { rosterTab: 'Lista', @@ -19,14 +19,14 @@ export const esMX = { viewTimeClock: 'Ver reloj de tiempo', //TODO: Used google translate, needs real translation }, rosterScreen: { - rosterName: ' Today’s {{teamName}} roster', + rosterName: ' Lista de {{teamName}} de hoy', //TODO: Used google translate, needs real translation weeklySchedule: 'Turno semanal', filters: { - all: 'All', + all: 'Todos', absent: 'Consentimiento', - tardy: 'Tardy', + tardy: 'Tardío', //TODO: Used google translate, needs real translation clockedIn: 'Disponible', - online: 'Online', + online: 'En línea', //TODO: Used google translate, needs real translation }, statusChips: { absent: 'Consentimiento', @@ -50,7 +50,7 @@ export const esMX = { }, associateRosterItem: { messageBtn: 'Mensaje', - viewSchedule: 'View schedule', + viewSchedule: 'Ver horario', //TODO: Used google translate, needs real translation pushToTalkBtn: 'Voice', }, }, @@ -73,8 +73,8 @@ export const esMX = { placeholder: 'Escriba un nombre', }, messageScreen: { - deliveredReadReceipt: 'Delivered', - readReadReceipt: 'Read', + deliveredReadReceipt: 'Entregado', //TODO: Used google translate, needs real translation + readReadReceipt: 'Leer', //TODO: Used google translate, needs real translation chatInputPlaceholder: 'Entre un mensaje', }, searchScreen: { --- src/translations/es-MX.ts @@ -3,10 +3,10 @@ export const esMX = { languageName: 'Español', }, userHeader: { - onlinePresence: 'Online', - offlinePresence: 'Offline', + onlinePresence: 'En línea', //TODO: needs Official Translation, Used google translate + offlinePresence: 'Desconectado', //TODO: needs Official Translation, Used google translate clockedIn: 'Disponible', - dndPresence: 'Do not disturb', + dndPresence: 'No molestar', //TODO: needs Official Translation, Used google translate }, tabsScreen: { rosterTab: 'Lista', @@ -19,14 +19,14 @@ export const esMX = { viewTimeClock: 'Ver reloj de tiempo', //TODO: Used google translate, needs real translation }, rosterScreen: { - rosterName: ' Today’s {{teamName}} roster', + rosterName: ' Lista de {{teamName}} de hoy', //TODO: Used google translate, needs real translation weeklySchedule: 'Turno semanal', filters: { - all: 'All', + all: 'Todos', absent: 'Consentimiento', - tardy: 'Tardy', + tardy: 'Tardío', //TODO: Used google translate, needs real translation clockedIn: 'Disponible', - online: 'Online', + online: 'En línea', //TODO: Used google translate, needs real translation }, statusChips: { absent: 'Consentimiento', @@ -50,7 +50,7 @@ export const esMX = { }, associateRosterItem: { messageBtn: 'Mensaje', - viewSchedule: 'View schedule', + viewSchedule: 'Ver horario', //TODO: Used google translate, needs real translation pushToTalkBtn: 'Voice', }, }, @@ -73,8 +73,8 @@ export const esMX = { placeholder: 'Escriba un nombre', }, messageScreen: { - deliveredReadReceipt: 'Delivered', - readReadReceipt: 'Read', + deliveredReadReceipt: 'Entregado', //TODO: Used google translate, needs real translation + readReadReceipt: 'Leer', //TODO: Used google translate, needs real translation chatInputPlaceholder: 'Entre un mensaje', }, searchScreen: {
updated spanish translations
updated spanish translations
ddbc10daf940a9f8529087b4b858e3029c02a188
--- .github/pull_request_template_check.yml @@ -56,7 +56,7 @@ jobs: } } - // Check for screenshots and recordings + // Check for screenshots and recordings are added if (!body.includes("### Screenshots") || !body.split("### Screenshots")[1].trim()) { missingFields.push("Screenshots"); }
feat(ui): updating pr template
feat(ui): updating pr template
14bb941fa0679b5ed59be9789ba243d8f4f59748
--- ios/Podfile.lock @@ -356,7 +356,7 @@ PODS: - React - react-native-webview (10.10.0): - React-Core - - react-native-wm-barcode (2.25.0): + - react-native-wm-barcode (2.29.0): - React - react-native-wm-voice-text (0.4.1): - React @@ -814,7 +814,7 @@ SPEC CHECKSUMS: react-native-video: 8d97379f3c2322a569f1e27542ad1a646cad9444 react-native-view-shot: 08c46c9e8e92f6681e8f2ffa55ac3d06e7e99070 react-native-webview: 2e330b109bfd610e9818bf7865d1979f898960a7 - react-native-wm-barcode: eeee6215ce0f2969b7648fee8015745d175269ce + react-native-wm-barcode: 881d483f23fba207961884289c00ff79cd1fac94 react-native-wm-voice-text: 80c0b59ff0fab4daf179ee430e4ea285181e3891 React-RCTActionSheet: 910163b6b09685a35c4ebbc52b66d1bfbbe39fc5 React-RCTAnimation: 9a883bbe1e9d2e158d4fb53765ed64c8dc2200c6
added Podfile.lock
added Podfile.lock
e9903944878eb15156da0f6669b2f249cb5ab8f1
--- package.json @@ -145,7 +145,7 @@ "@walmart/shelfavailability-mini-app": "1.5.23", "@walmart/store-feature-orders": "1.26.7", "@walmart/taskit-mini-app": "2.81.15", - "@walmart/time-clock-mini-app": "2.364.0", + "@walmart/time-clock-mini-app": "2.367.0", "@walmart/topstock-mini-app": "patch:@walmart/topstock-mini-app@npm%3A1.9.7#~/.yarn/patches/@walmart-topstock-mini-app-npm-1.9.7-e6400c510e.patch", "@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.11#~/.yarn/patches/@walmart-ui-components-npm-1.15.11-19ccf914c5.patch", "@walmart/welcomeme-mini-app": "0.90.3", --- yarn.lock @@ -7156,9 +7156,9 @@ __metadata: languageName: node linkType: hard -"@walmart/time-clock-mini-app@npm:2.364.0": - version: 2.364.0 - resolution: "@walmart/time-clock-mini-app@npm:2.364.0" +"@walmart/time-clock-mini-app@npm:2.367.0": + version: 2.367.0 + resolution: "@walmart/time-clock-mini-app@npm:2.367.0" dependencies: "@react-navigation/elements": "npm:^1.3.1" moment-timezone: "npm:0.5.33" @@ -7201,7 +7201,7 @@ __metadata: uuid: ^3.3.2 wifi-store-locator: ^1.4.0 xdate: ^0.8.2 - checksum: 10c0/92a13ccd6cae5949bc728b2fca1333d26eb7ea22ee591bdae7eed8fb0be2e7523307646b967d998ce9d7c2707958136ed781f136a7a5ac297629c9582b51159f + checksum: 10c0/75099a20d824643ac7b87c5472e868c4d835d0f45e1a0986c93fa51266354c1ffcf7784bebf85551f3907ea8af7a84b51093c0978cf255f5e0bcc5e5be2d0dbc languageName: node linkType: hard @@ -7795,7 +7795,7 @@ __metadata: "@walmart/shelfavailability-mini-app": "npm:1.5.23" "@walmart/store-feature-orders": "npm:1.26.7" "@walmart/taskit-mini-app": "npm:2.81.15" - "@walmart/time-clock-mini-app": "npm:2.364.0" + "@walmart/time-clock-mini-app": "npm:2.367.0" "@walmart/topstock-mini-app": "patch:@walmart/topstock-mini-app@npm%3A1.9.7#~/.yarn/patches/@walmart-topstock-mini-app-npm-1.9.7-e6400c510e.patch" "@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.11#~/.yarn/patches/@walmart-ui-components-npm-1.15.11-19ccf914c5.patch" "@walmart/welcomeme-mini-app": "npm:0.90.3"
Update TCMA to 2.367.0
Update TCMA to 2.367.0
eaba6e0353a118eca7c1ab1e0148a3f1f61360e9
--- package-lock.json @@ -48,14 +48,14 @@ "@walmart/exception-mini-app": "1.0.16", "@walmart/facilities-management-miniapp": "0.5.22", "@walmart/feedback-all-spark-miniapp": "0.9.10", - "@walmart/financial-wellbeing-feature-app": "1.1.2", + "@walmart/financial-wellbeing-feature-app": "1.3.1", "@walmart/functional-components": "2.0.6", "@walmart/gta-react-native-calendars": "0.0.15", "@walmart/gtp-shared-components": "2.0.3", "@walmart/impersonation-mini-app": "1.11.0", "@walmart/ims-print-services-ui": "1.2.2", "@walmart/inbox-mini-app": "0.81.7", - "@walmart/iteminfo-mini-app": "^5.3.5", + "@walmart/iteminfo-mini-app": "5.3.5", "@walmart/manager-approvals-miniapp": "0.2.1", "@walmart/me-field-mini-app": "1.1.45", "@walmart/metrics-mini-app": "0.9.38", @@ -5203,9 +5203,9 @@ } }, "node_modules/@walmart/financial-wellbeing-feature-app": { - "version": "1.1.2", - "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.1.2.tgz", - "integrity": "sha512-CaaSSmFe4SUpL3pZk1rE14RyR/1zd2tHPE0m1zo6k/s45KmZU6vbLFdGzD+bXH/QgMnVMEiuG63NiICKFrsSeA==", + "version": "1.3.1", + "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.3.1.tgz", + "integrity": "sha512-CwWEpSIsoH2qKto8ZkGTfsiSIkluKXR549lnh+qKSO6bcGWjSeXDBFTxOE3nruy0m4x6tmSiZmGQaaW3Qk6vww==", "hasInstallScript": true, "peerDependencies": { "@react-navigation/native": "^6.0.0", @@ -25379,9 +25379,9 @@ "integrity": "sha512-zqz82og6sfBPi2wYuXT6WiBgENoP8RMv3FUoQ4sb1TjIacOFRuGJbsu1TjG1YtdOz/GDrMty9W9ZH03KyNZLFg==" }, "@walmart/financial-wellbeing-feature-app": { - "version": "1.1.2", - "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.1.2.tgz", - "integrity": "sha512-CaaSSmFe4SUpL3pZk1rE14RyR/1zd2tHPE0m1zo6k/s45KmZU6vbLFdGzD+bXH/QgMnVMEiuG63NiICKFrsSeA==" + "version": "1.3.1", + "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.3.1.tgz", + "integrity": "sha512-CwWEpSIsoH2qKto8ZkGTfsiSIkluKXR549lnh+qKSO6bcGWjSeXDBFTxOE3nruy0m4x6tmSiZmGQaaW3Qk6vww==" }, "@walmart/functional-components": { "version": "2.0.6",
Update package-lock.json
Update package-lock.json
0af79f35de8116a61a02663ca9d95d8df0102ac8
--- core/src/manifest.ts @@ -72,6 +72,7 @@ export const getAssociateFeatures = (): AllsparkFeatureModule[] => { require('@walmart/manager-approvals-miniapp').default, require('@walmart/translator-mini-app').default, require('@walmart/checkout-mini-app').CheckoutMiniApp, + require('@walmart/mod-flex-mini-app').default, ); } --- core/src/navigation/USHallway/AssociateHallwayNav/MainStackNav.tsx @@ -33,7 +33,7 @@ import {FieldLearningApp} from '@walmart/learning-mini-app'; import ManagerApprovalsFeature from '@walmart/manager-approvals-miniapp'; import MetricsFeature from '@walmart/metrics-mini-app'; import GlobalVpiMiniApp from '@walmart/global-vpi-mini-app'; -import {ModFlexMiniApp} from '@walmart/mod-flex-mini-app'; +import ModFlexFeature from '@walmart/mod-flex-mini-app'; import {AuthScreen as MoneyAuthScreen} from '@walmart/money-auth-shared-components'; import {PayStubMiniApp} from '@walmart/pay-stub-miniapp'; import {PaymentSelectionMiniApp} from '@walmart/payrollsolution_miniapp'; @@ -154,15 +154,6 @@ const MiniAppScreens = createMiniAppScreens(MainStack, [ }, clockCheckEnabled: true, }, - { - featureId: MINI_APPS.MOD_LANDING, - name: 'modFlex', - component: ModFlexMiniApp, - options: { - headerShown: false, - }, - clockCheckEnabled: true, - }, { featureId: MINI_APPS.RECEIPT_CHECK, name: 'ReceiptCheck', @@ -636,6 +627,10 @@ export const MainStackNav = () => { {TranslatorFeature.buildAllScreens({ Navigator: MainStack as any, })} + + {ModFlexFeature.buildAllScreens({ + Navigator: MainStack as any, + })} </MainStack.Navigator> </> );
Modflex - Allspark foundation migration
Modflex - Allspark foundation migration
0300188574f5ea47090bcf6def03a608a363237c
--- package-lock.json @@ -3372,9 +3372,9 @@ "integrity": "sha512-jplu8SFzqVj1xWNlxMrPmR3oelBdyNBeQHJOr5YM7p7yqAWBiYO2jt9HyUkZCzRkEhrjjDufk9J5K9OJC1GhKA==" }, "@walmart/iteminfo-mini-app": { - "version": "1.0.19", - "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-1.0.19.tgz", - "integrity": "sha512-lVL+eXkQeTL7Psti3GOQwT2P4osAS5t83bxZXz44qMwE63ndvBh3QWSmMyuSjj5OlL/1EHHHppgp0GrO0P+jfA==", + "version": "1.0.22", + "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-1.0.22.tgz", + "integrity": "sha512-Vbpeb2DsY61tj9rCagzsgbhT9Uf+KVPMP3C9XRCCD2MewOveuPOijT2aVCcPvFPEtBBRy0yQ9T+cR4v0gO7xug==", "requires": { "react-native-chart-kit": "6.6.1" } @@ -3509,9 +3509,9 @@ "integrity": "sha512-4VL2h7BKEZNP+QtIaYbQXJ6kpxZdeeCqTA3PvP1L933vlNsilF3y5RO9lCyMsTjWQ+AJ3Ww6gqC/oNDxjTvtGw==" }, "@walmart/shelfavailability-mini-app": { - "version": "0.3.58", - "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-0.3.58.tgz", - "integrity": "sha512-2UTs3EHKhVUhqFtU5uwOs3HvglZY1p8cHBb8sJ6jdfFm2udlxv+gTujePf2z6vdwzbEAgBPcw1dfGPnUVdRk0Q==", + "version": "0.3.61", + "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-0.3.61.tgz", + "integrity": "sha512-c7+fVesztJxa0ad3iX8ELvPQ8LbQadRM1x7Xy9ms6iqdPDEeYK+L+AHVWcQmvKVtuLAQ9+wI9Mg5nGKgL+qa6A==", "requires": { "@types/uuid": "^8.3.0", "@types/xdate": "^0.8.31", --- package.json @@ -78,7 +78,7 @@ "@walmart/impersonation-mini-app": "1.0.15", "@walmart/ims-print-services-ui": "0.0.19", "@walmart/inbox-mini-app": "0.0.96", - "@walmart/iteminfo-mini-app": "1.0.19", + "@walmart/iteminfo-mini-app": "1.0.22", "@walmart/manager-approvals-miniapp": "0.0.40", "@walmart/moment-walmart": "1.0.4", "@walmart/push-to-talk-mini-app": "0.5.21",
Item Info version with new error screens
Item Info version with new error screens
20dfe99b7d36ce3ba3383ade881b4fda2de2c972
--- package-lock.json @@ -42,8 +42,8 @@ "@walmart/ask-sam-chat-components": "^0.2.7", "@walmart/ask-sam-mini-app": "1.18.5", "@walmart/attendance-mini-app": "3.10.0", - "@walmart/avp-feature-app": "0.1.3", - "@walmart/avp-shared-library": "0.1.3", + "@walmart/avp-feature-app": "0.1.5", + "@walmart/avp-shared-library": "0.1.5", "@walmart/calling-mini-app": "0.1.8", "@walmart/compass-sdk-rn": "5.18.15", "@walmart/config-components": "4.2.16", @@ -8555,9 +8555,9 @@ } }, "node_modules/@walmart/avp-feature-app": { - "version": "0.1.3", - "resolved": "https://npme.walmart.com/@walmart/avp-feature-app/-/avp-feature-app-0.1.3.tgz", - "integrity": "sha512-qNseetfFjaoovKkBT8oslKgwXqpdmzERwaA5EX43QCexvEw7HT/bOnJRSfvnMKZPsz9GncNhA07Prrg1IM16fA==", + "version": "0.1.5", + "resolved": "https://npme.walmart.com/@walmart/avp-feature-app/-/avp-feature-app-0.1.5.tgz", + "integrity": "sha512-HZiCrJmdth1esjdw9NU6YodlLiqfRFQaTh7wKOhe7oIuDTgdpdcMNz0eQp2DgBTP8txlDjlp9Kl4H8LSfDP2mQ==", "hasInstallScript": true, "engines": { "node": ">=16" @@ -8573,9 +8573,9 @@ } }, "node_modules/@walmart/avp-shared-library": { - "version": "0.1.3", - "resolved": "https://npme.walmart.com/@walmart/avp-shared-library/-/avp-shared-library-0.1.3.tgz", - "integrity": "sha512-kBqinn8ffJ+n8M9YjF55WKqQVPGGvR2z1MTf3I81JyzRc995PVVXhL8RdycKsGOt5LskaHZM4iB6Kf1CRbrGnw==", + "version": "0.1.5", + "resolved": "https://npme.walmart.com/@walmart/avp-shared-library/-/avp-shared-library-0.1.5.tgz", + "integrity": "sha512-LO65RM3gAAojD4fK/93x2MkU0dT3/jrUUSvxy7joJuDI8FkV3No5zevtYWydXA6iN01ycH8eY2/ieLKLEeHQ0A==", "license": "ISC", "peerDependencies": { "axios": "^1.3.4", @@ -33248,14 +33248,14 @@ } }, "@walmart/avp-feature-app": { - "version": "0.1.3", - "resolved": "https://npme.walmart.com/@walmart/avp-feature-app/-/avp-feature-app-0.1.3.tgz", - "integrity": "sha512-qNseetfFjaoovKkBT8oslKgwXqpdmzERwaA5EX43QCexvEw7HT/bOnJRSfvnMKZPsz9GncNhA07Prrg1IM16fA==" + "version": "0.1.5", + "resolved": "https://npme.walmart.com/@walmart/avp-feature-app/-/avp-feature-app-0.1.5.tgz", + "integrity": "sha512-HZiCrJmdth1esjdw9NU6YodlLiqfRFQaTh7wKOhe7oIuDTgdpdcMNz0eQp2DgBTP8txlDjlp9Kl4H8LSfDP2mQ==" }, "@walmart/avp-shared-library": { - "version": "0.1.3", - "resolved": "https://npme.walmart.com/@walmart/avp-shared-library/-/avp-shared-library-0.1.3.tgz", - "integrity": "sha512-kBqinn8ffJ+n8M9YjF55WKqQVPGGvR2z1MTf3I81JyzRc995PVVXhL8RdycKsGOt5LskaHZM4iB6Kf1CRbrGnw==" + "version": "0.1.5", + "resolved": "https://npme.walmart.com/@walmart/avp-shared-library/-/avp-shared-library-0.1.5.tgz", + "integrity": "sha512-LO65RM3gAAojD4fK/93x2MkU0dT3/jrUUSvxy7joJuDI8FkV3No5zevtYWydXA6iN01ycH8eY2/ieLKLEeHQ0A==" }, "@walmart/calling-mini-app": { "version": "0.1.8", --- package.json @@ -83,8 +83,8 @@ "@walmart/ask-sam-chat-components": "^0.2.7", "@walmart/ask-sam-mini-app": "1.18.5", "@walmart/attendance-mini-app": "3.10.0", - "@walmart/avp-feature-app": "0.1.3", - "@walmart/avp-shared-library": "0.1.3", + "@walmart/avp-feature-app": "0.1.5", + "@walmart/avp-shared-library": "0.1.5", "@walmart/calling-mini-app": "0.1.8", "@walmart/compass-sdk-rn": "5.18.15", "@walmart/config-components": "4.2.16",
bumped avp version to 0.1.5
bumped avp version to 0.1.5
799e10594c767d2706c4f91a3f3620787cdb1d63
--- src/screens/SearchScreen.tsx @@ -73,7 +73,6 @@ type SearchScreenProps = { route: RouteProp<TextingNavParamsMap, 'myTeam.searchScreen'>; }; -//TODO: Refactor Search Screen and move into myteam app as shared responsibility with wmConnect. Have discussion about this. export const SearchScreen: React.FC<SearchScreenProps> = (props) => { const {route} = props; const {searchInput} = route?.params; @@ -147,7 +146,6 @@ export const SearchScreen: React.FC<SearchScreenProps> = (props) => { const dispatch = useDispatch(); - //TODO: Duplicate logic from roster component. Need to fix FlashList render bug const renderAssociateRosterItem: ListRenderItem< AssociateRosterItem | null > = ({item: associate, index, extraData}: AssociateListRenderItem) => { @@ -157,7 +155,7 @@ export const SearchScreen: React.FC<SearchScreenProps> = (props) => { return null; } - //TODO: Consider under which condition an item is added to recent search. Suggestion to add to recent search for any action btn click on the screen + //TODO: Determine glue logic between search screen and wmconnect actions in myteam app const tmpMessageBtn = { i18nLabel: 'Message', action: (associateRosterItem: AssociateRosterItem) => {
cleaning todos
cleaning todos
8a4de7d13a224621f5364097c892bfcc8333569c
--- package-lock.json @@ -84,7 +84,7 @@ "@walmart/schedule-mini-app": "0.55.0", "@walmart/shelfavailability-mini-app": "1.5.17", "@walmart/taskit-mini-app": "2.47.9", - "@walmart/texting-mini-app": "2.1.2", + "@walmart/texting-mini-app": "2.1.3", "@walmart/time-clock-mini-app": "2.175.2", "@walmart/topstock-mini-app": "1.3.1", "@walmart/ui-components": "1.15.1", @@ -9233,9 +9233,9 @@ } }, "node_modules/@walmart/texting-mini-app": { - "version": "2.1.2", - "resolved": "https://npme.walmart.com/@walmart/texting-mini-app/-/texting-mini-app-2.1.2.tgz", - "integrity": "sha512-cO7ba/6QxjQYKZ9Bm85yK1LDbwgFI7ZFAOMLu9/k1881tRHe+qoDoNaQH6advMB0yRCdxHV2v/ARg/RSWJbpZg==", + "version": "2.1.3", + "resolved": "https://npme.walmart.com/@walmart/texting-mini-app/-/texting-mini-app-2.1.3.tgz", + "integrity": "sha512-d3C5Xrvi3NIu+X9K63ZuWCDVZS/ABCYi4w4JdqrzG/OQhKkTbNkpHWAhqpl+E5ITCM1RWch/kr94xLvPEWHGvA==", "hasInstallScript": true }, "node_modules/@walmart/time-clock-mini-app": { @@ -34566,9 +34566,9 @@ } }, "@walmart/texting-mini-app": { - "version": "2.1.2", - "resolved": "https://npme.walmart.com/@walmart/texting-mini-app/-/texting-mini-app-2.1.2.tgz", - "integrity": "sha512-cO7ba/6QxjQYKZ9Bm85yK1LDbwgFI7ZFAOMLu9/k1881tRHe+qoDoNaQH6advMB0yRCdxHV2v/ARg/RSWJbpZg==" + "version": "2.1.3", + "resolved": "https://npme.walmart.com/@walmart/texting-mini-app/-/texting-mini-app-2.1.3.tgz", + "integrity": "sha512-d3C5Xrvi3NIu+X9K63ZuWCDVZS/ABCYi4w4JdqrzG/OQhKkTbNkpHWAhqpl+E5ITCM1RWch/kr94xLvPEWHGvA==" }, "@walmart/time-clock-mini-app": { "version": "2.175.2", --- package.json @@ -125,7 +125,7 @@ "@walmart/schedule-mini-app": "0.55.0", "@walmart/shelfavailability-mini-app": "1.5.17", "@walmart/taskit-mini-app": "2.47.9", - "@walmart/texting-mini-app": "2.1.2", + "@walmart/texting-mini-app": "2.1.3", "@walmart/time-clock-mini-app": "2.175.2", "@walmart/topstock-mini-app": "1.3.1", "@walmart/ui-components": "1.15.1",
Update texting mini app version
Update texting mini app version
b52838ba4f4d5de3060ba6b41320ff0f01f944fc
--- packages/allspark-foundation/src/Clock/withClockGuard.tsx @@ -32,6 +32,11 @@ const styles = StyleSheet.create({ }, }); +/** + * The clock guard error message displayed when a feature is disabled. + * A container can modify the UX by customizing the Image and ErrorMessage components on the component context. + * A container can add translations or modify verbiage by defining `ClockGuardError` translation resources. + */ export const ClockGuardError = () => { const { t } = useAllsparkTranslation(); const navigation = useNavigation(); @@ -84,6 +89,10 @@ export const ClockGuardError = () => { ); }; +/** + * Clock guard component. + * Renders children if the clocked in, otherwise renders an error message. + */ export const ClockGuard: FC<PropsWithChildren<{}>> = (props) => { const { children } = props; @@ -96,6 +105,9 @@ export const ClockGuard: FC<PropsWithChildren<{}>> = (props) => { return <>{children}</>; }; +/** + * HOC that adds a clock guard to a component. + */ export const withClockGuard = <T extends ComponentType<any>>(Component: T) => { return (props: ComponentProps<T>) => ( <ClockGuard> --- packages/allspark-foundation/src/Feature/withFeatureScreenGuards.tsx @@ -2,6 +2,10 @@ import { ComponentType } from 'react'; import { withFeatureToggleGuard } from './withFeatureToggleGuard'; import { withClockGuard } from '../Clock/withClockGuard'; +/** + * HOC that wraps a screen component with applicable foundation screen guards. + * `getComponent` used instead of component to keep delayed loading behavior of screens. + */ export const withFeatureScreenGuards = <T extends ComponentType<any>>(config: { Component?: T; getComponent?: () => T; --- packages/allspark-foundation/src/Feature/withFeatureToggleGuard.tsx @@ -38,6 +38,11 @@ const styles = StyleSheet.create({ }, }); +/** + * The feature guard error message displayed when a feature is disabled. + * A container can modify the UX by customizing the Image and ErrorMessage components on the component context. + * A container can add translations or modify verbiage by defining `FeatureGuardError` translation resources. + */ export const FeatureGuardError = (props: { featureId: string }) => { const { featureId } = props; @@ -104,6 +109,10 @@ export const FeatureGuardError = (props: { featureId: string }) => { ); }; +/** + * Feature toggle guard component. + * Renders children if the feature is enabled, otherwise renders an error message. + */ export const FeatureToggleGuard = ( props: PropsWithChildren<{ featureId: string }> ) => { @@ -118,6 +127,9 @@ export const FeatureToggleGuard = ( return <>{children}</>; }; +/** + * HOC that adds a feature toggle guard to a component for the given feature ID. + */ export const withFeatureToggleGuard = <T extends ComponentType<any>>(config: { Component?: T; getComponent?: () => T;
docs: add comments to guard components to add context
docs: add comments to guard components to add context
34aa1d4f3bec33ed15ef20d7054d535553a52b25
--- packages/me-at-walmart-container/src/services/user/index.ts @@ -39,9 +39,10 @@ export const MeAtWalmartUserService = { let {userId, siteId, domain} = config; const env = await AllsparkEnvironment.getDeferred(); - if (domain === UserDomain.store && !userId.includes('.')) { - userId = `${userId}.s0${siteId.padStart(4, '0')}`; - } + // commenting this part of the code for now till we figure out what the issue is with impersonation. + // if (domain === UserDomain.store && !userId.includes('.')) { + // userId = `${userId}.s0${siteId.padStart(4, '0')}`; + // } const response = await AllsparkGraphQLClient.query<GetAssociateByIdQuery>({ query: GetAssociateByIdDocument,
removing auto adding site to impersonation
removing auto adding site to impersonation
4719e5483bd21fd165067ea5da8f9db2fa8b88b5
--- package.json @@ -13,6 +13,7 @@ "ios:prod": "npm run env:prod && react-native run-ios", "start": "react-native start", "coverage": "jest --coverage", + "jetifier": "jetifier", "test": "jest", "lint": "eslint ./src ./__tests__ --ext .js,.jsx,.ts,.tsx" },
added jetifier in package.json
added jetifier in package.json
60abf588168e69bd905520037b4da4eedaa47957
--- packages/allspark-foundation-hub/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/allspark-foundation-hub", - "version": "1.0.1-beta.2", + "version": "1.0.1-beta.3", "description": "", "main": "Core/index.js", "types": "Core/index.d.ts",
Update checkbox on team selection screen
Update checkbox on team selection screen
0128213012f0a0fde097f078bf2667587f0ebb44
--- packages/expo-config-plugins/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.11.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/expo-config-plugins@0.11.1...@walmart/expo-config-plugins@0.11.2) (2025-12-29) + +### Bug Fixes + +- updated the verbiage for emm failure ([#554](https://gecgithub01.walmart.com/allspark/allspark/issues/554)) ([b3d75b6](https://gecgithub01.walmart.com/allspark/allspark/commit/b3d75b6e15913d26d268005da96ddcec5f028f00)) + ## [0.11.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/expo-config-plugins@0.11.0...@walmart/expo-config-plugins@0.11.1) (2025-12-29) **Note:** Version bump only for package @walmart/expo-config-plugins --- packages/expo-config-plugins/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/expo-config-plugins", - "version": "0.11.1", + "version": "0.11.2", "description": "Expo config plugins for me@apps", "main": "lib/index.js", "types": "lib/index.d.ts",
chore(version): updating package version
chore(version): updating package version - @walmart/expo-config-plugins@0.11.2
7d53bd665da84bcd0d3c53d1959278ccd0fd7dee
--- android/app/build.gradle @@ -144,8 +144,8 @@ android { applicationId "com.walmart.stores.allspark.beta" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 861 - versionName "1.4.3" + versionCode 865 + versionName "1.4.4" } splits { abi { --- ios/AllSpark/Info.plist @@ -19,7 +19,7 @@ <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> - <string>1.4.3</string> + <string>1.4.4</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleURLTypes</key> @@ -36,7 +36,7 @@ </dict> </array> <key>CFBundleVersion</key> - <string>861</string> + <string>865</string> <key>FirebaseAutomaticScreenReportingEnabled</key> <false /> <key>LSApplicationQueriesSchemes</key> --- package-lock.json @@ -1,6 +1,6 @@ { "name": "allspark-main", - "version": "1.4.0", + "version": "1.4.4", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -3509,9 +3509,9 @@ "integrity": "sha512-bRj8dBPIo3ShYDH800Lm9XfbCHk8Kclu+Cqbdo/oEB3DIQtoK4TSoyIm8W+c9nhd/kaeEQsev6N99WmNj5BEAg==" }, "@walmart/schedule-mini-app": { - "version": "0.3.1", - "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.3.1.tgz", - "integrity": "sha512-rPUEIhhP0V+qaKBOjCRPSXAQ0tYLO9YNm5XPiCiuNuj13bsV+vM3iGxwCxCc+SnotWRXXNhFFVik04Psipm2Tg==", + "version": "0.3.2", + "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.3.2.tgz", + "integrity": "sha512-0Zn+A6Ef2X7oI6M6ALgW96tIC+GhXbyrTq5/zMtRUv2Psfo8ryv+3kPXRHsQ3O8AqH5AiXnbgP0TqAkph0bOYw==", "requires": { "@walmart/moment-walmart": "^1.0.4", "@walmart/wfm-ui": "0.1.52", --- package.json @@ -1,6 +1,6 @@ { "name": "allspark-main", - "version": "1.4.0", + "version": "1.4.4", "private": true, "scripts": { "firebase:dev": "cp ./ios/GoogleService-Info-Dev.plist ./ios/GoogleService-Info.plist && cp ./android/app/google-services-dev.json ./android/app/google-services.json", @@ -94,7 +94,7 @@ "@walmart/react-native-shared-navigation": "^0.4.0", "@walmart/react-native-sumo-sdk": "2.1.0-alpha.3", "@walmart/redux-store": "^1.0.15", - "@walmart/schedule-mini-app": "0.3.1", + "@walmart/schedule-mini-app": "0.3.2", "@walmart/settings-mini-app": "1.3.7", "@walmart/shelfavailability-mini-app": "0.3.90", "@walmart/time-clock-mini-app": "0.4.21",
Resolve merge conflict.
Resolve merge conflict.
ac4a20bb52f5824e19b6523043a6250344b29398
--- package-lock.json @@ -35,7 +35,7 @@ "@walmart/allspark-neon-core": "0.1.31", "@walmart/amp-mini-app": "1.0.11", "@walmart/ask-sam-chat-components": "^0.2.7", - "@walmart/ask-sam-mini-app": "1.3.61", + "@walmart/ask-sam-mini-app": "1.3.62", "@walmart/attendance-mini-app": "0.86.0", "@walmart/config-components": "4.1.0-rc.4", "@walmart/core-services": "~2.0.19", @@ -4799,9 +4799,9 @@ } }, "node_modules/@walmart/ask-sam-mini-app": { - "version": "1.3.61", - "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.61.tgz", - "integrity": "sha512-e9LLLw/st1ikObVk6wzjU0CwqO++9eUcvG8OTGjIv3ozFHWZAAX2UWARNWedpBUh8n11bIFDw4CPSXqmC/WYxw==", + "version": "1.3.62", + "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.62.tgz", + "integrity": "sha512-fZOGAbpXyYUbraln7ElVbJPCCWi2g6+9o8PfmfVPubE0TxYTI6eBqP5IBWR0aZPR1umSbR88EJBm9CLO1Sdtuw==", "license": "NONE", "dependencies": { "apisauce": "^1.1.2", @@ -25003,9 +25003,9 @@ } }, "@walmart/ask-sam-mini-app": { - "version": "1.3.61", - "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.61.tgz", - "integrity": "sha512-e9LLLw/st1ikObVk6wzjU0CwqO++9eUcvG8OTGjIv3ozFHWZAAX2UWARNWedpBUh8n11bIFDw4CPSXqmC/WYxw==", + "version": "1.3.62", + "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.62.tgz", + "integrity": "sha512-fZOGAbpXyYUbraln7ElVbJPCCWi2g6+9o8PfmfVPubE0TxYTI6eBqP5IBWR0aZPR1umSbR88EJBm9CLO1Sdtuw==", "requires": { "apisauce": "^1.1.2", "axios-cache-adapter": "^2.7.3", --- package.json @@ -77,7 +77,7 @@ "@walmart/allspark-neon-core": "0.1.31", "@walmart/amp-mini-app": "1.0.11", "@walmart/ask-sam-chat-components": "^0.2.7", - "@walmart/ask-sam-mini-app": "1.3.61", + "@walmart/ask-sam-mini-app": "1.3.62", "@walmart/attendance-mini-app": "0.86.0", "@walmart/config-components": "4.1.0-rc.4", "@walmart/core-services": "~2.0.19",
Bumping the version aligning to feature/drop10
Bumping the version aligning to feature/drop10
be564a00dfad60981191cd2bdd91a5867dbc81ee
--- package-lock.json @@ -3154,9 +3154,9 @@ } }, "@walmart/push-to-talk-mini-app": { - "version": "0.5.11", - "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.11.tgz", - "integrity": "sha512-/Koqd5NXYRxRp6uI+Kq6s/R6B6WJcbTxOmmje1yIhE8UZbhXxrPeUij7zJyD8M2kjlaZkPNd2FdoTrjHRPolMg==" + "version": "0.5.12", + "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.12.tgz", + "integrity": "sha512-kz11mbjaOHc7gidjVGQBNczLCafVr4GP83+UvcoNkRtkr+VYW0ZyTXkh9fUI1nqa9oFW5m74fiEr7Imf2HyO6Q==" }, "@walmart/react-native-collapsible": { "version": "1.5.3", --- package.json @@ -74,7 +74,7 @@ "@walmart/impersonation-mini-app": "1.0.15", "@walmart/inbox-mini-app": "0.0.94", "@walmart/moment-walmart": "1.0.4", - "@walmart/push-to-talk-mini-app": "0.5.11", + "@walmart/push-to-talk-mini-app": "0.5.12", "@walmart/react-native-env": "^0.1.0", "@walmart/react-native-logger": "^1.25.0", "@walmart/react-native-shared-navigation": "^0.4.0",
PTT Version bump
PTT Version bump
6504e8897531308847f0e779d4d41fa307aa0485
--- packages/core-services-allspark/package.json @@ -19,7 +19,7 @@ "author": "", "license": "ISC", "devDependencies": { - "@walmart/allspark-foundation": "patch:@walmart/allspark-foundation@npm%3A6.20.2#~/.yarn/patches/@walmart-allspark-foundation-npm-6.20.2-63c5884a2a.patch", + "@walmart/allspark-foundation": "*", "@walmart/me-at-walmart-common": "workspace:^", "@walmart/me-at-walmart-container": "workspace:^", "typescript": "5.0.4" --- packages/me-at-walmart-common/package.json @@ -20,7 +20,7 @@ "prepack": "npm run build" }, "devDependencies": { - "@walmart/allspark-foundation": "patch:@walmart/allspark-foundation@npm%3A6.20.2#~/.yarn/patches/@walmart-allspark-foundation-npm-6.20.2-63c5884a2a.patch", + "@walmart/allspark-foundation": "*", "typescript": "5.0.4" }, "peerDependencies": { --- yarn.lock @@ -6247,7 +6247,7 @@ __metadata: version: 0.0.0-use.local resolution: "@walmart/core-services-allspark@workspace:packages/core-services-allspark" dependencies: - "@walmart/allspark-foundation": "patch:@walmart/allspark-foundation@npm%3A6.20.2#~/.yarn/patches/@walmart-allspark-foundation-npm-6.20.2-63c5884a2a.patch" + "@walmart/allspark-foundation": "npm:*" "@walmart/me-at-walmart-common": "workspace:^" "@walmart/me-at-walmart-container": "workspace:^" typescript: "npm:5.0.4" @@ -6716,7 +6716,7 @@ __metadata: version: 0.0.0-use.local resolution: "@walmart/me-at-walmart-common@workspace:packages/me-at-walmart-common" dependencies: - "@walmart/allspark-foundation": "patch:@walmart/allspark-foundation@npm%3A6.20.2#~/.yarn/patches/@walmart-allspark-foundation-npm-6.20.2-63c5884a2a.patch" + "@walmart/allspark-foundation": "npm:*" typescript: "npm:5.0.4" peerDependencies: "@reduxjs/toolkit": "*"
chore: code cleanup
chore: code cleanup
3421d780a9465a65127262c6d44a43281974bad2
--- README.md @@ -49,6 +49,8 @@ You will also need to add your SSH key to Walmart github using [these](https://d ## Running on Android -For faster local consecutive builds, add below line in your `.zshrc` or `.bash_profile` - -`export REACT_NATIVE_DOWNLOADS_DIR=$HOME/.react-native-downloads` +For faster local consecutive builds follow below instructions after builing the app for first time. +1. After downloading and building the app go to `node_modules\expo-modules-core\android\build\downloads` +2. Copy the folder downloads and move them to a folder under $HOME e.g. `$HOME/.react-native-downloads` +3. open your `.zshrc` (e.g. `nano .zshrc`) and enter `export REACT_NATIVE_DOWNLOADS_DIR=$HOME/.react-native-downloads` after you have all your alias defined or anywhere in the file. Note: If you use bash you will need to edit `.bash_profile` +
Updated readme for Android local build
Updated readme for Android local build
c6595e893098b1ba1bbd7b699d00c1b731791156
--- package-lock.json @@ -3384,9 +3384,9 @@ "integrity": "sha512-DMXzHrlFBvd5qOHxju7irJ+4UkclgpwJVlEKzPqmL4oQPYXkjCydvbJR0O5FmZtDDyBrKxKtofD2vD4nyBeHPA==" }, "@walmart/inbox-mini-app": { - "version": "0.14.0", - "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.14.0.tgz", - "integrity": "sha512-73HAEev8DeHModZVTry22tqKnV5jJcaL4IyUVWvlvoyZ4iZfNgdIsR6VEzYN1TW5DHH5d44heAIR3K8kdUb4Qw==" + "version": "0.15.0", + "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.15.0.tgz", + "integrity": "sha512-qv9vvG0wedOq19BRSgsdX+eeVKoMd7DsnDhA6qlROw+7VocAiGYSZcctZPQO5SApUWLOCE6uZaFBKTBX/X+Wmw==" }, "@walmart/iteminfo-mini-app": { "version": "2.0.12", @@ -3634,9 +3634,9 @@ } }, "@walmart/ui-components": { - "version": "1.1.69", - "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.1.69.tgz", - "integrity": "sha512-+nSbiS9ZTs/VJ12OpYxKr6wtwbj6lSWiBEjS2HrSpcKQnKRSR6p4u0RAq/4ILGbME5frADL8Wipf/Kgh0HuUdQ==", + "version": "1.1.72", + "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.1.72.tgz", + "integrity": "sha512-mBKMtf2l0MooWx+63FC+3R8XdAcrS0avbfvsSnb2EfXI/KK2JNmLPBJCgN8VTbmUNVqgrueAd/8VsNQN2M4hVA==", "requires": { "react-native-calendars": "1.299.0" } --- package.json @@ -83,7 +83,7 @@ "@walmart/gtp-shared-components": "^1.2.0", "@walmart/impersonation-mini-app": "1.0.20", "@walmart/ims-print-services-ui": "0.0.36", - "@walmart/inbox-mini-app": "0.14.0", + "@walmart/inbox-mini-app": "0.15.0", "@walmart/iteminfo-mini-app": "2.0.12", "@walmart/manager-approvals-miniapp": "0.0.56", "@walmart/metrics-mini-app": "0.4.12", @@ -96,7 +96,7 @@ "@walmart/redux-store": "^1.0.15", "@walmart/schedule-mini-app": "0.4.4", "@walmart/settings-mini-app": "1.3.9", - "@walmart/ui-components": "1.1.69", + "@walmart/ui-components": "1.1.72", "@walmart/shelfavailability-mini-app": "0.5.0", "@walmart/time-clock-mini-app": "0.4.24", "@walmart/welcomeme-mini-app": "0.30.4",
SSMP-2424
SSMP-2424
775e0ec5606c2c13ef188ec2320b8f5c0bccf21a
--- packages/allspark-foundation/src/Telemetry/types.ts @@ -46,6 +46,16 @@ export type TelemetryConfig = { * Additional fields to include in the telemetry data. */ fields?: Record<string, any>; + /** + * Prefix used with telemetry events, defaults to feature id + * prefix.some_event + */ + prefix?: string; + /** + * If a prefix should be used for telemetry events + * prefix.some_event vs some_event + */ + usePrefix?: boolean; [key: string]: any; };
feat: add prefix related options to the telemetry config type
feat: add prefix related options to the telemetry config type
0d926be17f39ef0b36752b9ba9bb6fd722b9d44d
--- src/navigation/index.tsx @@ -8,7 +8,6 @@ import {TabsScreen} from '../screens/TabsScreen'; import {NewMessageScreen} from '../screens/NewMessageScreen'; import {ViewTeamScreen} from '../screens/ViewTeamScreen'; import { - SearchHeader, SearchHeaderRight, SearchScreen, } from '../screens/SearchScreen'; @@ -76,7 +75,7 @@ export const TextingNavigation = () => { name='myTeam.searchScreen' options={{ presentation: 'transparentModal', - header: SearchHeader, + //header: SearchHeader, //TODO: Integrate from roster mini app }} component={SearchScreen} /> --- src/screens/MeganavScreen.tsx @@ -136,11 +136,7 @@ export const MeganavScreenBase: React.FC<MeganavScreenProps> = (props) => { </View> <View style={styles.extraView} /> </View> - <ChannelsScreen - navigation={navigation} - newMessageButtonOffset={{x: 16, y: 95}} - isMeganavScreen={true} - /> + <ChannelsScreen /> <View style={styles.btnInfoContainer}> <ButtonGroup UNSAFE_style={styles.buttonGroup}> <Button
updating navigation structure
updating navigation structure
79188e6ae8420a0a1db3cffdc1bf3531daf011d2
--- package-lock.json @@ -88,7 +88,7 @@ "@walmart/time-clock-mini-app": "2.175.1", "@walmart/topstock-mini-app": "1.2.3", "@walmart/ui-components": "1.15.1", - "@walmart/welcomeme-mini-app": "0.84.2-739-bacf009", + "@walmart/welcomeme-mini-app": "0.84.3", "@walmart/wfm-ui": "0.2.26", "axios": "~1.2.6", "axios-cache-adapter": "2.7.3", @@ -9378,9 +9378,9 @@ } }, "node_modules/@walmart/welcomeme-mini-app": { - "version": "0.84.2-739-bacf009", - "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.84.2-739-bacf009.tgz", - "integrity": "sha512-mKogz2WJZZw1xTK2VD/6FHSBsz74j2Znj6EwPVFh+sOu9Q7d2KYffJ9d0Ap5/IwjJoqaYd9t6hJAYfgN7mq3Tg==", + "version": "0.84.3", + "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.84.3.tgz", + "integrity": "sha512-G8VD9YcaB19dgMSQh/pN5zop7OsiifpIp3vfLRvUmsdDYaxtHu3JMGX/FYiw5LRYfyMozN9YuuSTHLrYUgJcEg==", "hasInstallScript": true, "dependencies": { "apisauce": "^1.1.2" @@ -34031,9 +34031,9 @@ } }, "@walmart/welcomeme-mini-app": { - "version": "0.84.2-739-bacf009", - "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.84.2-739-bacf009.tgz", - "integrity": "sha512-mKogz2WJZZw1xTK2VD/6FHSBsz74j2Znj6EwPVFh+sOu9Q7d2KYffJ9d0Ap5/IwjJoqaYd9t6hJAYfgN7mq3Tg==", + "version": "0.84.3", + "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.84.3.tgz", + "integrity": "sha512-G8VD9YcaB19dgMSQh/pN5zop7OsiifpIp3vfLRvUmsdDYaxtHu3JMGX/FYiw5LRYfyMozN9YuuSTHLrYUgJcEg==", "requires": { "apisauce": "^1.1.2" } --- package.json @@ -129,7 +129,7 @@ "@walmart/time-clock-mini-app": "2.175.1", "@walmart/topstock-mini-app": "1.2.3", "@walmart/ui-components": "1.15.1", - "@walmart/welcomeme-mini-app": "0.84.2-739-bacf009", + "@walmart/welcomeme-mini-app": "0.84.3", "@walmart/wfm-ui": "0.2.26", "axios": "~1.2.6", "axios-cache-adapter": "2.7.3",
chore: welcomeme version bump
chore: welcomeme version bump
25657f1679ea71cbb8b3dd5c1c07b6041c3a670a
--- src/navigation/AssociateHallwayNav/MainStackNav.tsx @@ -136,6 +136,7 @@ export const MainStackNav = () => { component={TermsOfUse} options={{ title: translate('navigation.terms_of_use'), + headerBackImage: renderHeaderCloseImage, }} /> <MainStack.Screen
adding close image to terms of use nav settings
adding close image to terms of use nav settings
00a953b6550507a7d26a599600e16b15d6db480a
--- scripts/mini-app-scan/lint-changed-walmart-libs.ts @@ -38,8 +38,13 @@ console.log(`Comparing package.json to ${COMPARE_BRANCH}...`); // Try to fetch the specific branch ref, fallback to fetch all if needed try { execSync(`git fetch origin ${COMPARE_BRANCH}:${COMPARE_BRANCH}`, {stdio: 'ignore'}); -} catch { - try { execSync('git fetch origin', {stdio: 'ignore'}); } catch { } +} catch (error) { + console.warn(`Failed to fetch branch ${COMPARE_BRANCH}:`, error.message); + try { + execSync('git fetch origin', {stdio: 'ignore'}); + } catch (fetchAllError) { + console.warn('Failed to fetch all branches:', fetchAllError.message); + } } // --- Configurable patterns for package detection --- //
Update scripts/mini-app-scan/lint-changed-walmart-libs.ts
Update scripts/mini-app-scan/lint-changed-walmart-libs.ts Co-authored-by: qodo-merge[bot] <98856+qodo-merge[bot]@users.noreply.gecgithub01.walmart.com>
2933016d2b27ebd99de2b71b039263a79643397d
--- __tests__/screens/RosterScreenTest.tsx @@ -2,7 +2,9 @@ import React from 'react'; describe('RosterScreen', () => { - it('should render the teams list', () => {}); + it('should render the teams list', () => { + + }); it('should render the associate list', () => {}); it('should render the weekly schedule header', () => {}); }); --- src/components/TeamList.tsx @@ -64,7 +64,7 @@ const teamIconMap = { totalStore: Images.totalStore, }; -export const TeamChatCard = (props: { +export const TeamList = (props: { style?: StyleProp<ViewStyle>; onViewTeamButtonPress: any; }) => { --- src/components/index.ts @@ -3,4 +3,4 @@ export * from './AssociateRosterItem'; export * from './Avatar'; export * from './MessagesHeader'; export * from './MessageTimeSectionHeader'; -export * from './TeamChatCard'; +export * from './TeamList'; --- src/screens/RosterScreen.tsx @@ -14,7 +14,7 @@ import {ClockStatusSelectors} from '@walmart/redux-store'; import {Alert, Body, Button, Spinner} from '@walmart/gtp-shared-components'; import {Associate} from '../types'; -import {AssociateRosterItem, TeamChatCard} from '../components'; +import {AssociateRosterItem, TeamList} from '../components'; import {RosterFilters} from '../containers/RosterFilters'; import {StoreChatCard} from '../containers/StoreChatCard'; import {useStartAssociateText, useGetTeamsInfo} from '../hooks'; @@ -262,7 +262,7 @@ export const RosterScreen: React.FC<Props> = ({navigation}) => { /> {teams?.length ? ( - <TeamChatCard + <TeamList style={styles.teamCard} onViewTeamButtonPress={goToViewTeamScreen} /> --- __tests__/screens/RosterScreenTest.tsx @@ -2,7 +2,9 @@ import React from 'react'; describe('RosterScreen', () => { - it('should render the teams list', () => {}); + it('should render the teams list', () => { + + }); it('should render the associate list', () => {}); it('should render the weekly schedule header', () => {}); }); --- src/components/TeamList.tsx @@ -64,7 +64,7 @@ const teamIconMap = { totalStore: Images.totalStore, }; -export const TeamChatCard = (props: { +export const TeamList = (props: { style?: StyleProp<ViewStyle>; onViewTeamButtonPress: any; }) => { --- src/components/index.ts @@ -3,4 +3,4 @@ export * from './AssociateRosterItem'; export * from './Avatar'; export * from './MessagesHeader'; export * from './MessageTimeSectionHeader'; -export * from './TeamChatCard'; +export * from './TeamList'; --- src/screens/RosterScreen.tsx @@ -14,7 +14,7 @@ import {ClockStatusSelectors} from '@walmart/redux-store'; import {Alert, Body, Button, Spinner} from '@walmart/gtp-shared-components'; import {Associate} from '../types'; -import {AssociateRosterItem, TeamChatCard} from '../components'; +import {AssociateRosterItem, TeamList} from '../components'; import {RosterFilters} from '../containers/RosterFilters'; import {StoreChatCard} from '../containers/StoreChatCard'; import {useStartAssociateText, useGetTeamsInfo} from '../hooks'; @@ -262,7 +262,7 @@ export const RosterScreen: React.FC<Props> = ({navigation}) => { /> {teams?.length ? ( - <TeamChatCard + <TeamList style={styles.teamCard} onViewTeamButtonPress={goToViewTeamScreen} />
rename teamChatCard to TeamList
rename teamChatCard to TeamList
b98a8ed1be24b05a4ee140eb465eb4d06904a7cf
--- package-lock.json @@ -103,7 +103,7 @@ "@walmart/store-feature-orders": "1.26.5", "@walmart/taskit-mini-app": "2.64.8", "@walmart/time-clock-mini-app": "2.338.1", - "@walmart/topstock-mini-app": "1.7.1", + "@walmart/topstock-mini-app": "1.8.5", "@walmart/ui-components": "1.15.9", "@walmart/welcomeme-mini-app": "0.88.2", "@walmart/wfm-ui": "0.8.4", @@ -12505,9 +12505,9 @@ "license": "GPL-3.0-or-later" }, "node_modules/@walmart/topstock-mini-app": { - "version": "1.7.1", - "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.7.1.tgz", - "integrity": "sha512-6Xlpfgz9RURCCqurjTRtLU1qivNzSrVrjHbu8H3SdonnSZY/FURNCmxn9PJPjgWBqdyIYNgAZV5yqHBYVzkHNQ==", + "version": "1.8.5", + "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.8.5.tgz", + "integrity": "sha512-ziz70WEtLnTXXW39a756/JelodHxxe6jrjMQsWJO8OFLFt2PGIJ+R+pd0JeOAHucLKT67ai9csSkFdnsKhxj9Q==", "peerDependencies": { "@react-native-firebase/app": "^15.1.1", "@react-native-firebase/crashlytics": "^15.1.1", --- package.json @@ -144,7 +144,7 @@ "@walmart/store-feature-orders": "1.26.5", "@walmart/taskit-mini-app": "2.64.8", "@walmart/time-clock-mini-app": "2.338.1", - "@walmart/topstock-mini-app": "1.7.1", + "@walmart/topstock-mini-app": "1.8.5", "@walmart/ui-components": "1.15.9", "@walmart/welcomeme-mini-app": "0.88.2", "@walmart/wfm-ui": "0.8.4", @@ -401,7 +401,7 @@ "@walmart/store-feature-orders": "1.26.5", "@walmart/taskit-mini-app": "2.64.8", "@walmart/time-clock-mini-app": "2.338.1", - "@walmart/topstock-mini-app": "1.7.1", + "@walmart/topstock-mini-app": "1.8.5", "@walmart/ui-components": "1.15.9", "@walmart/welcomeme-mini-app": "0.88.2", "@walmart/wfm-ui": "0.8.4",
feature(release): updated topstock version to 1.8.5
feature(release): updated topstock version to 1.8.5
d8764a34b90ce634f420e7fd5ce9d4ec14270df8
--- package-lock.json @@ -5259,9 +5259,9 @@ "integrity": "sha512-Ew95y0sb7r6aqL2AtanmTDTscP7cyRcxvOr0VV4q22Cohe7Dkqmk3JoRqqmV+JLNep1a0K4yI2E+RtSMZ53vZA==" }, "@walmart/feedback-all-spark-miniapp": { - "version": "0.8.0", - "resolved": "https://npme.walmart.com/@walmart/feedback-all-spark-miniapp/-/feedback-all-spark-miniapp-0.8.0.tgz", - "integrity": "sha512-BCSZrFN5yovbbqy+o2tgnE4PP4/pUxk/3Yf6b6JBKE9d18otGnIIsbYGvA5652Ypgq04sc2pvX2QkwwExtzWjg==" + "version": "0.9.0", + "resolved": "https://npme.walmart.com/@walmart/feedback-all-spark-miniapp/-/feedback-all-spark-miniapp-0.9.0.tgz", + "integrity": "sha512-pAGshaBGeOTg28BMkFCinvIY5KvuVYGDUivv6czaVNzEaz2igpZFN6CwzMcRnUOtyXLmjGSmje7cIQCf8C+fTg==" }, "@walmart/financial-wellbeing-feature-app": { "version": "1.0.29", --- package.json @@ -88,7 +88,7 @@ "@walmart/counts-component-miniapp": "0.0.39", "@walmart/exception-mini-app": "0.43.1", "@walmart/facilities-management-miniapp": "0.3.26", - "@walmart/feedback-all-spark-miniapp": "0.8.0", + "@walmart/feedback-all-spark-miniapp": "0.9.0", "@walmart/financial-wellbeing-feature-app": "1.0.29", "@walmart/functional-components": "2.0.6", "@walmart/gta-react-native-calendars": "0.0.15",
feedbackmini app version bump
feedbackmini app version bump
f12061173ab4fc6ac3cd2a4eff2980ba7f3b729e
--- packages/core-services-allspark/src/logger/sagas.ts @@ -75,12 +75,13 @@ export function* onUserChanged(this: LoggerSagaScope) { this.logger.setUserInfo({ country: user.countryCode || 'US', + state: String(user.state), employeeType: user.employeeType || '', homeSite: String(user.homeSite), storeNumber: String(storeNumber), - division: String(user?.division), + division: String(user.division), impersonating: String(impersonating), - regionNumber: String(user?.regionNumber), + regionNumber: String(user.regionNumber), userId: encryptUserId(userId, encryptionKey), domain: UserSelectors.getDomain(user, isPreHire) || '', employmentStatus: UserSelectors.getEmploymentStatus(user) || '',
fix: add state to user info on logger
fix: add state to user info on logger
d82d086bd7bfadc0ea52ed467457c42ef583b0ed
--- 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.86.3", + "@walmart/sidekick-mini-app": "4.83.5", "@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 @@ -7103,7 +7103,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.86.3" + "@walmart/sidekick-mini-app": "npm:4.83.5" "@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" @@ -7974,9 +7974,9 @@ __metadata: languageName: node linkType: hard -"@walmart/sidekick-mini-app@npm:4.86.3": - version: 4.86.3 - resolution: "@walmart/sidekick-mini-app@npm:4.86.3" +"@walmart/sidekick-mini-app@npm:4.83.5": + version: 4.83.5 + resolution: "@walmart/sidekick-mini-app@npm:4.83.5" peerDependencies: "@apollo/client": "*" "@react-navigation/native": ^6.0.0 @@ -7989,7 +7989,7 @@ __metadata: expo-linear-gradient: ~12.3.0 react: ^18.2.0 react-native: ^0.73.7 - checksum: 10c0/2fd98c0f7e3f900ea798865c69e94c515be85761455d39eed9e3069fabc0864d7c0b51dfbd782065a1f918b0dc7e81fd83cb0a6b913604c82ca67fa56e4289f0 + checksum: 10c0/3a40f3638c60179f174f1a5715bafea40ca7717f8edad9b6b55c6b65154c0fbc8b0fc713d7e7f4834e8bd6e67a3184583c45375992284547a62b21bfbb86a1ad languageName: node linkType: hard
fix: updated sidekick version for bug fix
fix: updated sidekick version for bug fix
272ea93f9cf10996b83c4083632c56c43fc8cdda
--- package-lock.json @@ -63,7 +63,7 @@ "@walmart/iteminfo-mini-app": "7.4.0", "@walmart/manager-approvals-miniapp": "0.2.4", "@walmart/me-field-mini-app": "13.0.3", - "@walmart/metrics-mini-app": "0.13.11", + "@walmart/metrics-mini-app": "0.13.12", "@walmart/mod-flex-mini-app": "1.10.4", "@walmart/moment-walmart": "1.0.4", "@walmart/onewalmart-miniapp": "1.0.16", @@ -7622,9 +7622,9 @@ } }, "node_modules/@walmart/metrics-mini-app": { - "version": "0.13.11", - "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.13.11.tgz", - "integrity": "sha512-XEf1hQoO7yk2H1aL2pARf5A/cwCgPqKrgjKBQa7/wJPSFDKitgzizNX6aKz4ENsb+D7ZY7+1+dwiPDvET5JoEA==", + "version": "0.13.12", + "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.13.12.tgz", + "integrity": "sha512-MW4vaqw/ExHYpc835SC4YEzUuRzmFoP2g7PM7Vni0r4uzSnQLMD663a25Y9RMbx8TuAdi1cG7PqpPi1cV567mQ==", "dependencies": { "@types/base-64": "^1.0.0", "apisauce": "1.1.2", @@ -30574,9 +30574,9 @@ "integrity": "sha512-JvV5AUWQ51uTUyD3LNk0UD8W5nQjUTRnMdJMvh2x3OHmKAhqTGctHoKjcpBzrtZlBie6e6Az3CUWtPrcA2TZwA==" }, "@walmart/metrics-mini-app": { - "version": "0.13.11", - "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.13.11.tgz", - "integrity": "sha512-XEf1hQoO7yk2H1aL2pARf5A/cwCgPqKrgjKBQa7/wJPSFDKitgzizNX6aKz4ENsb+D7ZY7+1+dwiPDvET5JoEA==", + "version": "0.13.12", + "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.13.12.tgz", + "integrity": "sha512-MW4vaqw/ExHYpc835SC4YEzUuRzmFoP2g7PM7Vni0r4uzSnQLMD663a25Y9RMbx8TuAdi1cG7PqpPi1cV567mQ==", "requires": { "@types/base-64": "^1.0.0", "apisauce": "1.1.2",
metrics version bump
metrics version bump
faa8ab59dd0dfde64dd84f01f02ae39f43618c2f
--- src/components/ActionButton/index.tsx @@ -34,7 +34,7 @@ export const ActionButton = ({ }); return ( - <TouchableOpacity disabled={disabled} {...buttonProps}> + <TouchableOpacity {...buttonProps}> <Animated.View style={[styles.button]}> {loading ? ( <ActivityIndicator size='small' /> --- src/components/ActionButton/index.tsx @@ -34,7 +34,7 @@ export const ActionButton = ({ }); return ( - <TouchableOpacity disabled={disabled} {...buttonProps}> + <TouchableOpacity {...buttonProps}> <Animated.View style={[styles.button]}> {loading ? ( <ActivityIndicator size='small' />
disabledStyle removed from ActionButton/index
disabledStyle removed from ActionButton/index
6edc6cb27ca27c05119a8616ee74f3c92b430148
--- 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.39.0", + "@walmart/roster-mini-app": "2.41.0", "@walmart/ui-components": "1.15.1", - "@walmart/wmconnect-mini-app": "2.37.0", + "@walmart/wmconnect-mini-app": "2.37.1", "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.39.0" + "@walmart/roster-mini-app": "npm:2.41.0" "@walmart/ui-components": "npm:1.15.1" - "@walmart/wmconnect-mini-app": "npm:2.37.0" + "@walmart/wmconnect-mini-app": "npm:2.37.1" 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.39.0": - version: 2.39.0 - resolution: "@walmart/roster-mini-app@npm:2.39.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.39.0.tgz" +"@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" 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/4c087eef4c16d430590a1e3d9016aa2dd5c6260023ee1101a83ea604c4c81092e8883dbee2704be7c17571f141eee42033b463c864a14615b20644d6b13da4ff + checksum: 10c0/8d7cfd54359427e0a709694ec5e248cc90ddedbb09dfe00e6ff82390e08fa0d6b01ce71a1088804b2f6c94bc22b06f3cda0b77b319fc7082d62fd2618c1bbb6b languageName: node linkType: hard @@ -7241,9 +7241,9 @@ __metadata: languageName: node linkType: hard -"@walmart/wmconnect-mini-app@npm:2.37.0": - version: 2.37.0 - resolution: "@walmart/wmconnect-mini-app@npm:2.37.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.37.0.tgz" +"@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" 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/c44e72c8868ce9a0a3f28f478ee90e7e6937bbecca70cc0b072eb3d3cb554d010569e647f8878d15148251bf27b229f54b9d596121f3013133074863f917194d + checksum: 10c0/da10edb453595540a412568513b18de5565279ff18dc6dae8af57aa197ed746a0f7832d0aa0e793620421e35ec922522271a6fcd2cf2ed7208e7a315ed62fc98 languageName: node linkType: hard
feat(ui): version update
feat(ui): version update
17f4b6c1887be11a7dbc41e22d6b62d19d7b16e7
--- .looper.multibranch.yml @@ -47,6 +47,7 @@ cache: envs: global: variables: + CI: "true" LOOPER_NODES: "((osx||stable_osx)&&!MAC-LAB-MINI29&&!MAC-LAB-MINI39&&!MAC-LAB-MINI32&&!MAC-LAB-MINI22)" GITHUB_TOKEN: "%{credentials.secret('GITHUB_TOKEN')}" @@ -485,10 +486,6 @@ flows: - dir(android): - (name setting environment) npm run env:${env} - npm run jetifier - - ls -l /usr/local/var/run/watchman/jenkinspan-state - - rm /usr/local/var/run/watchman/jenkinspan-state/pid - - rm /usr/local/var/run/watchman/jenkinspan-state/state - - rm /usr/local/var/run/watchman/jenkinspan-state/log - | (name build and align apk) #!/bin/sh -x
hopefully disabling watchman for metro bundler
hopefully disabling watchman for metro bundler
038df24397c235674d95395b10301a7a66e031d3
--- package.json @@ -159,7 +159,7 @@ "@walmart/walmart-fiscal-week": "^0.3.6", "@walmart/welcomeme-mini-app": "1.0.11", "@walmart/wfm-ui": "2.4.0", - "@walmart/wm-plus-mini-app": "1.5.2", + "@walmart/wm-plus-mini-app": "1.5.3", "@walmart/wmconnect-mini-app": "2.24.0", "axios": "~1.6.0", "axios-cache-adapter": "patch:axios-cache-adapter@npm%3A2.7.3#~/.yarn/patches/axios-cache-adapter-npm-2.7.3-26c357b785.patch", --- yarn.lock @@ -7379,7 +7379,7 @@ __metadata: "@walmart/walmart-fiscal-week": "npm:^0.3.6" "@walmart/welcomeme-mini-app": "npm:1.0.11" "@walmart/wfm-ui": "npm:2.4.0" - "@walmart/wm-plus-mini-app": "npm:1.5.2" + "@walmart/wm-plus-mini-app": "npm:1.5.3" "@walmart/wmconnect-mini-app": "npm:2.24.0" adaptive-expressions: "npm:^4.13.5" adaptivecards-templating: "npm:^2.1.0" @@ -8639,16 +8639,16 @@ __metadata: languageName: node linkType: hard -"@walmart/wm-plus-mini-app@npm:1.5.2": - version: 1.5.2 - resolution: "@walmart/wm-plus-mini-app@npm:1.5.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwm-plus-mini-app%2F-%2F%40walmart%2Fwm-plus-mini-app-1.5.2.tgz" +"@walmart/wm-plus-mini-app@npm:1.5.3": + version: 1.5.3 + resolution: "@walmart/wm-plus-mini-app@npm:1.5.3::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwm-plus-mini-app%2F-%2F%40walmart%2Fwm-plus-mini-app-1.5.3.tgz" peerDependencies: "@walmart/allspark-foundation": ">=6.0.0" expo: 50.0.17 expo-image: 1.5.2 react: "*" react-native: "*" - checksum: 10c0/00036da8815a1f7a82282e1f74e2ac52184cc850fa7b6e07cde8c997c4bb10e221eb151afe06fbb1e861f063900c9e8bef06b7197558fd8c4494bcb36ea48cbc + checksum: 10c0/32c635d9ecb50c3d42eb95abc07ecf8342eeb52fd84b1476be122de5af7ca59783b0350e2c9fc258720c17f0dff73f0832846dacc1d7430f287987ecf2978fa0 languageName: node linkType: hard
feat(profile): CEWMPLUS-115039 update wmplus miniapp to 1.5.3 (#4126)
feat(profile): CEWMPLUS-115039 update wmplus miniapp to 1.5.3 (#4126)
9c4d7317f3ea71365b952f131210c69d4229e82d
--- .looper-pr.yml @@ -13,11 +13,6 @@ flows: - (name Yarn Install) yarn install - (name Test Coverage) yarn run coverage - commit-convention-checker: - - echo 'conventional commit disabled' - semantic-dry-run: - - echo 'semantic dryrun disabled' - envs: global: variables:
fix: SMDV-9999 update looper
fix: SMDV-9999 update looper
393ba89ff3ac7d63d3782f5b45c0cea237d2914b
--- src/managerExperience/components/ShiftSwitcherContainer/ShiftSwitcherContainer.tsx @@ -28,7 +28,7 @@ export const ShiftSwitcherContainer = ({ {!isPrimaryTeam && ( <Chip id='switcher' testID='shiftChip' UNSAFE_style={styles.shiftChip}> {t('rosterScreen.shiftChip.shift')} - {t('rosterScreen.shiftChip.separator')} + {' | '} <Text style={styles.downCaret}>&#9660;</Text> </Chip> )} --- src/translations/en-US.ts @@ -41,7 +41,6 @@ export const enUS = { }, shiftChip: { shift: 'Shift ', - separator: ' | ', }, statusChips: { absent: 'Absent', --- src/translations/es-MX.ts @@ -41,7 +41,6 @@ export const esMX = { }, shiftChip: { shift: 'Turno ', - separator: ' | ', }, statusChips: { absent: 'Ausente',
fix: adding separator manually
fix: adding separator manually
c707ad01f0bd54af62f74a4edf3c587b764fd43e
--- src/auth/ErrorScreen.tsx @@ -205,7 +205,7 @@ export const ErrorScreen: FC<any> = (props) => { /> </View> )} - {missingFields && !formDirty && ( + {missingFields && formDirty && ( <View style={styles.requiredErrorContainer}> <Subheader testID='error-msg' style={styles.requiredError}> {translate('ssoError.requiredError')}
fix show error msg
fix show error msg