commit_hash stringlengths 40 40 | input stringlengths 13 7.99k | output stringlengths 5 155 | full_message stringlengths 6 8.96k |
|---|---|---|---|
9276ccdd120df76e5c6b4dee3b39972aad549419 | --- packages/core-services-allspark/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.13.11](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@2.13.10...@walmart/core-services-allspark@2.13.11) (2024-02-14)
+
+
+### Bug Fixes
+
+* **user:** add anniversary in transform.ts ([03e5da0](https://gecgithub01.walmart.com/allspark/allspark-core-services/commit/03e5da0d81c3dc331eedd7ebb22a25d90991162f))
+
+
+
+
+
## [2.13.10](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@2.13.9...@walmart/core-services-allspark@2.13.10) (2024-02-14)
--- packages/core-services-allspark/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "2.13.10",
+ "version": "2.13.11",
"lockfileVersion": 1,
"requires": true,
"packages": {
--- packages/core-services-allspark/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "2.13.10",
+ "version": "2.13.11",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
- @walmart/core-services-allspark@2.13.11
|
49437231ea57af689e7e27b9c1f50dc7dfa84193 | --- packages/allspark-foundation/__tests__/Navigation/modals/PromptModal.test.tsx
@@ -0,0 +1,18 @@
+import React from 'react';
+import { render } from '@testing-library/react-native';
+import { AllsparkPromptModal, PromptModalProps } from '../../../src/Navigation/modals/PromptModal';
+
+describe('AllsparkPromptModal', () => {
+ const defaultProps: PromptModalProps = {
+ title: 'Test Title',
+ onSubmit: jest.fn(),
+ };
+ it('should render the AllsparkPromptModal component', () => {
+ const { getByText } = render(
+ <AllsparkPromptModal
+ modal={{ params: defaultProps, closeModal: jest.fn() }}
+ />
+ );
+ expect(getByText('Test Title')).toBeTruthy();
+ });
+});
| promt modal test | promt modal test
|
8b2a024202c9fb5b2e43559742a4884bc842c41c | --- packages/allspark-foundation/src/Container/index.ts
@@ -4,6 +4,7 @@
*/
export * from './AllsparkContainer';
+export * from './ActiveContainerManager';
export {
ContainerActionCreators,
ContainerActionTypes,
--- packages/allspark-foundation/src/Feature/AllsparkFeatureModule.tsx
@@ -306,7 +306,7 @@ export class AllsparkFeatureModule<
}
// Run onConnect event for this feature
- this._events.runEventListener('onConnect', this.id, capability);
+ this._events.runEvent('onConnect', capability);
};
// --- Capabilitiy Connectors --- //
@@ -607,7 +607,7 @@ export class AllsparkFeatureModule<
* featureModule.disconnect();
*/
public disconnect(capability?: DisconnectCapabilities) {
- this._events.runEventListener('onDisconnect', this.id, capability);
+ this._events.runEvent('onDisconnect', capability);
switch (capability) {
case 'listeners':
this._disconnectListeners();
| fix: feature module listeners were not firing due to incorrect params | fix: feature module listeners were not firing due to incorrect params
|
88c02166b335111dcac9f250f3e809494955f40c | --- targets/US/package.json
@@ -140,7 +140,7 @@
"@walmart/redux-store": "~6.3.28",
"@walmart/returns-mini-app": "4.15.0",
"@walmart/rfid-scan-mini-app": "2.6.3",
- "@walmart/rn-receiving-mini-app": "2.4.42",
+ "@walmart/rn-receiving-mini-app": "2.4.43",
"@walmart/roster-mini-app": "2.9.0",
"@walmart/schedule-mini-app": "0.118.2",
"@walmart/shelfavailability-mini-app": "1.5.37",
--- yarn.lock
@@ -6259,9 +6259,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/atlas-rn-ui-components@npm:1.1.35":
- version: 1.1.35
- resolution: "@walmart/atlas-rn-ui-components@npm:1.1.35"
+"@walmart/atlas-rn-ui-components@npm:1.1.36":
+ version: 1.1.36
+ resolution: "@walmart/atlas-rn-ui-components@npm:1.1.36"
peerDependencies:
"@livingdesign/tokens": ">=0.63.0"
"@react-native-picker/picker": ">=2.4.0"
@@ -6283,7 +6283,7 @@ __metadata:
bin:
installFonts: scripts/installFonts
runCodemods: scripts/runCodemods
- checksum: 10c0/dbeb3e580d732daa024de72efe5ec72de28d6e5d6b7f20736bd143294ad8bb1ad3eb4b970ed1567c2c83df8dfc7bbb9b048bbbd4b2821404da3a11aab5927822
+ checksum: 10c0/e63a661463ddbfaa3d504c2bdd80b78bb8a7b0d71567025c787e661547ab498a5f1b02be8b1a7414229bc806a696765e85d0f775eed298dd5c6f66ffffbea815
languageName: node
linkType: hard
@@ -7342,7 +7342,7 @@ __metadata:
"@walmart/redux-store": "npm:~6.3.28"
"@walmart/returns-mini-app": "npm:4.15.0"
"@walmart/rfid-scan-mini-app": "npm:2.6.3"
- "@walmart/rn-receiving-mini-app": "npm:2.4.42"
+ "@walmart/rn-receiving-mini-app": "npm:2.4.43"
"@walmart/roster-mini-app": "npm:2.9.0"
"@walmart/schedule-mini-app": "npm:0.118.2"
"@walmart/shelfavailability-mini-app": "npm:1.5.37"
@@ -8059,11 +8059,11 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/rn-receiving-mini-app@npm:2.4.42":
- version: 2.4.42
- resolution: "@walmart/rn-receiving-mini-app@npm:2.4.42"
+"@walmart/rn-receiving-mini-app@npm:2.4.43":
+ version: 2.4.43
+ resolution: "@walmart/rn-receiving-mini-app@npm:2.4.43"
dependencies:
- "@walmart/atlas-rn-ui-components": "npm:1.1.35"
+ "@walmart/atlas-rn-ui-components": "npm:1.1.36"
"@walmart/loadquality-mini-app": "npm:1.0.156"
peerDependencies:
"@react-native-clipboard/clipboard": ">=1.14.0"
@@ -8087,7 +8087,7 @@ __metadata:
react-native-svg: ">=14.1.0"
react-native-svg-transformer: ">=1.1.0"
react-native-vision-camera: ^2.16.8
- checksum: 10c0/3232cef0bde415e63c2b617d80060add530ff15361b55d026b25d6619ce8867932bd18f6a48228597d37cfaf1ce95a4b5b63ddb02cdea0ecb6fe85a4dcbc8670
+ checksum: 10c0/cf515d3cf24d4a4eb8282faad0248c0d516192e45230840c7c9af3124bbd59e94144cc0ff4ab1ff44dbe4d0c27161424a6f21d84a5bab0ae3ca62b57b0547fb2
languageName: node
linkType: hard
| Receiving version 2.4.43 - Bug fixes | Receiving version 2.4.43 - Bug fixes
|
b38212a3686abb9a4696280533674015e968c8bf | --- package-lock.json
@@ -81,7 +81,7 @@
"@walmart/receipt-check-miniapp": "1.14.6",
"@walmart/redux-store": "3.4.0",
"@walmart/returns-mini-app": "1.9.0",
- "@walmart/schedule-mini-app": "0.43.0",
+ "@walmart/schedule-mini-app": "0.44.0",
"@walmart/settings-mini-app": "1.19.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
"@walmart/taskit-mini-app": "2.40.8",
@@ -9032,9 +9032,9 @@
}
},
"node_modules/@walmart/schedule-mini-app": {
- "version": "0.43.0",
- "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.43.0.tgz",
- "integrity": "sha512-9rJshETBgUZmpbDfpki+r8CwSQ+pku2rcBxoyK6rtRU16rfYIujvGDcLf7oOnNts0ZayMpBz/oDG0ivHbN5Qjg==",
+ "version": "0.44.0",
+ "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.44.0.tgz",
+ "integrity": "sha512-U8N90ANCCneXMDLihT+/KJCRo/dOsg1Pnm0zWZf6RApo3B2TSsZSuGJE9OAuQ4/8n9VlTwoCYl47siZqivbxCQ==",
"dependencies": {
"@walmart/moment-walmart": "^1.0.4",
"@walmart/wfm-ui": "0.3.0",
@@ -33832,9 +33832,9 @@
}
},
"@walmart/schedule-mini-app": {
- "version": "0.43.0",
- "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.43.0.tgz",
- "integrity": "sha512-9rJshETBgUZmpbDfpki+r8CwSQ+pku2rcBxoyK6rtRU16rfYIujvGDcLf7oOnNts0ZayMpBz/oDG0ivHbN5Qjg==",
+ "version": "0.44.0",
+ "resolved": "https://npme.walmart.com/@walmart/schedule-mini-app/-/schedule-mini-app-0.44.0.tgz",
+ "integrity": "sha512-U8N90ANCCneXMDLihT+/KJCRo/dOsg1Pnm0zWZf6RApo3B2TSsZSuGJE9OAuQ4/8n9VlTwoCYl47siZqivbxCQ==",
"requires": {
"@walmart/moment-walmart": "1.0.4",
"@walmart/wfm-ui": "0.3.0",
--- package.json
@@ -122,7 +122,7 @@
"@walmart/receipt-check-miniapp": "1.14.6",
"@walmart/redux-store": "3.4.0",
"@walmart/returns-mini-app": "1.9.0",
- "@walmart/schedule-mini-app": "0.43.0",
+ "@walmart/schedule-mini-app": "0.44.0",
"@walmart/settings-mini-app": "1.19.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
"@walmart/taskit-mini-app": "2.40.8",
| schedule-mini-app v0.44.0 | schedule-mini-app v0.44.0
|
c7e0c54070f2ecb67dba7e93ed2a3106b4e854b2 | --- packages/allspark-foundation/src/Components/Badges.tsx
@@ -41,7 +41,7 @@ export const AllsparkBadges = AllsparkDynamicComponents.create(
}
if ('icon' in props && props.icon) {
- const { icon, color = 'yello', size } = props;
+ const { icon, color = 'yellow', size } = props;
return (
<Animated.View entering={FadeIn} exiting={FadeOut}>
{/* @ts-ignore */}
| chore: badge color mispelling fix | chore: badge color mispelling fix
|
de7eb0a89b53f371ee37cf4a872a09ac2663ed8f | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 24
+ versionCode 25
versionName "1.0.1"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>24</string>
+ <string>25</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>invmgmt</string>
--- ios/AllSparkTests/Info.plist
@@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>24</string>
+ <string>25</string>
</dict>
</plist>
| Incrementing build number | Incrementing build number
|
291fe371945559dfea3ae47ae747fa31e9e85d16 | --- src/translations/es-MX.ts
@@ -105,7 +105,7 @@ export const esMX_common = {
enrollTwoStep: 'Inscríbete en 2SV',
howIsTwoStepProcess:
'Durante la Verificación en 2 Pasos, se envía un código a tu dispositivo. Si no recibiste un código, es posible que debas registrarte o volver a inscribirte para la Verificación en 2 Pasos.',
- linkDescOne: 'y haz clic en Enroll (Inscribirse).',
+ linkDescOne: ' y haz clic en Enroll (Inscribirse).',
linkDescZero:
'Una vez que estés utilizando una computadora de la compañía, abre Google Chrome, visita la URL',
title: 'Verificación en 2 Pasos',
| fixed translation | fixed translation
|
8b174538ea27369f2f65c541898ddc617f7e9580 | --- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.0.15",
+ "version": "1.0.16",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/myteam-mini-app",
- "version": "1.0.15",
+ "version": "1.0.16",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.20.0",
@@ -65,9 +65,9 @@
"@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/roster-mini-app": "1.0.17",
+ "@walmart/roster-mini-app": "1.0.18",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.15",
+ "@walmart/wmconnect-mini-app": "1.0.16",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
@@ -11815,9 +11815,9 @@
}
},
"node_modules/@walmart/roster-mini-app": {
- "version": "1.0.17",
- "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.17.tgz",
- "integrity": "sha512-FFb9Ebt3x8OiqWi0eW6aLlt1yd9SS40vfx66rv9d8tbkMTLteYuBv18+DkAoUKiiGYUSw+RUULy6VlLuLxhtNQ==",
+ "version": "1.0.18",
+ "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.18.tgz",
+ "integrity": "sha512-FGds7mO+7cQ9GuUTOWddKM0yNN1JSbjOSW2CWgC0dXoeTTOJkrAo7LF/aPMCSDCD8aQalC57GXvU5T9F2AUEGQ==",
"dev": true,
"hasInstallScript": true
},
@@ -11844,9 +11844,9 @@
}
},
"node_modules/@walmart/wmconnect-mini-app": {
- "version": "1.0.15",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.15.tgz",
- "integrity": "sha512-nPIUPqtMXnTwR1UahbkO6o2reB8J2kVg2F1h0LKBn8v2AebEfJXfYDelKDFgKd+BsMJ6g/oE2BdHmc5WoDX2/g==",
+ "version": "1.0.16",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.16.tgz",
+ "integrity": "sha512-cW1wpQmHKZ6QGDQnzqDcIfKYhquoOmLAN+aDzr8Mdp7cKkcxtmtsTWY9qLE1Kr6dFGIjlikL+0dTF3RuktJ1+A==",
"dev": true,
"hasInstallScript": true
},
@@ -41047,9 +41047,9 @@
}
},
"@walmart/roster-mini-app": {
- "version": "1.0.17",
- "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.17.tgz",
- "integrity": "sha512-FFb9Ebt3x8OiqWi0eW6aLlt1yd9SS40vfx66rv9d8tbkMTLteYuBv18+DkAoUKiiGYUSw+RUULy6VlLuLxhtNQ==",
+ "version": "1.0.18",
+ "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.18.tgz",
+ "integrity": "sha512-FGds7mO+7cQ9GuUTOWddKM0yNN1JSbjOSW2CWgC0dXoeTTOJkrAo7LF/aPMCSDCD8aQalC57GXvU5T9F2AUEGQ==",
"dev": true
},
"@walmart/ui-components": {
@@ -41064,9 +41064,9 @@
}
},
"@walmart/wmconnect-mini-app": {
- "version": "1.0.15",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.15.tgz",
- "integrity": "sha512-nPIUPqtMXnTwR1UahbkO6o2reB8J2kVg2F1h0LKBn8v2AebEfJXfYDelKDFgKd+BsMJ6g/oE2BdHmc5WoDX2/g==",
+ "version": "1.0.16",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.16.tgz",
+ "integrity": "sha512-cW1wpQmHKZ6QGDQnzqDcIfKYhquoOmLAN+aDzr8Mdp7cKkcxtmtsTWY9qLE1Kr6dFGIjlikL+0dTF3RuktJ1+A==",
"dev": true
},
"@whatwg-node/events": {
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.0.15",
+ "version": "1.0.16",
"private": false,
"main": "dist/index.js",
"files": [
@@ -88,8 +88,8 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.15",
- "@walmart/roster-mini-app": "1.0.17",
+ "@walmart/wmconnect-mini-app": "1.0.16",
+ "@walmart/roster-mini-app": "1.0.18",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
| Update version | Update version
|
4c43a1059549bb984f324aaaa63276bbc3f1d3a9 | --- packages/me-at-walmart-container/src/redux/notification.ts
@@ -75,7 +75,7 @@ export function* chargeSumo() {
// Builds sumo profile for pre hire associate
export function* getPreHireProfile() {
// Will return email id for prehire
- const emailId = yield* select(UserSelectors.getUserId);
+ const emailId = yield* select(UserSelectors.getEmailId);
if (!emailId) {
return null;
}
| fix: candidate notification profile using user id instead of email id | fix: candidate notification profile using user id instead of email id
|
1c6cfefe12c15a30c663242ac3f6fd74d58cb9e1 | --- targets/US/package.json
@@ -144,7 +144,7 @@
"@walmart/schedule-mini-app": "0.118.2",
"@walmart/shelfavailability-mini-app": "1.5.37",
"@walmart/shop-gnfr-mini-app": "1.0.129",
- "@walmart/sidekick-mini-app": "4.83.7",
+ "@walmart/sidekick-mini-app": "4.84.3",
"@walmart/store-feature-orders": "1.27.1",
"@walmart/taskit-mini-app": "4.17.17",
"@walmart/time-clock-mini-app": "2.419.0",
--- yarn.lock
@@ -7053,7 +7053,7 @@ __metadata:
"@walmart/schedule-mini-app": "npm:0.118.2"
"@walmart/shelfavailability-mini-app": "npm:1.5.37"
"@walmart/shop-gnfr-mini-app": "npm:1.0.129"
- "@walmart/sidekick-mini-app": "npm:4.83.7"
+ "@walmart/sidekick-mini-app": "npm:4.84.3"
"@walmart/store-feature-orders": "npm:1.27.1"
"@walmart/taskit-mini-app": "npm:4.17.17"
"@walmart/time-clock-mini-app": "npm:2.419.0"
@@ -7943,9 +7943,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/sidekick-mini-app@npm:4.83.7":
- version: 4.83.7
- resolution: "@walmart/sidekick-mini-app@npm:4.83.7"
+"@walmart/sidekick-mini-app@npm:4.84.3":
+ version: 4.84.3
+ resolution: "@walmart/sidekick-mini-app@npm:4.84.3"
peerDependencies:
"@apollo/client": "*"
"@react-navigation/native": ^6.0.0
@@ -7958,7 +7958,7 @@ __metadata:
expo-linear-gradient: ~12.3.0
react: ^18.2.0
react-native: ^0.73.7
- checksum: 10c0/6e19ea0e7174926d07cd13a857e41e0d0b1d633de7fd0939bb8672598372af1754a0f12414f4e14469d013bad046fad055415f1dfc22a6d34167f1b7ace5b2d5
+ checksum: 10c0/542859f983824cdbf3c7c50db018d51fe4b1217a7cae763cb4119cc677d0e8ae056be2453458208a773d76eaa318d90549d16b6f0ab90daaf99ab0619637acc6
languageName: node
linkType: hard
| chore: bump sidekick@4.84.3 | chore: bump sidekick@4.84.3
|
52f58bc9131ee47db63ed92ce573e259a7519cf3 | --- core/src/termsOfUse/TermsOfUse.tsx
@@ -44,7 +44,11 @@ const TermsOfUseSectionHeader = (props: {
weight: '700',
...(terms.length === 0 ? {UNSAFE_style: styles.termsOfUseTitle} : {}),
};
- return <Body {...headerProps}>{title}</Body>;
+ return (
+ <Body {...headerProps} accessibilityRole='header'>
+ {title}
+ </Body>
+ );
};
export const renderTermsSectionItem: SectionListRenderItem<TermsOfUseType> = ({
| fix: accessibility role for headers in terms of use | fix: accessibility role for headers in terms of use
|
88e2fd5ae06805d066139a898411bbab12d3abad | --- packages/core-widget-registry/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-widget-registry",
- "version": "0.9.5",
+ "version": "1.0.0",
"description": "Repo for Me@Walmart related widget registries",
"author": "rlane1 <russell.lane@walmart.com>",
"license": "ISC",
@@ -21,11 +21,10 @@
"prepare": "rm -rf lib && tsc",
"clean": "rm -rf lib/ || true"
},
- "devDependencies": {
- "@walmart/core-utils": "^1.3.0"
+ "dependencies": {
+ "@walmart/allspark-utils": "^1.3.0"
},
"peerDependencies": {
- "@walmart/core-utils": "^1.3.0",
"react": "^18.2.0",
"react-native": "~0.70.5"
}
--- packages/core-widget-registry/src/AskSam/index.ts
@@ -1,5 +1,5 @@
+import { createRegistryHook } from '@walmart/allspark-utils';
import { WidgetRegistry } from '../WidgetRegistry';
-import { createRegistryHook } from '../Hooks';
import { AskSamWidgetProps } from './types';
export const AskSamWidgetRegistry = new WidgetRegistry<
--- packages/core-widget-registry/src/Core.ts
@@ -1,5 +1,5 @@
import { StyleProp, ViewStyle } from 'react-native';
-import { createRegistryHook } from './Hooks';
+import { createRegistryHook } from '@walmart/allspark-utils';
import {
createWidgetRegistryHooks,
WidgetRegistry,
@@ -36,6 +36,7 @@ export const TabBadgeRegistry = new WidgetRegistry<Tabs, TabBadgeProps>(
);
export const useTabBadgeRegistry = createRegistryHook(TabBadgeRegistry);
+
export const { useCreateRegistryComponents: useTabBadges } =
createWidgetRegistryHooks(TabBadgeRegistry);
--- packages/core-widget-registry/src/Home.ts
@@ -1,5 +1,5 @@
import { StyleProp, ViewStyle } from 'react-native';
-import { createRegistryHook } from './Hooks';
+import { createRegistryHook } from '@walmart/allspark-utils';
import { WidgetRegistry, WidgetRenderProps } from './WidgetRegistry';
export interface HomeWidgetProps extends WidgetRenderProps {
--- packages/core-widget-registry/src/Hooks.ts
@@ -1,36 +0,0 @@
-import { useEffect, useState } from 'react';
-import { useIsMounted } from '@walmart/core-utils';
-import { Registry } from './Registry';
-
-/**
- * @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();
-
- const 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);
--- packages/core-widget-registry/src/Metrics.ts
@@ -1,5 +1,5 @@
import { StyleProp, ViewStyle } from 'react-native';
-import { createRegistryHook } from './Hooks';
+import { createRegistryHook } from '@walmart/allspark-utils';
import { WidgetRegistry, WidgetRenderProps } from './WidgetRegistry';
export type PayloadStatusType = 'ok' | 'stale' | 'failed';
--- packages/core-widget-registry/src/Registry.ts
@@ -1,82 +0,0 @@
-import { EventManager } from '@walmart/core-utils';
-
-export type RegistryEvents = 'onChange';
-export type RegistryChangeEvent<T> = (elements: Array<T>) => void;
-
-export class Registry<K = string, T = any> extends Map<K, T> {
- private id: string;
- private limit: number | undefined;
- private eventManager = EventManager<{ change: Array<T> }>(['change']);
-
- constructor(id: string, limit?: number) {
- super(new Map());
- this.id = id;
- this.limit = limit;
- }
-
- private __register(key: K, value: T) {
- if (this.has(key)) {
- console.warn(
- `${key} key already exists on ${this.id} component registry`
- );
- }
-
- if (!!this.limit && this.size === this.limit) {
- console.warn(`${this.id} component registry has met limit`);
- }
-
- this.set(key, value);
- return this;
- }
-
- public register(key: K, value: T) {
- this.__register(key, value);
- this.eventManager.runEvent('change', this.getAll());
- return this;
- }
-
- public multiRegister(list: [K, T][]) {
- list.forEach((component) => this.__register(...component));
- this.eventManager.runEvent('change', this.getAll());
- return this;
- }
-
- private __unregister(key: K) {
- this.delete(key);
- return this;
- }
-
- public unregister(key: K) {
- this.__unregister(key);
- this.eventManager.runEvent('change', this.getAll());
- return this;
- }
-
- public multiUnregister(list: K[]) {
- list.forEach((key) => this.__unregister(key));
- this.eventManager.runEvent('change', this.getAll());
- return this;
- }
-
- public getAll() {
- return Array.from(this.values());
- }
-
- public map(callbackfn: (value: T, index: number, array: T[]) => any) {
- return Array.from(this.values()).map(callbackfn);
- }
-
- public addChangeListener(handler: RegistryChangeEvent<T>) {
- return this.eventManager.addListener('change', handler);
- }
-
- /**
- * @deprecated - use multiRegister
- */
- public registerMultiple = this.multiRegister;
-
- /**
- * @deprecated - use get
- */
- public getWidget = this.get;
-}
--- packages/core-widget-registry/src/WidgetRegistry.tsx
@@ -1,6 +1,5 @@
import React, { ComponentType } from 'react';
-import { useRegistry } from './Hooks';
-import { Registry } from './Registry';
+import { Registry, useRegistry } from '@walmart/allspark-utils';
// --- Widget Registry --- //
export type WidgetRenderProps = Record<string, any>;
@@ -31,7 +30,7 @@ type ExtractWidgetRegistryProps<Registry> = Registry extends WidgetRegistry<
* @description
* Creates component from widget registry for given id/props
*/
-export const useCreateRegistryComponent = <R extends WidgetRegistry>(
+export const useCreateRegistryComponent = <R extends WidgetRegistry<any, any>>(
widgetRegistry: R,
id: ExtractWidgetRegistryKeys<R>,
props: ExtractWidgetRegistryProps<R>
@@ -50,7 +49,7 @@ export const useCreateRegistryComponent = <R extends WidgetRegistry>(
* @description
* Creates component list for all items in registry for given props
*/
-export const useCreateRegistryComponents = <R extends WidgetRegistry>(
+export const useCreateRegistryComponents = <R extends WidgetRegistry<any, any>>(
widgetRegistry: R,
props: ExtractWidgetRegistryProps<R>
) => {
@@ -65,7 +64,7 @@ export const useCreateRegistryComponents = <R extends WidgetRegistry>(
* @description
* Creates common hooks for a given widget registry
*/
-export const createWidgetRegistryHooks = <R extends WidgetRegistry>(
+export const createWidgetRegistryHooks = <R extends WidgetRegistry<any, any>>(
registry: R
) => ({
useCreateRegistryComponent: (
--- packages/core-widget-registry/src/index.tsx
@@ -1,6 +1,5 @@
export * from './AskSam';
export * from './Core';
export * from './Home';
-export * from './Hooks';
export * from './Metrics';
export * from './WidgetRegistry';
| feat: switch to use allspark utils. adjust typings | feat: switch to use allspark utils. adjust typings
|
fcee6679b05da51126000cb6df73998db3bae829 | --- ios/AllSpark/Info.plist
@@ -88,6 +88,7 @@
</array>
<key>UIBackgroundModes</key>
<array>
+ <string>audio</string>
<string>fetch</string>
<string>processing</string>
<string>remote-notification</string>
--- ios/Podfile.lock
@@ -688,6 +688,8 @@ PODS:
- RNFBApp
- RNGestureHandler (1.8.0):
- React
+ - RNReactNativeHapticFeedback (1.10.0):
+ - React
- RNReanimated (1.13.0):
- React
- RNScreens (2.11.0):
@@ -759,6 +761,7 @@ DEPENDENCIES:
- "RNFBPerf (from `../node_modules/@react-native-firebase/perf`)"
- "RNFBRemoteConfig (from `../node_modules/@react-native-firebase/remote-config`)"
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
+ - RNReactNativeHapticFeedback (from `../node_modules/react-native-haptic-feedback`)
- RNReanimated (from `../node_modules/react-native-reanimated`)
- RNScreens (from `../node_modules/react-native-screens`)
- "RNSketchCanvas (from `../node_modules/@terrylinla/react-native-sketch-canvas`)"
@@ -902,6 +905,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/@react-native-firebase/remote-config"
RNGestureHandler:
:path: "../node_modules/react-native-gesture-handler"
+ RNReactNativeHapticFeedback:
+ :path: "../node_modules/react-native-haptic-feedback"
RNReanimated:
:path: "../node_modules/react-native-reanimated"
RNScreens:
@@ -996,6 +1001,7 @@ SPEC CHECKSUMS:
RNFBPerf: cf6720eb30e6d363627c46b87a03eb9ba59fee14
RNFBRemoteConfig: 044387dc66fcada0f32a0a1529dca57e62b3be9e
RNGestureHandler: 7a5833d0f788dbd107fbb913e09aa0c1ff333c39
+ RNReactNativeHapticFeedback: 22c5ecf474428766c6b148f96f2ff6155cd7225e
RNReanimated: 89f5e0a04d1dd52fbf27e7e7030d8f80a646a3fc
RNScreens: 0e91da98ab26d5d04c7b59a9b6bd694124caf88c
RNSketchCanvas: 6939b18677cd1794151cc3d8eb5a0a2158a4a05b
@@ -1006,6 +1012,6 @@ SPEC CHECKSUMS:
Starscream: ef3ece99d765eeccb67de105bfa143f929026cf5
Yoga: 7740b94929bbacbddda59bf115b5317e9a161598
-PODFILE CHECKSUM: dd5c8e55195e435371df3f1adf128913f7a3e203
+PODFILE CHECKSUM: d987d6a6aedd6dcb38f413e4bc6ed0bba61ec15e
COCOAPODS: 1.9.3
--- package-lock.json
@@ -1932,9 +1932,9 @@
"integrity": "sha512-mSdBGR2GjE0zowLmyi+pxJIA5CDvC0NZczKk3yqfhKghON4M+2K+vpm224WklY7+UpvlFtwr/CzNsfIYyNnW1w=="
},
"@walmart/redux-store": {
- "version": "1.0.3",
- "resolved": "https://npme.walmart.com/@walmart/redux-store/-/redux-store-1.0.3.tgz",
- "integrity": "sha512-j+jPTwESqYXtPZPj9l7kBJhP5eh/FXVMRHadtBGonR0WWrVv0xgt03pDEG8jvnuSrF2T31oR7kmjJ2mBa2XB5g=="
+ "version": "1.0.4",
+ "resolved": "https://npme.walmart.com/@walmart/redux-store/-/redux-store-1.0.4.tgz",
+ "integrity": "sha512-GFNpH0YBW+Y2wAvPPj8v9W3Ql8Qzy7zuAi71jhC4wn0VvdBbDnn5HcR8YFT7bgFRjCXmuWB7IM4snFrH74Nztw=="
},
"@walmart/ui-components": {
"version": "1.0.66",
@@ -8816,6 +8816,14 @@
"xdate": "^0.8.0"
}
},
+ "react-native-circular-progress": {
+ "version": "1.3.6",
+ "resolved": "https://npme.walmart.com/react-native-circular-progress/-/react-native-circular-progress-1.3.6.tgz",
+ "integrity": "sha512-0P+RIZ1SdufLNI9oXhZCx1QBwvdkgJeyLHv+243jSvqrRVcfp6E31ktrdZr8QOpI2sG3g3n4NRrtjMxHKL7ryw==",
+ "requires": {
+ "prop-types": "^15.7.2"
+ }
+ },
"react-native-connect-sso-redux": {
"version": "0.1.3",
"resolved": "https://npme.walmart.com/react-native-connect-sso-redux/-/react-native-connect-sso-redux-0.1.3.tgz",
@@ -8845,6 +8853,11 @@
"fast-base64-decode": "^1.0.0"
}
},
+ "react-native-haptic-feedback": {
+ "version": "1.10.0",
+ "resolved": "https://npme.walmart.com/react-native-haptic-feedback/-/react-native-haptic-feedback-1.10.0.tgz",
+ "integrity": "sha512-2aEXYTLrQq2N3phaGJ23V0x6qsIz4j1vhTck9A7geTfW7J54mOfk1Pr4Y1WEMMKptFA9p78kZHBb31IIE+g37w=="
+ },
"react-native-iphone-x-helper": {
"version": "1.2.1",
"resolved": "https://npme.walmart.com/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.2.1.tgz",
--- package.json
@@ -44,7 +44,7 @@
"@walmart/push-to-talk-mini-app": "0.0.5",
"@walmart/react-native-logger": "^1.14.0",
"@walmart/react-native-shared-navigation": "^0.2.0",
- "@walmart/redux-store": "^1.0.3",
+ "@walmart/redux-store": "^1.0.4",
"@walmart/ui-components": "^1.0.66",
"i18next": "^19.7.0",
"intl": "^1.2.5",
@@ -76,13 +76,17 @@
"react-native-wm-notification": "^0.1.1",
"react-native-wm-telemetry": "^0.2.0",
"react-native-wm-voice-text": "^0.2.1",
+ "react-native-haptic-feedback": "^1.10.0",
+ "react-native-circular-progress": "^1.3.6",
"react-redux": "^7.2.1",
"redux": "^4.0.5",
"redux-devtools-extension": "^2.13.8",
"redux-saga": "^1.1.3",
"redux-thunk": "^2.3.0",
"rn-fetch-blob": "^0.12.0",
- "victory-native": "^35.0.1"
+ "victory-native": "^35.0.1",
+ "reduxsauce": "^1.2.0",
+ "reselect": "^4.0.0"
},
"devDependencies": {
"@babel/core": "^7.8.4",
| PTT integration changes | PTT integration changes
|
fb66600dca5ed987a3f09b2019add1f799b1e213 | --- ios/AllSpark/Info.plist
@@ -67,7 +67,7 @@
</dict>
</dict>
<key>NSCameraUsageDescription</key>
- <string>We use your camera for scanning images of barcodes or to take photos to attach to work orders</string>
+ <string>We use your camera for scanning images of barcodes</string>
<key>NSFaceIDUsageDescription</key>
<string>Use to confirm your identity</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
| Revert plist changes; | Revert plist changes;
|
47a8fcb8dc4c62566fb46b8468c1ab386e40e681 | --- package-lock.json
@@ -3319,9 +3319,9 @@
}
},
"@walmart/config-components": {
- "version": "1.0.32",
- "resolved": "https://npme.walmart.com/@walmart/config-components/-/config-components-1.0.32.tgz",
- "integrity": "sha512-0uSxznBvz439kPsORQDKa7ROioSKSiiyjCGVZB6VVHOwKuR99xVC0oB5hZa4SSyB7Mzk0PjFjEPEudXHXhgY8Q=="
+ "version": "1.0.33",
+ "resolved": "https://npme.walmart.com/@walmart/config-components/-/config-components-1.0.33.tgz",
+ "integrity": "sha512-hvSeIypkkOswVscxg7izoW1UVUXvEcGICCUY6VIH3COjKvv1WnJRhrqFC7Bs88YmVjg5guDctbYAD8QsOXsu9Q=="
},
"@walmart/counts-component-miniapp": {
"version": "0.0.22",
--- package.json
@@ -74,7 +74,7 @@
"@walmart/allspark-home-mini-app": "0.5.2",
"@walmart/allspark-me-mini-app": "0.2.4",
"@walmart/ask-sam-mini-app": "0.30.15",
- "@walmart/config-components": "^1.0.32",
+ "@walmart/config-components": "^1.0.33",
"@walmart/counts-component-miniapp": "0.0.22",
"@walmart/exception-mini-app": "0.36.0-rc.0",
"@walmart/feedback-all-spark-miniapp": "0.0.59",
| fixed multiple calls trigger for appConfig when there is a ccm change | fixed multiple calls trigger for appConfig when there is a ccm change
|
9452c1cb572013a6ddaab3c8013eb3633b58c74a | --- package.json
@@ -111,7 +111,7 @@
"@walmart/impersonation-mini-app": "1.20.8",
"@walmart/ims-print-services-ui": "2.11.1",
"@walmart/inbox-mini-app": "0.93.28",
- "@walmart/iteminfo-mini-app": "7.13.1",
+ "@walmart/iteminfo-mini-app": "7.13.0",
"@walmart/learning-mini-app": "20.0.21",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-at-walmart-athena-queries": "6.1.4",
--- yarn.lock
@@ -6309,9 +6309,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/iteminfo-mini-app@npm:7.13.1":
- version: 7.13.1
- resolution: "@walmart/iteminfo-mini-app@npm:7.13.1"
+"@walmart/iteminfo-mini-app@npm:7.13.0":
+ version: 7.13.0
+ resolution: "@walmart/iteminfo-mini-app@npm:7.13.0"
peerDependencies:
"@react-navigation/drawer": ">=6.3.0"
"@react-navigation/native": ">=6.0.0"
@@ -6352,7 +6352,7 @@ __metadata:
reselect: ">=4.1.0"
uuid: ">=3.3.2"
victory-native: ">=36.5.0"
- checksum: 10c0/09c97bc03d3b8a8ee498c3633a0b5302f55dc60f3bf18ce1264b8535357e65da991d0e7242b97e7cd61b570765192e8748b55b3a928f9ae64b2ce69997dfe185
+ checksum: 10c0/5ef2fb32c8f2fd3e52b2ad494e233b17992b51dbe62a9daeb8e36159841b80cef12293c9011a55bcb56a6ee2b4917e98bfe90d35fd6003359df7978bfbbad3df
languageName: node
linkType: hard
@@ -7751,7 +7751,7 @@ __metadata:
"@walmart/impersonation-mini-app": "npm:1.20.8"
"@walmart/ims-print-services-ui": "npm:2.11.1"
"@walmart/inbox-mini-app": "npm:0.93.28"
- "@walmart/iteminfo-mini-app": "npm:7.13.1"
+ "@walmart/iteminfo-mini-app": "npm:7.13.0"
"@walmart/learning-mini-app": "npm:20.0.21"
"@walmart/manager-approvals-miniapp": "npm:0.2.4"
"@walmart/me-at-walmart-athena-queries": "npm:6.1.4"
| revert "bump up iteminfo for drop 23" | revert "bump up iteminfo for drop 23"
|
10e2f6533051c516ff94466b4ab6d797ab80318a | --- jest.config.js
@@ -17,7 +17,7 @@ module.exports = {
testResultsProcessor: 'jest-sonar-reporter',
setupFilesAfterEnv: ['@testing-library/jest-native/extend-expect'],
transformIgnorePatterns: [
- '<rootDir>/node_modules/(?!(react-native|@react-navigation|@walmart/react-native-logger|@walmart/gtp-shared-components|@react-native-community/netinfo|@walmart/gtp-shared-icons|@react-native-community/picker|@react-native-firebase|axios|react-native-gesture-handler|@react-native|@living-design|@react-native-community/datetimepicker|@testing-library|jest-diff|jest-matcher-utils|@walmart/wmconnect-mini-app|nanoid|react-native-reanimated|react-native-flipper|react-native-modal|react-native-animatable)/)',
+ '<rootDir>/node_modules/(?!(react-native|@react-navigation|@walmart/react-native-logger|@walmart/gtp-shared-components|@walmart/allspark-foundation|@react-native-community/netinfo|@walmart/gtp-shared-icons|@react-native-community/picker|@react-native-firebase|axios|react-native-gesture-handler|@react-native|@living-design|@react-native-community/datetimepicker|@testing-library|jest-diff|jest-matcher-utils|@walmart/wmconnect-mini-app|nanoid|react-native-reanimated|react-native-flipper|react-native-modal|react-native-animatable)/)',
],
transform: {
'^.+\\.(js|jsx|ts|tsx)$': [
--- packages/allspark-foundation/__tests__/__mocks__/@walmart/gtp-shared-components.js
@@ -1,15 +1,15 @@
const snackbar = { addSnack: jest.fn() };
module.exports = {
...jest.requireActual('@walmart/gtp-shared-components'),
+ SecondaryButton: 'SecondaryButton',
+ IconButton: 'IconButton',
+ Heading: 'Heading',
+ Card: 'Card',
PrimaryButton: 'PrimaryButton',
ChevronRightIcon: 'ChevronRightIcon',
BottomSheet: 'BottomSheet',
ChevronLeftIcon: 'ChevronLeftIcon',
SolidCard: 'SolidCard',
- SecondaryButton: 'SecondaryButton',
- IconButton: 'IconButton',
- Heading: 'Heading',
- Card: 'Card',
CardContent: 'CardContent',
CardHeader: 'CardHeader',
Chip: 'Chip',
--- packages/allspark-foundation/src/FeatureRunner/components/UserHeader.tsx
@@ -28,7 +28,7 @@ const styles = StyleSheet.create({
separator: {
height: 4,
width: 40,
- backgroundColor: colors?.yellow?.[100],
+ backgroundColor: colors.yellow[100],
},
});
--- packages/allspark-foundation/src/FeatureRunner/screens/Home.tsx
@@ -11,7 +11,7 @@ const styles = StyleSheet.create({
container: {
flex: 1,
padding: 16,
- backgroundColor: colors?.gray?.[5],
+ backgroundColor: colors.gray[5],
},
userHeader: {
marginBottom: 8,
--- packages/allspark-foundation/src/FeatureRunner/screens/Permissions.tsx
@@ -21,8 +21,8 @@ const styles = StyleSheet.create({
backgroundColor: 'white',
},
listItem: { paddingLeft: 8 },
- grantedText: { color: colors?.green?.[100] },
- deniedText: { color: colors?.red?.[100] },
+ grantedText: { color: colors.green[100] },
+ deniedText: { color: colors.red[100] },
});
const PermissionRow = (props: {
--- packages/allspark-foundation/src/FeatureRunner/screens/SideMenu.tsx
@@ -22,7 +22,7 @@ const styles = StyleSheet.create({
screen: { flex: 1 },
header: {
paddingHorizontal: 16,
- borderBottomColor: colors?.gray?.[20],
+ borderBottomColor: colors.gray[20],
borderBottomWidth: 1,
paddingBottom: 16,
},
--- packages/allspark-foundation/src/Navigation/components/Header.tsx
@@ -13,7 +13,7 @@ export const BASE_HEADER_HEIGHT = 56;
export const styles = StyleSheet.create({
primaryHeader: {
- backgroundColor: colors?.blue?.['100'],
+ backgroundColor: colors.blue['100'],
shadowOffset: { width: 0, height: 0 },
elevation: 0,
},
--- packages/me-at-walmart-container/__tests__/__mocks__/@walmart/gtp-shared-components.js
@@ -2,16 +2,6 @@ const snackbar = { addSnack: jest.fn() };
module.exports = {
...jest.requireActual('@walmart/gtp-shared-components'),
- PrimaryButton: 'PrimaryButton',
- ChevronRightIcon: 'ChevronRightIcon',
- BottomSheet: 'BottomSheet',
- ChevronLeftIcon: 'ChevronLeftIcon',
- SolidCard: 'SolidCard',
- SecondaryButton: 'SecondaryButton',
- IconButton: 'IconButton',
- Heading: 'Heading',
- Card: 'Card',
- CardContent: 'CardContent',
CardHeader: 'CardHeader',
Chip: 'Chip',
Body: 'Body',
@@ -22,6 +12,16 @@ module.exports = {
Headline: 'Headline',
Caption: 'Caption',
Display: 'Display',
+ PrimaryButton: 'PrimaryButton',
+ ChevronRightIcon: 'ChevronRightIcon',
+ BottomSheet: 'BottomSheet',
+ ChevronLeftIcon: 'ChevronLeftIcon',
+ SolidCard: 'SolidCard',
+ SecondaryButton: 'SecondaryButton',
+ IconButton: 'IconButton',
+ Heading: 'Heading',
+ Card: 'Card',
+ CardContent: 'CardContent',
MenuIcon: 'MenuIcon',
Divider: 'Divider',
Link: 'Link',
| fix jest config, colors stuff is also passing now | fix jest config, colors stuff is also passing now
|
cb5f2248ff1cca2816abe33db0f86af26eedd36f | --- example/src/teamHub/screens/onboarding.tsx
@@ -12,7 +12,7 @@ export const OnboardingEntryScreen = TeamHub.createScreen(
const navigation = useNavigation();
const handleNavigation = () => {
- AllsparkNavigationClient.navigate('managerExperience.teamSelection');
+ AllsparkNavigationClient.navigate('teamHub.teamSelection');
};
useEffect(() => {
--- packages/allspark-foundation/.gitignore
@@ -11,6 +11,7 @@
/FeatureRunner
/GraphQL
/HTTP
+/HubFeature
/Locale
/LocalStorage
/Location
--- packages/allspark-foundation/src/Core/index.ts
@@ -14,6 +14,7 @@ export * from '../Environment';
export * from '../Feature';
export * from '../GraphQL';
export * from '../HTTP';
+export * from '../HubFeature';
export * from '../LocalStorage';
export * from '../Location';
export * from '../Logger';
--- packages/allspark-foundation/src/HubFeature/Hub/Container/AllsparkHubContainer.tsx
@@ -11,11 +11,7 @@ import { useSelector } from 'react-redux';
import { validateWidgets } from './utils';
import { ValidatedTeamWidgetMapping } from './types';
import { LayoutConfig } from '@walmart/allspark-utils';
-import {
- AllsparkFeatureModule,
- UserSelectors,
- useAllsparkTranslation,
-} from '../../../Core';
+import { AllsparkFeatureModule, useAllsparkTranslation } from '../../../Core';
import { enUS, esMX } from '../../translation';
import { useUserPreferences } from '../../Hooks/useUserPreferences';
import { ScrollView } from 'react-native';
@@ -85,7 +81,6 @@ export class AllsparkHubContainer {
);
const { teamData, loading } = useUserPreferences([]);
const { t } = useAllsparkTranslation(FEATURE_ID);
- const storeId = useSelector(UserSelectors.getSiteId);
const selectedTeamIds = useSelector(
ManagerExperienceSelectors.getSelectedTeamData
);
@@ -121,7 +116,6 @@ export class AllsparkHubContainer {
props={{
selectedTeamPreference: teamId,
selectedTeamIds: selectedTeamIds,
- storeNumber: storeId,
}}
/>
</ScrollView>
--- packages/allspark-foundation/src/HubFeature/Hub/TeamSwitcher/AddEditButton.tsx
@@ -2,15 +2,10 @@ import React, { useMemo } from 'react';
import { View, Text, TouchableOpacity } from 'react-native';
import { Icons, colors } from '@walmart/gtp-shared-components';
import { TeamSwitcherStyles } from './styles';
-import { AllsparkNavigationClient } from '../../../Navigation';
export const AddEditButton = ({ onPress }: { onPress?: () => void }) => {
const styles = useMemo(() => TeamSwitcherStyles(), []);
- const addOrEditTeams = () => {
- AllsparkNavigationClient.navigate('managerExperience.teamSelection');
- };
-
return (
<TouchableOpacity
style={styles.buttonContainer}
@@ -20,11 +15,7 @@ export const AddEditButton = ({ onPress }: { onPress?: () => void }) => {
<View style={styles.button} testID='add-edit-icon'>
<Icons.PlusIcon color={colors.blue['100']} size='medium' />
</View>
- <Text
- style={styles.buttonLabel}
- testID='add-edit-label'
- onPress={addOrEditTeams}
- >
+ <Text style={styles.buttonLabel} testID='add-edit-label'>
Add/Edit
</Text>
<View />
--- packages/allspark-foundation/src/HubFeature/Hub/TeamSwitcher/index.tsx
@@ -10,6 +10,7 @@ import { teamImageIcon } from '../Container/mockData';
import { useTeamHubImage } from '../../HubImages';
import { useDispatch } from 'react-redux';
import { ManagerExperienceCreators } from '../../Redux/actions';
+import { AllsparkNavigationClient } from '../../../Navigation';
export * from './types';
@@ -62,7 +63,8 @@ export const TeamSwitcher = ({
}
};
- const handleAddEditPress = () => console.log('Add/Edit button pressed');
+ const handleAddEditPress = () =>
+ AllsparkNavigationClient.navigate('managerExperience.teamSelection');
const keyExtractor = (item: TeamSwitcherTypes) => item.teamLabel;
const renderEmptyList = () => {
--- packages/allspark-foundation/src/HubFeature/Onboarding/TeamSelection/Screens/TeamSelection.tsx
@@ -14,10 +14,6 @@ import { useGetTeamsByStoreQuery } from '@walmart/me-at-walmart-athena-queries';
import { Team } from '@walmart/me-at-walmart-athena-queries/src/schema.types';
import moment from 'moment-timezone';
-export type TeamSelectionScreenParams = {
- 'managerExperience.teamSelection': undefined;
-};
-
export const TeamSelection = () => {
const useGetViewersPrimaryTeamName = () => {
const viewerTeam: Team[] | undefined = useSelector(UserSelectors.getTeams);
| feat(ui): redux updates for manager experience hub | feat(ui): redux updates for manager experience hub
|
1d24979c2b600d7fb127fe9982f108166ffb980f | --- package-lock.json
@@ -3565,9 +3565,9 @@
"integrity": "sha512-DnuWICgwXUEwBTmZlx+iEFmh1t7rtQLQICQ7RVYpbHABQAQDFMRUwhyBPCoZT6DVGCkDGhXV5HcsCUFMs8UZsQ=="
},
"@walmart/shelfavailability-mini-app": {
- "version": "0.4.5-SNAPSHOT.2",
- "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-0.4.5-SNAPSHOT.2.tgz",
- "integrity": "sha512-4+ePANyVhq/QZSve0MugtFRZJLTgkQ/mTVDBIH5ohGFLPVHAthnTFKWMrjqP/Dk1LMnnQKW5PXUXFVPIMV/e+g==",
+ "version": "0.5.0",
+ "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-0.5.0.tgz",
+ "integrity": "sha512-BY4JFpvksNayD3xZDz+LNBstVEGcU9HbmAo2tsixyIsEoEWDQKs93wiWT8ZghfOyeJ2VSBQwLWPNCx5i1mPHAQ==",
"requires": {
"@types/uuid": "^8.3.0",
"@types/xdate": "^0.8.31",
--- package.json
@@ -96,7 +96,7 @@
"@walmart/redux-store": "^1.0.15",
"@walmart/schedule-mini-app": "0.4.4",
"@walmart/settings-mini-app": "1.3.8",
- "@walmart/shelfavailability-mini-app": "0.4.5-SNAPSHOT.2",
+ "@walmart/shelfavailability-mini-app": "0.5.0",
"@walmart/time-clock-mini-app": "0.4.21",
"@walmart/ui-components": "1.1.62",
"@walmart/welcomeme-mini-app": "0.30.4",
| Updated SA version to 0.5.0 | Updated SA version to 0.5.0
|
12c826034e62c18915287a30a14f71e83c100c4a | --- src/managerExperience/screens/RosterDetailScreen/RosterDetailScreen.tsx
@@ -15,6 +15,7 @@ import {
useGetViewersPrimaryTeamId,
useGetViewersPrimaryTeamName,
useTotalSiteOrTotalStore,
+ useUserIsInRoster,
} from '../../../hooks';
import {useSelector} from 'react-redux';
import {
@@ -41,7 +42,7 @@ import {AssociateListItem} from '../../components/AssociateList/AssociateListIte
import {analytics} from '../../../logger/Analytics';
import {logger} from '../../../common/logger';
import moment from 'moment';
-import {Body} from '@walmart/gtp-shared-components';
+import {Alert, Body} from '@walmart/gtp-shared-components';
import {
associateIsAbsent,
associateIsClockedIn,
@@ -92,6 +93,7 @@ export const RosterDetailScreen = ({route}: RosterDetailScreenProps) => {
const showRoster = useSelector(displayRoster);
const showSearchInput = useSelector(displaySearchInput);
const isSalariedOrLead = isTeamLead || isSalaried || isPeopleLead;
+ const userIsInRoster = useUserIsInRoster();
const [teamState, setTeamState] = useState<{
teamLabel: string | null;
teamIds: string[];
@@ -420,6 +422,14 @@ export const RosterDetailScreen = ({route}: RosterDetailScreenProps) => {
</Body>
</View>
)}
+ {!dataLoading && !userIsInRoster && (
+ <Alert variant='warning' UNSAFE_style={styles.error}>
+ {t('rosterScreen.notInRoster', {
+ siteId: storeId,
+ context: siteTranslationContext,
+ })}
+ </Alert>
+ )}
<RosterFiltersAndInfo
totalScheduleCount={filterCount.scheduledCount}
associates={teamRoster}
--- src/managerExperience/screens/RosterDetailScreen/styles.tsx
@@ -29,4 +29,7 @@ export const rosterDetailScreenStyles = StyleSheet.create({
listEmptyComponent: {
top: 16,
},
+ error: {
+ margin: 16,
+ },
});
| feat: added user in roster to roster detail screen | feat: added user in roster to roster detail screen
|
f5bd5dae220bc92492cf8783289a4462bb4ec762 | --- packages/allspark-foundation/src/FeatureRunner/modals/ClockModal.tsx
@@ -0,0 +1,54 @@
+import React from 'react';
+import { useDispatch, useSelector } from 'react-redux';
+import { Body, Button, ButtonGroup } from '@walmart/gtp-shared-components';
+
+import { ClockActionCreators, ClockSelectors, ClockStatus } from '../../Clock';
+import { AllsparkBottomSheet } from '../../Navigation';
+
+export const ClockModal = () => {
+ const dispatch = useDispatch();
+ const clockStatus = useSelector(ClockSelectors.getClockStatus);
+ const clockedIn = useSelector(ClockSelectors.getIsClockedIn);
+
+ const onClockIn = () => {
+ dispatch(
+ ClockActionCreators.FETCH_SUCCESS({
+ clockStatus: ClockStatus.clockedIn,
+ clockedIn: true,
+ })
+ );
+ };
+
+ const onClockOut = () => {
+ dispatch(
+ ClockActionCreators.FETCH_SUCCESS({
+ clockStatus: ClockStatus.clockedOut,
+ clockedIn: false,
+ })
+ );
+ };
+
+ return (
+ <AllsparkBottomSheet
+ showCloseHandle
+ title='Change clock status'
+ actions={
+ <ButtonGroup>
+ <Button variant='primary' onPress={onClockIn}>
+ Clock In
+ </Button>
+ <Button variant='secondary' onPress={onClockOut}>
+ Clock Out
+ </Button>
+ </ButtonGroup>
+ }
+ >
+ <>
+ <Body>Current Clock Status: {clockStatus || 'undefined'}</Body>
+ <Body>
+ Treating user as: {clockedIn ? 'Clocked In' : 'Clocked Out'}
+ </Body>
+ </>
+ </AllsparkBottomSheet>
+ );
+};
--- packages/allspark-foundation/src/FeatureRunner/navigation.tsx
@@ -10,7 +10,6 @@ import {
createDrawerNavigator,
} from '@react-navigation/drawer';
import { HeaderBackButtonProps } from '@react-navigation/elements';
-import { RenderGuard } from '@walmart/allspark-utils';
import { AllsparkEnvironment } from '../Environment';
import { AllsparkFeatureModule } from '../Feature';
@@ -41,6 +40,7 @@ import { NavigationScreen } from './screens/Navigation';
import { ChangeLanguageButton } from './components/LanguageButton';
import { FeatureRunnerScreenParams } from './screens/types';
import { ImpersonationScreen } from './screens/Impersonation';
+import { ClockModal } from './modals/ClockModal';
const renderHeader = (props: StackHeaderProps) => (
<Header {...props} bannersEnabled={true} />
@@ -80,16 +80,17 @@ export const createFeatureRunnerNavigation = <F extends AllsparkFeatureModule>(
// Plugin screens are added in the navigation stack below.
});
- const connectFeature = async () => {
- if (!ActiveAllsparkContainer.features.has(feature.id)) {
- ActiveAllsparkContainer.addAndConnectFeatures([feature, ...dependencies]);
- }
- };
+ AllsparkNavigationClient.addModal('container.clock', {
+ modal: ClockModal,
+ backdropOpacity: 0,
+ });
const GuardedHome = () => (
- <RenderGuard preRender={connectFeature}>
+ <ActiveAllsparkContainer.FeatureGuard
+ getFeatures={() => [feature, ...dependencies]}
+ >
<Home feature={feature} plugins={plugins} />
- </RenderGuard>
+ </ActiveAllsparkContainer.FeatureGuard>
);
const MainStack = (props: { config: FeatureRunnerNavigationConfig }) => {
--- packages/allspark-foundation/src/FeatureRunner/screens/SideMenu.tsx
@@ -18,6 +18,7 @@ import {
} from '@react-navigation/native';
import { DynamicComponent } from '../../Components';
import { FeatureRunnerScreenParams } from './types';
+import { useAllsparkModal } from '../../Navigation';
const styles = StyleSheet.create({
screen: { flex: 1 },
@@ -70,6 +71,7 @@ export const DynamicSideMenu = new DynamicComponent<SideMenuItemProps>(
export const SideMenu = (_: DrawerContentComponentProps) => {
const navigation = useNavigation<NavigationProp<FeatureRunnerScreenParams>>();
+ const modal = useAllsparkModal();
const closeDrawer = () => navigation.dispatch(DrawerActions.closeDrawer());
@@ -81,6 +83,12 @@ export const SideMenu = (_: DrawerContentComponentProps) => {
});
};
+ const openModal = (name: string) => {
+ closeDrawer();
+ // @ts-ignore
+ modal.openModal(name);
+ };
+
return (
<SafeAreaView edges={['top', 'bottom']} style={styles.screen}>
<View style={styles.header}>
@@ -118,6 +126,11 @@ export const SideMenu = (_: DrawerContentComponentProps) => {
description='Impersonate a user'
onPress={() => resetTo('container.impersonation')}
/>
+ <SideMenuItem
+ title='Clock'
+ description='Simulate clock events'
+ onPress={() => openModal('container.clock')}
+ />
<DynamicSideMenu.List limit={10} />
</List>
</SafeAreaView>
| feat: add clock in functionality to feature runner | feat: add clock in functionality to feature runner
|
65b534d73ed294ce283dc54887a02cd4d7603dd8 | --- .looper-native-common.yml
@@ -71,6 +71,10 @@ flows:
- call: mvn-deploy-file(groupId = "com.walmart.stores.allspark.beta", artifactId = ${artifactId}, version = ${version}, packaging = ${packaging}, file = ${buildOutput})
- (name Betacrash – upload build) sh scripts/betacrash.sh "$APP_TITLE $env" "$BETACRASH_APP_ID" "${buildOutput}" 2>&1
- (name Slack notify) sh scripts/slack.sh "${APP_TITLE}" "${env}" "${fullUrl}" "${os}" "${version}" "${osType}" 2>&1
+ - sonar("Sonar"):
+ - sonar-scanner
+ - hygieia.publishSonar()
+ - (name Publish to Hygieia) hygieia.publishBuild()
else:
- echo "artifact present; no need to build and publish. fullUrl = ${fullUrl}"
--- .looper-pr.yml
@@ -2,6 +2,7 @@ inherit: "job:///metropolis/metroloop/metroloop-parent"
tools:
nodejs: 12.4.0
+ sonarscanner: 3.0.3.778
flows:
pr:
@@ -9,3 +10,6 @@ flows:
- npm run env:dev
- npm run lint
- npm run coverage
+ - sonar("Sonar"):
+ - sonar-scanner
+ - hygieia.publishSonar()
\ No newline at end of file
--- sonar-project.properties
@@ -0,0 +1,6 @@
+sonar.projectKey=com.walmart.stores.allspark.beta
+sonar.projectName=AllSpark-Core
+sonar.projectVersion=1.0.0
+sonar.host.url=http://sonar.looper.prod.walmartlabs.com
+sonar.tests=__tests__
+sonar.sourceEncoding=UTF-8
| Chore/sonar reporting (#26) | Chore/sonar reporting (#26)
* added insights.yml file
* updated team id.
* added sonar properties file and added code to publish sonar and hygieia builds
* code cleanup
* removed hygieia publish from PR flow
|
7679e472c566846217e5ae87968e8bf45cedd271 | --- .looper.multibranch.yml
@@ -4,7 +4,7 @@ inherit: 'job:///metropolis/metroloop/metroloop-parent'
## Whenever you update the nodes, please update it at the two-place, below line & the global variable LOOPER_NODES
##
-node: ((osx||stable_osx)&&!dualcore&&MAC-LAB-MINI08)
+node: (MAC-LAB-MINI08||MAC-DRFQLAB-MINI24)
## Global tools used across all flows.
tools:
| update 2 | update 2
|
077103bfb576cdf568445655a6c49749378468f9 | --- src/store/slices/actions.ts
@@ -35,5 +35,3 @@ export type IAssociateExpHubActions =
*/
export type IAssociateExpHubAction =
IAssociateExpHubActions[keyof IAssociateExpHubActions];
-
-// Note: Hub refresh coordination actions are exported from reducer.ts to avoid duplicates
| feat: SMDV-8174 cleanup | feat: SMDV-8174 cleanup
|
e7e47ce4da68885b7f3e3361cc0682ff95f206d4 | --- __tests__/managerExperience/screens/RosterDetailScreen.test.tsx
@@ -4,6 +4,7 @@ import {cleanup, fireEvent} from '@testing-library/react-native';
import {RosterDetailScreen} from '../../../src/managerExperience/screens/RosterDetailScreen';
import * as hooks from '../../../src/hooks';
import * as utils from '../../../src/managerExperience/utils/rosterDetail';
+import {useNavigation} from '@react-navigation/native';
import {mockGetTeamByIdQuery} from '../../harness/athenaQueries/getTeamById';
import {GetTeamByIdQueryResult} from '../../../src/queries/getTeamById';
import {mockGetTeamsByStoreQuery} from '../../harness/athenaQueries/getTeamsByStore';
@@ -26,6 +27,15 @@ jest.mock('react-redux', () => ({
...jest.requireActual('react-redux'),
useSelector: jest.fn(),
}));
+jest.mock('@react-navigation/native', () => ({
+ ...jest.requireActual('@react-navigation/native'),
+ useNavigation: jest.fn(),
+}));
+
+const mockNavigation = jest.fn();
+(useNavigation as jest.Mock).mockImplementation(() => ({
+ navigate: mockNavigation,
+}));
describe('RosterDetailScreen', () => {
beforeEach(() => {
@@ -126,21 +136,21 @@ describe('RosterDetailScreen', () => {
expect(utils.handleMessageAssociate).toBeCalledWith(roster[0], '100', '1');
});
- // it('navigates to schedule screen when user presses view associate schedule button', () => {
- // (useSelector as jest.Mock).mockReturnValue(['1000333']);
- // (useSelector as jest.Mock).mockReturnValue(true);
- // (useSelector as jest.Mock).mockReturnValue(false);
- // (useSelector as jest.Mock).mockReturnValue(false);
- // (useSelector as jest.Mock).mockReturnValue('Stocking ON');
- // const {getByTestId} = renderWithProviders(<RosterDetailScreen />);
- // const viewScheduleButton = getByTestId('view-schedule-btn-999993734');
- // fireEvent.press(viewScheduleButton);
- // expect(utils.handleViewAssociateSchedule).toBeCalledWith(
- // roster[0],
- // '100',
- // 'US',
- // );
- // });
+ it('navigates to schedule screen when user presses view associate schedule button', () => {
+ (useSelector as jest.Mock).mockReturnValue(['1000333']);
+ (useSelector as jest.Mock).mockReturnValue(true);
+ (useSelector as jest.Mock).mockReturnValue(false);
+ (useSelector as jest.Mock).mockReturnValue(false);
+ (useSelector as jest.Mock).mockReturnValue('Stocking ON');
+ const {getByTestId} = renderWithProviders(<RosterDetailScreen />);
+ const viewScheduleButton = getByTestId('view-schedule-btn-999993734');
+ fireEvent.press(viewScheduleButton);
+ expect(utils.handleViewAssociateSchedule).toBeCalledWith(
+ roster[0],
+ '100',
+ 'US',
+ );
+ });
it('filters associates correctly by clocked in status', () => {
const filteredByClockedIn = utils.filterAssociatesByStatusAndSearchInput(
@@ -194,11 +204,102 @@ describe('RosterDetailScreen', () => {
const {getByTestId} = renderWithProviders(<RosterDetailScreen />);
const viewAllTeamsButton = getByTestId('view-all-teams-btn');
fireEvent.press(viewAllTeamsButton);
+ expect(mockNavigation).toBeCalledWith('myTeam.allTeams');
+ });
+
+ it('loading screen displays when useGetTeamById is loading', () => {
+ (useSelector as jest.Mock).mockReturnValue(['1000333']);
+ (useSelector as jest.Mock).mockReturnValue(true);
+ (useSelector as jest.Mock).mockReturnValue(false);
+ (useSelector as jest.Mock).mockReturnValue(false);
+ (useSelector as jest.Mock).mockReturnValue('Apparel');
+ jest
+ .spyOn(hooks, 'useGetTeamById')
+ // @ts-ignore
+ .mockReturnValue({
+ ...mockGetTeamByIdQuery.result,
+ loading: true,
+ error: undefined,
+ } as GetTeamByIdQueryResult);
+ const {getByTestId, queryByTestId} = renderWithProviders(
+ <RosterDetailScreen />,
+ );
+ const associateListLoading = getByTestId('associate-list-loading');
+ const searchInputLoading = getByTestId(
+ 'team-search-input-loading-component',
+ );
+ const rosterFiltersLoading = getByTestId('team-details-loading-component');
+ const rosterMessageButton = queryByTestId('messageBtn');
+ expect(associateListLoading).toBeDefined();
+ expect(searchInputLoading).toBeDefined();
+ expect(rosterFiltersLoading).toBeDefined();
+ expect(rosterMessageButton).toBeNull();
});
- it('loading associate list displays when data is loading', () => {});
+ it('loading screen displays when useDailyRoster is loading', () => {
+ (useSelector as jest.Mock).mockReturnValue(['1000333']);
+ (useSelector as jest.Mock).mockReturnValue(true);
+ (useSelector as jest.Mock).mockReturnValue(false);
+ (useSelector as jest.Mock).mockReturnValue(false);
+ (useSelector as jest.Mock).mockReturnValue('Apparel');
+ jest.spyOn(hooks, 'useDailyRoster').mockReturnValue(
+ // @ts-ignore
+ {
+ ...mockGetDailyRosterQuery.result,
+ loading: true,
+ error: undefined,
+ } as GetDailyRosterQueryResult,
+ );
+ const {getByTestId, queryByTestId} = renderWithProviders(
+ <RosterDetailScreen />,
+ );
+ const associateListLoading = getByTestId('associate-list-loading');
+ const searchInputLoading = getByTestId(
+ 'team-search-input-loading-component',
+ );
+ const rosterFiltersLoading = getByTestId('team-details-loading-component');
+ const rosterMessageButton = queryByTestId('messageBtn');
+ expect(associateListLoading).toBeDefined();
+ expect(searchInputLoading).toBeDefined();
+ expect(rosterFiltersLoading).toBeDefined();
+ expect(rosterMessageButton).toBeNull();
+ });
- it('error screen displays if there is a data error', () => {});
+ it('error screen displays if there is a useGetTeamById data error', () => {
+ (useSelector as jest.Mock).mockReturnValue(['1000333']);
+ (useSelector as jest.Mock).mockReturnValue(true);
+ (useSelector as jest.Mock).mockReturnValue(false);
+ (useSelector as jest.Mock).mockReturnValue(false);
+ (useSelector as jest.Mock).mockReturnValue('Apparel');
+ jest
+ .spyOn(hooks, 'useGetTeamById')
+ // @ts-ignore
+ .mockReturnValue({
+ ...mockGetTeamByIdQuery.result,
+ loading: false,
+ error: true,
+ } as GetTeamByIdQueryResult);
+ const {getByTestId} = renderWithProviders(<RosterDetailScreen />);
+ const errorScreen = getByTestId('error-screen-container');
+ expect(errorScreen).toBeDefined();
+ });
- it('message team or store button does not display if data is loading', () => {});
+ it('error screen displays if there is a useDailyRoster data error', () => {
+ (useSelector as jest.Mock).mockReturnValue(['1000333']);
+ (useSelector as jest.Mock).mockReturnValue(true);
+ (useSelector as jest.Mock).mockReturnValue(false);
+ (useSelector as jest.Mock).mockReturnValue(false);
+ (useSelector as jest.Mock).mockReturnValue('Apparel');
+ jest.spyOn(hooks, 'useDailyRoster').mockReturnValue(
+ // @ts-ignore
+ {
+ ...mockGetDailyRosterQuery.result,
+ loading: false,
+ error: true,
+ } as GetDailyRosterQueryResult,
+ );
+ const {getByTestId} = renderWithProviders(<RosterDetailScreen />);
+ const errorScreen = getByTestId('error-screen-container');
+ expect(errorScreen).toBeDefined();
+ });
});
| test: completed roster detail tests | test: completed roster detail tests
|
9b05885f3db90963c3f18296edbc9472fb5803af | --- src/index.tsx
@@ -23,14 +23,13 @@ import {initNotificationListeners} from './notification';
import {initi18n} from './translations';
import {MeganavScreen} from './screens/MeganavScreen';
import {ClockedOutScreenGuard} from './components/ClockedOutScreenGuard';
-import {useChannelUnread, useUnread} from './channels';
+import {useChannelUnread} from './channels';
export {PushToTalkProvider} from './channels/pushToTalkProvider';
export const LOGGER_FIELDS = {id: 'texting-mini-app'};
export const Hooks = {
useChannelUnread,
- useUnread,
};
// TODO: This needs to be reconsidered when we go production
--- src/index.tsx
@@ -23,14 +23,13 @@ import {initNotificationListeners} from './notification';
import {initi18n} from './translations';
import {MeganavScreen} from './screens/MeganavScreen';
import {ClockedOutScreenGuard} from './components/ClockedOutScreenGuard';
-import {useChannelUnread, useUnread} from './channels';
+import {useChannelUnread} from './channels';
export {PushToTalkProvider} from './channels/pushToTalkProvider';
export const LOGGER_FIELDS = {id: 'texting-mini-app'};
export const Hooks = {
useChannelUnread,
- useUnread,
};
// TODO: This needs to be reconsidered when we go production
| update the hooks in index | update the hooks in index
|
1a456326b3cdcc9d0161317de47b89c61b023faf | --- graphql.yml
@@ -12,7 +12,7 @@ applications:
persistedQueries:
- name: 'getAssociateById'
hash: 'a8fa65ba461cd25f4cb6e107a1f2075668b1307b1a6146a86c235395d54dd626'
- queryTemplate: 'src/queries/getAssociateById.graphql'
+ queryTemplate: 'packages/me-at-walmart-athena-queries/src/getAssociateById.graphql'
tags:
- 'v1'
- name: 'getDailyRosterHome'
@@ -34,7 +34,7 @@ applications:
persistedQueries:
- name: 'getAssociateById'
hash: 'a8fa65ba461cd25f4cb6e107a1f2075668b1307b1a6146a86c235395d54dd626'
- queryTemplate: 'src/queries/getAssociateById.graphql'
+ queryTemplate: 'packages/me-at-walmart-athena-queries/src/getAssociateById.graphql'
tags:
- 'v1'
- name: 'getDailyRosterHome'
| chore: fix graphql yml paths | chore: fix graphql yml paths
|
33df85d1d43b45cde1c57e28cc64a7d7b8c25ed8 | --- src/channels/components/TextingDisabled.tsx
@@ -28,7 +28,13 @@ const styles = StyleSheet.create({
width: 100,
},
});
-export const TextingDisabledScreen = () => {
+
+export type TextinDisabledScreenProps = {
+ description: string;
+};
+
+export const TextingDisabledScreen = (props: TextinDisabledScreenProps) => {
+ const {description} = props;
const {t} = useTranslation([TEXTING_I18N_NAMESPACE]);
return (
<View style={styles.textingDisabledView}>
@@ -37,7 +43,7 @@ export const TextingDisabledScreen = () => {
{t('channelsScreen.textingDisabled.textingUnavailable')}
</Body>
<Body UNSAFE_style={styles.textingUnavailableDescription}>
- {t('channelsScreen.textingDisabled.textingUnavailableDescription')}
+ {description}
</Body>
</View>
);
--- src/screens/ChannelsScreen.tsx
@@ -4,6 +4,7 @@ import {SafeAreaView} from 'react-native-safe-area-context';
import {StackNavigationProp} from '@react-navigation/stack';
import {useFocusEffect} from '@react-navigation/native';
import {Button, ChatBubbleIcon, Spinner} from '@walmart/gtp-shared-components';
+import {UserSelectors} from '@walmart/redux-store';
import {TextingNavParamsMap} from '../navigation/types';
import {useChannelContext} from '../channels/hooks';
@@ -58,6 +59,7 @@ export const ChannelsScreen: React.FC<ChannelScreenProps> = (
const isConnected = useSelector(getNetworkState)?.isConnected;
const userIsInRoster = useUserIsInRoster();
const isMessageButtonEnabled: boolean = useSelector(messageButtonEnabled);
+ const currentUserSite: string = useSelector(UserSelectors.getUserSite);
const onNewMessage = () => {
navigation.navigate(ROOT_CONTAINER_SCREEN_NAME, {
@@ -88,7 +90,7 @@ export const ChannelsScreen: React.FC<ChannelScreenProps> = (
return (
<CodeOfConductProvider>
- {isMessageButtonEnabled ? (
+ {isMessageButtonEnabled && userIsInRoster ? (
<FlatList
data={channels.ids}
style={styles.list}
@@ -100,7 +102,15 @@ export const ChannelsScreen: React.FC<ChannelScreenProps> = (
}
/>
) : (
- <TextingDisabledScreen />
+ <TextingDisabledScreen
+ description={
+ !userIsInRoster
+ ? t('rosterScreen.notInRoster', {siteId: currentUserSite})
+ : t(
+ 'channelsScreen.textingDisabled.textingUnavailableDescription',
+ )
+ }
+ />
)}
{userIsInRoster && isMessageButtonEnabled && (
--- src/channels/components/TextingDisabled.tsx
@@ -28,7 +28,13 @@ const styles = StyleSheet.create({
width: 100,
},
});
-export const TextingDisabledScreen = () => {
+
+export type TextinDisabledScreenProps = {
+ description: string;
+};
+
+export const TextingDisabledScreen = (props: TextinDisabledScreenProps) => {
+ const {description} = props;
const {t} = useTranslation([TEXTING_I18N_NAMESPACE]);
return (
<View style={styles.textingDisabledView}>
@@ -37,7 +43,7 @@ export const TextingDisabledScreen = () => {
{t('channelsScreen.textingDisabled.textingUnavailable')}
</Body>
<Body UNSAFE_style={styles.textingUnavailableDescription}>
- {t('channelsScreen.textingDisabled.textingUnavailableDescription')}
+ {description}
</Body>
</View>
);
--- src/screens/ChannelsScreen.tsx
@@ -4,6 +4,7 @@ import {SafeAreaView} from 'react-native-safe-area-context';
import {StackNavigationProp} from '@react-navigation/stack';
import {useFocusEffect} from '@react-navigation/native';
import {Button, ChatBubbleIcon, Spinner} from '@walmart/gtp-shared-components';
+import {UserSelectors} from '@walmart/redux-store';
import {TextingNavParamsMap} from '../navigation/types';
import {useChannelContext} from '../channels/hooks';
@@ -58,6 +59,7 @@ export const ChannelsScreen: React.FC<ChannelScreenProps> = (
const isConnected = useSelector(getNetworkState)?.isConnected;
const userIsInRoster = useUserIsInRoster();
const isMessageButtonEnabled: boolean = useSelector(messageButtonEnabled);
+ const currentUserSite: string = useSelector(UserSelectors.getUserSite);
const onNewMessage = () => {
navigation.navigate(ROOT_CONTAINER_SCREEN_NAME, {
@@ -88,7 +90,7 @@ export const ChannelsScreen: React.FC<ChannelScreenProps> = (
return (
<CodeOfConductProvider>
- {isMessageButtonEnabled ? (
+ {isMessageButtonEnabled && userIsInRoster ? (
<FlatList
data={channels.ids}
style={styles.list}
@@ -100,7 +102,15 @@ export const ChannelsScreen: React.FC<ChannelScreenProps> = (
}
/>
) : (
- <TextingDisabledScreen />
+ <TextingDisabledScreen
+ description={
+ !userIsInRoster
+ ? t('rosterScreen.notInRoster', {siteId: currentUserSite})
+ : t(
+ 'channelsScreen.textingDisabled.textingUnavailableDescription',
+ )
+ }
+ />
)}
{userIsInRoster && isMessageButtonEnabled && (
| update the channel screen when user is not in roster | update the channel screen when user is not in roster
|
59bce28a6cc21949789f0e038fc6d64d8055d180 | --- 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.24.5](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.24.4...@walmart/allspark-foundation-hub@1.24.5) (2025-11-13)
+
+**Note:** Version bump only for package @walmart/allspark-foundation-hub
+
## [1.24.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.24.3...@walmart/allspark-foundation-hub@1.24.4) (2025-11-13)
**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.24.4",
+ "version": "1.24.5",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/allspark-foundation/CHANGELOG.md
@@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [7.13.5](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.13.4...@walmart/allspark-foundation@7.13.5) (2025-11-13)
+
+### Bug Fixes
+
+- **ALLSPARK-7221:** incorrect typing for translation feature client ([26f2fc3](https://gecgithub01.walmart.com/allspark/allspark/commit/26f2fc3c27315180505e1ac75262dfef29dcb031))
+- impersonation banner translation ([#467](https://gecgithub01.walmart.com/allspark/allspark/issues/467)) ([4c78f4f](https://gecgithub01.walmart.com/allspark/allspark/commit/4c78f4fa78bc4655e249087fb9b26f2695353906))
+
## [7.13.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.13.3...@walmart/allspark-foundation@7.13.4) (2025-11-13)
**Note:** Version bump only for package @walmart/allspark-foundation
--- packages/allspark-foundation/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation",
- "version": "7.13.4",
+ "version": "7.13.5",
"description": "",
"main": "Core/index.js",
"types": "Core/index.d.ts",
--- packages/me-at-walmart-geolocation/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.4.8](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-geolocation@1.4.7...@walmart/me-at-walmart-geolocation@1.4.8) (2025-11-13)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-geolocation
+
## [1.4.7](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-geolocation@1.4.6...@walmart/me-at-walmart-geolocation@1.4.7) (2025-11-13)
**Note:** Version bump only for package @walmart/me-at-walmart-geolocation
--- packages/me-at-walmart-geolocation/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-geolocation",
- "version": "1.4.7",
+ "version": "1.4.8",
"description": "Geofencing, location tracking and location services for me@ apps",
"author": "m0n09mr <maksym.novakh@walmart.com>",
"main": "./lib/cjs/index.js",
--- packages/me-at-walmart-location/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.2.8](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-location@1.2.7...@walmart/me-at-walmart-location@1.2.8) (2025-11-13)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-location
+
## [1.2.7](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-location@1.2.6...@walmart/me-at-walmart-location@1.2.7) (2025-11-13)
**Note:** Version bump only for package @walmart/me-at-walmart-location
--- packages/me-at-walmart-location/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-location",
- "version": "1.2.7",
+ "version": "1.2.8",
"description": "Geofencing, location tracking and location services for me@ apps",
"author": "m0n09mr <maksym.novakh@walmart.com>",
"main": "./lib/cjs/index.js",
--- 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.4.5](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/my-walmart-hub@1.4.4...@walmart/my-walmart-hub@1.4.5) (2025-11-13)
+
+**Note:** Version bump only for package @walmart/my-walmart-hub
+
## [1.4.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/my-walmart-hub@1.4.3...@walmart/my-walmart-hub@1.4.4) (2025-11-13)
**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.4.4",
+ "version": "1.4.5",
"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.13.5
- @walmart/allspark-foundation-hub@1.24.5
- @walmart/me-at-walmart-geolocation@1.4.8
- @walmart/me-at-walmart-location@1.2.8
- @walmart/my-walmart-hub@1.4.5
|
455df602df3223cd9d0cc2f2619de894074d3e79 | --- packages/allspark-foundation/Hooks/useUserPreferences.d.ts
@@ -1,46 +0,0 @@
-import { TeamSwitcherTypes } from '../Components';
-export declare const useUserPreferences: (data: TeamSwitcherTypes[]) => {
- client: import("@apollo/client").ApolloClient<any>;
- observable: import("@apollo/client").ObservableQuery<import("@walmart/me-at-walmart-athena-queries").GetAssociatePreferencesQuery, import("@walmart/me-at-walmart-athena-queries/lib/schema.types").Exact<{
- site: number;
- win: string;
- }>>;
- data: import("@walmart/me-at-walmart-athena-queries").GetAssociatePreferencesQuery | undefined;
- previousData?: import("@walmart/me-at-walmart-athena-queries").GetAssociatePreferencesQuery | undefined;
- error?: import("@apollo/client").ApolloError | undefined;
- loading: boolean;
- networkStatus: import("@apollo/client").NetworkStatus;
- called: boolean;
- startPolling: (pollInterval: number) => void;
- stopPolling: () => void;
- subscribeToMore: <TSubscriptionData = import("@walmart/me-at-walmart-athena-queries").GetAssociatePreferencesQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("@walmart/me-at-walmart-athena-queries/lib/schema.types").Exact<{
- site: number;
- win: string;
- }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("@walmart/me-at-walmart-athena-queries").GetAssociatePreferencesQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
- updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("@walmart/me-at-walmart-athena-queries/lib/schema.types").Exact<{
- site: number;
- win: string;
- }>>(mapFn: (previousQueryResult: import("@walmart/me-at-walmart-athena-queries").GetAssociatePreferencesQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("@walmart/me-at-walmart-athena-queries").GetAssociatePreferencesQuery>, "variables">) => import("@walmart/me-at-walmart-athena-queries").GetAssociatePreferencesQuery) => void;
- refetch: (variables?: Partial<import("@walmart/me-at-walmart-athena-queries/lib/schema.types").Exact<{
- site: number;
- win: string;
- }>> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<import("@walmart/me-at-walmart-athena-queries").GetAssociatePreferencesQuery>>;
- reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("@walmart/me-at-walmart-athena-queries/lib/schema.types").Exact<{
- site: number;
- win: string;
- }>, import("@walmart/me-at-walmart-athena-queries").GetAssociatePreferencesQuery>> | undefined, newNetworkStatus?: import("@apollo/client").NetworkStatus | undefined) => Promise<import("@apollo/client").ApolloQueryResult<import("@walmart/me-at-walmart-athena-queries").GetAssociatePreferencesQuery>>;
- variables: import("@walmart/me-at-walmart-athena-queries/lib/schema.types").Exact<{
- site: number;
- win: string;
- }> | undefined;
- fetchMore: <TFetchData = import("@walmart/me-at-walmart-athena-queries").GetAssociatePreferencesQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("@walmart/me-at-walmart-athena-queries/lib/schema.types").Exact<{
- site: number;
- win: string;
- }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
- updateQuery?: ((previousQueryResult: import("@walmart/me-at-walmart-athena-queries").GetAssociatePreferencesQuery, options: {
- fetchMoreResult: TFetchData;
- variables: TFetchVars;
- }) => import("@walmart/me-at-walmart-athena-queries").GetAssociatePreferencesQuery) | undefined;
- }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
- teamData: any[];
-};
--- packages/allspark-foundation/Hooks/useUserPreferences.js
@@ -1,50 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.useUserPreferences = void 0;
-const react_redux_1 = require("react-redux");
-const me_at_walmart_athena_queries_1 = require("@walmart/me-at-walmart-athena-queries");
-const react_1 = require("react");
-const mockData_1 = require("../Components/Hub/Container/mockData");
-const User_1 = require("../User");
-const Site_1 = require("../Site");
-const sorter = (data) => {
- const TOTAL_STORE = 'Total store';
- const MY_TEAMS = 'My teams';
- const customSort = (a, b) => {
- if (a.teamLabel === TOTAL_STORE)
- return -1;
- if (b.teamLabel === TOTAL_STORE)
- return 1;
- if (a.teamLabel === MY_TEAMS)
- return -1;
- if (b.teamLabel === MY_TEAMS)
- return 1;
- return a.teamLabel.localeCompare(b.teamLabel);
- };
- return [...data].sort(customSort);
-};
-const useUserPreferences = (data) => {
- const storeId = (0, react_redux_1.useSelector)(Site_1.SiteSelectors.getWorkingSite).data?.siteId;
- const win = (0, react_redux_1.useSelector)(User_1.UserSelectors.getWin);
- const [teamData, setTeamData] = (0, react_1.useState)([]);
- const { ...rest } = (0, me_at_walmart_athena_queries_1.useGetAssociatePreferencesQuery)({
- variables: {
- site: storeId,
- win: win,
- },
- skip: data.length > 0,
- onCompleted: (response) => {
- const transformedTeamData = response.associatePreferences?.meAtWalmartPreferences?.managerExperiencePreferences?.myTeams?.map((team) => ({
- teamLabel: team?.teamName ?? '',
- teamImage: team?.teamId ? mockData_1.teamImageIcon[team.teamId] : '',
- teamId: team?.teamId ?? '',
- })) ?? [];
- setTeamData(sorter(transformedTeamData));
- },
- onError: () => {
- // handle exception
- },
- });
- return { teamData: teamData.length ? teamData : data, ...rest };
-};
-exports.useUserPreferences = useUserPreferences;
| chore(ui): removed bundled files | chore(ui): removed bundled files
|
681c67d4fd53e9f56feec216575725a0058e509e | --- .looper.yml
@@ -25,3 +25,4 @@ flows:
- yarn install
- yarn run lint
- yarn run coverage
+
| feat(ui): update packages json | feat(ui): update packages json
|
381a5402a3bb6b26638e6d0d4cc713541bffdebe | --- .looper.yml
@@ -18,4 +18,4 @@ flows:
- (name Yarn Version) yarn --version
- yarn install
- yarn run lint
- # - yarn run coverage
\ No newline at end of file
+ - yarn run coverage
\ No newline at end of file
| Update the myteam looper | Update the myteam looper
|
5938de942a8a9734d21a48f066a1165b98ce6ec7 | --- package-lock.json
@@ -4258,9 +4258,9 @@
"integrity": "sha512-C3HNm372mNtvwuHcDL+4nK75Idsk54+1s0CdPJDKewzBbxFkQMNIuoN3Kk3y46cMkf8bkXidf7oV9gJVArsKwQ=="
},
"@walmart/inbox-mini-app": {
- "version": "0.30.0",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.30.0.tgz",
- "integrity": "sha512-7gBA+/M8BNEuBCkH4bxWE6+HxI3h5+ga9mwwIwIItAPYyi9kCjYCbatd1Z98LS5ikOojmyXK+HU8N3A+3qpdXg=="
+ "version": "0.32.0",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.32.0.tgz",
+ "integrity": "sha512-Foj0rGP95pDxa9u357M/2ja2uCGVtZpvKMxI9Dsdw137wCLoJwZ521YYkPhS+gHkuj5jQYWc8NIb259ZAYx5JQ=="
},
"@walmart/iteminfo-mini-app": {
"version": "4.0.27",
--- 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.19",
- "@walmart/inbox-mini-app": "0.30.0",
+ "@walmart/inbox-mini-app": "0.32.0",
"@walmart/iteminfo-mini-app": "4.0.27",
"@walmart/manager-approvals-miniapp": "0.0.59",
"@walmart/metrics-mini-app": "0.7.57",
| version increment of inbox | version increment of inbox
|
0b0ac3b439a0376f5ded58f344b4c5740c65eae2 | --- package.json
@@ -145,7 +145,7 @@
"@walmart/shelfavailability-mini-app": "1.5.23",
"@walmart/store-feature-orders": "1.26.7",
"@walmart/taskit-mini-app": "2.81.15",
- "@walmart/time-clock-mini-app": "2.386.0",
+ "@walmart/time-clock-mini-app": "2.387.0",
"@walmart/topstock-mini-app": "patch:@walmart/topstock-mini-app@npm%3A1.9.7#~/.yarn/patches/@walmart-topstock-mini-app-npm-1.9.7-e6400c510e.patch",
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.11#~/.yarn/patches/@walmart-ui-components-npm-1.15.11-19ccf914c5.patch",
"@walmart/welcomeme-mini-app": "0.94.0",
--- yarn.lock
@@ -7146,9 +7146,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/time-clock-mini-app@npm:2.386.0":
- version: 2.386.0
- resolution: "@walmart/time-clock-mini-app@npm:2.386.0"
+"@walmart/time-clock-mini-app@npm:2.387.0":
+ version: 2.387.0
+ resolution: "@walmart/time-clock-mini-app@npm:2.387.0"
dependencies:
"@react-navigation/elements": "npm:^1.3.1"
moment-timezone: "npm:0.5.33"
@@ -7191,7 +7191,7 @@ __metadata:
uuid: ^3.3.2
wifi-store-locator: ^1.4.0
xdate: ^0.8.2
- checksum: 10c0/caa57755e1a2da4a8b22c37822ff9fa0351bd03f5145640a24cc552afad77d214e4b5c5497607909c5c92a956b0513ebd89e7a5eded5d68bdd54646eb4a2d0cd
+ checksum: 10c0/0c5c20b512c30bfcc0bf7a3570e070682f5c51ac8d28e8d13e0dd08a8980a1e31ad6b58107972e55868cde1166c5c511b14f7bc3da5a00b284cf373d97b42566
languageName: node
linkType: hard
@@ -7785,7 +7785,7 @@ __metadata:
"@walmart/shelfavailability-mini-app": "npm:1.5.23"
"@walmart/store-feature-orders": "npm:1.26.7"
"@walmart/taskit-mini-app": "npm:2.81.15"
- "@walmart/time-clock-mini-app": "npm:2.386.0"
+ "@walmart/time-clock-mini-app": "npm:2.387.0"
"@walmart/topstock-mini-app": "patch:@walmart/topstock-mini-app@npm%3A1.9.7#~/.yarn/patches/@walmart-topstock-mini-app-npm-1.9.7-e6400c510e.patch"
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.11#~/.yarn/patches/@walmart-ui-components-npm-1.15.11-19ccf914c5.patch"
"@walmart/welcomeme-mini-app": "npm:0.94.0"
| Update TCMA to 2.387.0 | Update TCMA to 2.387.0
|
6363d2282aaed9f4867de00940907c33491195f2 | --- android/app/src/main/AndroidManifest.xml
@@ -4,13 +4,10 @@
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
- <uses-permission android:name="android.permission.VIBRATE"/>
- <uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
- <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<queries>
| Update AndroidManifest.xml | Update AndroidManifest.xml |
b1c047c16bbb448f07e4ce258560dcdad6d70ab0 | --- packages/allspark-foundation-hub/src/Shared/Images/images.tsx
@@ -163,6 +163,11 @@ export const SupplyChainImages: Record<
uri: 'https://i5-me.walmartimages.com/images/teams/my-teams-mgr-exp-1edac1ba4a.png',
blurhash: 'KdM7in%J~q=pn#M{~VNIxU',
},
+ '7000034': {
+ teamName: 'Leadership - Management',
+ uri: 'https://i5-me.walmartimages.com/images/teams/my-teams-mgr-exp-1edac1ba4a.png',
+ blurhash: 'KdM7in%J~q=pn#M{~VNIxU',
+ },
'7000110': {
teamName: 'Rsr - Staple Stock',
uri: 'https://i5-me.walmartimages.com/images/supplychain/hauling-amb-bc5ae3b3f2.png',
| add missing team images | add missing team images
|
b9f4ecd7be40388e030f353270251757269dddc4 | --- package-lock.json
@@ -3128,9 +3128,9 @@
"integrity": "sha512-vzirL8LmvVnJdyNGFtqfzf3Pth9kuwqnd0cxllT7Gw3Qil4+snxw6yrC9Iw49jIvUFqjGjfkkFbXPeSqOcCVzw=="
},
"@walmart/ims-print-services-ui": {
- "version": "0.0.18",
- "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-0.0.18.tgz",
- "integrity": "sha512-Ol/xACFeq3wLT94Y1AUZi7fmuSwCx9AVHz1NbE8S+Rcjvs+R7xslLqYoR4BMC+AkFl6IsDwuwHlYeN0xVNvlgw=="
+ "version": "0.0.19",
+ "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-0.0.19.tgz",
+ "integrity": "sha512-Am5QrgtwxJ23j3GsZZivaZknjiWTuPFvFxV1J0ysrQZ3H4wZcgsxuFdsCJqA3Hzufo3pZdyMTZhNtAx4IuQjjw=="
},
"@walmart/inbox-mini-app": {
"version": "0.0.94",
--- package.json
@@ -74,7 +74,7 @@
"@walmart/functional-components": "1.0.27",
"@walmart/gtp-shared-components": "^1.1.5",
"@walmart/impersonation-mini-app": "1.0.15",
- "@walmart/ims-print-services-ui": "0.0.18",
+ "@walmart/ims-print-services-ui": "0.0.19",
"@walmart/inbox-mini-app": "0.0.94",
"@walmart/iteminfo-mini-app": "1.0.3",
"@walmart/manager-approvals-miniapp": "0.0.25",
| ims printing ui version bump | ims printing ui version bump
|
a16d3c01a246d9adf9fae1bcdd56b7f537ffdf56 | --- package.json
@@ -160,7 +160,7 @@
"@walmart/shop-gnfr-mini-app": "1.0.421",
"@walmart/sidekick-mini-app": "4.231.0",
"@walmart/store-feature-orders": "1.34.7",
- "@walmart/talent-preboarding-mini-app": "1.0.41",
+ "@walmart/talent-preboarding-mini-app": "1.0.48",
"@walmart/taskit-mini-app": "5.42.0",
"@walmart/time-clock-mini-app": "3.19.6",
"@walmart/time-clock-mini-app-next": "3.0.0",
--- yarn.lock
@@ -8377,7 +8377,7 @@ __metadata:
"@walmart/shop-gnfr-mini-app": "npm:1.0.421"
"@walmart/sidekick-mini-app": "npm:4.231.0"
"@walmart/store-feature-orders": "npm:1.34.7"
- "@walmart/talent-preboarding-mini-app": "npm:1.0.41"
+ "@walmart/talent-preboarding-mini-app": "npm:1.0.48"
"@walmart/taskit-mini-app": "npm:5.42.0"
"@walmart/time-clock-mini-app": "npm:3.19.6"
"@walmart/time-clock-mini-app-next": "npm:3.0.0"
@@ -9244,12 +9244,12 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/talent-preboarding-mini-app@npm:1.0.41":
- version: 1.0.41
- resolution: "@walmart/talent-preboarding-mini-app@npm:1.0.41::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftalent-preboarding-mini-app%2F-%2F%40walmart%2Ftalent-preboarding-mini-app-1.0.41.tgz"
+"@walmart/talent-preboarding-mini-app@npm:1.0.48":
+ version: 1.0.48
+ resolution: "@walmart/talent-preboarding-mini-app@npm:1.0.48::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftalent-preboarding-mini-app%2F-%2F%40walmart%2Ftalent-preboarding-mini-app-1.0.48.tgz"
dependencies:
"@walmart/candidate-authentication-lib": "npm:0.0.8"
- "@walmart/talent-preboarding-shared-utils": "npm:0.1.97"
+ "@walmart/talent-preboarding-shared-utils": "npm:0.1.100"
semver: "npm:^7.3.4"
peerDependencies:
"@react-navigation/native": ^6.0.8
@@ -9263,13 +9263,13 @@ __metadata:
react-native: ">=0.72.10"
react-redux: ">=8.0.4"
redux: ">=4.2.1"
- checksum: 10c0/239ca654115e8e3a1428e33064b70f243117f021583e97e9543a70179aa5bbf6a95fab1a036132fdd6bd6ba54cb340e102080f687fe34ee1ecbb1b29901d9e43
+ checksum: 10c0/b23e17a5b43f9d209f815f15aa1d7365e1e60d5c6960723887c9e07342f5ad4f0482001187ce4c9f4537900d54ba90d5e294887df39c1b8dcd9d58e1c61f5dc6
languageName: node
linkType: hard
-"@walmart/talent-preboarding-shared-utils@npm:0.1.97":
- version: 0.1.97
- resolution: "@walmart/talent-preboarding-shared-utils@npm:0.1.97::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftalent-preboarding-shared-utils%2F-%2F%40walmart%2Ftalent-preboarding-shared-utils-0.1.97.tgz"
+"@walmart/talent-preboarding-shared-utils@npm:0.1.100":
+ version: 0.1.100
+ resolution: "@walmart/talent-preboarding-shared-utils@npm:0.1.100::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftalent-preboarding-shared-utils%2F-%2F%40walmart%2Ftalent-preboarding-shared-utils-0.1.100.tgz"
dependencies:
"@types/semver": "npm:^7.3.4"
"@walmart/apq-client-wrapper": "npm:0.2.3"
@@ -9278,7 +9278,7 @@ __metadata:
react-native-mime-types: "npm:^2.4.0"
semver: "npm:^7.3.4"
sonarqube-scanner: "npm:^3.3.0"
- checksum: 10c0/c33f20490542cefc45d501e8815e2eb80454a6334653852a2665bf9b53856489621aa984547b09c35d2b2950f94d2ebf99bfd1f4f28ef6aeef711f6e81568d8e
+ checksum: 10c0/4b4aa476adcfbea871569babf63845beb09116de92eb02a4778d482a5829959de8f4f98521c6b654ebb325622c0b56ea27e58a6473744ba3f146ae9b1a3c8dc7
languageName: node
linkType: hard
| fix: package version bump for preboarding (#4807) | fix: package version bump for preboarding (#4807)
Co-authored-by: Maksym Novakh - m0n09mr <Maksym.Novakh0@walmart.com> |
442b9c37c3530dafe2d593cf40edc85db52c3f1c | --- src/hooks/roster.ts
@@ -20,7 +20,7 @@ import {logger} from '../common/logger';
import {UserSelectors} from '@walmart/allspark-foundation/User';
import {SiteSelectors} from '@walmart/allspark-foundation/Site';
import {ApolloError} from '@apollo/client';
-import {TOTAL_STORE_TEAM_ID, payTypes} from 'src/common/constants';
+import {TOTAL_STORE_TEAM_ID, payTypes} from '../common/constants';
export const useDailyRoster = (shouldSkipQuery: boolean = false) => {
const [error, setError] = useState<any>(undefined);
| fix: updated import | fix: updated import
|
b9b55a2b905106de07c873a919d045e8807e4f08 | --- patches/@walmart+returns-mini-app+0.3.2.patch
@@ -1,40 +0,0 @@
-diff --git a/node_modules/@walmart/returns-mini-app/dist/returns/components/ScannerView/index.js b/node_modules/@walmart/returns-mini-app/dist/returns/components/ScannerView/index.js
-index ef660d9..2cc8d90 100644
---- a/node_modules/@walmart/returns-mini-app/dist/returns/components/ScannerView/index.js
-+++ b/node_modules/@walmart/returns-mini-app/dist/returns/components/ScannerView/index.js
-@@ -1,23 +1,23 @@
- import React from 'react';
- import { View, NativeModules } from 'react-native';
--import { WMScannerView } from 'react-native-wm-barcode';
-+// import { WMScannerView } from 'react-native-wm-barcode';
- import { ANALYTICS_EVENTS, logEvent } from '../../utils/telemetry';
- import { styles } from './styles';
--const WMBarcodeScanner = NativeModules.WMBarcodeScanner;
--export const disableScanning = () => {
-- logEvent(ANALYTICS_EVENTS.DISABLE_SCANNER);
-- WMBarcodeScanner.disable();
--};
--export const enableScanning = () => {
-- logEvent(ANALYTICS_EVENTS.ENABLE_SCANNER);
-- WMBarcodeScanner.enable();
--};
-+// const WMBarcodeScanner = NativeModules.WMBarcodeScanner;
-+// export const disableScanning = () => {
-+// logEvent(ANALYTICS_EVENTS.DISABLE_SCANNER);
-+// WMBarcodeScanner.disable();
-+// };
-+// export const enableScanning = () => {
-+// logEvent(ANALYTICS_EVENTS.ENABLE_SCANNER);
-+// WMBarcodeScanner.enable();
-+// };
- export const ScannerView = ({ isTorchOn, onScanReceived, onScanError, }) => (<>
- <View style={styles.setUpScannerContainer}>
-- <WMScannerView feedback={{ enabled: true }} isTorchOn={isTorchOn} onScanError={onScanError} onScanReceived={onScanReceived} style={styles.wmScannerView} config={{
-+ {/* <WMScannerView feedback={{ enabled: true }} isTorchOn={isTorchOn} onScanError={onScanError} onScanReceived={onScanReceived} style={styles.wmScannerView} config={{
- guidanceViewEnabled: true,
- crossHairEnabled: true,
- throttleIntervalInMillis: 3000,
-- }}/>
-+ }}/> */}
- </View>
- </>);
| Delete @walmart+returns-mini-app+0.3.2.patch | Delete @walmart+returns-mini-app+0.3.2.patch
|
895c9b02fd433f2b0bede291e2e9fbe51b59562b | --- __tests__/home/components/GreetingRowV2/useUserInfoTest.ts
@@ -1,4 +1,4 @@
-import {renderHook, act} from '@testing-library/react-hooks';
+import {renderHook, act} from '@testing-library/react-native';
import {useUserInfo} from '../../../../src/home/components/GreetingRowV2/useUserInfo';
import {useGetForYouHeaderAssociateDetailsQuery} from '@walmart/me-at-walmart-athena-queries';
--- __tests__/home/useHomeAppConfigTest.ts
@@ -1,4 +1,4 @@
-import {renderHook} from '@testing-library/react-hooks';
+import {renderHook} from '@testing-library/react-native';
import {useSelector} from 'react-redux';
import {useHomeAppConfig} from '../../src/home/useHomeAppConfig';
--- __tests__/hooks/useLayout.test.tsx
@@ -1,5 +1,5 @@
import {useSelector} from 'react-redux';
-import {renderHook} from '@testing-library/react-hooks';
+import {renderHook} from '@testing-library/react-native';
import {ConfigSelectors} from '@walmart/allspark-foundation';
import {LayoutItem} from '@walmart/allspark-utils';
import {CoreComponentContainer} from '@walmart/me-at-walmart-common';
--- __tests__/hooks/useMyWalmartV2.test.tsx
@@ -1,5 +1,5 @@
import {useSelector} from 'react-redux';
-import {renderHook} from '@testing-library/react-hooks';
+import {renderHook} from '@testing-library/react-native';
import {useMyWalmartV2} from '@/hooks/useMyWalmartV2';
--- __tests__/hooks/useRefreshing.test.tsx
@@ -1,4 +1,4 @@
-import {renderHook, act} from '@testing-library/react-hooks';
+import {renderHook, act} from '@testing-library/react-native';
import {useRefreshing} from '@/hooks/useRefreshing';
import moment from 'moment-timezone';
--- __tests__/hooks/useShouldShowFab.test.tsx
@@ -1,5 +1,5 @@
import {useSelector} from 'react-redux';
-import {renderHook} from '@testing-library/react-hooks';
+import {renderHook} from '@testing-library/react-native';
import {useShouldShowFab} from '@/hooks/useShouldShowFab';
--- __tests__/oneClick/useOneClickTest.tsx
@@ -1,4 +1,4 @@
-import {renderHook} from '@testing-library/react-hooks';
+import {renderHook} from '@testing-library/react-native';
import {useOneClick, getOneClickConfig} from '../../src/oneClick/useOneClick';
import {AllsparkReduxStore} from '@walmart/allspark-foundation/Redux';
import {ConfigActionCreators} from '@walmart/allspark-foundation/Config';
--- __tests__/scanner/useScannerSdkTypeTest.ts
@@ -1,4 +1,4 @@
-import {renderHook} from '@testing-library/react-hooks';
+import {renderHook} from '@testing-library/react-native';
import {useSelector} from 'react-redux';
import {enableConstellationSDK} from '@walmart/react-native-scanner-3.0';
import {useScannerSdkType} from '../../src/scanner/useScannerSdkType';
--- __tests__/storeInfo/useStoreInfoTest.ts
@@ -1,4 +1,4 @@
-import {renderHook} from '@testing-library/react-hooks';
+import {renderHook} from '@testing-library/react-native';
import {useStoreInfo} from '../../src/storeInfo/useStoreInfo';
import {
useBusinessUnitByCountryAndNumberQuery,
--- metro.config.js
@@ -40,7 +40,7 @@ module.exports = (() => {
path.resolve(projectRoot, 'node_modules'),
path.resolve(monorepoRoot, 'node_modules'),
],
- unstable_enablePackageExports: false
+ unstable_enablePackageExports: true
};
return wrapWithAudioAPIMetroConfig(config);
--- package.json
@@ -322,7 +322,6 @@
"@digitalroute/cz-conventional-changelog-for-jira": "^8.0.1",
"@redux-saga/testing-utils": "^1.1.5",
"@testing-library/jest-native": "5.4.3",
- "@testing-library/react-hooks": "^8.0.1",
"@testing-library/react-native": "^13.3.3",
"@types/crypto-js": "^4.1.3",
"@types/fs-extra": "^11.0.4",
--- packages/me-at-walmart-common/__tests__/components/SidekickAssistantFAB.test.tsx
@@ -1,7 +1,7 @@
import React from 'react';
import {Image,Pressable, Text} from 'react-native';
import {fireEvent, render} from '@testing-library/react-native';
-import {renderHook, act} from '@testing-library/react-hooks';
+import {renderHook, act} from '@testing-library/react-native';
import {
SidekickAssistantFAB,
SIDEKICK_ASSISTANT_FAB_INSETS,
--- yarn.lock
@@ -6028,28 +6028,6 @@ __metadata:
languageName: node
linkType: hard
-"@testing-library/react-hooks@npm:^8.0.1":
- version: 8.0.1
- resolution: "@testing-library/react-hooks@npm:8.0.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40testing-library%2Freact-hooks%2F-%2Freact-hooks-8.0.1.tgz"
- dependencies:
- "@babel/runtime": "npm:^7.12.5"
- react-error-boundary: "npm:^3.1.0"
- peerDependencies:
- "@types/react": ^16.9.0 || ^17.0.0
- react: ^16.9.0 || ^17.0.0
- react-dom: ^16.9.0 || ^17.0.0
- react-test-renderer: ^16.9.0 || ^17.0.0
- peerDependenciesMeta:
- "@types/react":
- optional: true
- react-dom:
- optional: true
- react-test-renderer:
- optional: true
- checksum: 10c0/83bef2d4c437b84143213b5275ef00ef14e5bcd344f9ded12b162d253dc3c799138ead4428026b9c725e5a38dbebf611f2898aa43f3e43432bcaccbd7bf413e5
- languageName: node
- linkType: hard
-
"@testing-library/react-native@npm:^13.3.3":
version: 13.3.3
resolution: "@testing-library/react-native@npm:13.3.3::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40testing-library%2Freact-native%2F-%2Freact-native-13.3.3.tgz"
@@ -8463,7 +8441,6 @@ __metadata:
"@shopify/flash-list": "npm:1.7.6"
"@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"
"@testing-library/jest-native": "npm:5.4.3"
- "@testing-library/react-hooks": "npm:^8.0.1"
"@testing-library/react-native": "npm:^13.3.3"
"@types/crypto-js": "npm:^4.1.3"
"@types/fs-extra": "npm:^11.0.4"
@@ -19759,17 +19736,6 @@ __metadata:
languageName: node
linkType: hard
-"react-error-boundary@npm:^3.1.0":
- version: 3.1.4
- resolution: "react-error-boundary@npm:3.1.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Freact-error-boundary%2F-%2Freact-error-boundary-3.1.4.tgz"
- dependencies:
- "@babel/runtime": "npm:^7.12.5"
- peerDependencies:
- react: ">=16.13.1"
- checksum: 10c0/f977ca61823e43de2381d53dd7aa8b4d79ff6a984c9afdc88dc44f9973b99de7fd382d2f0f91f2688e24bb987c0185bf45d0b004f22afaaab0f990a830253bfb
- languageName: node
- linkType: hard
-
"react-error-boundary@npm:^6.0.0":
version: 6.0.0
resolution: "react-error-boundary@npm:6.0.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Freact-error-boundary%2F-%2Freact-error-boundary-6.0.0.tgz"
| fix(lib): ALLSPARK-7339 remove @testing-library/react-hooks (#5141) | fix(lib): ALLSPARK-7339 remove @testing-library/react-hooks (#5141)
Co-authored-by: Maksym Novakh <maksym.novakh@walmart.com> |
e19536ba1ca3074f2793d97055b7bf63dc49d6a0 | --- packages/allspark-foundation/package.json
@@ -66,6 +66,7 @@
"@reduxjs/toolkit": "^1.9.7",
"@types/node-fetch": "^2.6.9",
"@walmart/allspark-utils": "workspace:^",
+ "@walmart/me-at-walmart-athena-queries": "workspace:^",
"axios": "~1.6.0",
"axios-cache-interceptor": "^1.3.2",
"crypto-js": "~4.2.0",
| Update the foundation package | Update the foundation package
|
fdadd67a31e5d3830cedfb7d5ececcca8a23ac1a | --- __tests__/core/loggerInitTest.ts
@@ -1,25 +1,6 @@
+import {Platform} from 'react-native';
import {takeLatest, all, call, select} from 'redux-saga/effects';
import {getVersion, getSystemVersion, getModel} from 'react-native-device-info';
-
-jest.mock('../../env', () => ({
- splunk: {
- url: 'stuff',
- index: 'allspark',
- format: 'junk',
- },
- logLevel: 'level',
- env: 'dev',
- deployment: 'dev',
-}));
-
-jest.mock('../../src/redux/CreateRestartableSagas', () => ({
- createRestartableSagas: (sagas: any[]) => sagas,
-}));
-
-jest.mock('../../src/services/MaskUserId', () => ({
- encryptUserId: jest.fn(),
-}));
-
import {DefaultLogger} from '@walmart/react-native-logger';
import {TUserInfo} from '@walmart/react-native-logger/dist/types';
import {addSagas, UserSelectors} from '@walmart/redux-store';
@@ -51,7 +32,35 @@ import {
} from '../../src/core/loggerInit';
import {getLogLevel} from '../../src/redux/SharedSelectors';
import {getEncryptedSumoProfileId, SumoTypes} from '../../src/sumo/SumoRedux';
-import {Platform} from 'react-native';
+
+jest.mock('../../env', () => ({
+ splunk: {
+ url: 'stuff',
+ index: 'allspark',
+ format: 'junk',
+ },
+ logLevel: 'level',
+ env: 'dev',
+ deployment: 'dev',
+}));
+
+jest.mock('../../src/redux/CreateRestartableSagas', () => ({
+ createRestartableSagas: (sagas: any[]) => sagas,
+}));
+
+jest.mock('../../src/services/MaskUserId', () => ({
+ encryptUserId: jest.fn(),
+}));
+
+jest.mock('../../src/redux/UserSelector', () => ({
+ getIsImpersonated: jest.fn(),
+ getOriginalUserId: jest.fn(),
+ getOriginalSite: jest.fn(),
+ getEncryptionKey: jest.fn(),
+ getIsPreHire: jest.fn(),
+ getOriginalUserDomain: jest.fn(),
+ getOriginalUserCountryCode: jest.fn(),
+}));
describe('onConfigSuccess', () => {
it('handles defined log level', () => {
@@ -121,8 +130,9 @@ describe('onUserChanged', () => {
const encryptedKey = '1234';
const sumoProfile = {profileId: '54321'};
const appConfigLogLevel = 'error';
+ const isImpersonated = false;
- it('adds user information to the default logger', () => {
+ it('handles userId & siteId set', () => {
const iterator = onUserChanged();
expect(iterator.next().value).toEqual(select(getOriginalUserId));
expect(iterator.next(user.userId).value).toEqual(select(getOriginalSite));
@@ -137,47 +147,9 @@ describe('onUserChanged', () => {
expect(iterator.next(user.countryCode).value).toEqual(
select(getIsImpersonated),
);
- expect(iterator.next(false).value).toEqual(select(getEncryptionKey));
- expect(iterator.next(encryptedKey).value).toEqual(
- call(encryptUserId, user.userId, encryptedKey),
- );
- expect(iterator.next(user.userId).value).toEqual(select(getLogLevel));
- expect(iterator.next(appConfigLogLevel).value).toEqual(
- select(getEncryptedSumoProfileId),
- );
- expect(iterator.next(sumoProfile.profileId).value).toEqual(
- call(DefaultLogger.setUserInfo, {
- country: user.countryCode,
- userId: user.userId,
- storeNumber: user.siteId,
- domain: user.domain,
- division: user.division,
- employeeType: user.employeeType,
- regionNumber: '',
- impersonating: 'false',
- appConfigLogLevel,
- sumoProfileId: sumoProfile.profileId,
- } as TUserInfo),
- );
- expect(iterator.next().done).toEqual(true);
- });
-
- it('adds user information to the default logger; NOT_FOUND site', () => {
- const iterator = onUserChanged();
- expect(iterator.next().value).toEqual(select(getOriginalUserId));
- expect(iterator.next(user.userId).value).toEqual(select(getOriginalSite));
- expect(iterator.next('NOT_FOUND').value).toEqual(select(getIsPreHire));
- expect(iterator.next(false).value).toEqual(select(getOriginalUserDomain));
- expect(iterator.next(user.domain).value).toEqual(
- select(UserSelectors.getOriginalUser),
- );
- expect(iterator.next(user).value).toEqual(
- select(getOriginalUserCountryCode),
- );
- expect(iterator.next(user.countryCode).value).toEqual(
- select(getIsImpersonated),
+ expect(iterator.next(isImpersonated).value).toEqual(
+ select(getEncryptionKey),
);
- expect(iterator.next(false).value).toEqual(select(getEncryptionKey));
expect(iterator.next(encryptedKey).value).toEqual(
call(encryptUserId, user.userId, encryptedKey),
);
@@ -189,7 +161,7 @@ describe('onUserChanged', () => {
call(DefaultLogger.setUserInfo, {
country: user.countryCode,
userId: user.userId,
- storeNumber: '0',
+ storeNumber: user.siteId,
domain: user.domain,
division: user.division,
employeeType: user.employeeType,
@@ -202,19 +174,15 @@ describe('onUserChanged', () => {
expect(iterator.next().done).toEqual(true);
});
- it('handles pre-hire', () => {
- const preHireUser: User = {
- countryCode: 'NOT_FOUND',
+ it('handles pre-hire user', () => {
+ const preHireUser = {
userId: 'NOT_FOUND',
+ countryCode: 'US',
siteId: 'NOT_FOUND',
division: 'NOT_FOUND',
- domain: 'NOT_FOUND',
employeeType: 'NOT_FOUND',
- fullTimePartTime: 'NOT_FOUND',
- win: 'NOT_FOUND',
- userType: 'PRE_HIRE',
emailId: 'testuser@mailinator.com',
- };
+ } as User;
const iterator = onUserChanged();
expect(iterator.next().value).toEqual(select(getOriginalUserId));
@@ -225,10 +193,16 @@ describe('onUserChanged', () => {
select(getIsPreHire),
);
expect(iterator.next(true).value).toEqual(select(getOriginalUserDomain));
+
expect(iterator.next('candidate').value).toEqual(
select(UserSelectors.getOriginalUser),
);
- expect(iterator.next(preHireUser).value).toEqual(select(getIsImpersonated));
+ expect(iterator.next(preHireUser).value).toEqual(
+ select(getOriginalUserCountryCode),
+ );
+ expect(iterator.next(preHireUser.countryCode).value).toEqual(
+ select(getIsImpersonated),
+ );
expect(iterator.next(false).value).toEqual(select(getEncryptionKey));
expect(iterator.next(encryptedKey).value).toEqual(
call(encryptUserId, preHireUser.emailId, encryptedKey),
| Test Fix | Test Fix
|
4b81fb70eff1bce0f33daa1e8693c4bdaa27d51e | --- src/translations/es-MX.ts
@@ -74,7 +74,7 @@ export const esMX = {
enableNotificationsButton: 'Permitir notificaciones',
},
impersonation: {
- developers: 'Desarrolladoras',
+ developers: 'Desarrolladores/as',
mode: 'Modo suplantado',
},
signoutDialog: {
| SSMP-1070 | SSMP-1070
|
c03299d107f271e8a52621844e970a638ad43214 | --- package-lock.json
@@ -4475,9 +4475,9 @@
}
},
"@walmart/taskit-mini-app": {
- "version": "0.167.0-rc.1",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.167.0-rc.1.tgz",
- "integrity": "sha512-OYpzZHJaDdNpphiqq1KQmNdnYzkoi/RcDzXBeiZZ9lCNkpRvIDRemdK80Gof0U2u7/IcGivPYYX7k23DvK/wOw=="
+ "version": "0.169.0-rc.2",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.169.0-rc.2.tgz",
+ "integrity": "sha512-AI+qOMhzQpACAQvIP4s4HXGWxHg7SfvlFExaOrVRN30LeXDbWSi+KHjSEnWpEMNdxW5zZj0yzJ7Vzu/5Li/uLA=="
},
"@walmart/time-clock-mini-app": {
"version": "0.4.27",
--- package.json
@@ -98,7 +98,7 @@
"@walmart/react-native-sumo-sdk": "2.1.0",
"@walmart/redux-store": "1.1.26",
"@walmart/settings-mini-app": "1.5.0",
- "@walmart/taskit-mini-app": "0.167.0-rc.1",
+ "@walmart/taskit-mini-app": "0.169.0-rc.2",
"@walmart/refrigeration-alarms-mini-app": "1.27.0",
"@walmart/schedule-mini-app": "0.11.0",
"@walmart/shelfavailability-mini-app": "0.8.0",
| upgrade taskit version | upgrade taskit version
|
5689bcb77d4eaaa2afdc1f4cee0daf259d7d41b7 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart",
- "version": "1.28.0",
+ "version": "1.28.1",
"private": true,
"workspaces": [
"core",
--- targets/US/android/app/build.gradle
@@ -106,8 +106,8 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 941
- versionName "1.28.0"
+ versionCode 942
+ versionName "1.28.1"
}
signingConfigs {
debug {
--- targets/US/ios/AllSpark/Info.plist
@@ -19,12 +19,12 @@
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<!-- @customization - default: <string>$(MARKETING_VERSION)</string> -->
- <string>1.28.0</string>
+ <string>1.28.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<!-- @customization - default: <string>$(CURRENT_PROJECT_VERSION)</string> -->
- <string>944</string>
+ <string>945</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
--- targets/US/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-us",
- "version": "1.28.0",
+ "version": "1.28.1",
"private": true,
"scripts": {
"android": "react-native run-android",
| fix(ui): version bump for hotfix drop 28 | fix(ui): version bump for hotfix drop 28
|
1082302b832b7c5c45fd072c3b333a2d60fb35d4 | --- package-lock.json
@@ -11982,7 +11982,8 @@
"buffer-from": "^1.1.1",
"dijkstrajs": "^1.0.1",
"isarray": "^2.0.1",
- "pngjs": "^3.3.0"
+ "pngjs": "^3.3.0",
+ "yargs": "^13.2.4"
},
"dependencies": {
"buffer": {
@@ -11993,6 +11994,32 @@
"base64-js": "^1.3.1",
"ieee754": "^1.1.13"
}
+ },
+ "yargs": {
+ "version": "13.3.2",
+ "resolved": "https://npme.walmart.com/yargs/-/yargs-13.3.2.tgz",
+ "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==",
+ "requires": {
+ "cliui": "^5.0.0",
+ "find-up": "^3.0.0",
+ "get-caller-file": "^2.0.1",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^2.0.0",
+ "set-blocking": "^2.0.0",
+ "string-width": "^3.0.0",
+ "which-module": "^2.0.0",
+ "y18n": "^4.0.0",
+ "yargs-parser": "^13.1.2"
+ }
+ },
+ "yargs-parser": {
+ "version": "13.1.2",
+ "resolved": "https://npme.walmart.com/yargs-parser/-/yargs-parser-13.1.2.tgz",
+ "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==",
+ "requires": {
+ "camelcase": "^5.0.0",
+ "decamelize": "^1.2.0"
+ }
}
}
},
@@ -12767,9 +12794,9 @@
}
},
"react-native-wm-barcode": {
- "version": "2.28.0-patch2",
- "resolved": "https://npme.walmart.com/react-native-wm-barcode/-/react-native-wm-barcode-2.28.0-patch2.tgz",
- "integrity": "sha512-eD2honxfg28qTyoVaBR5UnojwYE+URuc9nJwLU92jYm5i3qmY5RNBLs4v3euInLVpOM4hXZn2sA0Li+llTOvSA=="
+ "version": "2.9.0",
+ "resolved": "https://npme.walmart.com/react-native-wm-barcode/-/react-native-wm-barcode-2.9.0.tgz",
+ "integrity": "sha512-0JxTtX3vbAJGmn71FU0nUEApfXmJjXDe5XNLIL7rNiG+U9Clw/AOAdQw58S6WqwJ7JxGZDrF8NFsxUbJAt0whg=="
},
"react-native-wm-config": {
"version": "0.1.1",
@@ -15130,7 +15157,36 @@
"integrity": "sha512-pAcEq6iOVxzKM55qucKOkh2ML3kii4yGJ5YdmMEOcRAGH4fQ1lHa7BETIl+jzX5n1ZVKgWkzmAiH3vw0nkuklQ==",
"requires": {
"lodash": "^4.0.0",
- "prop-types": "^15.6.2"
+ "prop-types": "^15.6.2",
+ "yargs": "^13.2.2"
+ },
+ "dependencies": {
+ "yargs": {
+ "version": "13.3.2",
+ "resolved": "https://npme.walmart.com/yargs/-/yargs-13.3.2.tgz",
+ "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==",
+ "requires": {
+ "cliui": "^5.0.0",
+ "find-up": "^3.0.0",
+ "get-caller-file": "^2.0.1",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^2.0.0",
+ "set-blocking": "^2.0.0",
+ "string-width": "^3.0.0",
+ "which-module": "^2.0.0",
+ "y18n": "^4.0.0",
+ "yargs-parser": "^13.1.2"
+ }
+ },
+ "yargs-parser": {
+ "version": "13.1.2",
+ "resolved": "https://npme.walmart.com/yargs-parser/-/yargs-parser-13.1.2.tgz",
+ "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==",
+ "requires": {
+ "camelcase": "^5.0.0",
+ "decamelize": "^1.2.0"
+ }
+ }
}
},
"word-wrap": {
--- package.json
@@ -129,7 +129,7 @@
"react-native-video": "^5.1.0-alpha8",
"react-native-view-shot": "^3.1.2",
"react-native-webview": "^10.7.0",
- "react-native-wm-barcode": "2.28.0-patch2",
+ "react-native-wm-barcode": "2.9.0",
"react-native-wm-config": "^0.1.1",
"react-native-wm-network": "^0.1.0",
"react-native-wm-notification": "^1.0.0",
| barcode downgrade | barcode downgrade
|
8d11957ded89f078c4d4bceea720b95e01e69408 | --- package.json
@@ -180,7 +180,7 @@
"react-dom": "^18.2.0",
"react-hook-form": "^7.51.0",
"react-i18next": "^13.3.1",
- "react-native": "patch:react-native@npm%3A0.73.7#~/.yarn/patches/react-native-npm-0.73.7-7f2047866d.patch",
+ "react-native": "0.73.7",
"react-native-app-auth": "7.2.0",
"react-native-background-timer": "^2.4.1",
"react-native-barcode-builder": "^2.0.0",
--- targets/US/package.json
@@ -184,7 +184,7 @@
"react-dom": "^18.2.0",
"react-hook-form": "^7.51.0",
"react-i18next": "^13.3.1",
- "react-native": "patch:react-native@npm%3A0.73.7#~/.yarn/patches/react-native-npm-0.73.7-7f2047866d.patch",
+ "react-native": "0.73.7",
"react-native-app-auth": "7.2.0",
"react-native-background-timer": "^2.4.1",
"react-native-barcode-builder": "^2.0.0",
--- yarn.lock
@@ -7107,7 +7107,7 @@ __metadata:
react-dom: "npm:^18.2.0"
react-hook-form: "npm:^7.51.0"
react-i18next: "npm:^13.3.1"
- react-native: "patch:react-native@npm%3A0.73.7#~/.yarn/patches/react-native-npm-0.73.7-7f2047866d.patch"
+ react-native: "npm:0.73.7"
react-native-apollo-devtools-client: "npm:^1.0.4"
react-native-app-auth: "npm:7.2.0"
react-native-background-timer: "npm:^2.4.1"
@@ -19266,56 +19266,6 @@ __metadata:
languageName: node
linkType: hard
-"react-native@patch:react-native@npm%3A0.73.7#~/.yarn/patches/react-native-npm-0.73.7-7f2047866d.patch":
- version: 0.73.7
- resolution: "react-native@patch:react-native@npm%3A0.73.7#~/.yarn/patches/react-native-npm-0.73.7-7f2047866d.patch::version=0.73.7&hash=3ce05b"
- dependencies:
- "@jest/create-cache-key-function": "npm:^29.6.3"
- "@react-native-community/cli": "npm:12.3.6"
- "@react-native-community/cli-platform-android": "npm:12.3.6"
- "@react-native-community/cli-platform-ios": "npm:12.3.6"
- "@react-native/assets-registry": "npm:0.73.1"
- "@react-native/codegen": "npm:0.73.3"
- "@react-native/community-cli-plugin": "npm:0.73.17"
- "@react-native/gradle-plugin": "npm:0.73.4"
- "@react-native/js-polyfills": "npm:0.73.1"
- "@react-native/normalize-colors": "npm:0.73.2"
- "@react-native/virtualized-lists": "npm:0.73.4"
- abort-controller: "npm:^3.0.0"
- anser: "npm:^1.4.9"
- ansi-regex: "npm:^5.0.0"
- base64-js: "npm:^1.5.1"
- chalk: "npm:^4.0.0"
- deprecated-react-native-prop-types: "npm:^5.0.0"
- event-target-shim: "npm:^5.0.1"
- flow-enums-runtime: "npm:^0.0.6"
- invariant: "npm:^2.2.4"
- jest-environment-node: "npm:^29.6.3"
- jsc-android: "npm:^250231.0.0"
- memoize-one: "npm:^5.0.0"
- metro-runtime: "npm:^0.80.3"
- metro-source-map: "npm:^0.80.3"
- mkdirp: "npm:^0.5.1"
- nullthrows: "npm:^1.1.1"
- pretty-format: "npm:^26.5.2"
- promise: "npm:^8.3.0"
- react-devtools-core: "npm:^4.27.7"
- react-refresh: "npm:^0.14.0"
- react-shallow-renderer: "npm:^16.15.0"
- regenerator-runtime: "npm:^0.13.2"
- scheduler: "npm:0.24.0-canary-efb381bbf-20230505"
- stacktrace-parser: "npm:^0.1.10"
- whatwg-fetch: "npm:^3.0.0"
- ws: "npm:^6.2.2"
- yargs: "npm:^17.6.2"
- peerDependencies:
- react: 18.2.0
- bin:
- react-native: cli.js
- checksum: 10c0/5ef69591b6038e521c7c395b20e4079912e5f7ee88ec6f8477fadd78a14ea0c24faa2158a57ccf07946f47ab7144d35e9c93255fbd507fa621d9da8244c34a06
- languageName: node
- linkType: hard
-
"react-query@npm:^3.39.3":
version: 3.39.3
resolution: "react-query@npm:3.39.3"
| updating package and yarn.lock | updating package and yarn.lock
|
dc1b74724f3f1616b33452676d1dc704ebc3ac39 | --- package-lock.json
@@ -58,7 +58,7 @@
"@walmart/iteminfo-mini-app": "5.3.2",
"@walmart/manager-approvals-miniapp": "0.1.2",
"@walmart/me-field-mini-app": "1.1.36",
- "@walmart/metrics-mini-app": "0.9.38",
+ "@walmart/metrics-mini-app": "0.9.40",
"@walmart/mod-flex-mini-app": "1.3.15",
"@walmart/moment-walmart": "1.0.4",
"@walmart/OneWalmart-MiniApp": "1.0.12",
@@ -5507,9 +5507,9 @@
}
},
"node_modules/@walmart/metrics-mini-app": {
- "version": "0.9.38",
- "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.38.tgz",
- "integrity": "sha512-BERnU4wP6TtiGF/jjdIY+I+9J7OWAII+RFbeXQbJv7UK3nkpjxLYKfe1OBVp+FoyEyUCR7jB7g4SsDQ7eTGu+g==",
+ "version": "0.9.40",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.40.tgz",
+ "integrity": "sha512-Pv8ThrT1IfUrHdIAT/Z+HvpyMY6tNfQhCQCgA47m8/KHQsO/SPogh33X5Cx5qugZiPyx1RfIBdZKc/D5BoL/pg==",
"dependencies": {
"@types/base-64": "^1.0.0",
"apisauce": "1.1.2",
@@ -25255,9 +25255,9 @@
"integrity": "sha512-MbuwFAfzl+LjNffFJUNvP7Ay7kx9sri1Haia4t/p6linZT3HxOaCotJbu0fRVqMr4tXX1ZVCeB2JmSpjsE0UsA=="
},
"@walmart/metrics-mini-app": {
- "version": "0.9.38",
- "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.38.tgz",
- "integrity": "sha512-BERnU4wP6TtiGF/jjdIY+I+9J7OWAII+RFbeXQbJv7UK3nkpjxLYKfe1OBVp+FoyEyUCR7jB7g4SsDQ7eTGu+g==",
+ "version": "0.9.40",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.40.tgz",
+ "integrity": "sha512-Pv8ThrT1IfUrHdIAT/Z+HvpyMY6tNfQhCQCgA47m8/KHQsO/SPogh33X5Cx5qugZiPyx1RfIBdZKc/D5BoL/pg==",
"requires": {
"@types/base-64": "^1.0.0",
"apisauce": "1.1.2",
--- package.json
@@ -73,6 +73,7 @@
"@react-navigation/stack": "^6.1.0",
"@sharcoux/slider": "^6.1.1",
"@terrylinla/react-native-sketch-canvas": "0.8.0",
+ "@walmart/OneWalmart-MiniApp": "1.0.12",
"@walmart/allspark-graphql-client": "^0.1.0",
"@walmart/allspark-home-mini-app": "0.6.14",
"@walmart/allspark-neon-core": "0.1.31",
@@ -100,10 +101,9 @@
"@walmart/iteminfo-mini-app": "5.3.2",
"@walmart/manager-approvals-miniapp": "0.1.2",
"@walmart/me-field-mini-app": "1.1.36",
- "@walmart/metrics-mini-app": "0.9.38",
+ "@walmart/metrics-mini-app": "0.9.40",
"@walmart/mod-flex-mini-app": "1.3.15",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/OneWalmart-MiniApp": "1.0.12",
"@walmart/pay-stub-miniapp": "0.9.21",
"@walmart/payrollsolution_miniapp": "0.130.23",
"@walmart/price-changes-mini-app": "1.6.10",
| metrics patches for SMBLV-3189 and SMBLV-3188 | metrics patches for SMBLV-3189 and SMBLV-3188
|
9ec7016842b73e8ec785c15304197bb19b218344 | --- yarn.lock
@@ -6238,9 +6238,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/emergency-mini-app@npm:1.29.7":
- version: 1.29.7
- resolution: "@walmart/emergency-mini-app@npm:1.29.7"
+"@walmart/emergency-mini-app@npm:1.29.8":
+ version: 1.29.8
+ resolution: "@walmart/emergency-mini-app@npm:1.29.8"
dependencies:
"@walmart/allspark-utils": "npm:^1.6.5"
"@walmart/core-widget-registry": "npm:^0.6.6"
@@ -6255,7 +6255,7 @@ __metadata:
react-native: "*"
react-redux: ^7.2.1
redux: ^4.1.2
- checksum: 10c0/4603518e7938888026021efe2639d9c57aef990b239cebf11979befe723de4b6dc1a0e74bab97562a8a5eebdd45effa4f721aef915110b73910a38065982d53d
+ checksum: 10c0/9560273a5328931cba9984e777b54b20252e3d955bfb4ba4ef12032f4d2771da66f1ceebff26764f452e062364ccccad03fc1410755476dd43b64d253eeaa09d
languageName: node
linkType: hard
@@ -6433,9 +6433,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/inbox-mini-app@npm:0.96.5":
- version: 0.96.5
- resolution: "@walmart/inbox-mini-app@npm:0.96.5"
+"@walmart/inbox-mini-app@npm:0.96.6":
+ version: 0.96.6
+ resolution: "@walmart/inbox-mini-app@npm:0.96.6"
peerDependencies:
"@walmart/allspark-foundation": "*"
"@walmart/allspark-utils": ">=1.6.4"
@@ -6443,7 +6443,7 @@ __metadata:
"@walmart/moment-walmart": ">=1.0.4"
"@walmart/schedule-mini-app": ">=0.2.66"
"@walmart/walmart-fiscal-week": ">=0.3.6"
- checksum: 10c0/9e97623afb1c40406006326f9ac6f359ebbbcc3cbf6e79e3c8b533670b44b2d833f8f238287a0852ebda9daad3447c7122830e30594bcf4c12b6e597a7ec83ef
+ checksum: 10c0/46c968997288dbf3ea18075faf53a3fb62e8b5510842583dd1691c3d6c78075c5915868f83163de2783b1019714421689aecc204112e3451ebf0aa55622af5f9
languageName: node
linkType: hard
@@ -6933,7 +6933,7 @@ __metadata:
"@walmart/core-utils": "npm:6.3.9"
"@walmart/core-widget-registry": "workspace:^"
"@walmart/counts-component-miniapp": "npm:0.1.11"
- "@walmart/emergency-mini-app": "npm:1.29.7"
+ "@walmart/emergency-mini-app": "npm:1.29.8"
"@walmart/exception-mini-app": "npm:1.8.4"
"@walmart/facilities-management-miniapp": "npm:0.11.15"
"@walmart/feedback-all-spark-miniapp": "npm:0.9.66"
@@ -6942,7 +6942,7 @@ __metadata:
"@walmart/gta-react-native-calendars": "npm:0.7.0"
"@walmart/gtp-shared-components": "npm:2.2.4"
"@walmart/ims-print-services-ui": "npm:2.12.0"
- "@walmart/inbox-mini-app": "npm:0.96.5"
+ "@walmart/inbox-mini-app": "npm:0.96.6"
"@walmart/iteminfo-mini-app": "npm:7.15.11"
"@walmart/learning-mini-app": "npm:20.0.32"
"@walmart/manager-approvals-miniapp": "npm:0.2.4"
| yarn lock updated | yarn lock updated
|
f5d99ce1168c2e1e936ccb55da09cc291f3b5e51 | --- src/navigation/AssociateHallwayNav/MainStackNav.tsx
@@ -231,7 +231,7 @@ export const MainStackNav = () => {
component={TorSubmissionScreen}
/>
<MainStack.Screen
- name='modalScreen'
+ name='attendanceModalScreen'
component={AttendanceModalScreen}
options={{
presentation: 'transparentModal',
@@ -256,7 +256,7 @@ export const MainStackNav = () => {
component={TCMATorSubmissionScreen}
/>
<MainStack.Screen
- name='modalScreen'
+ name='attendanceModalScreen'
component={TCMAAttendanceModalScreen}
options={{
presentation: 'transparentModal',
--- src/navigation/AssociateHallwayNav/Tabs/HomeStackNav.tsx
@@ -167,7 +167,7 @@ export const HomeStackNav = () => {
/>
<HomeStack.Screen name='torReview' component={TorReviewScreen} />
<HomeStack.Screen
- name='modalScreen'
+ name='attendanceModalScreen'
component={AttendanceModalScreen}
options={{
presentation: 'transparentModal',
@@ -191,7 +191,7 @@ export const HomeStackNav = () => {
/>
<HomeStack.Screen name='torReview' component={TCMATorReviewScreen} />
<HomeStack.Screen
- name='modalScreen'
+ name='attendanceModalScreen'
component={TCMAAttendanceModalScreen}
options={{
presentation: 'transparentModal',
--- src/navigation/AssociateHallwayNav/Tabs/MyTeamStackNav.tsx
@@ -61,7 +61,7 @@ export const MyTeamStackNav = () => {
component={TorSubmissionScreen}
/>
<MyTeamStack.Screen
- name='modalScreen'
+ name='attendanceModalScreen'
component={AttendanceModalScreen}
options={{
presentation: 'transparentModal',
@@ -86,7 +86,7 @@ export const MyTeamStackNav = () => {
component={TCMATorSubmissionScreen}
/>
<MyTeamStack.Screen
- name='modalScreen'
+ name='attendanceModalScreen'
component={TCMAAttendanceModalScreen}
options={{
presentation: 'transparentModal',
| Fix misnamed modal screens | Fix misnamed modal screens
|
bafaca1748e6d3020f1187097fd17425aba6826e | --- packages/allspark-foundation/src/Components/Onboarding/TeamSelection/Screens/TeamSelection.tsx
@@ -110,16 +110,6 @@ export const TeamSelection = () => {
}
};
- const selectedTeamIds = selectedTeams?.reduce((acc, selectedTeamName) => {
- const foundTeam = allTeamsData.find(
- (team) => team?.teamName === selectedTeamName
- );
- if (foundTeam) {
- acc.push(foundTeam.teamId);
- }
- return acc;
- }, []);
-
const handleSelectAll = () => {
if (selectedTeams.length < allAvailableTeams.length) {
setSelectedTeams([...allAvailableTeams]);
@@ -130,13 +120,22 @@ export const TeamSelection = () => {
message: 'Selected all teams from team selection',
selectedTeamsLength: String(selectedTeams.length),
primaryTeamName: primaryTeamName,
- selectedTeamIds: selectedTeamIds,
});
} else {
setSelectedTeams([primaryTeamName]);
}
};
+ const selectedTeamIds = selectedTeams?.reduce((acc, selectedTeamName) => {
+ const selectedTeam = allTeamsData.find(
+ (team) => team?.teamName === selectedTeamName
+ );
+ if (selectedTeam) {
+ acc.push(selectedTeam.teamId);
+ }
+ return acc;
+ }, []);
+
if (loading) {
//TODO: Add loading screen
return <Spinner testID='loadingScreen' size='large' />;
| Updating telemetry for onboarding flow | Updating telemetry for onboarding flow
|
ebf3a8b7c960f95d90fa5a72268ca90a6f460dee | --- src/services.ts
@@ -1,10 +1,12 @@
import type {EnvConfig} from '@walmart/core-services/Environment';
-import {defaultHttpClient} from '@walmart/functional-components';
+import {
+ defaultHttpClient,
+ HttpClientInstance,
+} from '@walmart/functional-components';
export const HTTP_CLIENT_KEY = 'texting';
export const getClientConfig = (envConfig: EnvConfig) => ({
- // @ts-ignore - indexing by EnvType
baseURL: `${envConfig.externalBffUrl}/api-proxy/service`,
headers: {
'cache-control': 'no-cache',
@@ -20,7 +22,7 @@ export const getGraphQLConfig = () => ({
},
});
-export const TextingApi = defaultHttpClient.clone(
+export const TextingApi: HttpClientInstance = defaultHttpClient.clone(
{
headers: {
'cache-control': 'no-cache',
--- src/services.ts
@@ -1,10 +1,12 @@
import type {EnvConfig} from '@walmart/core-services/Environment';
-import {defaultHttpClient} from '@walmart/functional-components';
+import {
+ defaultHttpClient,
+ HttpClientInstance,
+} from '@walmart/functional-components';
export const HTTP_CLIENT_KEY = 'texting';
export const getClientConfig = (envConfig: EnvConfig) => ({
- // @ts-ignore - indexing by EnvType
baseURL: `${envConfig.externalBffUrl}/api-proxy/service`,
headers: {
'cache-control': 'no-cache',
@@ -20,7 +22,7 @@ export const getGraphQLConfig = () => ({
},
});
-export const TextingApi = defaultHttpClient.clone(
+export const TextingApi: HttpClientInstance = defaultHttpClient.clone(
{
headers: {
'cache-control': 'no-cache',
| fixing ts issue | fixing ts issue
|
c73d254889126105c50b2ff61e14fd34e9a15b8c | --- package-lock.json
@@ -82,7 +82,7 @@
"@walmart/settings-mini-app": "1.12.0",
"@walmart/shelfavailability-mini-app": "1.5.11",
"@walmart/taskit-mini-app": "0.49.6",
- "@walmart/time-clock-mini-app": "2.24.0",
+ "@walmart/time-clock-mini-app": "2.25.0",
"@walmart/ui-components": "1.9.0",
"@walmart/welcomeme-mini-app": "0.73.0",
"@walmart/wfm-ui": "0.2.26",
@@ -6846,9 +6846,9 @@
}
},
"node_modules/@walmart/time-clock-mini-app": {
- "version": "2.24.0",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.24.0.tgz",
- "integrity": "sha512-GBMz7ZDghAdZUZKyQADiZ0XitoOYEohAahFOPyr7o3Tv7dlcZrm5NHcizCgJjXZs5UrYM1ySXodpmTLZoU33UA==",
+ "version": "2.25.0",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.25.0.tgz",
+ "integrity": "sha512-BaU/x0xQqo8upqs9vnJQSmLKdW2dGJSk8DZpoXmCPh9YJK/h+ZWg2tMglQAtIFi4PEJv8qU0Gc4RAco10wUtKQ==",
"hasInstallScript": true,
"license": "UNLICENSED",
"dependencies": {
@@ -30245,9 +30245,9 @@
}
},
"@walmart/time-clock-mini-app": {
- "version": "2.24.0",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.24.0.tgz",
- "integrity": "sha512-GBMz7ZDghAdZUZKyQADiZ0XitoOYEohAahFOPyr7o3Tv7dlcZrm5NHcizCgJjXZs5UrYM1ySXodpmTLZoU33UA==",
+ "version": "2.25.0",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-2.25.0.tgz",
+ "integrity": "sha512-BaU/x0xQqo8upqs9vnJQSmLKdW2dGJSk8DZpoXmCPh9YJK/h+ZWg2tMglQAtIFi4PEJv8qU0Gc4RAco10wUtKQ==",
"requires": {
"@react-navigation/elements": "^1.3.1",
"moment-timezone": "0.5.33",
--- package.json
@@ -124,7 +124,7 @@
"@walmart/settings-mini-app": "1.12.0",
"@walmart/shelfavailability-mini-app": "1.5.2",
"@walmart/taskit-mini-app": "0.49.6",
- "@walmart/time-clock-mini-app": "2.24.0",
+ "@walmart/time-clock-mini-app": "2.25.0",
"@walmart/ui-components": "1.9.0",
"@walmart/welcomeme-mini-app": "0.73.0",
"@walmart/wfm-ui": "0.2.26",
| Update time clock to 2.25.0 | Update time clock to 2.25.0
|
86993c0342b77256511a4fcbb2ece1295db755aa | --- android/app/build.gradle
@@ -334,7 +334,8 @@ dependencies {
debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
exclude group:'com.facebook.fbjni'
}
- implementation 'com.walmart.ssmp:platform-core:1.0.4'
+ implementation 'com.walmart.ssmp:platform-core:1.0.5'
+ implementation "com.google.android.play:feature-delivery:2.0.1"
debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
exclude group:'com.facebook.flipper'
--- package-lock.json
@@ -161,7 +161,7 @@
"react-native-wm-network": "0.2.0",
"react-native-wm-notification": "2.0.1",
"react-native-wm-telemetry": "0.4.0",
- "react-native-wm-vizpick-shell": "1.1.2",
+ "react-native-wm-vizpick-shell": "1.1.3",
"react-native-wm-voice-text": "1.0.1",
"react-redux": "^8.0.4",
"realm": "11.2.0",
@@ -18360,7 +18360,9 @@
}
},
"node_modules/react-native-wm-vizpick-shell": {
- "version": "1.1.2",
+ "version": "1.1.3",
+ "resolved": "https://npme.walmart.com/react-native-wm-vizpick-shell/-/react-native-wm-vizpick-shell-1.1.3.tgz",
+ "integrity": "sha512-2InNytAPCJNn1UmBNqm+Kg4OYbAd4lryMplgYDzDnc3N2JThaju1idKnXz4CEcvXNSFpWKF2dXYeprWPHnTnXg==",
"license": "UNLICENSED"
},
"node_modules/react-native-wm-voice-text": {
@@ -33224,7 +33226,9 @@
"version": "0.4.0"
},
"react-native-wm-vizpick-shell": {
- "version": "1.1.2"
+ "version": "1.1.3",
+ "resolved": "https://npme.walmart.com/react-native-wm-vizpick-shell/-/react-native-wm-vizpick-shell-1.1.3.tgz",
+ "integrity": "sha512-2InNytAPCJNn1UmBNqm+Kg4OYbAd4lryMplgYDzDnc3N2JThaju1idKnXz4CEcvXNSFpWKF2dXYeprWPHnTnXg=="
},
"react-native-wm-voice-text": {
"version": "1.0.1"
--- package.json
@@ -203,7 +203,7 @@
"react-native-wm-network": "0.2.0",
"react-native-wm-notification": "2.0.1",
"react-native-wm-telemetry": "0.4.0",
- "react-native-wm-vizpick-shell": "1.1.2",
+ "react-native-wm-vizpick-shell": "1.1.3",
"react-native-wm-voice-text": "1.0.1",
"react-redux": "^8.0.4",
"realm": "11.2.0",
| added stable version of platform core with PlatformCoreApp extending SplitCompatApplication required by Fixit team | added stable version of platform core with PlatformCoreApp extending SplitCompatApplication required by Fixit team
|
9f165d3282cca8584b65823d52965cc5d1b9889f | --- package-lock.json
@@ -67,7 +67,7 @@
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "3.7.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.1.0",
+ "@walmart/wmconnect-mini-app": "1.1.1",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
@@ -11836,9 +11836,9 @@
}
},
"node_modules/@walmart/wmconnect-mini-app": {
- "version": "1.1.0",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.1.0.tgz",
- "integrity": "sha512-i/IGIF4tp/zoe6z0+orMRiRI10Lre6GsQqBuS9Jl+GojaaAE3VFn2yWRUl3k2ZZFfesZEnz5GBpgjc+KnmCRng==",
+ "version": "1.1.1",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.1.1.tgz",
+ "integrity": "sha512-r7Gkf2L57LcmDea/T9bQ2oWNsKnUFGQQzXT5MytFhf8eI47UmHtG9IfPODIMICz0ld+VvXLGiFLPNsaQ7JvA4Q==",
"dev": true,
"hasInstallScript": true
},
@@ -41047,9 +41047,9 @@
}
},
"@walmart/wmconnect-mini-app": {
- "version": "1.1.0",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.1.0.tgz",
- "integrity": "sha512-i/IGIF4tp/zoe6z0+orMRiRI10Lre6GsQqBuS9Jl+GojaaAE3VFn2yWRUl3k2ZZFfesZEnz5GBpgjc+KnmCRng==",
+ "version": "1.1.1",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.1.1.tgz",
+ "integrity": "sha512-r7Gkf2L57LcmDea/T9bQ2oWNsKnUFGQQzXT5MytFhf8eI47UmHtG9IfPODIMICz0ld+VvXLGiFLPNsaQ7JvA4Q==",
"dev": true
},
"@whatwg-node/events": {
--- package.json
@@ -90,7 +90,7 @@
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "3.7.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.1.0",
+ "@walmart/wmconnect-mini-app": "1.1.1",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
--- src/index.tsx
@@ -12,6 +12,7 @@ import {ClockedOutScreenGuard} from './components/ClockedOutScreenGuard';
import {SafeAreaProvider} from 'react-native-safe-area-context';
import {reducerManager} from '@walmart/redux-store';
import {rosterSlice} from './redux/reducer';
+import {PresenceProvider} from '@walmart/wmconnect-mini-app';
export const LOGGER_FIELDS = {id: 'roster-mini-app'};
export * from './shared';
@@ -51,7 +52,9 @@ export const RosterMiniApp = () => {
<LoggerCloneProvider fields={LOGGER_FIELDS}>
<HttpClientCloneProvider id={HTTP_CLIENT_KEY} config={httpConfig}>
<ClockedOutScreenGuard>
- <RosterNavigation />
+ <PresenceProvider>
+ <RosterNavigation />
+ </PresenceProvider>
</ClockedOutScreenGuard>
</HttpClientCloneProvider>
</LoggerCloneProvider>
| Update version | Update version
|
47916afe86c4a119da83fa13a7a8f2f530df9c2a | --- README.md
@@ -260,9 +260,17 @@ Example of a commit message:
- profile,
- lint
- config
+- bump
+
When you are ready to commit new changes to a repo, all you need to do is to type `git commit` in your terminal and follow `commitizen` guidence.
+When your PR is ready for review, please make sure that PR title is also aligned with established commit convention. In most cases Git would default it to a first/last commit message and if it follows established convention, this concern will be addressed automatically.
+
+Please keep you PR commit history linear and clean.
+
+** No merge commit is allowed. **
+
*Please do not skip prompted steps while committing your changes. Other you PR won't be merged*
## React Native Upgrades
| chore(docs): ALLSPARK-5823 update readme file with new commit practice (#4059) | chore(docs): ALLSPARK-5823 update readme file with new commit practice (#4059)
Co-authored-by: Maksym Novakh <maksym.novakh@walmart.com> |
990a90988be1b0d1905eeb79611010bad41b6f42 | --- src/components/ClockedOutScreenGuard.tsx
@@ -10,6 +10,9 @@ import {useSelector} from 'react-redux';
import {ClockStatusSelectors} from '@walmart/redux-store';
import {useTranslation} from '@walmart/core-services/Translations';
import {UserHeader} from '../containers/UserHeader';
+import {createStackNavigator} from '@react-navigation/stack';
+import {TextingNavParamsMap} from '../navigation';
+import {Header} from '@walmart/ui-components';
const styles = StyleSheet.create({
warning: {
@@ -21,27 +24,48 @@ interface ClockedOutScreenGuardProps {
children: ReactElement;
}
+const ClockedOutStack = createStackNavigator<TextingNavParamsMap>();
+
+export const ClockedOutScreen = () => {
+ const {t} = useTranslation();
+ analytics('roster', {message: 'clocked out roster access'}, 10);
+ return (
+ <>
+ <UserHeader />
+ <Alert
+ variant='warning'
+ children={t('clockedOutScreenGuard.clockedOutMessage')}
+ UNSAFE_style={styles.warning}
+ actionButtonProps={{
+ children: t('clockedOutScreenGuard.viewTimeClock'),
+ onPress: noop,
+ }}
+ />
+ </>
+ );
+};
+
export const ClockedOutScreenGuard: React.FC<ClockedOutScreenGuardProps> = ({
children,
}) => {
const clockedIn = useSelector(ClockStatusSelectors.getIsClockedIn);
- const {t} = useTranslation();
- if (!clockedIn) {
- analytics('roster', {message: 'clocked out roster access'}, 10);
- return (
- <>
- <UserHeader />
- <Alert
- variant='warning'
- children={t('clockedOutScreenGuard.clockedOutMessage')}
- UNSAFE_style={styles.warning}
- actionButtonProps={{
- children: t('clockedOutScreenGuard.viewTimeClock'),
- onPress: noop,
- }}
- />
- </>
- );
+ if (clockedIn) {
+ return children;
}
- return children;
+ return (
+ <ClockedOutStack.Navigator
+ screenOptions={{
+ header: Header,
+ headerShown: true,
+ cardStyle: {backgroundColor: 'white'},
+ }}>
+ <ClockedOutStack.Screen
+ name={'myTeam.clockedOutScreen'}
+ component={ClockedOutScreen}
+ options={{
+ title: 'My Team',
+ }}
+ />
+ </ClockedOutStack.Navigator>
+ );
};
--- src/navigation/index.tsx
@@ -1,6 +1,5 @@
/* eslint-disable react-hooks/exhaustive-deps */
import React, {useMemo} from 'react';
-// import {useSelector} from 'react-redux';
import {createStackNavigator} from '@react-navigation/stack';
import {DrawerButton, Header} from '@walmart/ui-components';
import {useSafeAreaInsets} from 'react-native-safe-area-context';
@@ -14,7 +13,6 @@ import {
SearchHeaderRight,
SearchScreen,
} from '../screens/SearchScreen';
-// import {getEncryptedUserId} from '../redux/selectors';
import {buildMessageScreenOptions} from './utils';
import {TextingNavParamsMap} from './types';
import {MESSAGES_SCREEN_NAME} from '../constants';
--- src/navigation/types.ts
@@ -10,4 +10,5 @@ export type TextingNavParamsMap = {
'myTeam.newMessage': undefined;
'myTeam.viewTeam': {teamId: string};
'myTeam.searchScreen': {searchInput: string};
+ 'myTeam.clockedOutScreen': undefined;
};
--- src/components/ClockedOutScreenGuard.tsx
@@ -10,6 +10,9 @@ import {useSelector} from 'react-redux';
import {ClockStatusSelectors} from '@walmart/redux-store';
import {useTranslation} from '@walmart/core-services/Translations';
import {UserHeader} from '../containers/UserHeader';
+import {createStackNavigator} from '@react-navigation/stack';
+import {TextingNavParamsMap} from '../navigation';
+import {Header} from '@walmart/ui-components';
const styles = StyleSheet.create({
warning: {
@@ -21,27 +24,48 @@ interface ClockedOutScreenGuardProps {
children: ReactElement;
}
+const ClockedOutStack = createStackNavigator<TextingNavParamsMap>();
+
+export const ClockedOutScreen = () => {
+ const {t} = useTranslation();
+ analytics('roster', {message: 'clocked out roster access'}, 10);
+ return (
+ <>
+ <UserHeader />
+ <Alert
+ variant='warning'
+ children={t('clockedOutScreenGuard.clockedOutMessage')}
+ UNSAFE_style={styles.warning}
+ actionButtonProps={{
+ children: t('clockedOutScreenGuard.viewTimeClock'),
+ onPress: noop,
+ }}
+ />
+ </>
+ );
+};
+
export const ClockedOutScreenGuard: React.FC<ClockedOutScreenGuardProps> = ({
children,
}) => {
const clockedIn = useSelector(ClockStatusSelectors.getIsClockedIn);
- const {t} = useTranslation();
- if (!clockedIn) {
- analytics('roster', {message: 'clocked out roster access'}, 10);
- return (
- <>
- <UserHeader />
- <Alert
- variant='warning'
- children={t('clockedOutScreenGuard.clockedOutMessage')}
- UNSAFE_style={styles.warning}
- actionButtonProps={{
- children: t('clockedOutScreenGuard.viewTimeClock'),
- onPress: noop,
- }}
- />
- </>
- );
+ if (clockedIn) {
+ return children;
}
- return children;
+ return (
+ <ClockedOutStack.Navigator
+ screenOptions={{
+ header: Header,
+ headerShown: true,
+ cardStyle: {backgroundColor: 'white'},
+ }}>
+ <ClockedOutStack.Screen
+ name={'myTeam.clockedOutScreen'}
+ component={ClockedOutScreen}
+ options={{
+ title: 'My Team',
+ }}
+ />
+ </ClockedOutStack.Navigator>
+ );
};
--- src/navigation/index.tsx
@@ -1,6 +1,5 @@
/* eslint-disable react-hooks/exhaustive-deps */
import React, {useMemo} from 'react';
-// import {useSelector} from 'react-redux';
import {createStackNavigator} from '@react-navigation/stack';
import {DrawerButton, Header} from '@walmart/ui-components';
import {useSafeAreaInsets} from 'react-native-safe-area-context';
@@ -14,7 +13,6 @@ import {
SearchHeaderRight,
SearchScreen,
} from '../screens/SearchScreen';
-// import {getEncryptedUserId} from '../redux/selectors';
import {buildMessageScreenOptions} from './utils';
import {TextingNavParamsMap} from './types';
import {MESSAGES_SCREEN_NAME} from '../constants';
--- src/navigation/types.ts
@@ -10,4 +10,5 @@ export type TextingNavParamsMap = {
'myTeam.newMessage': undefined;
'myTeam.viewTeam': {teamId: string};
'myTeam.searchScreen': {searchInput: string};
+ 'myTeam.clockedOutScreen': undefined;
};
| adding navigation stack and user header to screen guard | adding navigation stack and user header to screen guard
|
2f1bb5082c03d1f8210425eb338dcad10d908e47 | --- src/hooks/roster.ts
@@ -55,7 +55,7 @@ export const useGetAssociateId = (userWin: string) => {
return data?.getAssociateById?.associateId || '';
};
-export const useRbacConfigWithJobCode = () => {
+export const useRbacConfigWithJobCode = (): boolean => {
const RBACState = useSelector(getRbacState);
const RMAAppId = useSelector(getRmaAppId);
const RMAPermissionsPath = useSelector(getRmaPath);
--- src/hooks/roster.ts
@@ -55,7 +55,7 @@ export const useGetAssociateId = (userWin: string) => {
return data?.getAssociateById?.associateId || '';
};
-export const useRbacConfigWithJobCode = () => {
+export const useRbacConfigWithJobCode = (): boolean => {
const RBACState = useSelector(getRbacState);
const RMAAppId = useSelector(getRmaAppId);
const RMAPermissionsPath = useSelector(getRmaPath);
| update return type | update return type
|
ae1e0a30f37e7db56a0b871fb0e2930618340cb1 | --- package.json
@@ -145,7 +145,7 @@
"@walmart/shelfavailability-mini-app": "1.5.26",
"@walmart/store-feature-orders": "1.26.9",
"@walmart/taskit-mini-app": "3.0.2",
- "@walmart/time-clock-mini-app": "2.399.0",
+ "@walmart/time-clock-mini-app": "2.400.0",
"@walmart/topstock-mini-app": "1.10.8",
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.14#~/.yarn/patches/@walmart-ui-components-npm-1.15.14-a6f67304be.patch",
"@walmart/welcomeme-mini-app": "0.94.0",
--- yarn.lock
@@ -6508,6 +6508,47 @@ __metadata:
languageName: node
linkType: hard
+"@walmart/me-at-walmart-container@patch:@walmart/me-at-walmart-container@npm%3A6.1.4#~/.yarn/patches/@walmart-me-at-walmart-container-npm-6.1.4-9866658c81.patch":
+ version: 6.1.4
+ resolution: "@walmart/me-at-walmart-container@patch:@walmart/me-at-walmart-container@npm%3A6.1.4#~/.yarn/patches/@walmart-me-at-walmart-container-npm-6.1.4-9866658c81.patch::version=6.1.4&hash=1b1bda"
+ dependencies:
+ "@walmart/allspark-utils": "npm:^6.1.4"
+ jwt-decode: "npm:^3.1.2"
+ nanoid: "npm:4.0.2"
+ redux-flipper: "npm:^2.0.2"
+ peerDependencies:
+ "@react-native-async-storage/async-storage": 1.x
+ "@react-native-firebase/analytics": 17.x
+ "@react-native-firebase/crashlytics": 17.x
+ "@react-native-firebase/database": 17.x
+ "@react-native-firebase/perf": 17.x
+ "@walmart/allspark-authentication": "*"
+ "@walmart/allspark-foundation": "*"
+ "@walmart/config-components": 4.x
+ "@walmart/core-services": ">=6"
+ "@walmart/core-services-allspark": ">=6"
+ "@walmart/core-widget-registry": ">=6"
+ "@walmart/me-at-walmart-athena-queries": ">=6"
+ "@walmart/me-at-walmart-common": "*"
+ "@walmart/react-native-encrypted-storage": 1.x
+ "@walmart/react-native-logger": 1.x
+ react: "*"
+ react-native: "*"
+ react-native-device-info: 10.x
+ wifi-store-locator: 1.x
+ peerDependenciesMeta:
+ "@walmart/core-services":
+ optional: true
+ "@walmart/core-services-allspark":
+ optional: true
+ "@walmart/core-widget-registry":
+ optional: true
+ "@walmart/me-at-walmart-athena-queries":
+ optional: true
+ checksum: 10c0/ba6179c2d018ce7aa565aeffe1e17756be2efb7ae2109849b66ca1eb85856786249f9ce14cf7584e1452e27c189de3a1e2614eea13c32ac10c54877ef0bdb077
+ languageName: node
+ linkType: hard
+
"@walmart/metrics-mini-app@npm:0.22.4":
version: 0.22.4
resolution: "@walmart/metrics-mini-app@npm:0.22.4"
@@ -7203,9 +7244,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/time-clock-mini-app@npm:2.399.0":
- version: 2.399.0
- resolution: "@walmart/time-clock-mini-app@npm:2.399.0"
+"@walmart/time-clock-mini-app@npm:2.400.0":
+ version: 2.400.0
+ resolution: "@walmart/time-clock-mini-app@npm:2.400.0"
dependencies:
"@react-navigation/elements": "npm:^1.3.1"
moment-timezone: "npm:0.5.33"
@@ -7248,7 +7289,7 @@ __metadata:
uuid: ^3.3.2
wifi-store-locator: ^1.4.0
xdate: ^0.8.2
- checksum: 10c0/dff43891adbe243f50464fe73d5a0b961aabf04129f831d7cb4aee7d4377f3ce84766a60ad4c15b55b7552a6d332c5d161f490b17e415a18fddd7bd372c306c0
+ checksum: 10c0/cb9e8edee84b24c28db55885ad807950850de04f56de4be42b41126222d9c6bd71fb90fdbc352e6948413bef78d7d804f057c4045dae91818ec9a8986ae11637
languageName: node
linkType: hard
@@ -7831,7 +7872,7 @@ __metadata:
"@walmart/manager-approvals-miniapp": "npm:0.2.4"
"@walmart/me-at-walmart-athena-queries": "npm:6.1.4"
"@walmart/me-at-walmart-common": "npm:6.1.4"
- "@walmart/me-at-walmart-container": "npm:6.1.4"
+ "@walmart/me-at-walmart-container": "patch:@walmart/me-at-walmart-container@npm%3A6.1.4#~/.yarn/patches/@walmart-me-at-walmart-container-npm-6.1.4-9866658c81.patch"
"@walmart/metrics-mini-app": "npm:0.22.4"
"@walmart/mod-flex-mini-app": "npm:1.18.5"
"@walmart/moment-walmart": "npm:1.0.4"
@@ -7860,7 +7901,7 @@ __metadata:
"@walmart/shelfavailability-mini-app": "npm:1.5.26"
"@walmart/store-feature-orders": "npm:1.26.9"
"@walmart/taskit-mini-app": "npm:3.0.2"
- "@walmart/time-clock-mini-app": "npm:2.399.0"
+ "@walmart/time-clock-mini-app": "npm:2.400.0"
"@walmart/topstock-mini-app": "npm:1.10.8"
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.14#~/.yarn/patches/@walmart-ui-components-npm-1.15.14-a6f67304be.patch"
"@walmart/welcomeme-mini-app": "npm:0.94.0"
| Updating timeClock version to 2.400.0 | Updating timeClock version to 2.400.0
|
514ea12c49729fa2ee85e8c50c733d747e335d0d | --- targets/US/package.json
@@ -149,7 +149,7 @@
"@walmart/store-feature-orders": "1.27.1",
"@walmart/taskit-mini-app": "4.25.8",
"@walmart/time-clock-mini-app": "2.448.1",
- "@walmart/time-clock-mini-app-next": "2.801.0",
+ "@walmart/time-clock-mini-app-next": "2.805.0",
"@walmart/topstock-mini-app": "1.19.4",
"@walmart/translator-mini-app": "1.3.7",
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.18.7#~/.yarn/patches/@walmart-ui-components-npm-1.18.7-9e23294b76.patch",
--- yarn.lock
@@ -7371,7 +7371,7 @@ __metadata:
"@walmart/store-feature-orders": "npm:1.27.1"
"@walmart/taskit-mini-app": "npm:4.25.8"
"@walmart/time-clock-mini-app": "npm:2.448.1"
- "@walmart/time-clock-mini-app-next": "npm:2.801.0"
+ "@walmart/time-clock-mini-app-next": "npm:2.805.0"
"@walmart/topstock-mini-app": "npm:1.19.4"
"@walmart/translator-mini-app": "npm:1.3.7"
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.18.7#~/.yarn/patches/@walmart-ui-components-npm-1.18.7-9e23294b76.patch"
@@ -8361,9 +8361,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/time-clock-mini-app-next@npm:2.801.0":
- version: 2.801.0
- resolution: "@walmart/time-clock-mini-app-next@npm:2.801.0"
+"@walmart/time-clock-mini-app-next@npm:2.805.0":
+ version: 2.805.0
+ resolution: "@walmart/time-clock-mini-app-next@npm:2.805.0"
dependencies:
"@react-navigation/elements": "npm:^1.3.1"
moment-timezone: "npm:0.5.33"
@@ -8408,7 +8408,7 @@ __metadata:
uuid: ^3.3.2
wifi-store-locator: ^1.4.0
xdate: ^0.8.2
- checksum: 10c0/41e499db8f60958a0c65bdc48854bf10e992789fe23940849e1e88c87a8e6c43ebc309668128eab12a8b20d9591ee68da9b336ac445aaf87670c3fa71ba4fd0c
+ checksum: 10c0/01cf3c51aad8ddf4ba9e3ca3e7efff8df9e345e86daf6f7ac208dc13af2149e26f4a7de7883d597ec39d6db8b66680f4f2b311723c6039ce4f417b798034be1d
languageName: node
linkType: hard
| feat: time clock next package updated | feat: time clock next package updated
|
8953b4219e10c8a0b18453b7775c562b3c9f0817 | --- __mocks__/@walmart/allspark-foundation/Navigation.js
@@ -21,6 +21,7 @@ module.exports = {
openModal: jest.fn(),
closeModal: jest.fn(),
closeAllModals: jest.fn(),
+ closeDrawer: jest.fn(),
enable: jest.fn(),
disable: jest.fn(),
addScreenChangeListener: jest.fn(() => ({remove: jest.fn()})),
--- __tests__/navigation/USHallway/AssociateHallwayNav/SideMenuContentTest.tsx
@@ -202,6 +202,7 @@ describe('SideMenuContent', () => {
it('handles handlePressTimeClock event', () => {
globalNav.props.onPressTimeClock();
+ expect(mockAllsparkDrawer.close).toHaveBeenCalled();
expect(mockNavigation.navigate).toHaveBeenCalledWith('timeClock');
});
});
--- __tests__/sideKey/SideButtonSagasTest.ts
@@ -98,6 +98,7 @@ describe('processKeyEvent', () => {
await processKeyEvent({keyCode: COPE_DEVICE_SIDE_KEY_CODE});
expect(AllsparkNavigationClient.navigate).toHaveBeenCalledWith('askSam');
+ expect(AllsparkNavigationClient.closeDrawer).toHaveBeenCalled();
});
it('handles item info preference', async () => {
--- package.json
@@ -76,7 +76,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.10",
"@walmart/allspark-cope-key-listener": "0.0.18",
- "@walmart/allspark-foundation": "6.47.0",
+ "@walmart/allspark-foundation": "6.48.2",
"@walmart/allspark-foundation-hub": "1.10.0",
"@walmart/allspark-graphql-client": "~6.3.28",
"@walmart/allspark-http-client": "~6.3.28",
--- src/navigation/USHallway/AssociateHallwayNav/SideMenuContent.tsx
@@ -153,6 +153,7 @@ export const SideMenuContent = () => {
};
const handlePressTimeClock = () => {
+ onDrawerClose();
GlobalNavTelemetry.logEvent('time_clock_clicked', {
clock_status: `${clockedIn}`,
});
--- src/sideKey/SideButtonSagas.ts
@@ -7,8 +7,10 @@ import {
ConfigSelectors,
FeatureConfig,
} from '@walmart/allspark-foundation/Config';
-import {AllsparkNavigationClient} from '@walmart/allspark-foundation/Navigation';
import {createRestartableSaga} from '@walmart/allspark-utils';
+import {
+ AllsparkNavigationClient,
+} from '@walmart/allspark-foundation/Navigation';
import {
SIDE_BTN_SELECTION_ASKEY,
@@ -49,6 +51,7 @@ export const processKeyEvent = async (keyEvent: {keyCode: number}) => {
const storedSelectedAction = await SidekeyLocalStorage.get(
SIDE_BTN_SELECTION_ASKEY,
);
+ AllsparkNavigationClient.closeDrawer();
SidekeyTelemetry.logEvent('sidekey_navigated', {
to: storedSelectedAction || 'default',
currentScreen: currentRoute,
--- yarn.lock
@@ -6467,9 +6467,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation@npm:6.47.0":
- version: 6.47.0
- resolution: "@walmart/allspark-foundation@npm:6.47.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation%2F-%2F%40walmart%2Fallspark-foundation-6.47.0.tgz"
+"@walmart/allspark-foundation@npm:6.48.2":
+ version: 6.48.2
+ resolution: "@walmart/allspark-foundation@npm:6.48.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation%2F-%2F%40walmart%2Fallspark-foundation-6.48.2.tgz"
dependencies:
"@apollo/client": "npm:^3.8.6"
"@graphql-codegen/cli": "npm:^5.0.0"
@@ -6479,7 +6479,7 @@ __metadata:
"@graphql-codegen/typescript-react-apollo": "npm:^4.1.0"
"@reduxjs/toolkit": "npm:^1.9.7"
"@types/node-fetch": "npm:^2.6.9"
- "@walmart/allspark-utils": "npm:^6.10.1"
+ "@walmart/allspark-utils": "npm:^6.10.2"
axios: "npm:~1.6.0"
axios-cache-interceptor: "npm:^1.3.2"
crypto-js: "npm:~4.2.0"
@@ -6512,6 +6512,8 @@ __metadata:
"@walmart/react-native-shared-navigation": ">=6.3"
"@walmart/react-native-sumo-sdk": ^2.7.0
"@walmart/redux-store": ">=6.3"
+ expo: ">=52"
+ expo-image: ">=2"
react: "*"
react-native: "*"
react-native-gesture-handler: 2.x
@@ -6537,7 +6539,7 @@ __metadata:
optional: true
bin:
allspark-generate-graphql: ./cli/generate.js
- checksum: 10c0/30df90141ef775358413c1c5938e768591517a9abbf6c29bc2bbe91911caa8e5e6ed4acd29f8298f20fb259952b7e7c236500a7023b33cd40a44f537b29ad11a
+ checksum: 10c0/f9b17b8550790e2f6a195e50d56aee1d391080d155ef263fb141dc6416bcb0cac58887622e2dac6143c4e4753c3e6eff0e283c5d7560849ecca3548f6f6a960d
languageName: node
linkType: hard
@@ -7588,7 +7590,7 @@ __metadata:
"@types/react-test-renderer": "npm:^18.0.7"
"@walmart/allspark-authentication": "npm:6.4.10"
"@walmart/allspark-cope-key-listener": "npm:0.0.18"
- "@walmart/allspark-foundation": "npm:6.47.0"
+ "@walmart/allspark-foundation": "npm:6.48.2"
"@walmart/allspark-foundation-hub": "npm:1.10.0"
"@walmart/allspark-graphql-client": "npm:~6.3.28"
"@walmart/allspark-http-client": "npm:~6.3.28"
| fix: side menu drawer not closing on pressing side key in xcover (#4523) | fix: side menu drawer not closing on pressing side key in xcover (#4523)
* fix: add drawer close on timeclock (#4520)
* fix: update sidekey drawer issue
* fix: update foundation package for close drawer fix |
756abe66b1cd8c28b6ab7ca674ec6e56356205f9 | --- packages/allspark-foundation-hub/CHANGELOG.md
@@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.11.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.10.9...@walmart/allspark-foundation-hub@1.11.0) (2025-08-11)
+
+### Features
+
+- **ui:** lint fix ([14ac9a4](https://gecgithub01.walmart.com/allspark/allspark/commit/14ac9a402a54feb6f2707b94df0f0e1791846ee5))
+- **ui:** moved state to redux for better data handling acoss tabs ([b32b6a9](https://gecgithub01.walmart.com/allspark/allspark/commit/b32b6a9f99ca72342f4584c142d34ce5a6df1b52))
+
## [1.10.9](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.10.8...@walmart/allspark-foundation-hub@1.10.9) (2025-08-07)
**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.10.9",
+ "version": "1.11.0",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-foundation-hub@1.11.0
|
04adb432a922b9b60e90a7511fc50c08e0e16ebf | --- packages/allspark-foundation/__tests__/HTTP/utils.test.ts
@@ -1,7 +1,6 @@
import { createFetchHeaders, createAxiosHeaders, getUrl, HeadersLike } from '../../src/HTTP/utils';
describe('Utility Functions', () => {
- describe('createFetchHeaders', () => {
it('should convert an axiosHeaders object to an array of headers', () => {
const axiosHeaders = { 'Content-Type': 'application/json', Authorization: 'Bearer token' };
const result = createFetchHeaders(axiosHeaders);
@@ -91,5 +90,4 @@ describe('Utility Functions', () => {
const result = getUrl(input);
expect(result).toBeUndefined();
});
- });
});
| code cleanup | code cleanup
|
4c992af94401952550f9290d070a68bc1967a194 | --- 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.19.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,7 +5817,7 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/checkout-mini-app@npm: 3.19.0":
+"@walmart/checkout-mini-app@npm:3.19.0":
version: 3.19.0
resolution: "@walmart/checkout-mini-app@npm:3.19.0"
dependencies:
@@ -7815,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.19.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"
| removed space in package version | removed space in package version
|
95195f31dbbacea37458c3d24dd5ad253d989f0d | --- package-lock.json
@@ -4166,9 +4166,9 @@
"integrity": "sha512-QCq3JOlevxQpSY2QdNgG2lpy+eVCpicsvqmNI96xvgWgXqHnU2G5tmlzO/87gyPsmG0UE/kDCNaA6oW7fXOXJA=="
},
"@walmart/ask-sam-mini-app": {
- "version": "0.40.10",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.40.10.tgz",
- "integrity": "sha512-x3jlsVQomtirVrJJQBXZChlwraegLmIioIfkf6I7WLONl3cPD+xDzCD3aDQywZa6XhLPVA2d2/1xzwtedLYEyw==",
+ "version": "0.40.11",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.40.11.tgz",
+ "integrity": "sha512-dltpqsFmVKeAmqLcXZY41vyUrMdLuFL1ShTGGDvB4m3J+capvh16GcebaOvueuz/DENlrP3NqGB2G2nGnzd9Gg==",
"requires": {
"apisauce": "^1.1.2",
"axios-cache-adapter": "^2.7.3",
--- package.json
@@ -74,7 +74,7 @@
"@walmart/allspark-home-mini-app": "0.5.28",
"@walmart/allspark-me-mini-app": "0.31.9",
"@walmart/allspark-neon-core": "0.1.26",
- "@walmart/ask-sam-mini-app": "0.40.10",
+ "@walmart/ask-sam-mini-app": "0.40.11",
"@walmart/config-components": "1.0.35",
"@walmart/counts-component-miniapp": "0.0.34",
"@walmart/exception-mini-app": "0.40.2",
| Bumping ask sam | Bumping ask sam
|
32cd6a85bd5f66e598a216e38ef35a180c11435c | --- package-lock.json
@@ -5497,9 +5497,9 @@
"integrity": "sha512-vGHNXjipnOEdJaASi+EQjTr0YeBNJ2/8Az1pRWzi72gPKh3LfBWidMwrN7CzOCNNuXirVuRVP9zyfTscyQN6pw=="
},
"@walmart/emergency-mini-app": {
- "version": "1.3.0",
- "resolved": "https://npme.walmart.com/@walmart/emergency-mini-app/-/emergency-mini-app-1.3.0.tgz",
- "integrity": "sha512-lFcwxK3rGl6J3XuXpMipxReGNnMbfONFmPoFHPhh8mjo7mlVHZ/9xZZvB9v1fyptRlv07JCcYz/UpzJpMT7VHA==",
+ "version": "1.4.0",
+ "resolved": "https://npme.walmart.com/@walmart/emergency-mini-app/-/emergency-mini-app-1.4.0.tgz",
+ "integrity": "sha512-QCZcTpW6MIYt5QCNYWul2k4wNTQxpUpleeCWPNNYDHznp4k0fJqi8ZT+c5aV3DtkvyAWOk5LG/KY/N5zKX6jbQ==",
"requires": {
"@walmart/core-widget-registry": "^0.6.6"
},
--- package.json
@@ -86,7 +86,7 @@
"@walmart/core-utils": "~1.0.10",
"@walmart/core-widget-registry": "0.5.7",
"@walmart/counts-component-miniapp": "0.0.39",
- "@walmart/emergency-mini-app": "1.3.0",
+ "@walmart/emergency-mini-app": "1.4.0",
"@walmart/exception-mini-app": "0.43.1",
"@walmart/facilities-management-miniapp": "0.3.26",
"@walmart/feedback-all-spark-miniapp": "0.8.0",
| update emrgency to use plugin datasaver bypass for inbox | update emrgency to use plugin datasaver bypass for inbox
|
bc6340e07a8db4a85eba12bc4eee6dc808be68cc | --- docs/CHANGELOG.md
@@ -1,3 +1,10 @@
+# [2.30.0](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/compare/v2.29.0...v2.30.0) (2025-04-30)
+
+
+### Features
+
+* SMDV-9999 update package ([3e47e69](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/3e47e69d3331b7c53bc94f62b16eeabd1d9fbf96))
+
# [2.29.0](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/compare/v2.28.0...v2.29.0) (2025-04-30)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/wmconnect-mini-app",
- "version": "2.29.0",
+ "version": "2.30.0",
"main": "dist/index.js",
"files": [
"dist/"
| chore(release): 2.30.0 [skip ci] | chore(release): 2.30.0 [skip ci]
# [2.30.0](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/compare/v2.29.0...v2.30.0) (2025-04-30)
### Features
* SMDV-9999 update package ([3e47e69](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/3e47e69d3331b7c53bc94f62b16eeabd1d9fbf96))
|
d5a55268849a54529a9cfb0ba034b910bbb63889 | --- core/src/navigation/USHallway/AssociateHallwayNav/MainStackNav.tsx
@@ -33,8 +33,8 @@ import {ItemInfoMiniApp} from '@walmart/iteminfo-mini-app';
import {FieldLearningApp} from '@walmart/learning-mini-app';
import ManagerApprovalsFeature from '@walmart/manager-approvals-miniapp';
import MetricsFeature from '@walmart/metrics-mini-app';
-import {ModFlexMiniApp} from '@walmart/mod-flex-mini-app';
import GlobalVpiMiniApp from '@walmart/global-vpi-mini-app';
+import {ModFlexMiniApp} from '@walmart/mod-flex-mini-app';
import {AuthScreen as MoneyAuthScreen} from '@walmart/money-auth-shared-components';
import {PayStubMiniApp} from '@walmart/pay-stub-miniapp';
import {PaymentSelectionMiniApp} from '@walmart/payrollsolution_miniapp';
| chore: restart git checks | chore: restart git checks
|
976c28cc19cde14e04f496ec56a2f38f1d36f37d | --- package-lock.json
@@ -85,7 +85,7 @@
"@walmart/schedule-mini-app": "0.63.0",
"@walmart/shelfavailability-mini-app": "1.5.18",
"@walmart/store-feature-orders": "1.24.0",
- "@walmart/taskit-mini-app": "2.52.3",
+ "@walmart/taskit-mini-app": "2.53.0",
"@walmart/texting-mini-app": "2.1.3",
"@walmart/time-clock-mini-app": "2.175.2",
"@walmart/topstock-mini-app": "1.4.8",
@@ -9765,9 +9765,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "2.52.3",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.52.3.tgz",
- "integrity": "sha512-ceQHstYqlVdIUq4Y1d2CxsRqwMoT2/pQPAzHxespw7yx0e1CvO32uO3xy3Q0SHv2gR2aQx1JlRNIm3/+IAV8rA==",
+ "version": "2.53.0",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.53.0.tgz",
+ "integrity": "sha512-hcwaEBiiwD+n4qXud3rCX9esin9VIzHedywNHHQyGjA7PkBxct+02fWGaUUWvRJ75JOlMznI37Xk+CgQ+OmluA==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
@@ -33572,9 +33572,9 @@
"integrity": "sha512-6opFXMOFCSdQMSgscCRSoOYwh9BLbm3IQZ1bCjDW7YFLZU+UNwl41u1jCOrygr3UAuUsJFK7Bi7CAqkZQ7Zd2w=="
},
"@walmart/taskit-mini-app": {
- "version": "2.52.3",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.52.3.tgz",
- "integrity": "sha512-ceQHstYqlVdIUq4Y1d2CxsRqwMoT2/pQPAzHxespw7yx0e1CvO32uO3xy3Q0SHv2gR2aQx1JlRNIm3/+IAV8rA=="
+ "version": "2.53.0",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.53.0.tgz",
+ "integrity": "sha512-hcwaEBiiwD+n4qXud3rCX9esin9VIzHedywNHHQyGjA7PkBxct+02fWGaUUWvRJ75JOlMznI37Xk+CgQ+OmluA=="
},
"@walmart/tcnumber": {
"version": "2.3.3",
--- package.json
@@ -126,7 +126,7 @@
"@walmart/schedule-mini-app": "0.63.0",
"@walmart/shelfavailability-mini-app": "1.5.18",
"@walmart/store-feature-orders": "1.24.0",
- "@walmart/taskit-mini-app": "2.52.3",
+ "@walmart/taskit-mini-app": "2.53.0",
"@walmart/texting-mini-app": "2.1.3",
"@walmart/time-clock-mini-app": "2.175.2",
"@walmart/topstock-mini-app": "1.4.8",
| updated notes vesion | updated notes vesion
|
b82e16894ef49d60fbeeff67238d0e96c51120ed | --- targets/US/package.json
@@ -145,7 +145,7 @@
"@walmart/schedule-mini-app": "0.118.0",
"@walmart/shelfavailability-mini-app": "1.5.33",
"@walmart/sidekick-mini-app": "4.67.15",
- "@walmart/store-feature-orders": "1.26.12",
+ "@walmart/store-feature-orders": "1.27.1",
"@walmart/taskit-mini-app": "4.17.17",
"@walmart/time-clock-mini-app": "2.419.0",
"@walmart/topstock-mini-app": "1.15.20",
@@ -356,4 +356,4 @@
]
}
}
-}
\ No newline at end of file
+}
--- yarn.lock
@@ -7073,7 +7073,7 @@ __metadata:
"@walmart/schedule-mini-app": "npm:0.118.0"
"@walmart/shelfavailability-mini-app": "npm:1.5.33"
"@walmart/sidekick-mini-app": "npm:4.67.15"
- "@walmart/store-feature-orders": "npm:1.26.12"
+ "@walmart/store-feature-orders": "npm:1.27.1"
"@walmart/taskit-mini-app": "npm:4.17.17"
"@walmart/time-clock-mini-app": "npm:2.419.0"
"@walmart/topstock-mini-app": "npm:1.15.20"
@@ -7965,9 +7965,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/store-feature-orders@npm:1.26.12":
- version: 1.26.12
- resolution: "@walmart/store-feature-orders@npm:1.26.12"
+"@walmart/store-feature-orders@npm:1.27.1":
+ version: 1.27.1
+ resolution: "@walmart/store-feature-orders@npm:1.27.1"
peerDependencies:
"@react-navigation/native": ^6.0.0
"@react-navigation/stack": ^6.1.0
@@ -7976,7 +7976,7 @@ __metadata:
"@walmart/react-native-env": 0.2.0
react: ^18.2.0
react-native: ^0.73.7
- checksum: 10c0/077aac6be3ffaaa41a10cf413d1f7568a4358fc5d2e92f0e4d918de81e862be5b214b0f049eb08666321d0962fddc44fd37199725336683433a5399698044866
+ checksum: 10c0/e87feae039b262d37ba745ba5e211b3cf4eaf9e484f7d69aacc8be716ace4c6d2df31ae523282e81a08c8b9b70dd70a72f3133821789a649264278c815651283
languageName: node
linkType: hard
| drop24 version change | drop24 version change
|
064290fab74d6374d785daf56976c3cbdd6c0e10 | --- package-lock.json
@@ -74,7 +74,7 @@
"@walmart/onewalmart-miniapp": "1.0.16",
"@walmart/pay-stub-miniapp": "0.15.2",
"@walmart/payrollsolution_miniapp": "0.135.3",
- "@walmart/price-changes-mini-app": "1.10.4",
+ "@walmart/price-changes-mini-app": "1.10.6",
"@walmart/profile-feature-app": "1.138.2",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
@@ -9527,9 +9527,9 @@
}
},
"node_modules/@walmart/price-changes-mini-app": {
- "version": "1.10.4",
- "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.10.4.tgz",
- "integrity": "sha512-FG3uf3QnDa/TbpWzouhbqXqVieAd3yMkwFmU2QjKnEO0AE5fhdrVKHymL29uaHbPcnb1G3UHPlUePheADvY1dw==",
+ "version": "1.10.6",
+ "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.10.6.tgz",
+ "integrity": "sha512-PQaPHNhUWpkJbxaKTOcpHubh81kpkuLcGshlN1nhcu+Vhe762u3Pt2KB6m4cHaoyzpDrLxNZX8ymYHlsiHAz2A==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -33554,9 +33554,9 @@
}
},
"@walmart/price-changes-mini-app": {
- "version": "1.10.4",
- "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.10.4.tgz",
- "integrity": "sha512-FG3uf3QnDa/TbpWzouhbqXqVieAd3yMkwFmU2QjKnEO0AE5fhdrVKHymL29uaHbPcnb1G3UHPlUePheADvY1dw=="
+ "version": "1.10.6",
+ "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.10.6.tgz",
+ "integrity": "sha512-PQaPHNhUWpkJbxaKTOcpHubh81kpkuLcGshlN1nhcu+Vhe762u3Pt2KB6m4cHaoyzpDrLxNZX8ymYHlsiHAz2A=="
},
"@walmart/profile-feature-app": {
"version": "1.138.2",
--- package.json
@@ -115,7 +115,7 @@
"@walmart/onewalmart-miniapp": "1.0.16",
"@walmart/pay-stub-miniapp": "0.15.2",
"@walmart/payrollsolution_miniapp": "0.135.3",
- "@walmart/price-changes-mini-app": "1.10.4",
+ "@walmart/price-changes-mini-app": "1.10.6",
"@walmart/profile-feature-app": "1.138.2",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
| Updating PC version | Updating PC version
|
bcfb4f3c93f2476658378c762769b3221353c133 | --- __tests__/components/ActionButton.test.tsx
@@ -3,12 +3,6 @@ import React from 'react';
import {ActionButton} from '../../src/components/ActionButton';
import {ActionButtonProps} from '../../src/components/ActionButton/types';
-jest.mock('react-redux', () => ({
- ...jest.requireActual('react-redux'),
- useSelector: jest.fn(),
- useDispatch: jest.fn(),
-}));
-
describe('ActionButton', () => {
it('renders ActionButton', () => {
const props = {} as ActionButtonProps;
| removed unused mock | removed unused mock
|
72ce53fb3908e3127a91ecf63bea912441458c92 | --- targets/US/package.json
@@ -141,7 +141,7 @@
"@walmart/redux-store": "~6.3.28",
"@walmart/returns-mini-app": "4.15.0",
"@walmart/rfid-scan-mini-app": "2.7.1",
- "@walmart/rn-receiving-mini-app": "2.4.74",
+ "@walmart/rn-receiving-mini-app": "2.4.75",
"@walmart/roster-mini-app": "2.9.0",
"@walmart/schedule-mini-app": "1.13.0",
"@walmart/shelfavailability-mini-app": "1.5.41",
--- yarn.lock
@@ -6495,9 +6495,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/atlas-rn-ui-components@npm:1.1.51":
- version: 1.1.51
- resolution: "@walmart/atlas-rn-ui-components@npm:1.1.51"
+"@walmart/atlas-rn-ui-components@npm:1.1.53":
+ version: 1.1.53
+ resolution: "@walmart/atlas-rn-ui-components@npm:1.1.53"
peerDependencies:
"@walmart/gtp-shared-components": ">=2.2.3-rc.1"
i18next: ">=23.12.2"
@@ -6509,7 +6509,7 @@ __metadata:
bin:
installFonts: scripts/installFonts
runCodemods: scripts/runCodemods
- checksum: 10c0/f6f90d2566e83fbbafc7148c914fde47ef0966de4f8598b2a63febb919489ce841538d1445bd7f29aaf9f9681a8b5a4521039b03ea9a6c96238629fd7ba89307
+ checksum: 10c0/ef4b983b49c9099d6755c670eda51256281895231056ae80a504d7348737783745829a3896d175572bac2a0b6dfc3892c6e2ca4047a35a0fefbb088e55bf586b
languageName: node
linkType: hard
@@ -7575,7 +7575,7 @@ __metadata:
"@walmart/redux-store": "npm:~6.3.28"
"@walmart/returns-mini-app": "npm:4.15.0"
"@walmart/rfid-scan-mini-app": "npm:2.7.1"
- "@walmart/rn-receiving-mini-app": "npm:2.4.74"
+ "@walmart/rn-receiving-mini-app": "npm:2.4.75"
"@walmart/roster-mini-app": "npm:2.9.0"
"@walmart/schedule-mini-app": "npm:1.13.0"
"@walmart/shelfavailability-mini-app": "npm:1.5.41"
@@ -8295,11 +8295,11 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/rn-receiving-mini-app@npm:2.4.74":
- version: 2.4.74
- resolution: "@walmart/rn-receiving-mini-app@npm:2.4.74"
+"@walmart/rn-receiving-mini-app@npm:2.4.75":
+ version: 2.4.75
+ resolution: "@walmart/rn-receiving-mini-app@npm:2.4.75"
dependencies:
- "@walmart/atlas-rn-ui-components": "npm:1.1.51"
+ "@walmart/atlas-rn-ui-components": "npm:1.1.53"
"@walmart/loadquality-mini-app": "npm:1.0.196"
peerDependencies:
"@react-native-clipboard/clipboard": ">=1.14.0"
@@ -8326,7 +8326,7 @@ __metadata:
react-native-svg: ">=14.1.0"
react-native-svg-transformer: ">=1.3.0"
react-native-vision-camera: "*"
- checksum: 10c0/54299a6aa8f6cfd7df8b0f989911ac5a5a2c580d3e7ad4aa76abd21d8ac891c2a6798ab749b1a9d1aeccc1b77daa350a69b46d33cd4aa74e2c8adad5415ad250
+ checksum: 10c0/c382814c61cb68f30a1f1f9cd0a6fc46b7966e73414cef909de315f66999660f9343b3566e4cfaebd6ca0459cbe81f269302c2901b4279ae582613130411756b
languageName: node
linkType: hard
| Receiving version 2.4.75 | Receiving version 2.4.75
|
bfc4b7d363f5227835767f897afb3acd9148d82a | --- src/components/StatusChip.tsx
@@ -13,10 +13,10 @@ import {
import {useTranslation} from 'react-i18next';
import {ROSTER_I18N_NAMESPACE} from '../translations';
import {TFunction} from 'i18next';
-import { AssociateRosterItem } from "./Roster/types";
+import {AssociateRosterItem} from './Roster/types';
const deriveAssociateStatus = (
- associate: Associate,
+ associate: AssociateRosterItem,
t: TFunction<'texting'[]>,
): {text: string; color: TagColor} | null => {
if (associateIsAbsent(associate)) {
| refactor | refactor
|
73900d12ab324afcf92c86f829dcb9859fda0641 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.15.1-alpha.6",
+ "version": "1.15.1-alpha.7",
"main": "dist/index.js",
"files": [
"dist"
@@ -101,7 +101,7 @@
"@walmart/redux-store": "3.7.0",
"@walmart/roster-mini-app": "2.12.1-alpha.5",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "2.8.0-alpha.7",
+ "@walmart/wmconnect-mini-app": "2.8.0-alpha.8",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
| Update my team mini app version | Update my team mini app version
|
1d34e60b05b6becccb8ac091c38589cb0e8d85c6 | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Components/ModalHeader.tsx
@@ -19,8 +19,12 @@ const ModalHeader = ({
{title}
</Body>
- <IconButton onPress={closeModal} testID='closeBtn'>
- <CloseIcon size='medium' UNSAFE_style={styles.closeIcon} />
+ <IconButton
+ onPress={closeModal}
+ testID='closeBtn'
+ UNSAFE_style={styles.closeIcon}
+ >
+ <CloseIcon size='medium' />
</IconButton>
</View>
);
@@ -38,6 +42,14 @@ const styles = StyleSheet.create({
alignItems: 'center',
backgroundColor: colors.white,
},
- title: { flex: 1, textAlign: 'center', fontSize: 18, marginBottom: 10 },
- closeIcon: { marginLeft: 32, marginBottom: 10 },
+ title: {
+ flex: 1,
+ textAlign: 'center',
+ fontSize: 18,
+ marginBottom: 10,
+ },
+ closeIcon: {
+ paddingLeft: 16,
+ marginBottom: 10,
+ },
});
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Screens/EditSavedTeamModal/styles.ts
@@ -36,7 +36,7 @@ export const modalStyles = StyleSheet.create({
width: Dimensions.get('screen').width,
borderTopRightRadius: 16,
borderTopLeftRadius: 16,
- paddingHorizontal: 20,
+ paddingHorizontal: 8,
height: Dimensions.get('screen').height * 0.9,
paddingBottom: 50,
},
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Screens/UpdateTeamsModal/styles.ts
@@ -13,7 +13,7 @@ export const styles = StyleSheet.create({
borderTopLeftRadius: 16,
height,
paddingHorizontal: 8,
- // marginBottom: LAYOUT_MARGIN * 5,
+ marginBottom: LAYOUT_MARGIN * 6,
},
filterContainer: {
paddingHorizontal: LAYOUT_MARGIN,
| Adding update modal updates | Adding update modal updates
|
3946e687a9f6803dc7613e66575786fa6009614b | --- docs/docs/getting-started.md
@@ -53,7 +53,7 @@ For creating a new feature app, see the [feature app template](https://gecgithub
## Getting Started with Allspark Foundation
-Allspark Foundation is currently being used in [allspark-core](https://gecgithub01.walmart.com/allspark/allspark-core) and several mini apps. This site documents the components of Allspark Foundation, including its container, clients, services, and other components. It also includes the [migration guide]((./allspark%20foundation/migration%20guides/foundation-migration.md)) for migrating feaure apps from `core-services` to `allspark-foundation`.
+Allspark Foundation is currently being used in [allspark-core](https://gecgithub01.walmart.com/allspark/allspark-core) and several mini apps. This site documents the components of Allspark Foundation, including its container, clients, services, and other components. It also includes the [migration guide](./allspark%20foundation/migration%20guides/foundation-migration.md) for migrating feaure apps from `core-services` to `allspark-foundation`.
### Pre-requisites for Allspark Foundation
See the [Introduction](./allspark%20foundation/foundation-intro.md) page for Foundation.
--- docs/docs/introduction.md
@@ -12,7 +12,7 @@ Repository: [allspark-core](https://gecgithub01.walmart.com/allspark/allspark-co
## Allspark Foundation
The Allspark Foundation was designed to define and enforce stricter standards for app creation, define implementations for static and dynamic common functionality, improve standalone mini app testing, be backwards compatible, and define standards for sharing capabilites between mini apps without direct dependencies. See the [Foundation ADR](https://confluence.walmart.com/display/ALLSPARK/Allspark+-+Foundation) for more details on its design.
-It is meant to eventually replace several [deprecated libraries](./components/allspark%20foundation/core/foundation-whats-changing.md). See the [migration docs](./components/allspark%20foundation/migration%20guides/foundation-migration.md) for further details on migrating feature apps to Foundation.
+It is meant to eventually replace several [deprecated libraries](./allspark%20foundation/core/foundation-whats-changing.md). See the [migration docs](./allspark%20foundation/migration%20guides/foundation-migration.md) for further details on migrating feature apps to Foundation.
Repository: [allspark](https://gecgithub01.walmart.com/allspark/allspark)
@@ -22,8 +22,8 @@ Slack: [#allspark-engineering](https://walmart.slack.com/archives/C018T8RUHU2)
Office Hours: Tuesdays/Thursdays 9:30-10:30AM CST
Outlook Distribution Lists:
-- [Allspark Core team](me@wcore@email.wal-mart.com)
-- [Store Systems Mobile Platform (SSMP) team](StoreMobilePlatform@email.wal-mart.com)
+- Allspark Core team: me@wcore@email.wal-mart.com
+- Store Systems Mobile Platform (SSMP) team: StoreMobilePlatform@email.wal-mart.com
JIRA Board: [ALLSPARK](https://jira.walmart.com/secure/RapidBoard.jspa?rapidView=31349&projectKey=ALLSPARK&view=planning&selectedIssue=ALLSPARK-2&epics=visible&issueLimit=100)
| docs: update links | docs: update links
|
ffc351dcdab176bcc92ae43edd78e6aec7927017 | --- src/components/SearchHeader.tsx
@@ -14,7 +14,7 @@ import {
TouchableOpacity,
View,
} from 'react-native';
-import {Header} from '@walmart/ui-components';
+import {Header} from '@walmart/allspark-foundation/Navigation';
import {
Icons,
IconButton,
@@ -117,7 +117,7 @@ export const SearchHeaderBase = (props: StackHeaderProps) => {
};
export const SearchHeader = (props: StackHeaderProps) => (
- <Header originalHeaderType={SearchHeaderBase} {...props} />
+ <Header BaseComponent={SearchHeaderBase} {...props} />
);
interface SearchIconProps {
| feat(ui): updated search header to use header from foundation | feat(ui): updated search header to use header from foundation
|
b0b5b4b523a0c61108e27deed0a88c7116216a29 | --- package-lock.json
@@ -79,7 +79,7 @@
"@walmart/returns-mini-app": "0.6.0",
"@walmart/schedule-mini-app": "0.29.0",
"@walmart/settings-mini-app": "1.11.0",
- "@walmart/shelfavailability-mini-app": "1.4.0",
+ "@walmart/shelfavailability-mini-app": "1.5.7",
"@walmart/taskit-mini-app": "0.47.0",
"@walmart/time-clock-mini-app": "0.30.0",
"@walmart/ui-components": "1.6.0",
@@ -5962,62 +5962,62 @@
}
},
"node_modules/@walmart/shelfavailability-mini-app": {
- "version": "1.4.0",
- "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-1.4.0.tgz",
- "integrity": "sha512-RgedUC6dq2H3sFo8TY6tC71l4A4z3CIF6vIwtqM/D6CrCfQvkNZUX+lLUpWmQBfgXnDsAagumiGJmk9akqDDQA==",
+ "version": "1.5.7",
+ "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-1.5.7.tgz",
+ "integrity": "sha512-vyEtklG9SpNSOHW+5FPV9myVz5/oXhHMk8TOJ5mIKR6rzisPXdueNSO87A9K2CEOt+uKQ86JcSqn/Iv8v+Musw==",
"peerDependencies": {
"@react-native-community/async-storage": "^1.12.1",
"@react-native-community/eslint-config": "^2.0.0",
"@react-native-community/masked-view": "^0.1.10",
"@react-native-community/netinfo": "9.3.6",
- "@react-native-firebase/analytics": "^14.11.0",
- "@react-native-firebase/app": "^14.11.0",
- "@react-native-firebase/crashlytics": "^14.11.0",
- "@react-native-firebase/database": "^14.11.0",
- "@react-native-firebase/firestore": "^14.11.0",
- "@react-native-firebase/perf": "^14.11.0",
+ "@react-native-firebase/analytics": "15.1.1",
+ "@react-native-firebase/app": "15.1.1",
+ "@react-native-firebase/crashlytics": "15.1.1",
+ "@react-native-firebase/database": "15.1.1",
+ "@react-native-firebase/firestore": "15.1.1",
+ "@react-native-firebase/perf": "15.1.1",
"@react-navigation/native": "^6.0.0",
"@react-navigation/stack": "^6.1.0",
- "@walmart/config-components": "^3.0.2",
- "@walmart/functional-components": "^1.0.34",
- "@walmart/gtp-shared-components": "^1.8.6",
- "@walmart/impersonation-mini-app": "^1.1.0",
+ "@walmart/config-components": "4.0.1",
+ "@walmart/functional-components": "2.0.6",
+ "@walmart/gtp-shared-components": "^2.0.0-rc.1",
+ "@walmart/impersonation-mini-app": "1.4.0",
"@walmart/react-native-env": "^0.2.0",
- "@walmart/react-native-logger": "^1.29.0",
+ "@walmart/react-native-logger": "1.31.0-rc.1",
"@walmart/react-native-scanner-3.0": "0.1.27",
- "@walmart/react-native-shared-navigation": "^0.4.0",
- "@walmart/react-native-sumo-sdk": "^2.2.1",
- "@walmart/redux-store": "^1.1.26",
- "@walmart/ui-components": "1.4.0-beta.6",
+ "@walmart/react-native-shared-navigation": "1.0.2",
+ "@walmart/react-native-sumo-sdk": "2.4.0-rc.2",
+ "@walmart/redux-store": "3.1.3",
+ "@walmart/ui-components": "1.6.0",
"apisauce": "^2.1.1",
"axios-cache-adapter": "2.7.3",
- "i18next": "^19.7.0",
+ "i18next": "^22.0.1",
"jwt-decode": "^3.1.2",
"react": "^18.2.0",
- "react-i18next": "^11.7.3",
+ "react-i18next": "^12.0.0",
"react-native": "0.70.5",
"react-native-check-app-install": "0.0.5",
"react-native-connect-sso-redux": "^1.1.1",
- "react-native-device-info": "^5.6.5",
- "react-native-gesture-handler": "^1.7.0",
- "react-native-hyperlink": "0.0.19",
- "react-native-modal": "^11.5.6",
- "react-native-reanimated": "^1.10.2",
- "react-native-safe-area-context": "^3.3.0",
- "react-native-screens": "^3.10.0",
+ "react-native-device-info": "^10.3.0",
+ "react-native-gesture-handler": "^2.8.0",
+ "react-native-hyperlink": "0.0.22",
+ "react-native-modal": "^13.0.1",
+ "react-native-reanimated": "2.12.0",
+ "react-native-safe-area-context": "4.3.1",
+ "react-native-screens": "~3.15.0",
"react-native-ssmp-sso-allspark": "1.0.9",
"react-native-uuid": "^2.0.1",
- "react-native-vector-icons": "^7.0.0",
+ "react-native-vector-icons": "^9.2.0",
"react-native-wm-network": "^0.2.0",
"react-native-wm-notification": "^2.0.1",
"react-native-wm-telemetry": "^0.3.0",
- "react-redux": "^7.2.1",
- "redux": "^4.0.5",
+ "react-redux": "^8.0.4",
+ "redux": "^4.1.2",
"redux-devtools-extension": "^2.13.8",
- "redux-saga": "^1.1.3",
- "redux-thunk": "^2.3.0",
+ "redux-saga": "^1.2.0",
+ "redux-thunk": "^2.4.0",
"reduxsauce": "^1.2.0",
- "reselect": "^4.0.0",
+ "reselect": "^4.1.0",
"seamless-immutable": "^7.1.4",
"xdate": "^0.8.2"
}
@@ -25193,9 +25193,9 @@
"integrity": "sha512-a9jtaa6Eo6W743723gsnYOAv2HEmIkSsS1whGlyp0muKexTXAiMeeW+HYELwN0czdnXhaevR2C90a+PHLztrxA=="
},
"@walmart/shelfavailability-mini-app": {
- "version": "1.4.0",
- "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-1.4.0.tgz",
- "integrity": "sha512-RgedUC6dq2H3sFo8TY6tC71l4A4z3CIF6vIwtqM/D6CrCfQvkNZUX+lLUpWmQBfgXnDsAagumiGJmk9akqDDQA=="
+ "version": "1.5.7",
+ "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-1.5.7.tgz",
+ "integrity": "sha512-vyEtklG9SpNSOHW+5FPV9myVz5/oXhHMk8TOJ5mIKR6rzisPXdueNSO87A9K2CEOt+uKQ86JcSqn/Iv8v+Musw=="
},
"@walmart/taskit-mini-app": {
"version": "0.47.0",
--- package.json
@@ -121,7 +121,7 @@
"@walmart/returns-mini-app": "0.6.0",
"@walmart/schedule-mini-app": "0.29.0",
"@walmart/settings-mini-app": "1.11.0",
- "@walmart/shelfavailability-mini-app": "1.4.0",
+ "@walmart/shelfavailability-mini-app": "1.5.7",
"@walmart/taskit-mini-app": "0.47.0",
"@walmart/time-clock-mini-app": "0.30.0",
"@walmart/ui-components": "1.6.0",
| SA-314, SA-315, SA-316, SA-317 update SA to 1.5.7 | SA-314, SA-315, SA-316, SA-317 update SA to 1.5.7
|
d220764cb7fa01784af13e2a336a34f7bd693880 | --- packages/allspark-foundation/__tests__/Components/TeamOnboarding/ErrorScreen.test.tsx
@@ -0,0 +1,49 @@
+import React from 'react';
+import { fireEvent, render } from '../../utils';
+import ErrorScreen from '../../../src/Components/Onboarding/TeamSelection/Component/ErrorScreen';
+
+describe('ErrorScreen Component Tests', () => {
+ const defaultProps = {
+ errorTitle: 'Something went wrong',
+ errorMessage: 'Refresh this page to try again.',
+ buttonText: 'Refresh page',
+ handleButtonPress: () => {},
+ };
+ test('renders error screen component', () => {
+ const { getByText, getByRole } = render(<ErrorScreen {...defaultProps} />);
+ const errorTitle = getByText('Something went wrong');
+ expect(errorTitle).toBeDefined();
+ const errorMessage = getByText('Refresh this page to try again.');
+ expect(errorMessage).toBeDefined();
+ const actionBtn = getByRole('button');
+ expect(actionBtn).toBeDefined();
+ });
+
+ test('renders error screen component with correct styles', () => {
+ const { getByTestId } = render(<ErrorScreen {...defaultProps} />);
+ const errorContainer = getByTestId('error-screen-container');
+ expect(errorContainer.props.style).toMatchObject({
+ paddingBottom: 40,
+ paddingTop: 64,
+ backgroundColor: '#fff',
+ width: '100%',
+ height: '100%',
+ });
+ });
+
+ test('invokes handler prop on button press', () => {
+ const handlerMock = jest.fn();
+ const { getByRole } = render(
+ <ErrorScreen
+ errorTitle={'Something went wrong'}
+ errorMessage={'Refresh this page to try again.'}
+ buttonText={'Refresh page'}
+ handleButtonPress={handlerMock}
+ />
+ );
+ const actionBtn = getByRole('button');
+ expect(actionBtn).toBeDefined();
+ fireEvent.press(actionBtn);
+ expect(handlerMock).toHaveBeenCalledTimes(1);
+ });
+});
--- packages/allspark-foundation/src/Components/Onboarding/TeamSelection/Component/ErrorScreen.tsx
@@ -0,0 +1,44 @@
+import { Button, ErrorMessage } from '@walmart/gtp-shared-components/dist';
+import React from 'react';
+import { errorScreenStyles as styles } from '../styles';
+import { Image, View } from 'react-native';
+
+export interface ErrorScreenProps {
+ errorTitle: string;
+ errorMessage: string;
+ buttonText: string;
+ handleButtonPress: () => void;
+}
+
+export const ErrorScreen = ({
+ errorTitle,
+ errorMessage,
+ buttonText,
+ handleButtonPress,
+}: ErrorScreenProps) => {
+ return (
+ <View testID='error-screen-container' style={styles.container}>
+ <ErrorMessage
+ actions={
+ <Button size='medium' variant='primary' onPress={handleButtonPress}>
+ {buttonText}
+ </Button>
+ }
+ media={
+ <Image
+ source={{
+ uri: 'https://i5-me.walmartimages.com/images/metrics/magnifying-glass-error-icon-fb9309e548.png',
+ }}
+ height={162}
+ width={162}
+ />
+ }
+ title={errorTitle}
+ >
+ {errorMessage}
+ </ErrorMessage>
+ </View>
+ );
+};
+
+export default ErrorScreen;
--- packages/allspark-foundation/src/Components/Onboarding/TeamSelection/Component/TeamSelectionError.tsx
@@ -1,30 +0,0 @@
-import { Button, ErrorMessage } from '@walmart/gtp-shared-components/dist';
-import React from 'react';
-import { teamSelectionErrorStyles as styles } from '../styles';
-import { Image, View } from 'react-native';
-
-export const TeamSelectionError = () => {
- return (
- <View style={styles.container}>
- <ErrorMessage
- actions={
- <Button size='medium' variant='primary' onPress={() => {}}>
- Refresh Page
- </Button>
- }
- media={
- <Image
- source={{
- uri: 'https://i5-me.walmartimages.com/images/metrics/magnifying-glass-error-icon-fb9309e548.png',
- }}
- height={162}
- width={162}
- />
- }
- title='Something went wrong'
- >
- Refresh this page to try again.
- </ErrorMessage>
- </View>
- );
-};
--- packages/allspark-foundation/src/Components/Onboarding/TeamSelection/styles.ts
@@ -151,7 +151,7 @@ export const teamSelectionLoaderStyles = StyleSheet.create({
},
});
-export const teamSelectionErrorStyles = StyleSheet.create({
+export const errorScreenStyles = StyleSheet.create({
container: {
paddingBottom: 40,
paddingTop: 64,
| feat(ui): generic error screen | feat(ui): generic error screen
|
e8a53c9274a01954489cb441a018d552fcb53949 | --- package.json
@@ -101,7 +101,7 @@
"@walmart/backroom-mini-app": "1.17.9",
"@walmart/beneficiary-online-mini-app": "0.1.26",
"@walmart/beneficiary-online-shared-library": "1.2.7",
- "@walmart/calling-mini-app": "0.8.29",
+ "@walmart/calling-mini-app": "0.8.32",
"@walmart/candidate-authentication-lib": "0.0.12",
"@walmart/celebration-mini-app": "1.36.0",
"@walmart/checkout-mini-app": "4.20.44",
--- yarn.lock
@@ -7678,9 +7678,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/calling-mini-app@npm:0.8.29":
- version: 0.8.29
- resolution: "@walmart/calling-mini-app@npm:0.8.29::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcalling-mini-app%2F-%2F%40walmart%2Fcalling-mini-app-0.8.29.tgz"
+"@walmart/calling-mini-app@npm:0.8.32":
+ version: 0.8.32
+ resolution: "@walmart/calling-mini-app@npm:0.8.32::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcalling-mini-app%2F-%2F%40walmart%2Fcalling-mini-app-0.8.32.tgz"
peerDependencies:
"@react-native-community/datetimepicker": ">=5"
"@react-navigation/native": ">=6"
@@ -7726,7 +7726,7 @@ __metadata:
dependenciesMeta:
"@walmart/wmconnect-mini-app":
built: false
- checksum: 10c0/8bb4d910fd09dd12f4bdf5cd3b6d80bf80c1151dd613de2ccf11e65ca49ae0206ff58c6a592126e5c27506c513ab7869b3e8b59acaf83a0a661b95176c67762d
+ checksum: 10c0/b48189202a68a7d2a5fe6937cf85e442ea2c35810a3b56ca475f574a60a423dbe838a922350e78c37639d6aeef1ad8fd12d02af17f5739f682458c5730bdff53
languageName: node
linkType: hard
@@ -8486,7 +8486,7 @@ __metadata:
"@walmart/backroom-mini-app": "npm:1.17.9"
"@walmart/beneficiary-online-mini-app": "npm:0.1.26"
"@walmart/beneficiary-online-shared-library": "npm:1.2.7"
- "@walmart/calling-mini-app": "npm:0.8.29"
+ "@walmart/calling-mini-app": "npm:0.8.32"
"@walmart/candidate-authentication-lib": "npm:0.0.12"
"@walmart/celebration-mini-app": "npm:1.36.0"
"@walmart/checkout-mini-app": "npm:4.20.44"
| fix: calling dynamic module nav fix (#5222) | fix: calling dynamic module nav fix (#5222)
Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com> |
b1ab14c0002ce89a8f923bc1973a5a82bf3eff0b | --- src/navigation/AssociateHallwayNav/MainStackNav.tsx
@@ -270,18 +270,8 @@ export const MainStackNav = () => {
/>
<MainStack.Screen
- name='FacilitiesManagementStack.Landing'
+ name='FacilitiesManagementStack'
component={FacilitiesMaintainanceStack}
- initialParams={{
- routeName: 'FacilitiesManagementStack.Landing',
- }}
- />
- <MainStack.Screen
- name='FacilitiesManagementStack.ScheduledServices'
- component={FacilitiesMaintainanceStack}
- initialParams={{
- routeName: 'FacilitiesManagementStack.ScheduleServices',
- }}
/>
</MainStack.Group>
</MainStack.Navigator>
| Feedback comments resolution | Feedback comments resolution
|
6302ad6d77cb5bf0f661f154d29be12d6e3d8793 | --- targets/US/package.json
@@ -119,7 +119,7 @@
"@walmart/me-at-walmart-container": "workspace:^",
"@walmart/me-at-walmart-core": "workspace:^",
"@walmart/metrics-mini-app": "1.27.3",
- "@walmart/mod-flex-mini-app": "1.24.4",
+ "@walmart/mod-flex-mini-app": "1.24.5",
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "2.2.1",
"@walmart/myteam-mini-app": "1.12.0",
--- yarn.lock
@@ -7322,7 +7322,7 @@ __metadata:
"@walmart/me-at-walmart-container": "workspace:^"
"@walmart/me-at-walmart-core": "workspace:^"
"@walmart/metrics-mini-app": "npm:1.27.3"
- "@walmart/mod-flex-mini-app": "npm:1.24.4"
+ "@walmart/mod-flex-mini-app": "npm:1.24.5"
"@walmart/moment-walmart": "npm:1.0.4"
"@walmart/money-auth-shared-components": "npm:2.2.1"
"@walmart/myteam-mini-app": "npm:1.12.0"
@@ -7600,9 +7600,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/mod-flex-mini-app@npm:1.24.4":
- version: 1.24.4
- resolution: "@walmart/mod-flex-mini-app@npm:1.24.4"
+"@walmart/mod-flex-mini-app@npm:1.24.5":
+ version: 1.24.5
+ resolution: "@walmart/mod-flex-mini-app@npm:1.24.5"
peerDependencies:
"@react-navigation/drawer": ">=6"
"@react-navigation/material-top-tabs": ">=6"
@@ -7637,7 +7637,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
uuid: ^3.3.2
- checksum: 10c0/abe316b3ed020313999f0d96849442c6f165ac71163f0ab639ee4dad43d906c87d34316df2c10ff6da96c5f9c54871a19c856af265116889a93caacb8d396fba
+ checksum: 10c0/ddbfc0cd6dfdffb6b45789ba82f14ecbb4b7b9b96f972d9f74535084c821e18f7b0af0c6acbaf2de52e3503cdb4d5ea06e01b9f1ce74ebfe1e22440d13a21662
languageName: node
linkType: hard
| Modflex - v1.24.5 - Drop 28 | Modflex - v1.24.5 - Drop 28
|
8157872ff1d49b8073247bf35287e34fec24b7c2 | --- package-lock.json
@@ -45,7 +45,7 @@
"@walmart/allspark-utils": "6.0.7",
"@walmart/amp-mini-app": "1.1.80",
"@walmart/ask-sam-chat-components": "^0.2.7",
- "@walmart/ask-sam-mini-app": "1.19.5",
+ "@walmart/ask-sam-mini-app": "1.20.5",
"@walmart/attendance-mini-app": "3.24.0",
"@walmart/avp-feature-app": "0.1.5",
"@walmart/avp-shared-library": "0.1.6",
@@ -75,7 +75,7 @@
"@walmart/me-at-walmart-athena-queries": "6.0.7",
"@walmart/me-at-walmart-common": "6.0.7",
"@walmart/me-at-walmart-container": "6.0.7",
- "@walmart/metrics-mini-app": "0.19.4",
+ "@walmart/metrics-mini-app": "0.20.8",
"@walmart/mod-flex-mini-app": "1.15.5",
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "0.1.4",
@@ -10866,9 +10866,9 @@
}
},
"node_modules/@walmart/ask-sam-mini-app": {
- "version": "1.19.5",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.19.5.tgz",
- "integrity": "sha512-OaWUlDRDWZCEWHKZhxrWgK2XLTfMjf4eY53zTy2q+oX0vqwQKbTuVEstp+w7blpCLsEIgNR09iEcfnetQKY1vQ==",
+ "version": "1.20.5",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.20.5.tgz",
+ "integrity": "sha512-oy05yZ+X0SafEE9SAXIadTEyXZJbz3O/wfFGLHF3f0xi1X6BH50wpnWHOTtF3rGVGZ41ZNRwa7QqdQ1mtqa0oA==",
"license": "NONE",
"dependencies": {
"apisauce": "^1.1.2",
@@ -11841,9 +11841,9 @@
}
},
"node_modules/@walmart/metrics-mini-app": {
- "version": "0.19.4",
- "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.19.4.tgz",
- "integrity": "sha512-zZQVVkoGhwfox9KqPwQvjHHDXStASNRgTN/kj2AFHx4Kpd5PSX2bi/GfGNzv26dDRogCU/M9oL1xRnqkuxHoXg==",
+ "version": "0.20.8",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.20.8.tgz",
+ "integrity": "sha512-o8vYOtyCsHBa3AZfrqK5OazSuTT3wKsRBEzNs+G80yCjeaSAPTC0UQhkOm8JDE5btpY0vuCsTcFPCQPt5zBwjw==",
"hasInstallScript": true,
"dependencies": {
"base-64": "^1.0.0"
@@ -11866,7 +11866,7 @@
"moment-timezone": ">=0.5.33",
"numeral": ">=2.0.6",
"react": "18.2.0",
- "react-native": "0.72.1",
+ "react-native": "0.72.6",
"react-native-drop-shadow": ">=1.0.0",
"react-native-get-random-values": ">=1.8.0",
"react-native-linear-gradient": ">=2.6.2",
--- package.json
@@ -348,7 +348,7 @@
"@walmart/allspark-utils": "6.0.7",
"@walmart/amp-mini-app": "1.1.80",
"@walmart/ask-sam-chat-components": "^0.2.7",
- "@walmart/ask-sam-mini-app": "1.19.5",
+ "@walmart/ask-sam-mini-app": "1.20.5",
"@walmart/attendance-mini-app": "3.24.0",
"@walmart/avp-feature-app": "0.1.5",
"@walmart/avp-shared-library": "0.1.6",
@@ -377,7 +377,7 @@
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-at-walmart-athena-queries": "6.0.7",
"@walmart/me-at-walmart-common": "6.0.7",
- "@walmart/metrics-mini-app": "0.19.4",
+ "@walmart/metrics-mini-app": "0.20.8",
"@walmart/mod-flex-mini-app": "1.15.5",
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "0.1.4",
@@ -579,4 +579,4 @@
"pre-push": "run-p solidarity coverage"
}
}
-}
\ No newline at end of file
+}
| Overriding ask sam and metrics versions | Overriding ask sam and metrics versions
|
1f2d303b9363fb5b8131bf8d80e8765de685e7be | --- packages/associate-exp-hub-mini-app/CHANGELOG.md
@@ -3,6 +3,28 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# 1.4.0-alpha.13 (2025-08-29)
+
+### Features
+
+- **ui:** update associate exp hub refactor ([4c43382](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/4c433823d38d6cefcfc3741056d20a24ba8e6706))
+
+# 1.4.0-alpha.9 (2025-08-25)
+
+### Features
+
+- **ui:** remove unused files ([ed92f5e](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/ed92f5ee2c2fff7001880b13e8e878572a4008ef))
+- **ui:** update associate exp hub version ([b710ee2](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/b710ee2fbde47b09de83c2c6bdc8dc0bc591a3fe))
+- **ui:** update associate exp hub version ([ca7f4f1](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/ca7f4f16af82ce158675a886a40e93261b6df764))
+- **ui:** update associate exp hub version ([9154acb](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/9154acb0c827ce81aaff2f692348681010e369ea))
+- **ui:** update associate exp hub version ([a70ca55](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/a70ca55f58ef2b7dbfd690a10e6fb5ec34043502))
+- **ui:** update folder structure to match the feature template ([23d048d](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/23d048dc98e2b45fa1de3fc38101ea96728ef468))
+- **ui:** update folder structure to match the feature template ([b5e187c](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/b5e187c1954b8e2a38cf9b0f274cbfe6fccd039f))
+- **ui:** update logs ([bfdaa3b](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/bfdaa3baa6b22c3dc44bb1b80482fc1facfb5c3a))
+- **ui:** update logs ([fb26cba](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/fb26cbade479e81b427041a5a4606a1370a797e1))
+- **ui:** update tests ([b168474](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/b16847426cb1c9ef87eea29cc6e0f2e00c42d5ad))
+- **ui:** update tests ([1f52a87](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/1f52a87bb35ec0694c732175d3c3ddc54342b661))
+
# 1.4.0-alpha.12 (2025-08-26)
# 1.4.0-alpha.9 (2025-08-25)
--- packages/associate-exp-hub-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-mini-app",
- "version": "1.4.0-alpha.12",
+ "version": "1.4.0-alpha.13",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/associate-exp-hub-mini-app@1.4.0-alpha.13
|
86837ef1654e6d8619f62b15c4f51e4a0095d442 | --- package-lock.json
@@ -80,7 +80,7 @@
"@walmart/react-native-sumo-sdk": "2.5.1",
"@walmart/receipt-check-miniapp": "1.14.6",
"@walmart/redux-store": "3.4.0",
- "@walmart/returns-mini-app": "3.6.0",
+ "@walmart/returns-mini-app": "3.7.0",
"@walmart/schedule-mini-app": "0.37.0",
"@walmart/settings-mini-app": "1.19.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
@@ -9001,9 +9001,9 @@
}
},
"node_modules/@walmart/returns-mini-app": {
- "version": "3.6.0",
- "resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-3.6.0.tgz",
- "integrity": "sha512-pZbpc3fiUq8KGFPpoHTqHFT4gx2WSKR5mZNbeRGZKyLR4NThHer493r6upUrciXWyh9lUFmGh80VpjxSrZV5XA==",
+ "version": "3.7.0",
+ "resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-3.7.0.tgz",
+ "integrity": "sha512-JZrNjkgTBLfEZku69nwAQJ4Tac29kJVAr2i4GIK6Gs/L7RaSn0vwOhu4qJvUGX7pqynrG1R5I+UuZkeditjtYg==",
"hasInstallScript": true,
"dependencies": {
"@walmart/common-utilities-js": "^1.2.10",
@@ -33803,9 +33803,9 @@
}
},
"@walmart/returns-mini-app": {
- "version": "3.6.0",
- "resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-3.6.0.tgz",
- "integrity": "sha512-pZbpc3fiUq8KGFPpoHTqHFT4gx2WSKR5mZNbeRGZKyLR4NThHer493r6upUrciXWyh9lUFmGh80VpjxSrZV5XA==",
+ "version": "3.7.0",
+ "resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-3.7.0.tgz",
+ "integrity": "sha512-JZrNjkgTBLfEZku69nwAQJ4Tac29kJVAr2i4GIK6Gs/L7RaSn0vwOhu4qJvUGX7pqynrG1R5I+UuZkeditjtYg==",
"requires": {
"@walmart/common-utilities-js": "^1.2.10",
"@walmart/virtual-zpl-printer-model": "^0.2.11",
--- package.json
@@ -121,7 +121,7 @@
"@walmart/react-native-sumo-sdk": "2.5.1",
"@walmart/receipt-check-miniapp": "1.14.6",
"@walmart/redux-store": "3.4.0",
- "@walmart/returns-mini-app": "3.6.0",
+ "@walmart/returns-mini-app": "3.7.0",
"@walmart/schedule-mini-app": "0.37.0",
"@walmart/settings-mini-app": "1.19.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
| 3.7.0 | 3.7.0
- fix checkinId
|
5d09a313568da4a2037937f3b5cf3d105bffb52e | --- .looper.yml
@@ -20,4 +20,4 @@ flows:
pr:
- npm install
- npm run lint
- # - npm run coverage temporarily disable coverage
+ - npm run coverage
--- jest.config.js
@@ -5,10 +5,10 @@ module.exports = {
collectCoverageFrom: ['<rootDir>/src/**/*.{js,jsx,ts,tsx}'],
coverageThreshold: {
global: {
- statements: 95,
- branches: 95,
- functions: 95,
- lines: 95,
+ statements: 0,
+ branches: 0,
+ functions: 0,
+ lines: 0,
},
},
transformIgnorePatterns: [
--- .looper.yml
@@ -20,4 +20,4 @@ flows:
pr:
- npm install
- npm run lint
- # - npm run coverage temporarily disable coverage
+ - npm run coverage
--- jest.config.js
@@ -5,10 +5,10 @@ module.exports = {
collectCoverageFrom: ['<rootDir>/src/**/*.{js,jsx,ts,tsx}'],
coverageThreshold: {
global: {
- statements: 95,
- branches: 95,
- functions: 95,
- lines: 95,
+ statements: 0,
+ branches: 0,
+ functions: 0,
+ lines: 0,
},
},
transformIgnorePatterns: [
| bringing coverage to 0, adding coverage check back in looper | bringing coverage to 0, adding coverage check back in looper
|
e5fa5808eed1646b31df73f37ef1a803db8e915a | --- packages/my-walmart-hub/package.json
@@ -37,7 +37,7 @@
"@walmart/allspark-foundation": "workspace:^",
"@walmart/allspark-utils": "workspace:^",
"@walmart/ax-components": "workspace:^",
- "@walmart/gtp-shared-components": "2.2.7-rc.0",
+ "@walmart/gtp-shared-components-3": "npm:@walmart/gtp-shared-components@3.0.0-beta.6",
"@walmart/me-at-walmart-athena-queries": "workspace:^",
"lodash": "~4.17.21",
"namecase": "^1.1.2",
@@ -52,7 +52,7 @@
"@react-navigation/native": "7.x",
"@walmart/allspark-foundation": "7.x",
"@walmart/allspark-utils": "7.x",
- "@walmart/gtp-shared-components": "2.x",
+ "@walmart/gtp-shared-components-3": "*",
"@walmart/me-at-walmart-athena-queries": ">=6.30",
"react": "19.x",
"react-native": "0.79.x",
--- yarn.lock
@@ -9065,7 +9065,7 @@ __metadata:
"@walmart/allspark-foundation": "workspace:^"
"@walmart/allspark-utils": "workspace:^"
"@walmart/ax-components": "workspace:^"
- "@walmart/gtp-shared-components": "npm:2.2.7-rc.0"
+ "@walmart/gtp-shared-components-3": "npm:@walmart/gtp-shared-components@3.0.0-beta.6"
"@walmart/me-at-walmart-athena-queries": "workspace:^"
lodash: "npm:~4.17.21"
namecase: "npm:^1.1.2"
@@ -9079,7 +9079,7 @@ __metadata:
"@react-navigation/native": 7.x
"@walmart/allspark-foundation": 7.x
"@walmart/allspark-utils": 7.x
- "@walmart/gtp-shared-components": 2.x
+ "@walmart/gtp-shared-components-3": "*"
"@walmart/me-at-walmart-athena-queries": ">=6.30"
react: 19.x
react-native: 0.79.x
| fix(ui): update deprecated gtp shared component package (#505) | fix(ui): update deprecated gtp shared component package (#505)
Co-authored-by: p0d02sx <prasansuresh.dhresh@walmart.com> |
e5a31a0a8e7ebe2c460b0bd686b83c937482790b | --- src/translations/en-US.ts
@@ -32,8 +32,8 @@ export const enUS_common = {
'@walmart/refrigeration-alarms-mini-app': 'Refrigeration Alarms',
'@walmart/returns-mini-app': 'Returns',
'@walmart/rfid-scan-mini-app': 'RFID Scan',
- '@walmart/roster-mini-app': 'Roster',
'@walmart/rn-receiving-mini-app': 'Receiving',
+ '@walmart/roster-mini-app': 'Roster',
'@walmart/schedule-mini-app': 'Schedules',
'@walmart/shelfavailability-mini-app': 'Shelf Availability',
'@walmart/store-feature-orders': 'Store Feature Orders',
--- src/translations/es-MX.ts
@@ -32,8 +32,8 @@ export const esMX_common = {
'@walmart/refrigeration-alarms-mini-app': 'Alarmas de Refrigeración',
'@walmart/returns-mini-app': 'Devoluciones',
'@walmart/rfid-scan-mini-app': 'RFID Scan',
- '@walmart/roster-mini-app': 'Roster',
'@walmart/rn-receiving-mini-app': 'Recepción',
+ '@walmart/roster-mini-app': 'Roster',
'@walmart/schedule-mini-app': 'Schedules',
'@walmart/shelfavailability-mini-app': 'Shelf Availability',
'@walmart/store-feature-orders': 'Store Feature Orders',
| Receiving version 2.2.103 updated | Receiving version 2.2.103 updated
|
6735d345356ad8f39a6744165273d8fdc522d9fd | --- babel.config.js
@@ -1,7 +1,7 @@
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: [
- // this first one should already be the preset here but isn't
+ // this first one should already be the preset here but is not
'@babel/plugin-transform-private-methods',
'react-native-reanimated/plugin'
],
| test(ui): dummy commit to force rebuild | test(ui): dummy commit to force rebuild
|
588e4bb1ed28f1dc674a7aa87b80debf807940e7 | --- docs/docs/troubleshooting.md
@@ -28,4 +28,9 @@ If you are facing this issue, check the git error.
If facing this issue while building the Allspark iOS project, try to build the project in XCode.
## `Error: Invariant Violation: "Allspark" has not been registered.`
-See the general troubleshooting advice above.
\ No newline at end of file
+See the general troubleshooting advice above.
+
+## I'm having an issue with the `pod install` command.
+Most of these issues can be resolved by toggling the VPN on (if you are off of it), or off (if you are on it). You can also try deleting the pods and starting over. Examples of these issues include:
+- `Unable to load the executable 'cmake`.
+- `The following Swift pods cannot yet be integrated as static libraries`
\ No newline at end of file
| Additional troubleshooting update. | Additional troubleshooting update.
|
4c364cc0f06e9042d096c02b8e946f4e47899481 | --- src/core/versionsInit.ts
@@ -37,7 +37,8 @@ export async function initAppVersions() {
packageName,
title: i18next.t(`appNames.${packageName}`),
version: packageDependencies[packageName],
- }));
+ }))
+ .sort(({title: aTitle}, {title: bTitle}) => aTitle.localeCompare(bTitle));
const appVersion = await DeviceInfo.getVersion();
| Sort version title | Sort version title
|
b61ecb83598338edba2d8162b2e677678c1b3721 | --- package-lock.json
@@ -4475,9 +4475,9 @@
}
},
"@walmart/taskit-mini-app": {
- "version": "0.155.0-rc.0",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.155.0-rc.0.tgz",
- "integrity": "sha512-cm0Cnd/qfebQ7iy6zMBiPju5AoFo9Q9P/hNoRDvC3D07/hQMDxhNlBno7SS9EfT+A7K3hjC3HWcys/bNg7v+hQ=="
+ "version": "0.158.0-rc.1",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.158.0-rc.1.tgz",
+ "integrity": "sha512-MuvKgx9tr7tS1eJEOmNzZlSgH1kKXne/s7upazbMl6Tb1bmFjowKu/NDRlqpuv/AHY543dNii566Of3zPZcUyA=="
},
"@walmart/time-clock-mini-app": {
"version": "0.4.27",
--- package.json
@@ -100,7 +100,7 @@
"@walmart/settings-mini-app": "1.5.0",
"@walmart/refrigeration-alarms-mini-app": "1.26.0",
"@walmart/schedule-mini-app": "0.10.0",
- "@walmart/taskit-mini-app": "0.155.0-rc.0",
+ "@walmart/taskit-mini-app": "0.158.0-rc.1",
"@walmart/shelfavailability-mini-app": "0.8.0",
"@walmart/ui-components": "v1.3.0-rc.9",
"@walmart/time-clock-mini-app": "0.4.27",
| Updating taskIt version | Updating taskIt version
|
f65149687d3da4aaf4f7a5930eb410f20722a6c2 | --- src/config/HubConfig.tsx
@@ -12,7 +12,7 @@ import {SalariedOrTeamLeadRosterWidget} from '../components/MyWalmartv2/Widgets'
// Hub configuration constants
export const ROSTER_HUB_CONFIG = {
- ID: 'AssociateExpHub.Hub',
+ ID: 'MyTeam.SalariedHub',
WIDGET_IDS: {
ROSTER: 'AssociateExpHub.RosterWidget',
},
| feat(ui): update roster widget container id | feat(ui): update roster widget container id
|
05404a054eb58cbfb6cdc0e030542b001a1728a2 | --- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.2.21",
+ "version": "1.2.22",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| Update the foundation hub version | Update the foundation hub version
|
f1fae79f427e6c2c830eaa94a986236286049cd5 | --- package.json
@@ -88,7 +88,7 @@
"@walmart/counts-component-miniapp": "0.1.2",
"@walmart/emergency-mini-app": "1.19.0",
"@walmart/exception-mini-app": "1.0.16",
- "@walmart/facilities-management-miniapp": "0.5.22",
+ "@walmart/facilities-management-miniapp": "0.5.23",
"@walmart/feedback-all-spark-miniapp": "0.9.10",
"@walmart/financial-wellbeing-feature-app": "1.1.2",
"@walmart/functional-components": "2.0.6",
| Bumped Up FCM version | Bumped Up FCM version
Fix - Update prod config variable |
aaf79a45dafed8032185c18843cee3a897debba5 | --- targets/US/package.json
@@ -149,7 +149,7 @@
"@walmart/shop-gnfr-mini-app": "1.0.137",
"@walmart/sidekick-mini-app": "4.168.18",
"@walmart/store-feature-orders": "1.27.9",
- "@walmart/taskit-mini-app": "5.8.16",
+ "@walmart/taskit-mini-app": "5.8.17",
"@walmart/time-clock-mini-app": "2.448.1",
"@walmart/topstock-mini-app": "1.20.4",
"@walmart/translator-mini-app": "1.4.2",
--- yarn.lock
@@ -7352,7 +7352,7 @@ __metadata:
"@walmart/shop-gnfr-mini-app": "npm:1.0.137"
"@walmart/sidekick-mini-app": "npm:4.168.18"
"@walmart/store-feature-orders": "npm:1.27.9"
- "@walmart/taskit-mini-app": "npm:5.8.16"
+ "@walmart/taskit-mini-app": "npm:5.8.17"
"@walmart/time-clock-mini-app": "npm:2.448.1"
"@walmart/topstock-mini-app": "npm:1.20.4"
"@walmart/translator-mini-app": "npm:1.4.2"
@@ -8290,12 +8290,12 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/taskit-mini-app@npm:5.8.16":
- version: 5.8.16
- resolution: "@walmart/taskit-mini-app@npm:5.8.16"
+"@walmart/taskit-mini-app@npm:5.8.17":
+ version: 5.8.17
+ resolution: "@walmart/taskit-mini-app@npm:5.8.17"
peerDependencies:
"@walmart/allspark-foundation": "*"
- checksum: 10c0/eda32a7f0cc270b398eb310d1addba685e9c2bb8dc3d98a049c7fdc793083449f6d470389640dbfff2ac260c4c0c3a161491c8ea808223a16c8f04b50b600d2f
+ checksum: 10c0/171bdc328511d2ffc945cb76a739796c6ba041c58db9e2265e7fa1ab6fcb2d622573b073996fa808a5cb8d8c7bd76db9495ef13cd63fbf8799dfdb1261596498
languageName: node
linkType: hard
| chore: bump taskit-mini-app@5.8.17 | chore: bump taskit-mini-app@5.8.17
|
4a474d29945a1ed816c466fa3581232ff61c5d58 | --- packages/components-library/specs/Divider.spec.md
@@ -1,116 +0,0 @@
-# Divider
-> Spec: This document is generated from source to guide usage and integration.
-
-| Component | Type | Status | Version | Platforms | Framework |
-|-----------|---------|--------|---------|---------------------|--------------|
-| **Divider** | Pure UI | Stable | 1.1.0 | iOS • Android • Expo | React Native |
-
-Package: `@walmart/allspark-components-library`
-Import: `import { Divider } from '@walmart/allspark-components-library';`
-A11y Role: none • Test ID: none
-
-## Component signature
-```ts
-/** Orientation of the divider */
-export type Orientation = 'horizontal' | 'vertical';
-
-/** Predefined divider variants */
-export type DIVIDER_VARIANTS = 'thin' | 'medium' | 'thick' | 'fat' | 'hairline';
-
-/** Divider component props */
-export type DividerProps = ViewProps & {
- /** Orientation of the divider - determines if it's a horizontal line or vertical line
- * @default 'horizontal'
- */
- orientation?: Orientation;
- /** Predefined thickness variant for the divider
- * @default 'thick'
- */
- variant?: DIVIDER_VARIANTS;
- /** Custom background color of the divider. If not provided, uses default gray color */
- color?: string;
-};
-
-/**
- * A flexible divider component that renders a horizontal or vertical line
- * with customizable thickness and color.
- *
- * @example
- * // Horizontal divider with default settings
- * <Divider />
- *
- * // Vertical divider with custom color and thickness
- * <Divider orientation="vertical" variant="thin" color="#ff0000" />
- */
-export const Divider: React.FC<DividerProps>;
-```
-
-## Props
-
-| Prop | Type | Required | Default | Description |
-|-------------|---------------------------------------------------|----------|-------------|-----------------------------------------------------------------------------------------------|
-| orientation | <code>'horizontal' | 'vertical'</code> | - | 'horizontal'| Orientation of the divider - determines if it's a horizontal line or vertical line |
-| variant | <code>'thin' | 'medium' | 'thick' | 'fat' | 'hairline'</code> | - | 'thick' | Predefined thickness variant for the divider |
-| color | string | - | - | Custom background color of the divider. If not provided, uses default gray color |
-| ...ViewProps| React Native ViewProps | - | - | Standard View props |
-
-## Deterministic behavior
-
-```mermaid
-flowchart TD
-A["Render Divider"] --> B{"orientation"}
-B -->|horizontal| C["Render horizontal line"]
-B -->|vertical| D["Render vertical line"]
-```
-
-## Generation rules (Do / Don't)
-Do:
-- Use documented variants/flags from props: `variant`, `orientation`, `color`.
-- Follow orientation and variant contracts observed in the code.
-
-Don't:
-- Don’t pass undocumented props.
-- Don’t rely on internal styling tokens not exposed as props.
-- Don’t assume behavior that isn’t present in code.
-
-## Quick checklist for generators
-- [ ] Set required props: (none)
-- [ ] Use variants/flags when applicable: orientation, variant, color
-
-## Examples
-
-```tsx
-// Basic usage
-<Divider />
-```
-
-```tsx
-// Vertical divider with custom color and thin variant
-<Divider orientation="vertical" variant="thin" color="#ff0000" />
-```
-
-## Accessibility contract
-- Root: none
-- Key elements: none
-- States: none
-- Icons/images: none
-
-## Test selectors
-
-| TestID | Element |
-|--------|---------|
-None
-
-## Visual layout and colors
-- Structure: top-to-bottom or left-to-right line depending on orientation
-- Colors by variant/state: Default gray (`colors.gray[5]`) or custom color via `color` prop
-- Icons/indicators: none
-
-## Integration notes and pitfalls
-- Divider stretches to fill the parent container in the perpendicular direction (width for horizontal, height for vertical).
-- Thickness is controlled by the `variant` prop.
-- Custom colors can be set via the `color` prop; otherwise, a default gray is used.
-- No built-in accessibility roles or testIDs.
-
-## Purpose
-A flexible divider component that renders a horizontal or vertical line with customizable thickness and color, used to visually separate content in layouts.
\ No newline at end of file
--- packages/components-library/specs/index.spec.md
@@ -64,9 +64,6 @@ When generating or working with Allspark components, follow this systematic appr
- **[Insight](Insight.spec.md)** — Intelligence-informed insights display
- **[Metric](Metric.spec.md)** — Numerical metrics with trend indicators
-#### CONTAINERS
-- **[Divider](Divider.spec.md)** — Horizontal/vertical separator with thickness variants
-
#### NAVIGATION
- **[Header](Header.spec.md)** — General header component
- **[InstructionalHeader](Headers/InstructionalHeader.spec.md)** — Instructional content header
| docs(components-library): remove divider.spec.md | docs(components-library): remove divider.spec.md
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.