commit_hash
stringlengths
40
40
input
stringlengths
13
7.99k
output
stringlengths
5
155
full_message
stringlengths
6
8.96k
400a084a7150f28ea9b9e29254acad114a9187b1
--- __tests__/channels/components/ChannelRow.test.tsx @@ -142,7 +142,7 @@ describe('ChannelRow', () => { }, }, }; - const component = renderWithProviders(<ChannelRow channelPath={path} />, { + const component = renderWithProviders(<ChannelRow channelPath={path} rosterData={mockGetDailyRosterQuery.result.data} />, { channelsContext: updatedContext, }); await finishPendingRequests();
test(ui): updates tests
test(ui): updates tests
240d34039e05c69e836bbcc50cca561c1691cd11
--- targets/US/package.json @@ -87,7 +87,7 @@ "@walmart/ask-sam-mini-app": "1.25.1", "@walmart/associate-listening-mini-app": "1.2.7", "@walmart/attendance-mini-app": "3.95.0", - "@walmart/avp-feature-app": "0.10.10", + "@walmart/avp-feature-app": "0.10.12", "@walmart/avp-shared-library": "0.10.5", "@walmart/backroom-mini-app": "1.7.4", "@walmart/calling-mini-app": "0.5.17", --- yarn.lock @@ -6036,9 +6036,9 @@ __metadata: languageName: node linkType: hard -"@walmart/avp-feature-app@npm:0.10.10": - version: 0.10.10 - resolution: "@walmart/avp-feature-app@npm:0.10.10" +"@walmart/avp-feature-app@npm:0.10.12": + version: 0.10.12 + resolution: "@walmart/avp-feature-app@npm:0.10.12" peerDependencies: "@react-navigation/native": ">=6.0.8" "@react-navigation/stack": ">=6.1.1" @@ -6047,7 +6047,7 @@ __metadata: react-native: ">=0.72.10" react-redux: ">=8.0.4" redux: ">=4.2.1" - checksum: 10c0/f7f3ace63cbf1bf49132fa1b2f8433c49899ab50458966d9c7d5fed2b41c40717753931e3932af7bdd363f0a3496c195c5b6c2b476708b64ca805df055a1ba9d + checksum: 10c0/d46fd073fbb1414d01a5c9faea4fc918397d794881c07e6962dc891e93e937fe814d472a0038af8c7e6bf7ec13c6b32cc8c34c20ae1c02682d16df3f97792cde languageName: node linkType: hard @@ -7002,7 +7002,7 @@ __metadata: "@walmart/ask-sam-mini-app": "npm:1.25.1" "@walmart/associate-listening-mini-app": "npm:1.2.7" "@walmart/attendance-mini-app": "npm:3.95.0" - "@walmart/avp-feature-app": "npm:0.10.10" + "@walmart/avp-feature-app": "npm:0.10.12" "@walmart/avp-shared-library": "npm:0.10.5" "@walmart/backroom-mini-app": "npm:1.7.4" "@walmart/calling-mini-app": "npm:0.5.17"
bumped avp
bumped avp
5e9c1cf042baa021992595c93c21131d0fa038b5
--- targets/US/package.json @@ -91,7 +91,7 @@ "@walmart/avp-shared-library": "0.10.1", "@walmart/backroom-mini-app": "1.7.4", "@walmart/calling-mini-app": "0.5.17", - "@walmart/checkout-mini-app": "4.0.9", + "@walmart/checkout-mini-app": "4.0.10", "@walmart/compass-sdk-rn": "5.19.15", "@walmart/config-components": "4.4.5", "@walmart/core-services": "~6.5.2", --- yarn.lock @@ -6153,9 +6153,9 @@ __metadata: languageName: node linkType: hard -"@walmart/checkout-mini-app@npm:4.0.9": - version: 4.0.9 - resolution: "@walmart/checkout-mini-app@npm:4.0.9" +"@walmart/checkout-mini-app@npm:4.0.10": + version: 4.0.10 + resolution: "@walmart/checkout-mini-app@npm:4.0.10" dependencies: "@stomp/stompjs": "npm:^7.0.0" cpc-input: "npm:^1.7.28" @@ -6178,8 +6178,6 @@ __metadata: "@walmart/allspark-authentication": "*" "@walmart/allspark-foundation": "*" "@walmart/allspark-utils": "*" - "@walmart/core-services": ">=2" - "@walmart/functional-components": ">=2" "@walmart/gtp-shared-components": ">=2" "@walmart/me-at-walmart-common": "*" "@walmart/react-native-scanner-3.0": ">=0.3.0" @@ -6193,11 +6191,9 @@ __metadata: react-native-device-info: ^8.4.9 react-native-flipper: ^0.191.0 react-native-safe-area-context: "*" - react-native-wm-network: "*" - react-native-wm-telemetry: ">=6" react-redux: ^8.1.3 redux: ^4.0.5 - checksum: 10c0/3166b66ff3abf03e551f95e22acb1120f7c534f8523c2250529b385b32b6783e94a5b6ad63e9fa6f43b76f65579d0ba116257b72bcd12ae056c8ceee52f217c1 + checksum: 10c0/2e4672a576ef35206fb9b951439b77a765ff5e075459948cf8ad665935e485eabb90970dbb65830cfdd4335779880c25391a6caf7bbd26fb7255c56f8a6ae218 languageName: node linkType: hard @@ -7007,7 +7003,7 @@ __metadata: "@walmart/avp-shared-library": "npm:0.10.1" "@walmart/backroom-mini-app": "npm:1.7.4" "@walmart/calling-mini-app": "npm:0.5.17" - "@walmart/checkout-mini-app": "npm:4.0.9" + "@walmart/checkout-mini-app": "npm:4.0.10" "@walmart/compass-sdk-rn": "npm:5.19.15" "@walmart/config-components": "npm:4.4.5" "@walmart/core-services": "npm:~6.5.2"
removed deprecated dependencies CO 4.0.10
removed deprecated dependencies CO 4.0.10
6138c17ef0f790a45585aabcc573104dbe6fdcfc
--- packages/allspark-foundation/__tests__/Auth/sagas.test.tsx @@ -0,0 +1,161 @@ +import { select, take, call } from 'redux-saga/effects'; +import { AuthSelectors } from '../../src/Auth//selectors'; +import { onGetUser, onSignIn, onFetchToken, onSignOut, waitForSignIn, waitForToken } from '../../src/Auth/sagas'; +import { AuthActionTypes, IAuthActions } from '../../src/Auth/redux'; +import { AuthResult } from '../../src/Auth/types'; +import {AuthService} from '../../src/Auth/service' +import { AuthActionCreators } from '../../src/Auth/redux'; + +jest.mock('../../src/Auth/service', ()=>({ + AuthService:{ + getUser:jest.fn(), + signIn:jest.fn(), + refreshToken: jest.fn(), + signOut: jest.fn() + } +})) +describe('Auth/sagas.ts', () => { + const mockGetUser = AuthService.getUser as jest.Mock; + const mockSignIn = AuthService.signIn as jest.Mock; + const mockSignOut = AuthService.signOut as jest.Mock; + const mockFetchToken = AuthService.refreshToken as jest.Mock; + + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('should call onGetUser when GET_USER action is dispatched', () => { + const action: IAuthActions['GET_USER'] = { type: AuthActionTypes.GET_USER, payload: undefined }; + const generator = onGetUser(action); + const received = generator.next().value; + expect(received).toEqual(undefined); + expect(generator.next().done).toBe(true); + expect(mockGetUser).toHaveBeenCalled(); + }); + + it('should call onSignIn when SIGN_IN action is dispatched', () => { + const payload = { clientId: 'test', scopes: ['test'], issuer: 'test', redirectUrl: 'test' }; + const action: IAuthActions['SIGN_IN'] = { type: AuthActionTypes.SIGN_IN, payload: payload }; + const generator = onSignIn(action); + const received = generator.next().value; + expect(received).toEqual(undefined); + expect(generator.next().done).toBe(true); + expect(mockSignIn).toHaveBeenCalledWith(payload); + }); + + it('should call onFetchToken when FETCH_TOKEN action is dispatched', () => { + const action: IAuthActions['FETCH_TOKEN'] = { type: AuthActionTypes.FETCH_TOKEN, payload: undefined }; + const generator = onFetchToken(action); + const received = generator.next().value; + expect(received).toEqual(undefined); + expect(generator.next().done).toBe(true); + expect(mockFetchToken).toHaveBeenCalled(); + }); + + it('should call onSignOut when SIGN_OUT action is dispatched', () => { + const action: IAuthActions['SIGN_OUT'] = { type: AuthActionTypes.SIGN_OUT, payload: undefined }; + const generator = onSignOut(action); + const received = generator.next().value; + expect(received).toEqual(undefined); + expect(generator.next().done).toBe(true); + expect(mockSignOut).toHaveBeenCalled(); + }); +}); + +const mockAuthResult: AuthResult = { + scopes: ['test'], + accessToken: 'test', + accessTokenExpirationDate: '', + idToken: 'string', + refreshToken: 'string', + tokenType: 'string', + authorizationCode: 'string' +}; + +describe('waitForSignIn Saga', () => { + beforeEach(() => { + jest.clearAllMocks(); + }); + + function expectSelectEffect(actual) { + expect(actual['@@redux-saga/IO']).toBe(true); + expect(actual.combinator).toBe(false); + expect(actual.type).toBe('SELECT'); + expect(actual.payload.args).toEqual([]); + expect(typeof actual.payload.selector).toBe('function'); + } + + it('should wait for SIGN_IN_SUCCESS or SIGN_IN_ERROR if signing in or data is null and no error', () => { + const iterator = waitForToken(); + expectSelectEffect(iterator.next().value, AuthSelectors.getSigningIn); + expectSelectEffect(iterator.next(true).value, AuthSelectors.getData); + const received = iterator.next().value; + const expected = { + "@@redux-saga/IO": true, + "combinator": false, + "payload": { + "args": [], + "selector": () => {}, + }, + "type": "SELECT", + }; + expect(received['@@redux-saga/IO']).toEqual(expected['@@redux-saga/IO']); + expect(received.combinator).toEqual(expected.combinator); + expect(received.type).toEqual(expected.type); + expect(received.payload.args).toEqual(expected.payload.args); + expect(typeof received.payload.selector).toEqual('function'); + expect(typeof expected.payload.selector).toEqual('function'); + }); + + it('should return data immediately if not signing in, data is available, and no error', () => { + const iterator = waitForToken(); + expectSelectEffect(iterator.next().value, AuthSelectors.getSigningIn); + expectSelectEffect(iterator.next(false).value, AuthSelectors.getData); + expectSelectEffect(iterator.next(mockAuthResult).value, AuthSelectors.getSignInError); + expect(iterator.next(false).done).toBe(false); + expect(iterator.next().value).toEqual(undefined); + }); +}); + +describe('waitForToken Saga', () => { + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('should wait for fetching if data is null and no error', () => { + const iterator = waitForToken(); + + expect(iterator.next().value).toEqual(select(AuthSelectors.getFetchingToken)); + expect(iterator.next(true).value).toEqual(select(AuthSelectors.getAuthToken)); + expect(iterator.next(null).value).toEqual(select(AuthSelectors.getFetchTokenError)); + expect(iterator.next(false).value).toEqual( + take([AuthActionTypes.FETCH_TOKEN_SUCCESS, AuthActionTypes.FETCH_TOKEN_ERROR]) + ); + expect(iterator.next({ type: AuthActionTypes.FETCH_TOKEN_SUCCESS }).value).toEqual(select(AuthSelectors.getAuthToken)); + expect(iterator.next('test-token').value).toEqual('test-token'); + }); + + it('should return data immediately if not fetching, data is available, and no error', () => { + const iterator = waitForToken(); + + expect(iterator.next().value).toEqual(select(AuthSelectors.getFetchingToken)); + expect(iterator.next(false).value).toEqual(select(AuthSelectors.getAuthToken)); + expect(iterator.next('test-token').value).toEqual(select(AuthSelectors.getFetchTokenError)); + expect(iterator.next(false).done).toBe(false); + expect(iterator.next().value).toEqual(undefined); + }); + + it('should handle errors from fetching token', () => { + const iterator = waitForToken(); + + expect(iterator.next().value).toEqual(select(AuthSelectors.getFetchingToken)); + expect(iterator.next(false).value).toEqual(select(AuthSelectors.getAuthToken)); + expect(iterator.next(null).value).toEqual(select(AuthSelectors.getFetchTokenError)); + expect(iterator.next(false).value).toEqual( + take([AuthActionTypes.FETCH_TOKEN_SUCCESS, AuthActionTypes.FETCH_TOKEN_ERROR]) + ); + expect(iterator.next({ type: AuthActionTypes.FETCH_TOKEN_ERROR }).value).toEqual(select(AuthSelectors.getAuthToken)); + expect(iterator.next(null).done).toBe(true); + expect(iterator.next().value).toEqual(undefined); + }); +});
added saga test cases for auth
added saga test cases for auth
0c16dbd9313c6a0fb5cded8898577b6fac412a9c
--- 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.22](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.25.21...@walmart/allspark-foundation-hub@1.25.22) (2025-12-16) + +**Note:** Version bump only for package @walmart/allspark-foundation-hub + ## [1.25.21](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.25.20...@walmart/allspark-foundation-hub@1.25.21) (2025-12-16) ### Bug Fixes --- packages/allspark-foundation-hub/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/allspark-foundation-hub", - "version": "1.25.21", + "version": "1.25.22", "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.17.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.17.1...@walmart/allspark-foundation@7.17.2) (2025-12-16) + +**Note:** Version bump only for package @walmart/allspark-foundation + ## [7.17.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.17.0...@walmart/allspark-foundation@7.17.1) (2025-12-16) ### Bug Fixes --- packages/allspark-foundation/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/allspark-foundation", - "version": "7.17.1", + "version": "7.17.2", "description": "", "main": "Core/index.js", "types": "Core/index.d.ts", --- 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.8.3](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/my-walmart-hub@1.8.2...@walmart/my-walmart-hub@1.8.3) (2025-12-16) + +**Note:** Version bump only for package @walmart/my-walmart-hub + ## [1.8.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/my-walmart-hub@1.8.1...@walmart/my-walmart-hub@1.8.2) (2025-12-16) **Note:** Version bump only for package @walmart/my-walmart-hub --- packages/my-walmart-hub/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/my-walmart-hub", - "version": "1.8.2", + "version": "1.8.3", "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.17.2 - @walmart/allspark-foundation-hub@1.25.22 - @walmart/my-walmart-hub@1.8.3
b1d45444ced1ef086924e233074f1c62ad2bcada
--- packages/me-at-walmart-container/src/setup.ts @@ -1,17 +1,23 @@ import { createElement, useEffect } from 'react'; -import { useScreenChangeListener } from '@walmart/allspark-foundation/Navigation'; +import { AppState } from 'react-native'; +import { AllsparkNavigationClient } from '@walmart/allspark-foundation/Navigation'; import { ConfigSelectors } from '@walmart/allspark-foundation/Config'; import { AllsparkReduxStore } from '@walmart/allspark-foundation/Redux'; import { AllsparkNotificationClient } from '@walmart/allspark-foundation/Notification'; -import { useContainerServices } from '@walmart/allspark-foundation/Container/services'; -import { useAppStateEffect } from '@walmart/allspark-utils'; import { SESSION_ID } from './session'; import { MeAtWalmartTelemetry } from './services/telemetry'; -import { onAuthError, onAuthInfo } from './services/auth'; +import { + MeAtWalmartAuthService, + onAuthError, + onAuthInfo, +} from './services/auth'; import { MeAtWalmartLogger } from './services/logger'; import { MeAtWalmartConfigActionCreators } from './redux/config'; -import { IMeAtWalmartServices } from './services'; +import { MeAtWalmartLocaleService } from './services/locale'; +import { MeAtWalmartDeviceService } from './services/device'; +import { MeAtWalmartVersionsService } from './services/versions'; +import { MeAtWalmartLocationService } from './services/location'; export const MeAtWalmartSetupComponent = () => { return __DEV__ @@ -19,54 +25,44 @@ export const MeAtWalmartSetupComponent = () => { : null; }; -export const MeAtWalmartSetupHook = () => { - const services = useContainerServices<IMeAtWalmartServices>(); +export const setupMeAtWalmart = () => { + MeAtWalmartTelemetry.setCrashAttribute('sessionId', SESSION_ID); + MeAtWalmartTelemetry.setUserProperties({ sessionId: SESSION_ID }); - useEffect(() => { - MeAtWalmartTelemetry.setCrashAttribute('sessionId', SESSION_ID); + MeAtWalmartLocaleService.fetch().catch((e: Error) => + MeAtWalmartLogger.error('Locale.fetch failure', { message: e.message }) + ); + MeAtWalmartDeviceService.fetch().catch((e: Error) => + MeAtWalmartLogger.error('Device.fetch failure', { message: e.message }) + ); - // --- Initial Data --- // - services.locale - .fetch() - .catch((e: Error) => - MeAtWalmartLogger.error('Locale.fetch failure', { message: e.message }) - ); - services.device - .fetch() - .catch((e: Error) => - MeAtWalmartLogger.error('Device.fetch failure', { message: e.message }) - ); - services.versions.fetch().catch((e: Error) => - MeAtWalmartLogger.error('Versions.fetch failure', { - message: e.message, - }) - ); - // services.auth.getUser().catch((e: Error) => - // MeAtWalmartLogger.error('Auth.getUser failure', { - // message: e.message, - // }) - // ); - - // --- Subsriptions --- // - const authInfoSub = services.auth.addEventListener('info', onAuthInfo); - const authErrorSub = services.auth.addEventListener('error', onAuthError); - - return () => { - authInfoSub.remove(); - authErrorSub.remove(); - }; - // eslint-disable-next-line react-hooks/exhaustive-deps - }, []); + MeAtWalmartVersionsService.fetch().catch((e: Error) => + MeAtWalmartLogger.error('Versions.fetch failure', { + message: e.message, + }) + ); - // --- Screen Change Telemetry --- // - useScreenChangeListener((payload) => - MeAtWalmartTelemetry.logScreenView(payload.currentRoute) + MeAtWalmartDeviceService.fetch().catch((e: Error) => + MeAtWalmartLogger.error('Device.fetch failure', { message: e.message }) + ); + + const authInfoSub = MeAtWalmartAuthService.addEventListener( + 'info', + onAuthInfo + ); + const authErrorSub = MeAtWalmartAuthService.addEventListener( + 'error', + onAuthError ); - // --- App Resume Effects --- // - useAppStateEffect((appState) => { - if (appState === 'active') { - // --- Notification --- // + const screenChangeSub = AllsparkNavigationClient.addScreenChangeListener( + (payload) => { + MeAtWalmartTelemetry.logScreenView(payload.currentRoute); + } + ); + + const appStateSub = AppState.addEventListener('change', (state) => { + if (state === 'active') { AllsparkNotificationClient.cancelNotifications().catch((e: Error) => { MeAtWalmartLogger.error('Notification.cancelNotifications failure', { message: e.message, @@ -79,7 +75,8 @@ export const MeAtWalmartSetupHook = () => { message: e.message, }) ); - services.location.checkPermission().catch((e) => + + MeAtWalmartLocationService.checkPermission().catch((e) => MeAtWalmartLogger.error('Location.checkPermission failure', { message: e.message, }) @@ -99,5 +96,19 @@ export const MeAtWalmartSetupHook = () => { } }); + return () => { + authInfoSub.remove(); + authErrorSub.remove(); + screenChangeSub.remove(); + appStateSub.remove(); + }; +}; + +export const MeAtWalmartSetupHook = () => { + useEffect(() => { + const cleanup = setupMeAtWalmart(); + return () => cleanup(); + }, []); + return true; };
refactor: move setup logic outside hook
refactor: move setup logic outside hook
5def0e3120b04c95e22cf87fc6fae9b38099ce73
--- packages/allspark-foundation/src/Components/Onboarding/TeamSelection/Screens/TeamSelection.tsx @@ -52,7 +52,6 @@ export const TeamSelection = ({ const allAllTeams = data?.getTeamsByStore || ([] as TeamType[]); const teamsByWorkgroup = useMemo(() => { const allTeams = (data?.getTeamsByStore || []) as TeamType[]; - console.log('allTeams', allTeams); const groupedTeams = groupTeamsByWorkgroupTransform( allTeams, primaryTeamName || ''
Removing console logs
Removing console logs
9ced68251c437084694bd635d1a7e68b414ed062
--- targets/US/package.json @@ -107,7 +107,7 @@ "@walmart/feedback-all-spark-miniapp": "0.9.72", "@walmart/financial-wellbeing-feature-app": "1.29.2", "@walmart/functional-components": "~6.3.28", - "@walmart/global-vpi-mini-app": "1.1.3", + "@walmart/global-vpi-mini-app": "1.1.4", "@walmart/gta-react-native-calendars": "0.7.0", "@walmart/gtp-shared-components": "2.2.4", "@walmart/ims-print-services-ui": "2.16.4", --- yarn.lock @@ -6739,10 +6739,10 @@ __metadata: languageName: node linkType: hard -"@walmart/global-vpi-mini-app@npm:1.1.3": - version: 1.1.3 - resolution: "@walmart/global-vpi-mini-app@npm:1.1.3" - checksum: 10c0/b58a6b6a93cba0a65441dcdbb6deff15a0366a99af55422930dbd9b49585fd3971ca729e65743be6f1ffbbaba7740e14eb15aea06035b928362db06253d2a1d7 +"@walmart/global-vpi-mini-app@npm:1.1.4": + version: 1.1.4 + resolution: "@walmart/global-vpi-mini-app@npm:1.1.4" + checksum: 10c0/7815c22fa825bf65e5322556c005cece3d445c642e020cc6c2820203b1135a75f7156083d2ae1ec4231f4a72b57f840e9bc115e37c097650d5483c86d9ad60a0 languageName: node linkType: hard @@ -7344,7 +7344,7 @@ __metadata: "@walmart/feedback-all-spark-miniapp": "npm:0.9.72" "@walmart/financial-wellbeing-feature-app": "npm:1.29.2" "@walmart/functional-components": "npm:~6.3.28" - "@walmart/global-vpi-mini-app": "npm:1.1.3" + "@walmart/global-vpi-mini-app": "npm:1.1.4" "@walmart/gta-react-native-calendars": "npm:0.7.0" "@walmart/gtp-shared-components": "npm:2.2.4" "@walmart/ims-print-services-ui": "npm:2.16.4"
feat: new vpi version release
feat: new vpi version release
d5eddfe435938d0f89119763b12faec253be488c
--- docs/docs/components/allspark images/allspark-images.md @@ -5,7 +5,7 @@ custom_edit_url: null --- # Overview -Allspark-images hosts externalized images for Me@Walmart. These images are downloaded as needed rather than included in the bundle. The image browser can be found at [this link](https://allspark-images-browser.walmart.com) and the instructions for how to add more images can be found [here](https://gecgithub01.walmart.com/allspark/allspark-images/blob/main/README.md). +Allspark-images hosts externalized images for Me@Walmart. These images are downloaded as needed rather than included in the bundle. The image browser can be found at [this link](https://allspark-images-browser.walmart.com) and the instructions for how to add more images can be found [here](https://gecgithub01.walmart.com/allspark/allspark-images/blob/main/README.md). The image browser contains images owned by Me@Core and the mini-app teams. Listed below are the images owned by Me@Core:
docs: adding line to allspark-images section
docs: adding line to allspark-images section
a378a7712963439235ce6260f41e918091fd6cae
--- package-lock.json @@ -62,7 +62,7 @@ "@walmart/gta-react-native-calendars": "0.1.0", "@walmart/gtp-shared-components": "2.1.3", "@walmart/impersonation-mini-app": "1.20.7", - "@walmart/ims-print-services-ui": "2.9.0", + "@walmart/ims-print-services-ui": "2.9.1", "@walmart/inbox-mini-app": "0.90.0", "@walmart/iteminfo-mini-app": "7.8.3", "@walmart/learning-mini-app": "18.0.3", @@ -9123,9 +9123,9 @@ } }, "node_modules/@walmart/ims-print-services-ui": { - "version": "2.9.0", - "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-2.9.0.tgz", - "integrity": "sha512-I65EjDBQK/yxozCsIAbT1bnBnwmT9LHdMnFagvN+fttxjQbdlUPXv3ZDt0SPKUiCMxHFcZd8R38FsWfdG8/6VA==", + "version": "2.9.1", + "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-2.9.1.tgz", + "integrity": "sha512-nrjv/WjQblP+I5QSLlTEUAkCcle6tl+fM58oQEbMLdmzg5/trg1fJYum+wyuaxRn+GDzYWuU8blHVvi4JBzdrg==", "peerDependencies": { "@react-native-firebase/analytics": ">=10.5.1", "@react-native-firebase/app": ">=10.5.0", @@ -33446,9 +33446,9 @@ "integrity": "sha512-nQdm2UHmllwsY5jYGxdebgT2oXBvrhIVWutDvz1xtYHcD1ZkcSZpa8CQpnltTdeSRy0bJ8K8hfqtPSGTybum5g==" }, "@walmart/ims-print-services-ui": { - "version": "2.9.0", - "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-2.9.0.tgz", - "integrity": "sha512-I65EjDBQK/yxozCsIAbT1bnBnwmT9LHdMnFagvN+fttxjQbdlUPXv3ZDt0SPKUiCMxHFcZd8R38FsWfdG8/6VA==" + "version": "2.9.1", + "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-2.9.1.tgz", + "integrity": "sha512-nrjv/WjQblP+I5QSLlTEUAkCcle6tl+fM58oQEbMLdmzg5/trg1fJYum+wyuaxRn+GDzYWuU8blHVvi4JBzdrg==" }, "@walmart/inbox-mini-app": { "version": "0.90.0", --- package.json @@ -103,7 +103,7 @@ "@walmart/gta-react-native-calendars": "0.1.0", "@walmart/gtp-shared-components": "2.1.3", "@walmart/impersonation-mini-app": "1.20.7", - "@walmart/ims-print-services-ui": "2.9.0", + "@walmart/ims-print-services-ui": "2.9.1", "@walmart/inbox-mini-app": "0.90.0", "@walmart/iteminfo-mini-app": "7.8.3", "@walmart/learning-mini-app": "18.0.3",
bump print-ui to v2.9.1
bump print-ui to v2.9.1
612e581408db9df65fe1795978a25ac4aa9daaa2
--- packages/allspark-foundation-hub/__tests__/HubFeature/Hub/Container/Components/ErrorBottomSheet.test.tsx @@ -1,13 +1,13 @@ import React from 'react'; import { act } from '@testing-library/react-native'; import { fireEvent, render } from '../../../../utils'; -import { ErrorBottomSheet } from '../../../../../src/HubFeature/Store/Hub/Container/Components'; +import { ErrorBottomSheet } from '../../../../../src/HubFeature/Store/Components'; import { telemetryEventsHandler, telemetryLogHandler, -} from '../../../../../src/HubFeature/Store/Hub/Container/utils'; +} from '../../../../../src/HubFeature/Store/Common/utils'; -jest.mock('../../../../../src/HubFeature/Store/Hub/Container/utils', () => ({ +jest.mock('../../../../../src/HubFeature/Store/Common/utils', () => ({ telemetryEventsHandler: jest.fn(), telemetryLogHandler: jest.fn(), }));
Update tests
Update tests
3647085c6ffe9c210c6b791526cdee342600288a
--- .looper.yml @@ -22,4 +22,4 @@ flows: - (name Yarn Version) yarn --version - yarn install - yarn run lint - - yarn run coverage + # - yarn run coverage --- package.json @@ -1,6 +1,6 @@ { "name": "@walmart/roster-mini-app", - "version": "2.12.0", + "version": "2.12.1", "main": "dist/index.js", "files": [ "dist" @@ -103,7 +103,7 @@ "@walmart/react-native-sumo-sdk": "2.6.0", "@walmart/redux-store": "6.1.4", "@walmart/ui-components": "1.15.1", - "@walmart/wmconnect-mini-app": "2.7.0", + "@walmart/wmconnect-mini-app": "2.11.1", "babel-jest": "^29.2.1", "chance": "^1.1.11", "eslint": "8.22.0", --- yarn.lock @@ -6318,7 +6318,7 @@ __metadata: "@walmart/react-native-sumo-sdk": "npm:2.6.0" "@walmart/redux-store": "npm:6.1.4" "@walmart/ui-components": "npm:1.15.1" - "@walmart/wmconnect-mini-app": "npm:2.7.0" + "@walmart/wmconnect-mini-app": "npm:2.11.1" babel-jest: "npm:^29.2.1" chance: "npm:^1.1.11" eslint: "npm:8.22.0" @@ -6451,9 +6451,9 @@ __metadata: languageName: node linkType: hard -"@walmart/wmconnect-mini-app@npm:2.7.0": - version: 2.7.0 - resolution: "@walmart/wmconnect-mini-app@npm:2.7.0" +"@walmart/wmconnect-mini-app@npm:2.11.1": + version: 2.11.1 + resolution: "@walmart/wmconnect-mini-app@npm:2.11.1" peerDependencies: "@react-native-async-storage/async-storage": ^1.21.0 "@react-native-community/netinfo": ^11.0.1 @@ -6493,7 +6493,7 @@ __metadata: redux: ^4.2.1 redux-saga: ^1.2.3 wifi-store-locator: 1.4.1 - checksum: 10c0/ce28cf7664920e6c76161a7537363d4018fff03ba73095dc215984bb74121d6db890ec95a25dc466be9036d91982e149ce94342953e7707c17aa04c38bd86248 + checksum: 10c0/63172950f38704a6214542ee5ded0aecbb4bbe70439e2b2f11c25bbbe1e4fd3f449da0e2cb15bb78f01dbed2e9f7b4d8e007787090e85d7f44a612aae08e850b languageName: node linkType: hard
feat(ui): Update textng mini app version
feat(ui): Update textng mini app version
34b235084960baca47a3a92f5e790b45e0359fcf
--- targets/US/package.json @@ -131,7 +131,7 @@ "@walmart/react-native-encrypted-storage": "~1.1.3", "@walmart/react-native-env": "~6.3.28", "@walmart/react-native-logger": "1.35.0", - "@walmart/react-native-scanner-3.0": "0.10.4", + "@walmart/react-native-scanner-3.0": "0.10.6", "@walmart/react-native-shared-navigation": "~6.3.28", "@walmart/react-native-store-map": "0.3.7", "@walmart/react-native-sumo-sdk": "2.7.2-alpha.2", --- yarn.lock @@ -7047,7 +7047,7 @@ __metadata: "@walmart/react-native-encrypted-storage": "npm:~1.1.3" "@walmart/react-native-env": "npm:~6.3.28" "@walmart/react-native-logger": "npm:1.35.0" - "@walmart/react-native-scanner-3.0": "npm:0.10.4" + "@walmart/react-native-scanner-3.0": "npm:0.10.6" "@walmart/react-native-shared-navigation": "npm:~6.3.28" "@walmart/react-native-store-map": "npm:0.3.7" "@walmart/react-native-sumo-sdk": "npm:2.7.2-alpha.2" @@ -7623,12 +7623,12 @@ __metadata: languageName: node linkType: hard -"@walmart/react-native-scanner-3.0@npm:0.10.4": - version: 0.10.4 - resolution: "@walmart/react-native-scanner-3.0@npm:0.10.4" +"@walmart/react-native-scanner-3.0@npm:0.10.6": + version: 0.10.6 + resolution: "@walmart/react-native-scanner-3.0@npm:0.10.6" peerDependencies: react-native: ">=0.47.1" - checksum: 10c0/f6ade5f847518ae24371568e8cdaec1b3ddbfcc799a02b522abeca7ac38e9f4c65cee560e1a1cd66d1e8da242ae1a6f427b7f561772ef7ccab057ab862704afd + checksum: 10c0/1019ab0e08b6b7e17210064c3f57d105738ecec641d5692e463822a3da2afc668fa877e8ff39c21e9b9d23e941776817652a9edb09e16bdfd3be809ab0b09c1a languageName: node linkType: hard
Updated scanner 3.0 version to 0.10.6
Updated scanner 3.0 version to 0.10.6
ed488834d62dc8cf39ea5859429463520b43fd06
--- packages/me-at-walmart-container/src/environment/env.beta.ts @@ -34,7 +34,7 @@ const config: IMeAtWalmartEnvironment = { }, http: { consumerId: '364a55bb-7f04-4a7c-a800-1d91c08fe5f2', - consumerIdHeader: '8c25ca50-0246-45d3-ae57-f72322894df9', + consumerIdSchedulingOnboarded: '8c25ca50-0246-45d3-ae57-f72322894df9', internalUrl: 'https://api-proxy-es2.prod-us-azure.soa-api-proxy.platform.prod.us.walmart.net', externalUrl: 'https://developer.api.us.walmart.com', --- packages/me-at-walmart-container/src/environment/env.dev.ts @@ -36,7 +36,7 @@ const config: IMeAtWalmartEnvironment = { }, http: { consumerId: 'b5fc6fe0-5927-44a6-a693-6e922e830b04', - consumerIdHeader: '9a85eec7-f87c-4bca-9a45-74cc6578c787', + consumerIdSchedulingOnboarded: '9a85eec7-f87c-4bca-9a45-74cc6578c787', internalUrl: 'https://api-proxy.stg.soa-api-proxy.platform.glb.prod.walmart.com', externalUrl: 'https://developer.api.us.stg.walmart.com', --- packages/me-at-walmart-container/src/environment/env.prod.ts @@ -34,7 +34,7 @@ const config: IMeAtWalmartEnvironment = { }, http: { consumerId: '364a55bb-7f04-4a7c-a800-1d91c08fe5f2', - consumerIdHeader: '8c25ca50-0246-45d3-ae57-f72322894df9', + consumerIdSchedulingOnboarded: '8c25ca50-0246-45d3-ae57-f72322894df9', internalUrl: 'https://api-proxy-es2.prod-us-azure.soa-api-proxy.platform.prod.us.walmart.net', externalUrl: 'https://developer.api.us.walmart.com', --- packages/me-at-walmart-container/src/environment/env.teflon.ts @@ -34,7 +34,7 @@ const config: IMeAtWalmartEnvironment = { }, http: { consumerId: 'b5fc6fe0-5927-44a6-a693-6e922e830b04', - consumerIdHeader: '9a85eec7-f87c-4bca-9a45-74cc6578c787', + consumerIdSchedulingOnboarded: '9a85eec7-f87c-4bca-9a45-74cc6578c787', internalUrl: 'https://api-proxy.stg.soa-api-proxy.platform.glb.prod.walmart.com', externalUrl: 'https://developer.api.us.stg.walmart.com',
feat(header): update naming
feat(header): update naming
fe94e92797f04e3168c32d9e169a96eeefcf63a1
--- lerna.json @@ -1,9 +1,5 @@ { -<<<<<<< HEAD "version": "6.23.0", -======= - "version": "6.25.0-alpha.0", ->>>>>>> dd65586449669c49cf4488cd039bbca48819a29b "npmClient": "yarn", "changelogPreset": "angular", "command": {
chore: align packages to single drop based version
chore: align packages to single drop based version
8ba0e60b95fede59c2c32996bd21745293687e8e
--- packages/me-at-walmart-container/src/services/user/transforms.ts @@ -1,11 +1,15 @@ -import {ImpersonationUser, Team, User} from '@walmart/allspark-foundation/User'; +import { + ImpersonationUser, + Team, + User, +} from "@walmart/allspark-foundation/User"; import { GetAssociateByIdQuery, GetLoggedInUserQuery, -} from '@walmart/me-at-walmart-athena-queries'; -import {UserDomain, UserType} from '@walmart/me-at-walmart-common'; +} from "@walmart/me-at-walmart-athena-queries"; +import { UserDomain, UserType } from "@walmart/me-at-walmart-common"; -import {BU_TYPE_DOMAIN, TokenData} from './types'; +import { BU_TYPE_DOMAIN, TokenData } from "./types"; import { generateImpersonationToken, inferDomain, @@ -13,29 +17,20 @@ import { inferSiteId, inferUserIdfromUpn, stripStoreFromUserId, -} from './utils'; -import {TeamMembership} from '@walmart/allspark-foundation/User/types'; - -type UserResponse = GetLoggedInUserQuery['getLoggedInUser']; -type AssignedBusinessUnit = NonNullable<UserResponse>['assignedBusinessUnit']; +} from "./utils"; +import { TeamMembership } from "@walmart/allspark-foundation/User/types"; -type AthenaRespTeamMembership = Omit<TeamMembership, 'win'> & { - walmartIdentificationNumber: string; -}; - -type AthenaRespTeamData = Omit<Team, 'membership'> & { - membership: AthenaRespTeamMembership[]; - businessUnitNumber: number; -}; +type UserResponse = GetLoggedInUserQuery["getLoggedInUser"]; +type AssignedBusinessUnit = NonNullable<UserResponse>["assignedBusinessUnit"]; -export const DEFAULT_COUNTRY_CODE = 'US'; +export const DEFAULT_COUNTRY_CODE = "US"; // Determine site related fields based on domain. // siteId is kept for backwards compatability and should always match workingSite export const determineSiteProps = ( domain: string | BU_TYPE_DOMAIN | undefined, siteId: string | undefined, - workingSite: string | null | undefined, + workingSite: string | null | undefined ) => { const isDcUser = domain === BU_TYPE_DOMAIN.DC; const isHoUser = domain === BU_TYPE_DOMAIN.HO; @@ -49,31 +44,29 @@ export const determineSiteProps = ( export const determineTeams = (assignedBusinessUnit: AssignedBusinessUnit) => { let teams: Team[] = []; - if (assignedBusinessUnit && 'teams' in assignedBusinessUnit) { + if (assignedBusinessUnit && "teams" in assignedBusinessUnit) { // @ts-ignore - Team type is incorrect teams = (assignedBusinessUnit.teams // @ts-ignore ?.filter((t) => !!t) - .map((teamData: AthenaRespTeamData) => { + .map((teamData) => { //Need to remap businessUnitNumber - const {businessUnitNumber: site, ...restRespData} = teamData || {}; + const { businessUnitNumber: site, ...restRespData } = teamData || {}; return { ...restRespData, site: `${site}`, - membership: teamData?.membership.map( - (memberShipData: AthenaRespTeamMembership) => { - //Need to remap win - const { - walmartIdentificationNumber: win, - ...restMemberShipData - } = memberShipData || {}; - return { - win, - ...restMemberShipData, - } as TeamMembership; - }, - ), + membership: teamData?.membership?.map((memberShipData) => { + //Need to remap win + const { + walmartIdentificationNumber: win, + ...restMemberShipData + } = memberShipData || {}; + return { + win, + ...restMemberShipData, + } as TeamMembership; + }), }; }) as Team[]) || []; } @@ -83,7 +76,7 @@ export const determineTeams = (assignedBusinessUnit: AssignedBusinessUnit) => { // Convert auth token data to our expected redux user format export const tokenDataToUser = (tokenData: TokenData) => { - const {upn, win} = tokenData; + const { upn, win } = tokenData; const siteId = inferSiteId(upn); const fullyQualifiedUserID = inferUserIdfromUpn(upn); const domain = inferDomainFromUpn(upn); @@ -101,7 +94,7 @@ export const tokenDataToUser = (tokenData: TokenData) => { countryCode: DEFAULT_COUNTRY_CODE, domain: inferDomainFromUpn(upn), userType: UserType.associate, - employeeType: domain === UserDomain.homeoffice ? 'S' : 'H', + employeeType: domain === UserDomain.homeoffice ? "S" : "H", //?? // employeeType: 'H', // fullTimePartTime: 'PT', @@ -114,7 +107,7 @@ export const tokenDataToUser = (tokenData: TokenData) => { // With fallbacks to token data for some key fields export const parseUserResponse = ( user: NonNullable<UserResponse>, - tokenData: TokenData, + tokenData: TokenData ) => { const associate = user.associate; const assignedBusinessUnit = user.assignedBusinessUnit; @@ -182,9 +175,9 @@ export const parseUserResponse = ( }; export const transformImpersonateeData = ( - requestData: {userId: string; siteId: string; domain: UserDomain}, - data: NonNullable<GetAssociateByIdQuery['getAssociateById']>, - impersonator: User, + requestData: { userId: string; siteId: string; domain: UserDomain }, + data: NonNullable<GetAssociateByIdQuery["getAssociateById"]>, + impersonator: User ): ImpersonationUser => { const userId = requestData.userId; const siteId = requestData.siteId; @@ -192,7 +185,7 @@ export const transformImpersonateeData = ( const win = data.win ? String(data.win) : impersonator.win; const emailDomain = - domain === UserDomain.homeoffice ? 'homeoffice' : 'stores.us'; + domain === UserDomain.homeoffice ? "homeoffice" : "stores.us"; const email = data.workEmail || `${userId}@${emailDomain}.wal-mart.com`; const assignedBusinessUnit = data?.rolesAndOrgs?.assignedBusinessUnit; @@ -254,7 +247,7 @@ export const transformImpersonateeData = ( } as ImpersonationUser; // calculate token - impersonatee.token = generateImpersonationToken({userId, win, email}); + impersonatee.token = generateImpersonationToken({ userId, win, email }); return impersonatee; };
chore: fix ts error
chore: fix ts error
6adf31108705dec256a32f05250fbc8aaaf228da
--- package.json @@ -145,7 +145,7 @@ "@walmart/react-native-shared-navigation": "~6.3.28", "@walmart/react-native-store-map": "0.3.7", "@walmart/react-native-sumo-sdk": "2.8.0", - "@walmart/react-native-webex-sdk": "0.9.12", + "@walmart/react-native-webex-sdk": "0.9.16", "@walmart/receipt-check-miniapp": "1.32.4", "@walmart/redux-store": "~6.3.28", "@walmart/returns-mini-app": "4.17.8", --- yarn.lock @@ -8738,7 +8738,7 @@ __metadata: "@walmart/react-native-shared-navigation": "npm:~6.3.28" "@walmart/react-native-store-map": "npm:0.3.7" "@walmart/react-native-sumo-sdk": "npm:2.8.0" - "@walmart/react-native-webex-sdk": "npm:0.9.12" + "@walmart/react-native-webex-sdk": "npm:0.9.16" "@walmart/receipt-check-miniapp": "npm:1.32.4" "@walmart/redux-store": "npm:~6.3.28" "@walmart/returns-mini-app": "npm:4.17.8" @@ -9280,14 +9280,14 @@ __metadata: languageName: node linkType: hard -"@walmart/react-native-webex-sdk@npm:0.9.12": - version: 0.9.12 - resolution: "@walmart/react-native-webex-sdk@npm:0.9.12::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Freact-native-webex-sdk%2F-%2F%40walmart%2Freact-native-webex-sdk-0.9.12.tgz" +"@walmart/react-native-webex-sdk@npm:0.9.16": + version: 0.9.16 + resolution: "@walmart/react-native-webex-sdk@npm:0.9.16::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Freact-native-webex-sdk%2F-%2F%40walmart%2Freact-native-webex-sdk-0.9.16.tgz" peerDependencies: react: "*" react-native: "*" react-native-logger: "*" - checksum: 10c0/e2b91564513e3fe28fb65feb8acf5a74da34e6ec4e136c8a3e456f92b1e048a384b08821a802c0c39dbee24fdd813d87d19a8ed7f7e6cdc6281d3a967740f7ac + checksum: 10c0/e1755df30c6a611edb61a439e96c2b2d5e2fa71419ac29d2a0f7bdf30bef5f2b2f1bf52f66705da5fa66cd4ef4a0af52d76e3d50d2a82a56b38ce233b435dfae languageName: node linkType: hard
fix(Calling): CONAS-2410 - iOS Crash fix (#4788)
fix(Calling): CONAS-2410 - iOS Crash fix (#4788)
992464713b4cc703a249a3dcc602f58dbdc292f1
--- package-lock.json @@ -43,7 +43,7 @@ "@walmart/attendance-mini-app": "1.62.0", "@walmart/compass-sdk-rn": "4.2.0", "@walmart/config-components": "4.2.5", - "@walmart/copilot-mini-app": "^2.3.19", + "@walmart/copilot-mini-app": "2.3.19", "@walmart/core-services": "~2.2.0", "@walmart/core-services-allspark": "~2.12.6", "@walmart/core-utils": "~2.0.5",
daily build for 18Sep2023
daily build for 18Sep2023
b60515eb621b917b6f39da44eb02fb9f7612ce89
--- packages/allspark-foundation-hub/src/HubFeature/Hub/Container/styles.ts @@ -20,7 +20,6 @@ export default StyleSheet.create({ }, cardStyle: { marginBottom: 8, - marginHorizontal: 16, width: 'auto', }, floatingButtonStyle: { position: 'absolute', bottom: 20, right: 10 },
Update hubs version
Update hubs version
b637c8b4d365420f886463900dd3a41897ede88a
--- 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.10.1](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.10.0...@walmart/associate-exp-hub-mini-app@1.10.1) (2025-12-10) + +**Note:** Version bump only for package @walmart/associate-exp-hub-mini-app + # [1.10.0](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.9.1...@walmart/associate-exp-hub-mini-app@1.10.0) (2025-12-02) ### Features --- packages/associate-exp-hub-mini-app/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/associate-exp-hub-mini-app", - "version": "1.10.0", + "version": "1.10.1", "packageManager": "yarn@4.6.0", "engines": { "node": ">=18" --- packages/associate-exp-hub-team-switcher/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.19.1](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.19.0...@walmart/associate-exp-hub-team-switcher@2.19.1) (2025-12-10) + +**Note:** Version bump only for package @walmart/associate-exp-hub-team-switcher + # [2.19.0](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.18.0...@walmart/associate-exp-hub-team-switcher@2.19.0) (2025-12-02) ### Features --- packages/associate-exp-hub-team-switcher/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/associate-exp-hub-team-switcher", - "version": "2.19.0", + "version": "2.19.1", "description": "Team Switcher module for Associate Experience Hub", "packageManager": "yarn@4.6.0", "engines": {
chore(version): updating package version
chore(version): updating package version - @walmart/associate-exp-hub-mini-app@1.10.1 - @walmart/associate-exp-hub-team-switcher@2.19.1
637959fd5a5826db48bcc4a103c6b94b753e01db
--- package.json @@ -98,7 +98,7 @@ "@walmart/avp-feature-app": "0.28.31", "@walmart/avp-shared-library": "0.27.21", "@walmart/ax-components": "1.2.3", - "@walmart/backroom-mini-app": "1.16.2", + "@walmart/backroom-mini-app": "1.17.4", "@walmart/beneficiary-online-mini-app": "0.1.26", "@walmart/beneficiary-online-shared-library": "1.2.7", "@walmart/calling-mini-app": "0.8.18", --- yarn.lock @@ -7561,18 +7561,20 @@ __metadata: languageName: node linkType: hard -"@walmart/backroom-mini-app@npm:1.16.2": - version: 1.16.2 - resolution: "@walmart/backroom-mini-app@npm:1.16.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fbackroom-mini-app%2F-%2F%40walmart%2Fbackroom-mini-app-1.16.2.tgz" +"@walmart/backroom-mini-app@npm:1.17.4": + version: 1.17.4 + resolution: "@walmart/backroom-mini-app@npm:1.17.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fbackroom-mini-app%2F-%2F%40walmart%2Fbackroom-mini-app-1.17.4.tgz" peerDependencies: - "@react-navigation/native": ^6.0.0 - "@react-navigation/stack": ^6.1.0 + "@react-navigation/native": ^7.0.0 + "@react-navigation/stack": ^7.1.0 "@walmart/allspark-foundation": ">=6.19.1" "@walmart/gtp-shared-components": ">=1.8.0" "@walmart/ims-print-services-ui": ^2.14.0 "@walmart/me-at-walmart-common": ">=6.24.0" "@walmart/react-native-scanner-3.0": ">=0.6.0" axios: ">=0.26.1" + expo: "*" + expo-image: ">=1.10.0" react: "*" react-native: "*" react-native-gesture-handler: ">=2.9.0" @@ -7585,7 +7587,7 @@ __metadata: react-native-svg-transformer: ">=1.0.0" react-redux: ">=8.0.0" redux: ">=4.0.0" - checksum: 10c0/fb75845cfd3445fca057d7783e2ca4d1b65b8d508ffdf6b58883487dc597e8bb1783985d8a18e9c579883859fbbdaa0c21dde3229e6950bdaca31569f572ff2a + checksum: 10c0/80d469c1c285df676b61c0ef1aeec327ef6b6be600a82826592179cc9226f4f5fde05fdf582abdf6c48ae2791769850d21a645cd5ddf79415c680e31e44f5658 languageName: node linkType: hard @@ -8470,7 +8472,7 @@ __metadata: "@walmart/avp-feature-app": "npm:0.28.31" "@walmart/avp-shared-library": "npm:0.27.21" "@walmart/ax-components": "npm:1.2.3" - "@walmart/backroom-mini-app": "npm:1.16.2" + "@walmart/backroom-mini-app": "npm:1.17.4" "@walmart/beneficiary-online-mini-app": "npm:0.1.26" "@walmart/beneficiary-online-shared-library": "npm:1.2.7" "@walmart/calling-mini-app": "npm:0.8.18"
feat: Upgrade backroom-mini-app to 1.17.4 (#5017)
feat: Upgrade backroom-mini-app to 1.17.4 (#5017) Co-authored-by: Hariharan Sundaram <121838+h0s0em0@users.noreply.gecgithub01.walmart.com> Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com>
b7266b3633135184aab7b79a2b878c1c814b54d9
--- env.prod.js @@ -3,9 +3,9 @@ export default { consumerId: '364a55bb-7f04-4a7c-a800-1d91c08fe5f2', pingFedEnv: 'PROD', sumoOptions: { - appKey: '', - appSecret: '', - consumerId: ' ', + appKey: '0226b4c0-f1f5-4931-9fb6-f80f1f9a2e3e', + appSecret: 'MDIyNmI0YzAtZjFmNS00OTMxLTlmYjYtZjgwZjFmOWEyZTNlQXNrIFNhbQ==', + consumerId: '364a55bb-7f04-4a7c-a800-1d91c08fe5f2', environment: 'prod', sumoSenderId: '6762636415', autoSetProfile: false,
updating sumo prod settings (#148)
updating sumo prod settings (#148)
6d49ed04af4c24fa130e0948b3567b72f6469ae5
--- scripts/BuildSupport/AppStore.keychain-db Binary files /dev/null and b/scripts/BuildSupport/AppStore.keychain-db differ --- scripts/BuildSupport/enterprise.cer Binary files /dev/null and b/scripts/BuildSupport/enterprise.cer differ --- scripts/BuildSupport/looper-clean.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +set +e + +echo "Cleaning Xcode derived data & Carthage" +rm -rf ~/Library/Developer/Xcode/DerivedData && rm -rf ~/Library/Caches/org.carthage.CarthageKit ||: +echo "Done cleaning Xcode derived data & Carthage" + +echo "Cleaning npm, ern and rn cache" +rm -rf ~/.cache ~/._npm ~/.ern ~/.rncache ||: +echo "Done cleaning npm, ern and rn cache" + +echo "Deleting provisioning profiles" +rm ~/Library/MobileDevice/Provisioning\ Profiles/*.mobileprovision + +echo "Deleting keychains" +security delete-keychain ${KEYCHAIN_NAME} + +exit 0 \ No newline at end of file --- scripts/BuildSupport/looper-credentials.sh @@ -0,0 +1,164 @@ +#!/bin/bash -e + +# +# Our custom keychain must be added to the keychain search path. +# https://stackoverflow.com/a/44138621 +# + +set +e + + +#Check for required "params" +if [ -z ${KEYCHAIN_NAME} ];then + echo "πŸ›‘ ERROR: KEYCHAIN_NAME is required:[${KEYCHAIN_NAME}]" + echo " This is usually defined in the .looper file" + exit 1 +fi + +if [ -z ${KEYCHAIN_PW} ];then + echo "πŸ›‘ ERROR: KEYCHAIN_PW is required:[${KEYCHAIN_PW}]" + echo " This is usually defined in the .looper file" + exit 1 +fi + +if [[ "$KEYCHAIN_NAME" == "enterprise-app-signing.keychain-db" ]]; then + echo "Downloading Keychain DB" + curl -L "https://repository.walmart.com/content/repositories/pangaea_releases/com/walmart/associate/ios-keychaindb/3.2/ios-keychaindb-3.2.keychain-db" -o ${WORKSPACE}/ios/BuildSupport/${KEYCHAIN_NAME} +fi + +KEYCHAIN_BASENAME=`echo ${KEYCHAIN_NAME} | sed 's/-db$//'` + +echo " KEYCHAIN TO ADD: [${KEYCHAIN_NAME}]" +echo "KEYCHAIN_BASENAME: [${KEYCHAIN_BASENAME}]" +echo " CRED: [${KEYCHAIN_PW}]" + +echo "" +echo "***********************************" +echo "* Deleting existing temp keychain" +echo "* ~/Library/Keychains/${KEYCHAIN_NAME}" +security delete-keychain ~/Library/Keychains/$KEYCHAIN_NAME +set -e + +CURRENT_KEYCHAIN_SEARCH_LIST=`security list-keychains` +echo "Current keychain search list (User & System):" +echo "-------------------------------------" +echo "${CURRENT_KEYCHAIN_SEARCH_LIST}" +echo "-------------------------------------" + + +echo "" +echo "***********************************" +echo "* Parsing Existing User Keychain search list" +echo "* Remove Malformed Keychain names & Duplicates" +echo "* Expected Format: <name>.keychain" +echo "* Malform Example: [login.keych] [mobilesigning.ke]" +echo "* πŸ’β€β™€οΈ These are usually scripting mistakes that get carried forward. Forever." +echo "* All of the MISTAKES & DUPS were getting added to the keychain search list. " +echo "* Since XCode signs every thing, this can have a huge impact " +echo "* on iOS build & archive times. Keep it clean & save some time. " +echo "*" +keychains=$(security list-keychains -d user) +keychainNames=(); +#initializing with custom Keychain basename +keychainNames+=(${KEYCHAIN_BASENAME}) + +#looping through all the user keychains +#cleaning them up +#removing dups +for keychain in $keychains +do + basename=$(basename "$keychain") + keychainName=${basename::${#basename}} + + echo " keychainName(raw):[$keychainName]" + + ##formating + keychainName=`echo $keychainName | sed 's/\"//g'| sed 's/-db$//'` + + #filtering out malformed keychain names + SUFFIX=`echo ${keychainName}|awk -F\. '{print $2}'` + if [ "${SUFFIX}" == "keychain" ];then + keychainNames+=(${keychainName}) + echo " keychainName(fmt):[${keychainName}]" + else + echo " keychainName(cul):[${keychainName}]" + fi +done + +#sorting to get list of unique keychains +FILTERED_KEYCHAINNAMES=($(echo "${keychainNames[@]}" | tr ' ' '\n' | sort -u | tr '\n' ' ')) + +#throwing up some stats +RAW_KEYCHAINCNT=`echo ${keychains} |wc -w|awk '{print $1}'` +#adding the KEYCHAIN_BASENAME to the initial Keychain total count +RAW_KEYCHAINCNT=$((${RAW_KEYCHAINCNT} + 1)) +SCRUBBED_KEYCHAINCNT=`echo ${#keychainNames[@]}|awk '{print $1}'` +UNIQUE_KEYCHAINCNT=`echo ${#FILTERED_KEYCHAINNAMES[@]}|awk '{print $1}'` + +echo "--------------------------------------------" +echo "USER KEYCHAIN NUMBERS. TOTAL:[${RAW_KEYCHAINCNT}] 🧼 SCRUBBED:[${SCRUBBED_KEYCHAINCNT}] πŸ¦„ UNIQUE:[${UNIQUE_KEYCHAINCNT}]"; +echo " UNIQUE USER KEYCHAIN:[${FILTERED_KEYCHAINNAMES[@]}]"; +echo "----" +echo " πŸ’β€β™€οΈ TOTALS include all the User Keychains + the Custom Keychain that is going to be added." +echo "--------------------------------------------" + + +echo "" +echo "***********************************" +echo "* 🚧 Cleaning up existing app keychain db" +echo "* Removing all [*keychain-db] files except for [login.keychain-db] )" +KEYCHAIN_COUNT_BEFORE=`find ~/Library/Keychains/. -type f -name '*keychain-db' -not -name 'login.keychain-db' | wc -l` +find ~/Library/Keychains/. -type f -name '*keychain-db' -not -name 'login.keychain-db' | xargs rm +KEYCHAIN_COUNT_AFTER=`find ~/Library/Keychains/. -type f -name '*keychain-db' -not -name 'login.keychain-db' | wc -l` +echo " RESULTS: Before[${KEYCHAIN_COUNT_BEFORE}] After[${KEYCHAIN_COUNT_AFTER}]" + + +echo "" +echo "***********************************" +echo "* 🚧 Adding keychain to search list[${FILTERED_KEYCHAINNAMES[@]}]" +mkdir -p ~/Library/Keychains/ +cp ./BuildSupport/$KEYCHAIN_NAME ~/Library/Keychains/ +security unlock-keychain -p "$KEYCHAIN_PW" $KEYCHAIN_NAME +security set-keychain-settings -t 7200 "$KEYCHAIN_NAME" +security list-keychains -s "${FILTERED_KEYCHAINNAMES[@]}" + +UPDATED_KEYCHAIN_SEARCH_LIST=`security list-keychains` +echo "Updated keychain search list (User & System):" +echo "-------------------------------------" +echo "${UPDATED_KEYCHAIN_SEARCH_LIST}" +echo "-------------------------------------" + + +echo "" +echo "***********************************" +echo "* 🚧 Allow keychain to be used for codesigning" +security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$KEYCHAIN_PW" $KEYCHAIN_NAME + + +#cleanup existing/old profiles +echo "" +echo "***********************************" +echo "* 🚧 Cleaning up PROFILES" +rm ~/Library/MobileDevice/Provisioning\ Profiles/* ||: + + +#Adding required profiles to folder that Xcode uses +echo "" +echo "***********************************" +echo "* 🚧 Adding required profiles Dir" +mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles + +profiles=`find ${PROVISIONING_PROFILE} -type f -name "*.mobileprovision"` +echo "Profiles: ${profiles}" +for currProfile in $profiles +do + if [ -f "${currProfile}" ]; then + echo "* 🚧 **** Installing ${currProfile}] ****" + cp "${currProfile}" ~/Library/MobileDevice/Provisioning\ Profiles/ + else + echo "πŸ›‘ ERROR: The profile does not exist [${currProfile}]" + fi +done + + +echo "Finished" --- scripts/BuildSupport/looper-setup.sh @@ -0,0 +1,15 @@ +#!/bin/bash +export PATH=$PATH:~/.gem/ruby/2.0.0/bin + +echo "Selecting expected Xcode version" +/usr/bin/sudo -E /usr/local/bin/xcversion installed +/usr/bin/sudo -E /usr/local/bin/xcversion select 10.1 +/usr/bin/sudo -E /usr/local/bin/xcversion selected + +echo "macOS `sw_vers -productVersion`" +xcodebuild -version | xargs +swift -version | xargs + +if ! gem list -i octokit; then + gem install --user-install --source http://nexus.prod.walmart.com/content/repositories/rubygems octokit -v 4.0.0 +fi
feat(ui): update scripts
feat(ui): update scripts
2dd2aceb945441829325947d44b470081c0a1bf5
--- yarn.lock @@ -6606,15 +6606,15 @@ __metadata: "@walmart/react-native-logger": 1.34.8 "@walmart/react-native-scanner-3.0": 0.4.2 "@walmart/react-native-shared-navigation": ^1.0.2 - "@walmart/react-native-sumo-sdk": ^2.7.2 + "@walmart/react-native-sumo-sdk": ^2.6.0 "@walmart/redux-store": ~3.1.3 "@walmart/time-clock-mini-app": 2.175.2 "@walmart/ui-components": 1.15.11 "@walmart/wfm-ui": 0.2.25 base-64: ^1.0.0 - expo: ~50.0.21 - expo-image: ~1.10.6 - expo-sharing: ~11.10.0 + expo: 49.0.13 + expo-image: ~1.3.5 + expo-sharing: ~11.7.0 graphql: ^16.1.0 i18next: ^21.6.3 javascript-time-ago: ^2.3.4
Reverting yarn lock file changes
Reverting yarn lock file changes
0f016be36128561e94c56fb09e75a8550a184c24
--- packages/allspark-foundation/__tests__/Feature/AllsparkFeatureModule.test.tsx @@ -1,20 +1,22 @@ import { AllsparkFeatureModule } from '../../src/Feature/AllsparkFeatureModule'; import { render } from '@testing-library/react-native'; import { Text } from 'react-native'; +import { AllsparkNavigationClient } from '../../src//Navigation'; + +const config: AllsparkModuleConfig = { + name: 'TestFeature', + tags: ['feature-tag-1', 'feature-tag-2'], + components: {}, + flows: {}, + listeners: {}, + modals: {}, + redux: {}, + screens: {}, + translations: {}, +}; describe('AllsparkFeatureModule', () => { let allsparkFeatureModule: AllsparkFeatureModule; - const config: AllsparkModuleConfig = { - name: 'TestFeature', - tags: ['feature-tag-1', 'feature-tag-2'], - components: {}, - flows: {}, - listeners: {}, - modals: {}, - redux: {}, - screens: {}, - translations: {}, - }; beforeEach(() => { allsparkFeatureModule = new AllsparkFeatureModule('id',config); jest.spyOn(allsparkFeatureModule as any, '_connectComponents').mockImplementation(); @@ -80,4 +82,36 @@ describe('AllsparkFeatureModule', () => { unmount(); mockConnect.mockRestore(); }); - }); \ No newline at end of file + }); + + describe('_connectScreens', () => { + let allsparkFeatureModule: AllsparkFeatureModule; + const mockScreens = { + screen1: jest.fn(), + screen2: jest.fn(), + }; + + beforeEach(() => { + allsparkFeatureModule = new AllsparkFeatureModule('test-feature-id', config); + jest.spyOn(allsparkFeatureModule as any, '_resolveCapability').mockReturnValue(mockScreens); + }); + + it('log a warning if screens are already connected', () => { + const consoleWarnSpy = jest.spyOn(console, 'warn').mockImplementation(); + (allsparkFeatureModule as any)._connectedMap.screens = true; + allsparkFeatureModule['_connectScreens'](); + expect(consoleWarnSpy).toHaveBeenCalledWith('AllsparkFeature test-feature-id screens already connected.'); + consoleWarnSpy.mockRestore(); + }); + + it('resolve and connect screens correctly when not connected', () => { + const addScreenSpy = jest.spyOn(AllsparkNavigationClient, 'addScreen').mockImplementation(); + allsparkFeatureModule['_connectScreens'](); + expect(allsparkFeatureModule['_resourceMap'].screens).toEqual(mockScreens); + expect(allsparkFeatureModule['_connectedMap'].screens).toBe(true); + expect(addScreenSpy).toHaveBeenCalledWith('screen1', mockScreens.screen1, 'test-feature-id'); + expect(addScreenSpy).toHaveBeenCalledWith('screen2', mockScreens.screen2, 'test-feature-id'); + addScreenSpy.mockRestore(); + }); + }); + \ No newline at end of file
add more coverage feature module
add more coverage feature module
cf09d87e5eeee18d04878c54070c43c91f24abed
--- packages/allspark-foundation-hub/src/HubFeature/Hub/Container/AllsparkHubContainer.tsx @@ -17,7 +17,6 @@ import { managerExperienceSlice } from '../../Redux/reducer'; import { HubDashboard } from './Screens'; import BottomSheet from '../../BottomSheet/BottomSheet'; import HubOnboardingImage from '../../BottomSheet/HubOnboardingImage/OnboardingImage'; -import userOnboardingSaga from '../../Redux/sagas'; import { ManagerExperienceSelectors } from '../../Redux'; export const managerExperienceFeature = new AllsparkFeatureModule(FEATURE_ID, { @@ -42,7 +41,6 @@ export const managerExperienceFeature = new AllsparkFeatureModule(FEATURE_ID, { }, redux: { reducer: managerExperienceSlice.reducer, - saga: userOnboardingSaga, }, }); --- packages/allspark-foundation-hub/src/HubFeature/Hub/Container/Screens/HubDashboard.tsx @@ -14,9 +14,9 @@ import styles from '../styles'; import { Alert, Body } from '@walmart/gtp-shared-components'; import { AllsparkComponentContainers } from '@walmart/allspark-foundation/Components'; import { HubDashboardProps } from './types'; -import { managerExperienceSlice } from '../../../Redux'; import { TeamOnboardingScreen } from '../../../Onboarding/TeamOnboarding'; import { isNil } from 'lodash'; +import { ManagerExperienceCreators } from '../../../Redux'; export const HubDashboard = ({ name, widgets }: HubDashboardProps) => { const [teamId, setTeamId] = useState('total'); @@ -70,7 +70,7 @@ export const HubDashboard = ({ name, widgets }: HubDashboardProps) => { useEffect(() => { if (!isUserOnboarded) { setShowUserOnboarding(true); - dispatch(managerExperienceSlice.actions.startUserOnboarding); + dispatch(ManagerExperienceCreators.startUserOnboarding()); } }, [dispatch, isUserOnboarded]); --- packages/allspark-foundation-hub/src/HubFeature/Onboarding/TeamSelection/Component/TeamSelectionList.tsx @@ -1,4 +1,4 @@ -import React from 'react'; +import React, { useEffect } from 'react'; import { View, Text, SectionList } from 'react-native'; import { RenderTeamSelectionListItems } from './RenderTeamSelectionListItem'; import { SelectionBanner } from './SelectionBanner'; @@ -20,7 +20,7 @@ import { LoggerService } from '@walmart/allspark-foundation/Logger'; import { useTelemetryService } from '@walmart/allspark-foundation/Telemetry'; import { useAllsparkTranslation } from '@walmart/allspark-foundation/Translation'; import { FEATURE_ID } from '../../../constant'; -import { managerExperienceSlice } from '../../../Redux'; +import { ManagerExperienceCreators } from '../../../Redux'; export const TeamSelectionList = ({ userType, @@ -42,6 +42,11 @@ export const TeamSelectionList = ({ const win: string | undefined = useSelector(UserSelectors.getWin); const logger = LoggerService.getContainerInstance(); const teamSelectionTelemetry = useTelemetryService(); + + useEffect(() => { + dispatch(ManagerExperienceCreators.startTeamSelection()); + }, [dispatch]); + const [upsertManagerExperiencePreferenceMutation, { error, loading }] = useUpsertManagerExperiencePreferenceMutation({ onCompleted: () => { @@ -81,7 +86,9 @@ export const TeamSelectionList = ({ })) as TeamPreference[], }, }); - dispatch(managerExperienceSlice.actions.completeUserOnboarding); + dispatch(ManagerExperienceCreators.completeUserOnboarding()); + dispatch(ManagerExperienceCreators.completeTeamSelection()); + AllsparkNavigationClient.goBack(); //TODO: Add confirmation screen navigation logger.info('Save teams event', { message: 'Save teams event triggered', --- packages/allspark-foundation-hub/src/HubFeature/Redux/index.tsx @@ -1,5 +1,4 @@ export * from './actions'; export * from './reducer'; -export * from './sagas'; export * from './selectors'; export * from './types'; --- packages/allspark-foundation-hub/src/HubFeature/Redux/reducer.ts @@ -8,6 +8,8 @@ export const INITIAL_STATE: ManagerExperienceState = { selectedTeamData: [], userOnboardingComplete: false, userOnboardingInProgress: false, + userTeamSelectionInProgress: false, + userTeamSelectionComplete: false, userOnboardingError: null, }; @@ -25,10 +27,18 @@ export const managerExperienceSlice = createSlice({ state.userOnboardingInProgress = true; state.userOnboardingError = null; }, + startTeamSelection: (state) => { + state.userTeamSelectionInProgress = true; + state.userOnboardingError = null; + }, completeUserOnboarding: (state) => { state.userOnboardingComplete = true; state.userOnboardingInProgress = false; }, + completeTeamSelection: (state) => { + state.userTeamSelectionComplete = true; + state.userTeamSelectionInProgress = false; + }, userOnboardingFailed: (state, action: PayloadAction<string>) => { state.userOnboardingInProgress = false; state.userOnboardingError = action.payload; --- packages/allspark-foundation-hub/src/HubFeature/Redux/sagas.ts @@ -1,21 +0,0 @@ -import { delay, put, takeLatest } from 'redux-saga/effects'; -import { managerExperienceSlice } from './reducer'; - -function* handleUserOnboarding() { - try { - yield put(managerExperienceSlice.actions.startUserOnboarding()); - yield delay(2000); - yield put(managerExperienceSlice.actions.completeUserOnboarding()); - } catch (error: any) { - yield put( - managerExperienceSlice.actions.userOnboardingFailed(error.message) - ); - } -} - -export default function* userOnboardingSaga() { - yield takeLatest( - managerExperienceSlice.actions.startUserOnboarding.type, - handleUserOnboarding - ); -} --- packages/allspark-foundation-hub/src/HubFeature/Redux/types.ts @@ -3,5 +3,7 @@ export interface ManagerExperienceState { selectedTeamData: string[]; userOnboardingComplete: boolean; userOnboardingInProgress: boolean; + userTeamSelectionInProgress: boolean; + userTeamSelectionComplete: boolean; userOnboardingError: string | null; }
feat(ui): update the action for navigation
feat(ui): update the action for navigation
bc553bf7acff577c5756a81e472e5c7134051616
--- src/navConfig/NavConfigRedux.ts @@ -88,6 +88,7 @@ export const DEFAULT_BOTTOM_NAV = { askSam: {enabled: true} as BottomTabNav, myTeam: {enabled: true} as BottomTabNav, taskit: {enabled: true} as BottomTabNav, + copilot: {enabled: true} as BottomTabNav, }; export const getBottomNavConfigMap = createSelector(
fix(DWORK-149): add copilot type to DEFAULT_BOTTOM_NAV
fix(DWORK-149): add copilot type to DEFAULT_BOTTOM_NAV