commit_hash stringlengths 40 40 | input stringlengths 13 7.99k | output stringlengths 5 155 | full_message stringlengths 6 8.96k |
|---|---|---|---|
2dda17e69add1f5de3a37f71b9ffca3cf2e10485 | --- package.json
@@ -76,8 +76,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.10",
"@walmart/allspark-cope-key-listener": "0.0.18",
- "@walmart/allspark-foundation": "6.44.1",
- "@walmart/allspark-foundation-hub": "1.9.4",
+ "@walmart/allspark-foundation": "6.45.2",
+ "@walmart/allspark-foundation-hub": "1.10.0",
"@walmart/allspark-graphql-client": "~6.3.28",
"@walmart/allspark-http-client": "~6.3.28",
"@walmart/allspark-neon-core": "0.1.31",
@@ -122,7 +122,7 @@
"@walmart/mod-flex-mini-app": "1.27.0",
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "2.3.9",
- "@walmart/myteam-mini-app": "3.0.1",
+ "@walmart/myteam-mini-app": "3.0.2",
"@walmart/native-rfid-scanner": "4.0.22",
"@walmart/onewalmart-miniapp": "1.0.27",
"@walmart/online-w4-mini-app": "0.7.26",
@@ -146,7 +146,7 @@
"@walmart/rfid-scan-mini-app": "2.10.4",
"@walmart/rn-mobile-sdk-pairing": "2.1.8",
"@walmart/rn-receiving-mini-app": "2.4.97",
- "@walmart/roster-mini-app": "3.1.1",
+ "@walmart/roster-mini-app": "3.2.0",
"@walmart/schedule-mini-app": "2.1.3",
"@walmart/shelfavailability-mini-app": "1.5.45",
"@walmart/shop-gnfr-mini-app": "1.0.302",
--- yarn.lock
@@ -6263,9 +6263,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation-hub@npm:1.9.4":
- version: 1.9.4
- resolution: "@walmart/allspark-foundation-hub@npm:1.9.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation-hub%2F-%2F%40walmart%2Fallspark-foundation-hub-1.9.4.tgz"
+"@walmart/allspark-foundation-hub@npm:1.10.0":
+ version: 1.10.0
+ resolution: "@walmart/allspark-foundation-hub@npm:1.10.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation-hub%2F-%2F%40walmart%2Fallspark-foundation-hub-1.10.0.tgz"
peerDependencies:
"@react-navigation/native": 6.x
"@walmart/allspark-foundation": ">=6.27"
@@ -6275,13 +6275,13 @@ __metadata:
react: "*"
react-native: "*"
react-native-safe-area-context: 4.x
- checksum: 10c0/0395c67a7c30da70ce38cc14a20cc6923cc38655abe2d4d5028e065c0d59931fb432774ef782abd67fa32a0d6374f38c56c1bc6aadb461c553ecd539cdc7f7b4
+ checksum: 10c0/28456d4f5eeccf96656d5fbc2a439a0665d3a8d75ab2af1a308a1379fd3d68d7f1ff19c53e8a11859d96c614013df60cdd011603e090a981c16a74b9d2911fa4
languageName: node
linkType: hard
-"@walmart/allspark-foundation@npm:6.44.1":
- version: 6.44.1
- resolution: "@walmart/allspark-foundation@npm:6.44.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation%2F-%2F%40walmart%2Fallspark-foundation-6.44.1.tgz"
+"@walmart/allspark-foundation@npm:6.45.2":
+ version: 6.45.2
+ resolution: "@walmart/allspark-foundation@npm:6.45.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation%2F-%2F%40walmart%2Fallspark-foundation-6.45.2.tgz"
dependencies:
"@apollo/client": "npm:^3.8.6"
"@graphql-codegen/cli": "npm:^5.0.0"
@@ -6358,7 +6358,7 @@ __metadata:
optional: true
bin:
allspark-generate-graphql: ./cli/generate.js
- checksum: 10c0/c28d8bdbdcbc68b5556c425d0033d0197ef33af78bfe755099e976502cb54b85b2549bce05b61c54494dd5bceba2c4f136dc32a3add10d4145ab4d5d468b3bc5
+ checksum: 10c0/605f790d2eec01c7996ca8e12dac0afe703b80eeb7abcc1aa69663e8ea29cb914cd3fcf0aa914c5fe8e4b971a9de7d53814fabc46cc1c802dd8922a4fdaf7389
languageName: node
linkType: hard
@@ -7417,8 +7417,8 @@ __metadata:
"@types/react-test-renderer": "npm:^18.0.7"
"@walmart/allspark-authentication": "npm:6.4.10"
"@walmart/allspark-cope-key-listener": "npm:0.0.18"
- "@walmart/allspark-foundation": "npm:6.44.1"
- "@walmart/allspark-foundation-hub": "npm:1.9.4"
+ "@walmart/allspark-foundation": "npm:6.45.2"
+ "@walmart/allspark-foundation-hub": "npm:1.10.0"
"@walmart/allspark-graphql-client": "npm:~6.3.28"
"@walmart/allspark-http-client": "npm:~6.3.28"
"@walmart/allspark-neon-core": "npm:0.1.31"
@@ -7463,7 +7463,7 @@ __metadata:
"@walmart/mod-flex-mini-app": "npm:1.27.0"
"@walmart/moment-walmart": "npm:1.0.4"
"@walmart/money-auth-shared-components": "npm:2.3.9"
- "@walmart/myteam-mini-app": "npm:3.0.1"
+ "@walmart/myteam-mini-app": "npm:3.0.2"
"@walmart/native-rfid-scanner": "npm:4.0.22"
"@walmart/onewalmart-miniapp": "npm:1.0.27"
"@walmart/online-w4-mini-app": "npm:0.7.26"
@@ -7487,7 +7487,7 @@ __metadata:
"@walmart/rfid-scan-mini-app": "npm:2.10.4"
"@walmart/rn-mobile-sdk-pairing": "npm:2.1.8"
"@walmart/rn-receiving-mini-app": "npm:2.4.97"
- "@walmart/roster-mini-app": "npm:3.1.1"
+ "@walmart/roster-mini-app": "npm:3.2.0"
"@walmart/schedule-mini-app": "npm:2.1.3"
"@walmart/shelfavailability-mini-app": "npm:1.5.45"
"@walmart/shop-gnfr-mini-app": "npm:1.0.302"
@@ -7790,9 +7790,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/myteam-mini-app@npm:3.0.1":
- version: 3.0.1
- resolution: "@walmart/myteam-mini-app@npm:3.0.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fmyteam-mini-app%2F-%2F%40walmart%2Fmyteam-mini-app-3.0.1.tgz"
+"@walmart/myteam-mini-app@npm:3.0.2":
+ version: 3.0.2
+ resolution: "@walmart/myteam-mini-app@npm:3.0.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fmyteam-mini-app%2F-%2F%40walmart%2Fmyteam-mini-app-3.0.2.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=6.32.0"
expo: ~52.0.46
@@ -7803,7 +7803,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/a30fd7cc6904d9d6da2bbea49356f34851b3ac1fc8aba2f9da55ce80b15e270bf758c368f0aaf3e5b02ae72123930eb4a09ff85b3607f94991d4119e56cdfb66
+ checksum: 10c0/eca8edeae5568133ab08f689359bb44aac323b836ee0578863703bb38ddd3d5462ee8508539f47f4dbd4a6aa675523782af5e00620511b1a7f9b2e8eaa2373ef
languageName: node
linkType: hard
@@ -8159,9 +8159,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:3.1.1":
- version: 3.1.1
- resolution: "@walmart/roster-mini-app@npm:3.1.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2F%40walmart%2Froster-mini-app-3.1.1.tgz"
+"@walmart/roster-mini-app@npm:3.2.0":
+ version: 3.2.0
+ resolution: "@walmart/roster-mini-app@npm:3.2.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2F%40walmart%2Froster-mini-app-3.2.0.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=6.32.0"
expo: ~52.0.46
@@ -8172,7 +8172,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/c992f01a4f72a2eef06795b8a47252dca25e8016c2612a3272d1177063afdbe2f883d270548c18241214b0ee5a17664fd980b06e49a002e4a2d99135f39b0ee0
+ checksum: 10c0/ca91051c769a863628ad7d3bbbee7fcf893c88ef5e7480a503737cdf9009c8cd3ca400a9122bf6b9e8da21b945ab8ffe07dda56db2954468e299af71e1a929b1
languageName: node
linkType: hard
| fix(ui): update roster mini app for Supply chain error from Drop 30 (#4371) | fix(ui): update roster mini app for Supply chain error from Drop 30 (#4371)
* fix(ui): update roster mini app for Supply chain error from Drop 30
* feat(ui): update allspark-foundation-hub version
* feat(ui): resolve the merge conflicts for foundation-hub
* chore(ui): revert yarn.lock
* chore(ui): update yarn.lock
* chore(ui): update roster and myteam version
---------
Co-authored-by: p0d02sx <prasansuresh.dhresh@walmart.com>
# Conflicts:
# package.json
# yarn.lock
|
6eaf34c08307170197e518821855d2c3a36226fb | --- packages/allspark-foundation-hub/src/HubFeature/Store/HubHeader/index.tsx
@@ -28,7 +28,7 @@ export const HubHeader = ({
<Body
accessibilityRole='text'
UNSAFE_style={styles.subText}
- accessibilityLabel={subText}
+ accessibilityLabel={subText as string}
testID='hub-header-subText'
>
{subText}
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Components/ShiftFilter/ShiftFilterList.tsx
@@ -27,6 +27,7 @@ export const ShiftFilterList: React.FC<ShiftFilterListProps> = ({
<Alert
variant='error'
children={t('shiftFilter.mandatoryShiftError')}
+ testID='mandatory-shift-error'
/>
)}
<View style={styles.container}>
| Adding test ID and type | Adding test ID and type
|
aa1c2165184909d4a279a8e023eafce7c284d1f3 | --- src/containers/WarningBanner.tsx
@@ -14,7 +14,7 @@ export const WarningBanner = () => {
const onDismissBanner = () => setDismissBanner(true);
return showWarningBanner && !dismissBanner ? (
<Banner variant='warning' onClose={onDismissBanner}>
- <Text>{messageContent.toString()}</Text>
+ <Text>{messageContent}</Text>
</Banner>
) : (
<></>
--- src/redux/selectors.ts
@@ -85,14 +85,14 @@ export const teamLeadJobDescriptions = createSelector(
export const shouldDisplayWarningBanner = createSelector(
[getTextingAppConfigData],
(state) =>
- state?.shouldDisplayWarningBanner ??
+ state?.shouldDisplayWarningBanner?.toString()?.toLowerCase() === 'true' ??
CCMFallbacks.shouldDisplayWarningBanner,
);
export const warningMessageContent = createSelector(
[getTextingAppConfigData],
(state) =>
- state?.warningMessageContent?.toString()?.toLowerCase() === 'true' ??
+ state?.warningMessageContent?.toString() ??
CCMFallbacks.warningMessageContent,
);
--- src/containers/WarningBanner.tsx
@@ -14,7 +14,7 @@ export const WarningBanner = () => {
const onDismissBanner = () => setDismissBanner(true);
return showWarningBanner && !dismissBanner ? (
<Banner variant='warning' onClose={onDismissBanner}>
- <Text>{messageContent.toString()}</Text>
+ <Text>{messageContent}</Text>
</Banner>
) : (
<></>
--- src/redux/selectors.ts
@@ -85,14 +85,14 @@ export const teamLeadJobDescriptions = createSelector(
export const shouldDisplayWarningBanner = createSelector(
[getTextingAppConfigData],
(state) =>
- state?.shouldDisplayWarningBanner ??
+ state?.shouldDisplayWarningBanner?.toString()?.toLowerCase() === 'true' ??
CCMFallbacks.shouldDisplayWarningBanner,
);
export const warningMessageContent = createSelector(
[getTextingAppConfigData],
(state) =>
- state?.warningMessageContent?.toString()?.toLowerCase() === 'true' ??
+ state?.warningMessageContent?.toString() ??
CCMFallbacks.warningMessageContent,
);
| update the selector | update the selector
|
c4d5c0ed5b54e3f0d256e2435f079dc83d66cd11 | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Screens/EditSavedTeamModal/EditSavedTeamsModal.tsx
@@ -1,4 +1,4 @@
-import React, { useCallback, useState } from 'react';
+import React, { useCallback, useRef, useState } from 'react';
import { TeamSearchInput } from '../../../Shared/Components/SearchInput/SearchInput';
import { ScrollView, SectionList, View } from 'react-native';
import {
@@ -38,6 +38,7 @@ export const EditSavedTeamsModal = ({ modal }: ModalProps) => {
const { shiftPreferenceData, teamPreferenceData, refetch } =
useGetSupplyChainTeamsPreferenceQuery();
const { allSiteTeamsSections } = useGetSupplyChainAllTeamsBySite();
+ const hasMounted = useRef<boolean>(false);
const [upsertSupplyChainAssociatePreferenceMutation] =
useUpsertSupplyChainAssociatePreferenceMutation({
context: {
@@ -65,7 +66,12 @@ export const EditSavedTeamsModal = ({ modal }: ModalProps) => {
setSearchedsections(allSiteTeamsSections);
}
- if (!selectedTeams.length && teamPreferenceData.length) {
+ if (
+ !hasMounted.current &&
+ !selectedTeams.length &&
+ teamPreferenceData.length
+ ) {
+ hasMounted.current = true;
setSelectedTeams(teamPreferenceData);
}
}, [sections, selectedTeams, teamPreferenceData, allSiteTeamsSections])
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Screens/UpdateTeamsModal/UpdateTeamsModal.tsx
@@ -2,7 +2,7 @@ import React, {
useCallback,
useMemo,
useState,
- useRef,
+ // useRef,
useEffect,
} from 'react';
import { ScrollView, View } from 'react-native';
@@ -53,7 +53,7 @@ export const UpdateTeamsModal = ({ modal: { closeModal } }: ModalProps) => {
onError: () => {},
});
const dispatch = useDispatch();
- const { shiftPreferenceData, teamPreferenceData, refetch } =
+ const { shiftPreferenceData, teamPreferenceData } =
useGetSupplyChainTeamsPreferenceQuery();
const { allSiteTeamsSections } = useGetSupplyChainAllTeamsBySite();
const prevSelectedTeamIds =
@@ -63,7 +63,7 @@ export const UpdateTeamsModal = ({ modal: { closeModal } }: ModalProps) => {
(useSelector(ManagerExperienceSelectors.getSelectedShifts) as string[]) ||
[];
- const hasTeamsUpdated = useRef(teamPreferenceData);
+ // const hasTeamsUpdated = useRef(teamPreferenceData);
const [selectedTeams, setSelectedTeams] =
useState<string[]>(prevSelectedTeamIds);
const initialShift = shiftPreferenceData.length
@@ -78,17 +78,16 @@ export const UpdateTeamsModal = ({ modal: { closeModal } }: ModalProps) => {
* There is an issue updating data between modals since the Modal component doesn't rerender,
* below is to force render and update local State based on redux
*/
- console.log('====> FROM FOCUSEFFECT', selectedTeams, teamPreferenceData);
if (!sections.length && allSiteTeamsSections.length) {
setSearchedsections(allSiteTeamsSections);
}
if (!selectedShift.length && initialShift.length) {
setSelectedShifts(initialShift);
}
- if (!selectedTeams.length && teamPreferenceData.length) {
- setSelectedTeams(teamPreferenceData);
+ if (!selectedTeams.length && prevSelectedTeamIds.length) {
+ setSelectedTeams(prevSelectedTeamIds);
}
- }, [selectedTeams, allSiteTeamsSections, teamPreferenceData])
+ }, [selectedTeams, allSiteTeamsSections, prevSelectedTeamIds])
);
// useEffect(() => {
| feat(ui): updated selection logic | feat(ui): updated selection logic
|
2e00336ff95889dab974eaf44f7cf975f5456776 | --- .codepulseai.yml
@@ -0,0 +1,16 @@
+ignore:
+ - "node_modules/"
+ - "scripts"
+ - "coverage/"
+ - "dist/"
+ - "container/*.ts"
+ - "sr.yaml"
+ - "*.yml"
+ - "*.js"
+ - "*.json"
+
+ignore_code_suggestion_keywords:
+
+auto_describe: true # If auto_describe flag value is set to true, PR title and description will be automatically generated by the CodePulseAI as soon as the PR is opened
+auto_review: true # If auto_review flag value is set to true, PR will be automatically reviewed by the CodePulseAI as soon as the PR is opened
+auto_extended_review: true # If auto_extended_review flag value is set to true, CodePulseAI will perform automated extended review of the PR as soon as the PR is opened
\ No newline at end of file
| Update my team app version | Update my team app version
|
1fc6ea664b049790507b9793c4921913ae3a5239 | --- packages/allspark-foundation-hub/__tests__/SiteHub/SiteHubDashboard.test.tsx
@@ -1,26 +1,19 @@
jest.useFakeTimers();
-import React, { useState } from 'react';
+import React from 'react';
import { SiteHubDashboard } from '../../src/SupplyChain/Hub/SiteHubDashboard';
-import { cleanup, fireEvent, render } from '../utils';
-import moment from 'moment';
-import { screen } from '@testing-library/react-native';
+import { render } from '../utils';
import { UserSelectors } from '@walmart/allspark-foundation/User';
import { useAllsparkTranslation } from '@walmart/allspark-foundation/Translation';
import {
- SC_ManagerExperienceSelectors,
scTeamSwitcherEnabled,
- defaultShiftId,
calloutEnabled,
onboardingFlowEnabled,
} from '../../src/SupplyChain/Redux/selectors';
import { mockGetSupplyChainTeamsByStoreQueryResponse } from '../../src/SupplyChain/Modals';
-import * as NavigationUtil from '@react-navigation/native';
-import { useNavigation, useRoute } from '@react-navigation/native';
+import { useNavigation } from '@react-navigation/native';
import * as OnboardingContext from '../../src/SupplyChain/Screens/OnboardingScreen/OnboardingContext';
import { useGetSupplyChainTeamsPreferenceQuery } from '../../src/SupplyChain/Hooks/useGetSupplyChainTeamPreference';
import { useGetSupplyChainAllTeamsBySite } from '../../src/SupplyChain/Hooks/useGetSupplyChainTeamsByStore';
-import * as hooks from '../../src/SupplyChain/Hooks';
-import { OnboardingScreenLoading } from '../../src/SupplyChain/Screens';
jest.mock('@walmart/allspark-foundation/Translation', () => ({
useAllsparkTranslation: jest.fn(),
| Removing unused code | Removing unused code
|
45c688058f16c5b7238102ca7bdd4596c76d57cb | --- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.0.1-beta.12",
+ "version": "1.0.1-beta.13",
"description": "",
"main": "Core/index.js",
"types": "Core/index.d.ts",
--- packages/allspark-foundation-hub/src/HubFeature/Store/Hub/Container/HubDashboard.tsx
@@ -76,6 +76,7 @@ export const HubDashboard = ({
lastRefresh: null,
});
const currentSiteId = useSelector(UserSelectors.getSiteId);
+ const originalSiteId = useSelector(UserSelectors.getOriginalUserSiteId);
const parentSiteID = useRef(currentSiteId);
const lastUpdatedTimeout = useRef<any>();
@@ -87,11 +88,15 @@ export const HubDashboard = ({
const hubScreeName = useSelector(ManagerExperienceSelectors.getHubScreenName);
const { t } = useAllsparkTranslation();
const { showOnboarding, hideOnboardingFlow } = useOnboardingContext();
+ const isOffSite =
+ currentSiteId && originalSiteId && currentSiteId !== originalSiteId;
// After changing store, reload all the hub widgets with new store data.
useEffect(() => {
if (currentSiteId !== parentSiteID.current) {
- hideOnboardingFlow();
+ if (isOffSite) {
+ hideOnboardingFlow();
+ }
telemetryLogHandler('Site change', loggerRef, {
message: `SiteId changed from ${parentSiteID.current} to ${currentSiteId}`,
});
@@ -214,7 +219,7 @@ export const HubDashboard = ({
return (
<>
- {showOnboarding ? (
+ {showOnboarding && !isOffSite ? (
<TeamOnboardingScreen />
) : (
<>
| Update foundation hub version | Update foundation hub version
|
37635c8960c0a5725889eb2a89afc7b406969051 | --- core/__tests__/__mocks__/@walmart/react-native-scanner-3.0.js
@@ -0,0 +1,3 @@
+module.exports = {
+ enableConstellationSDK: jest.fn(),
+};
--- core/__tests__/scanner/useScannerSdkTypeTest.ts
@@ -1,16 +1,7 @@
-import { renderHook } from '@testing-library/react-hooks';
-import { useSelector } from 'react-redux';
-import { enableConstellationSDK } from '@walmart/react-native-scanner-3.0';
-import { useScannerSdkType } from '../../src/scanner/useScannerSdkType';
-import { MINI_APPS } from '../../src/oneClick/MiniApps';
-
-jest.mock('react-redux', () => ({
- useSelector: jest.fn(),
-}));
-
-jest.mock('@walmart/react-native-scanner-3.0', () => ({
- enableConstellationSDK: jest.fn(),
-}));
+import {renderHook} from '@testing-library/react-hooks';
+import {useSelector} from 'react-redux';
+import {enableConstellationSDK} from '@walmart/react-native-scanner-3.0';
+import {useScannerSdkType} from '../../src/scanner/useScannerSdkType';
describe('useScannerSdkType', () => {
const mockFeatureId = 'home';
--- targets/US/ios/Podfile.lock
@@ -2449,17 +2449,17 @@ DEPENDENCIES:
SPEC REPOS:
"git@gecgithub01.walmart.com:Compass/compass-ios-private-pods.git":
- compass-sdk-ios
- - Osiris
- - OsirisBarcode
- - OsirisCamera
- - OsirisVision
- - zxing-cpp
"git@gecgithub01.walmart.com:ssaeSCTP/CocoaPodSpecs.git":
- StructuredLogAssistantIOS
- SumoSDK
"git@gecgithub01.walmart.com:store-systems-associate-tech-platform/cocoapods-specs.git":
+ - Osiris
+ - OsirisBarcode
+ - OsirisCamera
+ - OsirisVision
- ScanditBarcodeCapture
- ScanditCaptureCore
+ - zxing-cpp
https://github.com/CocoaPods/Specs.git:
- abseil
- Apollo
@@ -2957,6 +2957,6 @@ SPEC CHECKSUMS:
Yoga: c716aea2ee01df6258550c7505fa61b248145ced
zxing-cpp: fcaae9c9427f24066af415055963582be8200d05
-PODFILE CHECKSUM: f89f8fd084718a8459bfad1ed1081b9af51bc555
+PODFILE CHECKSUM: e45caceff59820fc357600d6b2277634c8242734
COCOAPODS: 1.14.3
| fix podlock reference issue | fix podlock reference issue
|
10d045e23323150fbad8b7607ae50c8ef0a80413 | --- __tests__/containers/ChatInput/hooks.test.tsx
@@ -136,68 +136,5 @@ describe('useDocumentSubscriptionSnapshot', () => {
expect(mockSetLoading).toHaveBeenCalledWith(false);
expect(mockSetMessagesState).toHaveBeenCalled();
});
- it('should handle channel document not found error and log error', async () => {
- const channelsContext = getStoreChannelsFromMockFirestore(100);
- const mockChannel = channelsContext[0];
- const channelData = mockChannel.data();
- const firstMessageDoc = {
- current: undefined,
- } as React.MutableRefObject<FirebaseFirestoreTypes.QueryDocumentSnapshot<FirebaseMessage> | undefined>;
- const channelDataRef = {
- current: channelData,
- };
- const channelDocument = {
- ...channelData.ref,
- id: channelData.channelPath,
- collection: mockCollection,
- add: mockAdd,
- update: mockUpdate,
- set: mockSet,
- };
- const mockSetMessagesState = jest.fn();
- const mockSetLoading = jest.fn();
-
- // Mock the logger
- const mockLogger = require('../../../src/common/logger');
- jest.spyOn(mockLogger.logger, 'error');
-
- // Mock update to reject with firestore not-found error
- const firestoreError = new Error('Document not found');
- // firestoreError.code = 'firestore/not-found';
- mockUpdate.mockReturnValue(Promise.reject(firestoreError));
-
- const documentSubscriptionHook = renderHook(() =>
- useDocumentSubscriptionSnapshot(
- 'user1',
- mockSetLoading,
- mockSetMessagesState,
- {
- channelData,
- firstMessageDoc,
- channelDataRef,
- channelDocument,
- },
- ),
- );
- const mockSnapshot = {
- empty: false,
- docs: [oneToOneChannel_AllMessageTypes._collections.messages],
- } as unknown as FirebaseFirestoreTypes.QuerySnapshot<FirebaseFirestoreTypes.DocumentData>;
-
- documentSubscriptionHook.result.current(mockSnapshot);
-
- // Wait for the promise to be rejected and caught
- await new Promise(resolve => setTimeout(resolve, 0));
-
- expect(mockUpdate).toHaveBeenCalledWith({
- 'recentRead.user1': {
- type: 'serverTimestamp',
- },
- });
- expect(mockLogger.logger.error).toHaveBeenCalledWith('firestore error', {
- message: `channel document does not exist ${firestoreError}`,
- channelId: channelData.id,
- });
- });
});
| test: update tests for chat input hooks | test: update tests for chat input hooks
|
e9e150001b9ba1530a2a19da7c46203584a72ced | --- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.2.7",
+ "version": "1.2.7-alpha.1",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| Update the allspark foundation hub version for SC | Update the allspark foundation hub version for SC
|
f1943e55f783d2c7e65e48cc13c6e4013ed22862 | --- ios/Podfile.lock
@@ -1611,7 +1611,7 @@ PODS:
- FirebaseMessaging (<= 10.18.0)
- StructuredLogAssistantIOS (= 0.0.7)
- TOCropViewController (2.6.1)
- - topstock-mini-app (1.7.1):
+ - topstock-mini-app (1.4.14):
- React
- VisionCamera (3.7.1):
- React
@@ -2247,7 +2247,7 @@ SPEC CHECKSUMS:
StructuredLogAssistantIOS: d48c327b3b67366d954435891dc1e748a6aeb9c1
SumoSDK: 95c692d2e6644ca3c2cd1a856aa823e163acac45
TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863
- topstock-mini-app: 6ed181f5414334e7ef24068f576b4430db99cb7c
+ topstock-mini-app: 8e69ec44fe803535dd89283ac1f7dfaba0191f77
VisionCamera: ef56ac9d3e0fef4b94c7cf75735aaccc2326e35a
walmart-react-native-sumo-sdk: 00f0285ccb2b0a56f72a5f3ab86295af0d29021c
WebexSDK: 1efbb609d59b63ea9486352ce025feab1d8bd274
@@ -2257,4 +2257,4 @@ SPEC CHECKSUMS:
PODFILE CHECKSUM: 0f8af52f722dd2fa590477cec3a60fd7b862bf26
-COCOAPODS: 1.14.3
+COCOAPODS: 1.12.0
| [Podfile.lock] reverting unnecessary changes | [Podfile.lock] reverting unnecessary changes
|
b939f008df1c408379073537710cd0f1a5c59ad9 | --- package-lock.json
@@ -47,7 +47,7 @@
"@walmart/calling-mini-app": "0.1.8",
"@walmart/compass-sdk-rn": "5.18.15",
"@walmart/config-components": "4.2.16",
- "@walmart/copilot-mini-app": "^3.46.0",
+ "@walmart/copilot-mini-app": "3.50.4",
"@walmart/core-services": "~2.3.0",
"@walmart/core-services-allspark": "~2.13.5",
"@walmart/core-utils": "~2.0.5",
@@ -8711,9 +8711,9 @@
}
},
"node_modules/@walmart/copilot-mini-app": {
- "version": "3.46.0",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.46.0.tgz",
- "integrity": "sha512-WrabSwBVYIn+SIyGiALnqAXrlzx0A9Cb6ST1PvRSNX3Xps2B3JWBXGN1cxQqUBwJFfa9Kes2WnVVIA98HSfryA==",
+ "version": "3.50.4",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.50.4.tgz",
+ "integrity": "sha512-6QlSBYHicRz46FMVDzOJWMmNaRcdflW1N6QM0I9gBu4mcCvSOuycWjb+qk8i/YPt/yDZFUlItX+wYtAN3VMpwQ==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -33315,9 +33315,9 @@
}
},
"@walmart/copilot-mini-app": {
- "version": "3.46.0",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.46.0.tgz",
- "integrity": "sha512-WrabSwBVYIn+SIyGiALnqAXrlzx0A9Cb6ST1PvRSNX3Xps2B3JWBXGN1cxQqUBwJFfa9Kes2WnVVIA98HSfryA=="
+ "version": "3.50.4",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.50.4.tgz",
+ "integrity": "sha512-6QlSBYHicRz46FMVDzOJWMmNaRcdflW1N6QM0I9gBu4mcCvSOuycWjb+qk8i/YPt/yDZFUlItX+wYtAN3VMpwQ=="
},
"@walmart/core-services": {
"version": "2.3.2",
--- package.json
@@ -88,7 +88,7 @@
"@walmart/calling-mini-app": "0.1.8",
"@walmart/compass-sdk-rn": "5.18.15",
"@walmart/config-components": "4.2.16",
- "@walmart/copilot-mini-app": "3.46.0",
+ "@walmart/copilot-mini-app": "3.50.4",
"@walmart/core-services": "~2.3.0",
"@walmart/core-services-allspark": "~2.13.5",
"@walmart/core-utils": "~2.0.5",
| chore: bump copilot@3.50.4 | chore: bump copilot@3.50.4
|
4d94a8ca600858b70976b2552ea82545ff4c253b | --- 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.355.0",
+ "@walmart/time-clock-mini-app": "2.356.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.355.0":
- version: 2.355.0
- resolution: "@walmart/time-clock-mini-app@npm:2.355.0"
+"@walmart/time-clock-mini-app@npm:2.356.0":
+ version: 2.356.0
+ resolution: "@walmart/time-clock-mini-app@npm:2.356.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/5e4c1c8021a9478d37f493a14da9d7224128b658758ae8a1f4055621cf14b3ef4dbdb26bdfed6d915b0030705d828ece92424d5e90f5c00c1a83d20e873e4235
+ checksum: 10c0/0e039fcdc9bed1db25f0fd6507feafdf12188caf8771dcbc2da5d41616dd639a4fe3eb68c4ae9dfade40fe530bf96633cc6c94261eb1516ca557bdcd26e5ed68
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.355.0"
+ "@walmart/time-clock-mini-app": "npm:2.356.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"
| tcma v3.356.0 | tcma v3.356.0
|
ffdc25345c359818d6843a6106eb056ea8f888d5 | --- package-lock.json
@@ -3103,9 +3103,9 @@
"integrity": "sha512-S5yf6tmVHz/kK5NNtW3OdQ+nDk7ii3/v1mJ9WA0c2zjL4DRQ+hbqxUv2WOsqa2uA1wbMCliwtAaPePoeiHJEmg=="
},
"@walmart/inbox-mini-app": {
- "version": "0.0.91",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.0.91.tgz",
- "integrity": "sha512-KQw0TodpNc2trAMWB2iBfXzsDvYDyhquUxG0czTcgrbXEhMPqihKnXLQdhGpGoAS+a9JLYKRnQNTj/EFgnuYiw=="
+ "version": "0.0.92",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.0.92.tgz",
+ "integrity": "sha512-pFj3FRHHuIk3pOlzU4IL8nWsSyWjGsfeRqoSIXqbFQuFj+PuwnBeU7BPwlD6fqEIshqBMGSnqIkbRaWSaXIxbQ=="
},
"@walmart/moment-walmart": {
"version": "1.0.4",
--- package.json
@@ -69,7 +69,7 @@
"@walmart/functional-components": "1.0.27",
"@walmart/gtp-shared-components": "^0.2.2",
"@walmart/impersonation-mini-app": "1.0.14",
- "@walmart/inbox-mini-app": "0.0.91",
+ "@walmart/inbox-mini-app": "0.0.92",
"@walmart/moment-walmart": "1.0.4",
"@walmart/push-to-talk-mini-app": "0.3.31",
"@walmart/react-native-env": "^0.1.0",
| inbox version bump (#498) | inbox version bump (#498)
|
4217ba658f4e188014ac3b4b4a9e6d506818e99f | --- .husky/commit-msg
@@ -0,0 +1,3 @@
+#! /bin/env bash
+
+npx --no -- commitlint --edit $1
--- .husky/pre-commit
@@ -0,0 +1,3 @@
+#! /bin/env bash
+
+npm run test && npm run lint
--- .husky/prepare-commit-msg
@@ -0,0 +1,13 @@
+#! /bin/env bash
+
+if [ "$2" = "commit" ]; then
+ echo Skip commitized quizze due to amend mode
+ exit 0
+fi
+
+if [ -n "$GIT_SEQUENCE_EDITOR" ]; then
+ echo Skip commitized due to rebase mode
+ exit 0
+fi
+
+exec </dev/tty && git cz --hook || true
--- package.json
@@ -38,7 +38,8 @@
"buildDependenciesMap": "node ./scripts/dependencies-map/src/deps-crawler/index.js -- -f -dm -dc path='./scripts/dependencies-map/src/config/deps-source.json' chunk_size=20",
"android": "expo run:android",
"ios": "expo run:ios",
- "build": "yarn tsc"
+ "build": "yarn tsc",
+ "prepare": "husky"
},
"devDependencies": {
"@babel/core": "^7.22.10",
@@ -111,6 +112,7 @@
"expo-local-authentication": "~14.0.1",
"expo-splash-screen": "~0.27.7",
"fs-extra": "^11.2.0",
+ "husky": "^9.1.7",
"inquirer": "^12.0.0",
"jest": "^29.6.3",
"jest-expo": "~51.0.4",
@@ -188,5 +190,13 @@
"expo": "~51.0.28",
"react": "18.2.0",
"react-native": "0.74.5"
+ },
+ "config": {
+ "commitizen": {
+ "path": "./node_modules/@digitalroute/cz-conventional-changelog-for-jira",
+ "skipDescription": true,
+ "skipScope": false,
+ "jiraPrefix": "JIRA_PROJECT"
+ }
}
}
--- yarn.lock
@@ -6245,6 +6245,7 @@ __metadata:
expo-local-authentication: "npm:~14.0.1"
expo-splash-screen: "npm:~0.27.7"
fs-extra: "npm:^11.2.0"
+ husky: "npm:^9.1.7"
inquirer: "npm:^12.0.0"
jest: "npm:^29.6.3"
jest-expo: "npm:~51.0.4"
@@ -10354,6 +10355,15 @@ __metadata:
languageName: node
linkType: hard
+"husky@npm:^9.1.7":
+ version: 9.1.7
+ resolution: "husky@npm:9.1.7::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Fhusky%2F-%2Fhusky-9.1.7.tgz"
+ bin:
+ husky: bin.js
+ checksum: 10c0/35bb110a71086c48906aa7cd3ed4913fb913823715359d65e32e0b964cb1e255593b0ae8014a5005c66a68e6fa66c38dcfa8056dbbdfb8b0187c0ffe7ee3a58f
+ languageName: node
+ linkType: hard
+
"i18next@npm:^23.6.0":
version: 23.16.8
resolution: "i18next@npm:23.16.8::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Fi18next%2F-%2Fi18next-23.16.8.tgz"
| feat(ui): update expo cng | feat(ui): update expo cng
|
e74cea7f5be92cfee43999a1fa2856506a692f61 | --- .looper-pr.yml
@@ -21,7 +21,7 @@ envs:
STAGES_TO_RUN:
LINT: true
UNITTEST: true
- BUILD: true
+ BUILD: false
SONAR_SCAN: true
ARTIFACT_PUBLISH: true
AUTO_PR_MONO: false
--- package.json
@@ -95,9 +95,9 @@
"@walmart/react-native-shared-navigation": "6.1.4",
"@walmart/react-native-sumo-sdk": "2.7.4",
"@walmart/redux-store": "6.3.29",
- "@walmart/roster-mini-app": "2.38.0",
+ "@walmart/roster-mini-app": "2.38.1",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "2.36.1",
+ "@walmart/wmconnect-mini-app": "2.36.2",
"babel-jest": "^29.6.3",
"chance": "^1.1.11",
"crypto-js": "~4.2.0",
@@ -195,10 +195,5 @@
"skipScope": false,
"jiraPrefix": "JIRA_PROJECT"
}
- },
- "dependencies": {
- "expo": "~51.0.28",
- "react": "18.2.0",
- "react-native": "0.74.5"
}
}
--- yarn.lock
@@ -6591,9 +6591,9 @@ __metadata:
"@walmart/react-native-shared-navigation": "npm:6.1.4"
"@walmart/react-native-sumo-sdk": "npm:2.7.4"
"@walmart/redux-store": "npm:6.3.29"
- "@walmart/roster-mini-app": "npm:2.38.0"
+ "@walmart/roster-mini-app": "npm:2.38.1"
"@walmart/ui-components": "npm:1.15.1"
- "@walmart/wmconnect-mini-app": "npm:2.36.1"
+ "@walmart/wmconnect-mini-app": "npm:2.36.2"
babel-jest: "npm:^29.6.3"
chance: "npm:^1.1.11"
crypto-js: "npm:~4.2.0"
@@ -6717,51 +6717,20 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:2.38.0":
- version: 2.38.0
- resolution: "@walmart/roster-mini-app@npm:2.38.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.38.0.tgz"
- peerDependencies:
- "@react-native-async-storage/async-storage": ^1.21.0
- "@react-native-community/netinfo": ^11.0.1
- "@react-native-firebase/analytics": ~17.4.2
- "@react-native-firebase/crashlytics": ~17.4.2
- "@react-native-firebase/database": ~17.4.2
- "@react-native-firebase/perf": ~17.4.2
- "@react-navigation/drawer": ^6.6.4
- "@react-navigation/native": ^6.0.8
- "@reduxjs/toolkit": ^1.9.7
- "@types/node": 20.5.9
- "@walmart/allspark-authentication": 6.1.4
- "@walmart/allspark-graphql-client": ^1.4.6
- "@walmart/allspark-http-client": 6.1.4
- "@walmart/config-components": 4.4.0
- "@walmart/core-services": 6.1.4
- "@walmart/core-services-allspark": 6.25.1
- "@walmart/core-utils": 6.1.4
- "@walmart/functional-components": 6.1.4
- "@walmart/gtp-shared-components": 2.2.4
- "@walmart/react-native-encrypted-storage": ~1.1.3
- "@walmart/react-native-logger": 1.34.8
- "@walmart/react-native-scanner-3.0": 0.5.1
- "@walmart/react-native-shared-navigation": 6.1.4
- "@walmart/react-native-sumo-sdk": "*"
- i18next: ^23.6.0
- moment-timezone: ~0.5.43
- npm-run-all: ^4.1.5
- react-i18next: ^13.3.1
- react-native-apollo-devtools-client: ^1.0.4
- react-native-app-auth: ^6.4.3
- react-native-device-info: ~10.13.1
- react-native-gesture-handler: ^2.14.0
- react-native-get-random-values: ~1.10.0
- react-native-reanimated: ^3.6.0
- react-native-safe-area-context: ^4.8.2
- react-native-screens: ^3.28.0
- react-native-wm-telemetry: 6.1.4
- redux: ^4.2.1
- redux-saga: ^1.2.3
- wifi-store-locator: 1.4.1
- checksum: 10c0/d7a3d019299ce83e49a312e20a95cd7c5070d280918b0ad11f886396383fadc202c1384987149217b56cefc42207a498e9682cf56a35cd62f0c4284d6a941f58
+"@walmart/roster-mini-app@npm:2.38.1":
+ version: 2.38.1
+ resolution: "@walmart/roster-mini-app@npm:2.38.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2F%40walmart%2Froster-mini-app-2.38.1.tgz"
+ peerDependencies:
+ "@walmart/allspark-foundation": ">=6.32.0"
+ expo: ^51.0.0
+ expo-image: ~1.13.0
+ react: "*"
+ react-native: "*"
+ react-native-wm-config: 0.1.1
+ dependenciesMeta:
+ "@walmart/me-at-walmart":
+ built: false
+ checksum: 10c0/fce0b6a703ca892b3ed74416a301f5161a73c685daff530bc6e746f68fa983daf083ae1613ecffde9efe5091cdfa606a0a118b77ef580efe8fd0fb4ec809b4d8
languageName: node
linkType: hard
@@ -6785,13 +6754,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:2.36.1":
- version: 2.36.1
- resolution: "@walmart/wmconnect-mini-app@npm:2.36.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.36.1.tgz"
- dependencies:
- expo: "npm:~51.0.28"
- react: "npm:18.2.0"
- react-native: "npm:0.74.5"
+"@walmart/wmconnect-mini-app@npm:2.36.2":
+ version: 2.36.2
+ resolution: "@walmart/wmconnect-mini-app@npm:2.36.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-2.36.2.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=6.32.0"
expo: ^51.0.0
@@ -6802,7 +6767,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/e710862dd8549760f31df74c79fdb22bad54d3d2dcda2027a90370621821973d0c7c1e62942cdf863518772c15112cae9674a6d0e486e7c31b31eeb5c90acf04
+ checksum: 10c0/d715fd08c3fcf74b3480896159cfb93b05e2100feac6c2e1773c66013015b1e515367c6fd30184c224edf6ccad5e22658a914e87d0403818cf0de011bd1dea47
languageName: node
linkType: hard
@@ -10062,7 +10027,7 @@ __metadata:
languageName: node
linkType: hard
-"expo@npm:^51.0.0, expo@npm:~51.0.28":
+"expo@npm:^51.0.0":
version: 51.0.39
resolution: "expo@npm:51.0.39::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Fexpo%2F-%2Fexpo-51.0.39.tgz"
dependencies:
| fix(ui): update package | fix(ui): update package
|
96c238f836e1f86efa4e993ddf0fa5ead89cfd43 | --- package-lock.json
@@ -5094,9 +5094,9 @@
}
},
"@walmart/ask-sam-mini-app": {
- "version": "1.2.13",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.2.13.tgz",
- "integrity": "sha512-skczD5rDTI/yJsKwbcJysv0cvKE8Q1DzhgZjgJe5XuD5MuTt2JmTJov1/nwFEY5POC0wAFE7IgO63CyhRoRx6Q==",
+ "version": "1.2.91",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.2.91.tgz",
+ "integrity": "sha512-lIAab820NmmD0DYJj2QLzqvVuANFOsW2JaGgaHuDkJMcLHzFX3POsLgUruoy6H7UlpqW2JgAzkZ0UkH3qt0Rig==",
"requires": {
"@walmart/core-utils": "^1.0.9",
"@walmart/react-native-scanner-3.0": "^0.1.12",
--- package.json
@@ -79,7 +79,7 @@
"@walmart/allspark-neon-core": "0.1.31",
"@walmart/amp-mini-app": "0.2.13",
"@walmart/ask-sam-chat-components": "^0.2.7",
- "@walmart/ask-sam-mini-app": "^1.2.13",
+ "@walmart/ask-sam-mini-app": "^1.2.91",
"@walmart/config-components": "3.0.3",
"@walmart/core-services": "~1.2.11",
"@walmart/core-services-allspark": "~1.7.32",
| ask sam mini app version bump | ask sam mini app version bump
|
93ad694531e7f5225d76d8aa504292e8a430cb16 | --- __tests__/screens/MessagesScreen/OneToOneChatTest.tsx
@@ -47,7 +47,7 @@ describe('1-1 chat', () => {
<MessagesScreen navigation={navigation} route={mockRoute} />,
);
const chatInputSendButton = messagesScreen.getByTestId(
- 'actionButtonInstance',
+ 'chatInputSendButton',
);
const chatInputTextInput = messagesScreen.getByTestId('chatInputTextInput');
await simulatedUser.type(
@@ -71,13 +71,9 @@ describe('1-1 chat', () => {
*
*/
it('should send an audio message and push notification', async () => {
-
const messagesScreen = renderWithProviders(
<MessagesScreen navigation={navigation} route={mockRoute} />,
);
- const chatInputSendButton = messagesScreen.getByTestId(
- 'chatInputSendButton',
- );
const recordAudioActionButton = messagesScreen.getByTestId('audioButton');
expect(messagesScreen.queryByTestId('chatInputSendAudioButton')).toBeNull();
@@ -117,7 +113,7 @@ describe('1-1 chat', () => {
<MessagesScreen navigation={navigation} route={mockRoute} />,
);
const chatInputSendButton = messagesScreen.getByTestId(
- 'actionButtonInstance',
+ 'chatInputSendButton',
);
expect(
messagesScreen.queryByTestId('imageAttachmentForChatInput'),
--- __tests__/screens/MessagesScreen/OneToOneChatTest.tsx
@@ -47,7 +47,7 @@ describe('1-1 chat', () => {
<MessagesScreen navigation={navigation} route={mockRoute} />,
);
const chatInputSendButton = messagesScreen.getByTestId(
- 'actionButtonInstance',
+ 'chatInputSendButton',
);
const chatInputTextInput = messagesScreen.getByTestId('chatInputTextInput');
await simulatedUser.type(
@@ -71,13 +71,9 @@ describe('1-1 chat', () => {
*
*/
it('should send an audio message and push notification', async () => {
-
const messagesScreen = renderWithProviders(
<MessagesScreen navigation={navigation} route={mockRoute} />,
);
- const chatInputSendButton = messagesScreen.getByTestId(
- 'chatInputSendButton',
- );
const recordAudioActionButton = messagesScreen.getByTestId('audioButton');
expect(messagesScreen.queryByTestId('chatInputSendAudioButton')).toBeNull();
@@ -117,7 +113,7 @@ describe('1-1 chat', () => {
<MessagesScreen navigation={navigation} route={mockRoute} />,
);
const chatInputSendButton = messagesScreen.getByTestId(
- 'actionButtonInstance',
+ 'chatInputSendButton',
);
expect(
messagesScreen.queryByTestId('imageAttachmentForChatInput'),
| fixing tests | fixing tests
|
c19ed5525ccb4778bf5a482139656f269d4883c6 | --- graphql.yml
@@ -36,18 +36,8 @@ applications:
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getLoggedInUser.graphql'
tags:
- 'v1'
- - name: 'GetSupplyChainShifts'
- hash: 'b0f8dbb33dfb79cf68890fa719d4a9a6a2ab8e851ea3a81708a31ac9078c988c'
- queryTemplate: 'packages/me-at-walmart-athena-queries/src/getSupplyChainShifts.graphql'
- tags:
- - 'v1'
- - name: 'getSupplyChainTeamPreference'
- hash: '61253c3d4d8ab6db774a903969c2f63de9113f44c1947d52c3630dd38ce30839'
- queryTemplate: 'packages/me-at-walmart-athena-queries/src/getSupplyChainTeamPreferenceQuery.graphql'
- tags:
- - 'v1'
- name: 'GetSupplyChainTeamsByStore'
- hash: '74bb80b3180028948952cb07a41ad7a621c0721110520631ee9d871f7a555b67'
+ hash: '628c21f19457c4deea7fd9d2dd15138c11da598add9f4f67441e0d7d9318c8d1'
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getSupplyChainTeamsByStore.graphql'
tags:
- 'v1'
@@ -71,11 +61,6 @@ applications:
queryTemplate: 'packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql'
tags:
- 'v1'
- - name: 'upsertSupplyChainAssociatePreference'
- hash: '39c45936c3b4d0020c6192b629c29860a30a5f2f70c5297c9e34dcffbaa0c7b0'
- queryTemplate: 'packages/me-at-walmart-athena-queries/src/upsertSupplyChainAssociatePreference.graphql'
- tags:
- - 'v1'
- name: 'prod'
persistedQueries:
- name: 'businessUnitByCountryAndNumber'
@@ -88,11 +73,11 @@ applications:
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getAssociateById.graphql'
tags:
- 'v1'
- - name: 'getAssociatePreferences'
- hash: '38e0530d669fff42cb1dc8e5814369c40c33f6d6a77ed734e039948a0c06e8f4'
- queryTemplate: 'packages/me-at-walmart-athena-queries/src/getAssociatePreference.graphql'
- tags:
- - 'v1'
+ # - name: "getAssociatePreferences"
+ # hash: "38e0530d669fff42cb1dc8e5814369c40c33f6d6a77ed734e039948a0c06e8f4"
+ # queryTemplate: "packages/me-at-walmart-athena-queries/src/getAssociatePreference.graphql"
+ # tags:
+ # - "v1"
- name: 'getDailyRosterHome'
hash: '3c492831585580bae535c3386ec48e90c2d1895450016f050653bd51ddf86c21'
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getDailyRosterHome.graphql'
@@ -103,38 +88,28 @@ applications:
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getLoggedInUser.graphql'
tags:
- 'v1'
- - name: 'GetSupplyChainShifts'
- hash: 'b0f8dbb33dfb79cf68890fa719d4a9a6a2ab8e851ea3a81708a31ac9078c988c'
- queryTemplate: 'packages/me-at-walmart-athena-queries/src/getSupplyChainShifts.graphql'
- tags:
- - 'v1'
- - name: 'getSupplyChainTeamPreference'
- hash: '61253c3d4d8ab6db774a903969c2f63de9113f44c1947d52c3630dd38ce30839'
- queryTemplate: 'packages/me-at-walmart-athena-queries/src/getSupplyChainTeamPreferenceQuery.graphql'
- tags:
- - 'v1'
- - name: 'GetSupplyChainTeamsByStore'
- hash: '74bb80b3180028948952cb07a41ad7a621c0721110520631ee9d871f7a555b67'
- queryTemplate: 'packages/me-at-walmart-athena-queries/src/getSupplyChainTeamsByStore.graphql'
- tags:
- - 'v1'
+ # - name: "GetSupplyChainTeamsByStore"
+ # hash: "628c21f19457c4deea7fd9d2dd15138c11da598add9f4f67441e0d7d9318c8d1"
+ # queryTemplate: "packages/me-at-walmart-athena-queries/src/getSupplyChainTeamsByStore.graphql"
+ # tags:
+ # - "v1"
- name: 'getTeamByIdHome'
hash: '6b4b876250309d85dd51831ace4595bd1764b3d41ef7fd65c08df03b4c4982e0'
queryTemplate: 'packages/me-at-walmart-athena-queries/src/getTeamByIdHome.graphql'
tags:
- 'v1'
- - name: 'GetTeamsByStore'
- hash: 'e500ff0792181beb5a6281effd5b5324834295856eaaa4c2af8336f6643a0a44'
- queryTemplate: 'packages/me-at-walmart-athena-queries/src/getTeamsbyStore.graphql'
- tags:
- - 'v1'
+ # - name: "GetTeamsByStore"
+ # hash: "e500ff0792181beb5a6281effd5b5324834295856eaaa4c2af8336f6643a0a44"
+ # queryTemplate: "packages/me-at-walmart-athena-queries/src/getTeamsbyStore.graphql"
+ # tags:
+ # - "v1"
- name: 'upsertAssociatePreference'
hash: '972c522c6ad0675f13587637cff2dd2ed46937a9878a48a66ad2bc2f7d51a036'
queryTemplate: 'packages/me-at-walmart-athena-queries/src/updateAssociatePrivacyPreference.graphql'
tags:
- 'v1'
- - name: 'upsertManagerExperiencePreference'
- hash: 'bdf7ca7ba91a0c700df0b0dbd418064d98ef1c2818688e2a1c9e478d8cc3e1ca'
- queryTemplate: 'packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql'
- tags:
- - 'v1'
+ # - name: "upsertManagerExperiencePreference"
+ # hash: "bdf7ca7ba91a0c700df0b0dbd418064d98ef1c2818688e2a1c9e478d8cc3e1ca"
+ # queryTemplate: "packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql"
+ # tags:
+ # - "v1"
| feat(ui) reran codegen | feat(ui) reran codegen
|
6d6475245daec2d38c7e3b4359e5dfda0ba9ae36 | --- .yarn/patches/@walmart-react-native-sumo-sdk-npm-2.6.4-041f821b2c.patch
@@ -0,0 +1,19 @@
+diff --git a/android/build.gradle b/android/build.gradle
+index a3c22a382334bfed26077b1853437ffff781846c..15171bee628df7445240a1ea2987a1fdabfccfba 100644
+--- a/android/build.gradle
++++ b/android/build.gradle
+@@ -27,11 +27,11 @@ android {
+ disable 'GradleCompatible'
+ }
+ kotlinOptions {
+- jvmTarget = '1.8'
++ jvmTarget = '17'
+ }
+ compileOptions {
+- sourceCompatibility JavaVersion.VERSION_1_8
+- targetCompatibility JavaVersion.VERSION_1_8
++ sourceCompatibility JavaVersion.VERSION_17
++ targetCompatibility JavaVersion.VERSION_17
+ }
+ }
+
--- .yarn/patches/@walmart-topstock-mini-app-npm-1.8.5-e1db639918.patch
@@ -0,0 +1,20 @@
+diff --git a/android/build.gradle b/android/build.gradle
+index c088af09c0a7cc448eee8e643f310fb6a0d55609..64556d7b32d1e63dd049b35c8f7fdb06aa72b38b 100644
+--- a/android/build.gradle
++++ b/android/build.gradle
+@@ -122,12 +122,12 @@ android {
+ }
+
+ compileOptions {
+- sourceCompatibility JavaVersion.VERSION_1_8
+- targetCompatibility JavaVersion.VERSION_1_8
++ sourceCompatibility JavaVersion.VERSION_17
++ targetCompatibility JavaVersion.VERSION_17
+ }
+
+ kotlinOptions {
+- jvmTarget = "1.8"
++ jvmTarget = "17"
+ }
+
+ lintOptions {
--- package.json
@@ -133,7 +133,7 @@
"@walmart/react-native-scanner-3.0": "0.5.1",
"@walmart/react-native-shared-navigation": "6.1.4",
"@walmart/react-native-store-map": "0.3.7",
- "@walmart/react-native-sumo-sdk": "2.6.4",
+ "@walmart/react-native-sumo-sdk": "patch:@walmart/react-native-sumo-sdk@npm%3A2.6.4#~/.yarn/patches/@walmart-react-native-sumo-sdk-npm-2.6.4-041f821b2c.patch",
"@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.1.8#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.1.8-d33103b373.patch",
"@walmart/receipt-check-miniapp": "1.19.5",
"@walmart/redux-store": "6.1.4",
@@ -145,7 +145,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.8.5",
+ "@walmart/topstock-mini-app": "patch:@walmart/topstock-mini-app@npm%3A1.8.5#~/.yarn/patches/@walmart-topstock-mini-app-npm-1.8.5-e1db639918.patch",
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.9#~/.yarn/patches/@walmart-ui-components-npm-1.15.9-fd8445476c.patch",
"@walmart/welcomeme-mini-app": "0.89.0",
"@walmart/wfm-ui": "0.8.4",
--- yarn.lock
@@ -6874,6 +6874,16 @@ __metadata:
languageName: node
linkType: hard
+"@walmart/react-native-sumo-sdk@patch:@walmart/react-native-sumo-sdk@npm%3A2.6.4#~/.yarn/patches/@walmart-react-native-sumo-sdk-npm-2.6.4-041f821b2c.patch":
+ version: 2.6.4
+ resolution: "@walmart/react-native-sumo-sdk@patch:@walmart/react-native-sumo-sdk@npm%3A2.6.4#~/.yarn/patches/@walmart-react-native-sumo-sdk-npm-2.6.4-041f821b2c.patch::version=2.6.4&hash=9c714b"
+ peerDependencies:
+ react: "*"
+ react-native: "*"
+ checksum: 10c0/f693e2f723c0678217f03f4242bc28792ba3adc7bb8f11fb8674de24fcd8d5e4c10f69a435e4ae66039d8c1503edc6927fb0251f126e89947bf47429064f640c
+ languageName: node
+ linkType: hard
+
"@walmart/react-native-webex-sdk@npm:0.1.8":
version: 0.1.8
resolution: "@walmart/react-native-webex-sdk@npm:0.1.8"
@@ -7212,6 +7222,29 @@ __metadata:
languageName: node
linkType: hard
+"@walmart/topstock-mini-app@patch:@walmart/topstock-mini-app@npm%3A1.8.5#~/.yarn/patches/@walmart-topstock-mini-app-npm-1.8.5-e1db639918.patch":
+ version: 1.8.5
+ resolution: "@walmart/topstock-mini-app@patch:@walmart/topstock-mini-app@npm%3A1.8.5#~/.yarn/patches/@walmart-topstock-mini-app-npm-1.8.5-e1db639918.patch::version=1.8.5&hash=5c7a31"
+ peerDependencies:
+ "@react-native-firebase/app": ^15.1.1
+ "@react-native-firebase/crashlytics": ^15.1.1
+ "@react-navigation/native": ">=5.8.10"
+ "@react-navigation/stack": ">=5.12.8"
+ "@walmart/core-services": ~2.0.11
+ "@walmart/core-services-allspark": ~2.8.4
+ "@walmart/gtp-shared-components": ">=2.0.3"
+ "@walmart/react-native-env": ">=0.1.0"
+ "@walmart/redux-store": ">=1.0.10"
+ "@walmart/ui-components": ">=1.0.79"
+ i18next: ">=19.5.1"
+ react-i18next: ">=11.7.3"
+ react-native-haptic-feedback: ^1.13.0
+ react-native-vector-icons: ">=6.6.0"
+ react-redux: ">=7.2.0"
+ checksum: 10c0/0953bf3d9d891a3cb2baa5c8c5489594ea6297276e656b5d6fd23c7e8f71b64e0de42c0fd05606b3fee7909d96096dc6464d4205cb6e99d774047345befa435c
+ languageName: node
+ linkType: hard
+
"@walmart/ui-components@npm:1.15.9":
version: 1.15.9
resolution: "@walmart/ui-components@npm:1.15.9"
@@ -7747,7 +7780,7 @@ __metadata:
"@walmart/react-native-scanner-3.0": "npm:0.5.1"
"@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.6.4"
+ "@walmart/react-native-sumo-sdk": "patch:@walmart/react-native-sumo-sdk@npm%3A2.6.4#~/.yarn/patches/@walmart-react-native-sumo-sdk-npm-2.6.4-041f821b2c.patch"
"@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.1.8#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.1.8-d33103b373.patch"
"@walmart/receipt-check-miniapp": "npm:1.19.5"
"@walmart/redux-store": "npm:6.1.4"
@@ -7759,7 +7792,7 @@ __metadata:
"@walmart/store-feature-orders": "npm:1.26.5"
"@walmart/taskit-mini-app": "npm:2.64.8"
"@walmart/time-clock-mini-app": "npm:2.338.1"
- "@walmart/topstock-mini-app": "npm:1.8.5"
+ "@walmart/topstock-mini-app": "patch:@walmart/topstock-mini-app@npm%3A1.8.5#~/.yarn/patches/@walmart-topstock-mini-app-npm-1.8.5-e1db639918.patch"
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.9#~/.yarn/patches/@walmart-ui-components-npm-1.15.9-fd8445476c.patch"
"@walmart/welcomeme-mini-app": "npm:0.89.0"
"@walmart/wfm-ui": "npm:0.8.4"
| fix: add sumo and topstock patches for java 17 | fix: add sumo and topstock patches for java 17
|
22cfa168bef2af61b468954455474f0b5aba9243 | --- .looper-native-common.yml
@@ -15,7 +15,7 @@ envs:
XC_TARGET: 'AllSpark'
TARGET_XCODE: "11.5"
GITHUB_TOKEN: ENC[CGMhL3M/PKGSd9JmVpyMSAxGD/ZNRzJbf6v6/VuJBIWoj226WrPkQe5i7DIFJjTR]
- NO_PROXY: '*.walmart.com, *.googlesource.*, apps.betacrash.com'
+ NO_PROXY: "*.walmart.com,chromium.googlesource.com,apps.betacrash.com"
#BetaCrash
BETACRASH_TOKEN: ENC[iHTVp1f+Zsd1SDXzxbQNqv82W/567khXD0AuBEt5dfrbR1EdM15ThlelIUrJkH6V]
@@ -25,7 +25,7 @@ envs:
APP_TITLE: "AllSpark-Core"
BETACRASH_APP_ID: "889"
SLACK_WEBHOOK: "https://hooks.slack.com/services/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"
-
+
tools:
maven: 3.5.4
@@ -43,8 +43,6 @@ flows:
#
# @param os (ios | android)
# @param version
-
-
# @param env (dev | prod)
# @param packaging (ipa | apk)
build-and-publish:
--- ios/BuildSupport/install-cocoapods.sh
@@ -10,9 +10,9 @@ CCP_VER=1.9.3
export GEM_HOME=$HOME/.gem
export PATH=$GEM_HOME/bin:$PATH
-export https_proxy=http://proxy.wal-mart.com:9080
-export http_proxy=http://proxy.wal-mart.com:9080
-export no_proxy=repository.walmart.com,repo.wal-mart.com,localhost, chromium.googlesource.com
+export https_proxy=http://sysproxy.wal-mart.com:8080
+export http_proxy=http://sysproxy.wal-mart.com:8080
+export no_proxy=repository.walmart.com,repo.wal-mart.com,localhost,chromium.googlesource.com
gem uninstall cocoapods -a -x --user-install --verbose
gem install cocoapods -v ${CCP_VER} --user-install --verbose
--- ios/admin_build.sh
@@ -22,6 +22,6 @@ export XC_TARGET='AllSpark'
export http_proxy=http://sysproxy.wal-mart.com:8080
export https_proxy=http://sysproxy.wal-mart.com:8080
-export no_proxy=localhost,*.wal-mart.com,*.walmart.com, chromium.googlesource.com
+export no_proxy=localhost,*.wal-mart.com,*.walmart.com,chromium.googlesource.com
./BuildSupport/build-archive.sh
| update few files | update few files
|
53149d3929ced83214fd911de9cde3f5d8382c9e | --- packages/allspark-utils/src/Layout.tsx
@@ -0,0 +1,71 @@
+import React, { ComponentType } from 'react';
+import {
+ View,
+ ScrollView,
+ StyleSheet,
+ ViewStyle,
+ StyleProp,
+} from 'react-native';
+import { AnyObject } from './types';
+
+export type LayoutConfig = {
+ componentId: string;
+ width?: number;
+};
+
+export type LayoutProps<P extends any> = {
+ layout: LayoutConfig[][];
+ config: Record<string, ComponentType<P>>;
+ props: P;
+ scrollable?: boolean;
+ style?: StyleProp<ViewStyle>;
+};
+
+const styles = StyleSheet.create({
+ row: {
+ flexDirection: 'row',
+ alignItems: 'center',
+ },
+ column: {
+ flex: 1,
+ },
+});
+
+export const Layout = <P extends AnyObject>(props: LayoutProps<P>) => {
+ const {
+ layout,
+ config,
+ props: componentProps,
+ style,
+ scrollable = true,
+ } = props;
+ const Wrapper = scrollable ? ScrollView : View;
+
+ return (
+ <Wrapper style={style}>
+ {layout.map((row, rowIndex) => (
+ <View style={styles.row} key={`${rowIndex}-${row.length}`}>
+ {row.map((column, colIndex) => {
+ const { componentId = '', width } = column;
+ const Component = config[componentId];
+
+ if (!Component) {
+ return null;
+ }
+
+ return (
+ <View
+ key={`${componentId}-${rowIndex}-${colIndex}`}
+ style={[styles.column, !!width && { flex: width }]}
+ >
+ <Component {...componentProps} />
+ </View>
+ );
+ })}
+ </View>
+ ))}
+ </Wrapper>
+ );
+};
+
+export const createLayout = <P extends AnyObject>() => Layout<P>;
--- packages/allspark-utils/src/index.ts
@@ -1,32 +1,24 @@
-export { addInterceptMethod } from './addInterceptor';
-export type { InterceptorMap } from './addInterceptor';
-export { addProxyMethod } from './addProxy';
-export type { ProxyMap } from './addProxy';
-export { CacheValue } from './cacheValue';
-export type { Cache, CacheInfoEvents, CacheErrorEvents } from './cacheValue';
-export type { CacheValueConfig } from './cacheValue';
+export * from './addInterceptor';
+export * from './addProxy';
+export * from './cacheValue';
export * from './cloneObject';
-export { createFallbackInstance } from './createFallback';
+export * from './createFallback';
export { createGlobalInstance } from './createGlobal';
-export {
- createRestartableSaga,
- createRestartableSagas,
-} from './createRestartableSaga';
-export { Deferred, DeferredValue } from './deferred';
-export { encryptUserId } from './encryptUserId';
-export { EventManager } from './eventManager';
-export type { EventListener, ListenerSubscription } from './eventManager';
-export { getCorrelationId } from './getCorrelationId';
-export { getScaledImageHeight } from './getScaledImageHeight';
+export * from './createRestartableSaga';
+export * from './deferred';
+export * from './encryptUserId';
+export * from './eventManager';
+export * from './getCorrelationId';
+export * from './getScaledImageHeight';
+export * from './Layout';
export * from './hooks';
-export { noop } from './noop';
-export { PlaceholderProxy } from './placeholderProxy';
-export { Queue, QueueManager, DynamicQueue } from './queue';
-export type { QueueConfig, QueueStrategy } from './queue';
-export { reduxSliceExists } from './reduxSliceExists';
+export * from './noop';
+export * from './placeholderProxy';
+export * from './queue';
+export * from './reduxSliceExists';
export * from './registries';
-export { RenderGuard } from './RenderGuard';
-export { retry } from './retry';
-export { SessionState } from './sessionState';
-export { SharedPromise } from './sharedPromise';
+export * from './RenderGuard';
+export * from './retry';
+export * from './sessionState';
+export * from './sharedPromise';
export * from './types';
--- packages/allspark-utils/src/types.ts
@@ -433,3 +433,7 @@ export type UnionToIntersection<T> = (
) extends (x: infer R) => any
? R
: never;
+
+export type AnyObject = {
+ [key: string]: any;
+};
| feat: add layout component | feat: add layout component
|
287d17eeabacc20e5349dc865b5a0a6e02176b5b | --- 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.10",
+ "@walmart/me-field-mini-app": "12.0.15",
"@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.10",
- "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-12.0.10.tgz",
- "integrity": "sha512-AGJ0H20411rQyTcI0giib+HkBEKu96JHjnYBi6hwS2eUkhSanXdb5TAH6kbHuxwpykd2fSs7JY2zQyYk8Ox8Aw==",
+ "version": "12.0.15",
+ "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-12.0.15.tgz",
+ "integrity": "sha512-UXP6pZg6H2WSSw+kHryN4lmi3TKxFD+1v/0nmmEd/jYS+dtG08IzIvNxnYArFSpJx6EnSxqUL8l0j770uexLGA==",
"hasInstallScript": true,
"peerDependencies": {
"@atmt/feedback-component-native": "^8.0.0",
@@ -5469,7 +5469,7 @@
"@walmart/core-services-allspark": "2.10.11",
"@walmart/core-utils": "~2.0.3",
"@walmart/functional-components": "~4.0.3",
- "@walmart/gtp-shared-components": "^2.0.2",
+ "@walmart/gtp-shared-components": "2.0.3",
"@walmart/impersonation-mini-app": "1.13.0",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-logger": "^1.29.0",
@@ -25207,9 +25207,9 @@
}
},
"@walmart/me-field-mini-app": {
- "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=="
+ "version": "12.0.15",
+ "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-12.0.15.tgz",
+ "integrity": "sha512-UXP6pZg6H2WSSw+kHryN4lmi3TKxFD+1v/0nmmEd/jYS+dtG08IzIvNxnYArFSpJx6EnSxqUL8l0j770uexLGA=="
},
"@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.13",
+ "@walmart/me-field-mini-app": "12.0.15",
"@walmart/metrics-mini-app": "0.9.61",
"@walmart/mod-flex-mini-app": "1.6.3",
"@walmart/moment-walmart": "1.0.4",
| 📦 Bumping up Learning mini app version | 📦 Bumping up Learning mini app version
|
b679c3ecd769d73cd284e62128b038f590c47f40 | --- package.json
@@ -87,7 +87,7 @@
"@walmart/core-widget-registry": "0.5.7",
"@walmart/counts-component-miniapp": "0.0.39",
"@walmart/exception-mini-app": "0.42.6",
- "@walmart/facilities-management-miniapp": "0.3.17",
+ "@walmart/facilities-management-miniapp": "0.3.22",
"@walmart/feedback-all-spark-miniapp": "0.8.0",
"@walmart/financial-wellbeing-feature-app": "1.0.29",
"@walmart/functional-components": "2.0.6",
| Update package.json | Update package.json |
4c6f6b8bd192ce984067cb2b289fc097438ddbd8 | --- package-lock.json
@@ -36,7 +36,7 @@
"@walmart/amp-mini-app": "0.2.13",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.3.41",
- "@walmart/attendance-mini-app": "0.33.0",
+ "@walmart/attendance-mini-app": "0.33.1",
"@walmart/config-components": "4.0.1",
"@walmart/core-services": "~1.4.9",
"@walmart/core-services-allspark": "~1.10.13",
@@ -4663,9 +4663,9 @@
}
},
"node_modules/@walmart/attendance-mini-app": {
- "version": "0.33.0",
- "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.33.0.tgz",
- "integrity": "sha512-CcqPB+Zsq+ng44M2mlOoqncsoN9MydbniszwM4aKSscfL0MTA6AgPjxadgNrvPkcFCcp49mKwSNKH6tURrlUKw==",
+ "version": "0.33.1",
+ "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.33.1.tgz",
+ "integrity": "sha512-Zk+N01TJ/Vhg1uAEv7SJ8fIOL99UENobwaUXdidDf9Tn/wRQHD24CoyxiSsxVBxXuOXQzYDEo4b0HR0mnUolFQ==",
"dependencies": {
"@walmart/gta-react-native-calendars": "0.0.16",
"graphql": "^16.6.0",
@@ -24703,9 +24703,9 @@
}
},
"@walmart/attendance-mini-app": {
- "version": "0.33.0",
- "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.33.0.tgz",
- "integrity": "sha512-CcqPB+Zsq+ng44M2mlOoqncsoN9MydbniszwM4aKSscfL0MTA6AgPjxadgNrvPkcFCcp49mKwSNKH6tURrlUKw==",
+ "version": "0.33.1",
+ "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.33.1.tgz",
+ "integrity": "sha512-Zk+N01TJ/Vhg1uAEv7SJ8fIOL99UENobwaUXdidDf9Tn/wRQHD24CoyxiSsxVBxXuOXQzYDEo4b0HR0mnUolFQ==",
"requires": {
"@walmart/gta-react-native-calendars": "0.0.16",
"graphql": "^16.6.0",
--- package.json
@@ -79,7 +79,7 @@
"@walmart/amp-mini-app": "0.2.13",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.3.41",
- "@walmart/attendance-mini-app": "0.33.0",
+ "@walmart/attendance-mini-app": "0.33.1",
"@walmart/config-components": "4.0.1",
"@walmart/core-services": "~1.4.9",
"@walmart/core-services-allspark": "~1.10.13",
| Bump AMA version to 0.33.1 | Bump AMA version to 0.33.1
|
e9f38e6f6ab81b1c4dc754fbb4cc0418c16517f1 | --- ios/Podfile.lock
@@ -263,7 +263,7 @@ PODS:
- Permission-Notifications (3.6.1):
- RNPermissions
- PromisesObjC (2.1.1)
- - PTT (1.8.4):
+ - PTT (1.8.6):
- BinaryCodable (~> 0.2.1)
- CocoaAsyncSocket (~> 7.6.3)
- RealmSwift (= 10.32.3)
@@ -530,8 +530,8 @@ PODS:
- React-Core
- react-native-pdf (6.6.2):
- React-Core
- - react-native-ptt-module (1.8.6):
- - PTT (= 1.8.4)
+ - react-native-ptt-module (1.8.13):
+ - PTT (= 1.8.6)
- React
- react-native-render-html (6.3.4):
- React-Core
@@ -1187,7 +1187,7 @@ SPEC CHECKSUMS:
Permission-LocationWhenInUse: 3ba99e45c852763f730eabecec2870c2382b7bd4
Permission-Notifications: 150484ae586eb9be4e32217582a78350a9bb31c3
PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb
- PTT: 86944e876e1cedef14bcd800a66b89088d854624
+ PTT: fa3706ddb417a5f3226f1c5fd86cd8764830a55f
RCT-Folly: 0080d0a6ebf2577475bda044aa59e2ca1f909cda
RCTRequired: 21229f84411088e5d8538f21212de49e46cc83e2
RCTTypeSafety: 62eed57a32924b09edaaf170a548d1fc96223086
@@ -1220,7 +1220,7 @@ SPEC CHECKSUMS:
react-native-netinfo: f80db8cac2151405633324cb645c60af098ee461
react-native-pager-view: 592421df0259bf7a7a4fe85b74c24f3f39905605
react-native-pdf: 33c622cbdf776a649929e8b9d1ce2d313347c4fa
- react-native-ptt-module: 7499bf41de5660cc292f12c0764f19c36865f651
+ react-native-ptt-module: 6936355bcd222c2cdbc74247c68c0d62b423009a
react-native-render-html: 5af9f6852f5e0cf9b74127537da3370984da51ee
react-native-safe-area-context: 6c12e3859b6f27b25de4fee8201cfb858432d8de
react-native-scanner-3.0: e144733a1c98596d7cd53c3d6384785273b81aab
--- package-lock.json
@@ -136,7 +136,7 @@
"react-native-pdf": "^6.6.2",
"react-native-permissions": "3.6.1",
"react-native-popup-menu": "^0.16.0",
- "react-native-ptt-module": "1.8.12",
+ "react-native-ptt-module": "1.8.13",
"react-native-qrcode-svg": "^6.1.2",
"react-native-reanimated": "2.12.0",
"react-native-render-html": "^6.3.4",
@@ -17931,9 +17931,9 @@
"license": "ISC"
},
"node_modules/react-native-ptt-module": {
- "version": "1.8.12",
- "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.8.12.tgz",
- "integrity": "sha512-cXh1sIEN0mruSXC9T8jat8cjNzK0/N2JnBvTuCuVhcskFgyVDu9CdLe861mZqdzrQnsYhOUilaBR+v0w1HvcEw==",
+ "version": "1.8.13",
+ "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.8.13.tgz",
+ "integrity": "sha512-OEuqqsBhdQQVgfY/zQspf7OGCbKW1X8jq5Ej4xlMtyHjC5ZV7N5sgiKS1P6hH4ITw4aCXAb62r9Yx48orWhBww==",
"license": "MIT"
},
"node_modules/react-native-qrcode-svg": {
@@ -33085,9 +33085,9 @@
"version": "0.16.1"
},
"react-native-ptt-module": {
- "version": "1.8.12",
- "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.8.12.tgz",
- "integrity": "sha512-cXh1sIEN0mruSXC9T8jat8cjNzK0/N2JnBvTuCuVhcskFgyVDu9CdLe861mZqdzrQnsYhOUilaBR+v0w1HvcEw=="
+ "version": "1.8.13",
+ "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.8.13.tgz",
+ "integrity": "sha512-OEuqqsBhdQQVgfY/zQspf7OGCbKW1X8jq5Ej4xlMtyHjC5ZV7N5sgiKS1P6hH4ITw4aCXAb62r9Yx48orWhBww=="
},
"react-native-qrcode-svg": {
"version": "6.1.2",
--- package.json
@@ -178,7 +178,7 @@
"react-native-pdf": "^6.6.2",
"react-native-permissions": "3.6.1",
"react-native-popup-menu": "^0.16.0",
- "react-native-ptt-module": "1.8.12",
+ "react-native-ptt-module": "1.8.13",
"react-native-qrcode-svg": "^6.1.2",
"react-native-reanimated": "2.12.0",
"react-native-render-html": "^6.3.4",
| update ptt module to latest | update ptt module to latest
|
342ed2aaf9243424584754528484d6ebfd775cf0 | --- 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.6.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.6.0...@walmart/allspark-foundation-hub@1.6.1) (2025-04-01)
+
+**Note:** Version bump only for package @walmart/allspark-foundation-hub
+
# [1.6.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.4.3...@walmart/allspark-foundation-hub@1.6.0) (2025-03-21)
### Features
--- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.6.0",
+ "version": "1.6.1",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/expo-config-plugins/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.
+## [0.1.5](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/expo-config-plugins@0.1.4...@walmart/expo-config-plugins@0.1.5) (2025-04-01)
+
+**Note:** Version bump only for package @walmart/expo-config-plugins
+
## [0.1.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/expo-config-plugins@0.1.3...@walmart/expo-config-plugins@0.1.4) (2025-03-26)
**Note:** Version bump only for package @walmart/expo-config-plugins
--- packages/expo-config-plugins/package.json
@@ -1,7 +1,7 @@
{
"name": "@walmart/expo-config-plugins",
"packageManager": "yarn@4.1.1",
- "version": "0.1.4",
+ "version": "0.1.5",
"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/allspark-foundation-hub@1.6.1
- @walmart/expo-config-plugins@0.1.5
|
cc6d819f2f9109444483d6ff3851a08eff18f258 | --- package.json
@@ -151,7 +151,7 @@
"@walmart/shelfavailability-mini-app": "1.5.45",
"@walmart/shop-gnfr-mini-app": "1.0.302",
"@walmart/sidekick-mini-app": "4.201.13",
- "@walmart/store-feature-orders": "1.30.0",
+ "@walmart/store-feature-orders": "1.33.3",
"@walmart/taskit-mini-app": "5.39.1",
"@walmart/time-clock-mini-app": "3.19.2",
"@walmart/time-clock-mini-app-next": "3.0.0",
--- yarn.lock
@@ -7651,7 +7651,7 @@ __metadata:
"@walmart/shelfavailability-mini-app": "npm:1.5.45"
"@walmart/shop-gnfr-mini-app": "npm:1.0.302"
"@walmart/sidekick-mini-app": "npm:4.201.13"
- "@walmart/store-feature-orders": "npm:1.30.0"
+ "@walmart/store-feature-orders": "npm:1.33.3"
"@walmart/taskit-mini-app": "npm:5.39.1"
"@walmart/time-clock-mini-app": "npm:3.19.2"
"@walmart/time-clock-mini-app-next": "npm:3.0.0"
@@ -8447,14 +8447,13 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/store-feature-orders@npm:1.30.0":
- version: 1.30.0
- resolution: "@walmart/store-feature-orders@npm:1.30.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fstore-feature-orders%2F-%2F%40walmart%2Fstore-feature-orders-1.30.0.tgz"
+"@walmart/store-feature-orders@npm:1.33.3":
+ version: 1.33.3
+ resolution: "@walmart/store-feature-orders@npm:1.33.3::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fstore-feature-orders%2F-%2F%40walmart%2Fstore-feature-orders-1.33.3.tgz"
peerDependencies:
"@react-navigation/native": ">=6.0.0"
"@react-navigation/stack": ">=6.1.0"
"@walmart/allspark-foundation": 6.17.0
- "@walmart/core-services": ">=6.4.3"
"@walmart/gtp-shared-components": ">=2.2.4"
"@walmart/react-native-env": ">=6.0.16"
"@walmart/react-native-shared-navigation": ">=6.3.22"
@@ -8463,7 +8462,7 @@ __metadata:
react-native: ">=0.73.7"
redux: ^4.2.1
reduxsauce: 1.2.0
- checksum: 10c0/6afe84de08fcb2246d7130611c89b9af488872249ad9895e0292497c75c34dfa3ee081f93a9d0ee108a56ffd5c08f79a08b1366d7ea0ffcb03b901b0c60268d4
+ checksum: 10c0/ec190c5feea90f235813ecccbbd78bed2106d14264cdf86c1dac063ae5b9b9c1c0465ece020046a1bce3fb5bd2b3fabeb2fc8ad9854995cc3faed4ed3ee5f956
languageName: node
linkType: hard
| Feat(Sfot): OPIF-216023 Sfot drop32 changes with recommendations (#4451) | Feat(Sfot): OPIF-216023 Sfot drop32 changes with recommendations (#4451)
* feat: OPIF-216023 Sfot drop32 changes with recommendations
* feat: OPIF-216023 Sfot drop32 changes
* chore: yarn changes
* chore: fix yarn.lock
* chore: icon and color changes
---------
Co-authored-by: sourav agarwal - s0a0e1x <Sourav.Agarwal@walmart.com> |
0aa0d1268081ec51fd73f39096dfdec14677ddf7 | --- ios/PrivacyInfo.xcprivacy
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>NSPrivacyAccessedAPITypes</key>
+ <array>
+ <dict>
+ <key>NSPrivacyAccessedAPIType</key>
+ <string>NSPrivacyAccessedAPICategoryDiskSpace</string>
+ <key>NSPrivacyAccessedAPITypeReasons</key>
+ <array>
+ <string>85F4.1</string>
+ </array>
+ </dict>
+ <dict>
+ <key>NSPrivacyAccessedAPIType</key>
+ <string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
+ <key>NSPrivacyAccessedAPITypeReasons</key>
+ <array>
+ <string>C617.1</string>
+ </array>
+ </dict>
+ <dict>
+ <key>NSPrivacyAccessedAPIType</key>
+ <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
+ <key>NSPrivacyAccessedAPITypeReasons</key>
+ <array>
+ <string>CA92.1</string>
+ </array>
+ </dict>
+ <dict>
+ <key>NSPrivacyAccessedAPIType</key>
+ <string>NSPrivacyAccessedAPICategorySystemBootTime</string>
+ <key>NSPrivacyAccessedAPITypeReasons</key>
+ <array>
+ <string>35F9.1</string>
+ </array>
+ </dict>
+ </array>
+</dict>
+</plist>
| Updating privacy manifest file with APIType and APITypeReasons | Updating privacy manifest file with APIType and APITypeReasons
|
d3ca7961656f961d7552b0d7ce728f3282340d94 | --- targets/US/package.json
@@ -98,7 +98,7 @@
"@walmart/core-services-allspark": "workspace:^",
"@walmart/core-utils": "6.3.9",
"@walmart/core-widget-registry": "workspace:^",
- "@walmart/counts-component-miniapp": "0.1.13",
+ "@walmart/counts-component-miniapp": "0.1.14",
"@walmart/emergency-mini-app": "1.29.8",
"@walmart/exception-mini-app": "1.8.11",
"@walmart/facilities-management-miniapp": "patch:@walmart/facilities-management-miniapp@npm%3A0.14.6#~/.yarn/patches/@walmart-facilities-management-miniapp-npm-0.14.6-2a58bc097a.patch",
@@ -107,7 +107,7 @@
"@walmart/functional-components": "~6.3.28",
"@walmart/gta-react-native-calendars": "0.7.0",
"@walmart/gtp-shared-components": "2.2.4",
- "@walmart/ims-print-services-ui": "2.15.3",
+ "@walmart/ims-print-services-ui": "2.15.4",
"@walmart/inbox-mini-app": "0.96.6",
"@walmart/iteminfo-mini-app": "7.16.2",
"@walmart/learning-mini-app": "20.0.35",
@@ -125,7 +125,7 @@
"@walmart/onewalmart-miniapp": "1.0.24",
"@walmart/pay-stub-miniapp": "0.15.3",
"@walmart/payrollsolution_miniapp": "0.141.17",
- "@walmart/price-changes-mini-app": "1.10.18",
+ "@walmart/price-changes-mini-app": "1.10.20",
"@walmart/profile-feature-app": "patch:@walmart/profile-feature-app@npm%3A1.138.3#~/.yarn/patches/@walmart-profile-feature-app-npm-1.138.3-9802440ed6.patch",
"@walmart/react-native-cookies": "1.0.1",
"@walmart/react-native-encrypted-storage": "~1.1.3",
--- yarn.lock
@@ -6289,9 +6289,9 @@ __metadata:
languageName: unknown
linkType: soft
-"@walmart/counts-component-miniapp@npm:0.1.13":
- version: 0.1.13
- resolution: "@walmart/counts-component-miniapp@npm:0.1.13"
+"@walmart/counts-component-miniapp@npm:0.1.14":
+ version: 0.1.14
+ resolution: "@walmart/counts-component-miniapp@npm:0.1.14"
peerDependencies:
"@react-navigation/native": ^6.0.8
"@react-navigation/stack": ^6.2.0
@@ -6313,7 +6313,7 @@ __metadata:
react-native-wm-telemetry: 0.3.0
react-redux: ^8.0.4
reselect: ^4.1.0
- checksum: 10c0/eb3a210c36503533cb63c00f1d276db6b4df6a70fd82de59fdd1cdb1002a1ac7e1c0b3e27ba7983ee64471cb306fcfdeaf20014be9f556910c64c521abd2f032
+ checksum: 10c0/bac38dc2d1e42cf66d583b8ff6ef6bf60d32a5e16eb8f456600412e60824fe2d969a40e00921478c0805134f60344585fb6463443e36b7f9b1dc194c75b93d27
languageName: node
linkType: hard
@@ -6495,9 +6495,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/ims-print-services-ui@npm:2.15.3":
- version: 2.15.3
- resolution: "@walmart/ims-print-services-ui@npm:2.15.3"
+"@walmart/ims-print-services-ui@npm:2.15.4":
+ version: 2.15.4
+ resolution: "@walmart/ims-print-services-ui@npm:2.15.4"
peerDependencies:
"@react-native-firebase/analytics": ">=10.5.1"
"@react-native-firebase/app": ">=10.5.0"
@@ -6518,7 +6518,7 @@ __metadata:
react-native-segmented-control-tab: ">=4.0.0"
react-native-wm-telemetry: ">=0.2.0"
uuid: ">=3.3.2"
- checksum: 10c0/8c99ea77ccb2f82d77fc168a39885f5f4c8b3b625d1db596254e60f9cf62ae9a4507b7d3dc01c4963286a8fa2e51f276cefd2365c80d1a87af913f7a434c580e
+ checksum: 10c0/99cf36490f8e10e8f0087a82dc0093ea1813471df7cf296092dd50d45e12560a4f3793596d464b5835b9c4c7fecc5774cf6f9490b45fbd00c526509afc82447e
languageName: node
linkType: hard
@@ -7014,7 +7014,7 @@ __metadata:
"@walmart/core-services-allspark": "workspace:^"
"@walmart/core-utils": "npm:6.3.9"
"@walmart/core-widget-registry": "workspace:^"
- "@walmart/counts-component-miniapp": "npm:0.1.13"
+ "@walmart/counts-component-miniapp": "npm:0.1.14"
"@walmart/emergency-mini-app": "npm:1.29.8"
"@walmart/exception-mini-app": "npm:1.8.11"
"@walmart/facilities-management-miniapp": "patch:@walmart/facilities-management-miniapp@npm%3A0.14.6#~/.yarn/patches/@walmart-facilities-management-miniapp-npm-0.14.6-2a58bc097a.patch"
@@ -7023,7 +7023,7 @@ __metadata:
"@walmart/functional-components": "npm:~6.3.28"
"@walmart/gta-react-native-calendars": "npm:0.7.0"
"@walmart/gtp-shared-components": "npm:2.2.4"
- "@walmart/ims-print-services-ui": "npm:2.15.3"
+ "@walmart/ims-print-services-ui": "npm:2.15.4"
"@walmart/inbox-mini-app": "npm:0.96.6"
"@walmart/iteminfo-mini-app": "npm:7.16.2"
"@walmart/learning-mini-app": "npm:20.0.35"
@@ -7041,7 +7041,7 @@ __metadata:
"@walmart/onewalmart-miniapp": "npm:1.0.24"
"@walmart/pay-stub-miniapp": "npm:0.15.3"
"@walmart/payrollsolution_miniapp": "npm:0.141.17"
- "@walmart/price-changes-mini-app": "npm:1.10.18"
+ "@walmart/price-changes-mini-app": "npm:1.10.20"
"@walmart/profile-feature-app": "patch:@walmart/profile-feature-app@npm%3A1.138.3#~/.yarn/patches/@walmart-profile-feature-app-npm-1.138.3-9802440ed6.patch"
"@walmart/react-native-cookies": "npm:1.0.1"
"@walmart/react-native-encrypted-storage": "npm:~1.1.3"
@@ -7464,9 +7464,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/price-changes-mini-app@npm:1.10.18":
- version: 1.10.18
- resolution: "@walmart/price-changes-mini-app@npm:1.10.18"
+"@walmart/price-changes-mini-app@npm:1.10.20":
+ version: 1.10.20
+ resolution: "@walmart/price-changes-mini-app@npm:1.10.20"
peerDependencies:
"@react-navigation/native": ^6.0.8
"@react-navigation/stack": ^6.2.0
@@ -7493,7 +7493,7 @@ __metadata:
redux-saga: ^1.1.3
reduxsauce: ^1.2.0
uuid: ^3.3.2
- checksum: 10c0/7682bc0574f134066b14d4910b24acde32ef8686a71537066c19e7bf6554b00d8216983b3d6440cd4a0993237031a1019cef19d218881bfc7153ecd0ab9a7dfe
+ checksum: 10c0/8dc5aa51f6d535cb946960f56155932aeeece4120046e7d549159646332024c179d2a4585f5d17f28cd49acef6158347645e1fa07547821cd890c13c6a2690c9
languageName: node
linkType: hard
| chore: bumping pc version | chore: bumping pc version
|
d95b4123b6175d965dfd138520ec435147d12ac9 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.12.1-alpha.4",
+ "version": "2.12.1-alpha.5",
"main": "dist/index.js",
"files": [
"dist"
--- src/managerExperience/screens/RosterDetailScreen/RosterDetailScreen.tsx
@@ -52,8 +52,11 @@ import {rosterTelemetry} from '../../../common';
import {filterValues} from '../../../constants';
import {Associate, Team} from '../../../types';
import {AllsparkSharedComponents} from '@walmart/allspark-foundation/Components';
+import {RosterDetailScreenProps} from './types';
-export const RosterDetailScreen = () => {
+export const RosterDetailScreen = ({route}: RosterDetailScreenProps) => {
+ const initialTeamId = route.params.teamId;
+ const initialTeamName = route.params.teamName;
const {t} = translationClient.useTranslation();
const {bottom: bottomInset} = useSafeAreaInsets();
const navigation = useNavigation<StackNavigationProp<TextingNavParamsMap>>();
@@ -76,7 +79,10 @@ export const RosterDetailScreen = () => {
const [teamState, setTeamState] = useState<{
teamLabel: string;
teamIds: string[];
- }>({teamLabel: selectedTeamPreference, teamIds: selectedTeamIds});
+ }>({
+ teamLabel: initialTeamName ?? selectedTeamPreference,
+ teamIds: ([initialTeamId] as string[]) ?? selectedTeamIds,
+ });
const isPrimaryTeam = primaryTeamId === teamState.teamLabel;
const AllsparkImage = useAllsparkImage();
--- src/navigation/index.tsx
@@ -57,6 +57,7 @@ export const RosterNavigationForManagerExperience = () => {
<RosterStackForManagerExperience.Screen
name='myTeam.rosterDetail'
options={{
+ headerShown: false,
cardStyle: {
backgroundColor: 'rgba(0, 0, 0, 0)',
},
@@ -66,6 +67,7 @@ export const RosterNavigationForManagerExperience = () => {
<RosterStackForManagerExperience.Screen
name='myTeam.allTeams'
options={{
+ headerShown: false,
cardStyle: {
backgroundColor: 'rgba(0, 0, 0, 0)',
},
--- src/navigation/types.ts
@@ -13,5 +13,5 @@ export type TextingNavParamsMap = {
'myTeam.searchScreen': {searchInput: string};
'myTeam.clockedOutScreen': any;
'myTeam.allTeams': undefined;
- 'myTeam.rosterDetail': {teamId: string};
+ 'myTeam.rosterDetail': {teamId?: string; teamName?: string};
};
| Update roster mini app version | Update roster mini app version
|
2219f8745a4d364c5d437d7d8497aee89c2bfd2e | --- .looper.multibranch.yml
@@ -561,6 +561,52 @@ branches:
- manual:
name: Build Simulator
call: push(simulator)
+ - spec: feature/drop23-linux-node
+ triggers:
+ - push:
+ manualOnly: true
+ - manual:
+ name: Build All
+ call: push(test)
+ - manual:
+ name: Build Both Dev
+ call: dev(test)
+ - manual:
+ name: Build Android Dev
+ call: android-dev(test)
+ - manual:
+ name: Build iOS Dev
+ call: ios-dev(test)
+ - manual:
+ name: Build Both Beta
+ call: beta(test)
+ - manual:
+ name: Build Android Beta
+ call: android-beta(test)
+ - manual:
+ name: Build iOS Beta
+ call: ios-beta(test)
+ - manual:
+ name: Build Both Teflon
+ call: teflon(test)
+ - manual:
+ name: Build Android Teflon
+ call: android-teflon(test)
+ - manual:
+ name: Build iOS Teflon
+ call: ios-teflon(test)
+ - manual:
+ name: Build Both Prod
+ call: prod(releasecandidate)
+ - manual:
+ name: Build Android Prod
+ call: android-prod(releasecandidate)
+ - manual:
+ name: Build iOS Prod
+ call: ios-prod(releasecandidate)
+ - manual:
+ name: Build Simulator
+ call: push(simulator)
flows:
native-ios:
| Added Prod Build option for testing purpose | Added Prod Build option for testing purpose
|
c54a85e844dcf275513a155e81849f3669ca84e8 | --- docs/CHANGELOG.md
@@ -1,3 +1,15 @@
+# [3.5.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v3.4.0...v3.5.0) (2025-08-28)
+
+
+### Bug Fixes
+
+* **ui:** resolving conflicts ([011d6c3](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/011d6c36c2c0959e8ceadcba23c3e32e5fbe18be))
+
+
+### Features
+
+* **ui:** updating wmconnect version ([619ec57](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/619ec577d98ec60eb80f6650a5029db785e6dbec))
+
# [3.4.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v3.3.0...v3.4.0) (2025-08-25)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "3.4.0",
+ "version": "3.5.0",
"main": "dist/index.js",
"files": [
"dist",
| chore(release): 3.5.0 [skip ci] | chore(release): 3.5.0 [skip ci]
# [3.5.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v3.4.0...v3.5.0) (2025-08-28)
### Bug Fixes
* **ui:** resolving conflicts ([011d6c3](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/011d6c36c2c0959e8ceadcba23c3e32e5fbe18be))
### Features
* **ui:** updating wmconnect version ([619ec57](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/619ec577d98ec60eb80f6650a5029db785e6dbec))
|
77a8e092c4910f8513779ec2914e367b8859f92e | --- package.json
@@ -62,7 +62,7 @@
"@react-native-firebase/firestore": "~21.14.0",
"@react-native-firebase/perf": "~21.14.0",
"@react-native-firebase/remote-config": "~21.14.0",
- "@react-native-picker/picker": "2.9.0",
+ "@react-native-picker/picker": "2.11.1",
"@react-native-segmented-control/segmented-control": "^2.5.7",
"@react-navigation/bottom-tabs": "^6.6.1",
"@react-navigation/drawer": "^6.7.2",
--- yarn.lock
@@ -4777,13 +4777,13 @@ __metadata:
languageName: node
linkType: hard
-"@react-native-picker/picker@npm:2.9.0":
- version: 2.9.0
- resolution: "@react-native-picker/picker@npm:2.9.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40react-native-picker%2Fpicker%2F-%2Fpicker-2.9.0.tgz"
+"@react-native-picker/picker@npm:2.11.1":
+ version: 2.11.1
+ resolution: "@react-native-picker/picker@npm:2.11.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40react-native-picker%2Fpicker%2F-%2Fpicker-2.11.1.tgz"
peerDependencies:
react: "*"
react-native: "*"
- checksum: 10c0/a7b64b1073a2a31f2efdcdd767316312a55516c80f2f6a48f3110875f6029b82cf9067fbea1da3df2ee992233f8aed23928f39ee935ef80c9c20ce06bb836303
+ checksum: 10c0/d2e9aeb32ae80f2ab56fa025f1afd6d8ff8051e7078bfd17c6794ff0cc1538d4a2f548098826eb652e6cb64d998070b0111777c78de4dcb468cb71e7e4d93097
languageName: node
linkType: hard
@@ -7678,7 +7678,7 @@ __metadata:
"@react-native-firebase/firestore": "npm:~21.14.0"
"@react-native-firebase/perf": "npm:~21.14.0"
"@react-native-firebase/remote-config": "npm:~21.14.0"
- "@react-native-picker/picker": "npm:2.9.0"
+ "@react-native-picker/picker": "npm:2.11.1"
"@react-native-segmented-control/segmented-control": "npm:^2.5.7"
"@react-navigation/bottom-tabs": "npm:^6.6.1"
"@react-navigation/drawer": "npm:^6.7.2"
| chore: upgrade RN picker | chore: upgrade RN picker
|
c0ed1a544274023eb4734548dd93f6a6a015a0df | --- packages/allspark-foundation-hub/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.20.5](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.20.4...@walmart/allspark-foundation-hub@1.20.5) (2025-11-06)
+
+**Note:** Version bump only for package @walmart/allspark-foundation-hub
+
## [1.20.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.20.3...@walmart/allspark-foundation-hub@1.20.4) (2025-11-04)
**Note:** Version bump only for package @walmart/allspark-foundation-hub
--- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.20.4",
+ "version": "1.20.5",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/allspark-foundation/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [7.11.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.11.0...@walmart/allspark-foundation@7.11.1) (2025-11-06)
+
+### Bug Fixes
+
+- **http:** interceptors added at the module level by the container were not applied to feature clients created early ([9f3a8ae](https://gecgithub01.walmart.com/allspark/allspark/commit/9f3a8ae027d64c614f5c80848f96aab539437048))
+
# [7.11.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.10.0...@walmart/allspark-foundation@7.11.0) (2025-11-04)
### Features
--- packages/allspark-foundation/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation",
- "version": "7.11.0",
+ "version": "7.11.1",
"description": "",
"main": "Core/index.js",
"types": "Core/index.d.ts",
--- packages/me-at-walmart-geolocation/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.3.22](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-geolocation@1.3.21...@walmart/me-at-walmart-geolocation@1.3.22) (2025-11-06)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-geolocation
+
## [1.3.21](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-geolocation@1.3.20...@walmart/me-at-walmart-geolocation@1.3.21) (2025-11-04)
**Note:** Version bump only for package @walmart/me-at-walmart-geolocation
--- packages/me-at-walmart-geolocation/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-geolocation",
- "version": "1.3.21",
+ "version": "1.3.22",
"description": "Geofencing, location tracking and location services for me@ apps",
"author": "m0n09mr <maksym.novakh@walmart.com>",
"main": "./lib/cjs/index.js",
--- packages/me-at-walmart-location/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.1.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-location@1.1.1...@walmart/me-at-walmart-location@1.1.2) (2025-11-06)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-location
+
## [1.1.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-location@1.1.0...@walmart/me-at-walmart-location@1.1.1) (2025-11-04)
**Note:** Version bump only for package @walmart/me-at-walmart-location
--- packages/me-at-walmart-location/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-location",
- "version": "1.1.1",
+ "version": "1.1.2",
"description": "Geofencing, location tracking and location services for me@ apps",
"author": "m0n09mr <maksym.novakh@walmart.com>",
"main": "./lib/cjs/index.js",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-foundation@7.11.1
- @walmart/allspark-foundation-hub@1.20.5
- @walmart/me-at-walmart-geolocation@1.3.22
- @walmart/me-at-walmart-location@1.1.2
|
bd85bd28c9ade10a5bb58342b77f034fb19f20dd | --- core/__tests__/navigation/USHallway/PreHireHallwayNav/__snapshots__/PreHireHallwayNavTest.tsx.snap
@@ -2,7 +2,7 @@
exports[`PreHireHallwayNav matches snapshot 1`] = `
<Navigator
- initialRouteName="WelcomeMeMiniApp"
+ initialRouteName="welcomeMe.CandidateHome"
>
<Screen
component={[Function]}
@@ -38,6 +38,11 @@ exports[`PreHireHallwayNav matches snapshot 1`] = `
}
/>
<Screen
+ component={
+ {
+ "buildAllScreens": [Function],
+ }
+ }
name="paymentselection"
options={
{
--- core/src/navigation/USHallway/PreHireHallwayNav/index.tsx
@@ -1,3 +1,5 @@
+import {WelcomeMeFeature} from "../../../features/welcomeMe.ts";
+
__DEV__ && console.log('loading pre-hire hallway');
import React, {useEffect} from 'react';
import {createStackNavigator} from '@react-navigation/stack';
@@ -7,7 +9,6 @@ import {ModalTransitionOptions} from '@walmart/allspark-foundation/Navigation';
import {AllsparkReduxStore} from '@walmart/allspark-foundation/Redux';
import {ContainerActionCreators} from '@walmart/allspark-foundation/Container';
import PaymentSelectionMiniApp from '@walmart/payrollsolution_miniapp';
-import WelcomeMeMiniApp from '@walmart/welcomeme-mini-app';
import {PrehireStackMap} from './types';
@@ -22,7 +23,7 @@ export default () => {
return (
<PreHireStack.Navigator initialRouteName='welcomeMe.CandidateHome'>
- {WelcomeMeMiniApp.buildAllScreens({
+ {WelcomeMeFeature.buildAllScreens({
Navigator: PreHireStack as any,
})}
| updated snapshot | updated snapshot
|
e73ce7a22fd59f60e84c8ff0ebc1a05300d7043d | --- apps/example/environment.d.ts
@@ -0,0 +1,11 @@
+import { EnvironmentType } from '@walmart/allspark-foundation/Environment';
+
+declare global {
+ namespace NodeJS {
+ interface ProcessEnv {
+ EXPO_PUBLIC_APP_VARIANT: EnvironmentType;
+ EXPO_PUBLIC_APP_TARGET: 'core' | 'feature1' | 'feature2';
+ }
+ }
+}
+
--- apps/example/index.js
@@ -1,12 +1,14 @@
import 'react-native-get-random-values';
import { registerRootComponent } from 'expo';
-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);
+
+if (process.env.EXPO_PUBLIC_APP_TARGET === 'feature1') {
+ registerRootComponent(require('./src/index').Feature1Standalone.App());
+} else if (process.env.EXPO_PUBLIC_APP_TARGET === 'feature2') {
+ registerRootComponent(require('./src/index').Feature2Standalone.App());
+} else {
+ registerRootComponent(require('./src/core').App);
+}
| chore(example): add env variable for selecting root | chore(example): add env variable for selecting root
|
467e6d04ca393dd9e64a5a80fcb5009762bfdd8c | --- __tests__/__mocks__/@walmart/payrollsolution_miniapp.js
@@ -2,3 +2,7 @@ module.exports = {
__esModule: true,
default: 'PaymentSelectionMiniApp',
};
+
+jest.mock('@walmart/payrollsolution_miniapp', () => ({
+ directDepositMiniApp: 'PaymentSelection',
+}));
--- __tests__/__mocks__/@walmart/profile-feature-app.js
@@ -0,0 +1,3 @@
+jest.mock('@walmart/profile-feature-app', () => ({
+ meMiniApp: 'Profile',
+}));
--- __tests__/navigation/AssociateHallwayNav/MainStackNavTest.tsx
@@ -40,14 +40,6 @@ jest.mock('../../../src/navigation/NavigationConstants', () => ({
},
}));
-jest.mock('@walmart/profile-feature-app', () => ({
- meMiniApp: 'Profile',
-}));
-
-jest.mock('@walmart/payrollsolution_miniapp', () => ({
- directDepositMiniApp: 'PaymentSelection',
-}));
-
jest.mock('../../../src/navigation/ClockOutGuard', () => ({
withClockOutGuard: (component: string) => `Guarded${component}`,
}));
--- __tests__/navigation/AssociateHallwayNav/Tabs/MeStackNavTest.tsx
@@ -2,14 +2,6 @@ import React from 'react';
import {create} from 'react-test-renderer';
import {MeStackNav} from '../../../../src/navigation/AssociateHallwayNav/Tabs/MeStackNav';
-jest.mock('@walmart/profile-feature-app', () => ({
- meMiniApp: 'Profile',
-}));
-
-jest.mock('@walmart/payrollsolution_miniapp', () => ({
- directDepositMiniApp: 'PaymentSelection',
-}));
-
describe('MeStackNav', () => {
const component = create(<MeStackNav />);
| Moved profile and payment mocks to won files. | Moved profile and payment mocks to won files.
|
9502c7344d79f5ec1d7149c3b954be7ba2ff7b88 | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 55
+ versionCode 56
versionName "1.0.4"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>55</string>
+ <string>56</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>invmgmt</string>
--- ios/AllSparkTests/Info.plist
@@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>55</string>
+ <string>56</string>
</dict>
</plist>
| Incrementing build number | Incrementing build number
|
8fb121c767f0baef0078168780392f4c429cfa75 | --- package.json
@@ -112,7 +112,7 @@
"@walmart/ims-print-services-ui": "2.19.1",
"@walmart/inbox-mini-app": "0.99.5",
"@walmart/invue-react-native-sdk": "0.1.26-alpha.10-wt1",
- "@walmart/iteminfo-mini-app": "8.2.9",
+ "@walmart/iteminfo-mini-app": "8.3.2",
"@walmart/learning-mini-app": "20.0.41",
"@walmart/manager-approvals-miniapp": "patch:@walmart/manager-approvals-miniapp@npm%3A0.3.2#~/.yarn/patches/@walmart-manager-approvals-miniapp-npm-0.3.2-b9a11617cb.patch",
"@walmart/me-at-walmart-athena-queries": "6.31.0",
--- yarn.lock
@@ -7974,9 +7974,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/iteminfo-mini-app@npm:8.2.9":
- version: 8.2.9
- resolution: "@walmart/iteminfo-mini-app@npm:8.2.9::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fiteminfo-mini-app%2F-%2F%40walmart%2Fiteminfo-mini-app-8.2.9.tgz"
+"@walmart/iteminfo-mini-app@npm:8.3.2":
+ version: 8.3.2
+ resolution: "@walmart/iteminfo-mini-app@npm:8.3.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fiteminfo-mini-app%2F-%2F%40walmart%2Fiteminfo-mini-app-8.3.2.tgz"
peerDependencies:
"@apollo/client": ">=3.7.3"
"@react-native-community/art": 1.2.0
@@ -8021,7 +8021,7 @@ __metadata:
reselect: ">=4.1.0"
uuid: ">=3.3.2"
victory-native: ">=36.5.0"
- checksum: 10c0/f91cf07e34cd41f17a45cf4011b09c4ae31c80ecf03281a99f21fb4af6342741992d731fe8751f01fd3761f364919e40135c1c09523df3ce705fcc194943f900
+ checksum: 10c0/9fc2721c387f09b2a99a3010a16a0d6d31ed2b4fb65a795fd2b469ac08775485d46df5e1f6beb1d8d992a4f7520be989f10819127c7ffa4abb07e90f860403a4
languageName: node
linkType: hard
@@ -8345,7 +8345,7 @@ __metadata:
"@walmart/ims-print-services-ui": "npm:2.19.1"
"@walmart/inbox-mini-app": "npm:0.99.5"
"@walmart/invue-react-native-sdk": "npm:0.1.26-alpha.10-wt1"
- "@walmart/iteminfo-mini-app": "npm:8.2.9"
+ "@walmart/iteminfo-mini-app": "npm:8.3.2"
"@walmart/learning-mini-app": "npm:20.0.41"
"@walmart/manager-approvals-miniapp": "patch:@walmart/manager-approvals-miniapp@npm%3A0.3.2#~/.yarn/patches/@walmart-manager-approvals-miniapp-npm-0.3.2-b9a11617cb.patch"
"@walmart/me-at-walmart-athena-queries": "npm:6.31.0"
| feat(component): OPIF-163140 ItemInfo integrate mGPS event on item scan (#4131) | feat(component): OPIF-163140 ItemInfo integrate mGPS event on item scan (#4131)
Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com> |
e7513ca822a1cd5b8bdb73ccfa423172ae72e9c9 | --- packages/allspark-foundation/__tests__/User/components/selector.test.tsx
@@ -26,8 +26,8 @@ describe('UserSelectors', () => {
{ teamId: '2', members: ['67890'], membership: [{ win: '12345', role: 'TL' }] },
],
preferences: {
- birthday: '12-25',
- anniversary: '01-01',
+ birthday: 'true',
+ anniversary: 'true',
},
},
impersonated: true,
@@ -100,12 +100,12 @@ describe('UserSelectors', () => {
test('getUserBirthdayPreference selector', () => {
const birthdayPreference = UserSelectors.getUserBirthdayPreference(mockState);
- expect(birthdayPreference).toBe('12-25');
+ expect(birthdayPreference).toBe('true');
});
test('getUserAnniversaryPreference selector', () => {
const anniversaryPreference = UserSelectors.getUserAnniversaryPreference(mockState);
- expect(anniversaryPreference).toBe('01-01');
+ expect(anniversaryPreference).toBe('true');
});
test('getTeamsForWorkingSite selector', () => {
| change birthday and anniversary as boolen | change birthday and anniversary as boolen
|
c25bceda7169111c3d5fbca4019a31ed9eeab4de | --- __tests__/connectivity/ConnectivityTest.tsx
@@ -2,7 +2,7 @@ import {all, call, takeLatest, select} from 'redux-saga/effects';
import {
NetworkActionTypes,
- NetworkSelectors,
+ NetworkDetails,
} from '@walmart/allspark-foundation/Network';
import {UserActionTypes} from '@walmart/allspark-foundation/User';
import {AllsparkBanners} from '@walmart/allspark-foundation/Components';
@@ -15,7 +15,78 @@ import {
import {SettingsActionTypes} from '../../src/settings/redux';
import {createRestartableSaga} from '@walmart/allspark-utils';
import {Logger} from '../../src/core/Logger';
+import {NetInfoStateType} from '@react-native-community/netinfo';
+test('connectivitySagas', () => {
+ const iterator = connectivitySagas();
+ expect(iterator.next().value).toEqual(
+ all([
+ call(updateConnectivityBanner),
+ takeLatest(
+ [
+ UserActionTypes.UPDATE,
+ NetworkActionTypes.STATE_CHANGED,
+ SettingsActionTypes.SHOW_CONNECTIVITY_WARNING,
+ ],
+ updateConnectivityBanner
+ ),
+ ])
+ );
+});
+
+describe('updateConnectivityBanner Saga', () => {
+ it('should add a connectivity banner when `getShowConnectivityWarning` returns true', () => {
+ const saga = updateConnectivityBanner();
+
+ expect(saga.next().value).toEqual(select(getShowConnectivityWarning));
+ expect(saga.next(true).value).toEqual(
+ AllsparkBanners.add('connectivity', {
+ type: 'banner',
+ value: AllsparkTranslationClient.t('banners.connectivity'),
+ variant: 'warning',
+ })
+ );
+ expect(saga.next().done).toBe(true);
+ });
+
+ it('should remove the connectivity banner when `getShowConnectivityWarning` returns false', () => {
+ const saga = updateConnectivityBanner();
+
+ expect(saga.next().value).toEqual(select(getShowConnectivityWarning));
+ expect(saga.next().done).toBe(true);
+ });
+});
+
+describe('connectivitySagas', () => {});
+
+describe('getShowConnectivityWarning', () => {
+ it('returns true if dataSaverOn is true and network type is not wifi', () => {
+ const network: NetworkDetails | null = {
+ type: NetInfoStateType.unknown,
+ isConnected: true,
+ isInternetReachable: null,
+ details: null,
+ isWifiEnabled: false,
+ };
+ const settings = {dataSaverOn: true};
+ const result = getShowConnectivityWarning.resultFunc(network, settings);
+ expect(result).toBe(true);
+ });
+
+ it('returns true if network type is unknown', () => {
+ const network: NetworkDetails | null = {
+ type: NetInfoStateType.unknown,
+ isConnected: false,
+ isInternetReachable: null,
+ details: null,
+ isWifiEnabled: false,
+ };
+ const result = getShowConnectivityWarning.resultFunc(network, {
+ dataSaverOn: false,
+ });
+ expect(result).toBe(true);
+ });
+});
describe('Connectivity', () => {
test('connectivitySagas', () => {
@@ -57,36 +128,25 @@ describe('Connectivity', () => {
expect(saga.next().done).toBe(true);
});
});
+ it('should handle connectivity sagas', () => {
+ const saga = connectivitySagas();
- describe('connectivitySagas', () => {
- it('should handle connectivity sagas', () => {
- const saga = connectivitySagas();
-
- expect(saga.next().value).toEqual(
- all([
- call(updateConnectivityBanner),
- createRestartableSaga(
- takeLatest(
- [
- UserActionTypes.UPDATE,
- NetworkActionTypes.STATE_CHANGED,
- SettingsActionTypes.SHOW_CONNECTIVITY_WARNING,
- ],
- updateConnectivityBanner
- ),
- Logger.error
+ expect(saga.next().value).toEqual(
+ all([
+ call(updateConnectivityBanner),
+ createRestartableSaga(
+ takeLatest(
+ [
+ UserActionTypes.UPDATE,
+ NetworkActionTypes.STATE_CHANGED,
+ SettingsActionTypes.SHOW_CONNECTIVITY_WARNING,
+ ],
+ updateConnectivityBanner
),
- ])
- );
- expect(saga.next().done).toBe(true);
- });
- });
-
- describe('getShowConnectivityWarning', () => {
- const network = {type: 'wifi', isConnected: true};
- (NetworkSelectors.getData as jest.Mock).mockReturnValue(network);
- it('returns false when network is connect and type is wifi', () => {
- expect(getShowConnectivityWarning([NetworkSelectors])).toBe(false);
- });
+ Logger.error
+ ),
+ ])
+ );
+ expect(saga.next().done).toBe(true);
});
});
--- packages/me-at-walmart-common/__tests__/utilsTest.ts
@@ -33,4 +33,8 @@ describe('getEncryptionKeyForUser', () => {
const result = getEncryptionKeyForUser(user);
expect(result).toBe(UserDomain.homeoffice);
});
+
+ it('returns homeoffice if user is null', () => {
+ expect(getEncryptionKeyForUser(null)).toBe(UserDomain.homeoffice);
+ });
});
| test(added test cases for connectivity and utils): ALLSPARK-5457 test (#4052) | test(added test cases for connectivity and utils): ALLSPARK-5457 test (#4052)
|
a583900c2422da82727b6f151d9e95724584f886 | --- src/screens/RosterScreen.tsx
@@ -108,6 +108,7 @@ export const RosterScreen: React.FC<Props> = ({navigation}) => {
setAssociates(tempAssociatesMock);
}, []);
+
useEffect(() => {
firestore()
.collection('user_status')
--- src/screens/RosterScreen.tsx
@@ -108,6 +108,7 @@ export const RosterScreen: React.FC<Props> = ({navigation}) => {
setAssociates(tempAssociatesMock);
}, []);
+
useEffect(() => {
firestore()
.collection('user_status')
| adding whitespace to test looper | adding whitespace to test looper
|
221212f8f65af209f11124b8d039fd0ad34ca110 | --- package.json
@@ -151,7 +151,7 @@
"@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.9.20#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.9.20-3371a478c8.patch",
"@walmart/receipt-check-miniapp": "1.34.4",
"@walmart/redux-store": "~6.3.28",
- "@walmart/returns-mini-app": "4.17.12",
+ "@walmart/returns-mini-app": "4.17.16",
"@walmart/rfid-scan-mini-app": "2.14.3",
"@walmart/rn-mobile-sdk-pairing": "2.1.8",
"@walmart/rn-receiving-mini-app": "2.6.20",
--- yarn.lock
@@ -8484,7 +8484,7 @@ __metadata:
"@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.9.20#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.9.20-3371a478c8.patch"
"@walmart/receipt-check-miniapp": "npm:1.34.4"
"@walmart/redux-store": "npm:~6.3.28"
- "@walmart/returns-mini-app": "npm:4.17.12"
+ "@walmart/returns-mini-app": "npm:4.17.16"
"@walmart/rfid-scan-mini-app": "npm:2.14.3"
"@walmart/rn-mobile-sdk-pairing": "npm:2.1.8"
"@walmart/rn-receiving-mini-app": "npm:2.6.20"
@@ -9125,9 +9125,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/returns-mini-app@npm:4.17.12":
- version: 4.17.12
- resolution: "@walmart/returns-mini-app@npm:4.17.12::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Freturns-mini-app%2F-%2F%40walmart%2Freturns-mini-app-4.17.12.tgz"
+"@walmart/returns-mini-app@npm:4.17.16":
+ version: 4.17.16
+ resolution: "@walmart/returns-mini-app@npm:4.17.16::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Freturns-mini-app%2F-%2F%40walmart%2Freturns-mini-app-4.17.16.tgz"
dependencies:
"@walmart/common-utilities-js": "npm:^1.2.10"
"@walmart/virtual-zpl-printer-model": "npm:^0.2.11"
@@ -9146,7 +9146,7 @@ __metadata:
react-native-mask-input: ^1.2.3
react-redux: "*"
redux: "*"
- checksum: 10c0/d0ee04f537d3bc6cb1e68c4ab86f5b4608d55f271583a57652f1745a60d1ed9a2f691c18407b4b09a2c47a327538fea0dec2bc742042fa462756cb5451244d5f
+ checksum: 10c0/441c5ef14d9eb37c2d367e70897ae5e947bbdf53ff2f74b5bcce88474ebd0f6804865cd2003f5c13cc2c97632e1f3ccb4a1d3876a1de30630748c4709dbcfff1
languageName: node
linkType: hard
| fix(returns): bug fix for printer issue in returns mini app (#4875) | fix(returns): bug fix for printer issue in returns mini app (#4875)
|
305cf1f62c941a34df8b2f3f4855f6a4418ccd56 | --- yarn.lock
@@ -6500,15 +6500,6 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/common-utilities-js@npm:^1.2.10":
- version: 1.2.10
- resolution: "@walmart/common-utilities-js@npm:1.2.10"
- dependencies:
- lodash: "npm:^4.17.15"
- checksum: 10c0/0de4ac9c5a4dab4a00100c34d10bb4f8862cc4d32dc0d19bd5bcc364e7586ee1f2f76cd287dd4c329d5d80396b485b83ade7a30eabfec17900858ba9f43ba44f
- languageName: node
- linkType: hard
-
"@walmart/compass-sdk-rn@npm:5.19.15":
version: 5.19.15
resolution: "@walmart/compass-sdk-rn@npm:5.19.15"
@@ -8059,13 +8050,11 @@ __metadata:
"@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"
peerDependencies:
"@react-native-async-storage/async-storage": "*"
- "@react-navigation/native": ^5.7.3
- "@react-navigation/stack": ^6.3.20
+ "@react-navigation/native": ">=5"
+ "@react-navigation/stack": ">=6"
+ "@walmart/allspark-foundation": "*"
"@walmart/core-services": "*"
"@walmart/core-services-allspark": "*"
"@walmart/functional-components": "*"
@@ -8080,7 +8069,10 @@ __metadata:
react-native-mask-input: ^1.2.3
react-redux: "*"
redux: "*"
- checksum: 10c0/01515d1c0d0b5d46772f92415c78ae4c031a615b5affdd3b0851ffd03492bae8db10d5ba2891ee25d89d5766f4446e0226f0899b657bb8644efb2219111bd60c
+ dependenciesMeta:
+ "@walmart/me-at-walmart":
+ built: false
+ checksum: 10c0/1d3a29841c70accee9467ff3505cea9e8caa0531366af7d15a69a7cccabdd6a809f4209a4ce12089ee56ef035828415b366bff2d659090b60544c5431d9b8792
languageName: node
linkType: hard
@@ -8410,13 +8402,6 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/timeamount@npm:^1.0.3":
- version: 1.0.4
- resolution: "@walmart/timeamount@npm:1.0.4"
- checksum: 10c0/cf1f7c026180936efaf4482493ba882910a44ea006fc572e5a6b9fa55f6e3ed8ae8622c47f2d6aa4e8019a5b8bc174735f659b9a36a8d6db488ce52f2d771891
- languageName: node
- linkType: hard
-
"@walmart/topstock-mini-app@npm:1.20.4":
version: 1.20.4
resolution: "@walmart/topstock-mini-app@npm:1.20.4"
@@ -8510,16 +8495,6 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/virtual-zpl-printer-model@npm:^0.2.11":
- version: 0.2.11
- resolution: "@walmart/virtual-zpl-printer-model@npm:0.2.11"
- dependencies:
- "@walmart/timeamount": "npm:^1.0.3"
- lodash: "npm:^4.17.15"
- checksum: 10c0/07c1420a53009cb552bbb1f127d860c6152d978d4f3066ec681ac29161022d3905f9f00078f9b2937d00573abbfc26c5a4f070ca8bf24d3685092da13c9d1358
- languageName: node
- linkType: hard
-
"@walmart/walmart-fiscal-week@npm:^0.3.6":
version: 0.3.6
resolution: "@walmart/walmart-fiscal-week@npm:0.3.6"
| chore(ui): update yarn lock | chore(ui): update yarn lock
|
b6e4e4721003d19b8292cdf6a3976ff48c414119 | --- src/components/FilterChipGroup/FilterChipGroup.tsx
@@ -106,7 +106,7 @@ export const FilterChipGroup = ({
</Chip>
</>
)}
- <ScrollView horizontal style={styles.filterChipGroupContainer}>
+ <ScrollView horizontal style={styles.ScrollViewContainer}>
{renderFilterChips()}
</ScrollView>
</View>
--- src/components/FilterChipGroup/styles.ts
@@ -9,14 +9,22 @@ const shiftChipDefault: ViewStyle = {
alignItems: 'center',
};
+const chipContainer: ViewStyle = {
+ display: 'flex',
+ flexDirection: 'row',
+ flexWrap: 'wrap',
+ backgroundColor: colors.white,
+ width: '100%',
+ marginTop: 16,
+};
+
export const filterChipGroupStyles = StyleSheet.create({
+ ScrollViewContainer: {
+ ...chipContainer,
+ },
filterChipGroupContainer: {
- display: 'flex',
- flexDirection: 'row',
- flexWrap: 'wrap',
- backgroundColor: colors.white,
- width: '100%',
- marginTop: 16,
+ ...chipContainer,
+ alignItems: 'center',
},
shiftChip: {
...shiftChipDefault,
| fix: css fix for shiftswitcher chip | fix: css fix for shiftswitcher chip
|
35fac676dcc7f3cdd7ea2da55c7bb2f4ad7f9f7f | --- concord-multibranch.yml
@@ -60,7 +60,7 @@ triggers:
entryPoint: onPush
conditions:
type: push
- branch: "^(feature|feat|chore).*$" # Triggers when someone pushes to branches starting with feature, feat, or chore
+ branch: ".*"
#IMP: Add this if the automatic build is disabled for a branch and builds are manually triggers from UI. Make sure to add ref filter to listen to interested branch creation events only
- github:
| feat(ui): update concord | feat(ui): update concord
|
e84a333815f4cafe4e7f1838695293264c9ca984 | --- core/src/features/attendance.ts
@@ -1,4 +1,4 @@
-import {AllsparkFeatureModule} from '@walmart/allspark-foundation';
+import {AllsparkFeature} from '@walmart/allspark-foundation';
import {
FeatureTags,
InboxContainer,
@@ -6,8 +6,10 @@ import {
} from '@walmart/me-at-walmart-common';
// Temporary Attendance Feature
+const AttendanceFeature = new AllsparkFeature('attendance');
+
// TODO: Attendance, once moved to the foundation should export a similar module
-export const AttendanceFeature = new AllsparkFeatureModule('attendance', {
+export default AttendanceFeature.createModule({
name: 'Attendance',
tags: [FeatureTags.associate],
listeners: {
--- core/src/features/scheduling.ts
@@ -1,4 +1,4 @@
-import {AllsparkFeatureModule} from '@walmart/allspark-foundation/Feature';
+import {AllsparkFeature} from '@walmart/allspark-foundation/Feature';
import {
FeatureTags,
HomeDashboardContainer,
@@ -7,8 +7,10 @@ import {
} from '@walmart/me-at-walmart-common';
// Temporary Schedule Feature
+const ScheduleFeature = new AllsparkFeature('schedule');
+
// TODO: Schedule, once moved to the foundation should export a similar module
-export const ScheduleFeature = new AllsparkFeatureModule('schedule', {
+export default ScheduleFeature.createModule({
name: 'Schedule',
tags: [FeatureTags.associate],
listeners: {
--- core/src/features/timeclock.tsx
@@ -1,12 +1,11 @@
import React from 'react';
import {useDispatch, useSelector} from 'react-redux';
-import {all, call, put, select, takeLatest} from 'redux-saga/effects';
+import {call, put, select, takeLatest} from 'redux-saga/effects';
import {AllsparkComponentContainers} from '@walmart/allspark-foundation/Components';
import {AllsparkFeature} from '@walmart/allspark-foundation/Feature';
import {IUserActions, UserActionTypes} from '@walmart/allspark-foundation/User';
import {useAllsparkTranslation} from '@walmart/allspark-foundation/Translation';
-import {createRestartableSagas} from '@walmart/allspark-utils';
import {
FeatureTags,
@@ -15,11 +14,13 @@ import {
ScreenTags,
} from '@walmart/me-at-walmart-common';
import {Switch} from '@walmart/gtp-shared-components';
-const GEO_VALIDATION_KEY = 'impersonation_geo_validation';
-const TimeClock = new AllsparkFeature('timeclock');
+// Temporary Timeclock Feature
+const TimeClockFeature = new AllsparkFeature('timeclock');
+
+const TimeClockLocalStorage = TimeClockFeature.createLocalStorage({});
-const TimeClockLocalStorage = TimeClock.createLocalStorage({});
+const GEO_VALIDATION_KEY = 'impersonation_geo_validation';
export function* onStartImpersonation(
action: IUserActions['START_IMPERSONATION'],
@@ -76,14 +77,10 @@ export function* onExitImpersonation() {
}
// These side effects should be handled within the timeclock mini app itself
-export function* timeclockSagas() {
- yield all(
- createRestartableSagas([
- takeLatest(UserActionTypes.START_IMPERSONATION, onStartImpersonation),
- takeLatest(UserActionTypes.EXIT_IMPERSONATION, onExitImpersonation),
- ]),
- );
-}
+const timeclockSagas = TimeClockFeature.createSaga([
+ takeLatest(UserActionTypes.START_IMPERSONATION, onStartImpersonation),
+ takeLatest(UserActionTypes.EXIT_IMPERSONATION, onExitImpersonation),
+]);
const getImpersonationGeoClockSwitch = () => {
const {
@@ -115,9 +112,8 @@ const getImpersonationGeoClockSwitch = () => {
};
};
-// Temporary Timeclock Feature
// TODO: Timeclock, once moved to the foundation should export a similar module
-export const TimeClockFeature = TimeClock.createModule({
+export default TimeClockFeature.createModule({
name: 'Time Clock',
tags: [FeatureTags.associate],
redux: {
--- core/src/setup.ts
@@ -33,14 +33,14 @@ export const CoreRootSetup = {
export const CoreAssociateSetup = {
setup: async () => {
ActiveAllsparkContainer.addFeatures([
- require('./features/attendance').AttendanceFeature,
+ require('./features/attendance').default,
require('./changeStore').ChangeStoreFeature,
require('./connectivity').ConnectivityFeature,
require('./home').HomeFeature,
- require('./features/scheduling').ScheduleFeature,
+ require('./features/scheduling').default,
require('./settings').SettingsFeature,
require('./storeInfo').StoreInfoFeature,
- require('./features/timeclock').TimeClockFeature,
+ require('./features/timeclock').default,
require('./whatsNew').WhatsNewFeature,
]);
},
| refactor: update core mini app features to use feature builder | refactor: update core mini app features to use feature builder
|
5b92406f1af6a7ac7c91c342fb887be6cbe4f566 | --- __tests__/containers/ChatInput/AudioRecording.test.tsx
@@ -712,7 +712,7 @@ describe('AudioRecording', () => {
describe('create recording', () => {
// Import the function from the actual module for these tests
const {recordingStatusUpdateCallback} = jest.requireActual('../../../src/containers/ChatInput/hooks');
-
+
it('should only use current state for metering value if there is no previous state for metering', () => {
const recordingStatus = {
durationMillis: 3333,
--- __tests__/harness/testRenderer.tsx
@@ -2,6 +2,7 @@ import React from 'react';
import {render as tlRender} from '@testing-library/react-native';
import {renderHook as trenderHook} from '@testing-library/react-hooks';
+// eslint-disable-next-line import/no-unresolved
import {AllsparkReduxProvider} from '@walmart/allspark-foundation/Redux/provider';
const render = (component, renderOptions = {}) => {
--- __tests__/setup.ts
@@ -18,7 +18,7 @@ jest.mock('@walmart/allspark-utils', () => {
// Import CryptoJS to provide real encryption in tests
const CryptoJS = require('crypto-js');
const OBFUSCATION_KEY = 'texting-mini-app'.padStart(64, '0');
-
+
// Real encryption function from the actual code
const baseEncryptUserId = (userId, key = OBFUSCATION_KEY) => {
const encrypted = CryptoJS.AES.encrypt(userId, CryptoJS.enc.Hex.parse(key), {
@@ -26,7 +26,7 @@ jest.mock('@walmart/allspark-utils', () => {
});
return encrypted.toString();
};
-
+
// Create a simple Queue implementation that works in tests
class QueueMock {
constructor(config) {
@@ -89,8 +89,8 @@ jest.mock('@walmart/allspark-utils', () => {
encryptUserId: baseEncryptUserId,
decryptUserId: decryptUserId,
// Mock hook
- useTimeout: (callback, delay) => {
- return { start: jest.fn(), stop: jest.fn() };
+ useTimeout: (_callback, _delay) => {
+ return {start: jest.fn(), stop: jest.fn()};
},
// Mock Queue classes
Queue: QueueMock,
@@ -272,7 +272,7 @@ jest.mock('@walmart/allspark-foundation/Components', () => {
};
}
}
-
+
return {
DynamicComponents: {
Badge: () => null,
| feat(ui): update lint fixes | feat(ui): update lint fixes
|
3c29c80473eb961b0937144b1207d0838676eaf6 | --- .codepulseai.yml
@@ -0,0 +1,12 @@
+ignore:
+ - "node_modules/"
+ - "coverage/"
+ - "*.yml"
+ - "*.js"
+ - "*.json"
+
+ignore_code_suggestion_keywords:
+
+auto_describe: true # If auto_describe flag value is set to true, PR title and description will be automatically generated by the CodePulseAI as soon as the PR is opened
+auto_review: true # If auto_review flag value is set to true, PR will be automatically reviewed by the CodePulseAI as soon as the PR is opened
+auto_extended_review: true # If auto_extended_review flag value is set to true, CodePulseAI will perform automated extended review of the PR as soon as the PR is opened
\ No newline at end of file
| Update my team app version | Update my team app version
|
5468bf00b307af371e65404d8c3a723cc135b301 | --- graphql.yml
@@ -9,111 +9,90 @@ 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:
- "v1"
- name: "GetDailyRoster"
- hash: "417458dc0d68b1e24922dc2980fab6f4e1879a5270d67b6419f87655405e7089"
queryTemplate: "src/queries/getDailyRoster.graphql"
tags:
- "v1"
- name: "GetTeamById"
- hash: "1ea46bb0fff601f894867700115160b7803cb1036280f1aaec619d79b147f64a"
queryTemplate: "src/queries/getTeamById.graphql"
tags:
- "v1"
- name: "GetTeamsByStore"
- hash: "a4d22173c39a700273da06c2ba5f2e35415a038553691812ef01425f2dab449b"
queryTemplate: "src/queries/getTeamsbyStore.graphql"
tags:
- "v1"
- name: "SupplyChainTeamsByBusinessUnit"
- hash: "20a4057d848ad84562fdbaef13278f6cd4f8bb21061e16ea3581d20cc0dc3103"
queryTemplate: "src/queries/supplyChainTeamsByBusinessUnit.graphql"
tags:
- "v1"
- name: "upsertAssociateTextPreferences"
- hash: "c32767303508d355e17b8489f8ecd28ec16a22ea3c454f9347ae96c9aefbec3b"
queryTemplate: "src/queries/upsertAssociateTextPreference.graphql"
tags:
- "v1"
- 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"
- name: "GetDailyRoster"
- hash: "417458dc0d68b1e24922dc2980fab6f4e1879a5270d67b6419f87655405e7089"
queryTemplate: "src/queries/getDailyRoster.graphql"
tags:
- "v1"
- name: "GetTeamById"
- hash: "1ea46bb0fff601f894867700115160b7803cb1036280f1aaec619d79b147f64a"
queryTemplate: "src/queries/getTeamById.graphql"
tags:
- "v1"
- name: "GetTeamsByStore"
- hash: "a4d22173c39a700273da06c2ba5f2e35415a038553691812ef01425f2dab449b"
queryTemplate: "src/queries/getTeamsbyStore.graphql"
tags:
- "v1"
- name: "SupplyChainTeamsByBusinessUnit"
- hash: "20a4057d848ad84562fdbaef13278f6cd4f8bb21061e16ea3581d20cc0dc3103"
queryTemplate: "src/queries/supplyChainTeamsByBusinessUnit.graphql"
tags:
- "v1"
- name: "upsertAssociateTextPreferences"
- hash: "c32767303508d355e17b8489f8ecd28ec16a22ea3c454f9347ae96c9aefbec3b"
- queryTemplate: "src/queries/upsertAssociateTextPreference.graphql"
- tags:
- - "v1"
- - name: "prod"
- persistedQueries:
- - name: "GetAssociateClockStatus"
- hash: "b4080db4f80721f28469fdce6584ae8afe567ee4c200d77b6889912ec1c0d214"
- queryTemplate: "src/queries/getAssociateClockStatus.graphql"
- tags:
- - "v1"
- - name: "GetAssociateName"
- hash: "f82efac63c0d36b80c7bc2a20ea4dfd6d8f970491fb373e8e0c61764dea2360f"
- queryTemplate: "src/queries/getAssociateName.graphql"
- tags:
- - "v1"
- - name: "GetDailyRoster"
- hash: "417458dc0d68b1e24922dc2980fab6f4e1879a5270d67b6419f87655405e7089"
- queryTemplate: "src/queries/getDailyRoster.graphql"
- tags:
- - "v1"
- - name: "GetTeamById"
- hash: "1ea46bb0fff601f894867700115160b7803cb1036280f1aaec619d79b147f64a"
- queryTemplate: "src/queries/getTeamById.graphql"
- tags:
- - "v1"
- - name: "GetTeamsByStore"
- hash: "a4d22173c39a700273da06c2ba5f2e35415a038553691812ef01425f2dab449b"
- queryTemplate: "src/queries/getTeamsbyStore.graphql"
- tags:
- - "v1"
- - name: "SupplyChainTeamsByBusinessUnit"
- hash: "20a4057d848ad84562fdbaef13278f6cd4f8bb21061e16ea3581d20cc0dc3103"
- queryTemplate: "src/queries/supplyChainTeamsByBusinessUnit.graphql"
- tags:
- - "v1"
- - name: "upsertAssociateTextPreferences"
- hash: "c32767303508d355e17b8489f8ecd28ec16a22ea3c454f9347ae96c9aefbec3b"
queryTemplate: "src/queries/upsertAssociateTextPreference.graphql"
tags:
- "v1"
+ # - name: "prod"
+ # persistedQueries:
+ # - name: "GetAssociateClockStatus"
+ # queryTemplate: "src/queries/getAssociateClockStatus.graphql"
+ # tags:
+ # - "v1"
+ # - name: "GetAssociateName"
+ # queryTemplate: "src/queries/getAssociateName.graphql"
+ # tags:
+ # - "v1"
+ # - name: "GetDailyRoster"
+ # queryTemplate: "src/queries/getDailyRoster.graphql"
+ # tags:
+ # - "v1"
+ # - name: "GetTeamById"
+ # queryTemplate: "src/queries/getTeamById.graphql"
+ # tags:
+ # - "v1"
+ # - name: "GetTeamsByStore"
+ # queryTemplate: "src/queries/getTeamsbyStore.graphql"
+ # tags:
+ # - "v1"
+ # - name: "SupplyChainTeamsByBusinessUnit"
+ # queryTemplate: "src/queries/supplyChainTeamsByBusinessUnit.graphql"
+ # tags:
+ # - "v1"
+ # - name: "upsertAssociateTextPreferences"
+ # queryTemplate: "src/queries/upsertAssociateTextPreference.graphql"
+ # tags:
+ # - "v1"
| review comments | review comments |
dd9b685304da331b3e770c790eacbe66344e1050 | --- .looper-pr.yml
@@ -28,3 +28,4 @@ envs:
MONO_REPO_BASE_BRANCH: develop
AUTHOR: temp
SLACK_CHANNEL: 'smdv-miniapp'
+
| feat(ui): dummy commit | feat(ui): dummy commit
|
71201b5b2ae79a3a68f9fe6c675ab962cbba833d | --- src/navigation/utils.ts
@@ -10,7 +10,7 @@ export const goToWeeklySchedule = (wins: string[], teamName?: string) => {
export const goToIndividualSchedule = (
userId?: string | null,
- businessUnitNumber?: string | null,
+ siteId?: string | null,
displayName?: string | null,
payType?: string | null,
win?: number | null,
@@ -22,7 +22,7 @@ export const goToIndividualSchedule = (
params: {
userInfo: {
userId: userId,
- businessUnitNumber: businessUnitNumber,
+ businessUnitNumber: parseInt(siteId || '', 10),
displayName: displayName,
payType: payType,
walmartIdentificationNumber: win,
| parsing the unit number | parsing the unit number
|
dd0c1a0e24e5676dee514d9110be041c88ef807e | --- targets/US/package.json
@@ -142,7 +142,7 @@
"@walmart/roster-mini-app": "2.4.0",
"@walmart/schedule-mini-app": "0.114.2",
"@walmart/shelfavailability-mini-app": "1.5.26",
- "@walmart/shop-gnfr-mini-app": "1.0.47",
+ "@walmart/shop-gnfr-mini-app": "1.0.52",
"@walmart/store-feature-orders": "1.26.9",
"@walmart/taskit-mini-app": "patch:@walmart/taskit-mini-app@npm%3A3.0.2#~/.yarn/patches/@walmart-taskit-mini-app-npm-3.0.2-4cbd5b8e6d.patch",
"@walmart/time-clock-mini-app": "2.395.0",
| version bump | version bump
|
1815d697c0e5ad1894e23b668a31fadddb65fbe0 | --- packages/allspark-foundation/src/GraphQL/client.ts
@@ -30,6 +30,7 @@ import {
import { GraphQLClientConfig, GraphQLFeatureConfig } from './types';
import { generateQueryHash } from './utils';
import { AllsparkHttpLink, DynamicLink, PersistedQueryLink } from './links';
+import { loadErrorMessages, loadDevMessages } from '@apollo/client/dev';
/**
* Extension of ApolloClient class adding options to configure our custom cache, http, and persisted query links.
@@ -62,6 +63,12 @@ export class GraphQLClient extends ApolloClient<NormalizedCacheObject> {
...restConfig,
});
+ if (__DEV__) {
+ // Adds messages only in a dev environment
+ loadDevMessages();
+ loadErrorMessages();
+ }
+
this._cache = cache;
this._httpLink = httpLink;
this._persistedQueryLink = persistedQueryLink;
| chore: add error helper function to graphql | chore: add error helper function to graphql
|
6245abef795257e5b35a9bc9fed15495e8f022ba | --- package.json
@@ -113,7 +113,7 @@
"@walmart/inbox-mini-app": "0.100.4",
"@walmart/invue-react-native-sdk": "0.1.26-alpha.12",
"@walmart/iteminfo-mini-app": "8.4.2",
- "@walmart/learning-mini-app": "20.0.70",
+ "@walmart/learning-mini-app": "20.0.71",
"@walmart/manager-approvals-miniapp": "0.3.6",
"@walmart/me-at-walmart-athena-queries": "6.31.0",
"@walmart/me-at-walmart-common": "workspace:^",
--- yarn.lock
@@ -8363,9 +8363,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/learning-mini-app@npm:20.0.70":
- version: 20.0.70
- resolution: "@walmart/learning-mini-app@npm:20.0.70::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Flearning-mini-app%2F-%2F%40walmart%2Flearning-mini-app-20.0.70.tgz"
+"@walmart/learning-mini-app@npm:20.0.71":
+ version: 20.0.71
+ resolution: "@walmart/learning-mini-app@npm:20.0.71::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Flearning-mini-app%2F-%2F%40walmart%2Flearning-mini-app-20.0.71.tgz"
peerDependencies:
"@react-native-firebase/analytics": 17.4.2
"@react-native-firebase/app": 17.4.2
@@ -8437,7 +8437,7 @@ __metadata:
reduxsauce: ^1.2.0
reselect: ^4.0.0
wifi-store-locator: ^1.0.0-alpha2
- checksum: 10c0/d101827e2e58d1d49677e3dd401241faf2b7755abd13132b04e7e9916eca4849c8d08691b15bd9b6ce75cfabac7b6b7ff4bf73d36dc86cda6e3b8baca7a12322
+ checksum: 10c0/94caf668cc9ad58f80a66fdc23a9b7ad59d9ed91abbb91762763ff63afb4091776c87d065b2223de8ba7ee2babb5224370bf29ac6e28a75887e04c5b8bfc65db
languageName: node
linkType: hard
@@ -8659,7 +8659,7 @@ __metadata:
"@walmart/inbox-mini-app": "npm:0.100.4"
"@walmart/invue-react-native-sdk": "npm:0.1.26-alpha.12"
"@walmart/iteminfo-mini-app": "npm:8.4.2"
- "@walmart/learning-mini-app": "npm:20.0.70"
+ "@walmart/learning-mini-app": "npm:20.0.71"
"@walmart/manager-approvals-miniapp": "npm:0.3.6"
"@walmart/me-at-walmart-athena-queries": "npm:6.31.0"
"@walmart/me-at-walmart-common": "workspace:^"
| feat(LEARNING-101793): added bug fix with new version 71 (#4350) | feat(LEARNING-101793): added bug fix with new version 71 (#4350)
* feat(LEARNING-101793): added bug fix with new version 71
* dummy commit
* revert dummy commit changes
---------
Co-authored-by: a0p0f7d <a0p0f7d@homeoffice.wal-mart.com>
Co-authored-by: Rashad Ahmed - r0a03gb <rashad.ahmed@walmart.com>
Co-authored-by: Maksym Novakh - m0n09mr <Maksym.Novakh0@walmart.com>
Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com> |
a0660a44308c18c8687d5323588891418067dd92 | --- .yarn/patches/react-native-modalfy-npm-3.7.0-a3af8847e5.patch
@@ -1,5 +1,5 @@
diff --git a/lib/commonjs/lib/ModalStack.js b/lib/commonjs/lib/ModalStack.js
-index 34a9127520914af5760dbeb23197d637ea0251dc..21e11613a42b414b1cb858356726333a438a0036 100644
+index 34a9127520914af5760dbeb23197d637ea0251dc..6b34d054c8dad9b375003a2102bad64c41e78fb5 100644
--- a/lib/commonjs/lib/ModalStack.js
+++ b/lib/commonjs/lib/ModalStack.js
@@ -77,9 +77,10 @@ const ModalStack = props => {
@@ -11,7 +11,7 @@ index 34a9127520914af5760dbeb23197d637ea0251dc..21e11613a42b414b1cb858356726333a
(0, _utils.queueMacroTask)(() => {
- setModalStackOptions((0, _utils.getStackItemOptions)(Array.from(stack.openedItems).pop(), stack));
+ const stackToUse = dynamicStack || stack;
-+ setModalStackOptions((0, _utils.getStackItemOptions)(Array.from(stackToUse.openedItems).pop(), stack));
++ setModalStackOptions((0, _utils.getStackItemOptions)(Array.from(stackToUse.openedItems).pop(), stackToUse));
});
}, []);
@@ -25,7 +25,7 @@ index 34a9127520914af5760dbeb23197d637ea0251dc..21e11613a42b414b1cb858356726333a
(0, _react.useEffect)(() => {
if (stack.openedItems.size && backdropColor && backdropColor !== 'black' && !hasChangedBackdropColor) {
diff --git a/lib/module/lib/ModalStack.js b/lib/module/lib/ModalStack.js
-index b98ab09e8c2b7c3e20e1f96f30344dc919ca200f..2aaf5585f9629061d08c259c8514e9f3654ee83d 100644
+index b98ab09e8c2b7c3e20e1f96f30344dc919ca200f..e5055a9ec41c7c1efc8f4412c367ec5c6d55ea57 100644
--- a/lib/module/lib/ModalStack.js
+++ b/lib/module/lib/ModalStack.js
@@ -59,9 +59,10 @@ const ModalStack = props => {
@@ -37,7 +37,7 @@ index b98ab09e8c2b7c3e20e1f96f30344dc919ca200f..2aaf5585f9629061d08c259c8514e9f3
queueMacroTask(() => {
- setModalStackOptions(getStackItemOptions(Array.from(stack.openedItems).pop(), stack));
+ const stackToUse = dynamicStack || stack;
-+ setModalStackOptions(getStackItemOptions(Array.from(stackToUse.openedItems).pop(), stack));
++ setModalStackOptions(getStackItemOptions(Array.from(stackToUse.openedItems).pop(), stackToUse));
});
}, []);
--- yarn.lock
@@ -20792,7 +20792,7 @@ __metadata:
"react-native-modalfy@patch:react-native-modalfy@npm%3A3.7.0#~/.yarn/patches/react-native-modalfy-npm-3.7.0-a3af8847e5.patch":
version: 3.7.0
- resolution: "react-native-modalfy@patch:react-native-modalfy@npm%3A3.7.0%3A%3A__archiveUrl=https%253A%252F%252Fnpm.ci.artifacts.walmart.com%253A443%252Fartifactory%252Fapi%252Fnpm%252Fnpme-npm%252Freact-native-modalfy%252F-%252Freact-native-modalfy-3.7.0.tgz#~/.yarn/patches/react-native-modalfy-npm-3.7.0-a3af8847e5.patch::version=3.7.0&hash=9f3ae9"
+ resolution: "react-native-modalfy@patch:react-native-modalfy@npm%3A3.7.0%3A%3A__archiveUrl=https%253A%252F%252Fnpm.ci.artifacts.walmart.com%253A443%252Fartifactory%252Fapi%252Fnpm%252Fnpme-npm%252Freact-native-modalfy%252F-%252Freact-native-modalfy-3.7.0.tgz#~/.yarn/patches/react-native-modalfy-npm-3.7.0-a3af8847e5.patch::version=3.7.0&hash=8d2f80"
dependencies:
hoist-non-react-statics: "npm:^3.3.2"
react-is: "npm:^17.0.2"
@@ -20801,7 +20801,7 @@ __metadata:
react: ">=16.8.3"
react-native: ">=0.59.0"
react-native-gesture-handler: ">=2.2.1"
- checksum: 10c0/abb8ffa14d376a3642a3a2dc528fba279fe36d152620e3f284f7269d6ea3f7703f74467797497f04125bd51b9a3b05e221f8aea9fbbb171c844e30b70271919b
+ checksum: 10c0/4c8ccf60dd4f0e117ffaf13c04b65be8b7080c88c5306e3d52764ab55f027f0ef8d216e91636a238aad95797bd33385bc9e11a04f8772cce815562aa074bff15
languageName: node
linkType: hard
| fix(modalfy): ALLSPARK-7291 re-apply patch (#5311) | fix(modalfy): ALLSPARK-7291 re-apply patch (#5311)
Co-authored-by: Maksym Novakh <maksym.novakh@walmart.com> |
7fa41e5a2b8020eb07f86daac141cbdd1d4209ff | --- package-lock.json
@@ -53,7 +53,7 @@
"@walmart/gtp-shared-components": "2.0.4",
"@walmart/impersonation-mini-app": "1.11.0",
"@walmart/ims-print-services-ui": "2.0.6",
- "@walmart/inbox-mini-app": "0.81.12",
+ "@walmart/inbox-mini-app": "0.81.13",
"@walmart/iteminfo-mini-app": "7.0.8",
"@walmart/manager-approvals-miniapp": "0.2.1",
"@walmart/me-field-mini-app": "1.1.45",
@@ -5351,9 +5351,9 @@
}
},
"node_modules/@walmart/inbox-mini-app": {
- "version": "0.81.12",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.81.12.tgz",
- "integrity": "sha512-KN1m9jDxycTKt/46lDnpDwg0pKS5MvOqm/9HThMTxwoRojR/d/g2snPCwN9wxDtFAsvuQUdQWHmMA/vHDQ1yKA==",
+ "version": "0.81.13",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.81.13.tgz",
+ "integrity": "sha512-14ElhipsK7UXjVscUjbgnB3BBsn+PN3UF9uE2KeTx1kDEnL/wiDklIrO5wbPvqyzaLqCwYvwbuWP2m3dhnkAdw==",
"dependencies": {
"@walmart/moment-walmart": "^1.0.4",
"@walmart/walmart-fiscal-week": "^0.3.6"
@@ -25591,9 +25591,9 @@
"integrity": "sha512-MUQJaZqIrX8GdPckD6/JsRbn/vXPEdfAa2431MG+/eUch/9J+WNo2WGlPDxqS7XEnty6O9rqOJPC2zKXBRY3RA=="
},
"@walmart/inbox-mini-app": {
- "version": "0.81.12",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.81.12.tgz",
- "integrity": "sha512-KN1m9jDxycTKt/46lDnpDwg0pKS5MvOqm/9HThMTxwoRojR/d/g2snPCwN9wxDtFAsvuQUdQWHmMA/vHDQ1yKA==",
+ "version": "0.81.13",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.81.13.tgz",
+ "integrity": "sha512-14ElhipsK7UXjVscUjbgnB3BBsn+PN3UF9uE2KeTx1kDEnL/wiDklIrO5wbPvqyzaLqCwYvwbuWP2m3dhnkAdw==",
"requires": {
"@walmart/moment-walmart": "1.0.4",
"@walmart/walmart-fiscal-week": "^0.3.6"
--- package.json
@@ -95,7 +95,7 @@
"@walmart/gtp-shared-components": "2.0.4",
"@walmart/impersonation-mini-app": "1.11.0",
"@walmart/ims-print-services-ui": "2.0.6",
- "@walmart/inbox-mini-app": "0.81.12",
+ "@walmart/inbox-mini-app": "0.81.13",
"@walmart/iteminfo-mini-app": "7.0.8",
"@walmart/manager-approvals-miniapp": "0.2.1",
"@walmart/me-field-mini-app": "1.1.45",
| bug fix | bug fix
|
e314561eab38304aa217e60df40d2baeeb8d71d4 | --- packages/me-at-walmart-container/__tests__/redux/auth.test.ts
@@ -0,0 +1,74 @@
+import {call, select, takeLatest} from 'redux-saga/effects';
+import {
+ EnvironmentSelectors,
+ EnvironmentActionTypes,
+} from '@walmart/allspark-foundation/Environment';
+import {
+ ConfigActionTypes,
+ ConfigSelectors,
+} from '@walmart/allspark-foundation/Config';
+import {
+ onEnvironmentSet,
+ onAppConfigSuccess,
+ AuthSagas,
+} from '../../src/redux/auth';
+import {MeAtWalmartAuthService} from '../../src/services/auth';
+
+jest.mock('../../src/services/auth', () => ({
+ MeAtWalmartAuthService: {
+ mergeConfig: jest.fn(),
+ },
+}));
+
+describe('Auth Sagas', () => {
+ beforeEach(jest.resetAllMocks);
+
+ it('onEnvironmentSet', async () => {
+ const mockEnv = {env: 'dev'};
+ const iterator = onEnvironmentSet();
+ expect(iterator.next().value).toEqual(
+ select(EnvironmentSelectors.getState),
+ );
+ expect(iterator.next(mockEnv).done).toEqual(true);
+ expect(MeAtWalmartAuthService.mergeConfig).toHaveBeenCalledWith({
+ env: mockEnv.env,
+ });
+ });
+
+ it('onAppConfigSuccess-should merge retry errors config', async () => {
+ const mockConfig = {
+ core: {
+ retryAuthErrorCodeList: ['401', '403'],
+ },
+ };
+ const iterator = onAppConfigSuccess();
+ expect(iterator.next().value).toEqual(select(ConfigSelectors.getData));
+ expect(iterator.next(mockConfig).done).toEqual(true);
+
+ expect(MeAtWalmartAuthService.mergeConfig).toHaveBeenCalledWith({
+ refresh: {
+ retryErrors: ['401', '403'],
+ },
+ });
+ });
+
+ it('onAppConfigSuccess-should not merge config if retry errors are not present', async () => {
+ const mockConfig = {
+ core: {
+ retryAuthErrorCodeList: null,
+ },
+ };
+ const iterator = onAppConfigSuccess();
+ expect(iterator.next().value).toEqual(select(ConfigSelectors.getData));
+ expect(iterator.next(mockConfig).done).toEqual(true);
+ expect(MeAtWalmartAuthService.mergeConfig).not.toHaveBeenCalled();
+ });
+
+ it('AuthSagas ', () => {
+ expect(AuthSagas).toEqual([
+ call(onEnvironmentSet),
+ takeLatest(EnvironmentActionTypes.SET, onEnvironmentSet),
+ takeLatest(ConfigActionTypes.FETCH_SUCCESS, onAppConfigSuccess),
+ ]);
+ });
+});
| auth tests | auth tests
|
468fe95b207246c873739cc2deb400663ff3b3b3 | --- packages/allspark-foundation/src/Navigation/config/redux.ts
@@ -3,7 +3,12 @@ import { createSlice, PayloadAction } from '@reduxjs/toolkit';
import { AuthActionCreators } from '../../Auth/redux';
import { createSliceUtilities } from '../../Redux/utils';
import { InferActionTypes } from '../../Redux/types';
-import { NavConfigData, SideMenuOption } from './types';
+import {
+ NavConfigData,
+ SideMenuOption,
+ AnyNavOption,
+ SubMenuOption,
+} from './types';
export type NavConfigState = {
initializing: boolean;
@@ -54,16 +59,37 @@ export const navConfigSlice = createSlice({
STATE_CHANGED: (state, action: PayloadAction<NavConfigData>) => {
state.data = action.payload;
},
- ENABLE_OPTION: (state, action: PayloadAction<string>) => {
+ OVERRIDE_OPTION: (
+ state,
+ action: PayloadAction<{ id: string; option: Partial<AnyNavOption> }>
+ ) => {
if (state.data) {
Object.values(state.data).forEach((options) => {
options.forEach((option) => {
- if (option.id === action.payload) {
- option.enabled = false;
+ if (option.id === action.payload.id) {
+ const originalValue = option.overridden
+ ? option.originalValue
+ : option;
+
+ option = {
+ ...option,
+ ...action.payload.option,
+ overridden: true,
+ originalValue,
+ } as const;
} else if ('subMenus' in option) {
(option as SideMenuOption).subMenus.forEach((subMenu) => {
- if ('id' in subMenu && subMenu.id === action.payload) {
- subMenu.enabled = true;
+ if ('id' in subMenu && subMenu.id === action.payload.id) {
+ const originalValue = subMenu.overridden
+ ? subMenu.originalValue
+ : subMenu;
+
+ subMenu = {
+ ...subMenu,
+ ...(action.payload.option as SubMenuOption),
+ overridden: true,
+ originalValue,
+ } as const;
}
});
}
@@ -71,16 +97,20 @@ export const navConfigSlice = createSlice({
});
}
},
- DISABLE_OPTION: (state, action: PayloadAction<string>) => {
+ RESET_OPTION: (state, action: PayloadAction<string>) => {
if (state.data) {
Object.values(state.data).forEach((options) => {
options.forEach((option) => {
- if (option.id === action.payload) {
- option.enabled = false;
+ if (option.id === action.payload && option.overridden) {
+ option = option.originalValue;
} else if ('subMenus' in option) {
(option as SideMenuOption).subMenus.forEach((subMenu) => {
- if ('id' in subMenu && subMenu.id === action.payload) {
- subMenu.enabled = false;
+ if (
+ 'id' in subMenu &&
+ subMenu.id === action.payload &&
+ subMenu.overridden
+ ) {
+ subMenu = subMenu.originalValue;
}
});
}
--- packages/allspark-foundation/src/Navigation/config/types.ts
@@ -10,6 +10,16 @@ export enum MenuType {
mainmenu = 'MAINMENU',
}
+type WithOverride<T> = T & {
+ overridden?: boolean;
+} & (
+ | {
+ overridden: true;
+ originalValue: T;
+ }
+ | { overridden?: false; originalValue?: never }
+ );
+
export type BaseOptionConfig = {
id: string;
title:
@@ -24,31 +34,39 @@ export type BaseOptionConfig = {
value: string;
};
clockCheckRequired: boolean;
- // subMenuOverridden: boolean;
+ // overridden?: boolean;
};
-export type BottomNavOption = BaseOptionConfig & {
- iconSize: number;
- iconSelected: string;
-};
+export type BottomNavOption = WithOverride<
+ BaseOptionConfig & {
+ iconSize: number;
+ iconSelected: string;
+ }
+>;
-export type QuickActionOption = BaseOptionConfig & {};
+export type QuickActionOption = WithOverride<BaseOptionConfig>;
-export type SubMenuOption = Omit<BaseOptionConfig, 'icon'> & {
- menuType: MenuType.submenu;
-};
+export type SubMenuOption = WithOverride<
+ Omit<BaseOptionConfig, 'icon'> & {
+ menuType: MenuType.submenu;
+ }
+>;
export type SeparatorMenuOption = {
menuType: MenuType.separator;
};
-export type MainMenuOption = BaseOptionConfig & {
- menuType: MenuType.mainmenu;
-};
+export type MainMenuOption = WithOverride<
+ BaseOptionConfig & {
+ menuType: MenuType.mainmenu;
+ }
+>;
-export type SideMenuOption = BaseOptionConfig & {
- subMenus: (SubMenuOption | SeparatorMenuOption)[];
-};
+export type SideMenuOption = WithOverride<
+ BaseOptionConfig & {
+ subMenus: (SubMenuOption | SeparatorMenuOption)[];
+ }
+>;
export type SideNavOption = SideMenuOption | MainMenuOption;
@@ -56,7 +74,8 @@ export type AnyNavOption =
| SideMenuOption
| BottomNavOption
| QuickActionOption
- | SubMenuOption;
+ | SubMenuOption
+ | MainMenuOption;
export type NavConfigData = {
[NavType.bottomNav]: BottomNavOption[];
| feat: add override and reset option actions for nav config | feat: add override and reset option actions for nav config
|
28c4b4c1436678b5ef3de705b7713b9c9e837559 | --- __tests__/harness/redux/mockState/index.ts
@@ -1,7 +1,7 @@
import {GlobalState} from '@walmart/redux-store';
import {clockStatusState} from './clockStatusState';
-//TODO: Move this to the @walmart/redux-store project as a sharable mock?
+//TODO: Move this to the @walmart/redux-store project as a sharable mock or import initial state from the redux-store to use in a mock?
export const initialStateMock: GlobalState = {
auth: {},
user: {},
--- __tests__/harness/redux/mockState/index.ts
@@ -1,7 +1,7 @@
import {GlobalState} from '@walmart/redux-store';
import {clockStatusState} from './clockStatusState';
-//TODO: Move this to the @walmart/redux-store project as a sharable mock?
+//TODO: Move this to the @walmart/redux-store project as a sharable mock or import initial state from the redux-store to use in a mock?
export const initialStateMock: GlobalState = {
auth: {},
user: {},
| updating test harness comment | updating test harness comment
|
f637b598e9a695871a4b06458be4c7d227a30b76 | --- targets/US/package.json
@@ -87,8 +87,8 @@
"@walmart/ask-sam-mini-app": "1.24.7",
"@walmart/associate-listening-mini-app": "1.2.7",
"@walmart/attendance-mini-app": "3.44.0",
- "@walmart/avp-feature-app": "0.10.7",
- "@walmart/avp-shared-library": "0.10.1",
+ "@walmart/avp-feature-app": "0.10.10",
+ "@walmart/avp-shared-library": "0.10.5",
"@walmart/backroom-mini-app": "1.5.20",
"@walmart/calling-mini-app": "0.5.17",
"@walmart/checkout-mini-app": "3.24.0",
--- yarn.lock
@@ -6037,9 +6037,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/avp-feature-app@npm:0.10.7":
- version: 0.10.7
- resolution: "@walmart/avp-feature-app@npm:0.10.7"
+"@walmart/avp-feature-app@npm:0.10.10":
+ version: 0.10.10
+ resolution: "@walmart/avp-feature-app@npm:0.10.10"
peerDependencies:
"@react-navigation/native": ">=6.0.8"
"@react-navigation/stack": ">=6.1.1"
@@ -6048,13 +6048,13 @@ __metadata:
react-native: ">=0.72.10"
react-redux: ">=8.0.4"
redux: ">=4.2.1"
- checksum: 10c0/24836c2ae17a99775b1c35672d33797fb3247aa7b5201986aca1d865a71de1d4f728521d853560144331524c647b974a606f54cde435d4cda7897ce6281f9800
+ checksum: 10c0/f7f3ace63cbf1bf49132fa1b2f8433c49899ab50458966d9c7d5fed2b41c40717753931e3932af7bdd363f0a3496c195c5b6c2b476708b64ca805df055a1ba9d
languageName: node
linkType: hard
-"@walmart/avp-shared-library@npm:0.10.1":
- version: 0.10.1
- resolution: "@walmart/avp-shared-library@npm:0.10.1"
+"@walmart/avp-shared-library@npm:0.10.5":
+ version: 0.10.5
+ resolution: "@walmart/avp-shared-library@npm:0.10.5"
peerDependencies:
axios: ^1.3.4
immer: ^9.0.16
@@ -6064,7 +6064,7 @@ __metadata:
redux-saga: ^1.1.3
reduxsauce: ^1.2.0
reselect: ^4.1.7
- checksum: 10c0/83d3b929ab434690d274b1deefe8a4dfb87e2e14eadd8c5fa7a3a4433fc496aa83f7a2eb1dcaea36c7febe8b83114fc9ca7db9f45285f47f807994d2eeee50c1
+ checksum: 10c0/f673022f177678e7ba1b43e2dd528a8bcad2ad0b0eee27c3566f8f3195478f6e62ae2609a38089ec37ab490565581df1a1fa106b3c2a97cddb37372a2ab47325
languageName: node
linkType: hard
@@ -6994,8 +6994,8 @@ __metadata:
"@walmart/ask-sam-mini-app": "npm:1.24.7"
"@walmart/associate-listening-mini-app": "npm:1.2.7"
"@walmart/attendance-mini-app": "npm:3.44.0"
- "@walmart/avp-feature-app": "npm:0.10.7"
- "@walmart/avp-shared-library": "npm:0.10.1"
+ "@walmart/avp-feature-app": "npm:0.10.10"
+ "@walmart/avp-shared-library": "npm:0.10.5"
"@walmart/backroom-mini-app": "npm:1.5.20"
"@walmart/calling-mini-app": "npm:0.5.17"
"@walmart/checkout-mini-app": "npm:3.24.0"
| bumped avp | bumped avp
|
57da03042ab05778733b1995686405775bf3c484 | --- jest.config.js
@@ -9,10 +9,10 @@ module.exports = {
],
coverageThreshold: {
global: {
- statements: 18.2,
- branches: 7.93,
+ statements: 18,
+ branches: 7,
functions: 11.94,
- lines: 18.4,
+ lines: 18,
},
},
transformIgnorePatterns: [
--- jest.config.js
@@ -9,10 +9,10 @@ module.exports = {
],
coverageThreshold: {
global: {
- statements: 18.2,
- branches: 7.93,
+ statements: 18,
+ branches: 7,
functions: 11.94,
- lines: 18.4,
+ lines: 18,
},
},
transformIgnorePatterns: [
| coverage | coverage
|
c69006908f35a265e8ec48ffac643577bd579728 | --- package-lock.json
@@ -5965,7 +5965,7 @@
"node_modules/@walmart/me-field-mini-app": {
"version": "1.1.32",
"resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-1.1.32.tgz",
- "integrity": "sha512-MdcCmDOXeZ/LSy27S1gGwoNgsY+NjkBOPqgcP8CdVIisicNoveBbz49hVD6+nO9C4siIPyVTOqAh5uLFJ0408A==",
+ "integrity": "sha512-uEZyHuUzQd8MNdt0/pfYaEnaX77b86NebYhBwH7/s7cneXeoGWA9q2010uM6I1i5EIfGzYI5s9BtzI/zJ5zLuA==",
"peerDependencies": {
"@atmt/feedback-component-native": "^8.0.0",
"@react-native-firebase/analytics": "14.11.0",
@@ -29620,7 +29620,7 @@
"@walmart/me-field-mini-app": {
"version": "1.1.32",
"resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-1.1.32.tgz",
- "integrity": "sha512-MdcCmDOXeZ/LSy27S1gGwoNgsY+NjkBOPqgcP8CdVIisicNoveBbz49hVD6+nO9C4siIPyVTOqAh5uLFJ0408A=="
+ "integrity": "sha512-uEZyHuUzQd8MNdt0/pfYaEnaX77b86NebYhBwH7/s7cneXeoGWA9q2010uM6I1i5EIfGzYI5s9BtzI/zJ5zLuA=="
},
"@walmart/metrics-mini-app": {
"version": "0.9.28",
| chore: :package: Changed integrity of me-field-mini-app | chore: :package: Changed integrity of me-field-mini-app
|
92b8de7524df3635f5c4b801443a620a4b19ac0d | --- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.5.1",
+ "version": "1.6.0",
"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",
@@ -71,13 +71,13 @@
"@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.22",
+ "@walmart/allspark-home-mini-app": "0.5.23",
"@walmart/allspark-me-mini-app": "0.31.2",
- "@walmart/ask-sam-mini-app": "0.40.4",
"@walmart/allspark-neon-core": "0.1.25",
+ "@walmart/ask-sam-mini-app": "0.40.5",
"@walmart/config-components": "1.0.35",
- "@walmart/counts-component-miniapp": "0.0.28",
- "@walmart/exception-mini-app": "0.38.1",
+ "@walmart/counts-component-miniapp": "0.0.32",
+ "@walmart/exception-mini-app": "0.39.2",
"@walmart/feedback-all-spark-miniapp": "0.1.18",
"@walmart/functional-components": "1.0.34",
"@walmart/gta-react-native-calendars": "0.0.15",
@@ -89,22 +89,23 @@
"@walmart/manager-approvals-miniapp": "0.0.58",
"@walmart/metrics-mini-app": "0.5.18",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/price-changes-mini-app": "1.0.5",
- "@walmart/push-to-talk-mini-app": "0.5.39",
+ "@walmart/payrollsolution_miniapp": "0.85.0",
+ "@walmart/price-changes-mini-app": "1.0.6",
+ "@walmart/push-to-talk-mini-app": "0.5.81",
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.28.0",
"@walmart/react-native-shared-navigation": "^0.4.0",
"@walmart/react-native-sumo-sdk": "2.1.0",
- "@walmart/refrigeration-alarms-mini-app": "1.21.0",
"@walmart/redux-store": "1.1.25",
- "@walmart/schedule-mini-app": "0.6.0",
- "@walmart/settings-mini-app": "1.3.9",
- "@walmart/shelfavailability-mini-app": "0.6.8",
- "@walmart/taskit-mini-app": "0.140.0-rc.0",
- "@walmart/time-clock-mini-app": "0.4.24",
- "@walmart/ui-components": "v1.3.0-rc.0",
- "@walmart/welcomeme-mini-app": "0.30.4",
- "@walmart/wfm-ui": "^0.1.50",
+ "@walmart/settings-mini-app": "1.5.0",
+ "@walmart/refrigeration-alarms-mini-app": "1.23.0",
+ "@walmart/schedule-mini-app": "0.10.0",
+ "@walmart/taskit-mini-app": "0.146.0-rc.2",
+ "@walmart/shelfavailability-mini-app": "0.8.0",
+ "@walmart/ui-components": "v1.3.0-rc.8",
+ "@walmart/time-clock-mini-app": "0.4.26",
+ "@walmart/welcomeme-mini-app": "0.42.0",
+ "@walmart/wfm-ui": "0.2.8",
"axios-cache-adapter": "2.7.3",
"crypto-js": "^3.3.0",
"dayjs": "^1.10.5",
@@ -118,8 +119,11 @@
"react": "^17.0.2",
"react-i18next": "^11.7.3",
"react-native": "^0.66.4",
+ "react-native-background-timer": "^2.4.1",
"react-native-barcode-builder": "^2.0.0",
+ "react-native-a-beep": "1.1.0",
"react-native-biometrics": "^2.1.4",
+ "react-native-chart-kit": "6.6.1",
"react-native-check-app-install": "0.0.5",
"react-native-circular-progress": "^1.3.6",
"react-native-connect-sso-redux": "^1.1.1",
@@ -134,13 +138,14 @@
"react-native-hyperlink": "0.0.19",
"react-native-image-picker": "^4.0.6",
"react-native-linear-gradient": "^2.5.6",
+ "react-native-loudness": "^2.0.0",
"react-native-maps": "^0.30.1",
"react-native-modal": "^11.5.6",
"react-native-pager-view": "^5.4.9",
"react-native-pdf": "^6.2.0",
"react-native-permissions": "3.0.0",
"react-native-popup-menu": "^0.15.9",
- "react-native-ptt-module": "1.3.7",
+ "react-native-ptt-module": "1.5.52",
"react-native-qrcode-svg": "^6.0.6",
"react-native-reanimated": "^1.10.2",
"react-native-safe-area-context": "^3.3.0",
@@ -168,6 +173,7 @@
"react-native-wm-telemetry": "^0.3.0",
"react-native-wm-voice-text": "^0.5.0",
"react-redux": "^7.2.1",
+ "realm": "10.8.0",
"redux": "^4.0.5",
"redux-devtools-extension": "^2.13.8",
"redux-saga": "^1.1.3",
| Updated taskit version to 146.rc2 | Updated taskit version to 146.rc2 |
b42dc3ffa3ab03c6b4bebcb0b545832ef5147c4d | --- packages/allspark-foundation-hub/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.4.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.4.1...@walmart/allspark-foundation-hub@1.4.2) (2025-03-07)
+
+### Bug Fixes
+
+- **ui:** update the package for foundation hub to move the dependency ([#187](https://gecgithub01.walmart.com/allspark/allspark/issues/187)) ([b4b1072](https://gecgithub01.walmart.com/allspark/allspark/commit/b4b1072a36f8e4926f2c9bdea9ff2081f84fa42d))
+
## [1.4.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.4.0...@walmart/allspark-foundation-hub@1.4.1) (2025-03-03)
### Bug Fixes
--- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.4.1",
+ "version": "1.4.2",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/expo-config-plugins/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.
+## [0.1.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/expo-config-plugins@0.1.1...@walmart/expo-config-plugins@0.1.2) (2025-03-07)
+
+**Note:** Version bump only for package @walmart/expo-config-plugins
+
## [0.1.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/expo-config-plugins@0.1.0...@walmart/expo-config-plugins@0.1.1) (2025-03-03)
**Note:** Version bump only for package @walmart/expo-config-plugins
--- packages/expo-config-plugins/package.json
@@ -1,7 +1,7 @@
{
"name": "@walmart/expo-config-plugins",
"packageManager": "yarn@4.1.1",
- "version": "0.1.1",
+ "version": "0.1.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/allspark-foundation-hub@1.4.2
- @walmart/expo-config-plugins@0.1.2
|
5ffe74be40b7c2c661f1df4639431ff32bbadbca | --- .looper-pr.yml
@@ -1,46 +0,0 @@
-inherit: "job:///metropolis/metroloop/metroloop-parent"
-
-tools:
- nodejs: 12.4.0
- sonarscanner: 3.0.3.778
-
-envs:
- global:
- variables:
- TMPDIR: /tmp
-
-triggers:
- - push:
- ignoreCommitter: jenkinspan
-
-flows:
- default:
- - call: pr
- - call: run-sonar-analysis
- - call: publish-to-hygieia
-
- pr:
- - npm install
- - npm run env:dev
- - npm run lint
- - npm run coverage -- --no-watchman
- - call: build-js-bundle
- - call: notify-pr-via-slack
-
- # verify that the JS bundle can be built
- build-js-bundle:
- - (name build JS bundle) ./node_modules/.bin/react-native bundle --entry-file ./index.js --bundle-output ./bundle.js --reset-cache
-
- notify-pr-via-slack:
- - try:
- - (name Slack PR notify) sh scripts/slackWorkflow.sh 2>&1
- catch:
- - warn('Failed to notify GitHub PR to Slack')
-
- run-sonar-analysis:
- - sonar("Sonar"):
- - (name Sonar Scanner) sonar-scanner -Dproject.settings=sonar-project.properties
- - (name Publish Hygieia to Sonar) hygieia.publishSonar()
-
- publish-to-hygieia:
- - (name Hygieia Publish Build) hygieia.publishBuild()
| Delete .looper-pr.yml | Delete .looper-pr.yml |
f63d441d6d1b8efda2b086914e3a5f9cbb2413dc | --- package-lock.json
@@ -55,7 +55,7 @@
"@walmart/counts-component-miniapp": "0.1.10",
"@walmart/emergency-mini-app": "1.27.0",
"@walmart/exception-mini-app": "1.7.3",
- "@walmart/facilities-management-miniapp": "0.7.3",
+ "@walmart/facilities-management-miniapp": "0.7.5",
"@walmart/feedback-all-spark-miniapp": "0.9.52",
"@walmart/financial-wellbeing-feature-app": "1.19.2",
"@walmart/functional-components": "~4.0.3",
@@ -8892,9 +8892,9 @@
}
},
"node_modules/@walmart/facilities-management-miniapp": {
- "version": "0.7.3",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.7.3.tgz",
- "integrity": "sha512-dtjl72iiLFeASjsES1j5zR3dRee4U1xgjZbjts/aDzl58AyFM4QAuM7Gs45Ca9lrYUKsFthStWuqnsOsIU4uSg==",
+ "version": "0.7.5",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.7.5.tgz",
+ "integrity": "sha512-DuFepwyv36PSguur/5GfC56KJESYiR654Bg4G2wr67nznecPLfTIKhfEUWOPouTlGH/1bt7ky7yM7elFFag6Cw==",
"hasInstallScript": true,
"engines": {
"node": ">=16"
@@ -33380,9 +33380,9 @@
"integrity": "sha512-ahdTzrtsudZme6CLK4kv7gwVj/+6Ea/V7YjwHL1zxBPls22meFqqUMfjGhAwk0zT3hr8Cz+v934fDj0chQAT3w=="
},
"@walmart/facilities-management-miniapp": {
- "version": "0.7.3",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.7.3.tgz",
- "integrity": "sha512-dtjl72iiLFeASjsES1j5zR3dRee4U1xgjZbjts/aDzl58AyFM4QAuM7Gs45Ca9lrYUKsFthStWuqnsOsIU4uSg=="
+ "version": "0.7.5",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.7.5.tgz",
+ "integrity": "sha512-DuFepwyv36PSguur/5GfC56KJESYiR654Bg4G2wr67nznecPLfTIKhfEUWOPouTlGH/1bt7ky7yM7elFFag6Cw=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.9.52",
--- package.json
@@ -96,7 +96,7 @@
"@walmart/counts-component-miniapp": "0.1.10",
"@walmart/emergency-mini-app": "1.27.0",
"@walmart/exception-mini-app": "1.7.3",
- "@walmart/facilities-management-miniapp": "0.7.3",
+ "@walmart/facilities-management-miniapp": "0.7.5",
"@walmart/feedback-all-spark-miniapp": "0.9.52",
"@walmart/financial-wellbeing-feature-app": "1.19.2",
"@walmart/functional-components": "~4.0.3",
| Drop 18 FixiT Hotfix: Incident Flow Fix | Drop 18 FixiT Hotfix: Incident Flow Fix
|
841dab633372c54ef8353a8b09269ba7f39a98c7 | --- package-lock.json
@@ -3218,9 +3218,9 @@
}
},
"@walmart/welcomeme-mini-app": {
- "version": "0.17.0",
- "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.17.0.tgz",
- "integrity": "sha512-rYvZevYXityyvOqtyqDb0aOrsoNgHPC+dIbn14Td8IGoB8sNkQYb7t6O2Hiu1OudcDNRJM841HqNYTioUm5jTw=="
+ "version": "0.19.0",
+ "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.19.0.tgz",
+ "integrity": "sha512-HPGTv6iRuDd0snZWKwXpIc4Wa+af3OjknAsk5icmxli473Xp36qYAgGgLDkoMfOBsoO8egFACxkMvBLM2IPQYg=="
},
"@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.17.0",
+ "@walmart/welcomeme-mini-app": "0.19.0",
"@walmart/wfm-ui": "^0.1.50",
"axios-cache-adapter": "2.7.3",
"crypto-js": "^3.3.0",
| welcomeMe version increase | welcomeMe version increase
|
80de0615ccd1a17366710f9ff64b3b006a4190ae | --- packages/allspark-foundation-hub/src/HubFeature/Shared/Components/HubHeader/style.ts
@@ -12,7 +12,7 @@ export default (
container: {
width: '100%',
paddingTop: 16,
- paddingLeft: hasImage ? 18 : 10,
+ paddingLeft: 10,
paddingBottom: subText ? 10 : 8,
display: 'flex',
flexDirection: 'row',
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Screens/UpdateTeamsModal/styles.ts
@@ -29,7 +29,7 @@ export const styles = StyleSheet.create({
fontFamily: 'Bogle-Bold',
},
filterContainer: {
- paddingHorizontal: 10,
+ paddingHorizontal: LAYOUT_MARGIN,
},
allTeamsContainer: {
paddingTop: 20,
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/translation.ts
@@ -71,6 +71,13 @@ export const enUS = {
cancel: 'Cancel',
},
},
+ updateTeamsModal: {
+ title: 'Update teams',
+ button: {
+ apply: 'Apply',
+ cancel: 'Cancel',
+ },
+ },
};
export const esMX: typeof enUS = {
@@ -147,4 +154,11 @@ export const esMX: typeof enUS = {
cancel: 'Cancel',
},
},
+ updateTeamsModal: {
+ title: 'Update teams',
+ button: {
+ apply: 'Apply',
+ cancel: 'Cancel',
+ },
+ },
};
| feat(ui): cleanup and other enhancements | feat(ui): cleanup and other enhancements
|
49d8cb4b57369aa0c44c6d4b5a4b3adf1443c401 | --- __tests__/components/ActionButton.test.tsx
@@ -0,0 +1,30 @@
+import {render} from '@testing-library/react-native';
+import React from 'react';
+import {ActionButton} from '../../src/components/ActionButton';
+import {ActionButtonProps} from '../../src/components/ActionButton/types';
+
+jest.mock('react-redux', () => ({
+ ...jest.requireActual('react-redux'),
+ useSelector: jest.fn(),
+ useDispatch: jest.fn(),
+}));
+
+describe('ActionButton', () => {
+ it('renders ActionButton', () => {
+ const props = {} as ActionButtonProps;
+ const {toJSON} = render(<ActionButton {...props} />);
+ expect(toJSON()).toMatchSnapshot();
+ });
+
+ it('renders LoadingIndicator when isLoading prop is true', () => {
+ const props = {loading: true} as ActionButtonProps;
+ const {toJSON} = render(<ActionButton {...props} />);
+ expect(toJSON()).toMatchSnapshot();
+ });
+
+ it('renders Icon when isLoading prop is false', () => {
+ const props = {loading: false, icon: 'CheckIcon'} as ActionButtonProps;
+ const {toJSON} = render(<ActionButton {...props} />);
+ expect(toJSON()).toMatchSnapshot();
+ });
+});
--- __tests__/components/__snapshots__/ActionButton.test.tsx.snap
@@ -0,0 +1,184 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`ActionButton renders ActionButton 1`] = `
+<View
+ accessibilityState={
+ {
+ "busy": undefined,
+ "checked": undefined,
+ "disabled": undefined,
+ "expanded": undefined,
+ "selected": undefined,
+ }
+ }
+ accessibilityValue={
+ {
+ "max": undefined,
+ "min": undefined,
+ "now": undefined,
+ "text": undefined,
+ }
+ }
+ accessible={true}
+ collapsable={false}
+ focusable={false}
+ onClick={[Function]}
+ onResponderGrant={[Function]}
+ onResponderMove={[Function]}
+ onResponderRelease={[Function]}
+ onResponderTerminate={[Function]}
+ onResponderTerminationRequest={[Function]}
+ onStartShouldSetResponder={[Function]}
+ style={
+ {
+ "opacity": 1,
+ }
+ }
+>
+ <View
+ style={
+ [
+ {
+ "alignItems": "center",
+ "backgroundColor": "#0071dc",
+ "borderRadius": 40,
+ "height": 30,
+ "justifyContent": "center",
+ "width": 30,
+ },
+ undefined,
+ ]
+ }
+ />
+</View>
+`;
+
+exports[`ActionButton renders Icon when isLoading prop is false 1`] = `
+<View
+ accessibilityState={
+ {
+ "busy": undefined,
+ "checked": undefined,
+ "disabled": undefined,
+ "expanded": undefined,
+ "selected": undefined,
+ }
+ }
+ accessibilityValue={
+ {
+ "max": undefined,
+ "min": undefined,
+ "now": undefined,
+ "text": undefined,
+ }
+ }
+ accessible={true}
+ collapsable={false}
+ focusable={false}
+ onClick={[Function]}
+ onResponderGrant={[Function]}
+ onResponderMove={[Function]}
+ onResponderRelease={[Function]}
+ onResponderTerminate={[Function]}
+ onResponderTerminationRequest={[Function]}
+ onStartShouldSetResponder={[Function]}
+ style={
+ {
+ "opacity": 1,
+ }
+ }
+>
+ <View
+ style={
+ [
+ {
+ "alignItems": "center",
+ "backgroundColor": "#0071dc",
+ "borderRadius": 40,
+ "height": 30,
+ "justifyContent": "center",
+ "width": 30,
+ },
+ undefined,
+ ]
+ }
+ >
+ <Image
+ accessibilityRole="image"
+ source={
+ {
+ "testUri": "../../@walmart/gtp-shared-icons/assets/images/icons/Check-24.png",
+ }
+ }
+ style={
+ [
+ {
+ "height": 24,
+ "tintColor": "white",
+ "width": 24,
+ },
+ {},
+ ]
+ }
+ testID="CheckIcon"
+ />
+ </View>
+</View>
+`;
+
+exports[`ActionButton renders LoadingIndicator when isLoading prop is true 1`] = `
+<View
+ accessibilityState={
+ {
+ "busy": undefined,
+ "checked": undefined,
+ "disabled": undefined,
+ "expanded": undefined,
+ "selected": undefined,
+ }
+ }
+ accessibilityValue={
+ {
+ "max": undefined,
+ "min": undefined,
+ "now": undefined,
+ "text": undefined,
+ }
+ }
+ accessible={true}
+ collapsable={false}
+ focusable={false}
+ onClick={[Function]}
+ onResponderGrant={[Function]}
+ onResponderMove={[Function]}
+ onResponderRelease={[Function]}
+ onResponderTerminate={[Function]}
+ onResponderTerminationRequest={[Function]}
+ onStartShouldSetResponder={[Function]}
+ style={
+ {
+ "opacity": 1,
+ }
+ }
+>
+ <View
+ style={
+ [
+ {
+ "alignItems": "center",
+ "backgroundColor": "#0071dc",
+ "borderRadius": 40,
+ "height": 30,
+ "justifyContent": "center",
+ "width": 30,
+ },
+ undefined,
+ ]
+ }
+ >
+ <ActivityIndicator
+ size="small"
+ />
+ </View>
+</View>
+`;
| added tests for actionButton | added tests for actionButton
|
e1cf293b663b63bebcb55d1ef14bd8aaaddb79d6 | --- package-lock.json
@@ -16,9 +16,6 @@
"./packages/me-at-walmart-container",
"./packages/*"
],
- "dependencies": {
- "@walmart/allspark-utils": "^5.0.0-beta.49"
- },
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
--- package.json
@@ -94,8 +94,5 @@
"@babel/runtime": "^7.20.0",
"babel-jest": "29.2.1",
"metro-react-native-babel-preset": "0.76.8"
- },
- "dependencies": {
- "@walmart/allspark-utils": "^5.0.0-beta.49"
}
}
--- packages/allspark-foundation/__tests__/Auth/connect.test.ts
@@ -1,6 +1,6 @@
-jest.mock('../../../allspark-utils/src', () => ({
- cloneObject: jest.fn().mockReturnValue({}),
-}));
+// jest.mock('../../../allspark-utils/src', () => ({
+// cloneObject: jest.fn().mockReturnValue({}),
+// }));
import {
refreshToken,
--- packages/allspark-foundation/__tests__/Clock/connect.test.ts
@@ -1,8 +1,8 @@
-jest.mock('../../../allspark-utils/src', () => ({
- cloneObject: jest.fn().mockReturnValue({
- addChangeListener: jest.fn(),
- }),
-}));
+// jest.mock('../../../allspark-utils/src', () => ({
+// cloneObject: jest.fn().mockReturnValue({
+// addChangeListener: jest.fn(),
+// }),
+// }));
import {
connectClockService,
--- packages/allspark-foundation/__tests__/setup.js
@@ -0,0 +1,31 @@
+const { NativeModules, Platform, LayoutAnimation } = require('react-native');
+
+// Stub out NativeModules
+NativeModules.RNCNetInfo = {};
+NativeModules.RNGestureHandlerModule = {};
+// NativeModules.RNDeviceInfo = {};
+// NativeModules.SumoNotificationEvents = {};
+// NativeModules.WMBarcodeScanner = {};
+// NativeModules.WmVoiceText = {};
+// NativeModules.RNFBAppModule = {};
+
+// Default platform for tests. Can override in individual tests.
+Platform.OS = 'ios';
+
+jest.spyOn(LayoutAnimation, 'configureNext').mockImplementation(jest.fn());
+jest.spyOn(LayoutAnimation, 'create').mockImplementation(jest.fn());
+
+// Reset the redux store before each test
+const { AllsparkReduxStore } = require('@walmart/allspark-foundation/Redux');
+AllsparkReduxStore.resetStore();
+
+// Reinitalize the environment before each test with Me@ dev variables
+const {
+ AllsparkEnvironment,
+} = require('@walmart/allspark-foundation/Environment');
+const {
+ MeAtWalmartEnvironment,
+} = require('@walmart/me-at-walmart-container/lib/environment');
+
+// Setup environment with Me@ dev variables
+AllsparkEnvironment.initialize({ env: 'dev', config: MeAtWalmartEnvironment });
--- packages/allspark-foundation/jest.config.js
@@ -3,6 +3,7 @@ const commonConfig = require('../../jest.config');
module.exports = {
...commonConfig,
collectCoverageFrom: ['**/*.{ts,tsx}'],
+ setupFiles: ['./__tests__/setup.js'],
coverageThreshold: {
global: {
statements: 98.5,
--- packages/allspark-foundation/src/Auth/connect.ts
@@ -1,5 +1,5 @@
import { debounce } from 'lodash';
-import { cloneObject } from '../../../allspark-utils/src';
+import { cloneObject } from '@walmart/allspark-utils';
import { AllsparkReduxStore } from '../Redux';
import { AuthActionCreators } from './redux';
import { AllsparkAuthService, AuthError } from './types';
--- packages/allspark-foundation/src/Clock/connect.ts
@@ -1,4 +1,4 @@
-import { cloneObject } from '../../../allspark-utils/src';
+import { cloneObject } from '@walmart/allspark-utils';
import { AllsparkReduxStore } from '../Redux';
import { ClockActionCreators } from './redux';
import { AllsparkClockService } from './types';
| test setup | test setup
|
2a592b43b001be914545a4f325fcfb7025dc0ef6 | --- __tests__/settings/versions/__snapshots__/VersionsListTest.tsx.snap
@@ -20,8 +20,8 @@ exports[`VersionsList 1`] = `
[
{
"data": [],
- "title": "Me@Walmart",
- "version": null,
+ "title": "Me@Walmart (undefined)",
+ "version": undefined,
},
]
}
@@ -65,7 +65,7 @@ exports[`VersionsList 1`] = `
size="medium"
weight="700"
>
- appNames.Me@Walmart
+ appNames.Me@Walmart (undefined)
</Body>
<Body
size="medium"
--- package.json
@@ -35,6 +35,7 @@
"run:ios": "ts-node scripts/runWithVariablePrompt.ts 'expo run:ios'",
"run:android": "ts-node scripts/runWithVariablePrompt.ts 'expo run:android'",
"test": "jest --no-watchman",
+ "update:snapshots": "jest --no-watchman -u",
"verifyBranchName": "bash ./scripts/verifyBranchName.sh",
"uploadBlobToAzure": "node ./scripts/dependencies-map/src/upload-to-azure/upload-to-azure.js",
"buildDependenciesMap": "node ./scripts/dependencies-map/src/deps-crawler/index.js -- -f -dm -dc path='./scripts/dependencies-map/src/config/deps-source.json' chunk_size=20",
@@ -414,4 +415,4 @@
"typescript": "~5.3.3",
"uuid": "^3.3.2"
}
-}
+}
\ No newline at end of file
| chore: update snapshot | chore: update snapshot
|
aac6852d5167fe5486dacdb54cbf15c250e20ea9 | --- .insights.yml
@@ -0,0 +1,9 @@
+team:
+ - id: 3799
+product:
+ - {}
+languages:
+ - JavaScript
+ - Android
+ - iOS
+ignoreNotify: true
| chore: add insights yml file | chore: add insights yml file |
b672923e53b9ac4d55c258493df5b5ec10f8b8f0 | --- packages/me-at-walmart-container/src/services/user/transforms.ts
@@ -136,14 +136,9 @@ export const parseUserResponse = (
geographicCategoryCode: associate?.geographicCategoryCode,
hireDate: associate?.hireDate || user.wmHireDate,
mdseDivNumber: associate?.mdseDivNumber?.toString(),
- preferences: {
- birthday:
- associate?.associatePreferences?.meAtWalmartPreferences
- ?.displayPreferences?.birthday,
- anniversary:
- associate?.associatePreferences?.meAtWalmartPreferences
- ?.displayPreferences?.anniversary,
- },
+ preferences:
+ associate?.associatePreferences?.meAtWalmartPreferences
+ ?.displayPreferences,
// associate fields - not modified/defaulted
employmentStatus: associate?.employmentStatus,
jobCategoryCode: associate?.jobCategoryCode,
@@ -174,7 +169,7 @@ export const transformImpersonateeData = (
const impersonatee = {
...impersonator,
userType: 'Associate',
- userId,
+ userId: stripStoreFromUserId(userId),
siteId,
domain,
win,
@@ -211,6 +206,11 @@ export const transformImpersonateeData = (
preferredNameSocialSuffix: data.preferredNameSocialSuffix,
preferredFullName: data.preferredFullName,
employmentStatus: data.employmentStatus,
+ preferences:
+ data.associatePreferences?.meAtWalmartPreferences?.displayPreferences,
+ // Needed?
+ lastPunchTime: data.punch?.lastPunchTime,
+ lastPunchType: data.punch?.lastPunchType,
} as ImpersonationUser;
// calculate token
| fix: preferences not mapped to user data during fetch and impersonate calls | fix: preferences not mapped to user data during fetch and impersonate calls
|
35f39bf6e1b7774991cf7f3b32547f86cbe1c20f | --- docs/CHANGELOG.md
@@ -1,3 +1,13 @@
+# [3.5.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v3.4.0...v3.5.0) (2025-09-17)
+
+
+### Features
+
+* **ui:** adding new version for drop 34 ([a4c18ec](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/a4c18eca33ae7c06b16f04691bea6906cc6be1c7))
+* **ui:** adding new version for drop 34 ([b455d16](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/b455d161e36ae31085abe8163e878e0f277e10e2))
+* **ui:** update version for drop 34 ([c478413](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/c4784136eb60f483201b7cacb6ce6acbbaaa8a34))
+* **ui:** update version for drop 34 ([faac5e9](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/faac5e9c83758b55ec62d3405a5991f8545a44f8))
+
# [3.4.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v3.3.0...v3.4.0) (2025-09-05)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "3.4.0",
+ "version": "3.5.0",
"main": "dist/index.js",
"files": [
"dist",
| chore(release): 3.5.0 [skip ci] | chore(release): 3.5.0 [skip ci]
# [3.5.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v3.4.0...v3.5.0) (2025-09-17)
### Features
* **ui:** adding new version for drop 34 ([a4c18ec](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/a4c18eca33ae7c06b16f04691bea6906cc6be1c7))
* **ui:** adding new version for drop 34 ([b455d16](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/b455d161e36ae31085abe8163e878e0f277e10e2))
* **ui:** update version for drop 34 ([c478413](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/c4784136eb60f483201b7cacb6ce6acbbaaa8a34))
* **ui:** update version for drop 34 ([faac5e9](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/faac5e9c83758b55ec62d3405a5991f8545a44f8))
|
d7a8d15bd8b2234041dbc240db16c30a26260ab6 | --- src/components/AssociateRosterItem/index.tsx
@@ -52,6 +52,9 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
const isPushToTalkEnabled: boolean = useSelector(pushToTalkEnabled);
const isMessageButtonEnabled: boolean = useSelector(messageButtonEnabled);
const userIsImpersonatedOnDev: boolean = useIsImpersonatedOnDev();
+ const countryCode: string | undefined = useSelector(
+ SiteSelectors.getSiteCountry,
+ );
if (!associate) {
return null;
@@ -64,7 +67,14 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
const isClockedIn = associateIsClockedIn(associate);
const handleIndividualSchedulePress = () =>
- goToIndividualSchedule(associate.userId, associate.fullName, siteId);
+ goToIndividualSchedule(
+ associate.userId,
+ siteId,
+ name,
+ associate.payType,
+ associate.win,
+ countryCode,
+ );
const onText = () => {
if (isSearchScreen) {
| update interface to go to individual schedule | update interface to go to individual schedule
|
8e33c6c76dcf3705e389e29519399312f868b12d | --- __tests__/settings/sideButton/SideButtonSettingsTest.tsx
@@ -4,7 +4,6 @@ import KeyEvent from '@walmart/allspark-cope-key-listener';
import AllsparkUtils from '@walmart/allspark-utils';
import AsyncStorage from '@react-native-async-storage/async-storage';
import {SideButtonSettings} from '../../../src/settings/sideButton';
-import * as GTP from '@walmart/gtp-shared-components';
jest.spyOn(AllsparkUtils, 'useAppStateEffect').mockImplementation(jest.fn());
@@ -12,7 +11,6 @@ jest.spyOn(AllsparkUtils, 'useAppStateEffect').mockImplementation(jest.fn());
(KeyEvent.isAppOnTopPermissionGranted as jest.Mock).mockResolvedValue(false);
(AsyncStorage.getItem as jest.Mock).mockReturnValue(Promise.resolve(null));
-
describe('SideButtonSettings tests', () => {
beforeEach(jest.clearAllMocks);
@@ -38,14 +36,6 @@ describe('SideButtonSettings tests', () => {
expect(SearchOptionRadio.props.checked).toBeTruthy();
expect(BarcodeOptionRadio.props.checked).toBeFalsy();
expect(AsyncStorage.setItem).toHaveBeenCalledTimes(2);
-
- // messaging
- const ChatOptionRadio = getByTestId('ChatOption-radio');
- expect(ChatOptionRadio.props.checked).toBeFalsy();
- fireEvent.press(ChatOptionRadio);
- expect(ChatOptionRadio.props.checked).toBeTruthy();
- expect(SearchOptionRadio.props.checked).toBeFalsy();
- expect(AsyncStorage.setItem).toHaveBeenCalledTimes(3);
});
it('AppOnTop: permission not granted: bottom sheet is shown', async () => {
--- __tests__/settings/sideButton/__snapshots__/SideButtonSettingsTest.tsx.snap
@@ -289,88 +289,5 @@ exports[`SideButtonSettings tests matches snapshot 1`] = `
sideButton.askSamDesc
</Body>
</View>
- <View
- accessibilityState={
- {
- "busy": undefined,
- "checked": undefined,
- "disabled": undefined,
- "expanded": undefined,
- "selected": undefined,
- }
- }
- accessibilityValue={
- {
- "max": undefined,
- "min": undefined,
- "now": undefined,
- "text": undefined,
- }
- }
- accessible={true}
- collapsable={false}
- focusable={true}
- onClick={[Function]}
- onResponderGrant={[Function]}
- onResponderMove={[Function]}
- onResponderRelease={[Function]}
- onResponderTerminate={[Function]}
- onResponderTerminationRequest={[Function]}
- onStartShouldSetResponder={[Function]}
- style={
- {
- "borderBottomColor": "#c7c8cb",
- "borderBottomWidth": 0,
- "marginTop": 24,
- "opacity": 1,
- "padding": 8,
- }
- }
- testID="ChatOption"
- >
- <View
- style={
- {
- "flexDirection": "row",
- }
- }
- >
- <ChatBubbleIcon
- size={24}
- />
- <Heading
- UNSAFE_style={
- {
- "fontSize": 16,
- "lineHeight": 24,
- "marginLeft": 8,
- }
- }
- >
- sideButton.openMessaging
- </Heading>
- <Radio
- UNSAFE_style={
- {
- "position": "absolute",
- "right": 0,
- }
- }
- checked={false}
- onPress={[Function]}
- testID="ChatOption-radio"
- />
- </View>
- <Body
- UNSAFE_style={
- {
- "marginBottom": 24,
- "marginTop": 16,
- }
- }
- >
- sideButton.messagingDesc
- </Body>
- </View>
</View>
`;
| fixing tests after merge | fixing tests after merge
|
ea9db6a6c2c60ac67ff9ff4788e1441c8808dab1 | --- package.json
@@ -83,7 +83,7 @@
"@terrylinla/react-native-sketch-canvas": "patch:@terrylinla/react-native-sketch-canvas@npm%3A0.8.0#~/.yarn/patches/@terrylinla-react-native-sketch-canvas-npm-0.8.0-c7b2afd4cd.patch",
"@walmart/allspark-authentication": "7.1.4",
"@walmart/allspark-cope-key-listener": "0.0.19",
- "@walmart/allspark-foundation": "7.17.11",
+ "@walmart/allspark-foundation": "7.17.19",
"@walmart/allspark-foundation-hub": "1.25.25",
"@walmart/allspark-graphql-client": "~6.3.28",
"@walmart/allspark-http-client": "~6.3.28",
@@ -452,7 +452,7 @@
"@react-navigation/elements": "^2.2.6",
"@react-navigation/stack": "patch:@react-navigation/stack@npm%3A7.6.7#~/.yarn/patches/@react-navigation-stack-npm-7.6.7-99a55dcbcc.patch",
"@terrylinla/react-native-sketch-canvas": "patch:@terrylinla/react-native-sketch-canvas@npm%3A0.8.0#~/.yarn/patches/@terrylinla-react-native-sketch-canvas-npm-0.8.0-c7b2afd4cd.patch",
- "@walmart/allspark-foundation": "7.17.11",
+ "@walmart/allspark-foundation": "7.17.19",
"@walmart/allspark-utils": "7.3.1",
"@walmart/compass-sdk-rn": "6.4.16",
"@walmart/config-components": "4.12.3",
--- yarn.lock
@@ -7483,9 +7483,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-cli@npm:^1.7.3":
- version: 1.7.3
- resolution: "@walmart/allspark-cli@npm:1.7.3::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-cli%2F-%2F%40walmart%2Fallspark-cli-1.7.3.tgz"
+"@walmart/allspark-cli@npm:^1.8.0":
+ version: 1.8.0
+ resolution: "@walmart/allspark-cli@npm:1.8.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-cli%2F-%2F%40walmart%2Fallspark-cli-1.8.0.tgz"
dependencies:
"@azure/storage-blob": "npm:^12.26.0"
"@clack/prompts": "npm:^0.8.2"
@@ -7501,7 +7501,7 @@ __metadata:
tsx: "npm:^4.20.6"
bin:
allspark-cli: dist/cli-tool/index.js
- checksum: 10c0/224f5c45fbc1fe244de9ada68f576b104eb076eb6786e4593a1e345044a768e005f68be964922497518641eb45e55819b89f4fa108803a220c1d9ec4c1f6f0e7
+ checksum: 10c0/ddffcf2a03c9026f7f6ed52cefece7b827d2754d0a9431fc5b6e4ff2f963fd6de35e24bb3dbd14c2cbd387dd806583554c08d60706e80e672316b12405a5bd56
languageName: node
linkType: hard
@@ -7528,13 +7528,13 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation@npm:7.17.11":
- version: 7.17.11
- resolution: "@walmart/allspark-foundation@npm:7.17.11::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation%2F-%2F%40walmart%2Fallspark-foundation-7.17.11.tgz"
+"@walmart/allspark-foundation@npm:7.17.19":
+ version: 7.17.19
+ resolution: "@walmart/allspark-foundation@npm:7.17.19::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation%2F-%2F%40walmart%2Fallspark-foundation-7.17.19.tgz"
dependencies:
"@apollo/client": "npm:^3.8.6"
"@reduxjs/toolkit": "npm:^1.9.7"
- "@walmart/allspark-cli": "npm:^1.7.3"
+ "@walmart/allspark-cli": "npm:^1.8.0"
"@walmart/allspark-utils": "npm:^7.3.1"
axios: "npm:1.11.0"
axios-cache-interceptor: "npm:^1.3.2"
@@ -7615,7 +7615,7 @@ __metadata:
optional: true
react-native-permissions:
optional: true
- checksum: 10c0/39c161629000cc0e991c22db7929d2a1eaa66b63199efe15acaa51d5c8d2d14a784c5682344af2029df3d8e64dd7abf633036dafd01806000bbdc2ce93f54f81
+ checksum: 10c0/f9ba31f35655b7c96136e1d1b36f79c63c25d9a8ab6ab695ced5e8a9392a79de3918f9d5d86298e9b582cb58d97a38dbcd33d18848efff0de10de37e6b155156
languageName: node
linkType: hard
@@ -8816,7 +8816,7 @@ __metadata:
"@walmart/allspark-authentication": "npm:7.1.4"
"@walmart/allspark-build-cache-provider": "npm:1.1.1"
"@walmart/allspark-cope-key-listener": "npm:0.0.19"
- "@walmart/allspark-foundation": "npm:7.17.11"
+ "@walmart/allspark-foundation": "npm:7.17.19"
"@walmart/allspark-foundation-hub": "npm:1.25.25"
"@walmart/allspark-graphql-client": "npm:~6.3.28"
"@walmart/allspark-http-client": "npm:~6.3.28"
| fix(foundation): update foundation package | fix(foundation): update foundation package
|
057ba896fa0938444200fea1997f0e7a98520400 | --- targets/US/package.json
@@ -119,7 +119,7 @@
"@walmart/me-at-walmart-container": "workspace:^",
"@walmart/me-at-walmart-core": "workspace:^",
"@walmart/metrics-mini-app": "1.27.3",
- "@walmart/mod-flex-mini-app": "1.24.1",
+ "@walmart/mod-flex-mini-app": "1.24.4",
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "2.2.1",
"@walmart/myteam-mini-app": "1.12.0",
--- yarn.lock
@@ -7322,7 +7322,7 @@ __metadata:
"@walmart/me-at-walmart-container": "workspace:^"
"@walmart/me-at-walmart-core": "workspace:^"
"@walmart/metrics-mini-app": "npm:1.27.3"
- "@walmart/mod-flex-mini-app": "npm:1.24.1"
+ "@walmart/mod-flex-mini-app": "npm:1.24.4"
"@walmart/moment-walmart": "npm:1.0.4"
"@walmart/money-auth-shared-components": "npm:2.2.1"
"@walmart/myteam-mini-app": "npm:1.12.0"
@@ -7600,9 +7600,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/mod-flex-mini-app@npm:1.24.1":
- version: 1.24.1
- resolution: "@walmart/mod-flex-mini-app@npm:1.24.1"
+"@walmart/mod-flex-mini-app@npm:1.24.4":
+ version: 1.24.4
+ resolution: "@walmart/mod-flex-mini-app@npm:1.24.4"
peerDependencies:
"@react-navigation/drawer": ">=6"
"@react-navigation/material-top-tabs": ">=6"
@@ -7637,7 +7637,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
uuid: ^3.3.2
- checksum: 10c0/65542cd5df6575b292e6b5b3dc2c47b1cc80205287d378a3e58b6a17e43bf8ccfab9253cd770116cc1870490f5ec43fd7303c59a01a3049e2a16914278835fcb
+ checksum: 10c0/abe316b3ed020313999f0d96849442c6f165ac71163f0ab639ee4dad43d906c87d34316df2c10ff6da96c5f9c54871a19c856af265116889a93caacb8d396fba
languageName: node
linkType: hard
| Modflex - v1.24.2 - Drop 28 | Modflex - v1.24.2 - Drop 28
|
b11cd2d34dbe01d7be131f35524d512d429b1602 | --- docs/CHANGELOG.md
@@ -1,3 +1,10 @@
+# [2.28.0](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/compare/v2.27.0...v2.28.0) (2025-04-30)
+
+
+### Features
+
+* SMDV-9999 update index ([e569abd](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/e569abd776cde1845d83fecfe9c978a164070d77))
+
# [2.27.0](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/compare/v2.26.2...v2.27.0) (2025-04-30)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/wmconnect-mini-app",
- "version": "2.27.0",
+ "version": "2.28.0",
"main": "index.ts",
"files": [
"dist/"
| chore(release): 2.28.0 [skip ci] | chore(release): 2.28.0 [skip ci]
# [2.28.0](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/compare/v2.27.0...v2.28.0) (2025-04-30)
### Features
* SMDV-9999 update index ([e569abd](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/e569abd776cde1845d83fecfe9c978a164070d77))
|
ab38166b86c8a035800f9abbcd4facc0251dd4c7 | --- __tests__/navigation/AssociateHallwayNav/Tabs/__snapshots__/HomeStackNavTest.tsx.snap
@@ -306,16 +306,145 @@ exports[`HomeStackNav matches snapshot when user is not present 1`] = `
`;
exports[`HomeStackNav matches snapshot with inbox disabled 1`] = `
-<View
- style={
+<Navigator
+ screenOptions={
Object {
- "flex": 1,
- "justifyContent": "center",
+ "header": [Function],
+ "headerMode": "float",
+ "headerShown": true,
}
}
>
- <Spinner />
-</View>
+ <Screen
+ component="HomeScreen"
+ name="home.root"
+ options={
+ Object {
+ "headerLeft": [Function],
+ "headerRight": [Function],
+ "title": "navigation.main",
+ }
+ }
+ />
+ <Screen
+ component="ScheduleMiniApp"
+ name="scheduleScreen"
+ options={
+ Object {
+ "headerShown": false,
+ }
+ }
+ />
+ <Screen
+ component="InboxScreen"
+ name="inbox"
+ options={
+ Object {
+ "title": "navigation.inbox",
+ }
+ }
+ />
+ <Screen
+ name="timeClockTabs"
+ />
+ <Screen
+ component="TorInboxScreen"
+ name="torInbox"
+ />
+ <Screen
+ component="NewTorScreen"
+ name="newTor"
+ />
+ <Screen
+ component="TorSubmissionScreen"
+ name="torSubmission"
+ />
+ <Screen
+ component="TorReviewScreen"
+ name="torReview"
+ />
+ <Screen
+ component="AttendanceModalScreen"
+ name="attendanceModalScreen"
+ options={
+ Object {
+ "cardStyle": Object {
+ "backgroundColor": "rgba(0, 0, 0, 0.3)",
+ "paddingTop": 375,
+ },
+ "headerShown": false,
+ "presentation": "transparentModal",
+ }
+ }
+ />
+ <Screen
+ component="CelebrationListScreen"
+ name="AnniversaryListScreen"
+ options={
+ Object {
+ "headerShown": false,
+ }
+ }
+ />
+ <Screen
+ component="SalesItemizedScreen"
+ name="metrics.salesDrilldown"
+ />
+ <Screen
+ component="PresubItemizedScreen"
+ name="metrics.preSubDrilldown"
+ />
+ <Screen
+ component="MetricsFtprTabNavigation"
+ name="metrics.ftprDrilldown"
+ />
+ <Screen
+ component="ViewAllFreights"
+ name="metrics.viewAllFreights"
+ />
+ <Screen
+ component="TotalShrinkDrilldown"
+ name="metrics.shrinkDrilldown"
+ options={
+ Object {
+ "title": "Shrink",
+ }
+ }
+ />
+ <Screen
+ component="SafetyItemizedScreen"
+ name="metrics.safetyDrilldown"
+ />
+ <Screen
+ component="SkuVsBookDrilldown"
+ name="metrics.shrinkSkuVsBookDrilldown"
+ options={
+ Object {
+ "title": "SKU vs Book",
+ }
+ }
+ />
+ <Screen
+ component="InvVsSalesDrilldown"
+ name="metrics.shrinkInvVsSalesDrilldown"
+ options={
+ Object {
+ "title": "Inventory vs Sales",
+ }
+ }
+ />
+ <Screen
+ component="ViewMoreMetrics"
+ name="metrics.viewMoreMetrics"
+ />
+ <Screen
+ component="WoshAssociatesScreen"
+ name="metrics.woshDrilldown"
+ />
+ <Screen
+ name="metrics.ftprDepartmentScreen"
+ />
+</Navigator>
`;
exports[`InboxHeaderRight matches snapshot when disabled 1`] = `null`;
--- src/navigation/AssociateHallwayNav/Tabs/HomeStackNav.tsx
@@ -32,6 +32,7 @@ import {
} from '@walmart/allspark-home-mini-app';
import {ScheduleMiniApp} from '@walmart/schedule-mini-app';
import {useBadgesCount, InboxScreen} from '@walmart/inbox-mini-app';
+import {TimeClockTabs} from '@walmart/time-clock-mini-app';
import {
AttendanceModalScreen,
NewTorScreen,
--- src/navigation/AssociateHallwayNav/Tabs/MyTeamStackNav.tsx
@@ -6,6 +6,7 @@ import {
Properties,
PushToTalkMiniApp,
} from '@walmart/push-to-talk-mini-app';
+import {TimeClockScreen} from '@walmart/time-clock-mini-app';
import {
AttendanceModalScreen,
NewTorScreen,
| fixed failing tests | fixed failing tests
|
7fa459a6b0a05658db9267ffd1bcf199eee97390 | --- package-lock.json
@@ -3159,9 +3159,9 @@
}
},
"@walmart/push-to-talk-mini-app": {
- "version": "0.3.29",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.3.29.tgz",
- "integrity": "sha512-M5vyhjfqYggofHfXdPnrvZecJR8tKQvf53+XAFKhZ9sqU0oBll5D3RzVC6S0cW737Svdk20MedFWvi3AbrSXbQ=="
+ "version": "0.3.29-rc.2",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.3.29-rc.2.tgz",
+ "integrity": "sha512-cVHyvWYOsEDjXNjuMA+4tecTMNsGAahzzaLmYgGXN6cx//9J6fDqy7b4UC1BOJRqo3cVZmVqRbUAUiipN6+gkQ=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
--- package.json
@@ -70,7 +70,7 @@
"@walmart/impersonation-mini-app": "1.0.14",
"@walmart/inbox-mini-app": "0.0.91",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/push-to-talk-mini-app": "0.3.29",
+ "@walmart/push-to-talk-mini-app": "0.3.29-rc.2",
"@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 for a small hotfix (#456) | PTT Version bump for a small hotfix (#456)
* PTT Version bump
* PTT version bump
* PTT versio bump |
f5d31f78f5c3b97d52dbd0cb187fe11d622e5763 | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 29
+ versionCode 30
versionName "1.0.1"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>29</string>
+ <string>30</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>invmgmt</string>
--- ios/AllSparkTests/Info.plist
@@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>29</string>
+ <string>30</string>
</dict>
</plist>
| Incrementing build number | Incrementing build number
|
a1d8c0085a9aa21f23bbe72877c5e956246ca72b | --- package.json
@@ -137,7 +137,7 @@
"@walmart/pay-stub-miniapp": "0.24.15",
"@walmart/payrollsolution_miniapp": "0.153.6",
"@walmart/persona-hub": "0.3.3",
- "@walmart/price-changes-mini-app": "1.15.0",
+ "@walmart/price-changes-mini-app": "1.15.1",
"@walmart/profile-feature-app": "2.8.1-UPV2MyWalmart.7",
"@walmart/react-native-barcode-builder": "^1.0.1",
"@walmart/react-native-cookies": "1.0.1",
--- yarn.lock
@@ -8354,7 +8354,7 @@ __metadata:
"@walmart/pay-stub-miniapp": "npm:0.24.15"
"@walmart/payrollsolution_miniapp": "npm:0.153.6"
"@walmart/persona-hub": "npm:0.3.3"
- "@walmart/price-changes-mini-app": "npm:1.15.0"
+ "@walmart/price-changes-mini-app": "npm:1.15.1"
"@walmart/profile-feature-app": "npm:2.8.1-UPV2MyWalmart.7"
"@walmart/react-native-barcode-builder": "npm:^1.0.1"
"@walmart/react-native-cookies": "npm:1.0.1"
@@ -8783,9 +8783,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/price-changes-mini-app@npm:1.15.0":
- version: 1.15.0
- resolution: "@walmart/price-changes-mini-app@npm:1.15.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fprice-changes-mini-app%2F-%2F%40walmart%2Fprice-changes-mini-app-1.15.0.tgz"
+"@walmart/price-changes-mini-app@npm:1.15.1":
+ version: 1.15.1
+ resolution: "@walmart/price-changes-mini-app@npm:1.15.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fprice-changes-mini-app%2F-%2F%40walmart%2Fprice-changes-mini-app-1.15.1.tgz"
peerDependencies:
"@react-navigation/native": ">=6.0.0"
"@react-navigation/stack": ">=6.2.0"
@@ -8804,7 +8804,7 @@ __metadata:
redux-saga: ^1.1.3
reduxsauce: ^1.2.0
uuid: ^3.3.2
- checksum: 10c0/27f8a6083145b9a355392e46ad22dc580e245e6c7fab26d985d1cd818f14293993408f9a041b61e414f1f2f8e9552abef23ad08409c64d7017038daa75903134
+ checksum: 10c0/4960c3f415d1d56c23660567cebff18eae9019ad37a4abe3beef7203066ef1e54fc51f5385f7acf58ea58584fa7a339553dc2907e225a6546ecd69feec5fbe88
languageName: node
linkType: hard
| feat(pc): Bump Price Changes version to 1.15.1 (#4812) | feat(pc): Bump Price Changes version to 1.15.1 (#4812)
Co-authored-by: Aroushi Sharma - a0s11tw <Aroushi.Sharma@walmart.com> |
50213484aaa4fc49794f77d6e9b5e0d26759c05a | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 112
+ versionCode 113
versionName "1.0.9"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>112</string>
+ <string>113</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
| Incrementing build number | Incrementing build number
|
03854ecf5761761c93cb4e44dd8777438c1d2eb9 | --- packages/allspark-foundation/src/Components/ComponentContainers.tsx
@@ -19,6 +19,7 @@ type ComponentLayoutConfig<P extends AnyObject> = Omit<
export type ComponentContainerConfig = {
private: boolean;
+ limit?: number;
};
/**
@@ -44,12 +45,17 @@ export type ComponentContainerConfig = {
* <MyContainer.Component id="component2" greeting='Hello' />
*/
export class ComponentContainer<Props extends AnyObject> {
+ private _config = {} as ComponentContainerConfig;
private _components = new Map<string, ComponentType<Props>>();
private _eventManager = new EventManager<{
change: string;
}>(['change']);
constructor(id: string, config?: ComponentContainerConfig) {
+ this._config = config || {
+ private: false,
+ };
+
// If private, do not add to AllsparkComponentContainers
if (!config?.private) {
AllsparkComponentContainers.addContainer(id, this);
@@ -83,8 +89,10 @@ export class ComponentContainer<Props extends AnyObject> {
* @param Component - The component to add.
*/
public add = (id: string, Component: ComponentType<Props>) => {
- this._components.set(id, Component);
- this._eventManager.runEvent('change', id);
+ if (this._components.size !== this._config.limit) {
+ this._components.set(id, Component);
+ this._eventManager.runEvent('change', id);
+ }
};
/**
| feat: add limit to component container configuration | feat: add limit to component container configuration
|
2ff296e0f85342b24cf67da60591c318807edd3e | --- core/__tests__/navigation/USHallway/hallwaysTest.tsx
@@ -1,38 +0,0 @@
-import React from 'react';
-import {LazyPreHireHallway, LazyAssociateHallway} from '../../../src/navigation/USHallway/hallways';
-
-jest.mock('../../../src/navigation/USHallway/PreHireHallwayNav', () => {
- throw new Error('Failed to load PreHireHallwayNav');
-});
-
-jest.mock('../../../src/navigation/USHallway/AssociateHallwayNav', () => {
- throw new Error('Failed to load AssociateHallwayNav');
-});
-
-describe('Hallways', () => {
- beforeEach(() => {
- jest.clearAllMocks();
- });
-
- it('exports lazy-loaded components', () => {
- expect(LazyPreHireHallway).toBeDefined();
- expect(LazyPreHireHallway.$$typeof).toBe(Symbol.for('react.lazy'));
-
- expect(LazyAssociateHallway).toBeDefined();
- expect(LazyAssociateHallway.$$typeof).toBe(Symbol.for('react.lazy'));
- });
-
- describe('PreHireHallway', () => {
- it('handles loading error', async () => {
- const lazyComponent = LazyPreHireHallway as any;
- await expect(lazyComponent._payload._result()).rejects.toThrow('Failed to load PreHireHallwayNav');
- });
- });
-
- describe('AssociateHallway', () => {
- it('handles loading error', async () => {
- const lazyComponent = LazyAssociateHallway as any;
- await expect(lazyComponent._payload._result()).rejects.toThrow('Failed to load AssociateHallwayNav');
- });
- });
-});
\ No newline at end of file
| removed deleted file | removed deleted file
|
7b65c34bef8c6dacd7e27b85115b204990b194ba | --- __tests__/scripts/package-deprecation-check/mini-app-check/analyzerTest.ts
@@ -311,7 +311,7 @@ describe('package-deprecation/mini-app-check/analyzer', () => {
expect(postPRComment).toHaveBeenCalledTimes(1);
const callArg = postPRComment.mock.calls[0][0];
expect(callArg.searchText).toBe('<!-- mini-app-images-check -->');
- expect(callArg.title).toBe('🏞️ Images Check');
+ expect(callArg.title).toBe('🌅 Images Check');
expect(typeof callArg.comment).toBe('string');
});
});
--- scripts/mini-app-scan/package-deprecation/helper.ts
@@ -196,7 +196,7 @@ export function getImagesPRComment(summary: {totalImagesFoundByLibrary: Record<s
const icon = '⚠️';
let prComment = `${icon} **images found through bundle analysis:**\n\n`;
- prComment += 'This check was performed by crawling through the bundles of changed packages.\n\n';
+ prComment += 'This check was performed by crawling through the bundles of changed packages. To externalize these images, see allspark-images for more information: https://gecgithub01.walmart.com/allspark/allspark-images \n\n';
// eslint-disable-next-line
prComment += `**Summary** \n\n`;
--- scripts/mini-app-scan/package-deprecation/mini-app-check/analyzer.ts
@@ -373,7 +373,7 @@ export async function handleImageAnalysisResults(imagesFindings: ImagesFinding[]
sourceBranch: prContext.sourceBranch,
targetBranch: prContext.targetBranch
},
- title: '🏞️ Images Check'
+ title: '🌅 Images Check'
});
}
}
| chore: ALLSPARK-6826 update PR comment (#4683) | chore: ALLSPARK-6826 update PR comment (#4683)
* chore: ALLSPARK-6826 update PR comment
* chore: update PR comment
* chore: update comment |
8dd6bede16b912d845c7346a578b1ee45baa3ecb | --- packages/allspark-foundation/__tests__/utils/DynamicServiceCreator.test.tsx
@@ -0,0 +1,98 @@
+import { DynamicServiceCreator } from '../../src/utils/DynamicServiceCreator';
+
+// filepath: packages/allspark-foundation/src/utils/DynamicServiceCreator.test.tsx
+
+describe('DynamicServiceCreator', () => {
+ let mockImplementation: any;
+ jest.useFakeTimers();
+ beforeEach(() => {
+ mockImplementation = {
+ methodA: jest.fn(() => 'resultA'),
+ methodB: jest.fn(() => 'resultB'),
+ createFeatureInstance: jest.fn((id) => ({
+ id,
+ featureMethod: jest.fn(),
+ })),
+ getFeatureInstance: jest.fn((id) => ({ id, featureMethod: jest.fn() })),
+ getContainerInstance: jest.fn(() => ({ containerMethod: jest.fn() })),
+ };
+ });
+
+ test('should initialize correctly and return service and creator', () => {
+ const { service, creator } = DynamicServiceCreator('TestService');
+ expect(service).toBeDefined();
+ expect(creator).toBeDefined();
+ });
+
+ test('creator should set implementation correctly', async () => {
+ const { service, creator } = DynamicServiceCreator('TestService');
+ creator(mockImplementation);
+
+ expect(service.methodA()).toBe('resultA');
+ expect(mockImplementation.methodA).toHaveBeenCalled();
+ });
+
+ test('creator should override implementation when override is true', () => {
+ const { service, creator } = DynamicServiceCreator('TestService');
+ const newImplementation = { methodA: jest.fn(() => 'newResultA') };
+
+ creator(mockImplementation);
+ creator(newImplementation, true);
+
+ expect(service.methodA()).toBe('newResultA');
+ expect(newImplementation.methodA).toHaveBeenCalled();
+ });
+
+ test('proxiedService should wait for implementation to be set', async () => {
+ const { service, creator } = DynamicServiceCreator('TestService');
+
+ const promise = service.methodA();
+ creator(mockImplementation);
+
+ await expect(promise).resolves.toBe('resultA');
+ expect(mockImplementation.methodA).toHaveBeenCalled();
+ });
+
+ test('createFeatureInstance should return a proxy that resolves correctly', async () => {
+ const { service, creator } = DynamicServiceCreator('TestService');
+ creator(mockImplementation);
+
+ const featureProxy = service.createFeatureInstance('feature1');
+ const featureResult = await featureProxy.featureMethod();
+
+ expect(mockImplementation.createFeatureInstance).toHaveBeenCalledWith('feature1');
+ expect(featureResult).toBeUndefined(); // Mocked featureMethod does not return a value
+ });
+
+ test('getFeatureInstance should return a proxy that resolves correctly', async () => {
+ const { service, creator } = DynamicServiceCreator('TestService');
+ creator(mockImplementation);
+
+ const featureProxy = service.getFeatureInstance('feature1');
+ const featureResult = await featureProxy.featureMethod();
+
+ expect(mockImplementation.getFeatureInstance).toHaveBeenCalledWith('feature1');
+ expect(featureResult).toBeUndefined(); // Mocked featureMethod does not return a value
+ });
+
+ test('getContainerInstance should return a proxy that resolves correctly', async () => {
+ const { service, creator } = DynamicServiceCreator('TestService');
+ creator(mockImplementation);
+
+ const containerProxy = service.getContainerInstance();
+ const containerResult = await containerProxy.containerMethod();
+
+ expect(mockImplementation.getContainerInstance).toHaveBeenCalled();
+ expect(containerResult).toBeUndefined(); // Mocked containerMethod does not return a value
+ });
+
+ test('waitForConnection should resolve when implementation is connected', async () => {
+ const { service, creator } = DynamicServiceCreator('TestService');
+ const waitPromise = service.methodA();
+
+ creator(mockImplementation);
+
+ await expect(waitPromise).resolves.toBe('resultA');
+ expect(mockImplementation.methodA).toHaveBeenCalled();
+ });
+});
| test: DynamicServiceCreator | test: DynamicServiceCreator
|
bda4954e6b9a6c1f4aca0f66a171d757ec281407 | --- package-lock.json
@@ -80,7 +80,7 @@
"@walmart/schedule-mini-app": "0.37.0",
"@walmart/settings-mini-app": "1.18.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
- "@walmart/taskit-mini-app": "2.40.7",
+ "@walmart/taskit-mini-app": "2.40.8",
"@walmart/time-clock-mini-app": "2.98.0",
"@walmart/topstock-mini-app": "1.0.6",
"@walmart/ui-components": "1.15.0",
@@ -5994,9 +5994,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "2.40.7",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.40.7.tgz",
- "integrity": "sha512-oeYaLYOBl7vLMsbTvT/brk3/ktwNRPESL8lDZXQTfAr7OqnyyhO+JrB3qpgjfX5CquNdjw9i27MgyjeFR7P+UQ==",
+ "version": "2.40.8",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.40.8.tgz",
+ "integrity": "sha512-NEdZiakzJiNiXn/lzT+EWt+yn8BMJp6lXQJrDf8tvm0PUtVNWcyHpxWeq/KAFWsocZDmP3Xe895xk9qM1XQFPA==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
@@ -25384,9 +25384,9 @@
"version": "1.5.16"
},
"@walmart/taskit-mini-app": {
- "version": "2.40.7",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.40.7.tgz",
- "integrity": "sha512-oeYaLYOBl7vLMsbTvT/brk3/ktwNRPESL8lDZXQTfAr7OqnyyhO+JrB3qpgjfX5CquNdjw9i27MgyjeFR7P+UQ=="
+ "version": "2.40.8",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.40.8.tgz",
+ "integrity": "sha512-NEdZiakzJiNiXn/lzT+EWt+yn8BMJp6lXQJrDf8tvm0PUtVNWcyHpxWeq/KAFWsocZDmP3Xe895xk9qM1XQFPA=="
},
"@walmart/tcnumber": {
"version": "2.3.3",
--- package.json
@@ -122,7 +122,7 @@
"@walmart/schedule-mini-app": "0.37.0",
"@walmart/settings-mini-app": "1.18.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
- "@walmart/taskit-mini-app": "2.40.7",
+ "@walmart/taskit-mini-app": "2.40.8",
"@walmart/time-clock-mini-app": "2.98.0",
"@walmart/topstock-mini-app": "1.0.6",
"@walmart/ui-components": "1.15.0",
| chore: bump taskit to 2.40.8 | chore: bump taskit to 2.40.8
|
918267864f966dc94de33fbe0fc1f3d517a033df | --- package.json
@@ -104,7 +104,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.7",
+ "@walmart/metrics-mini-app": "0.15.8",
"@walmart/mod-flex-mini-app": "1.10.4",
"@walmart/moment-walmart": "1.0.4",
"@walmart/onewalmart-miniapp": "1.0.16",
| metrics version bump | metrics version bump
|
7e4c371a9906d2682a0f9b52b5babe244fff090c | --- package.json
@@ -19,7 +19,7 @@
"bundle-js": "expo export --clear",
"check-expo-libs": "expo install --check",
"certify-booted-sim": "scripts/certifyBootedSim.sh",
- "coverage": "jest --coverage",
+ "coverage": "true || jest --coverage",
"env:beta": "EXPO_PUBLIC_APP_VARIANT=beta expo prebuild --clean --no-install",
"env:dev": "EXPO_PUBLIC_APP_VARIANT=dev expo prebuild --clean --no-install",
"env:prod": "EXPO_PUBLIC_APP_VARIANT=prod expo prebuild --clean --no-install",
@@ -34,7 +34,7 @@
"prebuild": "ts-node scripts/runWithVariablePrompt.ts 'expo prebuild --clean' --skipContext",
"run:ios": "ts-node scripts/runWithVariablePrompt.ts 'expo run:ios'",
"run:android": "ts-node scripts/runWithVariablePrompt.ts 'expo run:android'",
- "test": "jest --no-watchman",
+ "test": "true || jest --no-watchman",
"update:snapshots": "jest --no-watchman -u",
"verifyBranchName": "bash ./scripts/verifyBranchName.sh",
"uploadBlobToAzure": "node ./scripts/dependencies-map/src/upload-to-azure/upload-to-azure.js",
@@ -437,4 +437,4 @@
"jiraPrefix": "JIRA_PROJECT"
}
}
-}
+}
\ No newline at end of file
| chore(tests): skipping tests for builds | chore(tests): skipping tests for builds
|
44f66d96c6a27cf47396b2d11d4675f47fe13e52 | --- jest.config.js
@@ -9,10 +9,10 @@ module.exports = {
],
coverageThreshold: {
global: {
- statements: 14.08,
- branches: 3.53,
+ statements: 14.07,
+ branches: 3.51,
functions: 6.02,
- lines: 14.29,
+ lines: 14.28,
},
},
transformIgnorePatterns: [
--- jest.config.js
@@ -9,10 +9,10 @@ module.exports = {
],
coverageThreshold: {
global: {
- statements: 14.08,
- branches: 3.53,
+ statements: 14.07,
+ branches: 3.51,
functions: 6.02,
- lines: 14.29,
+ lines: 14.28,
},
},
transformIgnorePatterns: [
| update meganav when user is not in roster, user is impersonated on beta and message button is not enabled | update meganav when user is not in roster, user is impersonated on beta and message button is not enabled
|
2af6427501c00a887f388a0e5dfd730fc66681dd | --- package-lock.json
@@ -5430,20 +5430,19 @@
}
},
"@walmart/pay-stub-miniapp": {
- "version": "0.8.1",
- "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.8.1.tgz",
- "integrity": "sha512-iY+tHUbEFO4YwJ1X1xZeQHC8TBaMzOo0K2EAIkv89aFJije3N0UZTmcnKDhYry0oL8ggY6gMogaGiBQ5UwIyfw==",
+ "version": "0.8.2",
+ "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.8.2.tgz",
+ "integrity": "sha512-fStcd9NfGCXBHMykoJqKqdpmDKFdcfZfJmOi9iTiL19StSGMyBy/k0JXGfH4i8VGuEqEW2hAnZVqkG9x5uW4Qg==",
"requires": {
"@walmart/gtp-shared-components": "^1.8.8",
"crypto-js": "^3.3.0"
}
},
"@walmart/payrollsolution_miniapp": {
- "version": "0.126.9",
- "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.126.9.tgz",
- "integrity": "sha512-0CLPNXn3hbZO5h8rm2yRSgwdll5EgbgL8EwphGle0Thpqi4X5cu1TzVZDQIX6zDxc2EgcfLmaAAFEBYbcCIK7A==",
+ "version": "0.127.0",
+ "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.127.0.tgz",
+ "integrity": "sha512-pIudG9N8D749lCBOvNYCiwPPxwZfD9roIr/fAZ8Bi6L0zOUr8IaCscHvANlgWeGxdVr8g8QTfF9ByoIC7tnpyg==",
"requires": {
- "@walmart/gtp-shared-components": "^1.8.8",
"crypto-js": "^3.3.0"
}
},
--- package.json
@@ -102,8 +102,8 @@
"@walmart/metrics-mini-app": "0.9.17",
"@walmart/mod-flex-mini-app": "1.2.2",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/pay-stub-miniapp": "0.8.1",
- "@walmart/payrollsolution_miniapp": "0.126.9",
+ "@walmart/pay-stub-miniapp": "0.8.2",
+ "@walmart/payrollsolution_miniapp": "0.127.0",
"@walmart/price-changes-mini-app": "1.5.3",
"@walmart/profile-feature-app": "0.0.63",
"@walmart/push-to-talk-mini-app": "1.8.9",
| bump version | bump version
|
9dff083afe8f98beaf052e37b526c211a6850126 | --- core/__tests__/navigation/USHallway/AssociateHallwayNav/__snapshots__/AssociateHallwayNavTest.tsx.snap
@@ -2,7 +2,6 @@
exports[`DrawerNav matches default snapshot for initial render 1`] = `
<RenderGuard
- onUnmount={[Function]}
preRender={[Function]}
>
<ActivityMonitor
@@ -57,7 +56,6 @@ exports[`DrawerNav matches default snapshot for initial render 1`] = `
exports[`DrawerNav matches snapshot after initial render 1`] = `
<RenderGuard
- onUnmount={[Function]}
preRender={[Function]}
>
<ActivityMonitor
--- core/__tests__/navigation/__snapshots__/RootStackTest.tsx.snap
@@ -2,7 +2,6 @@
exports[`RootNav matches snapshot when app accessible 1`] = `
<RenderGuard
- onUnmount={[Function]}
preRender={[Function]}
>
<Navigator
@@ -200,7 +199,6 @@ exports[`RootNav matches snapshot when app accessible 1`] = `
exports[`RootNav matches snapshot when app not accessible 1`] = `
<RenderGuard
- onUnmount={[Function]}
preRender={[Function]}
>
<Navigator
| test: updatedsnapshots | test: updatedsnapshots
|
1b11c3e43181b6f8c668e824635fea83c9fa6b8d | --- package.json
@@ -113,7 +113,7 @@
"@walmart/ims-print-services-ui": "2.12.0",
"@walmart/inbox-mini-app": "0.95.3",
"@walmart/iteminfo-mini-app": "7.15.11",
- "@walmart/learning-mini-app": "20.0.32",
+ "@walmart/learning-mini-app": "20.0.33",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-at-walmart-athena-queries": "6.1.4",
"@walmart/me-at-walmart-common": "6.1.4",
--- yarn.lock
@@ -6320,9 +6320,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/learning-mini-app@npm:20.0.32":
- version: 20.0.32
- resolution: "@walmart/learning-mini-app@npm:20.0.32"
+"@walmart/learning-mini-app@npm:20.0.33":
+ version: 20.0.33
+ resolution: "@walmart/learning-mini-app@npm:20.0.33"
peerDependencies:
"@atmt/feedback-component-native": ^8.0.0
"@react-native-firebase/analytics": 17.4.2
@@ -6396,7 +6396,7 @@ __metadata:
reduxsauce: ^1.2.0
reselect: ^4.0.0
wifi-store-locator: ^1.0.0-alpha2
- checksum: 10c0/7d434edf6f663091abb04bf0b8e2eb8b65cba7cd07b0f4d4bb8e87e6c5b3ac758a49520009ffba6d8515d4d1865383d5c40c4fce2714656991ad47950c9ba535
+ checksum: 10c0/875a0f64e7b2b23da5b0de9ddc6bee8f722d898e7708ba752820941010e4f18b63550299814dbe134d16b69dc3434502e5bbe6e4ecf81a1f918f4e238c6b3c19
languageName: node
linkType: hard
@@ -7910,7 +7910,7 @@ __metadata:
"@walmart/ims-print-services-ui": "npm:2.12.0"
"@walmart/inbox-mini-app": "npm:0.95.3"
"@walmart/iteminfo-mini-app": "npm:7.15.11"
- "@walmart/learning-mini-app": "npm:20.0.32"
+ "@walmart/learning-mini-app": "npm:20.0.33"
"@walmart/manager-approvals-miniapp": "npm:0.2.4"
"@walmart/me-at-walmart-athena-queries": "npm:6.1.4"
"@walmart/me-at-walmart-common": "npm:6.1.4"
| feat: :sparkles: Bump learning mini app version to 20.0.33 | feat: :sparkles: Bump learning mini app version to 20.0.33
|
498e6739740f417947f764aec91c9e8df074d8b8 | --- __tests__/__mocks__/@walmart/allspark-foundation/Navigation.js
@@ -5,5 +5,6 @@ module.exports = {
getCurrentRouteName: jest.fn(),
dispatch: jest.fn(),
reset: jest.fn(),
+ setLinkingOptions: jest.fn(),
},
};
--- __tests__/navigation/DeeplinkConfigTest.ts
@@ -1,4 +1,7 @@
-import {LINK_CONFIG} from '../../src/navigation/DeeplinkConfig';
+import {LINK_CONFIG, deeplinkSagas} from '../../src/navigation/DeeplinkConfig';
+import {take} from 'redux-saga/effects';
+import {UserActionTypes} from '@walmart/allspark-foundation/User';
+import {AllsparkNavigationClient} from '@walmart/allspark-foundation/Navigation';
describe('link config test', () => {
it('checks prefix', () => {
@@ -25,4 +28,12 @@ describe('link config test', () => {
},
});
});
+ it('deepLinkSagas', () => {
+ const iterator = deeplinkSagas();
+ expect(iterator.next().value).toEqual(take(UserActionTypes.FETCH_SUCCESS));
+ expect(iterator.next().done).toBe(true);
+ expect(AllsparkNavigationClient.setLinkingOptions).toHaveBeenCalledWith(
+ LINK_CONFIG,
+ );
+ });
});
--- ios/Podfile.lock
@@ -2215,6 +2215,6 @@ SPEC CHECKSUMS:
Yoga: b76f1acfda8212aa16b7e26bcce3983230c82603
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
-PODFILE CHECKSUM: 7b7b281b751e96e34f3bafe613be21dba2e71ef3
+PODFILE CHECKSUM: 3936091d7c58d32653168dc55d4937c86af517a7
-COCOAPODS: 1.11.3
+COCOAPODS: 1.12.0
--- src/navigation/AssociateHallwayNav/types.ts
@@ -1,7 +1,3 @@
-import {TorInboxNavPropsData} from '@walmart/attendance-mini-app/dist/containers/TorInboxScreen/types';
-import {MiniAppRootProps} from '@walmart/ask-sam-mini-app/dist/types';
-import {FWB_NAV_SCREEN_NAME} from '@walmart/financial-wellbeing-feature-app';
-
import {
FeatureRestrictionsScreenProps,
WhatsNewModalProps,
@@ -22,7 +18,6 @@ import {
DrawerScreenProps,
} from '@react-navigation/drawer';
import {CelebrationListScreenParams} from '../../home/containers/CelebrationListScreen/types';
-import {AVP_NAV_SCREEN_NAME} from '@walmart/avp-feature-app';
// Top level navigator for associate hallway, a drawer navigator.
// Typing of its screens and their navigation params
@@ -43,9 +38,9 @@ export type DrawerStackNavigationProp<K extends keyof DrawerStackMap> =
export type MainStackMap = {
AlarmDetails: undefined;
amp: undefined;
- askSam: MiniAppRootProps;
+ askSam: undefined;
Attendance: undefined;
- [AVP_NAV_SCREEN_NAME]: undefined;
+ AVP_NAV_SCREEN_NAME: undefined;
ConnectedCalling: undefined;
'Core.ChangeStoreModal': undefined;
'Core.FeatureRestrictions': FeatureRestrictionsScreenProps;
@@ -58,7 +53,7 @@ export type MainStackMap = {
FacilitiesManagementStack: undefined;
Feedback: undefined;
FeedbackDialogScreen: undefined;
- [FWB_NAV_SCREEN_NAME]: undefined;
+ FWB_NAV_SCREEN_NAME: undefined;
Impersonation: undefined;
inbox: undefined;
itemInfo: undefined;
@@ -87,6 +82,10 @@ export type MainStackMap = {
'PTT.MessagesList.ButtonSheet.Screen': undefined;
ReceiptCheck: undefined;
Returns: undefined;
+ 'Returns.Landing': {
+ siteId: string;
+ printerAddress: string;
+ };
scheduleScreen: undefined;
'Settings.3rdPartyNotices': undefined;
'Settings.DataSaver': undefined;
@@ -179,7 +178,7 @@ export type HomeStackMap = {
'metrics.woshDrilldown': undefined;
'metrics.wagesMarketDrilldown': undefined;
scheduleScreen: undefined;
- torInbox: TorInboxNavPropsData;
+ torInbox: undefined;
};
// The type of screen props for a home stack screen, passed to the screen component as props
--- src/navigation/DeeplinkConfig.ts
@@ -2,30 +2,21 @@ import {LinkingOptions} from '@react-navigation/native';
import {take} from 'redux-saga/effects';
import {UserActionTypes} from '@walmart/allspark-foundation/User';
import {AllsparkNavigationClient} from '@walmart/allspark-foundation/Navigation';
+import {RootStackMap} from './types.ts';
// https://reactnavigation.org/docs/configuring-links/
-export type AppRootParamList = {
- main: undefined;
- mainStack: undefined;
- Returns: undefined;
- 'Returns.Landing': {
- siteId: string;
- printerAddress: string;
- };
-};
-
const returnsConfig = {
'Returns.Landing': 'returns/:siteId/:printerAddress',
};
const prefixes = ['meatwmt://'];
-export const LINK_CONFIG: LinkingOptions<AppRootParamList> = {
+export const LINK_CONFIG: LinkingOptions<RootStackMap> = {
prefixes,
config: {
screens: {
- main: {
+ 'Core.Main': {
screens: {
mainStack: {
screens: {
--- src/navigation/types.ts
@@ -1,10 +1,11 @@
import {Flow} from '@walmart/ui-components/components/LockScreen/types';
-import {NavigationProp} from '@react-navigation/native';
+import {NavigationProp, NavigatorScreenParams} from '@react-navigation/native';
import {StackScreenProps} from '@react-navigation/stack';
+import {DrawerStackMap} from './AssociateHallwayNav/types.ts';
export type RootStackMap = {
'Core.Login': undefined;
- 'Core.Main': undefined;
+ 'Core.Main': NavigatorScreenParams<DrawerStackMap>;
WelcomeMeMiniApp: undefined;
'Core.PinAccessScreen': {
flow?: Flow;
| chore: update deeplink screen name and unit test | chore: update deeplink screen name and unit test
|
4acb8481792e8b440245a050001d420782ee342e | --- package-lock.json
@@ -12819,9 +12819,9 @@
"integrity": "sha512-zTOSJ7BMbGHaqAF8+LDQI/s5winKcxsHSe4hv49gUbfDz19v71apgNchz31W1D2UQP+kNgrglrmCdmr5RdI8mw=="
},
"react-native-wm-voice-text": {
- "version": "0.5.0",
- "resolved": "https://npme.walmart.com/react-native-wm-voice-text/-/react-native-wm-voice-text-0.5.0.tgz",
- "integrity": "sha512-PKaL0MFy+VjTT4wcx/v90BlvlRXgdWGUU8Sz/760A2Esj175A8w/vFQCtZhUer5FVxmpYVKk7nHzoewii4ygRw=="
+ "version": "0.3.0",
+ "resolved": "https://npme.walmart.com/react-native-wm-voice-text/-/react-native-wm-voice-text-0.3.0.tgz",
+ "integrity": "sha512-xp2aq+FDc9tgv1B05PCevhFhdJKXgzXcVVCyKfeYmKqkxlt8VlcxfLllhdy/ZUjHxMGQWc3oLqEe3pU2sHE0MQ=="
},
"react-redux": {
"version": "7.2.2",
--- package.json
@@ -134,7 +134,7 @@
"react-native-wm-network": "^0.1.0",
"react-native-wm-notification": "^1.0.0",
"react-native-wm-telemetry": "^0.3.0",
- "react-native-wm-voice-text": "^0.5.0",
+ "react-native-wm-voice-text": "0.3.0",
"react-redux": "^7.2.1",
"redux": "^4.0.5",
"redux-devtools-extension": "^2.13.8",
| downgrade wm-voice text to 0.3.0 | downgrade wm-voice text to 0.3.0
|
ae7952748a688abc40023db42a262c8ce8eb2d71 | --- __tests__/__mocks__/@walmart/texting-mini-app.js
@@ -1,13 +1,9 @@
-jest.mock('@walmart/texting-mini-app', () => ({
+module.exports = {
TextingMiniApp: 'TextingMiniApp',
+ initialize: jest.fn(),
+ PushToTalkProvider: 'PushToTalkProvider',
MyTeamHooks: {
useChannelUnreadCount: jest.fn(),
useMessagesUnreadCount: jest.fn(),
},
-}));
-
-module.exports = {
- TextingMiniApp: 'TextingMiniApp',
- initialize: jest.fn(),
- PushToTalkProvider: 'PushToTalkProvider',
};
| merge changes | merge changes
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.