commit_hash stringlengths 40 40 | input stringlengths 13 7.99k | output stringlengths 5 155 | full_message stringlengths 6 8.96k |
|---|---|---|---|
d9f36b6d7cbfbfd50f6bb2136e2e76aa34a44f9f | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Screens/UpdateTeamsModal/UpdateTeamsModal.tsx
@@ -22,6 +22,7 @@ import {
ManagerExperienceCreators,
ManagerExperienceSelectors,
} from '../../../Store/Redux';
+import isEqual from 'lodash/isEqual';
export interface ModalProps {
modal: {
@@ -81,9 +82,14 @@ export const UpdateTeamsModal = ({ modal: { closeModal } }: ModalProps) => {
}, [dispatch, selectedTeams, selectedShifts]);
const isDisabled = useMemo(() => {
+ const isItemsDiff = isEqual(prevSelectedTeamIds, selectedTeams);
+ const isShiftsDiff = isEqual(prevSelectedShifts, selectedShifts);
+
return (
prevSelectedTeamIds.length !== selectedTeams.length ||
- prevSelectedShifts.length !== selectedShifts.length
+ prevSelectedShifts.length !== selectedShifts.length ||
+ !isItemsDiff ||
+ !isShiftsDiff
);
}, [selectedTeams, selectedShifts]);
@@ -128,7 +134,7 @@ export const UpdateTeamsModal = ({ modal: { closeModal } }: ModalProps) => {
secondaryButtonLabel={t('updateTeamsModal.button.cancel')}
onPrimaryButtonPress={handleApplyButton}
onSecondaryButtonPress={closeModal}
- isPrimaryButtonDisabled={isDisabled}
+ isPrimaryButtonDisabled={!isDisabled}
/>
</>
);
| feat(ui): updated logic for disabled button | feat(ui): updated logic for disabled button
|
fd4fef3983b604fd7aed7acf195bad9c291aae1a | --- package.json
@@ -96,7 +96,7 @@
"@walmart/calling-mini-app": "0.8.11",
"@walmart/candidate-authentication-lib": "0.0.8",
"@walmart/checkout-mini-app": "4.17.0",
- "@walmart/compass-sdk-rn": "6.4.4",
+ "@walmart/compass-sdk-rn": "6.4.5",
"@walmart/config-components": "4.11.3",
"@walmart/core-services": "~6.5.2",
"@walmart/core-services-allspark": "workspace:^",
@@ -430,7 +430,7 @@
"@react-navigation/elements": "^1.3.31",
"@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-utils": "6.8.0",
- "@walmart/compass-sdk-rn": "6.4.4",
+ "@walmart/compass-sdk-rn": "6.4.5",
"@walmart/core-services-allspark": "workspace:^",
"@walmart/core-widget-registry": "workspace:^",
"@walmart/me-at-walmart-common": "workspace:^",
--- yarn.lock
@@ -7425,13 +7425,13 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/compass-sdk-rn@npm:6.4.4":
- version: 6.4.4
- resolution: "@walmart/compass-sdk-rn@npm:6.4.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcompass-sdk-rn%2F-%2F%40walmart%2Fcompass-sdk-rn-6.4.4.tgz"
+"@walmart/compass-sdk-rn@npm:6.4.5":
+ version: 6.4.5
+ resolution: "@walmart/compass-sdk-rn@npm:6.4.5::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcompass-sdk-rn%2F-%2F%40walmart%2Fcompass-sdk-rn-6.4.5.tgz"
peerDependencies:
react: "*"
react-native: "*"
- checksum: 10c0/e847b44d9686399a5761be6eed5de08880e69f9b2e44f4daad2cf1c560cdad76c970cad167965753cfb200467ae7dfc7f0497fc4d0b196df5757c93eb28554c1
+ checksum: 10c0/96c2eef21a56c1854b0bf2b4fcf6a5d4575db76d4ad4af047b467e96abaeb8492358d57fa2c73e2a7b09ae8350c509b15d14b5b1c1ea0160d36ba8370a469eaf
languageName: node
linkType: hard
@@ -8147,7 +8147,7 @@ __metadata:
"@walmart/calling-mini-app": "npm:0.8.11"
"@walmart/candidate-authentication-lib": "npm:0.0.8"
"@walmart/checkout-mini-app": "npm:4.17.0"
- "@walmart/compass-sdk-rn": "npm:6.4.4"
+ "@walmart/compass-sdk-rn": "npm:6.4.5"
"@walmart/config-components": "npm:4.11.3"
"@walmart/core-services": "npm:~6.5.2"
"@walmart/core-services-allspark": "workspace:^"
| fix(compass): crash on android | fix(compass): crash on android
|
b47dd3f8be4663849982824f258ddc4928dfe16d | --- targets/US/package.json
@@ -110,7 +110,7 @@
"@walmart/ims-print-services-ui": "2.15.3",
"@walmart/inbox-mini-app": "0.96.6",
"@walmart/iteminfo-mini-app": "7.16.2",
- "@walmart/learning-mini-app": "20.0.37",
+ "@walmart/learning-mini-app": "20.0.38",
"@walmart/manager-approvals-miniapp": "0.3.0",
"@walmart/me-at-walmart-athena-queries": "6.26.1",
"@walmart/me-at-walmart-common": "workspace:^",
--- yarn.lock
@@ -6587,9 +6587,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/learning-mini-app@npm:20.0.37":
- version: 20.0.37
- resolution: "@walmart/learning-mini-app@npm:20.0.37"
+"@walmart/learning-mini-app@npm:20.0.38":
+ version: 20.0.38
+ resolution: "@walmart/learning-mini-app@npm:20.0.38"
peerDependencies:
"@atmt/feedback-component-native": ^8.0.0
"@react-native-firebase/analytics": 17.4.2
@@ -6615,15 +6615,15 @@ __metadata:
"@walmart/react-native-logger": 1.34.8
"@walmart/react-native-scanner-3.0": 0.4.2
"@walmart/react-native-shared-navigation": ^1.0.2
- "@walmart/react-native-sumo-sdk": ^2.6.0
+ "@walmart/react-native-sumo-sdk": ^2.7.2
"@walmart/redux-store": ~3.1.3
"@walmart/time-clock-mini-app": 2.175.2
"@walmart/ui-components": 1.15.11
"@walmart/wfm-ui": 0.2.25
base-64: ^1.0.0
- expo: 49.0.13
- expo-image: ~1.3.5
- expo-sharing: ~11.7.0
+ expo: ~50.0.21
+ expo-image: ~1.10.6
+ expo-sharing: ~11.10.0
graphql: ^16.1.0
i18next: ^21.6.3
javascript-time-ago: ^2.3.4
@@ -6663,7 +6663,7 @@ __metadata:
reduxsauce: ^1.2.0
reselect: ^4.0.0
wifi-store-locator: ^1.0.0-alpha2
- checksum: 10c0/14553dc2a5af8270d408064dd70955ceccfe9abaef590fcd90bc4627b241714d035922665b02d1ade1367ff2050cf39c7fe86d412d49462478fb2333d6eb18f5
+ checksum: 10c0/4c34554bda765ea6c49f2966b03b75f08057afe05ad7607fa9927efec73424c41b666f56ff1c7b707bd31e073861fbbb6f93a690d80d19be0e79b882f052e3a8
languageName: node
linkType: hard
@@ -7026,7 +7026,7 @@ __metadata:
"@walmart/ims-print-services-ui": "npm:2.15.3"
"@walmart/inbox-mini-app": "npm:0.96.6"
"@walmart/iteminfo-mini-app": "npm:7.16.2"
- "@walmart/learning-mini-app": "npm:20.0.37"
+ "@walmart/learning-mini-app": "npm:20.0.38"
"@walmart/manager-approvals-miniapp": "npm:0.3.0"
"@walmart/me-at-walmart-athena-queries": "npm:6.26.1"
"@walmart/me-at-walmart-common": "workspace:^"
| feat: :sparkles: Bump learning mini app version to 20.0.38 | feat: :sparkles: Bump learning mini app version to 20.0.38
|
62dd17278c8ac1be96f6ddaac691227ec92d3b28 | --- android/app/src/main/assets/fonts/icomoon.ttf
Binary files a/android/app/src/main/assets/fonts/icomoon.ttf and b/android/app/src/main/assets/fonts/icomoon.ttf differ
--- ios/icomoon.ttf
Binary files a/ios/icomoon.ttf and b/ios/icomoon.ttf differ
--- package-lock.json
@@ -3490,9 +3490,9 @@
}
},
"@walmart/ui-components": {
- "version": "1.1.39",
- "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.1.39.tgz",
- "integrity": "sha512-fvHYGhZXEV0PzyL3CSBx0Bz0M6Sasn6HjoFsKbZkgMYJZhQnSs/2uojd90z9Dq1wpP7/2oIuHz5VSVbXYQA/dA==",
+ "version": "1.1.40",
+ "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.1.40.tgz",
+ "integrity": "sha512-LKPrF3LoCv/R2MzUzulq3VbMJlOi/fT6S+HBx+AGsUvnsWb/wA9h6BYDeg4KRSnlj2tAQS5K8OtNJ28Z5chU6g==",
"requires": {
"react-native-calendars": "1.299.0"
}
--- package.json
@@ -87,7 +87,7 @@
"@walmart/schedule-mini-app": "0.2.76",
"@walmart/settings-mini-app": "1.2.3",
"@walmart/time-clock-mini-app": "0.3.8",
- "@walmart/ui-components": "1.1.39",
+ "@walmart/ui-components": "1.1.40",
"@walmart/welcomeme-mini-app": "0.26.2",
"@walmart/wfm-ui": "^0.1.50",
"axios-cache-adapter": "2.7.3",
--- src/navigation/AssociateHallwayNav/SideMenuContent.tsx
@@ -50,15 +50,53 @@ export const SideMenuContent: React.FC<DrawerContentComponentProps<
const [navConfig, setNavConfig] = useState(undefined);
const defaultConfig = [
{
- menuType: 'SUBMENU',
- icon: 'settings',
- title: translate('menu.settings'),
+ menuType: 'MAINMENU',
+ title: {
+ 'en-US': 'Me@Walmart home',
+ 'es-MX': 'Me@Walmart home',
+ },
enabled: true,
+ icon: 'home',
+ action: {type: 'NAVIGATE', value: 'home'},
+ clockCheckRequired: false,
+ subMenuOverridden: false,
+ },
+ {
+ menuType: 'SEPERATOR',
+ title: 'Vaccine verification',
+ enabled: true,
+ },
+ {
+ menuType: 'MAINMENU',
+ title: 'Vaccine verification',
+ icon: 'vaccine',
+ enabled: true,
+ clockCheckRequired: true,
+ subMenuOverridden: false,
action: {
- type: 'NAVIGATE',
- value: 'Settings',
+ type: 'DEEPLINK',
+ value:
+ 'https://walmartglobalcert.service-now.com/wm_sp?id=sc_cat_item&sys_id=e42427511bb5f0d0bcd8ca63604bcb20',
+ },
+ },
+ {
+ menuType: 'MAINMENU',
+ title: 'COVID Verification report',
+ icon: 'verification',
+ enabled: true,
+ clockCheckRequired: true,
+ subMenuOverridden: false,
+ action: {
+ type: 'DEEPLINK',
+ value:
+ 'https://walmartglobalcert.service-now.com/wm_sp?id=wm_vac_stats',
},
},
+ {
+ menuType: 'SEPERATOR',
+ title: 'Vaccine verification',
+ enabled: true,
+ },
{
menuType: 'SUBMENU',
icon: 'feedback',
@@ -79,6 +117,16 @@ export const SideMenuContent: React.FC<DrawerContentComponentProps<
value: 'WhatsNew',
},
},
+ {
+ menuType: 'SUBMENU',
+ icon: 'settings',
+ title: translate('menu.settings'),
+ enabled: true,
+ action: {
+ type: 'NAVIGATE',
+ value: 'Settings',
+ },
+ },
];
useEffect(() => {
| updated fonts and default menu links | updated fonts and default menu links
|
b7a9bf3b7a64c0cde289883e510ae0984109ddc4 | --- src/components/ActionButton/ClockStatusIndicator.tsx
@@ -2,7 +2,7 @@ import React from 'react';
import {StyleProp, StyleSheet, TextStyle, View, ViewStyle} from 'react-native';
import {Body, colors} from '@walmart/gtp-shared-components';
import {useTranslation} from 'react-i18next';
-import {TEXTING_I18N_NAMESPACE} from '../translations';
+import { TEXTING_I18N_NAMESPACE } from "../../translations";
const styles = StyleSheet.create({
indicatorRow: {
| fixing import | fixing import
|
0db192ea23b7d78c6fa967a18fcbcb19e3c89635 | --- packages/allspark-foundation/src/Components/TeamOnboarding/TeamSelection/RenderTeamSelectionListItem.tsx
@@ -0,0 +1,23 @@
+import React from 'react';
+import { TeamSelectionListItem } from './TeamSelectionListItem';
+import { RenderTeamSelectionListItemsProps } from './types';
+
+export const RenderTeamSelectionListItems = ({
+ teams,
+ isLastListItem,
+ isPrimaryArea,
+ selectedTeams,
+ primaryTeam,
+ handleSelectSingle,
+}: RenderTeamSelectionListItemsProps) =>
+ teams.map((team) => (
+ <TeamSelectionListItem
+ key={`team-${team}`}
+ teamName={team}
+ isLastListItem={isLastListItem}
+ isSelected={selectedTeams.includes(team)}
+ isPrimaryTeam={isPrimaryArea && primaryTeam === team}
+ checkboxDisabled={isPrimaryArea && primaryTeam === team}
+ toggleSelection={() => handleSelectSingle(team)}
+ />
+ ));
| Adding RenderTeamSelectionListItems component | Adding RenderTeamSelectionListItems component
|
99942f76935a1a52f90e0d9e97655faf95285214 | --- package.json
@@ -126,7 +126,7 @@
"@walmart/taskit-mini-app": "0.49.6",
"@walmart/time-clock-mini-app": "0.30.0",
"@walmart/ui-components": "1.9.0",
- "@walmart/welcomeme-mini-app": "0.73.0",
+ "@walmart/welcomeme-mini-app": "0.76.0",
"@walmart/wfm-ui": "0.2.25",
"axios": "^1.2.6",
"axios-cache-adapter": "2.7.3",
| Update package.json | Update package.json
fix: welcome me - iam here button width increased. |
a1f1288350f26c98152f98268909433a88c4a712 | --- src/screens/RosterScreen.tsx
@@ -59,7 +59,7 @@ export const RosterScreen: React.FC<RosterScreenProps> = () => {
const [associates, setAssociates] = useState<Associate[]>([]);
const teamLeads = useSelector(teamLeadJobDescriptions) as string[];
const [pullToRefresh, setPullToRefresh] = useState(false);
- const loaderOffSet = 30;
+ const loaderOffSet = 10;
const dailyRosterLazy = useDailyRosterLazy();
const onPullToRefresh = useCallback(() => {
@@ -67,7 +67,9 @@ export const RosterScreen: React.FC<RosterScreenProps> = () => {
dailyRosterLazy[0]().then((result) => {
const associateList = (result.data?.getDailyRoster || []) as Associate[];
setAssociates(sortedAssociateList(associateList, teamLeads));
- setPullToRefresh(false);
+ setTimeout(() => {
+ setPullToRefresh(false);
+ }, 2000);
});
}, [dailyRosterLazy[0]]);
--- src/screens/RosterScreen.tsx
@@ -59,7 +59,7 @@ export const RosterScreen: React.FC<RosterScreenProps> = () => {
const [associates, setAssociates] = useState<Associate[]>([]);
const teamLeads = useSelector(teamLeadJobDescriptions) as string[];
const [pullToRefresh, setPullToRefresh] = useState(false);
- const loaderOffSet = 30;
+ const loaderOffSet = 10;
const dailyRosterLazy = useDailyRosterLazy();
const onPullToRefresh = useCallback(() => {
@@ -67,7 +67,9 @@ export const RosterScreen: React.FC<RosterScreenProps> = () => {
dailyRosterLazy[0]().then((result) => {
const associateList = (result.data?.getDailyRoster || []) as Associate[];
setAssociates(sortedAssociateList(associateList, teamLeads));
- setPullToRefresh(false);
+ setTimeout(() => {
+ setPullToRefresh(false);
+ }, 2000);
});
}, [dailyRosterLazy[0]]);
| update the pull down loader offset | update the pull down loader offset
|
996ff2cf3c59f4423df3875f2f23e65a09dd283c | --- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.0.0-alpha.5",
+ "version": "1.0.0-alpha.6",
"description": "",
"main": "Core/index.js",
"types": "Core/index.d.ts",
--- packages/allspark-foundation-hub/src/HubFeature/Hub/TeamSwitcher/index.tsx
@@ -63,6 +63,9 @@ export const TeamSwitcher = ({
const userTeamSelectionComplete = useSelector(
ManagerExperienceSelectors.getUserTeamSelectionComplete
);
+ const userOnboardingComplete = useSelector(
+ ManagerExperienceSelectors.getUserOnboardingComplete
+ );
const [selectedTeam, setSelectedTeam] = useState<string | null>(
selectedTeamId
);
@@ -129,7 +132,7 @@ export const TeamSwitcher = ({
useEffect(() => {
refetch();
- }, [refreshing, refetch, userTeamSelectionComplete]);
+ }, [refreshing, refetch, userTeamSelectionComplete, userOnboardingComplete]);
const handlePress = (teamId: string, teamLabel: string) => {
setSelectedTeam(teamLabel);
| feat(ui): Update onboarding change | feat(ui): Update onboarding change
|
42b571236373a690deb19147948136dda2e07960 | --- package.json
@@ -118,7 +118,7 @@
"react-native-screens": "^2.10.1",
"react-native-sha256": "^1.3.6",
"react-native-splash-screen": "^3.2.0",
- "react-native-ssmp-sso-allspark": "1.1.0-alpha-beta-gamma",
+ "react-native-ssmp-sso-allspark": "1.1.0-alpha",
"react-native-sumo-sdk": "^2.7.4-rc.9",
"react-native-svg": "^12.1.0",
"react-native-tab-view": "^2.15.2",
| version updation | version updation
|
56dd3829a165ce9520aca44277a2339586bab47d | --- package.json
@@ -122,7 +122,7 @@
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "0.1.4",
"@walmart/myteam-mini-app": "1.1.7",
- "@walmart/native-rfid-scanner": "3.9.10",
+ "@walmart/native-rfid-scanner": "3.9.9",
"@walmart/onewalmart-miniapp": "1.0.24",
"@walmart/pay-stub-miniapp": "0.15.2",
"@walmart/payrollsolution_miniapp": "0.140.4",
@@ -139,7 +139,7 @@
"@walmart/receipt-check-miniapp": "1.21.2",
"@walmart/redux-store": "6.1.4",
"@walmart/returns-mini-app": "4.6.0",
- "@walmart/rfid-scan-mini-app": "2.3.11",
+ "@walmart/rfid-scan-mini-app": "2.3.10",
"@walmart/roster-mini-app": "1.1.7",
"@walmart/schedule-mini-app": "0.108.0",
"@walmart/shelfavailability-mini-app": "1.5.23",
@@ -580,4 +580,4 @@
"engines": {
"node": ">=18"
}
-}
\ No newline at end of file
+}
| revert other mini app version | revert other mini app version
|
1ad7ebbd10233bac1dad0c294fc95d3f535b3551 | --- package-lock.json
@@ -5425,9 +5425,9 @@
"license": "MIT"
},
"node_modules/@walmart/mod-flex-mini-app": {
- "version": "1.5.2",
- "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.5.2.tgz",
- "integrity": "sha512-1eJD3VexQ8iXvPq7/KsJ7NeIo9uE98fxWYSqAg90sqOSwbIcpL24/INr90353sg/BRkqBcAXb0Oh8B0mTsc/Ng==",
+ "version": "1.5.3",
+ "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.5.3.tgz",
+ "integrity": "sha512-pIVSBuN4W9FCxPitkRTYIB2ffOc4bXqEj67OETGbSifdHXs7WxPU86Wtw4XdrFKvqw7MEuwMZdhrHuQQ/h573Q==",
"peerDependencies": {
"@react-native-community/async-storage": "^1.11.0",
"@react-native-picker/picker": "^2.4.2",
@@ -5438,7 +5438,7 @@
"@walmart/core-services-allspark": "^1.3.1",
"@walmart/functional-components": "^2.0.2",
"@walmart/gtp-shared-components": "^2.0.3",
- "@walmart/ims-print-services-ui": "^2.0.1",
+ "@walmart/ims-print-services-ui": "^2.0.5",
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.25.0",
"@walmart/react-native-scanner-3.0": "^0.1.30-rc.1",
@@ -5464,7 +5464,7 @@
"react-native-safe-area-context": "^3.1.3",
"react-native-screens": "^2.10.1",
"react-native-sound-player": "^0.10.9",
- "react-native-tab-view": "^3.1.1",
+ "react-native-tab-view": "^3.3.0",
"react-native-vector-icons": "^7.0.0",
"react-native-webview": "^11.18.2",
"react-native-wm-notification": "^2.0.1",
@@ -25142,9 +25142,9 @@
}
},
"@walmart/mod-flex-mini-app": {
- "version": "1.5.2",
- "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.5.2.tgz",
- "integrity": "sha512-1eJD3VexQ8iXvPq7/KsJ7NeIo9uE98fxWYSqAg90sqOSwbIcpL24/INr90353sg/BRkqBcAXb0Oh8B0mTsc/Ng=="
+ "version": "1.5.3",
+ "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.5.3.tgz",
+ "integrity": "sha512-pIVSBuN4W9FCxPitkRTYIB2ffOc4bXqEj67OETGbSifdHXs7WxPU86Wtw4XdrFKvqw7MEuwMZdhrHuQQ/h573Q=="
},
"@walmart/moment-walmart": {
"version": "1.0.4",
| Bumping modflex to 1.5.3 | Bumping modflex to 1.5.3
|
956a1dd332a8e48aaeee3f9c5c7e8b14a28ef35c | --- .yarn/patches/@walmart-attendance-mini-app-npm-3.176.0-b8336306f0.patch
@@ -1,59 +0,0 @@
-diff --git a/dist/navigation/index.js b/dist/navigation/index.js
-index 6fbfd4d8d45b419f663a50721374fae97e1e89c1..6132c8fcef676a79274d4a9327914f1f5da61ef0 100644
---- a/dist/navigation/index.js
-+++ b/dist/navigation/index.js
-@@ -2,7 +2,8 @@ import React from 'react';
- import { createStackNavigator } from '@react-navigation/stack';
- import { HeaderBackButton } from '@react-navigation/elements';
- import { Icons } from '@walmart/gtp-shared-components/dist';
--import { Header, CustomHeader, HeaderButton, HeaderButtonType, } from '@walmart/ui-components/components/Header';
-+import { Header, CustomHeader, HeaderButton, HeaderButtonType, } from '@walmart/ui-components';
-+import { Header as MyWalmartHeader } from '@walmart/allspark-foundation';
- import { AttendanceModalScreen, NewTorScreen, TorReviewScreen, TorSubmissionScreen, PendingTorScreen, ApprovalModalScreen, AbsenceDetailsScreen, AbsenceReviewScreen, ExternalLinkScreen, MyRequestsScreen, DeleteConfirmationScreen, ReviewCloseButton, ManagedTorDetailsScreen, ManagedTorListScreen, } from '../containers';
- import { colors, metrics } from '../theme';
- import { useTranslation } from 'react-i18next';
-@@ -20,25 +21,25 @@ const TimeOffRequestsNav = ({ initialRouteName, initialRouteParams, }) => {
- const navigation = useNavigation();
- const parentAppName = useSelector(CcmSelectors.getParentName);
- const appName = useSelector(GlobalSelectors.getAppName);
-- const getScreenOptions = ({ navigation }) => {
-- if (isSamsClubApp(appName)) {
-- return {
-- header: CustomHeader,
-- headerLeft: () => (<HeaderButton {...{ type: HeaderButtonType.Back, navigation }}/>),
-- headerRight: () => (<HeaderButton {...{ type: HeaderButtonType.RightButton, navigation }}/>),
-- };
-- }
-- else if (parentAppName === 'Campus') {
-- return {
-- header: CustomHeader,
-- headerRight: () => (<HeaderButton {...{ type: HeaderButtonType.RightButton, navigation }}/>),
-- };
-- }
-- else {
-- return { header: Header };
-- }
-- };
-- return (<Stack.Navigator initialRouteName={initialRouteName} screenOptions={getScreenOptions}>
-+ // const getScreenOptions = ({ navigation }) => {
-+ // if (isSamsClubApp(appName)) {
-+ // return {
-+ // header: CustomHeader,
-+ // headerLeft: () => (<HeaderButton {...{ type: HeaderButtonType.Back, navigation }}/>),
-+ // headerRight: () => (<HeaderButton {...{ type: HeaderButtonType.RightButton, navigation }}/>),
-+ // };
-+ // }
-+ // else if (parentAppName === 'Campus') {
-+ // return {
-+ // header: CustomHeader,
-+ // headerRight: () => (<HeaderButton {...{ type: HeaderButtonType.RightButton, navigation }}/>),
-+ // };
-+ // }
-+ // else {
-+ // return { header: MyWalmartHeader };
-+ // }
-+ // };
-+ return (<Stack.Navigator initialRouteName={initialRouteName}>
- <Stack.Screen name='newTor' component={NewTorScreen} options={{ title: t('tor.newTorScreen.screenTitle') }}/>
- <Stack.Screen name='torSubmission' component={TorSubmissionScreen}/>
- <Stack.Screen name='torReview' component={TorReviewScreen} options={{
--- package.json
@@ -95,7 +95,7 @@
"@walmart/associate-exp-hub-hub": "2.21.3",
"@walmart/associate-exp-hub-team-switcher": "2.25.0",
"@walmart/associate-listening-mini-app": "2.0.37",
- "@walmart/attendance-mini-app": "3.178.0",
+ "@walmart/attendance-mini-app": "3.181.0",
"@walmart/avp-feature-app": "0.28.47",
"@walmart/avp-shared-library": "0.27.26",
"@walmart/ax-components": "1.3.1",
--- yarn.lock
@@ -7877,9 +7877,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/attendance-mini-app@npm:3.178.0":
- version: 3.178.0
- resolution: "@walmart/attendance-mini-app@npm:3.178.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fattendance-mini-app%2F-%2F%40walmart%2Fattendance-mini-app-3.178.0.tgz"
+"@walmart/attendance-mini-app@npm:3.181.0":
+ version: 3.181.0
+ resolution: "@walmart/attendance-mini-app@npm:3.181.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fattendance-mini-app%2F-%2F%40walmart%2Fattendance-mini-app-3.181.0.tgz"
peerDependencies:
"@react-native-community/datetimepicker": ">=5.1.0"
"@react-navigation/native": ">=6.0.8"
@@ -7909,7 +7909,7 @@ __metadata:
redux-saga: ">=1.2.3"
reselect: ">=4.1.0"
wfm-allspark-data-library: ">=3.3.0"
- checksum: 10c0/8594393cb1bc28c6c92036faba92346a4c8e8317cd84b1ba63bfa336e97ca3bd75c0632f0cd670667a8bea3f31c4f3db27012d18571f89e39e4914004049b806
+ checksum: 10c0/adf1159a21fb6f2929091d04d60046724a2cdecea7ce4a75d9ddfaede4b8034a0fea8bdca3e33d8f1357d8513a8c47d04b074d799f43eb81b76c8b48611444a4
languageName: node
linkType: hard
@@ -8828,7 +8828,7 @@ __metadata:
"@walmart/associate-exp-hub-hub": "npm:2.21.3"
"@walmart/associate-exp-hub-team-switcher": "npm:2.25.0"
"@walmart/associate-listening-mini-app": "npm:2.0.37"
- "@walmart/attendance-mini-app": "npm:3.178.0"
+ "@walmart/attendance-mini-app": "npm:3.181.0"
"@walmart/avp-feature-app": "npm:0.28.47"
"@walmart/avp-shared-library": "npm:0.27.26"
"@walmart/ax-components": "npm:1.3.1"
| fix(ui): GTA-168090 update attendance mini app version, remove patch | fix(ui): GTA-168090 update attendance mini app version, remove patch
|
e77a901650661bfadd029a6ccf98b7320b881230 | --- packages/allspark-foundation-hub/src/HubFeature/TeamListItem/TeamListItem.tsx
@@ -1,5 +1,4 @@
import React, { useMemo } from 'react';
-import { useTeamHubImage } from '../../HubFeature/HubImages';
import { View, Text, TouchableOpacity } from 'react-native';
import { teamSelectionListItemStyles } from './styles';
import {
@@ -7,8 +6,9 @@ import {
ChevronRightIcon,
Tag,
} from '@walmart/gtp-shared-components/dist';
-import { images } from './images';
+import { Images } from '../Images/images';
import { TeamListItemProps } from './types';
+import { useAllsparkImage } from '@walmart/allspark-foundation/Components/context';
export const TeamListItem = ({
checkboxDisabled,
@@ -26,14 +26,17 @@ export const TeamListItem = ({
() => teamSelectionListItemStyles(!isLastListItem, Boolean(subText)),
[isLastListItem, subText]
);
- const TeamImage = useTeamHubImage();
+ const TeamImage = useAllsparkImage();
return (
<View style={styles.container} testID='team-list-item'>
<View style={styles.teamOuterContainer}>
<TeamImage
- contentFit='contain'
- source={{ uri: images[teamId ?? 'Total Store'] }}
+ resizeMode='contain'
+ source={{
+ uri: Images[teamId ?? teamName]?.uri || Images['0000000'].uri,
+ }}
+ placeholder={Images[teamId ?? teamName]?.blurhash}
style={styles.teamImage}
/>
<View
--- packages/allspark-foundation-hub/src/HubFeature/TeamListItem/index.ts
--- packages/allspark-foundation-hub/src/HubFeature/TeamListItem/styles.ts
--- packages/allspark-foundation-hub/src/HubFeature/TeamListItem/types.ts
--- packages/allspark-foundation-hub/src/HubFeature/TeamSelection/Component/TeamSelectionList.tsx
@@ -1,6 +1,5 @@
import React, { useEffect } from 'react';
import { View, Text, SectionList } from 'react-native';
-import { TeamListItem } from '../../../../Components/TeamListItem';
import { SelectionBanner } from './SelectionBanner';
import { teamSelectionListStyles as styles } from '../styles';
import { TeamPreference, TeamSelectionListProps } from '../types';
--- packages/allspark-foundation/__tests__/Components/TeamListItem.test.tsx
@@ -1,7 +1,7 @@
import React from 'react';
import { fireEvent, render } from '../utils';
-import { TeamListItem } from '../../src/Components/TeamListItem';
-import { TeamListItemProps } from '../../src/Components/TeamListItem/types';
+import { TeamListItem } from '@walmart/allspark-foundation-hub/src/HubFeature/TeamListItem';
+import { TeamListItemProps } from '@walmart/allspark-foundation-hub/src/HubFeature/TeamListItem/types';
const teamSelectionProps: TeamListItemProps = {
teamName: 'Management',
--- packages/allspark-foundation/src/Components/TeamListItem/images.ts
@@ -1,70 +0,0 @@
-export const images: Record<string, string> = {
- 'Total Store':
- 'https://i5-me.walmartimages.com/images/teams/totalstore-team-427a5cddc7.png',
- // Admin & Support
- '1000100':
- 'https://i5-me.walmartimages.com/images/teams/totalstore-team-427a5cddc7.png',
- // Apparel
- '1000282':
- 'https://i5-me.walmartimages.com/images/teams/apparel-team-3a81ffccf4.png',
- // Asset Protection
- '1000101':
- 'https://i5-me.walmartimages.com/images/teams/assetprotection-team-408964d173.png',
- // Auto Care Center
- '1000340':
- 'https://i5-me.walmartimages.com/images/teams/autocarecenter-team-6c77dfd39f.png',
- // Deli & Bakery
- '1000329':
- 'https://i5-me.walmartimages.com/images/teams/delibakery-team-9aca808f6d.png',
- // Digital
- '1000326':
- 'https://i5-me.walmartimages.com/images/teams/digital-team-330e13ad96.png',
- // Entertainment
- '1000198':
- 'https://i5-me.walmartimages.com/images/teams/entertainment-team-6dd2ca6713.png',
- // Food & Consumables
- '1000318':
- 'https://i5-me.walmartimages.com/images/teams/foodconsumeables-team-d27ecbdead.png',
- // Front End
- '1000330':
- 'https://i5-me.walmartimages.com/images/teams/frontend-team-e6044e9791.png',
- // Fuel
- '1000319':
- 'https://i5-me.walmartimages.com/images/teams/fuel-team-1eeec3363a.png',
- // Hardlines
- '1000187':
- 'https://i5-me.walmartimages.com/images/teams/hardlines-team-7c6dca6bb7.png',
- // Health & Beauty
- 'Health & Beauty':
- 'https://i5-me.walmartimages.com/images/teams/pharmacy-team-a31d58c160.png',
- // Home
- '1000284':
- 'https://i5-me.walmartimages.com/images/teams/home-team-24f5f53a8a.png',
- // Management
- '1111111':
- 'https://i5-me.walmartimages.com/images/teams/totalstore-team-427a5cddc7.png',
- // Meat & Produce
- '1000316':
- 'https://i5-me.walmartimages.com/images/teams/meatproduce-team-b8d499d1e1.png',
- // Pharmacy
- '1000121':
- 'https://i5-me.walmartimages.com/images/teams/pharmacy-team-a31d58c160.png',
- // Remodel
- '1000123':
- 'https://i5-me.walmartimages.com/images/teams/remodel-team-821a5c7567.png',
- // Seasonal
- '1000328':
- 'https://i5-me.walmartimages.com/images/teams/seasonal-team-726ffbf6f6.png',
- // Stocking Day 1
- '1000346':
- 'https://i5-me.walmartimages.com/images/teams/stocking-team-2bdf52809b.png',
- // Stocking Day 2
- '1000332':
- '.https://i5-me.walmartimages.com/images/teams/stocking-team-2bdf52809b.png',
- // Stocking Overnight
- '1000333':
- 'https://i5-me.walmartimages.com/images/teams/stocking-team-2bdf52809b.png',
- // Vision Center
- '1000197':
- 'https://i5-me.walmartimages.com/images/teams/visioncenter-team-bd33a2aa39.png',
-};
| Merge changes | Merge changes
|
c91ab0503b2e5d391fcdb6bf057e159d40efa44f | --- src/components/ActionButton/index.tsx
@@ -12,9 +12,7 @@ export const ActionButton = ({
...buttonProps
}: ActionButtonProps) => {
return (
- <TouchableOpacity
- disabled={disabled}
- {...buttonProps}>
+ <TouchableOpacity disabled={disabled} {...buttonProps}>
<Animated.View style={[styles.button]}>
{loading ? (
<ActivityIndicator size='small' />
--- src/components/ActionButton/index.tsx
@@ -12,9 +12,7 @@ export const ActionButton = ({
...buttonProps
}: ActionButtonProps) => {
return (
- <TouchableOpacity
- disabled={disabled}
- {...buttonProps}>
+ <TouchableOpacity disabled={disabled} {...buttonProps}>
<Animated.View style={[styles.button]}>
{loading ? (
<ActivityIndicator size='small' />
| fix lint errors | fix lint errors
|
88dde62384f61c812966fa2493926d641dd00e27 | --- packages/allspark-foundation/package.json
@@ -188,4 +188,4 @@
"optional": true
}
}
-}
\ No newline at end of file
+}
--- yarn.lock
@@ -7377,7 +7377,7 @@ __metadata:
lodash: "npm:~4.17.21"
namecase: "npm:^1.1.2"
react: "npm:^18.2.0"
- react-hook-form: "npm:^7.38.0"
+ react-hook-form: "npm:^7.51.0"
react-i18next: "npm:^13.3.1"
react-native: "npm:~0.73.7"
react-native-apollo-devtools-client: "npm:^1.0.4"
@@ -21229,12 +21229,12 @@ __metadata:
languageName: node
linkType: hard
-"react-hook-form@npm:^7.38.0":
- version: 7.52.2
- resolution: "react-hook-form@npm:7.52.2"
+"react-hook-form@npm:^7.51.0":
+ version: 7.54.2
+ resolution: "react-hook-form@npm:7.54.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fallspark-npm%2Freact-hook-form%2F-%2Freact-hook-form-7.54.2.tgz"
peerDependencies:
react: ^16.8.0 || ^17 || ^18 || ^19
- checksum: 10c0/2b8d37239d40f4326a24609c1bf5b4ba2cf66bc4a988213ccd7eb92a254dd5bf9c4b94caa353bce4b1d6d8a9ecd2ea3103e25c6d2d72d53f7be26f09053a8b2f
+ checksum: 10c0/6eebead2900e3d369a989e7a20429f390dc75b3897142aa3107f1f6dabb9ae64fed201ea98cdcd8676e40466c97748aeb0c0d83264f5bd3a84dbc0b8e4863415
languageName: node
linkType: hard
| chore: lockfile update | chore: lockfile update
|
dbd8f08ea8e46582a3836e06c75ffbefe6f109cc | --- src/queries/getSupplyChainTeamById.graphql
@@ -1,6 +1,6 @@
-query GetSupplyChainTeamById($businessUnitNumber: Int!, $countryCode: String!, $date: Date!, $includeProxyMembers: Boolean!, $role: [String!], $teamId: String!) {
+query GetSupplyChainTeamById($countryCode: String!, $date: Date!, $includeProxyMembers: Boolean!, $role: [String!], $siteNbr: Int!, $teamId: String!) {
supplyChainTeamById(
- businessUnitNumber: $businessUnitNumber
+ businessUnitNumber: $siteNbr
countryCode: $countryCode
teamId: $teamId
) {
@@ -16,7 +16,7 @@ query GetSupplyChainTeamById($businessUnitNumber: Int!, $countryCode: String!, $
__typename
associateId
wfmSchedule(
- businessUnitNumber: $businessUnitNumber
+ businessUnitNumber: $siteNbr
country: $countryCode
endDate: $date
startDate: $date
--- src/queries/getSupplyChainTeamById.ts
@@ -5,7 +5,7 @@ import * as Apollo from '@apollo/client';
import * as ApolloReactHooks from '@apollo/client';
const defaultOptions = {} as const;
export type GetSupplyChainTeamByIdQueryVariables = Types.Exact<{
- businessUnitNumber: Types.Scalars['Int'];
+ siteNbr: Types.Scalars['Int'];
countryCode: Types.Scalars['String'];
date: Types.Scalars['Date'];
includeProxyMembers: Types.Scalars['Boolean'];
@@ -66,7 +66,7 @@ export type GetSupplyChainTeamByIdQuery = {
export const GetSupplyChainTeamByIdDocument = gql`
query GetSupplyChainTeamById(
- $businessUnitNumber: Int!
+ $siteNbr: Int!
$countryCode: String!
$date: Date!
$includeProxyMembers: Boolean!
@@ -74,7 +74,7 @@ export const GetSupplyChainTeamByIdDocument = gql`
$teamId: String!
) {
supplyChainTeamById(
- businessUnitNumber: $businessUnitNumber
+ businessUnitNumber: $siteNbr
countryCode: $countryCode
teamId: $teamId
) {
@@ -90,7 +90,7 @@ export const GetSupplyChainTeamByIdDocument = gql`
__typename
associateId
wfmSchedule(
- businessUnitNumber: $businessUnitNumber
+ businessUnitNumber: $siteNbr
country: $countryCode
endDate: $date
startDate: $date
@@ -142,7 +142,7 @@ export const GetSupplyChainTeamByIdDocument = gql`
* @example
* const { data, loading, error } = useGetSupplyChainTeamByIdQuery({
* variables: {
- * businessUnitNumber: // value for 'businessUnitNumber'
+ * siteNbr: // value for 'siteNbr'
* countryCode: // value for 'countryCode'
* date: // value for 'date'
* includeProxyMembers: // value for 'includeProxyMembers'
--- yarn.lock
@@ -1785,21 +1785,21 @@ __metadata:
linkType: hard
"@envelop/core@npm:^5.0.2":
- version: 5.0.3
- resolution: "@envelop/core@npm:5.0.3"
+ version: 5.1.0
+ resolution: "@envelop/core@npm:5.1.0"
dependencies:
- "@envelop/types": "npm:5.0.0"
+ "@envelop/types": "npm:^5.1.0"
tslib: "npm:^2.5.0"
- checksum: 10c0/86f181137a4062554357151c717f068c89897364de0fd989b9abb408b03b4e8fc5946f8cdd76f2ff3ba5ab2e74140acf82210b18c32bb86875f2f18079bc19e2
+ checksum: 10c0/b3aa8b3c58d85daa99629f2d379a9a47f14585d36429f929db67f97e4954df96d1fa4a518723392811be4f79b111dc2f4c79a43eb8c6c2d532970055ec76c5aa
languageName: node
linkType: hard
-"@envelop/types@npm:5.0.0":
- version: 5.0.0
- resolution: "@envelop/types@npm:5.0.0"
+"@envelop/types@npm:^5.1.0":
+ version: 5.1.0
+ resolution: "@envelop/types@npm:5.1.0"
dependencies:
tslib: "npm:^2.5.0"
- checksum: 10c0/0cbaa68218cb6121b58c6d354b0a17913ded042673df7bfcf385cac6c3b42713b82719875f553b31e8f059727ff5478ed11b33b4febf8deeaf902f1a92b212a8
+ checksum: 10c0/db9f33756b6c7299dfd33fc02023f45a686e0d43b37977fd92073d69edffeb0619627dde818fc8061c9aaa2a17fab46092eb1eff1998ec897bc20a2355f78e34
languageName: node
linkType: hard
@@ -3036,8 +3036,8 @@ __metadata:
linkType: hard
"@graphql-tools/executor@npm:^1.3.10":
- version: 1.3.14
- resolution: "@graphql-tools/executor@npm:1.3.14"
+ version: 1.4.0
+ resolution: "@graphql-tools/executor@npm:1.4.0"
dependencies:
"@graphql-tools/utils": "npm:^10.8.1"
"@graphql-typed-document-node/core": "npm:^3.2.0"
@@ -3047,7 +3047,7 @@ __metadata:
value-or-promise: "npm:^1.0.12"
peerDependencies:
graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
- checksum: 10c0/5994a9fb275254936e3baa6aff8f646ab2a8f397c1c86005fcdece02014620d743bd0bcb47e1094a2df45dcf0bcd843582297007229052f878da4157cfec68ad
+ checksum: 10c0/0dfe89f482aa0f18e40101471ee3435942b547f8a38d1d19f7e4ab7367929d9f9cca50c34bc8ea5db11d7633950fc8410d99095fc697be6fc25d69fd3379096c
languageName: node
linkType: hard
@@ -10274,9 +10274,9 @@ __metadata:
linkType: hard
"flow-parser@npm:0.*":
- version: 0.261.1
- resolution: "flow-parser@npm:0.261.1"
- checksum: 10c0/69ff1e243fd919f64ca616e5a727f60c031472101636bcd246329a9978cf2d336126bce5c78bd20dbdcd5dc59278df5b4ba51bc941af49e367b9d7bc105a831d
+ version: 0.261.2
+ resolution: "flow-parser@npm:0.261.2"
+ checksum: 10c0/4c71290dc246c481fa82940b8ae9b4a87aa0d2a8fecd866765084e4ccaeedbb489b841140dca5619696594ab99f8f83a6f74c2116bf24af0ea89cc61fc9ed314
languageName: node
linkType: hard
| Update roster queries | Update roster queries
|
f352920ad2f900426f971a86dde033494a5f1af8 | --- src/impersonation/ImpersonationScreen.tsx
@@ -26,7 +26,7 @@ import {
} from './utils';
const styles = StyleSheet.create({
- fieldContainer: {
+ customFormFields: {
marginTop: 16,
},
});
@@ -114,7 +114,7 @@ export const ImpersonationScreen = (
onImpersonationStarted={onImpersonationStarted}
onImpersonationExited={onImpersonationExited}
onImpersonationError={onImpersonationError}>
- <View style={styles.fieldContainer}>
+ <View style={styles.customFormFields}>
<Switch
label={t('impersonation.allowGeoClk')}
disabled={impersonated}
| chore: style change | chore: style change
|
dc5dcb6e02304339b64ccb28196b3cc7f38d9572 | --- package-lock.json
@@ -5046,9 +5046,9 @@
}
},
"@walmart/core-services": {
- "version": "1.2.0",
- "resolved": "https://npme.walmart.com/@walmart/core-services/-/core-services-1.2.0.tgz",
- "integrity": "sha512-l38s4PZEvSn3MmjdWDUD16OvKJ50UYUU+jMQcRBkrDMK579oWRQMHXNSfiKVZ4AfDq9TPEUqdJI+O1inzfgeyQ==",
+ "version": "1.2.1",
+ "resolved": "https://npme.walmart.com/@walmart/core-services/-/core-services-1.2.1.tgz",
+ "integrity": "sha512-YLnUmrC8zHVLDGNmyM3JShg2XwQUcoryatT3zpkkCn0nNczMG3j/oGAVPwi7ejwkbPE/qyGkbbqzIv1ULRboWg==",
"requires": {
"@walmart/core-utils": "^1.0.10",
"axios": "^0.26.0",
--- package.json
@@ -78,7 +78,7 @@
"@walmart/amp-mini-app": "0.2.10",
"@walmart/ask-sam-mini-app": "1.1.2",
"@walmart/config-components": "3.0.2",
- "@walmart/core-services": "~1.2.0",
+ "@walmart/core-services": "~1.2.1",
"@walmart/core-services-allspark": "~1.7.2",
"@walmart/core-utils": "~1.0.10",
"@walmart/core-widget-registry": "0.3.2",
| bumping core services | bumping core services
|
f86ea137eb8a3da00fb78d98a969936c83977a99 | --- yarn.lock
@@ -6368,7 +6368,7 @@ __metadata:
"@walmart/react-native-scanner-3.0": "npm:0.10.4"
"@walmart/react-native-sumo-sdk": "npm:2.8.0"
"@walmart/ui-components": "npm:1.15.1"
- "@walmart/wmconnect-mini-app": "npm:3.4.0-alpha.2"
+ "@walmart/wmconnect-mini-app": "npm:3.7.0-alpha.0"
babel-jest: "npm:^29.6.3"
chance: "npm:^1.1.11"
crypto-js: "npm:~4.2.0"
@@ -6451,9 +6451,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:3.4.0-alpha.2":
- version: 3.4.0-alpha.2
- resolution: "@walmart/wmconnect-mini-app@npm:3.4.0-alpha.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.4.0-alpha.2.tgz"
+"@walmart/wmconnect-mini-app@npm:3.7.0-alpha.0":
+ version: 3.7.0-alpha.0
+ resolution: "@walmart/wmconnect-mini-app@npm:3.7.0-alpha.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.7.0-alpha.0.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=6.32.0"
expo: ~52.0.46
@@ -6464,7 +6464,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/689f63f126024d93e0b7695062aacb12b90dd16fda2a78902df9eaf18e43bbf85a19e9231ceef42a9ba312435d5d2fff9f9bca71b1dc3f2dc0ba35a9e304b134
+ checksum: 10c0/6c93f60c86736a1761ceb613f6e182a9fab75e155da27e7b8f2fedc54d0a033ffb6cc7fc487db975010963645b63585bde0b8388fa0b9a922462fb597a8be75c
languageName: node
linkType: hard
| feat(ada): update versions | feat(ada): update versions
|
06f6b6ee6880c835f01ef120701d630b2e9e8d4b | --- container/index.tsx
@@ -33,7 +33,7 @@ import {
ROOT_CONTAINER_SCREEN_NAME_MAN_EXP,
} from '../src/constants';
import {useTranslation} from 'react-i18next';
-// import {initi18n} from '../src/translations';
+import {initi18n} from '../src/translations';
import {useDispatch} from 'react-redux';
import {UserActionCreators} from '@walmart/allspark-foundation/User';
@@ -81,6 +81,7 @@ const LauncherView: React.FC<LauncherViewProps> = (props) => {
navigation.navigate(ROOT_CONTAINER_SCREEN_NAME_MAN_EXP);
useEffect(() => {
+ initi18n();
const debugToken =
Platform.OS === 'ios' ? RNFBConfigiOS : RNFBConfigAndroid;
initialize(debugToken);
--- package.json
@@ -190,7 +190,7 @@
"@walmart/allspark-http-client": "6.1.4",
"@walmart/config-components": "4.4.0",
"@walmart/core-services": "6.1.4",
- "@walmart/core-services-allspark": "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",
| update roster mini app | update roster mini app
|
c1891d2b166532aa9e8d8bb81aaa15acf0006c84 | --- packages/me-at-walmart-container/tsconfig.json
@@ -40,7 +40,7 @@
"coverage/*",
"types/*",
"*.js",
- "jest.config.js",
+ "jest.config.ts",
"__mocks__/*"
]
}
| fix: package ts including jest config | fix: package ts including jest config
|
b45738c669f66524f3e1d3a457cee11e8a95c022 | --- __tests__/services/api/adapters/useGetSupplyChainAdapter.test.ts
@@ -327,6 +327,10 @@ describe('useGetSupplyChainAdapter', () => {
uri: 'https://i5-me.walmartimages.com/images/supplychain/total-site-2dc1bfe083.png',
},
teamName: 'Total Site',
+ areaDepartments: {
+ metricsDeptsNumbers: [],
+ merchantDeptsNumbers: [],
+ },
},
]);
expect(result.current.data.shifts).toEqual([]);
@@ -377,6 +381,10 @@ describe('useGetSupplyChainAdapter', () => {
uri: 'https://i5-me.walmartimages.com/images/supplychain/total-site-2dc1bfe083.png',
},
teamName: 'Total Site',
+ areaDepartments: {
+ metricsDeptsNumbers: [],
+ merchantDeptsNumbers: [],
+ },
},
]);
expect(result.current.data.shifts).toEqual([]);
@@ -609,6 +617,10 @@ describe('useGetSupplyChainAdapter', () => {
uri: 'https://i5-me.walmartimages.com/images/supplychain/total-site-2dc1bfe083.png',
blurhash: 'KoMu9IkD~pXUa}sj_1j@Mx',
},
+ areaDepartments: {
+ metricsDeptsNumbers: [],
+ merchantDeptsNumbers: [],
+ },
});
});
--- packages/associate-exp-hub-mini-app/src/components/modals/hoc/EditTeamsModal.tsx
@@ -156,6 +156,10 @@ const EditTeamsModal = AssociateExpHubFeature.createModal(() => {
uri: defaultImage.uri,
blurhash: defaultImage.blurhash,
},
+ areaDepartments: {
+ metricsDeptsNumbers: [],
+ merchantDeptsNumbers: [],
+ },
};
// Check if any section already contains the total team
@@ -268,6 +272,10 @@ const EditTeamsModal = AssociateExpHubFeature.createModal(() => {
uri: defaultImage.uri,
blurhash: defaultImage.blurhash,
},
+ areaDepartments: {
+ metricsDeptsNumbers: [],
+ merchantDeptsNumbers: [],
+ },
};
// Find or create Other section
--- packages/associate-exp-hub-mini-app/src/components/modals/hoc/UpdateModal.tsx
@@ -619,6 +619,10 @@ const UpdateModal = AssociateExpHubFeature.createModal(() => {
proxyMembers: [],
membership: [],
teamImage: primaryTeamImage,
+ areaDepartments: {
+ metricsDeptsNumbers: [],
+ merchantDeptsNumbers: [],
+ },
});
}
--- packages/associate-exp-hub-mini-app/src/services/api/adapters/useGetSupplyChainAdapter.ts
@@ -327,6 +327,10 @@ function setPreferences(
uri: defaultImage.uri,
blurhash: defaultImage.blurhash,
},
+ areaDepartments: {
+ metricsDeptsNumbers: [],
+ merchantDeptsNumbers: [],
+ },
};
}
@@ -350,6 +354,10 @@ function addTeamImages(teams: SupplyChainTeam[] | undefined): EnrichedTeam[] {
return teams.map(team => ({
...team,
teamImage: getTeamImage(team.teamId, supplyChaindefaultImage),
+ areaDepartments: {
+ metricsDeptsNumbers: [],
+ merchantDeptsNumbers: [],
+ },
}));
}
--- packages/associate-exp-hub-mini-app/src/services/api/preferences-api.ts
@@ -209,6 +209,10 @@ export function setPreferences(
uri: defaultImage.uri,
blurhash: defaultImage.blurhash,
},
+ areaDepartments: {
+ metricsDeptsNumbers: [],
+ merchantDeptsNumbers: [],
+ },
};
}
@@ -235,5 +239,9 @@ export function addTeamImages(
return teams.map(team => ({
...team,
teamImage: getTeamImageFromGraphQL(team, false), // false = store context
+ areaDepartments: {
+ metricsDeptsNumbers: [],
+ merchantDeptsNumbers: [],
+ },
}));
}
--- packages/associate-exp-hub-mini-app/src/services/api/shifts-api.ts
@@ -226,6 +226,10 @@ export function setPreferences(
uri: defaultImage.uri,
blurhash: defaultImage.blurhash,
},
+ areaDepartments: {
+ metricsDeptsNumbers: [],
+ merchantDeptsNumbers: [],
+ },
};
}
@@ -251,5 +255,9 @@ export function addTeamImages(
return teams.map(team => ({
...team,
teamImage: getTeamImageFromGraphQL(team, true), // Supply chain context
+ areaDepartments: {
+ metricsDeptsNumbers: [],
+ merchantDeptsNumbers: [],
+ },
}));
}
| feat(ui): update tests | feat(ui): update tests
|
9686921b5ba207b3b6c4e4554bb9a0c0005706f4 | --- .env.dev
--- .env.prod
--- README.md
@@ -56,7 +56,7 @@ You will also need to add your SSH key to Walmart github using [these](https://d
Environment and Target are specified through the process variables `NODE_ENV` and `TARGET`:
```bash
-NODE_ENV=development TARGET=US yarn run command
+NODE_ENV=dev TARGET=US yarn run command
```
Predefined commands will prompt for these values when required. Once these variables are set they are stored locally in a `build.context.json` file for use in subsequent commands.
--- scripts/runWithVariablePrompt.ts
@@ -62,8 +62,10 @@ const findFilePatterns = (files: string[], pattern: RegExp): string[] => {
.filter(Boolean) as string[];
};
+// Ge all the files in the current working directory
const files = fs.readdirSync(process.cwd());
+// Based on file patterns, we'll determine what env and target choices are available
const EnvChoices = findFilePatterns(files, /\.env\.(\w+)$/);
const TargetChoices = findFilePatterns(files, /^app\.config\.(\w+)\.ts$/);
@@ -74,14 +76,18 @@ inquirer
type: "select",
name: "environment",
message: "Select the environment:",
+ // choices based on .env files in the current working directory
choices: EnvChoices,
+ // only prompt if no build context and multiple .env files exist
when: !buildContext?.ENV && EnvChoices.length > 1,
},
{
type: "select",
name: "target",
message: "Select the target:",
+ // choices based on app.config files in the current working directory
choices: TargetChoices,
+ // only prompt if no build context and multiple app.config files exist
when: !buildContext?.TARGET && TargetChoices.length > 1,
},
])
@@ -91,6 +97,7 @@ inquirer
target = buildContext?.TARGET || "US",
} = answers;
+ // Write selected options to build.context.json
if (!buildContext) {
fs.writeFile(
`${process.cwd()}/build.context.json`,
@@ -101,7 +108,7 @@ inquirer
// Build the NODE_ENV variable
console.log(`NODE_ENV=${environment} TARGET=${target}`);
- // Export Environment variable
+ // Run command with process variables
const child = spawn(
`NODE_ENV=${environment} TARGET=${target} ${commandToRun}`,
{
--- src/navigation/index.tsx
@@ -34,7 +34,7 @@ const styles = StyleSheet.create({
export const MissingHallwayScreen = () => {
return (
<ErrorMessage title={'Missing Hallway'} UNSAFE_style={styles.error}>
- No Hallway found for Container: {process.env.EXPO_PUBLIC_CONTAINER_NAME}
+ No Hallway found for Target: {process.env.EXPO_PUBLIC_TARGET}
</ErrorMessage>
);
};
| refactor: update env file names | refactor: update env file names
|
73ce2ea9f02032b5ec1aa0fcb08a3abbe0f2dc10 | --- graphql.yml
@@ -39,8 +39,34 @@ applications:
- 'v1'
- name: 'GetAssociateName'
queryTemplate: 'src/queries/getAssociateName.graphql'
+ tags:
+ - 'v3'
+ - name: 'GetDailyRoster'
+ queryTemplate: 'src/queries/getDailyRoster.graphql'
+ tags:
+ - 'v3'
+ - name: 'GetTeamById'
+ queryTemplate: 'src/queries/getTeamById.graphql'
+ tags:
+ - 'v3'
+ - name: 'GetTeamsByStore'
+ queryTemplate: 'src/queries/getTeamsbyStore.graphql'
+ tags:
+ - 'v3'
+ - name: 'upsertAssociateTextPreferences'
+ 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:
+ - 'v3'
- name: 'GetDailyRoster'
queryTemplate: 'src/queries/getDailyRoster.graphql'
tags:
@@ -57,36 +83,3 @@ applications:
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: '3c6a1553234da438299662b03db04cc613b52ca997efb511ac76d5eff118a4bf'
- queryTemplate: 'src/queries/getDailyRoster.graphql'
- tags:
- - 'v2'
- - 'Drop13'
- - name: 'GetTeamById'
- hash: '5a1baf2e68d6b2c9ddec825296731ccd2137a9e7f12d1f7210ca797814bb3e3f'
- queryTemplate: 'src/queries/getTeamById.graphql'
- tags:
- - 'v1'
- - name: 'GetTeamsByStore'
- hash: '0d9bcce8cdce8831861e22bd66c43d0891aef2304b2bab61e449c5570aa564d2'
- queryTemplate: 'src/queries/getTeamsbyStore.graphql'
- tags:
- - 'v1'
- - name: 'upsertAssociateTextPreferences'
- hash: 'c32767303508d355e17b8489f8ecd28ec16a22ea3c454f9347ae96c9aefbec3b'
- queryTemplate: 'src/queries/upsertAssociateTextPreference.graphql'
- tags:
- - 'v1'
| update formatting, remove hash | update formatting, remove hash
|
a0373fffe5c988e478af5ae6d07ea6f5294c49eb | --- yarn.lock
@@ -7141,7 +7141,7 @@ __metadata:
"@walmart/roster-mini-app": "npm:2.8.2"
"@walmart/schedule-mini-app": "npm:0.118.0"
"@walmart/shelfavailability-mini-app": "npm:1.5.33"
- "@walmart/shop-gnfr-mini-app": "npm:1.0.124"
+ "@walmart/shop-gnfr-mini-app": "npm:1.0.127"
"@walmart/sidekick-mini-app": "npm:4.67.15"
"@walmart/store-feature-orders": "npm:1.26.12"
"@walmart/taskit-mini-app": "patch:@walmart/taskit-mini-app@npm%3A3.3.0#~/.yarn/patches/@walmart-taskit-mini-app-npm-3.3.0-a2dd632c59.patch"
@@ -8017,9 +8017,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/shop-gnfr-mini-app@npm:1.0.124":
- version: 1.0.124
- resolution: "@walmart/shop-gnfr-mini-app@npm:1.0.124"
+"@walmart/shop-gnfr-mini-app@npm:1.0.127":
+ version: 1.0.127
+ resolution: "@walmart/shop-gnfr-mini-app@npm:1.0.127"
dependencies:
"@testing-library/react-native": "npm:^12.5.1"
react-native-drop-shadow: "npm:^1.0.0"
@@ -8033,7 +8033,7 @@ __metadata:
"@walmart/gtp-shared-components": ^2.0.0
react: ^18.2.0
react-native: ~0.70.5
- checksum: 10c0/4bb167a835d68db53ac4271419da1c7d1723d90377182c3c0bee29854cfb6e21e74d8d095f4ce4fc17afd43959e38bd2797bc71a2658e9c087c3fd6db1fb870a
+ checksum: 10c0/828872e22f2a84e95b3ff1cabdc0c7a59b838a641a761b5dae633e6338f428a9bfa3ecf8e1f90372d28c1cc1970e9f00365f12dd7a54299cf5b5b67feccd586d
languageName: node
linkType: hard
| update | update
|
a2c783097c2fa360256d95cef8dd002caf4bcce8 | --- __tests__/navigation/USHallway/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap
@@ -57,6 +57,7 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
},
"cardStyleInterpolator": [Function],
"gestureDirection": "vertical",
+ "gestureEnabled": false,
"headerShown": false,
"presentation": "transparentModal",
}
@@ -495,6 +496,7 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
},
"cardStyleInterpolator": [Function],
"gestureDirection": "vertical",
+ "gestureEnabled": false,
"headerShown": false,
"presentation": "transparentModal",
}
--- package.json
@@ -162,7 +162,7 @@
"@walmart/sidekick-mini-app": "4.231.0",
"@walmart/store-feature-orders": "1.34.7",
"@walmart/talent-preboarding-mini-app": "1.0.48",
- "@walmart/taskit-mini-app": "5.42.30",
+ "@walmart/taskit-mini-app": "5.42.31",
"@walmart/time-clock-mini-app": "3.19.6",
"@walmart/time-clock-mini-app-next": "3.0.0",
"@walmart/topstock-mini-app": "1.27.1",
--- src/navigation/USHallway/AssociateHallwayNav/MainStackNav.tsx
@@ -108,6 +108,7 @@ const MiniAppScreens = createMiniAppScreens(MainStack, [
component: TaskItMiniApp,
options: {
gestureDirection: 'vertical',
+ gestureEnabled: false,
presentation: 'transparentModal',
...ModalTransitionOptions,
},
--- yarn.lock
@@ -8413,7 +8413,7 @@ __metadata:
"@walmart/sidekick-mini-app": "npm:4.231.0"
"@walmart/store-feature-orders": "npm:1.34.7"
"@walmart/talent-preboarding-mini-app": "npm:1.0.48"
- "@walmart/taskit-mini-app": "npm:5.42.30"
+ "@walmart/taskit-mini-app": "npm:5.42.31"
"@walmart/time-clock-mini-app": "npm:3.19.6"
"@walmart/time-clock-mini-app-next": "npm:3.0.0"
"@walmart/topstock-mini-app": "npm:1.27.1"
@@ -9317,12 +9317,12 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/taskit-mini-app@npm:5.42.30":
- version: 5.42.30
- resolution: "@walmart/taskit-mini-app@npm:5.42.30::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftaskit-mini-app%2F-%2F%40walmart%2Ftaskit-mini-app-5.42.30.tgz"
+"@walmart/taskit-mini-app@npm:5.42.31":
+ version: 5.42.31
+ resolution: "@walmart/taskit-mini-app@npm:5.42.31::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftaskit-mini-app%2F-%2F%40walmart%2Ftaskit-mini-app-5.42.31.tgz"
peerDependencies:
"@walmart/allspark-foundation": "*"
- checksum: 10c0/63f08383bf84eba4f7da6ef0fcc4e49770ceb6dfd0817003c34bd9af36edab215ccb3e6babcff7320cac4d531df404444d459eb114cdae9b9ca6739a1173715a
+ checksum: 10c0/e9f0acdd5f4c8193ab72e689fb1ca15c856d64fc7d6e435b9b327cf0b54e55fe4f0bf155545136d6f4b3391cc9316837a62841090d9b74d4d1fb0d260a4c31c5
languageName: node
linkType: hard
| feat: taskit version updated | feat: taskit version updated
|
710cae550086c4e52eea7962ac971d09e1b29d2b | --- .looper.multibranch.yml
@@ -56,7 +56,7 @@ envs:
- extras;android;m2repository
- extras;google;m2repository
- TARGET_XCODE: '14.2'
+ TARGET_XCODE: '14.1'
RCT_NO_LAUNCH_PACKAGER: true
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
EXTRA_PACKAGER_ARGS: '--sourcemap-output /tmp/index.ios.js.map'
| Update .looper.multibranch.yml | Update .looper.multibranch.yml |
6d3411b4c2081d4081bad87d52669917389383fa | --- __tests__/auth/__snapshots__/AuthenticatorViewTest.tsx.snap
@@ -160,7 +160,7 @@ exports[`AuthenticatorView renders error 1`] = `
}
>
App Version
- 0.0.4
+ 0.0.5
</Text>
</View>
`;
@@ -317,7 +317,7 @@ exports[`AuthenticatorView renders error 2`] = `
}
>
App Version
- 0.0.4
+ 0.0.5
</Text>
</View>
`;
--- android/app/build.gradle
@@ -134,8 +134,8 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 4
- versionName "0.0.4"
+ versionCode 5
+ versionName "0.0.5"
}
splits {
abi {
--- ios/AllSpark/Info.plist
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>0.0.4</string>
+ <string>0.0.5</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>4</string>
+ <string>5</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>invmgmt</string>
--- ios/AllSparkTests/Info.plist
@@ -15,10 +15,10 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
- <string>0.0.4</string>
+ <string>0.0.5</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>4</string>
+ <string>5</string>
</dict>
</plist>
--- package-lock.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "0.0.4",
+ "version": "0.0.5",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "0.0.4",
+ "version": "0.0.5",
"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",
| ask sam version bump (#229) | ask sam version bump (#229)
|
03cc9f9f49b429cffac8546a75916380776f5c38 | --- src/managerExperience/components/AllTeamsList/AllTeamsList.tsx
@@ -0,0 +1,84 @@
+import React from 'react';
+import {useTranslation} from 'react-i18next';
+import {useNavigation} from '@react-navigation/native';
+import {StackNavigationProp} from '@react-navigation/stack';
+import {ROSTER_I18N_NAMESPACE} from '../../../translations';
+import {View, SectionList, Text} from 'react-native';
+import {TeamListItem} from '@walmart/allspark-foundation/Components/TeamListItem';
+import {allTeamsListStyles as styles} from './styles';
+import {AllTeamsListProps} from './types';
+import {TextingNavParamsMap} from '../../../navigation';
+import {useDailyRoster} from '../../../hooks';
+
+export const AllTeamsList = ({
+ isLoading,
+ primaryTeam,
+ sections,
+ totalClockedInAssociates,
+ handleNavigation,
+}: AllTeamsListProps) => {
+ const {t} = useTranslation([ROSTER_I18N_NAMESPACE]);
+ const navigation = useNavigation<StackNavigationProp<TextingNavParamsMap>>();
+ const associateData = useDailyRoster();
+ const rosterData = associateData.data?.getDailyRoster || [];
+
+ const handleViewTotalStore = () => {
+ navigation.navigate('myTeam.viewTeam', {teamRoster: rosterData});
+ };
+
+ return (
+ <View style={{marginTop: 100}}>
+ <SectionList
+ style={styles.container}
+ sections={sections}
+ keyExtractor={(item, index) => item.teamName + index}
+ stickySectionHeadersEnabled={false}
+ ListHeaderComponent={
+ <>
+ <TeamListItem
+ iconType='navArrow'
+ isLastListItem
+ isLoading={isLoading}
+ subText={t('rosterScreen.teamListItem.clockedIn', {
+ count: totalClockedInAssociates,
+ })}
+ teamName={t('rosterScreen.storeChatCard.title')}
+ handlePress={handleViewTotalStore}
+ />
+ <View style={styles.separator} />
+ </>
+ }
+ renderSectionHeader={({section}) => (
+ <View>
+ {section.isPrimaryArea ? (
+ <View>
+ <Text style={styles.myArea}>
+ {t('rosterScreen.teamWorkgroup.myArea')}
+ </Text>
+ <Text style={styles.myAreaHeader}>{section.areaName}</Text>
+ </View>
+ ) : (
+ <Text style={styles.areaHeader}>{section.areaName}</Text>
+ )}
+ </View>
+ )}
+ renderItem={({item, index, section}) => (
+ <TeamListItem
+ key={`team-${item.teamName}`}
+ teamName={item.teamName}
+ isLastListItem={index === section.data.length - 1}
+ isPrimaryTeam={primaryTeam === item.teamName}
+ isLoading={isLoading}
+ primaryTeamText={t('rosterScreen.teamWorkgroup.myTeam')}
+ subText={t('rosterScreen.teamListItem.clockedIn', {
+ count: item.numberClockedIn,
+ })}
+ iconType='navArrow'
+ handlePress={() => handleNavigation(item.teamName)}
+ />
+ )}
+ ListFooterComponent={<View style={styles.bottomScreenPadding} />}
+ />
+ </View>
+ );
+};
--- src/managerExperience/components/AllTeamsList/index.ts
@@ -0,0 +1 @@
+export {AllTeamsList} from './AllTeamsList';
--- src/managerExperience/components/AllTeamsList/styles.tsx
@@ -0,0 +1,43 @@
+import {Dimensions, StyleSheet} from 'react-native';
+import {colors} from '@walmart/gtp-shared-components';
+
+export const allTeamsListStyles = StyleSheet.create({
+ separator: {
+ backgroundColor: colors.gray['5'],
+ height: 8,
+ width: Dimensions.get('window').width,
+ marginLeft: -16,
+ },
+ container: {
+ backgroundColor: colors.white,
+ display: 'flex',
+ flexDirection: 'column',
+ paddingHorizontal: 16,
+ },
+ myArea: {
+ fontFamily: 'Bogle-Regular',
+ fontWeight: '400',
+ fontSize: 12,
+ color: colors.gray['160'],
+ marginTop: 20,
+ },
+ myAreaHeader: {
+ fontFamily: 'Bogle-Bold',
+ fontSize: 16,
+ fontWeight: '700',
+ lineHeight: 24,
+ color: colors.gray['160'],
+ },
+ areaHeader: {
+ fontFamily: 'Bogle-Bold',
+ fontSize: 16,
+ fontWeight: '700',
+ lineHeight: 24,
+ color: colors.gray['160'],
+ marginTop: 24,
+ },
+ bottomScreenPadding: {
+ backgroundColor: colors.gray['5'],
+ height: 80,
+ },
+});
--- src/managerExperience/components/AllTeamsList/types.tsx
@@ -0,0 +1,18 @@
+export type TeamInfo = {
+ teamName: string;
+ numberClockedIn: number;
+};
+
+type Section = {
+ areaName: string | null;
+ data: TeamInfo[];
+ isPrimaryArea: boolean;
+};
+
+export interface AllTeamsListProps {
+ isLoading: boolean;
+ primaryTeam: string;
+ sections: Section[];
+ totalClockedInAssociates: number;
+ handleNavigation: (teamName: string) => void;
+}
| feat: created all teams list component | feat: created all teams list component
|
0206d301f1530b2811e81e931673b7e7e4d08569 | --- packages/allspark-authentication/CHANGELOG.md
@@ -0,0 +1,11 @@
+# Change Log
+
+All notable changes to this project will be documented in this file.
+See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+
+# 1.1.0 (2023-01-25)
+
+
+### Features
+
+* rename allspark app auth to allspark authentication ([148b4c3](https://gecgithub01.walmart.com/allspark/allspark-core-services/commit/148b4c30db46be7d6dc9b2adbfb40e8d39756cff))
--- packages/allspark-authentication/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-authentication",
- "version": "1.0.0",
+ "version": "1.1.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- packages/allspark-authentication/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-authentication",
- "version": "1.0.0",
+ "version": "1.1.0",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/allspark-graphql-client/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.1.3](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-graphql-client@1.1.2...@walmart/allspark-graphql-client@1.1.3) (2023-01-25)
+
+**Note:** Version bump only for package @walmart/allspark-graphql-client
+
+
+
+
+
## [1.1.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-graphql-client@1.1.1...@walmart/allspark-graphql-client@1.1.2) (2023-01-25)
**Note:** Version bump only for package @walmart/allspark-graphql-client
--- packages/allspark-graphql-client/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-graphql-client",
- "version": "1.1.2",
+ "version": "1.1.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- packages/allspark-graphql-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-graphql-client",
- "version": "1.1.2",
+ "version": "1.1.3",
"description": "> TODO: description",
"license": "ISC",
"main": "lib/index.js",
@@ -33,7 +33,7 @@
"dependencies": {
"@apollo/client": "^3.7.3",
"@lifeomic/axios-fetch": "3.0.1",
- "@walmart/allspark-http-client": "^2.2.2",
+ "@walmart/allspark-http-client": "^2.2.3",
"crypto-js": "^3.3.0",
"graphql": "^16.6.0"
},
--- packages/allspark-http-client/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.2.3](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-http-client@2.2.2...@walmart/allspark-http-client@2.2.3) (2023-01-25)
+
+
+### Bug Fixes
+
+* add handling for legacy respone and request interceptors on http client init ([8502d9b](https://gecgithub01.walmart.com/allspark/allspark/commit/8502d9bc68aa187b6c8b1de9976b3c2cf6d01c05))
+
+
+
+
+
## [2.2.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-http-client@2.2.1...@walmart/allspark-http-client@2.2.2) (2023-01-25)
--- packages/allspark-http-client/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-http-client",
- "version": "2.2.2",
+ "version": "2.2.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
--- packages/allspark-http-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-http-client",
- "version": "2.2.2",
+ "version": "2.2.3",
"description": "",
"author": "rlane1 <russell.lane@walmart.com>",
"license": "ISC",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-authentication@1.1.0
- @walmart/allspark-graphql-client@1.1.3
- @walmart/allspark-http-client@2.2.3
|
a09afc92b054c06ef28dda5b98ed7dad946d41e8 | --- .looper.yml
@@ -65,6 +65,7 @@ flows:
- (name Yarn Set Version) yarn set version 4.6.0
- (name Yarn Version) yarn --version
- (name Install Dependencies) yarn install
+ - (name Commit Lockfile Changes) git diff --quiet yarn.lock .yarnrc.yml || (git config user.email "svc-looper@walmart.com" && git config user.name "svc-looper" && git add yarn.lock .yarnrc.yml && git commit -m "chore: update lockfile from CI [skip ci]")
buildPackages:
- (name Build Packages) yarn run build
| fix: auto-commit lockfile changes in looper ci | fix: auto-commit lockfile changes in looper ci
|
f81983b4a6d8f6376a12bc49a092f87a3fd315ad | --- 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.1",
+ "@walmart/price-changes-mini-app": "1.15.2",
"@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
@@ -8378,7 +8378,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.1"
+ "@walmart/price-changes-mini-app": "npm:1.15.2"
"@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"
@@ -8807,9 +8807,9 @@ __metadata:
languageName: node
linkType: hard
-"@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"
+"@walmart/price-changes-mini-app@npm:1.15.2":
+ version: 1.15.2
+ resolution: "@walmart/price-changes-mini-app@npm:1.15.2::__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.2.tgz"
peerDependencies:
"@react-navigation/native": ">=6.0.0"
"@react-navigation/stack": ">=6.2.0"
@@ -8828,7 +8828,7 @@ __metadata:
redux-saga: ^1.1.3
reduxsauce: ^1.2.0
uuid: ^3.3.2
- checksum: 10c0/4960c3f415d1d56c23660567cebff18eae9019ad37a4abe3beef7203066ef1e54fc51f5385f7acf58ea58584fa7a339553dc2907e225a6546ecd69feec5fbe88
+ checksum: 10c0/d6d0583fd6ef0896f757a6a311f7de3e430c0140fc2ea746ca7907fbbfcb559f2124186a14b9625735df2c70636957c6ded6311a8edc386ad137f67f28a768e3
languageName: node
linkType: hard
| chore: PC version update | chore: PC version update
|
a0fc9671de70d1815c2ad4428c0439b779d01467 | --- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.26",
+ "version": "2.0.27",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/texting-mini-app",
- "version": "2.0.26",
+ "version": "2.0.27",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.8.4",
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.26",
+ "version": "2.0.27",
"private": false,
"main": "bundle/dist/index.js",
"files": [
--- src/screens/MessagesScreen.tsx
@@ -314,7 +314,7 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => {
await sendPushNotification(message);
}
- analytics('sendingMsg', {sentFrom: viewerId, store: storeId}, 1);
+ analytics('sendingMsg', {sentFrom: viewerId, store: storeId, message}, 10);
};
return (
--- src/screens/NewMessageScreen.tsx
@@ -64,7 +64,7 @@ export const NewMessageScreen: FC<NewMessageScreenProps> = () => {
});
// @ts-ignore
setFilteredData(matchingData);
- analytics('filterSearch', {}, 1);
+ analytics('filterSearch', {}, 10);
}
}, 200);
--- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.26",
+ "version": "2.0.27",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/texting-mini-app",
- "version": "2.0.26",
+ "version": "2.0.27",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.8.4",
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.26",
+ "version": "2.0.27",
"private": false,
"main": "bundle/dist/index.js",
"files": [
--- src/screens/MessagesScreen.tsx
@@ -314,7 +314,7 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => {
await sendPushNotification(message);
}
- analytics('sendingMsg', {sentFrom: viewerId, store: storeId}, 1);
+ analytics('sendingMsg', {sentFrom: viewerId, store: storeId, message}, 10);
};
return (
--- src/screens/NewMessageScreen.tsx
@@ -64,7 +64,7 @@ export const NewMessageScreen: FC<NewMessageScreenProps> = () => {
});
// @ts-ignore
setFilteredData(matchingData);
- analytics('filterSearch', {}, 1);
+ analytics('filterSearch', {}, 10);
}
}, 200);
| Update analytics | Update analytics
|
471035a462ccbbe6a0de286498302afaaf355879 | --- packages/me-at-walmart-common/__tests__/components/SidekickAssistantFAB.test.tsx
@@ -2,6 +2,7 @@ import React from 'react';
import {create, ReactTestRenderer} from 'react-test-renderer';
import {Pressable, Image} from 'react-native';
import {renderHook, act} from '@testing-library/react-hooks';
+import {StackActions} from '@react-navigation/native';
import {
SidekickAssistantFAB,
SIDEKICK_ASSISTANT_FAB_BOTTOM_INSETS,
@@ -25,6 +26,7 @@ jest.mock('react-native-reanimated', () => ({
jest.mock('@walmart/allspark-foundation/Navigation', () => ({
AllsparkNavigationClient: {
navigate: jest.fn(),
+ dispatch: jest.fn(),
},
}));
@@ -137,7 +139,7 @@ describe('SidekickAssistantFAB', () => {
pressable.props.onPress();
- expect(AllsparkNavigationClient.navigate).toHaveBeenCalledWith('askSam');
+ expect(AllsparkNavigationClient.dispatch).toHaveBeenCalledWith(StackActions.push('askSam'));
});
it('should have non-interactive pointer events when feature flag is disabled', () => {
--- packages/me-at-walmart-common/src/components/SidekickAssistantFAB/index.tsx
@@ -1,6 +1,7 @@
import React, {useCallback, useMemo, useRef, useEffect} from 'react';
import {createGlobalElement} from '@walmart/allspark-foundation/GlobalElements';
import {Pressable, Image, StyleSheet} from 'react-native';
+import {StackActions} from '@react-navigation/native';
import {AllsparkNavigationClient} from '@walmart/allspark-foundation/Navigation';
import {useTranslation} from 'react-i18next';
import {debounce} from 'lodash';
@@ -154,8 +155,8 @@ const SidekickAssistantFABComponent = () => {
const fabFeatureFlag = useFABFeatureFlag();
const navigateToAskSam = useCallback(() => {
- // Navigate to askSam screen when FAB is pressed
- AllsparkNavigationClient.navigate('askSam');
+ // Navigate to askSam screen when FAB is pressed using push navigation
+ AllsparkNavigationClient.dispatch(StackActions.push('askSam'));
}, []);
const handlePress = useMemo(
| feat(ui): ALLSPARK-0000 used push instead navigate for fab | feat(ui): ALLSPARK-0000 used push instead navigate for fab
|
b6bc3d99409bfae30457b482706d85de93ccc02b | --- src/storeInfo/StoreInfo.tsx
@@ -17,7 +17,7 @@ import {
} from '@walmart/gtp-shared-components';
import {useAllsparkTranslation} from '@walmart/allspark-foundation/Translation';
-import { Logger } from '../core/Logger';
+import {Logger} from '../core/Logger';
import {Images} from '../images';
import {StoreMap} from './StoreMap';
| lint fix | lint fix
|
ab226b5f7a110dbc1d699eb422333183843602ce | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.13.0",
+ "version": "1.13.0-alpha.1",
"main": "dist/index.js",
"files": [
"dist"
| update the changes for manager experience | update the changes for manager experience
|
01aca5dd98163bad57fe8b1703ae43390567c986 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.0",
+ "version": "2.0.2",
"private": false,
"main": "bundle/dist/index.js",
"files": [
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.0",
+ "version": "2.0.2",
"private": false,
"main": "bundle/dist/index.js",
"files": [
| Update package.json | Update package.json |
a346b9b135e2bcfc15144628e810a461ebe662b9 | --- src/translations/en-US.ts
@@ -86,6 +86,16 @@ export const enUS = {
cancel: 'Cancel',
send: 'Send',
requiredError: 'Please enter all requred fields',
+ issues: {
+ clockInOut: 'Clock-in/clock-out issue',
+ verification2Step: '2-step verification failure',
+ storeTrans: 'Store transfer issue',
+ newNo: 'New phone or new number',
+ noTextReceived: 'Didn’t receive text verification ',
+ noPushReceived: 'Can’t receive push notifications',
+ wiFi: 'Store Wi-Fi issue',
+ other: 'Other',
+ },
},
whatsNew: {
modalTitle: "What's new in Me@Walmart",
| add error category list in en-US | add error category list in en-US
|
d4d3ebf8088b66ec42e282ee3abb86c91cd99606 | --- android/app/src/main/java/com/walmart/stores/allspark/beta/MainApplication.kt
@@ -32,22 +32,22 @@ class MainApplication : PlatformCoreApplication(), ReactApplication {
// Packages that cannot be autolinked yet can be added manually here, for example:
// add(MyReactNativePackage())
}
-
+
override fun getJSMainModuleName(): String = "index"
-
+
override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG
-
+
override val isNewArchEnabled: Boolean = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED
override val isHermesEnabled: Boolean = BuildConfig.IS_HERMES_ENABLED
override fun getJSBundleFile(): String = CodePush.getJSBundleFile()
})
-
+
override val reactHost: ReactHost
get() = getDefaultReactHost(this.applicationContext, reactNativeHost)
-
+
override fun onCreate() {
- super.onCreate()
+ super.onCreate(null)
SoLoader.init(this, false)
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
// If you opted-in for the New Architecture, we load the native entry point for this app.
@@ -64,9 +64,9 @@ class MainApplication : PlatformCoreApplication(), ReactApplication {
ReactNativeFlipper.initializeFlipper(this, reactNativeHost.reactInstanceManager)
ApplicationLifecycleDispatcher.onApplicationCreate(this)
}
-
+
override fun onConfigurationChanged(newConfig: Configuration) {
super.onConfigurationChanged(newConfig)
ApplicationLifecycleDispatcher.onConfigurationChanged(this, newConfig)
}
-}
\ No newline at end of file
+}
| update MainApplication.kt | update MainApplication.kt
|
43390d4d98a8ff487a39d06242163b1f1822dda1 | --- package.json
@@ -91,7 +91,7 @@
"@walmart/avp-shared-library": "0.5.2",
"@walmart/backroom-mini-app": "1.1.10",
"@walmart/calling-mini-app": "0.2.38",
- "@walmart/checkout-mini-app": " 3.18.0",
+ "@walmart/checkout-mini-app": " 3.19.0",
"@walmart/compass-sdk-rn": "5.19.8",
"@walmart/config-components": "4.4.1",
"@walmart/copilot-mini-app": "3.92.14",
--- yarn.lock
@@ -5817,45 +5817,54 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/checkout-mini-app@npm: 3.18.0":
- version: 3.18.0
- resolution: "@walmart/checkout-mini-app@npm:3.18.0"
+"@walmart/checkout-mini-app@npm: 3.19.0":
+ version: 3.19.0
+ resolution: "@walmart/checkout-mini-app@npm:3.19.0"
dependencies:
"@stomp/stompjs": "npm:^7.0.0"
cpc-input: "npm:^1.7.28"
+ lodash: "npm:^4.17.21"
text-encoding: "npm:^0.7.0"
zustand: "npm:^4.3.9"
peerDependencies:
+ "@react-native-async-storage/async-storage": ">=1"
"@react-native-community/art": ^1.2.0
"@react-native-community/cli-platform-ios": ^11.3.6
- "@react-native-community/netinfo": ^5.9.7
+ "@react-native-community/netinfo": ">=11"
"@react-native-firebase/analytics": ^17.4.2
- "@react-native-firebase/app": ^17.4.2
+ "@react-native-firebase/app": "*"
"@react-native-firebase/crashlytics": ^17.4.2
"@react-native-firebase/database": ^17.4.2
"@react-native-firebase/firestore": ^17.4.2
- "@react-native-firebase/perf": 17.4.2
+ "@react-native-firebase/perf": ^17.4.2
"@react-navigation/native": ^6.0.0
- "@react-navigation/stack": ^6.1.0
- "@walmart/core-services": ^2.0.19
- "@walmart/functional-components": ^2.0.6
- "@walmart/gtp-shared-components": ^2.1.3
+ "@react-navigation/stack": ">=6"
+ "@walmart/allspark-authentication": "*"
+ "@walmart/allspark-foundation": "*"
+ "@walmart/allspark-utils": "*"
+ "@walmart/core-services": ">=2"
+ "@walmart/functional-components": ">=2"
+ "@walmart/gtp-shared-components": ">=2"
+ "@walmart/me-at-walmart-common": "*"
"@walmart/react-native-env": ^0.1.0
- "@walmart/react-native-scanner-3.0": ^0.1.32
- "@walmart/react-native-shared-navigation": ^1.0.2
- "@walmart/redux-store": ^3.1.3
- "@walmart/ui-components": ^1.10.0-rc.2
+ "@walmart/react-native-scanner-3.0": ">=0.3.0"
+ "@walmart/react-native-shared-navigation": ">=6"
+ "@walmart/redux-store": ">=3"
+ "@walmart/ui-components": ">=1"
+ graphql-tag: "*"
luxon: ">=1.26.0"
- react: 18.1.0
- react-dom: 18.1.0
+ react: ^18.2.0
+ react-dom: ^18.2.0
react-native: 0.70.9
- react-native-check-app-install: ^0.0.5
+ react-native-check-app-install: "*"
react-native-device-info: ^8.4.9
react-native-flipper: ^0.191.0
- react-native-wm-telemetry: ^0.3.0
- react-redux: ^7.2.1
+ react-native-safe-area-context: "*"
+ react-native-wm-network: "*"
+ react-native-wm-telemetry: ">=6"
+ react-redux: ^8.1.3
redux: ^4.0.5
- checksum: 10c0/ea4ea4e760ef095fdb117255677f2865cda486b67c092e1890e3cf3916d8899704051cbd5ada0b93b89a2f190eaa080e07d82219867f7570404fc6b9ec1ba929
+ checksum: 10c0/552e07bae9e6f71bcf977f815457466998dc2d9464d5d1c0249d22b699d57344e7de0f369dcc18aba1147f3bfabe670f9c1904476d334ecbc84b24fe964c807b
languageName: node
linkType: hard
@@ -7806,7 +7815,7 @@ __metadata:
"@walmart/avp-shared-library": "npm:0.5.2"
"@walmart/backroom-mini-app": "npm:1.1.10"
"@walmart/calling-mini-app": "npm:0.2.38"
- "@walmart/checkout-mini-app": "npm: 3.18.0"
+ "@walmart/checkout-mini-app": "npm: 3.19.0"
"@walmart/compass-sdk-rn": "npm:5.19.8"
"@walmart/config-components": "npm:4.4.1"
"@walmart/copilot-mini-app": "npm:3.92.14"
| checkout mini app drop23 | checkout mini app drop23
|
6907da543f0ff41387be79b15e9cd02310838b92 | --- lerna.json
@@ -1,5 +1,5 @@
{
- "version": "6.24.0",
+ "version": "6.23.0",
"npmClient": "yarn",
"changelogPreset": "angular",
"command": {
| chore: align packages to single drop based version | chore: align packages to single drop based version
|
4035f3e16c517d4d542c55efd9ff346174ed892c | --- __tests__/startup/AppFlowTest.ts
@@ -34,9 +34,11 @@ import {
captureMissedMiniAppEvents,
appFlow,
startupFlow,
+ BACKGROUND_TIMESTAMP,
} from '../../src/startup/AppFlow';
import {candidateStartupFlow} from '../../src/startup/CandidateStartup';
import {associateStartupFlow} from '../../src/startup/AssociateStartup';
+import {AllsparkLocalStorage} from '@walmart/allspark-foundation';
jest.mock('../../src/startup/AuthFlow', () => ({
waitForAuth: jest.fn(),
@@ -125,6 +127,7 @@ describe('appFlow', () => {
const startupTask = createMockTask();
const pinPromptTask = createMockTask();
const iterator = appFlow();
+ expect(iterator.next().value).toEqual(call(AllsparkLocalStorage.remove, BACKGROUND_TIMESTAMP));
expect(iterator.next().value).toEqual(fork(captureMissedMiniAppEvents));
expect(iterator.next(captureEventTask).value).toEqual(call(waitForAuth));
expect(iterator.next().value).toEqual(call(waitForUser));
@@ -138,6 +141,7 @@ describe('appFlow', () => {
expect(iterator.next().value).toEqual(cancel(captureEventTask));
expect(iterator.next().value).toEqual(take(SIGN_IN_PAGE_LOADED.type));
expect(resetTo).toHaveBeenCalledWith('Core.Login');
+ expect(iterator.next().value).toEqual(call(AllsparkLocalStorage.remove, BACKGROUND_TIMESTAMP));
expect(iterator.next().value).toEqual(fork(captureMissedMiniAppEvents));
expect(AuthService.signOut).toBeCalled();
});
@@ -149,6 +153,7 @@ describe('appFlow', () => {
const startupTask = createMockTask();
const pinPromptTask = createMockTask();
const iterator = appFlow();
+ expect(iterator.next().value).toEqual(call(AllsparkLocalStorage.remove, BACKGROUND_TIMESTAMP));
expect(iterator.next().value).toEqual(fork(captureMissedMiniAppEvents));
expect(iterator.next(captureEventTask).value).toEqual(call(waitForAuth));
expect(iterator.next().value).toEqual(call(waitForUser));
@@ -174,6 +179,7 @@ describe('appFlow', () => {
reason: signOutData.payload,
},
);
+ expect(iterator.next().value).toEqual(call(AllsparkLocalStorage.remove, BACKGROUND_TIMESTAMP));
expect(iterator.next().value).toEqual(fork(captureMissedMiniAppEvents));
expect(AuthService.signOut).toBeCalled();
});
--- src/startup/AppFlow.ts
@@ -37,6 +37,9 @@ import {waitForUser} from './UserFlow';
import {waitForAuth} from './AuthFlow';
import {candidateStartupFlow} from './CandidateStartup';
import {associateStartupFlow} from './AssociateStartup';
+import {AllsparkLocalStorage} from '@walmart/allspark-foundation';
+
+export const BACKGROUND_TIMESTAMP = 'backgroundInactivityTimestamp';
// @TODO - Have PTT remove network event listener. Setup another way.
// Have manager approval remove use of sign in action data and use selector
@@ -80,6 +83,9 @@ export function* startupFlow() {
export function* appFlow(): any {
while (true) {
+ // Clear background timer to avoid prompting for pin twice
+ yield call(AllsparkLocalStorage.remove, BACKGROUND_TIMESTAMP);
+
// Setup capture for sign in and get user events that need to be
// redispatched once mini apps are loaded
const captureEventTask: Task = yield fork(captureMissedMiniAppEvents);
| chore(ui): clear background timestamp on startup | chore(ui): clear background timestamp on startup
|
e02fec1355125a02c9dbc844f3cd9b9f1adb9ec8 | --- packages/allspark-build-cache-provider/package.json
@@ -14,13 +14,13 @@
"fs-extra": "^11.3.0",
"node-fetch": "^3.3.2",
"octokit": "^4.1.3",
+ "@octokit/rest": "^21.1.1",
"tar": "^7.4.3",
"uuid": "^11.1.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@expo/fingerprint": "~0.13.4",
- "@octokit/rest": "^21.1.1",
"@types/fs-extra": "^11.0.4",
"@types/react": "~19.0.10",
"@types/tar": "6.1.13",
@@ -39,4 +39,4 @@
"react": "19.x",
"react-native": "0.79.x"
}
-}
+}
\ No newline at end of file
| chore: add missing dependency on cache plugin | chore: add missing dependency on cache plugin
|
44680ca75525d3b4ea2bc66a8ca06aa06ffb65d3 | --- package.json
@@ -97,9 +97,9 @@
"@walmart/react-native-shared-navigation": "6.1.4",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "3.7.0",
- "@walmart/roster-mini-app": "2.8.3",
+ "@walmart/roster-mini-app": "2.9.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "2.5.4",
+ "@walmart/wmconnect-mini-app": "2.6.0",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
--- yarn.lock
@@ -6276,9 +6276,9 @@ __metadata:
"@walmart/react-native-shared-navigation": "npm:6.1.4"
"@walmart/react-native-sumo-sdk": "npm:2.6.0"
"@walmart/redux-store": "npm:3.7.0"
- "@walmart/roster-mini-app": "npm:2.8.3"
+ "@walmart/roster-mini-app": "npm:2.9.0"
"@walmart/ui-components": "npm:1.15.1"
- "@walmart/wmconnect-mini-app": "npm:2.5.4"
+ "@walmart/wmconnect-mini-app": "npm:2.6.0"
babel-jest: "npm:^29.2.1"
chance: "npm:^1.1.11"
eslint: "npm:8.22.0"
@@ -6458,9 +6458,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:2.8.3":
- version: 2.8.3
- resolution: "@walmart/roster-mini-app@npm:2.8.3"
+"@walmart/roster-mini-app@npm:2.9.0":
+ version: 2.9.0
+ resolution: "@walmart/roster-mini-app@npm:2.9.0"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6502,7 +6502,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/e1fbac2473dc447dca641b86db220f98e8f18c94aac7040f3a10f4d4b3661e6ecc666cba25ba8f6d6907536e503ccaa1e9658fe925626bca11cc011a55a9e78c
+ checksum: 10c0/7dec5c13de47b2491419e0dc5a0dad1868bc94359f8b418737793194f1ed8053469c7a0097abf9dcd555a9be5f81f84a8beefb347523f20a89dffe662c1863c6
languageName: node
linkType: hard
@@ -6526,9 +6526,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:2.5.4":
- version: 2.5.4
- resolution: "@walmart/wmconnect-mini-app@npm:2.5.4"
+"@walmart/wmconnect-mini-app@npm:2.6.0":
+ version: 2.6.0
+ resolution: "@walmart/wmconnect-mini-app@npm:2.6.0"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6568,7 +6568,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/7442a7563e90f10f0caff7d6b1e81c5801433abcd99ab69d0e84405bbb6c3ae3cc517333789abe61765aa6dddc231ce94dce03a9688f5f0c14c700a1e103a0c4
+ checksum: 10c0/6af9c5257a6a5e58388427a9ad8c27dc0de68a4fb54fcf085f010bf28d4b76f803e7ee45b2ae55b1eca98c534a810e00ceab92f7c4ecd56edc5b1e4ae3a9cb13
languageName: node
linkType: hard
| feat(ui): updated mini app versions | feat(ui): updated mini app versions
|
a83fefb34f89fde048b7e0d87cff014b248c2200 | --- src/myteam-hub/screens/MyTeamHubWithBanner.tsx
@@ -21,6 +21,9 @@ export const MyTeamHubWithBanner: React.FC = () => {
const navigation = useNavigation();
const {t} = translationClient.useTranslation();
+ // Use useLayoutEffect to synchronously set the header title.
+ // This prevents the title from flickering (showing the default value briefly) during screen transitions
+ // and ensures immediate updates when the user changes the language.
useLayoutEffect(() => {
navigation.setOptions({
title: t('myTeam.title', {
--- src/navigation/index.tsx
@@ -19,6 +19,9 @@ export const MyTeamMiniApp = () => {
const navigation = useNavigation();
const {t} = translationClient.useTranslation();
+ // Use useLayoutEffect to synchronously set the header title.
+ // This prevents the title from flickering (showing the default value briefly) during screen transitions
+ // and ensures immediate updates when the user changes the language.
useLayoutEffect(() => {
navigation.setOptions({
title: t('myTeam.title', {
| docs: add inline comments explaining useLayoutEffect for dynamic headers | docs: add inline comments explaining useLayoutEffect for dynamic headers
|
b2f526c8d66baa522e4dc035a6cb5ca3d5477c2c | --- .looper.codepush.yml
@@ -4,7 +4,7 @@ envs:
global:
variables:
APPCENTER_API_TOKEN_IOS: "%{credentials.secret('appcenter_iOS')}"
- APPCENTER_API_TOKEN_ANDROID: "%{credentials.secret('appcenter_android')}"
+ APPCENTER_API_TOKEN_ANDROID: "34c9f45a58379e5c5aedaee40e601821ea406443"
tools:
nodejs:
| updated key | updated key
|
bc17e27fa0751ecf5e69db39f675a5ee638fa4c7 | --- ios/Podfile
@@ -20,6 +20,7 @@ source 'git@gecgithub01.walmart.com:store-systems-associate-tech-platform/cocoap
source 'git@gecgithub01.walmart.com:ssaeSCTP/CocoaPodSpecs.git'
source 'https://github.com/CocoaPods/Specs.git'
+Pod::UI.puts "Flipper enabed: #{ENV['NO_FLIPPER'] == '1' ? 'false' : 'true'}"
# production = ENV["PRODUCTION"] == "1"
target 'AllSpark' do
--- ios/Podfile.lock
@@ -1285,6 +1285,6 @@ SPEC CHECKSUMS:
Yoga: eca980a5771bf114c41a754098cd85e6e0d90ed7
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
-PODFILE CHECKSUM: fd63534084fcc44d06a620c879f1221f878b6231
+PODFILE CHECKSUM: a7616167e9ebf9afc799d12280a050c2d3a91414
COCOAPODS: 1.11.3
--- react-native.config.js
@@ -4,7 +4,9 @@ module.exports = {
android: {},
},
dependencies: {
- ...(process.CI ? {'react-native-flipper': {platforms: {ios: null}}} : {}),
+ ...(process.env.NO_FLIPPER
+ ? {'react-native-flipper': {platforms: {ios: null}}}
+ : {}),
},
assets: ['node_modules/@walmart/ui-components/assets'],
};
| fix: testing flipper ci changes | fix: testing flipper ci changes
|
b5711dee9823227499ace29fe9f5a0941c901ac3 | --- android/app/build.gradle
@@ -131,7 +131,7 @@ android {
}
lintOptions {
checkReleaseBuilds false
- //NOTE:This needs to addressed probably from SSO side. Adding this for future ref.
+ //NOTE: This needs to be addressed probably from the SSO side. Adding this for future ref.
abortOnError false
}
| Update android/app/build.gradle | Update android/app/build.gradle |
3636d4075171752a2ca05608298f753ef5d9df92 | --- src/managerExperience/components/RosterWidget/index.ts
@@ -1 +1 @@
-export {RosterWidget} from './RosterWidget';
\ No newline at end of file
+export {RosterWidget} from './RosterWidget';
| feat(ui): add roster widget | feat(ui): add roster widget
|
17ea3513834cf94c69c166be8ef5200a9ede2283 | --- packages/allspark-graphql-client/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.4.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-graphql-client@1.3.6...@walmart/allspark-graphql-client@1.4.0) (2023-03-13)
+
+
+### Features
+
+* add option to disable persisted queries link ([91b8cce](https://gecgithub01.walmart.com/allspark/allspark/commit/91b8ccec6883a91fcd51063fce62419500916e20))
+
+
+
+
+
## [1.3.6](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-graphql-client@1.3.5...@walmart/allspark-graphql-client@1.3.6) (2023-03-10)
--- packages/allspark-graphql-client/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-graphql-client",
- "version": "1.3.6",
+ "version": "1.4.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- packages/allspark-graphql-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-graphql-client",
- "version": "1.3.6",
+ "version": "1.4.0",
"description": "> TODO: description",
"license": "ISC",
"main": "lib/index.js",
--- packages/core-services-allspark/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [2.9.0](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@2.8.6...@walmart/core-services-allspark@2.9.0) (2023-03-13)
+
+
+### Bug Fixes
+
+* add graphql to athena uri extension ([8bfcee6](https://gecgithub01.walmart.com/allspark/allspark-core-services/commit/8bfcee6fa24d0d5dfaeeaec61f3262d8a864f379))
+
+
+### Features
+
+* change athena env config for more options. update logic to enable persisted queries ([c3a2172](https://gecgithub01.walmart.com/allspark/allspark-core-services/commit/c3a2172e9c40248df2718385f5ff1c88c51ce278))
+
+
+
+
+
## [2.8.6](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@2.8.5...@walmart/core-services-allspark@2.8.6) (2023-03-10)
**Note:** Version bump only for package @walmart/core-services-allspark
--- packages/core-services-allspark/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "2.8.6",
+ "version": "2.9.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- packages/core-services-allspark/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "2.8.6",
+ "version": "2.9.0",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -23,11 +23,11 @@
"author": "",
"license": "ISC",
"dependencies": {
- "@walmart/allspark-graphql-client": "^1.3.6",
+ "@walmart/allspark-graphql-client": "^1.4.0",
"@walmart/allspark-http-client": "^2.4.8",
"@walmart/allspark-utils": "^1.5.1",
"@walmart/core-services": "^2.0.13",
- "@walmart/me-at-walmart-athena-queries": "^1.1.1",
+ "@walmart/me-at-walmart-athena-queries": "^1.1.2",
"crypto-js": "~4.1.1",
"jwt-decode": "^3.1.2",
"luxon": "^2.4.0",
--- packages/me-at-walmart-athena-queries/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.1.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@1.1.1...@walmart/me-at-walmart-athena-queries@1.1.2) (2023-03-13)
+
+
+### Bug Fixes
+
+* add id type and user id default to get associate by id query ([1cc50c2](https://gecgithub01.walmart.com/allspark/allspark/commit/1cc50c25577c7674b843da4f1ddf1b6a689d3778))
+
+
+
+
+
## [1.1.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@1.1.0...@walmart/me-at-walmart-athena-queries@1.1.1) (2023-03-10)
**Note:** Version bump only for package @walmart/me-at-walmart-athena-queries
--- packages/me-at-walmart-athena-queries/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-athena-queries",
- "version": "1.1.1",
+ "version": "1.1.2",
"description": "> TODO: description",
"author": "rlane1 <russell.lane@walmart.com>",
"homepage": "",
@@ -26,6 +26,6 @@
"clean": "rm -rf lib/ || true"
},
"dependencies": {
- "@walmart/allspark-graphql-client": "^1.3.6"
+ "@walmart/allspark-graphql-client": "^1.4.0"
}
}
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-graphql-client@1.4.0
- @walmart/core-services-allspark@2.9.0
- @walmart/me-at-walmart-athena-queries@1.1.2
|
c47bd35d8b6f54a3e5980e12b22dac933adc160e | --- package.json
@@ -117,7 +117,7 @@
"@walmart/me-at-walmart-athena-queries": "6.1.4",
"@walmart/me-at-walmart-common": "6.1.4",
"@walmart/me-at-walmart-container": "6.1.4",
- "@walmart/metrics-mini-app": "1.23.2",
+ "@walmart/metrics-mini-app": "1.23.3",
"@walmart/mod-flex-mini-app": "1.18.5",
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "0.1.6",
--- yarn.lock
@@ -6508,9 +6508,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/metrics-mini-app@npm:1.23.2":
- version: 1.23.2
- resolution: "@walmart/metrics-mini-app@npm:1.23.2"
+"@walmart/metrics-mini-app@npm:1.23.3":
+ version: 1.23.3
+ resolution: "@walmart/metrics-mini-app@npm:1.23.3"
dependencies:
base-64: "npm:^1.0.0"
peerDependencies:
@@ -6535,7 +6535,7 @@ __metadata:
react-native: 0.73.7
react-redux: ">=8.0.4"
reduxsauce: ">=1.2.0"
- checksum: 10c0/69def61d1734eacf65abc63bff9526442823fb664a14b49e0ab7fa70c39ada62a9a55aedaa5b1a0b9a310d04b3b366473fca489c56a50b232606f744258117f9
+ checksum: 10c0/f834f3f5de03dff7ceecce6391ca6595312f5e60d40252e33a4a5a688c2a511ad5715585a6694a674afdcc6ca1ee3fbb21da27aed89ddfb5bb69a4bf0fff52d8
languageName: node
linkType: hard
@@ -7833,7 +7833,7 @@ __metadata:
"@walmart/me-at-walmart-athena-queries": "npm:6.1.4"
"@walmart/me-at-walmart-common": "npm:6.1.4"
"@walmart/me-at-walmart-container": "npm:6.1.4"
- "@walmart/metrics-mini-app": "npm:1.23.2"
+ "@walmart/metrics-mini-app": "npm:1.23.3"
"@walmart/mod-flex-mini-app": "npm:1.18.5"
"@walmart/moment-walmart": "npm:1.0.4"
"@walmart/money-auth-shared-components": "npm:0.1.6"
| Bumping metrics mini app version to 1.23.3 | Bumping metrics mini app version to 1.23.3
|
51e4a1f272842a506000f55556c590d729945810 | --- packages/allspark-utils/src/Layout.tsx
@@ -8,13 +8,15 @@ import {
} from 'react-native';
import { AnyObject } from './types';
-export type LayoutConfig = {
+export type LayoutColumnConfig = {
componentId: string;
width?: number;
};
+export type LayoutConfig = LayoutColumnConfig[][];
+
export type LayoutProps<P extends any> = {
- layout: LayoutConfig[][];
+ layout: LayoutConfig;
config: Record<string, ComponentType<P>>;
props: P;
scrollable?: boolean;
| fix: export layout config | fix: export layout config
|
460a363f67dbd1a3836b17cc6fb6f8317981256d | --- src/navigation/index.tsx
@@ -7,6 +7,7 @@ import {RosterScreen} from '../screens/RosterScreen';
import {ROSTER_I18N_NAMESPACE} from '../translations';
import {useTranslation} from 'react-i18next';
import {SearchHeader, SearchHeaderRight} from '../components/SearchHeader';
+import { ViewTeamScreen } from "../screens/ViewTeamScreen";
const RosterStack = createStackNavigator<TextingNavParamsMap>();
@@ -31,6 +32,14 @@ export const RosterNavigation = () => {
}}
component={RosterScreen}
/>
+ <RosterStack.Screen
+ name='myTeam.viewTeam'
+ options={{
+ presentation: 'transparentModal',
+ title: t('tabsScreen.rosterTab')!,
+ }}
+ component={ViewTeamScreen}
+ />
<RosterStack.Screen
name='myTeam.searchScreen'
options={{
| fix viewTeam link | fix viewTeam link
|
cc54e58aff889820c2eb3fca0ac7bcba2a4c611f | --- package-lock.json
@@ -64,7 +64,7 @@
"@walmart/pay-stub-miniapp": "0.9.7",
"@walmart/payrollsolution_miniapp": "0.130.4",
"@walmart/price-changes-mini-app": "1.6.8",
- "@walmart/profile-feature-app": "0.74.0",
+ "@walmart/profile-feature-app": "0.76.0",
"@walmart/push-to-talk-mini-app": "1.8.29",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
@@ -5554,9 +5554,9 @@
}
},
"node_modules/@walmart/profile-feature-app": {
- "version": "0.74.0",
- "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.74.0.tgz",
- "integrity": "sha512-zPYdWFZ02Sj7v+vAnjbVMFbTFFntkCEIjhzbWHds/D8MKqpwJuEdU0jPgNWjmX4hjNqhdCwu+OAf3fVDWB5JZA==",
+ "version": "0.76.0",
+ "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.76.0.tgz",
+ "integrity": "sha512-P4fXm0HihY3jsOkUX7ZVICRiLOUIDo16FVOZHeie7o611ZmslNScFNWwuzEcFulKsLRq4jSU+XQKrOlUqQlW2g==",
"peerDependencies": {
"@react-navigation/bottom-tabs": "^6.0.0",
"@react-navigation/material-top-tabs": "^6.0.0",
@@ -24955,9 +24955,9 @@
"integrity": "sha512-QeyofnB0FQn6PBgtEDp9fd9JkOD6c26ik4fNpcg6HS88oj2cNEabqsvpNL5vmRgEv48ZvhfsJWua5aP5wB6dzg=="
},
"@walmart/profile-feature-app": {
- "version": "0.74.0",
- "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.74.0.tgz",
- "integrity": "sha512-zPYdWFZ02Sj7v+vAnjbVMFbTFFntkCEIjhzbWHds/D8MKqpwJuEdU0jPgNWjmX4hjNqhdCwu+OAf3fVDWB5JZA=="
+ "version": "0.76.0",
+ "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.76.0.tgz",
+ "integrity": "sha512-P4fXm0HihY3jsOkUX7ZVICRiLOUIDo16FVOZHeie7o611ZmslNScFNWwuzEcFulKsLRq4jSU+XQKrOlUqQlW2g=="
},
"@walmart/push-to-talk-mini-app": {
"version": "1.8.29",
--- package.json
@@ -106,7 +106,7 @@
"@walmart/pay-stub-miniapp": "0.9.7",
"@walmart/payrollsolution_miniapp": "0.130.4",
"@walmart/price-changes-mini-app": "1.6.8",
- "@walmart/profile-feature-app": "0.74.0",
+ "@walmart/profile-feature-app": "0.76.0",
"@walmart/push-to-talk-mini-app": "1.8.29",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
| Bump profile feature app version | Bump profile feature app version
|
7548754df789d627bbafa484257ff154153bc56f | --- ios/AllSpark/Info.plist
@@ -35,6 +35,12 @@
</array>
<key>CFBundleVersion</key>
<string>1</string>
+ <key>LSApplicationQueriesSchemes</key>
+ <array>
+ <string>invmgmt</string>
+ <string>awb</string>
+ <string>awbs</string>
+ </array>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
--- package.json
@@ -34,7 +34,7 @@
"@react-navigation/stack": "^5.9.0",
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": "^4.14.159",
- "@walmart/ask-sam-mini-app": "^0.4.1",
+ "@walmart/ask-sam-mini-app": "^0.5.0",
"@walmart/gtp-shared-components": "^0.1.3",
"@walmart/react-native-shared-navigation": "^0.2.0",
"@walmart/redux-store": "0.1.1",
| Update ask sam version, add application queries schemes | Update ask sam version, add application queries schemes
|
c4fb74e12475c1b17b9ba3ce80c6ef6f11bb1e52 | --- targets/US/package.json
@@ -147,7 +147,7 @@
"@walmart/shop-gnfr-mini-app": "1.0.137",
"@walmart/sidekick-mini-app": "4.84.14",
"@walmart/store-feature-orders": "1.27.1",
- "@walmart/taskit-mini-app": "5.8.12",
+ "@walmart/taskit-mini-app": "5.8.14",
"@walmart/time-clock-mini-app": "2.448.1",
"@walmart/topstock-mini-app": "1.19.4",
"@walmart/translator-mini-app": "1.3.7",
--- yarn.lock
@@ -7349,7 +7349,7 @@ __metadata:
"@walmart/shop-gnfr-mini-app": "npm:1.0.137"
"@walmart/sidekick-mini-app": "npm:4.84.14"
"@walmart/store-feature-orders": "npm:1.27.1"
- "@walmart/taskit-mini-app": "npm:5.8.12"
+ "@walmart/taskit-mini-app": "npm:5.8.14"
"@walmart/time-clock-mini-app": "npm:2.448.1"
"@walmart/topstock-mini-app": "npm:1.19.4"
"@walmart/translator-mini-app": "npm:1.3.7"
@@ -8283,12 +8283,12 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/taskit-mini-app@npm:5.8.12":
- version: 5.8.12
- resolution: "@walmart/taskit-mini-app@npm:5.8.12"
+"@walmart/taskit-mini-app@npm:5.8.14":
+ version: 5.8.14
+ resolution: "@walmart/taskit-mini-app@npm:5.8.14"
peerDependencies:
"@walmart/allspark-foundation": "*"
- checksum: 10c0/1596f6eb7b19c7c55bdbe334f4aba8b8b89746fb84b6dd664c26273008f04d975cac06f82456ea4733f09b461a13942731b2c6927d1c91644cadd66489071945
+ checksum: 10c0/c0f69a33c7337da332fa50b536c26178bfe8b3757799b6248d5dc0cdec8188f76bd9e2782645b24b03cbe797eb183f0e4cb644a1dd5898091ae0b2a7002dc48d
languageName: node
linkType: hard
| chore: bump taskit-mini-app@5.8.14 | chore: bump taskit-mini-app@5.8.14
|
94c95132a05ac8196cf195d29a44a785ed457904 | --- package-lock.json
@@ -4263,7 +4263,7 @@
"@walmart/gtp-shared-components": {
"version": "1.2.0",
"resolved": "https://npme.walmart.com/@walmart/gtp-shared-components/-/gtp-shared-components-1.2.0.tgz",
- "integrity": "sha1-uZ6zL5R12W20AFyA5eFskWpu0Iw=",
+ "integrity": "sha512-OxDrYdXQeR22V+aTBNqQHRJFyIOlOkp2erG4KS+0lEWWve1EApNHNyPgIbFQbydtWn1rybwFossRsVszkr2XKQ==",
"requires": {
"@react-native-community/datetimepicker": "^3.0.8",
"@react-native-community/picker": "^1.6.5",
@@ -4282,9 +4282,9 @@
"integrity": "sha512-Vpwrt460LPca7ZGjDrDezorVnr+WebRntHaUGkAhIDVVfna0P3wyJcRnr18/hged+q/3f6NmYfZgB3ZaGxGlgg=="
},
"@walmart/inbox-mini-app": {
- "version": "0.34.0",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.34.0.tgz",
- "integrity": "sha512-og846yzKPAmBpwy0FEuML99W+HDc3szdkSmYC+M9QcKREDO2/V6I2LZ8+/YH1BZFwy8iZjbBi9/WIaMm+r4hPA=="
+ "version": "0.34.0-beta.3",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.34.0-beta.3.tgz",
+ "integrity": "sha512-Sqp+rKfZGG07GlDTMeoptMzwY2PqKgQZ6mYe/yaFdMeZEGOEXsJ4yc9O6eYaRMQ2xnbPRF6cti2D4YMY5v8d9w=="
},
"@walmart/iteminfo-mini-app": {
"version": "4.1.3",
--- package.json
@@ -84,7 +84,7 @@
"@walmart/gtp-shared-components": "1.2.0",
"@walmart/impersonation-mini-app": "1.0.27",
"@walmart/ims-print-services-ui": "0.1.22",
- "@walmart/inbox-mini-app": "0.34.0",
+ "@walmart/inbox-mini-app": "0.34.0-beta.3",
"@walmart/iteminfo-mini-app": "4.1.3",
"@walmart/manager-approvals-miniapp": "0.0.59",
"@walmart/metrics-mini-app": "0.7.65",
| adding header to generic message | adding header to generic message
|
d2e97d6378c2b298b8a7b1ed7b0a9c821dd60022 | --- src/index.tsx
@@ -2,13 +2,11 @@ import React, { ComponentType } from 'react';
import * as SplashScreen from 'expo-splash-screen';
import {MeAtWalmartContainer} from '@walmart/me-at-walmart-container';
-import {AllsparkReduxStore} from '@walmart/allspark-foundation/Redux';
import { useFonts } from 'expo-font';
import {MeAtWalmartComponents} from '@/components';
import {
getLibraryData,
- legacyVersionsReducer,
CONTAINER_VERSION,
} from '@/versions';
import { CoreSetup } from '@/setup';
@@ -25,9 +23,6 @@ export const createApp = (): ComponentType => {
libraries: getLibraryData(),
});
- // @TODO - move to normal feature module if no longer nesting Target projects
- AllsparkReduxStore.addReducer('versions', legacyVersionsReducer);
-
CoreSetup.preRegister();
const App = () => {
--- src/manifest.ts
@@ -21,6 +21,7 @@ export const getRootFeatures = (): AllsparkFeatureModule[] => {
require("./updates").UpdateCheckFeature,
require("./core").CommonFeatures,
require("./startup").StartupFeature,
+ require("./versions").LegacyVersionsFeature,
];
// Me@Walmart US Only Root Features
--- src/versions.ts
@@ -1,4 +1,7 @@
-import { AllsparkEnvironment } from "@walmart/allspark-foundation";
+import {
+ AllsparkEnvironment,
+ AllsparkFeatureModule,
+} from "@walmart/allspark-foundation";
import packageJson from "../package.json";
export const CONTAINER_VERSION = packageJson.version;
@@ -100,3 +103,10 @@ export const getVersionSectionList = () => {
// @backwards-compatability - Version data added to AllsparkEnvironment
export const legacyVersionsReducer = (state: any) =>
state || getVersionSectionList();
+
+export const LegacyVersionsFeature = new AllsparkFeatureModule("versions", {
+ name: "Legacy Versions",
+ redux: {
+ reducer: legacyVersionsReducer,
+ },
+});
| refactor: move legacy versions to feature module | refactor: move legacy versions to feature module
|
48a1c63fd5cbf3ffe24718efc83777394f73b22a | --- package-lock.json
@@ -59,7 +59,7 @@
"@walmart/manager-approvals-miniapp": "0.1.2",
"@walmart/me-field-mini-app": "1.1.45",
"@walmart/metrics-mini-app": "0.9.38",
- "@walmart/mod-flex-mini-app": "1.4.4",
+ "@walmart/mod-flex-mini-app": "1.4.5",
"@walmart/moment-walmart": "1.0.4",
"@walmart/onewalmart-miniapp": "1.0.14",
"@walmart/pay-stub-miniapp": "0.9.28",
@@ -5576,9 +5576,9 @@
"license": "MIT"
},
"node_modules/@walmart/mod-flex-mini-app": {
- "version": "1.4.4",
- "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.4.4.tgz",
- "integrity": "sha512-uKSPrBWdS4Lg4LENwXvfPKrAhDbqYYrJs8zODwNKnllHdvPPvkWduiQzwaCbwt5AheXiodXdFjkhCe1hdinJkg==",
+ "version": "1.4.5",
+ "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.4.5.tgz",
+ "integrity": "sha512-hK0Hk5TXe9x0GZCiN+iumzYbcbMDS8pilba3STZdhRbZqJkQ5EYJCDo06uk+bOLvMK6wE0pUygX218Cdi7OrnA==",
"peerDependencies": {
"@react-native-community/async-storage": "^1.11.0",
"@react-native-picker/picker": "^2.4.2",
@@ -5586,26 +5586,29 @@
"@react-navigation/material-top-tabs": "^6.1.0",
"@react-navigation/native": "^6.0.0",
"@react-navigation/stack": "^6.1.0",
- "@walmart/functional-components": "^1.0.27",
- "@walmart/gtp-shared-components": "^1.8.5",
- "@walmart/ims-print-services-ui": "^1.1.1",
- "@walmart/react-native-env": "^0.1.0",
+ "@walmart/core-services-allspark": "^1.3.1",
+ "@walmart/functional-components": "^2.0.2",
+ "@walmart/gtp-shared-components": "^2.0.0",
+ "@walmart/ims-print-services-ui": "^1.2.0",
+ "@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.25.0",
"@walmart/react-native-scanner-3.0": "^0.1.2-3.toggle.beta.1",
- "@walmart/react-native-shared-navigation": "^0.4.0",
- "@walmart/redux-store": "^1.0.12",
+ "@walmart/react-native-shared-navigation": "^1.0.2",
+ "@walmart/react-native-sumo-sdk": "^2.2.2-beta.2",
+ "@walmart/redux-store": "^2.0.4",
"@walmart/ui-components": "^1.3.0-rc.14",
- "axios": "^0.19.2",
"crypto-js": "^4.0.0",
"i18next": "^20.2.2",
"lodash": "^4.17.20",
"react": "*",
"react-i18next": "^11.7.3",
"react-native": "*",
+ "react-native-app-auth": "^6.4.3",
"react-native-blob-util": "^0.13.14",
"react-native-device-info": "^5.6.5",
"react-native-gesture-handler": "^1.7.0",
"react-native-get-random-values": "^1.5.1",
+ "react-native-haptic-feedback": "^1.14.0",
"react-native-image-pan-zoom": "^2.1.12",
"react-native-pdf": "^6.4.0",
"react-native-reanimated": "^1.10.2",
@@ -5615,12 +5618,15 @@
"react-native-tab-view": "^3.1.1",
"react-native-vector-icons": "^7.0.0",
"react-native-webview": "^11.18.2",
+ "react-native-wm-notification": "^2.0.1",
"react-native-wm-telemetry": "^0.3.0",
"react-redux": "^7.2.1",
"redux": "^4.0.5",
"redux-saga": "^1.1.3",
"redux-thunk": "^2.3.0",
- "uuid": "^3.3.2"
+ "seamless-immutable": "^7.1.4",
+ "uuid": "^3.3.2",
+ "wifi-store-locator": "^1.0.0-alpha2"
}
},
"node_modules/@walmart/moment-walmart": {
@@ -25371,9 +25377,9 @@
}
},
"@walmart/mod-flex-mini-app": {
- "version": "1.3.15",
- "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.3.15.tgz",
- "integrity": "sha512-xYHPlzU/mRbZB9E5T0JLBMwnaLoVpyST60hayRXbqp4RdP1S/650gVBz7zlpWcwF5fC1ibest4/II0AUP84RsA=="
+ "version": "1.4.5",
+ "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.4.5.tgz",
+ "integrity": "sha512-hK0Hk5TXe9x0GZCiN+iumzYbcbMDS8pilba3STZdhRbZqJkQ5EYJCDo06uk+bOLvMK6wE0pUygX218Cdi7OrnA=="
},
"@walmart/moment-walmart": {
"version": "1.0.4",
--- package.json
@@ -101,7 +101,7 @@
"@walmart/manager-approvals-miniapp": "0.1.2",
"@walmart/me-field-mini-app": "1.1.45",
"@walmart/metrics-mini-app": "0.9.38",
- "@walmart/mod-flex-mini-app": "1.4.4",
+ "@walmart/mod-flex-mini-app": "1.4.5",
"@walmart/moment-walmart": "1.0.4",
"@walmart/onewalmart-miniapp": "1.0.14",
"@walmart/pay-stub-miniapp": "0.9.28",
| updating modflex to 1.4.5 | updating modflex to 1.4.5
|
5f5e8fd189d31b4b528baf8dbc33a526fb1feccd | --- .yarn/patches/@walmart-react-native-webex-sdk-npm-0.6.89-6c8a310254.patch
@@ -0,0 +1,42 @@
+diff --git a/ios/CallingSdk_Utils.h b/ios/CallingSdk_Utils.h
+index 219e7b2675fabb2532c018fa2015502d2d1a0e2d..d0382e700a1124b69f51409bd631b74e7e34dc92 100644
+--- a/ios/CallingSdk_Utils.h
++++ b/ios/CallingSdk_Utils.h
+@@ -1,6 +1,6 @@
+ #import <Foundation/Foundation.h>
+ #import <React/RCTBridge.h>
+-#import <SumoSDK-Swift.h>
++#import <SumoSDK/SumoSDK-Swift.h>
+
+ @interface CallingSDK_Utils : NSObject
+
+diff --git a/ios/CallingSdk_Utils.m b/ios/CallingSdk_Utils.m
+index 464a63ffd903b898d8dfa3d7b4daf63891d11a95..b596924dcbc5c979a864a0e446dcbdbfee320f5e 100644
+--- a/ios/CallingSdk_Utils.m
++++ b/ios/CallingSdk_Utils.m
+@@ -1,10 +1,10 @@
+ #import "CallingSdk_Utils.h"
+-#import <SumoSDK-Swift.h>
++#import <SumoSDK/SumoSDK-Swift.h>
+ #import <React/RCTBridge.h>
+ #import <React/RCTConvert.h>
+ #import <React/RCTEventDispatcher.h>
+ #import "ConnectionModule.h"
+-#import "react_native_webex_sdk-Swift.h"
++#import <react_native_webex_sdk/react_native_webex_sdk-Swift.h>
+
+
+ @implementation CallingSDK_Utils
+diff --git a/ios/ConnectionModule.m b/ios/ConnectionModule.m
+index 353f1f909d03f6ae260725db38196656c7051fdc..a32033cb2e2aa5c4b2fe7e85ea2fa45983956089 100644
+--- a/ios/ConnectionModule.m
++++ b/ios/ConnectionModule.m
+@@ -17,7 +17,7 @@
+
+ #import <AVFoundation/AVAudioSession.h>
+ #import <CallKit/CallKit.h>
+-#import "react_native_webex_sdk-Swift.h"
++#import <react_native_webex_sdk/react_native_webex_sdk-Swift.h>
+
+ #ifdef DEBUG
+ static int const OUTGOING_CALL_WAKEUP_DELAY = 10;
--- package.json
@@ -119,7 +119,7 @@
"@walmart/react-native-shared-navigation": "~6.3.28",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.7.4-beta.1",
- "@walmart/react-native-webex-sdk": "0.6.89",
+ "@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.6.89#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.6.89-6c8a310254.patch",
"@walmart/receipt-check-miniapp": "1.24.2",
"@walmart/redux-store": "~6.3.28",
"@walmart/returns-mini-app": "4.15.0",
--- yarn.lock
@@ -6937,7 +6937,7 @@ __metadata:
"@walmart/react-native-shared-navigation": "npm:~6.3.28"
"@walmart/react-native-store-map": "npm:0.3.7"
"@walmart/react-native-sumo-sdk": "npm:2.7.4-beta.1"
- "@walmart/react-native-webex-sdk": "npm:0.6.89"
+ "@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.6.89#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.6.89-6c8a310254.patch"
"@walmart/receipt-check-miniapp": "npm:1.24.2"
"@walmart/redux-store": "npm:~6.3.28"
"@walmart/returns-mini-app": "npm:4.15.0"
@@ -7537,6 +7537,17 @@ __metadata:
languageName: node
linkType: hard
+"@walmart/react-native-webex-sdk@patch:@walmart/react-native-webex-sdk@npm%3A0.6.89#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.6.89-6c8a310254.patch":
+ version: 0.6.89
+ resolution: "@walmart/react-native-webex-sdk@patch:@walmart/react-native-webex-sdk@npm%3A0.6.89#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.6.89-6c8a310254.patch::version=0.6.89&hash=0650b4"
+ peerDependencies:
+ react: "*"
+ react-native: "*"
+ react-native-logger: "*"
+ checksum: 10c0/3a76a96b09ff4f44a36c6b00442bfcc426444a65eadf5c5069bc567bd4e344b43e05f5c5241eb31e9a7f77bd63f2ed6eaa542ead74ebbe74fa18a86dbf8e3745
+ languageName: node
+ linkType: hard
+
"@walmart/receipt-check-miniapp@npm:1.24.2":
version: 1.24.2
resolution: "@walmart/receipt-check-miniapp@npm:1.24.2"
| fix: webex sdk ios patch to fix file not found errors | fix: webex sdk ios patch to fix file not found errors
|
ef6a296cb6454046c748ed254d019f6577b6df2c | --- Gemfile.lock
@@ -1,5 +1,5 @@
GEM
- remote: https://repository.walmart.com/content/repositories/rubygems/
+ remote: https://rubygems.org/
specs:
CFPropertyList (3.0.3)
addressable (2.7.0)
| updating ruby gems remote | updating ruby gems remote
|
edf664819e78fd87bd1f1b8f6b7fef32d6bb5101 | --- package.json
@@ -161,7 +161,7 @@
"@walmart/sidekick-mini-app": "4.231.0",
"@walmart/store-feature-orders": "1.34.7",
"@walmart/talent-preboarding-mini-app": "1.0.48",
- "@walmart/taskit-mini-app": "5.42.39",
+ "@walmart/taskit-mini-app": "5.42.40",
"@walmart/time-clock-mini-app": "3.19.6",
"@walmart/time-clock-mini-app-next": "3.0.0",
"@walmart/topstock-mini-app": "1.27.1",
--- yarn.lock
@@ -8402,7 +8402,7 @@ __metadata:
"@walmart/sidekick-mini-app": "npm:4.231.0"
"@walmart/store-feature-orders": "npm:1.34.7"
"@walmart/talent-preboarding-mini-app": "npm:1.0.48"
- "@walmart/taskit-mini-app": "npm:5.42.39"
+ "@walmart/taskit-mini-app": "npm:5.42.40"
"@walmart/time-clock-mini-app": "npm:3.19.6"
"@walmart/time-clock-mini-app-next": "npm:3.0.0"
"@walmart/topstock-mini-app": "npm:1.27.1"
@@ -9306,12 +9306,12 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/taskit-mini-app@npm:5.42.39":
- version: 5.42.39
- resolution: "@walmart/taskit-mini-app@npm:5.42.39::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftaskit-mini-app%2F-%2F%40walmart%2Ftaskit-mini-app-5.42.39.tgz"
+"@walmart/taskit-mini-app@npm:5.42.40":
+ version: 5.42.40
+ resolution: "@walmart/taskit-mini-app@npm:5.42.40::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftaskit-mini-app%2F-%2F%40walmart%2Ftaskit-mini-app-5.42.40.tgz"
peerDependencies:
"@walmart/allspark-foundation": "*"
- checksum: 10c0/8799b608bad9f83c350c1abbf7c37eac07b3e3b82a89c2e5aa67841bcd0f49fbcdc68926b2bdb058389454d61a5369c89eab04048fa83cce456c512349080daf
+ checksum: 10c0/2e781e4b6d24ea6cf12c2d3fa2d6b92d6c9551d690ff0db5567a981ca8323ee655b7e0ce75a1bcf89b0f77d52144c17d8a2d8fa150dcbf428d52f8f05a4657ea
languageName: node
linkType: hard
| feat: fixing few safety note dup (#4893) | feat: fixing few safety note dup (#4893)
Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com> |
0c414819a2b0b704cbc0777ea7f3636a7cf26d59 | --- core/__tests__/__mocks__/@walmart/allspark-foundation/Location.js
@@ -1,6 +0,0 @@
-module.exports = {
- ...jest.requireActual('@walmart/allspark-foundation/Location'),
- LocationService: {
- requestPermission: jest.fn(),
- },
-};
| chore: remove unused mock | chore: remove unused mock
|
feedf3cc1cd9edd3535a9005e8b9a93cc2518547 | --- __tests__/navigation/AssociateHallwayNav/Tabs/__snapshots__/HomeStackNavTest.tsx.snap
@@ -89,14 +89,6 @@ exports[`HomeStackNav matches snapshot 1`] = `
component="PresubItemizedScreen"
name="metrics.preSubDrilldown"
/>
- <Screen
- component="MetricsPreSubInfoModalScreen"
- name="metrics.preSubInfoModal"
- />
- <Screen
- component="MetricsFtprInfoModalScreen"
- name="metrics.ftprInfoModal"
- />
<Screen
component="MetricsFtprTabNavigation"
name="metrics.ftprDrilldown"
@@ -260,14 +252,6 @@ exports[`HomeStackNav matches snapshot when user is not present 1`] = `
component="PresubItemizedScreen"
name="metrics.preSubDrilldown"
/>
- <Screen
- component="MetricsPreSubInfoModalScreen"
- name="metrics.preSubInfoModal"
- />
- <Screen
- component="MetricsFtprInfoModalScreen"
- name="metrics.ftprInfoModal"
- />
<Screen
component="MetricsFtprTabNavigation"
name="metrics.ftprDrilldown"
--- src/navigation/AssociateHallwayNav/Tabs/HomeStackNav.tsx
@@ -12,8 +12,6 @@ import {NavigationProp, useNavigation} from '@react-navigation/native';
import {
SalesItemizedScreen,
PresubItemizedScreen,
- MetricsPreSubInfoModalScreen,
- MetricsFtprInfoModalScreen,
MetricsFtprTabNavigation,
ViewAllFreights,
TotalShrinkDrilldown,
@@ -220,14 +218,6 @@ export const HomeStackNav = () => {
component={PresubItemizedScreen}
name='metrics.preSubDrilldown'
/>
- <HomeStack.Screen
- component={MetricsPreSubInfoModalScreen}
- name='metrics.preSubInfoModal'
- />
- <HomeStack.Screen
- component={MetricsFtprInfoModalScreen}
- name='metrics.ftprInfoModal'
- />
<HomeStack.Screen
component={MetricsFtprTabNavigation}
name='metrics.ftprDrilldown'
| remove un-used screen for metrics | remove un-used screen for metrics
|
252e4358a02d5f93ece44b7efa755bbfb21cd0d4 | --- package.json
@@ -248,7 +248,7 @@
"react-native-view-shot": "^3.4.0",
"react-native-vision-camera": "4.6.4",
"react-native-web": "~0.19.10",
- "react-native-webview": "13.8.6",
+ "react-native-webview": "11.23.1",
"react-native-wm-config": "0.1.1",
"react-native-wm-network": "6.3.17",
"react-native-wm-notification": "6.3.17",
--- yarn.lock
@@ -8496,7 +8496,7 @@ __metadata:
react-native-view-shot: "npm:^3.4.0"
react-native-vision-camera: "npm:4.6.4"
react-native-web: "npm:~0.19.10"
- react-native-webview: "npm:13.8.6"
+ react-native-webview: "npm:11.23.1"
react-native-wm-config: "npm:0.1.1"
react-native-wm-network: "npm:6.3.17"
react-native-wm-notification: "npm:6.3.17"
@@ -20926,16 +20926,16 @@ __metadata:
languageName: node
linkType: hard
-"react-native-webview@npm:13.8.6":
- version: 13.8.6
- resolution: "react-native-webview@npm:13.8.6::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Freact-native-webview%2F-%2Freact-native-webview-13.8.6.tgz"
+"react-native-webview@npm:11.23.1":
+ version: 11.23.1
+ resolution: "react-native-webview@npm:11.23.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Freact-native-webview%2F-%2Freact-native-webview-11.23.1.tgz"
dependencies:
escape-string-regexp: "npm:2.0.0"
invariant: "npm:2.2.4"
peerDependencies:
react: "*"
react-native: "*"
- checksum: 10c0/441e13d145fe2783a6ecc3d3b90673fc9f26c7d0a9051c8fc603c925a94c0a5ee4a5a172aa80bcdc1c07d2f33a2fe17cccebc00ea3b142f5fd7558a139496a92
+ checksum: 10c0/75e91c3ba81f9dbf2d99cc9a6b68134b84acf2720d57c92bdbfd1e844ab357cca029269c67d37189f0139115b7e57e52ddcf5aedb168c8a6ab63aa742204ad87
languageName: node
linkType: hard
| fix(package.json): ALLSPARK-6008 downgrade webview for cookit issue | fix(package.json): ALLSPARK-6008 downgrade webview for cookit issue
|
22d0b8aa59e8ed3b23c71850a341048782b60613 | --- targets/US/package.json
@@ -77,7 +77,7 @@
"@terrylinla/react-native-sketch-canvas": "patch:@terrylinla/react-native-sketch-canvas@npm%3A0.8.0#~/.yarn/patches/@terrylinla-react-native-sketch-canvas-npm-0.8.0-c7b2afd4cd.patch",
"@walmart/allspark-authentication": "~6.4.1",
"@walmart/allspark-cope-key-listener": "0.0.18",
- "@walmart/allspark-foundation": "6.21.1",
+ "@walmart/allspark-foundation": "6.21.2",
"@walmart/allspark-graphql-client": "~6.3.28",
"@walmart/allspark-http-client": "~6.3.28",
"@walmart/allspark-neon-core": "0.1.31",
--- yarn.lock
@@ -6993,7 +6993,7 @@ __metadata:
"@types/uuid": "npm:^8.3.0"
"@walmart/allspark-authentication": "npm:~6.4.1"
"@walmart/allspark-cope-key-listener": "npm:0.0.18"
- "@walmart/allspark-foundation": "npm:6.21.1"
+ "@walmart/allspark-foundation": "npm:6.21.2"
"@walmart/allspark-graphql-client": "npm:~6.3.28"
"@walmart/allspark-http-client": "npm:~6.3.28"
"@walmart/allspark-neon-core": "npm:0.1.31"
| fix: upgrade foundation for feature connect timing fix | fix: upgrade foundation for feature connect timing fix
|
a464429913b29e2dee112e7988bc9c05a185c3ac | --- package-lock.json
@@ -3329,9 +3329,9 @@
"integrity": "sha512-4fNpEcmRJ99nwJAxvD9T+FqHRbehH/yEW7/YKLpvmdr0IzO0f1ZPZPMSt9Kl0+qQx1j5XMtY30/RQLoMoG0laQ=="
},
"@walmart/exception-mini-app": {
- "version": "0.37.1",
- "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-0.37.1.tgz",
- "integrity": "sha512-yof25tKo/Sx7sAbbb9Zv9ITvbI/6TlBfj1y3ySiuvxi4AddsrbqiSrCi65i+PcwUo4Q6v6XejTu9M+32XQp6Hg=="
+ "version": "0.37.2",
+ "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-0.37.2.tgz",
+ "integrity": "sha512-vfLq1mlxxPjWR79Xht4isJFMzndy/wOyAqyYIWpOMZ89sqrLEw1ha5GKzMHfxnuff4mmK4vc0PcfNyEKHPC9uQ=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.0.59",
--- package.json
@@ -76,7 +76,7 @@
"@walmart/ask-sam-mini-app": "0.30.29",
"@walmart/config-components": "^1.0.33",
"@walmart/counts-component-miniapp": "0.0.22",
- "@walmart/exception-mini-app": "0.37.1",
+ "@walmart/exception-mini-app": "0.37.2",
"@walmart/feedback-all-spark-miniapp": "0.0.59",
"@walmart/functional-components": "1.0.33",
"@walmart/gta-react-native-calendars": "0.0.15",
| Version Bump | Version Bump
Fix iOS support for UPCE barcodes
|
6a0914a6722762ed9ae0c3872e3a3fbc555fbf23 | --- android/app/build.gradle
@@ -139,8 +139,8 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 444
- versionName "1.2.0"
+ versionCode 498
+ versionName "1.2.1"
}
splits {
abi {
--- ios/AllSpark/Info.plist
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.2.0</string>
+ <string>1.2.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>444</string>
+ <string>498</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
--- package-lock.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.2.0",
+ "version": "1.2.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.2.0",
+ "version": "1.2.1",
"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",
| app version bump to 1.2.1 | app version bump to 1.2.1
|
f463b5554863ff28e679fb9301894c0e05b6da89 | --- src/redux/audioPlayThunk.ts
@@ -3,6 +3,7 @@ import {createAsyncThunk} from '@reduxjs/toolkit';
import {fetchResource} from '../services/blob';
import {Audio} from 'expo-av';
import {logger} from '../logger/Logger';
+import {analytics} from '../logger/Analytics';
export const playReceivingPTTMessage = createAsyncThunk(
'texting/PLAY_RECEIVING_PTT',
@@ -20,6 +21,14 @@ export const playReceivingPTTMessage = createAsyncThunk(
recieveTone.sound.playAsync();
});
await sound.playAsync();
+ analytics(
+ 'playReceivingPTTMessage',
+ {
+ audioRemoteURI: audioRemoteURI,
+ message: 'Play the receiving PTT message',
+ },
+ 10,
+ );
} catch (e) {
logger.error('AudioPlayback', {
message:
--- src/screens/PushToTalkScreen.tsx
@@ -21,6 +21,7 @@ import {ThunkDispatch} from 'redux-thunk';
import {createStoreChannelPath, createVoiceChannelPath} from '../channels';
import Modal from 'react-native-modal';
import {MessagesHeader} from '../components';
+import {analytics} from '../logger/Analytics';
const styles = StyleSheet.create({
container: {
@@ -217,6 +218,14 @@ export const PushToTalkScreen: FC<PushToTalkScreenProps> = (props) => {
if (uri) {
onSendAudio(uri);
+ analytics(
+ 'pttMessageSend',
+ {
+ uri: uri,
+ message: 'After sending the PTT message',
+ },
+ 10,
+ );
} else {
onRecordingFail(new Error('No URI found for recording'));
}
@@ -246,6 +255,14 @@ export const PushToTalkScreen: FC<PushToTalkScreenProps> = (props) => {
sound.sound.playAsync();
});
+ analytics(
+ 'startRecordingPTT',
+ {
+ message: 'Start recording the PTT message',
+ },
+ 10,
+ );
+
const {recording} = await Audio.Recording.createAsync(
Audio.RecordingOptionsPresets.HIGH_QUALITY,
(status) => {
--- src/redux/audioPlayThunk.ts
@@ -3,6 +3,7 @@ import {createAsyncThunk} from '@reduxjs/toolkit';
import {fetchResource} from '../services/blob';
import {Audio} from 'expo-av';
import {logger} from '../logger/Logger';
+import {analytics} from '../logger/Analytics';
export const playReceivingPTTMessage = createAsyncThunk(
'texting/PLAY_RECEIVING_PTT',
@@ -20,6 +21,14 @@ export const playReceivingPTTMessage = createAsyncThunk(
recieveTone.sound.playAsync();
});
await sound.playAsync();
+ analytics(
+ 'playReceivingPTTMessage',
+ {
+ audioRemoteURI: audioRemoteURI,
+ message: 'Play the receiving PTT message',
+ },
+ 10,
+ );
} catch (e) {
logger.error('AudioPlayback', {
message:
--- src/screens/PushToTalkScreen.tsx
@@ -21,6 +21,7 @@ import {ThunkDispatch} from 'redux-thunk';
import {createStoreChannelPath, createVoiceChannelPath} from '../channels';
import Modal from 'react-native-modal';
import {MessagesHeader} from '../components';
+import {analytics} from '../logger/Analytics';
const styles = StyleSheet.create({
container: {
@@ -217,6 +218,14 @@ export const PushToTalkScreen: FC<PushToTalkScreenProps> = (props) => {
if (uri) {
onSendAudio(uri);
+ analytics(
+ 'pttMessageSend',
+ {
+ uri: uri,
+ message: 'After sending the PTT message',
+ },
+ 10,
+ );
} else {
onRecordingFail(new Error('No URI found for recording'));
}
@@ -246,6 +255,14 @@ export const PushToTalkScreen: FC<PushToTalkScreenProps> = (props) => {
sound.sound.playAsync();
});
+ analytics(
+ 'startRecordingPTT',
+ {
+ message: 'Start recording the PTT message',
+ },
+ 10,
+ );
+
const {recording} = await Audio.Recording.createAsync(
Audio.RecordingOptionsPresets.HIGH_QUALITY,
(status) => {
| update analytics | update analytics
|
9565743c18a37d11eb5bebf69d46d899fdc263f8 | --- __tests__/whatsNew/WhatsNewItemTest.tsx
@@ -15,6 +15,7 @@ const logger = LoggerService.getContainerInstance();
const baseProps = {
image: 'https://i5-me.walmartimages.com',
+ placeholder: 'KEHpGG0,035Ex@~S02?E~Q',
title: 'My Team',
text: 'This is what we added for my team!',
};
--- __tests__/whatsNew/__snapshots__/WhatsNewItemTest.tsx.snap
@@ -12,11 +12,7 @@ exports[`WhatsNewItem handles navigation link 1`] = `
<Image
contentFit="cover"
onError={[Function]}
- placeholder={
- {
- "testUri": "../../../src/images/assets/ask-sam-illustration.png",
- }
- }
+ placeholder="KEHpGG0,035Ex@~S02?E~Q"
source={
{
"uri": "https://i5-me.walmartimages.com",
@@ -91,11 +87,7 @@ exports[`WhatsNewItem handles navigation link without screen 1`] = `
<Image
contentFit="cover"
onError={[Function]}
- placeholder={
- {
- "testUri": "../../../src/images/assets/ask-sam-illustration.png",
- }
- }
+ placeholder="KEHpGG0,035Ex@~S02?E~Q"
source={
{
"uri": "https://i5-me.walmartimages.com",
@@ -170,11 +162,7 @@ exports[`WhatsNewItem matches snapshot 1`] = `
<Image
contentFit="cover"
onError={[Function]}
- placeholder={
- {
- "testUri": "../../../src/images/assets/ask-sam-illustration.png",
- }
- }
+ placeholder="KEHpGG0,035Ex@~S02?E~Q"
source={
{
"uri": "https://i5-me.walmartimages.com",
--- src/whatsNew/WhatsNewItem.tsx
@@ -11,7 +11,7 @@ import {WhatsNewConfig} from './types';
import {WhatsNewItemStyles as styles} from './styles';
export const WhatsNewItem = (props: WhatsNewConfig) => {
- const {title, text, image, link} = props;
+ const {title, text, image, link, placeholder} = props;
const navigation = useNavigation<MainStackNavigationProp>();
const onLinkPress = () => {
@@ -31,7 +31,7 @@ export const WhatsNewItem = (props: WhatsNewConfig) => {
source={{
uri: image,
}}
- placeholder={Images.AskSamIllustration as any}
+ placeholder={placeholder || (Images.AskSamIllustration as any)}
onError={({error}) => {
Logger.error('Error loading i5 image', {
message: image,
--- src/whatsNew/types.ts
@@ -24,6 +24,7 @@ export interface FeatureRestriction {
export interface WhatsNewConfig {
image: string;
+ placeholder: string;
title: RecordText;
text: RecordText;
link?: RecordLink;
| update whatsnew placeholder | update whatsnew placeholder
|
6be9b68318d6c6584f054b34a8499f976b7a2651 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/wmconnect-mini-app",
- "version": "2.36.4",
+ "version": "2.40.0",
"main": "dist/index.js",
"files": [
"dist",
| feat(ui): upgrade version to 2.40.0 | feat(ui): upgrade version to 2.40.0
|
224142f9de2a7c8d13d1e7843cf29c184e3175b0 | --- example/index.js
@@ -7,3 +7,6 @@ AppRegistry.registerComponent(appName, () => App);
// import {Feature1Standalone} from './src';
// AppRegistry.registerComponent(appName, Feature1Standalone.App);
+
+// import {TeamHubStandalone} from './src';
+// AppRegistry.registerComponent(appName, TeamHubStandalone.App);
--- example/src/core/index.tsx
@@ -208,12 +208,13 @@ const Navigation = () => {
export function App() {
return (
- <TestContainer.Provider env={'dev'}>
+ <TestContainer.Provider>
<Navigation />
</TestContainer.Provider>
);
}
+TestContainer.initialize('dev');
TestContainer.addSetup('root', CoreSetup);
type CoreRootParamList = {
@@ -222,6 +223,7 @@ type CoreRootParamList = {
'container.homeTab': undefined;
'container.tab1': NavigatorScreenParams<Allspark.ScreenParams>;
'container.tab2': NavigatorScreenParams<Allspark.ScreenParams>;
+ Team: NavigatorScreenParams<Allspark.ScreenParams>;
}>;
}>;
};
--- example/src/teamHub/screens/index.ts
@@ -1,3 +1,4 @@
+import {NavigatorScreenParams} from '@react-navigation/native';
import {ContainerScreen} from './container';
import {TestModal} from './modal';
import {OnboardingEntryScreen} from './onboarding';
@@ -13,6 +14,27 @@ export const TeamHubScreens = {
'teamHub.stack': FeatureStack,
};
+export type TeamHubScreenParams = {
+ 'teamHub.home': undefined;
+ 'teamHub.onboarding': undefined;
+ 'teamHub.teamSelection': undefined;
+ 'teamHub.container': undefined;
+ 'teamHub.stack': NavigatorScreenParams<{
+ nestedScreen1: undefined;
+ nestedScreen2: undefined;
+ }>;
+};
export const TeamHubModals = {
'teamHub.modal': TestModal,
};
+
+export type TeamHubModalParams = {
+ 'teamHub.modal': undefined;
+};
+
+declare global {
+ namespace Allspark {
+ interface ScreenParams extends TeamHubScreenParams {}
+ interface ModalParams extends TeamHubScreenParams {}
+ }
+}
| Update container | Update container
|
20c274493b8c1a97af64e091f57512c74adfd4a4 | --- packages/allspark-authentication/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-authentication",
- "version": "5.0.0-alpha.1",
+ "version": "5.0.0-alpha.2",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -23,7 +23,7 @@
"license": "ISC",
"dependencies": {
"@walmart/allspark-foundation": "^5.0.0-alpha.2",
- "@walmart/allspark-utils": "^5.0.0-alpha.1",
+ "@walmart/allspark-utils": "^5.0.0-alpha.2",
"lodash": "~4.17.21",
"moment-timezone": "~0.5.37",
"ts-retry-promise": "~0.7.0"
--- packages/allspark-foundation/package.json
@@ -30,7 +30,7 @@
"@apollo/client": "^3.7.14",
"@lifeomic/axios-fetch": "3.0.1",
"@reduxjs/toolkit": "^1.9.5",
- "@walmart/allspark-utils": "^5.0.0-alpha.1",
+ "@walmart/allspark-utils": "^5.0.0-alpha.2",
"@walmart/gtp-shared-components": "^2.0.2",
"axios": "~1.2.4",
"crypto-js": "~4.1.1",
--- packages/allspark-graphql-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-graphql-client",
- "version": "5.0.0-alpha.1",
+ "version": "5.0.0-alpha.2",
"description": "> TODO: description",
"license": "ISC",
"main": "lib/index.js",
@@ -27,6 +27,6 @@
"clean": "rm -rf lib/ || true"
},
"dependencies": {
- "@walmart/allspark-foundation": "^5.0.0-alpha.1"
+ "@walmart/allspark-foundation": "^5.0.0-alpha.2"
}
}
--- packages/allspark-http-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-http-client",
- "version": "5.0.0-alpha.1",
+ "version": "5.0.0-alpha.2",
"description": "",
"author": "rlane1 <russell.lane@walmart.com>",
"license": "ISC",
--- packages/allspark-utils/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-utils",
- "version": "5.0.0-alpha.1",
+ "version": "5.0.0-alpha.2",
"description": "",
"author": "rlane1 <russell.lane@walmart.com>",
"homepage": "",
--- packages/core-services-allspark/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "5.0.0-alpha.1",
+ "version": "5.0.0-alpha.2",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/core-services/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services",
- "version": "5.0.0-alpha.1",
+ "version": "5.0.0-alpha.2",
"description": "",
"main": "index.js",
"types": "index.d.ts",
@@ -16,6 +16,6 @@
"license": "ISC",
"dependencies": {
"@walmart/allspark-foundation": "^5.0.0-alpha.2",
- "@walmart/allspark-utils": "^5.0.0-alpha.1"
+ "@walmart/allspark-utils": "^5.0.0-alpha.2"
}
}
--- packages/core-utils/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-utils",
- "version": "5.0.0-alpha.1",
+ "version": "5.0.0-alpha.2",
"description": "Common functionality required across both container and mini apps.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -18,6 +18,6 @@
"author": "",
"license": "ISC",
"dependencies": {
- "@walmart/allspark-utils": "^5.0.0-alpha.1"
+ "@walmart/allspark-utils": "^5.0.0-alpha.2"
}
}
--- packages/core-widget-registry/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-widget-registry",
- "version": "5.0.0-alpha.1",
+ "version": "5.0.0-alpha.2",
"description": "Repo for Me@Walmart related widget registries",
"author": "rlane1 <russell.lane@walmart.com>",
"license": "ISC",
--- packages/functional-components/package.json
@@ -1,7 +1,7 @@
{
"name": "@walmart/functional-components",
"private": false,
- "version": "5.0.0-alpha.1",
+ "version": "5.0.0-alpha.2",
"description": "Functional Components",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/me-at-walmart-athena-queries/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-athena-queries",
- "version": "5.0.0-alpha.1",
+ "version": "5.0.0-alpha.2",
"description": "> TODO: description",
"author": "rlane1 <russell.lane@walmart.com>",
"homepage": "",
--- packages/me-at-walmart-container/package.json
@@ -25,7 +25,7 @@
"license": "ISC",
"dependencies": {
"@walmart/allspark-foundation": "^5.0.0-alpha.2",
- "@walmart/allspark-utils": "^5.0.0-alpha.1",
+ "@walmart/allspark-utils": "^5.0.0-alpha.2",
"@walmart/config-components": "4.1.0-rc.4",
"jwt-decode": "^3.1.2"
},
@@ -37,9 +37,9 @@
"@react-native-firebase/crashlytics": "~15.1.1",
"@react-native-firebase/database": "~15.1.1",
"@react-native-firebase/perf": "~15.1.1",
- "@walmart/allspark-authentication": "^5.0.0-alpha.1",
- "@walmart/core-services": "^5.0.0-alpha.1",
- "@walmart/core-utils": "^5.0.0-alpha.1",
+ "@walmart/allspark-authentication": "^5.0.0-alpha.2",
+ "@walmart/core-services": "^5.0.0-alpha.2",
+ "@walmart/core-utils": "^5.0.0-alpha.2",
"@walmart/react-native-encrypted-storage": "~1.1.13",
"@walmart/react-native-logger": "1.29.0",
"@walmart/react-native-sumo-sdk": "2.4.0-rc.2",
@@ -56,7 +56,7 @@
"@react-native-firebase/crashlytics": ">=15.1",
"@react-native-firebase/database": ">=15.1",
"@react-native-firebase/perf": ">=15.1",
- "@walmart/allspark-authentication": ">=5.0.0-alpha.1",
+ "@walmart/allspark-authentication": ">=5.0.0-alpha.2",
"@walmart/react-native-encrypted-storage": ">=1.1",
"@walmart/react-native-logger": ">=1",
"@walmart/react-native-sumo-sdk": ">=2.4",
--- packages/redux-store/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/redux-store",
- "version": "5.0.0-alpha.1",
+ "version": "5.0.0-alpha.2",
"description": "Common redux store",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore: bumping all packages | chore: bumping all packages
|
33436e62cce19b2a229745afd9dd0456f997b582 | --- __tests__/harness/index.tsx
@@ -14,6 +14,7 @@ import {
EnvironmentProvider,
EnvConfig,
} from '@walmart/core-services/Environment';
+import {EnvType} from "@walmart/core-services/Environment/types";
const rootReducer = reducerManager.getRootReducer();
@@ -52,10 +53,11 @@ export const renderWithProviders: typeof render = (
store = setupStore(preloadedState),
...renderOptions
}: ExtendedRenderOptions = {},
+ envType?: EnvType,
) => {
function Wrapper({children}: PropsWithChildren<{}>): React.ReactElement {
return (
- <EnvironmentProvider env={envConfig}>
+ <EnvironmentProvider env={envType ? {...envConfig, envType} : envConfig}>
<I18nextProvider i18n={i18n}>
<Provider store={store}>{children}</Provider>
</I18nextProvider>
--- __tests__/harness/index.tsx
@@ -14,6 +14,7 @@ import {
EnvironmentProvider,
EnvConfig,
} from '@walmart/core-services/Environment';
+import {EnvType} from "@walmart/core-services/Environment/types";
const rootReducer = reducerManager.getRootReducer();
@@ -52,10 +53,11 @@ export const renderWithProviders: typeof render = (
store = setupStore(preloadedState),
...renderOptions
}: ExtendedRenderOptions = {},
+ envType?: EnvType,
) => {
function Wrapper({children}: PropsWithChildren<{}>): React.ReactElement {
return (
- <EnvironmentProvider env={envConfig}>
+ <EnvironmentProvider env={envType ? {...envConfig, envType} : envConfig}>
<I18nextProvider i18n={i18n}>
<Provider store={store}>{children}</Provider>
</I18nextProvider>
| adding option to inject optional envType override | adding option to inject optional envType override
|
0eeedc23e7ca5ecbc460325c9c4b47c4bd058ce4 | --- package-lock.json
@@ -3071,9 +3071,9 @@
}
},
"@walmart/ask-sam-mini-app": {
- "version": "0.17.2",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.17.2.tgz",
- "integrity": "sha512-2Gf7qTzO9qnHeJk8FQUNnRrQKLpgXaJT7DypOjwJl/dBP5ueGHdFvuo5BXYHQPU4/iEovlG0iBeLdZXNCJVGxg==",
+ "version": "0.17.6",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.17.6.tgz",
+ "integrity": "sha512-Pk/Q1dzIa8LtRf2LDZkViIUwzqYIGm+b92yLh12LPu5zX9KmPtKNRV09PA8+6caZ6dRU4rEtBmJojSX7o+iKBQ==",
"requires": {
"apisauce": "^1.1.2",
"lodash": "^4.17.19",
@@ -12387,9 +12387,9 @@
"integrity": "sha512-vneDkHGDuTvLQjUBztqb2YI8QoH1zxdJonPGTS+g57lfJZff9fAjoLSSb6NgMBebpXFcK3I3sEresGyL+3AArw=="
},
"react-native-error-boundary": {
- "version": "1.1.9",
- "resolved": "https://npme.walmart.com/react-native-error-boundary/-/react-native-error-boundary-1.1.9.tgz",
- "integrity": "sha512-sK07h0ekUrOXpCSojlt7OC5kOh/jd4uy2eq/JMPbIU7eOtxrkZyU1qrTGSCAbgxxVCPdUsvCSntnUQ30IxnEdQ=="
+ "version": "1.1.10",
+ "resolved": "https://npme.walmart.com/react-native-error-boundary/-/react-native-error-boundary-1.1.10.tgz",
+ "integrity": "sha512-DDqAcJw3LRDlPImOYX0iEFy1q9aEXjxFFf/s37O8Z/amDnCMogYeeW5hZ/Cb+35rTa4dWh6r53Bov7wBQfy9nA=="
},
"react-native-fast-image": {
"version": "8.3.4",
--- package.json
@@ -66,7 +66,7 @@
"@walmart/allspark-health-survey-mini-app": "0.0.35",
"@walmart/allspark-home-mini-app": "0.4.0",
"@walmart/allspark-me-mini-app": "0.1.0",
- "@walmart/ask-sam-mini-app": "0.17.2",
+ "@walmart/ask-sam-mini-app": "0.17.6",
"@walmart/config-components": "1.0.21",
"@walmart/feedback-all-spark-miniapp": "0.0.49",
"@walmart/functional-components": "1.0.27",
| ask sam version bump to 0.17.6 | ask sam version bump to 0.17.6
|
7f3a5b4fabaef01fe2afd134e72114429bdf5a8e | --- package.json
@@ -2,12 +2,9 @@
"name": "@walmart/wmconnect-mini-app",
"version": "2.26.2",
"main": "index.ts",
- "workspaces": [
- "packages/*"
+ "files": [
+ "dist/"
],
- "installConfig": {
- "hoistingLimits": "none"
- },
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
@@ -26,19 +23,17 @@
"lint:fix": "eslint . --fix",
"run-expo-doctor": "expo-doctor",
"start:minified": "expo start --no-dev --minify",
- "postinstall": "yarn build",
"start": "ts-node scripts/runWithVariablePrompt.ts 'expo start --dev-client'",
"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",
"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",
"android": "expo run:android",
"ios": "expo run:ios",
"build": "yarn tsc",
- "prepare": "husky"
+ "prepare": "husky",
+ "prepublishOnly": "yarn build"
},
"devDependencies": {
"@azure/storage-blob": "^12.26.0",
| feat: SMDV-9999 update package | feat: SMDV-9999 update package
|
5dcb29128099bdf3f97d3e048f0a644365c04b25 | --- packages/allspark-foundation/__tests__/Site/selectors.test.tsx
@@ -66,6 +66,19 @@ describe('Address and Location Functions', () => {
expect(divisionIsDC('13')).toBe(true);
expect(divisionIsDC('44')).toBe(true);
});
+
+ it('should return false if divisionCode does not match one of DC_DIVISION_CODES', () => {
+ expect(divisionIsDC('1')).toBe(false);
+ expect(divisionIsDC(undefined)).toBe(false);
+ });
+
+ // Tests for divisionIsDC
+ it('should return true if divisionCode matches one of DC_DIVISION_CODES', () => {
+ expect(divisionIsDC('7')).toBe(true);
+ expect(divisionIsDC('3')).toBe(true);
+ expect(divisionIsDC('13')).toBe(true);
+ expect(divisionIsDC('44')).toBe(true);
+ });
});
// Tests for divisionIsStore
| feat: update isDC selector for new DC division scope. | feat: update isDC selector for new DC division scope.
|
2925e0f4691645a2538a45871625dcf70dd5d2d4 | --- jest.config.js
@@ -6,8 +6,8 @@ module.exports = {
coverageThreshold: {
global: {
statements: 24.3,
- branches: 7.8,
- functions: 9.68,
+ branches: 7.6,
+ functions: 9.5,
lines: 25,
},
},
--- jest.config.js
@@ -6,8 +6,8 @@ module.exports = {
coverageThreshold: {
global: {
statements: 24.3,
- branches: 7.8,
- functions: 9.68,
+ branches: 7.6,
+ functions: 9.5,
lines: 25,
},
},
| bringing down test threshold :( | bringing down test threshold :(
|
d309576a8f5e9305856d07f9d815175f6a3dd941 | --- package.json
@@ -91,7 +91,7 @@
"@walmart/backroom-mini-app": "1.11.3",
"@walmart/calling-mini-app": "0.7.35",
"@walmart/checkout-mini-app": "4.8.12",
- "@walmart/compass-sdk-rn": "6.2.2",
+ "@walmart/compass-sdk-rn": "6.2.17",
"@walmart/config-components": "4.8.1",
"@walmart/core-services": "~6.5.2",
"@walmart/core-services-allspark": "workspace:^",
@@ -415,7 +415,7 @@
"@walmart/allspark-utils": "6.5.3",
"@walmart/core-services-allspark": "workspace:^",
"@walmart/core-widget-registry": "workspace:^",
- "@walmart/compass-sdk-rn": "6.2.2",
+ "@walmart/compass-sdk-rn": "6.2.17",
"@walmart/me-at-walmart-common": "workspace:^",
"@walmart/me-at-walmart-container": "workspace:^",
"@walmart/moment-walmart": "1.0.4",
--- yarn.lock
@@ -7595,13 +7595,13 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/compass-sdk-rn@npm:6.2.2":
- version: 6.2.2
- resolution: "@walmart/compass-sdk-rn@npm:6.2.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcompass-sdk-rn%2F-%2F%40walmart%2Fcompass-sdk-rn-6.2.2.tgz"
+"@walmart/compass-sdk-rn@npm:6.2.17":
+ version: 6.2.17
+ resolution: "@walmart/compass-sdk-rn@npm:6.2.17::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcompass-sdk-rn%2F-%2F%40walmart%2Fcompass-sdk-rn-6.2.17.tgz"
peerDependencies:
react: "*"
react-native: "*"
- checksum: 10c0/30d304ebcece67e2f692e8cd2bdab164385f03a96f5829a7c831607eacd406d127b8ce7d0409d8fd20be59ba17c4d16c61e70adcf350bd9f4057271c270294e4
+ checksum: 10c0/44b9eed70b974a7ab54175fb32323156c31b14ab5bd62327f740f08f451bca510a8f594b87e4fa869bb8000e8eff1a0dd82ac6cba912576965fa2a7ec3205106
languageName: node
linkType: hard
@@ -8296,7 +8296,7 @@ __metadata:
"@walmart/backroom-mini-app": "npm:1.11.3"
"@walmart/calling-mini-app": "npm:0.7.35"
"@walmart/checkout-mini-app": "npm:4.8.12"
- "@walmart/compass-sdk-rn": "npm:6.2.2"
+ "@walmart/compass-sdk-rn": "npm:6.2.17"
"@walmart/config-components": "npm:4.8.1"
"@walmart/core-services": "npm:~6.5.2"
"@walmart/core-services-allspark": "workspace:^"
| fix(compass): COM-4425 Fixed RBAC prod misconfig and Android crash (#4207) | fix(compass): COM-4425 Fixed RBAC prod misconfig and Android crash (#4207)
|
e73247f2f1a1838c10b0032509e279ea8ce7e5c9 | --- package-lock.json
@@ -3367,9 +3367,9 @@
"integrity": "sha512-Am5QrgtwxJ23j3GsZZivaZknjiWTuPFvFxV1J0ysrQZ3H4wZcgsxuFdsCJqA3Hzufo3pZdyMTZhNtAx4IuQjjw=="
},
"@walmart/inbox-mini-app": {
- "version": "0.0.96",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.0.96.tgz",
- "integrity": "sha512-jplu8SFzqVj1xWNlxMrPmR3oelBdyNBeQHJOr5YM7p7yqAWBiYO2jt9HyUkZCzRkEhrjjDufk9J5K9OJC1GhKA=="
+ "version": "0.0.98",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.0.98.tgz",
+ "integrity": "sha512-rxjct/ua2E4nECOlciQ483vRVQxJf8V5KE83m49dFyK7AUGMcud4/FmAOX9+HF4tMqTNyb728ROQWfn0oeLrFg=="
},
"@walmart/iteminfo-mini-app": {
"version": "1.0.19",
@@ -3509,9 +3509,9 @@
"integrity": "sha512-4VL2h7BKEZNP+QtIaYbQXJ6kpxZdeeCqTA3PvP1L933vlNsilF3y5RO9lCyMsTjWQ+AJ3Ww6gqC/oNDxjTvtGw=="
},
"@walmart/shelfavailability-mini-app": {
- "version": "0.3.58",
- "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-0.3.58.tgz",
- "integrity": "sha512-2UTs3EHKhVUhqFtU5uwOs3HvglZY1p8cHBb8sJ6jdfFm2udlxv+gTujePf2z6vdwzbEAgBPcw1dfGPnUVdRk0Q==",
+ "version": "0.3.61",
+ "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-0.3.61.tgz",
+ "integrity": "sha512-c7+fVesztJxa0ad3iX8ELvPQ8LbQadRM1x7Xy9ms6iqdPDEeYK+L+AHVWcQmvKVtuLAQ9+wI9Mg5nGKgL+qa6A==",
"requires": {
"@types/uuid": "^8.3.0",
"@types/xdate": "^0.8.31",
@@ -3575,9 +3575,9 @@
}
},
"@walmart/ui-components": {
- "version": "1.1.40",
- "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.1.40.tgz",
- "integrity": "sha512-LKPrF3LoCv/R2MzUzulq3VbMJlOi/fT6S+HBx+AGsUvnsWb/wA9h6BYDeg4KRSnlj2tAQS5K8OtNJ28Z5chU6g==",
+ "version": "1.1.44",
+ "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.1.44.tgz",
+ "integrity": "sha512-lJZk9reIKq8FjNIL/RbNWjqyVY4ZEzGFlJNq5LTvz1fygHhtQDrNbv8zd/OMkQTAYmU0N54s0Gzf86i4W2KRLQ==",
"requires": {
"react-native-calendars": "1.299.0"
}
| Update package-lock.json | Update package-lock.json
|
387566d8e46f84da2a5426361d6343adcd39e24f | --- __tests__/__mocks__/@walmart/inbox-mini-app.js
@@ -1,5 +1,6 @@
module.exports = {
__esModule: true,
default: 'InboxMiniApp',
+ InboxScreen: 'InboxScreen',
useBadgesCount: jest.fn(() => [0]),
};
--- __tests__/navigation/AssociateHallwayNav/Tabs/__snapshots__/HomeStackNavTest.tsx.snap
@@ -31,7 +31,7 @@ exports[`HomeStackNav matches snapshot 1`] = `
}
/>
<Screen
- component="InboxMiniApp"
+ component="InboxScreen"
name="inbox"
options={
Object {
| Test update | Test update
|
271a02f351c9d7b84aca337e709e43b5a23e6c88 | --- package-lock.json
@@ -74,7 +74,7 @@
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
"@walmart/react-native-logger": "1.34.8",
- "@walmart/react-native-scanner-3.0": "0.4.2",
+ "@walmart/react-native-scanner-3.0": "0.4.4",
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.6.0",
@@ -9429,9 +9429,9 @@
}
},
"node_modules/@walmart/react-native-scanner-3.0": {
- "version": "0.4.2",
- "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.4.2.tgz",
- "integrity": "sha512-9gxxelf1e1yv09F7Nwbui3mJVomqCdrPrVBIoLCYYov6M1fVJnQ0Nd8idKeD6lG4eUuAY/TKhMifHVoG54PU/w==",
+ "version": "0.4.4",
+ "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.4.4.tgz",
+ "integrity": "sha512-ghMNIwHmEAgXYY7fsb0RC6VNmA6NI2BFQ7V7byPatTs/qDVg32h+TvMSf+LvWDtGrfXz4HSiylFmvxrzoe55Ug==",
"license": "ISC",
"peerDependencies": {
"react-native": ">=0.47.1"
@@ -33435,9 +33435,9 @@
"integrity": "sha512-7+gViTrlsU5fMj0XbgJMCyLQty2Vbw5+lkDHHQOuEPs/jgkd2rjQggeS+8WPAnc/AI9AVnieKHjl+DZq2G+EzQ=="
},
"@walmart/react-native-scanner-3.0": {
- "version": "0.4.2",
- "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.4.2.tgz",
- "integrity": "sha512-9gxxelf1e1yv09F7Nwbui3mJVomqCdrPrVBIoLCYYov6M1fVJnQ0Nd8idKeD6lG4eUuAY/TKhMifHVoG54PU/w=="
+ "version": "0.4.4",
+ "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.4.4.tgz",
+ "integrity": "sha512-ghMNIwHmEAgXYY7fsb0RC6VNmA6NI2BFQ7V7byPatTs/qDVg32h+TvMSf+LvWDtGrfXz4HSiylFmvxrzoe55Ug=="
},
"@walmart/react-native-shared-navigation": {
"version": "1.0.2",
--- package.json
@@ -115,7 +115,7 @@
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
"@walmart/react-native-logger": "1.34.8",
- "@walmart/react-native-scanner-3.0": "0.4.2",
+ "@walmart/react-native-scanner-3.0": "0.4.4",
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.6.0",
| fix(release): Scanner 3.0 version bump up to 0.4.4 | fix(release): Scanner 3.0 version bump up to 0.4.4
|
318245a41af38aff8d26410049c5247f65cf9903 | --- packages/me-at-walmart-container/src/services/auth.ts
@@ -86,7 +86,9 @@ export const onAuthError = async (event: AuthErrorEvent) => {
if (authData) {
AuthLogger.info(`AUTH: SIGN_OUT_INITIATED`);
AuthTelemetry.logEvent('sign_out_init_on_token_rfrsh_err', {});
- AllsparkReduxStore.dispatch(MeAtWalmartAuthActions.SIGN_OUT_REQUEST());
+ AllsparkReduxStore.dispatch(
+ MeAtWalmartAuthActions.SIGN_OUT_REQUEST(event.code)
+ );
}
}
| fix: add reason to sign out request during token refresh error | fix: add reason to sign out request during token refresh error
|
74c77896d98006993834b52b1c30a2011ee41919 | --- package-lock.json
@@ -4442,7 +4442,7 @@
"@walmart/shelfavailability-mini-app": {
"version": "0.8.3",
"resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-0.8.3.tgz",
- "integrity": "sha512-nLKZDzRD/BxR3lUtz+q7bYk3kvXzarotfFTx2ad+Kb3vwGc/INXLpPBzECl0qwluvB0PUCr+La0XSGwojQvLiw==",
+ "integrity": "sha512-cDVdKZBc7WVwPpNNo2hhl3VuWGdXhPZA8MRp0fhpTx7Ef7qghuB59AIK9cdb+ZudoQJZ7an/q0v1JYiGMgKXsA==",
"requires": {
"@types/uuid": "^8.3.0",
"@types/xdate": "^0.8.31",
| SA-UI: update package-lock.json | SA-UI: update package-lock.json
|
4fbd6562d535c7674da8ae8dc2a95aa927238012 | --- __tests__/navigation/AssociateHallwayNav/Tabs/MainTabsNavTest.tsx
@@ -94,7 +94,10 @@ describe('renderTabBarLabel', () => {
describe('getOptionsForRoute', () => {
it('returns expected options for route', () => {
const config = {home: {}};
- const options = getOptionsForRoute.bind({config})({
+ const options = getOptionsForRoute.bind({
+ translate: jest.fn((t) => t),
+ config,
+ })({
route: {name: 'home'},
} as any);
expect(options).toEqual(
@@ -118,7 +121,10 @@ describe('getOptionsForRoute', () => {
it('returns expected options for route with config', () => {
const config = {home: {title: 'Custom CCM Title'}};
- const options = getOptionsForRoute.bind({config})({
+ const options = getOptionsForRoute.bind({
+ translate: jest.fn((t) => t),
+ config,
+ })({
route: {name: 'home'},
} as any);
expect(
--- src/navigation/AssociateHallwayNav/Tabs/index.tsx
@@ -14,7 +14,8 @@ import {
EventArg,
} from '@react-navigation/native';
-import i18n from 'i18next';
+import {TFunction} from 'i18next';
+import {useTranslation} from 'react-i18next';
import {useSafeAreaInsets} from 'react-native-safe-area-context';
import {FontIcon} from '@walmart/ui-components';
import {navigate} from '@walmart/react-native-shared-navigation';
@@ -90,7 +91,7 @@ const genericTabOptions: BottomTabNavigationOptions = {
};
export function getOptionsForRoute(
- this: {config: {[key: string]: Partial<BottomTabNav>}},
+ this: {translate: TFunction; config: {[key: string]: Partial<BottomTabNav>}},
{
route,
}: {
@@ -102,7 +103,7 @@ export function getOptionsForRoute(
const tabConfig = this.config[route.name];
const label: string =
getValueForCurrentLanguage(tabConfig?.title) ||
- i18n.t(`navigation.${routeName}`);
+ this.translate(`navigation.${routeName}`);
return {
...genericTabOptions,
@@ -146,17 +147,19 @@ export const TabListeners = ({navigation}: any) => ({
const MainTabs = createBottomTabNavigator();
export const MainTabsNav = () => {
+ const [t] = useTranslation();
const {bottom} = useSafeAreaInsets();
const [pttBadgeCount] = Hooks.useVMBadgesCount(0);
const badgesCount = useSelector(getInboxBadgeCount);
const {highPriorityCount} = useSelector(getTaskBadge);
+
const configMap = useSelector(getBottomNavConfigMap);
const {home, me, askSam, myTeam, taskit} = configMap;
return (
<MainTabs.Navigator
safeAreaInsets={{bottom: bottom + 14}}
- screenOptions={getOptionsForRoute.bind({config: configMap})}
+ screenOptions={getOptionsForRoute.bind({translate: t, config: configMap})}
screenListeners={onBottomNavTabPress}>
{home.enabled && <MainTabs.Screen name='home' component={HomeStackNav} />}
| Fixing bug where tab text doesnt udpate on language change | Fixing bug where tab text doesnt udpate on language change
|
522cab46aada4c60d2cc8c8fc8c15c9049811a6d | --- package-lock.json
@@ -4336,9 +4336,14 @@
}
},
"@walmart/payrollsolution_miniapp": {
- "version": "0.79.0",
- "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.79.0.tgz",
- "integrity": "sha512-sQxNKPIjaNOklrZAbhD7ECuWe8l2VogO3nONDgKAW64PVk5eKHuKYhzVr4shbW55P8Yf3UvlNAC3JCyObNllkA=="
+ "version": "0.85.0",
+ "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.85.0.tgz",
+ "integrity": "sha512-FGVF/ikugr5cEV96sZiPF6FkS2lXjxlr29jMcd02kf5N+H95a63YfwcR2cU7m7JRV4xo4C2AZZIE7vC6q8O5Tw=="
+ },
+ "@walmart/price-changes-mini-app": {
+ "version": "1.1.0",
+ "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.1.0.tgz",
+ "integrity": "sha512-mR6cBpfPqz8Pv8gPc5sMXeP+JEalpC4Yey2qsuJDVv09alehHdunqf6D/WktGQEhMzkzL3Fp6omcmr8lnDKUSg=="
},
"@walmart/push-to-talk-mini-app": {
"version": "0.5.39",
@@ -4555,9 +4560,9 @@
}
},
"@walmart/welcomeme-mini-app": {
- "version": "0.40.0",
- "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.40.0.tgz",
- "integrity": "sha512-Pl61FRUs+urKukGmNjb4drlfvVz6TExN6xHcmE/JUUbIDHljuwWq5+S6z8AQNPAe2piqjibHNwuYyNK8RPPU2A=="
+ "version": "0.41.0",
+ "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.41.0.tgz",
+ "integrity": "sha512-G4Y5T8QrBBsD9cmNQU20KAQ8MifTmSC4RMx4Kzc/eJHyOxxGTDtBiZSaXFQlqQ2zVr0RPs16+K3mmMndQvIvXg=="
},
"@walmart/wfm-ui": {
"version": "0.1.50",
--- package.json
@@ -89,7 +89,8 @@
"@walmart/manager-approvals-miniapp": "0.0.58",
"@walmart/metrics-mini-app": "0.5.18",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/payrollsolution_miniapp": "^0.79.0",
+ "@walmart/payrollsolution_miniapp": "0.85.0",
+ "@walmart/price-changes-mini-app": "1.1.0",
"@walmart/push-to-talk-mini-app": "0.5.39",
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.28.0",
@@ -103,7 +104,7 @@
"@walmart/taskit-mini-app": "0.119.0-rc.0",
"@walmart/time-clock-mini-app": "0.4.24",
"@walmart/ui-components": "v1.3.0-rc.2",
- "@walmart/welcomeme-mini-app": "0.40.0",
+ "@walmart/welcomeme-mini-app": "0.41.0",
"@walmart/wfm-ui": "^0.1.50",
"axios-cache-adapter": "2.7.3",
"crypto-js": "^3.3.0",
| chore(welcomeMe): version upgrade WelcomeMe and Payroll Mini App | chore(welcomeMe): version upgrade WelcomeMe and Payroll Mini App
|
b72cf8981ef27a398fda74a9dc43f616e61c7286 | --- packages/allspark-foundation-hub/src/Store/Hooks/useGetAllTeamsOfStore.ts
@@ -1,6 +1,6 @@
import { useSelector } from 'react-redux';
import { useGetTeamsByStoreQuery } from '@walmart/me-at-walmart-athena-queries';
-import { useState } from 'react';
+import { useEffect, useState } from 'react';
import moment from 'moment-timezone';
import {
ADMIN_SUPPORT_TEAM_LABEL,
@@ -44,7 +44,7 @@ export const useGetAllTeamsOfStore = () => {
const countryCode: string | undefined = useSelector(
SiteSelectors.getWorkingSiteCountryCode
);
- const { ...rest } = useGetTeamsByStoreQuery({
+ const { data, loading, ...rest } = useGetTeamsByStoreQuery({
context: {
headers: {
'wm_consumer.id': AllsparkEnvironment.getCurrent().consumerId,
@@ -59,17 +59,12 @@ export const useGetAllTeamsOfStore = () => {
},
skip: isSiteDC || !workingSite || !countryCode,
errorPolicy: 'all',
- onCompleted: (response: any) => {
+ notifyOnNetworkStatusChange: true,
+ fetchPolicy: 'cache-and-network',
+ onCompleted: () => {
logger.info('useGetTeamsByStoreQuery response', {
message: 'useGetTeamsByStoreQuery executed successfully',
});
- const transformedTeamData =
- response?.getTeamsByStore?.map((team: any) => ({
- teamLabel: team?.teamName ?? '',
- teamImage: team?.teamId ? Images[team.teamId] : '',
- teamId: team?.teamId ?? '',
- })) || [];
- setAllTeamsOfStore(allTeamsSorter(transformedTeamData));
},
onError: (err: any) => {
logger.error('useGetTeamsByStoreQuery error', {
@@ -79,7 +74,19 @@ export const useGetAllTeamsOfStore = () => {
},
});
- const isPartialError = !!(allTeamsOfStore.length && error);
+ useEffect(() => {
+ if (data && !loading) {
+ const transformedTeamData: TeamSwitcherTypes[] =
+ data?.getTeamsByStore?.map((team: any) => ({
+ teamLabel: team?.teamName ?? '',
+ teamImage: team?.teamId ? Images[team.teamId] : Images.Default,
+ teamId: team?.teamId ?? '',
+ })) || [];
+ setAllTeamsOfStore(allTeamsSorter(transformedTeamData));
+ }
+ }, [data, loading]);
+
+ const isPartialError = !!(data?.getTeamsByStore?.length && error);
- return { isOffSite, allTeamsOfStore, isPartialError, ...rest };
+ return { isOffSite, allTeamsOfStore, isPartialError, data, ...rest };
};
| fix: smdv 8376 | fix: smdv 8376
|
13a0e31f4af546a25cedb11658b2894280d61d07 | --- package.json
@@ -150,7 +150,7 @@
"@walmart/shop-gnfr-mini-app": "1.0.137",
"@walmart/sidekick-mini-app": "4.168.24",
"@walmart/store-feature-orders": "1.28.3",
- "@walmart/taskit-mini-app": "5.26.7",
+ "@walmart/taskit-mini-app": "5.31.6",
"@walmart/time-clock-mini-app": "patch:@walmart/time-clock-mini-app@npm%3A2.462.0#~/.yarn/patches/@walmart-time-clock-mini-app-npm-2.462.0-2066b95de1.patch",
"@walmart/time-clock-mini-app-next": "patch:@walmart/time-clock-mini-app-next@npm%3A2.812.0#~/.yarn/patches/@walmart-time-clock-mini-app-next-npm-2.812.0-94d8065abd.patch",
"@walmart/topstock-mini-app": "1.22.2",
--- yarn.lock
@@ -7371,7 +7371,7 @@ __metadata:
"@walmart/shop-gnfr-mini-app": "npm:1.0.137"
"@walmart/sidekick-mini-app": "npm:4.168.24"
"@walmart/store-feature-orders": "npm:1.28.3"
- "@walmart/taskit-mini-app": "npm:5.26.7"
+ "@walmart/taskit-mini-app": "npm:5.31.6"
"@walmart/time-clock-mini-app": "patch:@walmart/time-clock-mini-app@npm%3A2.462.0#~/.yarn/patches/@walmart-time-clock-mini-app-npm-2.462.0-2066b95de1.patch"
"@walmart/time-clock-mini-app-next": "patch:@walmart/time-clock-mini-app-next@npm%3A2.812.0#~/.yarn/patches/@walmart-time-clock-mini-app-next-npm-2.812.0-94d8065abd.patch"
"@walmart/topstock-mini-app": "npm:1.22.2"
@@ -8268,12 +8268,12 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/taskit-mini-app@npm:5.26.7":
- version: 5.26.7
- resolution: "@walmart/taskit-mini-app@npm:5.26.7::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftaskit-mini-app%2F-%2F%40walmart%2Ftaskit-mini-app-5.26.7.tgz"
+"@walmart/taskit-mini-app@npm:5.31.6":
+ version: 5.31.6
+ resolution: "@walmart/taskit-mini-app@npm:5.31.6::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftaskit-mini-app%2F-%2F%40walmart%2Ftaskit-mini-app-5.31.6.tgz"
peerDependencies:
"@walmart/allspark-foundation": "*"
- checksum: 10c0/6990b4ba7979701583992d274d42ef911f316095027195119a5b849f0b0034d918c7d0ff3a97b0aae381a71d2e7687e69f636b33a32788ca9676ec8bd711196b
+ checksum: 10c0/128dc39ae7af6b1e03e7a092db0de3708d01adc502c8ff1e0d1e13b2940341e640974e9585cfbe6e9d689eaef8c0f0a4adf87415e6af9a00c34c92379ce07960
languageName: node
linkType: hard
| feat(TASKIT-5205): update notes mini app to 5.31.6 (#4077) | feat(TASKIT-5205): update notes mini app to 5.31.6 (#4077)
Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com> |
647b48fea0346c4973db1e0ba22a167ea9b35ebd | --- 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.3):
- BinaryCodable (~> 0.2.1)
- CocoaAsyncSocket (~> 7.6.3)
- RealmSwift (= 10.32.3)
@@ -518,7 +518,7 @@ PODS:
- React-Core
- react-native-image-resizer (1.4.5):
- React-Core
- - react-native-logger (1.30.0):
+ - react-native-logger (1.31.0-rc.0):
- React
- react-native-loudness (2.0.0):
- React
@@ -530,8 +530,8 @@ PODS:
- React-Core
- react-native-pdf (6.6.2):
- React-Core
- - react-native-ptt-module (1.8.5):
- - PTT (= 1.8.4)
+ - react-native-ptt-module (1.8.3):
+ - PTT (= 1.8.3)
- React
- react-native-render-html (6.3.4):
- React-Core
@@ -1173,7 +1173,7 @@ SPEC CHECKSUMS:
Permission-LocationWhenInUse: 667dfff996a63375d7f2ba3522ae841aa1f7aaf3
Permission-Notifications: 49cae9775ac1e37c0e6cc28adca1d703527f1875
PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb
- PTT: 86944e876e1cedef14bcd800a66b89088d854624
+ PTT: ea5f9187d0be3094633434cbed7e227f50a7a061
RCT-Folly: 0080d0a6ebf2577475bda044aa59e2ca1f909cda
RCTRequired: 21229f84411088e5d8538f21212de49e46cc83e2
RCTTypeSafety: 62eed57a32924b09edaaf170a548d1fc96223086
@@ -1200,13 +1200,13 @@ SPEC CHECKSUMS:
react-native-get-random-values: a6ea6a8a65dc93e96e24a11105b1a9c8cfe1d72a
react-native-image-picker: 35834940bc572ba914707c39b60e043a06f88178
react-native-image-resizer: 506412a2bdd70dde64a61e13505ce10f61a04369
- react-native-logger: 16714d93e642a9553374bb56d7db98230beacbf3
+ react-native-logger: 23f2b2ed3622b45613a887bf3bdeaa7e5dec4976
react-native-loudness: fe12785700887bcfdb07abcf455c5df40e89183b
react-native-maps: ed6470f754c140c75aabff757e154cf52a1636a8
react-native-netinfo: 51b6a79a6f1729d853aa0bd5085e441f7ef32aa1
react-native-pager-view: f7238ec88a1e808f4ba09447d46e9bc8aef32aa4
react-native-pdf: 33c622cbdf776a649929e8b9d1ce2d313347c4fa
- react-native-ptt-module: 15a7f196d3581b7249191b46277aa33012e73ab5
+ react-native-ptt-module: 7cfc1a324de0fec9d48a43abfc8970550116f188
react-native-render-html: 5af9f6852f5e0cf9b74127537da3370984da51ee
react-native-safe-area-context: d768fdafd416b4c0bdc7bef4240c9ee53909baf3
react-native-scanner-3.0: 0d35c6ca8f7f530cc892e068270221a457f19165
--- package-lock.json
@@ -134,7 +134,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.4",
+ "react-native-ptt-module": "1.8.3",
"react-native-qrcode-svg": "^6.1.2",
"react-native-reanimated": "2.12.0",
"react-native-render-html": "^6.3.4",
@@ -17589,9 +17589,9 @@
"license": "ISC"
},
"node_modules/react-native-ptt-module": {
- "version": "1.8.4",
- "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.8.4.tgz",
- "integrity": "sha512-d35aTd7QstMtOafe06ndwQdMyNGeS0eDY2X91KjdJSQEgvb/M+MzgiGBAhDWWVyLvhf1tMITDMyG/iXNomRBsg==",
+ "version": "1.8.3",
+ "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.8.3.tgz",
+ "integrity": "sha512-dTZwn0Iu+Mxth7tMGKJk3zSSnleENGthzq1X4m4K9WXymX31CTX3EHtieq03hoVTo7y0EdvvW1FhjUJrhlYZlw==",
"license": "MIT"
},
"node_modules/react-native-qrcode-svg": {
@@ -32570,9 +32570,9 @@
"version": "0.16.1"
},
"react-native-ptt-module": {
- "version": "1.8.4",
- "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.8.4.tgz",
- "integrity": "sha512-d35aTd7QstMtOafe06ndwQdMyNGeS0eDY2X91KjdJSQEgvb/M+MzgiGBAhDWWVyLvhf1tMITDMyG/iXNomRBsg=="
+ "version": "1.8.3",
+ "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.8.3.tgz",
+ "integrity": "sha512-dTZwn0Iu+Mxth7tMGKJk3zSSnleENGthzq1X4m4K9WXymX31CTX3EHtieq03hoVTo7y0EdvvW1FhjUJrhlYZlw=="
},
"react-native-qrcode-svg": {
"version": "6.1.2",
--- package.json
@@ -176,7 +176,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.4",
+ "react-native-ptt-module": "1.8.3",
"react-native-qrcode-svg": "^6.1.2",
"react-native-reanimated": "2.12.0",
"react-native-render-html": "^6.3.4",
| revert ptt module update | revert ptt module update
|
4b54d7b2c78da2332f5f34ee5f7b86babf9d1944 | --- packages/allspark-utils/src/hooks/useRegistry.ts
@@ -0,0 +1,36 @@
+import { useEffect, useState } from 'react';
+import { Registry } from '../registry';
+import { useIsMounted } from './useIsMounted';
+
+/**
+ * @description
+ * Connects registry into react lifecycle, trigger render on registry change
+ */
+export const useRegistry = <R extends Registry>(registry: R) => {
+ const [, setState] = useState<any>(null);
+ const isMounted = useIsMounted();
+
+ function reRender() {
+ // force re-render on registry change
+ if (isMounted) {
+ setState({});
+ }
+ }
+
+ useEffect(() => {
+ const { remove } = registry.addChangeListener(reRender);
+ return () => remove();
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [registry]);
+
+ return registry;
+};
+
+/**
+ * @description
+ * Creates a useRegistry hook for a given registry
+ */
+export const createRegistryHook =
+ <R extends Registry>(registry: R) =>
+ () =>
+ useRegistry<R>(registry);
| chore: add missed hook | chore: add missed hook
|
a188fe38c96d4c105804459a567dcfa3d161e228 | --- __tests__/auth/LoginErrorScreenTest.tsx
@@ -1,21 +1,21 @@
import React from 'react';
-import {render, fireEvent, waitFor} from '@testing-library/react-native';
+import { render, fireEvent } from '@testing-library/react-native';
import WmConfig from 'react-native-wm-config';
-import {LoginErrorScreen} from '../../src/auth/LoginErrorScreen';
-import {SSOTelemetry} from '../../src/core/Telemetry';
-import {Logger} from '../../src/core/Logger';
+import { LoginErrorScreen } from '../../src/auth/LoginErrorScreen';
+import { SSOTelemetry } from '../../src/core/Telemetry';
+import { Logger } from '../../src/core/Logger';
(WmConfig.getValue as jest.Mock).mockReturnValue({
asString: jest.fn().mockReturnValue(
JSON.stringify({
issues: [
- {code: 'ISSUE_1', 'en-US': 'Issue 1', 'es-MX': 'Problema 1'},
- {code: 'ISSUE_2', 'en-US': 'Issue 2', 'es-MX': 'Problema 2'},
+ { code: 'ISSUE_1', 'en-US': 'Issue 1', 'es-MX': 'Problema 1' },
+ { code: 'ISSUE_2', 'en-US': 'Issue 2', 'es-MX': 'Problema 2' },
],
otherIssues: [
- {code: 'OTHER_1', 'en-US': 'Other 1', 'es-MX': 'Otro 1'},
- {code: 'OTHER_2', 'en-US': 'Other 2', 'es-MX': 'Otro 2'},
+ { code: 'OTHER_1', 'en-US': 'Other 1', 'es-MX': 'Otro 1' },
+ { code: 'OTHER_2', 'en-US': 'Other 2', 'es-MX': 'Otro 2' },
],
}),
),
@@ -45,11 +45,11 @@ describe('LoginErrorScreen', () => {
});
it('renders correctly for a custom error; closes on report issue', () => {
- const {getByTestId, queryByTestId} = render(
+ const { getByTestId, queryByTestId } = render(
<LoginErrorScreen
{...LoginErrorScreenProps}
route={
- {params: {authError: {message: 'request timed out', code: ''}}} as any
+ { params: { authError: { message: 'request timed out', code: '' } } } as any
}
/>,
);
@@ -60,11 +60,11 @@ describe('LoginErrorScreen', () => {
});
it('handles retry for custom error as expected', () => {
- const {getByTestId} = render(
+ const { getByTestId } = render(
<LoginErrorScreen
{...LoginErrorScreenProps}
route={
- {params: {authError: {message: 'request timed out', code: ''}}} as any
+ { params: { authError: { message: 'request timed out', code: '' } } } as any
}
/>,
);
@@ -74,11 +74,11 @@ describe('LoginErrorScreen', () => {
});
it('renders correctly for a no browser found error', () => {
- const {queryByTestId} = render(
+ const { queryByTestId } = render(
<LoginErrorScreen
{...LoginErrorScreenProps}
route={
- {params: {authError: {message: '', code: 'browser_not_found'}}} as any
+ { params: { authError: { message: '', code: 'browser_not_found' } } } as any
}
/>,
);
@@ -86,17 +86,17 @@ describe('LoginErrorScreen', () => {
});
it('submits feedback when onSave is called', () => {
- const {getByTestId} = render(
+ const { getByTestId } = render(
<LoginErrorScreen {...LoginErrorScreenProps} />,
);
fireEvent.press(getByTestId('save-button'));
//TODO: Work out how to interact with hook form
});
- it('calls onTryAgain when retry button is pressed', () => {
+ it('calls onTryAgain when retry button is pressed', () => {
const mockNavigation = { goBack: jest.fn(), navigate: jest.fn(), setOptions: jest.fn() };
const { getByTestId } = render(<LoginErrorScreen navigation={mockNavigation} route={{ params: { authError: { message: 'network error' } } }} />);
-
+
fireEvent.press(getByTestId('retry-button'));
expect(mockNavigation.goBack).toHaveBeenCalled();
});
--- __tests__/connectivity/ConnectivityTest.tsx
@@ -1,14 +1,13 @@
-import {all, call, takeLatest, select} from 'redux-saga/effects';
+import { all, call, takeLatest, select } from 'redux-saga/effects';
-import {NetworkActionTypes} from '@walmart/allspark-foundation/Network';
-import {UserActionTypes} from '@walmart/allspark-foundation/User';
-import { AllsparkBanners } from '@walmart/allspark-foundation/Components';
+import { NetworkActionTypes } from '@walmart/allspark-foundation/Network';
+import { UserActionTypes } from '@walmart/allspark-foundation/User';
import {
connectivitySagas,
updateConnectivityBanner,
getShowConnectivityWarning
} from '../../src/connectivity';
-import {SettingsActionTypes} from '../../src/settings/redux';
+import { SettingsActionTypes } from '../../src/settings/redux';
import { createRestartableSaga } from '@walmart/allspark-utils';
import { Logger } from '../../src/core/Logger';
@@ -36,14 +35,14 @@ test('connectivitySagas', () => {
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().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);
});
--- __tests__/permissions/PermissionsSagaTest.ts
@@ -3,7 +3,6 @@ import {call, select, fork, take, cancel, put} from 'redux-saga/effects';
import {createMockTask} from '@redux-saga/testing-utils';
import {
- AllsparkPermissionClient,
PermissionActionTypes,
} from '@walmart/allspark-foundation/Permissions';
import {NotificationSelectors} from '@walmart/allspark-foundation/Notification';
@@ -20,7 +19,6 @@ import {
PERMISSION_LOCATION_SCREEN,
PERMISSION_NOTIFICATION_SCREEN,
PERMISSION_WELCOME_SCREEN,
- PLATFORM_LOCATION_PERMISSION,
} from '../../src/permissions/constants';
import {
PERMISSIONS_COMPLETE,
--- packages/me-at-walmart-container/__tests__/graphql/links.test.ts
@@ -11,7 +11,7 @@ describe("ErrorLoggerLink", () => {
}
`;
it("should log errors with error message Error 1", (done) => {
- const mockLink = new ApolloLink((operation) =>
+ const mockLink = new ApolloLink((_operation) =>
Observable.of({
errors: [
{
--- packages/me-at-walmart-container/__tests__/http/interceptors/queueRequest.test.ts
@@ -1,4 +1,3 @@
-import { Queue } from '@walmart/allspark-utils';
import {
HttpClientQueue,
QueueInterceptor,
--- packages/me-at-walmart-container/__tests__/utils/mockBusinessUnitByCountryAndNumber.js
@@ -1,4 +1,4 @@
-export default businessUnitByCountryAndNumber = {
+export default {
__typename: 'BusinessUnitDetail',
baseAlignment: {
__typename: 'BaseAlignment',
--- packages/me-at-walmart-container/__tests__/utils/mockBusinessUnitByCountryAndNumberParsed.js
@@ -1,4 +1,4 @@
-export default parsed = {
+export default {
contacts: [
{
faxNumberTest: '4792733007',
--- packages/me-at-walmart-container/src/setup.ts
@@ -1,7 +1,6 @@
import { AppState } from "react-native";
import { ContainerSetup } from "@walmart/allspark-foundation/Container";
-import { AllsparkEnvironment } from "@walmart/allspark-foundation/Environment";
import { AllsparkNavigationClient } from "@walmart/allspark-foundation/Navigation";
import { AllsparkReduxStore } from "@walmart/allspark-foundation/Redux";
import { AllsparkNotificationClient } from "@walmart/allspark-foundation/Notification";
| chore: fix lint errors | chore: fix lint errors
|
8fe03eaf72e6924932f27559ddf9537dc0ac2518 | --- graphql.yml
@@ -12,7 +12,7 @@ applications:
- name: "dev"
persistedQueries:
- name: "getStoreAssociateTeamPreference"
- hash: "239149180e2489f9c9556f52853368edbd6ad451ce50b010d4e3dded76d31f56"
+ hash: "643da385e231fc099f673387e69e9e08f4e466fd6e72dcec3d6a0e81b85b3828"
queryTemplate: "src/common/queries/getStoreAssociateTeamPreference.graphql"
tags:
- "v1"
@@ -59,7 +59,7 @@ applications:
- name: "stage"
persistedQueries:
- name: "getStoreAssociateTeamPreference"
- hash: "239149180e2489f9c9556f52853368edbd6ad451ce50b010d4e3dded76d31f56"
+ hash: "643da385e231fc099f673387e69e9e08f4e466fd6e72dcec3d6a0e81b85b3828"
queryTemplate: "src/common/queries/getStoreAssociateTeamPreference.graphql"
tags:
- "v1"
@@ -106,7 +106,7 @@ applications:
# - name: "prod"
# persistedQueries:
# - name: "getStoreAssociateTeamPreference"
- # hash: "239149180e2489f9c9556f52853368edbd6ad451ce50b010d4e3dded76d31f56"
+ # hash: "643da385e231fc099f673387e69e9e08f4e466fd6e72dcec3d6a0e81b85b3828"
# queryTemplate: "src/common/queries/getStoreAssociateTeamPreference.graphql"
# tags:
# - "v1"
--- src/common/queries/getStoreAssociateTeamPreference.graphql
@@ -7,6 +7,7 @@ query getStoreAssociateTeamPreference($site: Int!, $win: String!) {
__typename
myTeams(businessUnitNumber: $site) {
__typename
+ site
teamId
teamName
}
--- src/common/queries/getStoreAssociateTeamPreference.ts
@@ -22,6 +22,7 @@ export type GetStoreAssociateTeamPreferenceQuery = {
__typename: 'Team';
teamId?: string | null;
teamName?: string | null;
+ site?: string | null;
} | null)[]
| null;
} | null;
@@ -41,6 +42,7 @@ export const GetStoreAssociateTeamPreferenceDocument = gql`
__typename
teamId
teamName
+ site
}
}
}
| fix(ui): update graphql queries | fix(ui): update graphql queries
|
5768d9a946851eddfe58ffd92be51c3536dba7aa | --- packages/core-services-allspark/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.11.3](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@2.11.2...@walmart/core-services-allspark@2.11.3) (2023-08-11)
+
+**Note:** Version bump only for package @walmart/core-services-allspark
+
+
+
+
+
## [2.11.2](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@2.11.1...@walmart/core-services-allspark@2.11.2) (2023-08-10)
**Note:** Version bump only for package @walmart/core-services-allspark
--- packages/core-services-allspark/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "2.11.2",
+ "version": "2.11.3",
"lockfileVersion": 1,
"requires": true,
"packages": {
--- packages/core-services-allspark/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "2.11.2",
+ "version": "2.11.3",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -27,7 +27,7 @@
"@walmart/allspark-http-client": "^2.4.17",
"@walmart/allspark-utils": "^1.6.1",
"@walmart/core-services": "^2.1.2",
- "@walmart/me-at-walmart-athena-queries": "^1.3.11",
+ "@walmart/me-at-walmart-athena-queries": "^1.4.0",
"crypto-js": "~4.1.1",
"jwt-decode": "^3.1.2",
"luxon": "^2.4.0",
--- packages/me-at-walmart-athena-queries/CHANGELOG.md
@@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.4.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@1.3.11...@walmart/me-at-walmart-athena-queries@1.4.0) (2023-08-11)
+
+
+### Features
+
+* **athena:** add query for preference update. ([eff65f2](https://gecgithub01.walmart.com/allspark/allspark/commit/eff65f2780bd03ddd7c4773e5f314f5cfa6b4d0e))
+* **athena:** update mutation. ([be281e3](https://gecgithub01.walmart.com/allspark/allspark/commit/be281e366be593b0f5af6dd35e2fe7f04449b7f1))
+
+
+
+
+
## [1.3.11](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@1.3.10...@walmart/me-at-walmart-athena-queries@1.3.11) (2023-06-28)
**Note:** Version bump only for package @walmart/me-at-walmart-athena-queries
--- packages/me-at-walmart-athena-queries/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-athena-queries",
- "version": "1.3.11",
+ "version": "1.4.0",
"description": "> TODO: description",
"author": "rlane1 <russell.lane@walmart.com>",
"homepage": "",
| chore(version): updating package version | chore(version): updating package version
- @walmart/core-services-allspark@2.11.3
- @walmart/me-at-walmart-athena-queries@1.4.0
|
63fd500fac4722605b8d4945e40754d1d23aa77e | --- package-lock.json
@@ -2511,9 +2511,9 @@
}
},
"@react-navigation/drawer": {
- "version": "5.10.7",
- "resolved": "https://npme.walmart.com/@react-navigation/drawer/-/drawer-5.10.7.tgz",
- "integrity": "sha512-aiWrZpTuaLjUDZJ8r/j5V4H+oFcoJbLP/5NBvQ0a3U4riaXdELlqCIALTZKSj0CCaGN0k/74Q5tu+XQ+NQ2yuA==",
+ "version": "5.12.5",
+ "resolved": "https://npme.walmart.com/@react-navigation/drawer/-/drawer-5.12.5.tgz",
+ "integrity": "sha512-WMfz/tKg/K7QBb5rhjXW/pho4zXh3OoHXnHETk5SuVzHlDPM7r84uvAeC5l+ySp5jmipLrJn3zL+kfv9+KKHZQ==",
"requires": {
"color": "^3.1.3",
"react-native-iphone-x-helper": "^1.3.0"
@@ -12791,7 +12791,10 @@
"react-native-wm-barcode": {
"version": "2.25.0",
"resolved": "https://npme.walmart.com/react-native-wm-barcode/-/react-native-wm-barcode-2.25.0.tgz",
- "integrity": "sha512-xmSBA8p4Zol8ANcEytrb3cGukmnVCbVqRzRFXKOcKH1LPMVn/wnWEQ0itu8x24k4/guMa/Mf8vagstrCjAnMGg=="
+ "integrity": "sha512-xmSBA8p4Zol8ANcEytrb3cGukmnVCbVqRzRFXKOcKH1LPMVn/wnWEQ0itu8x24k4/guMa/Mf8vagstrCjAnMGg==",
+ "requires": {
+ "@react-navigation/drawer": "^5.12.5"
+ }
},
"react-native-wm-config": {
"version": "0.1.1",
--- package.json
@@ -56,7 +56,7 @@
"@react-native-firebase/perf": "^7.4.3",
"@react-native-firebase/remote-config": "^9.0.5",
"@react-navigation/bottom-tabs": "^5.8.0",
- "@react-navigation/drawer": "^5.9.1",
+ "@react-navigation/drawer": "^5.12.5",
"@react-navigation/material-top-tabs": "^5.2.16",
"@react-navigation/native": "^5.7.3",
"@react-navigation/stack": "^5.9.0",
--- src/navigation/AssociateHallwayNav/DrawerNav.tsx
@@ -2,6 +2,7 @@ __DEV__ && console.log('loading drawer nav');
import React, {useEffect, useMemo, useState} from 'react';
import {StyleSheet, TouchableOpacity, Image} from 'react-native';
import {createDrawerNavigator, useIsDrawerOpen} from '@react-navigation/drawer';
+import DrawerHeader from '@react-navigation/drawer/src/views/Header';
import {createStackNavigator} from '@react-navigation/stack';
import {
DrawerActions,
@@ -23,6 +24,8 @@ import {Images} from '../../images';
import {MainTabsNav} from './MainTabsNav';
import {SideMenuContent} from './SideMenuContent';
+import {FeedbackMiniApp} from '@walmart/feedback-all-spark-miniapp';
+
export const styles = StyleSheet.create({
drawer: {
width: '89%',
@@ -76,7 +79,9 @@ export const MainHeader = (props: HeaderProps) => {
);
};
-export const getHeader = (props: any) => <MainHeader {...props} />;
+export const getHeader = (props: any) => (
+ <MainHeader {...props} originalHeaderType={DrawerHeader} />
+);
export const DrawerButton = () => {
const navigation = useNavigation();
@@ -146,8 +151,17 @@ export const DrawerNav = () => {
<Drawer.Navigator
drawerStyle={initRender ? styles.initialDrawer : styles.drawer}
overlayColor='rgba(0, 0, 0, 0.6)'
- drawerContent={renderSideMenuContent}>
- <Drawer.Screen name='main' component={DrawerContentNav} />
+ drawerContent={renderSideMenuContent}
+ screenOptions={({route}: any) => ({
+ header: getHeader,
+ headerShown: true,
+ headerTitle: getMainHeaderTitle(route),
+ headerLeft: getHeaderLeft,
+ headerLeftContainerStyle: styles.headerLeftContainer,
+ })}
+ >
+ <Drawer.Screen name='main' component={MainTabsNav} />
+ <Drawer.Screen name='Feedback' component={FeedbackMiniApp} options={{headerShown: false}} />
</Drawer.Navigator>
);
};
| some tests | some tests
|
2a2d7adcd42950b7ee7f0679f7ccfa7b8e361b0c | --- src/presence/service.ts
@@ -3,6 +3,7 @@ import {FIRESTORE_OFFLINE_DATA, FIRESTORE_ONLINE_DATA} from './constants';
import {createUserDocumentPath} from './utils';
import AsyncStorage from '@react-native-community/async-storage';
import {TEXTING_MINI_APP_CACHE_NAMESPACE} from '../constants';
+import {logger} from '../logger/Logger';
export const OFFLINE_LIMIT = 12 * 60 * 60;
const LAST_OFFLINE_CACHE_KEY = `${TEXTING_MINI_APP_CACHE_NAMESPACE}_dnd_last_offline`;
@@ -12,8 +13,10 @@ export const goOnlineForUser = (storeId: string, userId: string) => {
firestore()
.doc(userDocument)
.set(FIRESTORE_ONLINE_DATA, {merge: true})
- .catch(() => {
- //TODO: Log error if setting firestore failed
+ .catch((e: any) => {
+ logger.error('Could not set user online status in firestore', {
+ message: e.toString(),
+ });
});
};
@@ -23,26 +26,16 @@ export const goOfflineForUser = (storeId: string, userId: string) => {
.doc(userDocument)
.set(FIRESTORE_OFFLINE_DATA, {merge: true})
.then(() => {
- setLastOfflineTimeForAsyncStorage().catch(() => {
- //TODO: Log error if setting last offline time failed
+ setLastOfflineTimeForAsyncStorage().catch((e: any) => {
+ logger.error('Could not set user offline status in async storage', {
+ message: e.toString(),
+ });
});
})
- .catch(() => {
- //TODO: Log error if firestore update failed
- });
-};
-
-export const offlineStartTime = (
- storeId: string,
- userId: string,
- setUser?: any,
-) => {
- const userDocument = createUserDocumentPath(storeId, userId);
- firestore()
- .doc(userDocument)
- .get()
- .then((res) => {
- setUser(res);
+ .catch((e: any) => {
+ logger.error('Could not set user offline status in firestore', {
+ message: e.toString(),
+ });
});
};
@@ -59,8 +52,11 @@ export const goOnlineForUserIfOfflineTimeExpired = async (
userId: string,
) => {
try {
- const value = await AsyncStorage.getItem(LAST_OFFLINE_CACHE_KEY);
- const lastOfflineTime: string | null = value && JSON.parse(value);
+ const rawLastOfflineTime = await AsyncStorage.getItem(
+ LAST_OFFLINE_CACHE_KEY,
+ );
+ const lastOfflineTime: string | null =
+ rawLastOfflineTime && JSON.parse(rawLastOfflineTime);
if (lastOfflineTime) {
let currentTime = Math.round(Date.now() / 1000);
let timeSpentOffline = Math.round(currentTime - Number(lastOfflineTime));
@@ -68,8 +64,9 @@ export const goOnlineForUserIfOfflineTimeExpired = async (
goOnlineForUser(storeId, userId);
}
}
- } catch (e) {
- //TODO: Use logger
- // console.log('Failed to fetch the input from storage');
+ } catch (e: any) {
+ logger.error('Failed to fetch the input from storage', {
+ message: e.toString(),
+ });
}
};
--- src/presence/service.ts
@@ -3,6 +3,7 @@ import {FIRESTORE_OFFLINE_DATA, FIRESTORE_ONLINE_DATA} from './constants';
import {createUserDocumentPath} from './utils';
import AsyncStorage from '@react-native-community/async-storage';
import {TEXTING_MINI_APP_CACHE_NAMESPACE} from '../constants';
+import {logger} from '../logger/Logger';
export const OFFLINE_LIMIT = 12 * 60 * 60;
const LAST_OFFLINE_CACHE_KEY = `${TEXTING_MINI_APP_CACHE_NAMESPACE}_dnd_last_offline`;
@@ -12,8 +13,10 @@ export const goOnlineForUser = (storeId: string, userId: string) => {
firestore()
.doc(userDocument)
.set(FIRESTORE_ONLINE_DATA, {merge: true})
- .catch(() => {
- //TODO: Log error if setting firestore failed
+ .catch((e: any) => {
+ logger.error('Could not set user online status in firestore', {
+ message: e.toString(),
+ });
});
};
@@ -23,26 +26,16 @@ export const goOfflineForUser = (storeId: string, userId: string) => {
.doc(userDocument)
.set(FIRESTORE_OFFLINE_DATA, {merge: true})
.then(() => {
- setLastOfflineTimeForAsyncStorage().catch(() => {
- //TODO: Log error if setting last offline time failed
+ setLastOfflineTimeForAsyncStorage().catch((e: any) => {
+ logger.error('Could not set user offline status in async storage', {
+ message: e.toString(),
+ });
});
})
- .catch(() => {
- //TODO: Log error if firestore update failed
- });
-};
-
-export const offlineStartTime = (
- storeId: string,
- userId: string,
- setUser?: any,
-) => {
- const userDocument = createUserDocumentPath(storeId, userId);
- firestore()
- .doc(userDocument)
- .get()
- .then((res) => {
- setUser(res);
+ .catch((e: any) => {
+ logger.error('Could not set user offline status in firestore', {
+ message: e.toString(),
+ });
});
};
@@ -59,8 +52,11 @@ export const goOnlineForUserIfOfflineTimeExpired = async (
userId: string,
) => {
try {
- const value = await AsyncStorage.getItem(LAST_OFFLINE_CACHE_KEY);
- const lastOfflineTime: string | null = value && JSON.parse(value);
+ const rawLastOfflineTime = await AsyncStorage.getItem(
+ LAST_OFFLINE_CACHE_KEY,
+ );
+ const lastOfflineTime: string | null =
+ rawLastOfflineTime && JSON.parse(rawLastOfflineTime);
if (lastOfflineTime) {
let currentTime = Math.round(Date.now() / 1000);
let timeSpentOffline = Math.round(currentTime - Number(lastOfflineTime));
@@ -68,8 +64,9 @@ export const goOnlineForUserIfOfflineTimeExpired = async (
goOnlineForUser(storeId, userId);
}
}
- } catch (e) {
- //TODO: Use logger
- // console.log('Failed to fetch the input from storage');
+ } catch (e: any) {
+ logger.error('Failed to fetch the input from storage', {
+ message: e.toString(),
+ });
}
};
| refactor dnd service provider, add logger | refactor dnd service provider, add logger
|
e14065a0d4718d0c25a06bee643ee512f1471942 | --- package-lock.json
@@ -70,7 +70,7 @@
"@walmart/pay-stub-miniapp": "0.9.35",
"@walmart/payrollsolution_miniapp": "0.130.46",
"@walmart/price-changes-mini-app": "1.9.7",
- "@walmart/profile-feature-app": "0.287.1",
+ "@walmart/profile-feature-app": "0.345.0",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
"@walmart/react-native-logger": "1.34.4",
@@ -8875,9 +8875,9 @@
}
},
"node_modules/@walmart/profile-feature-app": {
- "version": "0.287.1",
- "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.287.1.tgz",
- "integrity": "sha512-1+HbrDhq7XGKttysqza/FVl1OKCPxcfwULssS4oYMkMqhZ5ieKFtJdr24D0o05qAZE2hXhQu2xZQhw4IAQrGUQ==",
+ "version": "0.345.0",
+ "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.345.0.tgz",
+ "integrity": "sha512-kJIQaSy6nrPsdlGi83h/36Rfd0vk8xFfm8qWmcKcngJVETPYlhBORXJXlajGwVPLGSv5MJ4cGr/8hG8SaK4LgQ==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/bottom-tabs": "^6.0.0",
@@ -33785,9 +33785,9 @@
"integrity": "sha512-WvfjtqJwKwIWu/wy0wZumXMrpa6zFcA031SPX7qX8LZ076y5UtJrDurUNDlt1MM8Rh7bp4pteQbnh93zxjS8hw=="
},
"@walmart/profile-feature-app": {
- "version": "0.287.1",
- "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.287.1.tgz",
- "integrity": "sha512-1+HbrDhq7XGKttysqza/FVl1OKCPxcfwULssS4oYMkMqhZ5ieKFtJdr24D0o05qAZE2hXhQu2xZQhw4IAQrGUQ=="
+ "version": "0.345.0",
+ "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.345.0.tgz",
+ "integrity": "sha512-kJIQaSy6nrPsdlGi83h/36Rfd0vk8xFfm8qWmcKcngJVETPYlhBORXJXlajGwVPLGSv5MJ4cGr/8hG8SaK4LgQ=="
},
"@walmart/react-native-encrypted-storage": {
"version": "1.1.3"
--- package.json
@@ -111,7 +111,7 @@
"@walmart/pay-stub-miniapp": "0.9.35",
"@walmart/payrollsolution_miniapp": "0.130.46",
"@walmart/price-changes-mini-app": "1.9.7",
- "@walmart/profile-feature-app": "0.287.1",
+ "@walmart/profile-feature-app": "0.345.0",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
"@walmart/react-native-logger": "1.34.4",
| feature: profile feature app version upgrade | feature: profile feature app version upgrade
|
4aa24480d6d81093081ddb17ea8e241e8f53977b | --- packages/allspark-foundation-hub/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.25.14](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.25.13...@walmart/allspark-foundation-hub@1.25.14) (2025-12-11)
+
+**Note:** Version bump only for package @walmart/allspark-foundation-hub
+
## [1.25.13](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.25.12...@walmart/allspark-foundation-hub@1.25.13) (2025-12-11)
**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.25.13",
+ "version": "1.25.14",
"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.16.12](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.16.11...@walmart/allspark-foundation@7.16.12) (2025-12-11)
+
+### Bug Fixes
+
+- drawer button badge broken touchpoint ([14a5ceb](https://gecgithub01.walmart.com/allspark/allspark/commit/14a5cebcbb34e6f4e4d97d69fe8b92eb2b32553a))
+
## [7.16.11](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.16.10...@walmart/allspark-foundation@7.16.11) (2025-12-11)
### Bug Fixes
--- packages/allspark-foundation/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation",
- "version": "7.16.11",
+ "version": "7.16.12",
"description": "",
"main": "Core/index.js",
"types": "Core/index.d.ts",
--- packages/my-walmart-hub/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.6.12](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/my-walmart-hub@1.6.11...@walmart/my-walmart-hub@1.6.12) (2025-12-11)
+
+**Note:** Version bump only for package @walmart/my-walmart-hub
+
## [1.6.11](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/my-walmart-hub@1.6.10...@walmart/my-walmart-hub@1.6.11) (2025-12-11)
**Note:** Version bump only for package @walmart/my-walmart-hub
--- packages/my-walmart-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/my-walmart-hub",
- "version": "1.6.11",
+ "version": "1.6.12",
"description": "My Walmart Hub - A comprehensive hub framework for building dynamic widget-based interfaces",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-foundation@7.16.12
- @walmart/allspark-foundation-hub@1.25.14
- @walmart/my-walmart-hub@1.6.12
|
1baeaa544aec3fc323df2d6dc73b174d63d6a68b | --- packages/allspark-foundation-hub/src/Shared/Components/SearchInput/SearchInput.tsx
@@ -36,7 +36,9 @@ export const TeamSearchInput = ({
);
return (
<View testID='team-search-input-view' style={styles.container}>
- <View testID='search-icon' style={styles.iconLeftWrapper}>{leftIconComponent}</View>
+ <View testID='search-icon' style={styles.iconLeftWrapper}>
+ {leftIconComponent}
+ </View>
<TextInput
style={styles.inputStyle}
placeholder={t('searchTeamInput.placeHolder')}
| test(ui): fixed lint error | test(ui): fixed lint error
|
1ad23da6b7bf6f44cf1224ab7e04cc91e400ede5 | --- src/core/wmConfigInit.ts
@@ -20,8 +20,8 @@ export const initWmConfig = async () => {
}
wmConfig.setDefaults('core', {
- feedbackWidgetEnabled: true,
- feedbackOptions: defaultConfig,
+ ssoFeedbackWidgetEnabled: true,
+ ssoFeedbackOptions: JSON.stringify(defaultConfig),
});
return wmConfig
| update firebase default value | update firebase default value
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.