commit_hash stringlengths 40 40 | input stringlengths 13 7.99k | output stringlengths 5 155 | full_message stringlengths 6 8.96k |
|---|---|---|---|
7cd85b3e9c25afbf4a223c6f516a27f921cd44b2 | --- android/app/src/main/assets/fonts/icomoon.ttf
Binary files a/android/app/src/main/assets/fonts/icomoon.ttf and b/android/app/src/main/assets/fonts/icomoon.ttf differ
--- ios/icomoon.ttf
Binary files a/ios/icomoon.ttf and b/ios/icomoon.ttf differ
--- package-lock.json
@@ -4263,9 +4263,9 @@
"integrity": "sha512-3EZg12hAGhSB9dlFizagfVTITjRo6Z+GphKpjP2RHlYoP3Ado1v/JSnvk0v2yI+75dll43BunIaTiuoB5G0s0A=="
},
"@walmart/iteminfo-mini-app": {
- "version": "4.0.27",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-4.0.27.tgz",
- "integrity": "sha512-Z2YjPryrpx270naLjy8UFOUX1Gipu+kiDeJtJcgDzf5FJ7O5WKMAJ2f4vaWrlM8v8c1YH3xEe127EZkLR6eMcg=="
+ "version": "4.1.1",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-4.1.1.tgz",
+ "integrity": "sha512-cva0cuqfmGI3ix5t0RdnQDqMUd5htYUJn7Pgp739TA2HTYDDCnkn/l0cq0Mgg/jd4VAdjafX5KTeSvcIAfOebw=="
},
"@walmart/manager-approvals-miniapp": {
"version": "0.0.59",
@@ -4530,9 +4530,9 @@
}
},
"@walmart/ui-components": {
- "version": "1.3.0-rc.14",
- "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.3.0-rc.14.tgz",
- "integrity": "sha512-bT+Zc3TdQ7CtbVQnWJYEfTK3DYNFNjefaET6wK0gT7DM/eNUgUwb5koIvX7Cb87liqmvZZunrsJtrGbZ6EKw9Q==",
+ "version": "1.4.0-rc.0",
+ "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.4.0-rc.0.tgz",
+ "integrity": "sha512-bznQ/TF/c8tjREbFekeEL02VQWe8xsLRAlCShqzB9oEdRJEEiYlP5sUp/A9ZcLwiOya7Ocf25LB9wB/VGA/s5w==",
"requires": {
"react-native-calendars": "1.299.0"
}
--- package.json
@@ -85,7 +85,7 @@
"@walmart/impersonation-mini-app": "1.0.27",
"@walmart/ims-print-services-ui": "0.1.19",
"@walmart/inbox-mini-app": "0.33.0",
- "@walmart/iteminfo-mini-app": "4.0.27",
+ "@walmart/iteminfo-mini-app": "4.1.1",
"@walmart/manager-approvals-miniapp": "0.0.59",
"@walmart/metrics-mini-app": "0.7.57",
"@walmart/moment-walmart": "1.0.4",
@@ -103,7 +103,7 @@
"@walmart/shelfavailability-mini-app": "0.8.3",
"@walmart/taskit-mini-app": "0.5.0",
"@walmart/time-clock-mini-app": "0.4.34",
- "@walmart/ui-components": "1.3.0-rc.14",
+ "@walmart/ui-components": "1.4.0-rc.0",
"@walmart/welcomeme-mini-app": "0.51.0",
"@walmart/wfm-ui": "0.2.11",
"axios-cache-adapter": "2.7.3",
| Item info drop 6 changes part 1 | Item info drop 6 changes part 1
|
47c7762d9c1736b209de2a2ee7b184b34df69b02 | --- ios/AllSpark/Info.plist
@@ -60,8 +60,6 @@
<true/>
<key>NSAppTransportSecurity</key>
<dict>
- <key>NSAllowsArbitraryLoads</key>
- <true/>
<key>NSExceptionDomains</key>
<dict>
<key>i5.walmartimages.com</key>
--- package-lock.json
@@ -104,7 +104,7 @@
"@walmart/schedule-mini-app": "0.94.1",
"@walmart/shelfavailability-mini-app": "1.5.23",
"@walmart/store-feature-orders": "1.26.5",
- "@walmart/taskit-mini-app": "2.81.0-1009-a2c5a1a",
+ "@walmart/taskit-mini-app": "2.81.1",
"@walmart/time-clock-mini-app": "2.338.1",
"@walmart/topstock-mini-app": "1.8.5",
"@walmart/ui-components": "1.15.11",
@@ -12461,9 +12461,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "2.81.0-1009-a2c5a1a",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.81.0-1009-a2c5a1a.tgz",
- "integrity": "sha512-3WI2I7h4zRbc3ewEtQc8hPZJMvpHL5dKFRilClihy1nkl1Sm77DoHRBCnbQ9/OeHz4utTR3VCE6rDh//atD4nA==",
+ "version": "2.81.1",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.81.1.tgz",
+ "integrity": "sha512-o+4KqMz+boPmSptX7rDP5bQyP+jp4I4XhRm6ofg2ArN5YBbYh8NFMUOeEr0MCxSOsZJ5Gy03LGRorFv9niEQFw==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
--- package.json
@@ -145,7 +145,7 @@
"@walmart/schedule-mini-app": "0.94.1",
"@walmart/shelfavailability-mini-app": "1.5.23",
"@walmart/store-feature-orders": "1.26.5",
- "@walmart/taskit-mini-app": "2.81.0-1009-a2c5a1a",
+ "@walmart/taskit-mini-app": "2.81.1",
"@walmart/time-clock-mini-app": "2.338.1",
"@walmart/topstock-mini-app": "1.8.5",
"@walmart/ui-components": "1.15.11",
@@ -406,7 +406,7 @@
"@walmart/schedule-mini-app": "0.94.1",
"@walmart/shelfavailability-mini-app": "1.5.23",
"@walmart/store-feature-orders": "1.26.5",
- "@walmart/taskit-mini-app": "2.81.0-1009-a2c5a1a",
+ "@walmart/taskit-mini-app": "2.81.1",
"@walmart/time-clock-mini-app": "2.338.1",
"@walmart/topstock-mini-app": "1.8.5",
"@walmart/ui-components": "1.15.11",
| Updated taskit version | Updated taskit version
|
646ded0a7e4668bd4c7c75117211a636083ca790 | --- docs/CHANGELOG.md
@@ -1,3 +1,12 @@
+# [3.5.0](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/compare/v3.4.0...v3.5.0) (2025-09-05)
+
+
+### Features
+
+* **ui:** firestore instance update ([04451c8](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/04451c8d059d2412d9219208a103a2950ef804aa))
+* **ui:** reverting useEffect to useMemo ([3c5cff6](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/3c5cff64ba9a40cd1a1f42331bf53fc85c56ebfa))
+* **ui:** update db name ([c4732bd](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/c4732bd16d61e9afe2b73f002e42cb3ab8e8a8c5))
+
# [3.4.0](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/compare/v3.3.0...v3.4.0) (2025-08-28)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/wmconnect-mini-app",
- "version": "3.4.0",
+ "version": "3.5.0",
"main": "dist/index.js",
"files": [
"dist",
| chore(release): 3.5.0 [skip ci] | chore(release): 3.5.0 [skip ci]
# [3.5.0](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/compare/v3.4.0...v3.5.0) (2025-09-05)
### Features
* **ui:** firestore instance update ([04451c8](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/04451c8d059d2412d9219208a103a2950ef804aa))
* **ui:** reverting useEffect to useMemo ([3c5cff6](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/3c5cff64ba9a40cd1a1f42331bf53fc85c56ebfa))
* **ui:** update db name ([c4732bd](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/c4732bd16d61e9afe2b73f002e42cb3ab8e8a8c5))
|
b2ec8bb8df2b1766f700da8f6f3300da49843aa3 | --- packages/me-at-walmart-athena-queries/src/schema.graphql
@@ -2814,15 +2814,6 @@ type CourseProgress {
storeNum: Int
version: Int
- """
- Role of associate
- """
- role: RosterRole
- rosterType: VIEW_TYPE
- storeEntity: StoreEntity
- storeNum: Int
- version: Int
-
"""
View type to fetch the ILT trainings either for self or for direct reportees. example: SELF, DIRECT_REPORTEE etc
"""
--- packages/me-at-walmart-athena-queries/src/upsertSupplyChainAssociatePreference.ts
@@ -13,22 +13,22 @@ export type UpsertSupplyChainAssociatePreferenceMutationVariables =
export type UpsertSupplyChainAssociatePreferenceMutation = {
__typename?: 'Mutation';
upsertAssociatePreference?: {
- __typename: 'AssociatePreferences';
+ __typename?: 'AssociatePreferences';
walmartIdentificationNumber: string;
meAtWalmartPreferences?: {
- __typename: 'MeAtWalmartPreferences';
+ __typename?: 'MeAtWalmartPreferences';
managerExperiencePreferences?: {
- __typename: 'ManagerExperiencePreferences';
- mySupplyChainTeams?: {
- __typename: 'ManagerExperienceSupplyChain';
+ __typename?: 'ManagerExperiencePreferences';
+ mySupplyChainTeams?: Array<{
+ __typename?: 'ManagerExperienceSupplyChain';
shiftCodePreference?: Array<string | null> | null;
supplyChainTeamPreference?: Array<{
- __typename: 'SupplyChainTeam';
- businessUnitNumber?: number | null;
- countryCode?: string | null;
+ __typename?: 'SupplyChainTeam';
teamId?: string | null;
+ countryCode?: string | null;
+ businessUnitNumber?: number | null;
} | null> | null;
- } | null;
+ } | null> | null;
} | null;
} | null;
} | null;
@@ -42,24 +42,19 @@ export const UpsertSupplyChainAssociatePreferenceDocument = gql`
upsertAssociatePreference(
associatePreferencesInput: $associatePreferencesInput
) {
- __typename
+ walmartIdentificationNumber
meAtWalmartPreferences {
- __typename
managerExperiencePreferences {
- __typename
mySupplyChainTeams(businessUnitNumber: $businessUnitNumber) {
- __typename
shiftCodePreference
supplyChainTeamPreference {
- __typename
- businessUnitNumber
- countryCode
teamId
+ countryCode
+ businessUnitNumber
}
}
}
}
- walmartIdentificationNumber
}
}
`;
| Adding upsertSupplyChainAssociatePreference query | Adding upsertSupplyChainAssociatePreference query
|
db654759ff4288953263a2991fcb25d0f298cbce | --- ios/Podfile.lock
@@ -515,7 +515,7 @@ PODS:
- React-Core
- react-native-image-resizer (1.4.5):
- React-Core
- - react-native-logger (1.33.0):
+ - react-native-logger (1.34.4):
- React
- react-native-loudness (2.0.0):
- React
@@ -556,7 +556,7 @@ PODS:
- React-Core
- react-native-wm-app-review (0.4.0):
- React-Core
- - react-native-wm-vizpick-shell (1.1.2):
+ - react-native-wm-vizpick-shell (1.1.3):
- React
- react-native-wm-voice-text (1.0.1):
- React
@@ -1216,7 +1216,7 @@ SPEC CHECKSUMS:
react-native-get-random-values: a6ea6a8a65dc93e96e24a11105b1a9c8cfe1d72a
react-native-image-picker: 4bc9ed38c8be255b515d8c88babbaf74973f91a8
react-native-image-resizer: d9fb629a867335bdc13230ac2a58702bb8c8828f
- react-native-logger: 0bcf50232fdc8dbf2feb0d76f18b97ca722463eb
+ react-native-logger: 0db20d526938502f78c2b473714742f2e6eb6f89
react-native-loudness: 38527e7e42c3be3e4ea3d8aace2621a8eb9cafda
react-native-maps: 085f614cf14d3637b2048bb9752da5b1c27c2886
react-native-netinfo: f80db8cac2151405633324cb645c60af098ee461
@@ -1231,7 +1231,7 @@ SPEC CHECKSUMS:
react-native-view-shot: 792829857bbb23a9c8acdad9a640554bdee397a3
react-native-webview: d33e2db8925d090871ffeb232dfa50cb3a727581
react-native-wm-app-review: eff89fab61d28c3bf7106419717d4aeb6c5aa6f2
- react-native-wm-vizpick-shell: 491602d0508c3106fed07d58397c87b6e9b71c91
+ react-native-wm-vizpick-shell: ba5ff5d6c3e7bb318fa95b04b0888222c16a4296
react-native-wm-voice-text: 0658ee8e9d8e9e3df0f48dd49115f804ac0e8896
React-perflogger: cce000b5caa4bcecbb29ee9cfdb47f26202d2599
React-RCTActionSheet: ba29f52a82d970e2aba5804490ecaea587c7a751
| build(pod): update podfile | build(pod): update podfile
|
1353fa7d4fad967594339fa10ce1443860d391c9 | --- src/hooks/user.ts
@@ -0,0 +1,10 @@
+import {useSelector} from 'react-redux';
+import {UserSelectors, User} from '@walmart/redux-store';
+
+export const useIsSalariedOrTeamLead = () => {
+ const user: User = useSelector(UserSelectors.getUser);
+ const payType = user.employeeType as 'H' | 'S';
+ const jobDescription = user.jobDescription;
+
+ return payType === 'S' || jobDescription?.toLowerCase() === 'team lead';
+};
--- src/hooks/user.ts
@@ -0,0 +1,10 @@
+import {useSelector} from 'react-redux';
+import {UserSelectors, User} from '@walmart/redux-store';
+
+export const useIsSalariedOrTeamLead = () => {
+ const user: User = useSelector(UserSelectors.getUser);
+ const payType = user.employeeType as 'H' | 'S';
+ const jobDescription = user.jobDescription;
+
+ return payType === 'S' || jobDescription?.toLowerCase() === 'team lead';
+};
| adding hook for is salaried or team lead check | adding hook for is salaried or team lead check
|
51b7b3bb85b500d02ae94d2155f7bd6e99de4004 | --- android/app/src/main/assets/fonts/icomoon.ttf
Binary files a/android/app/src/main/assets/fonts/icomoon.ttf and b/android/app/src/main/assets/fonts/icomoon.ttf differ
--- ios/icomoon.ttf
Binary files a/ios/icomoon.ttf and b/ios/icomoon.ttf differ
--- package-lock.json
@@ -4435,9 +4435,9 @@
}
},
"@walmart/settings-mini-app": {
- "version": "1.5.0",
- "resolved": "https://npme.walmart.com/@walmart/settings-mini-app/-/settings-mini-app-1.5.0.tgz",
- "integrity": "sha512-wS09P2+WMawKcQb5GkrB4i9iAN25TVSaLGjLvpc6Iy92V5eLNGN2PVIBB3Blgfi4f7js6Mzppf9yQKe3qtzlpA=="
+ "version": "1.6.0",
+ "resolved": "https://npme.walmart.com/@walmart/settings-mini-app/-/settings-mini-app-1.6.0.tgz",
+ "integrity": "sha512-vL0+hmLX3mP3jXomwGL+kxp2aRLe002I+b+LL+wVbmOdRdXBvA7gbA5VJeRFkvaUQfU2SlRVLYJwv34HT9I8jw=="
},
"@walmart/shelfavailability-mini-app": {
"version": "0.8.0",
@@ -4530,9 +4530,9 @@
}
},
"@walmart/ui-components": {
- "version": "1.3.0-rc.9",
- "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.3.0-rc.9.tgz",
- "integrity": "sha512-4sNf8YHiB7nu8yl1JyzhxYSp+MsY8qzN+kWTaxCHPGzf8LrgAaid3cGUTlOsh0bM/ZUQNm9NnGhjNmPXXu8xMA==",
+ "version": "1.3.0-rc.10",
+ "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.3.0-rc.10.tgz",
+ "integrity": "sha512-sT/r0z6PafgvIzi3IUnAxpJtGPjFgNdRnew/bLGGVr+1GdoGggf+/lSlB31qaXNkh9ue/iObdE5lin5jXSceIA==",
"requires": {
"react-native-calendars": "1.299.0"
}
--- package.json
@@ -97,12 +97,12 @@
"@walmart/react-native-shared-navigation": "^0.4.0",
"@walmart/react-native-sumo-sdk": "2.1.0",
"@walmart/redux-store": "1.1.26",
- "@walmart/settings-mini-app": "1.5.0",
+ "@walmart/settings-mini-app": "1.6.0",
"@walmart/refrigeration-alarms-mini-app": "1.26.0",
"@walmart/schedule-mini-app": "0.11.0",
"@walmart/taskit-mini-app": "0.159.0-rc.1",
"@walmart/shelfavailability-mini-app": "0.8.0",
- "@walmart/ui-components": "v1.3.0-rc.9",
+ "@walmart/ui-components": "1.3.0-rc.10",
"@walmart/time-clock-mini-app": "0.4.27",
"@walmart/welcomeme-mini-app": "0.42.0",
"@walmart/wfm-ui": "0.2.10",
--- src/navigation/AssociateHallwayNav/Tabs/index.tsx
@@ -206,7 +206,7 @@ export const MainTabsNav = () => {
options={{
tabBarIcon: renderTabBarIcon.bind({
icon: 'inactive-task',
- iconSelected: 'active-task',
+ iconSelected: 'task-active',
}),
tabBarBadgeStyle: styles.alarmBadge,
// @ts-ignore
| version bump | version bump
|
c3af1c0e039b6cb15d8b5005f9dafb19c4c7291e | --- package.json
@@ -153,7 +153,7 @@
"@walmart/taskit-mini-app": "5.34.9",
"@walmart/time-clock-mini-app": "2.462.1",
"@walmart/time-clock-mini-app-next": "2.812.1",
- "@walmart/topstock-mini-app": "1.22.3",
+ "@walmart/topstock-mini-app": "1.23.4",
"@walmart/translator-mini-app": "1.4.5",
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.23.1#~/.yarn/patches/@walmart-ui-components-npm-1.23.1-247996ccb0.patch",
"@walmart/walmart-fiscal-week": "^0.3.6",
--- yarn.lock
@@ -8327,7 +8327,7 @@ __metadata:
"@walmart/taskit-mini-app": "npm:5.34.9"
"@walmart/time-clock-mini-app": "npm:2.462.1"
"@walmart/time-clock-mini-app-next": "npm:2.812.1"
- "@walmart/topstock-mini-app": "npm:1.22.3"
+ "@walmart/topstock-mini-app": "npm:1.23.4"
"@walmart/translator-mini-app": "npm:1.4.5"
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.23.1#~/.yarn/patches/@walmart-ui-components-npm-1.23.1-247996ccb0.patch"
"@walmart/walmart-fiscal-week": "npm:^0.3.6"
@@ -9330,9 +9330,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/topstock-mini-app@npm:1.22.3":
- version: 1.22.3
- resolution: "@walmart/topstock-mini-app@npm:1.22.3::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftopstock-mini-app%2F-%2F%40walmart%2Ftopstock-mini-app-1.22.3.tgz"
+"@walmart/topstock-mini-app@npm:1.23.4":
+ version: 1.23.4
+ resolution: "@walmart/topstock-mini-app@npm:1.23.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftopstock-mini-app%2F-%2F%40walmart%2Ftopstock-mini-app-1.23.4.tgz"
peerDependencies:
"@react-navigation/native": ">=5.8.10"
"@react-navigation/stack": ">=5.12.8"
@@ -9345,7 +9345,7 @@ __metadata:
react-native-haptic-feedback: ">=1.13.0"
react-native-vector-icons: ">=6.6.0"
react-redux: ">=7.2.0"
- checksum: 10c0/b30ceae702b6a85d0c047eb6bfe59e2762e6e01001c57031ec8a61cd849c8de277a15d5899bc4847dc7702e7b0323b957c01e4379b17bce1d648e67306ed4299
+ checksum: 10c0/023e3537de43a402184da8a5fec4eb0a8cd39cb4e442e275d3bc7eaa4f5fd1ada9501178bc033f30e48d5134e2b83db7729ced0d02d7655ebee824e051d666e9
languageName: node
linkType: hard
| Topstock Drop/30 (#4134) | Topstock Drop/30 (#4134)
* fix: VS-2581 ADA bug fix
* fix: VS-9019 updated topstock version
* fix: VS-9089 ui fix
* fix: VS-9089 ui fixes
---------
Co-authored-by: Pavan Lingamallu - p0l04ug <Pavan.Lingamallu@walmart.com> |
75da3d5e00f73d1fa9f1587ef36ff744894cfef8 | --- packages/allspark-foundation/src/GlobalElements/context.tsx
@@ -177,10 +177,13 @@ export const createGlobalElement = (
const reverse = useRef<GlobalElementConfig>(element);
useFocusEffect(
useCallback(() => {
- setTimeout(() => {
+ const timer = setTimeout(() => {
update(config);
}, 0);
- return () => update(reverse.current);
+ return () => {
+ update(reverse.current);
+ clearTimeout(timer);
+ };
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [JSON.stringify(config)])
);
| fix: clear timeout to avoid memory leaks | fix: clear timeout to avoid memory leaks
|
16ae6e9f576c5f2a1c0959f53e25789dcb346f00 | --- src/components/RosterFiltersAndInfo/types.ts
@@ -6,8 +6,8 @@ export interface RosterFiltersAndInfoProps {
associates?: Associate[];
filterChips: FilterChipProps[];
selectedFilter?: FilterValue;
- selectedShift?: ShiftType;
- onShiftChange: (shift: ShiftType) => void;
+selectedShift: ShiftType | null = null;
+onShiftChange: (shift: ShiftType | null) => void;
headerText: string;
loading: boolean;
teamName?: string;
| Update src/components/RosterFiltersAndInfo/types.ts | Update src/components/RosterFiltersAndInfo/types.ts
Co-authored-by: AI Code Assistant <AI-Code-Assistant@email.wal-mart.com> |
102f7e29bf59a1885ea669fe17fa5e0b73b01dbe | --- package-lock.json
@@ -45,8 +45,8 @@
"@walmart/counts-component-miniapp": "0.1.2",
"@walmart/emergency-mini-app": "1.23.2",
"@walmart/exception-mini-app": "1.2.4",
- "@walmart/facilities-management-miniapp": "0.6.6",
- "@walmart/feedback-all-spark-miniapp": "0.9.10",
+ "@walmart/facilities-management-miniapp": "0.6.7",
+ "@walmart/feedback-all-spark-miniapp": "0.9.25",
"@walmart/financial-wellbeing-feature-app": "1.4.2",
"@walmart/functional-components": "~4.0.3",
"@walmart/gta-react-native-calendars": "0.0.16",
@@ -5084,9 +5084,9 @@
}
},
"node_modules/@walmart/facilities-management-miniapp": {
- "version": "0.6.6",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.6.tgz",
- "integrity": "sha512-P74PwW3YSFvwUL/le3hXnqWI6qRJD/8awc5i4L0P82pwetBxdGMos1yyjQn6ej82dHiUaf313S0ZSlu51/LOlg==",
+ "version": "0.6.7",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.7.tgz",
+ "integrity": "sha512-RjGgH87+RVySi+C2rvTc6Crav4XWA27wCqKM1iKRpxgepjo1d6SmtyDRlmYIAKvxgvaP0z6YkQFDTR0Ziqshxw==",
"hasInstallScript": true,
"peerDependencies": {
"@react-native-community/async-storage": "^1.12.1",
@@ -5170,7 +5170,9 @@
}
},
"node_modules/@walmart/feedback-all-spark-miniapp": {
- "version": "0.9.10",
+ "version": "0.9.25",
+ "resolved": "https://npme.walmart.com/@walmart/feedback-all-spark-miniapp/-/feedback-all-spark-miniapp-0.9.25.tgz",
+ "integrity": "sha512-xSrJMEScMx3bC5AzGIBn7B1DhTmMPG6Wd3q4IREQjiTv5H37ezd7YWu5CkpHTAmezFOiFbaNvPmeNyIkQl+A+A==",
"hasInstallScript": true,
"peerDependencies": {
"@react-native-community/async-storage": "^1.12.1",
@@ -25105,9 +25107,9 @@
"integrity": "sha512-uxyacpEGANBI5Q/n66btF+N6d4Gd2Wh6kArOcna3SOmuH+W0GTTiwXGRbzx2E10ZWAvrHbko3wFvUoBCod5lKw=="
},
"@walmart/facilities-management-miniapp": {
- "version": "0.6.6",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.6.tgz",
- "integrity": "sha512-P74PwW3YSFvwUL/le3hXnqWI6qRJD/8awc5i4L0P82pwetBxdGMos1yyjQn6ej82dHiUaf313S0ZSlu51/LOlg=="
+ "version": "0.6.7",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.7.tgz",
+ "integrity": "sha512-RjGgH87+RVySi+C2rvTc6Crav4XWA27wCqKM1iKRpxgepjo1d6SmtyDRlmYIAKvxgvaP0z6YkQFDTR0Ziqshxw=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.9.25",
--- package.json
@@ -87,7 +87,7 @@
"@walmart/counts-component-miniapp": "0.1.2",
"@walmart/emergency-mini-app": "1.23.2",
"@walmart/exception-mini-app": "1.2.4",
- "@walmart/facilities-management-miniapp": "0.6.6",
+ "@walmart/facilities-management-miniapp": "0.6.7",
"@walmart/feedback-all-spark-miniapp": "0.9.25",
"@walmart/financial-wellbeing-feature-app": "1.4.2",
"@walmart/functional-components": "~4.0.3",
| Upadting the facilities-management-miniapp to 0.6.7 | Upadting the facilities-management-miniapp to 0.6.7
|
78149a3a3ff59dc83bc0c4a3ca9cc9a4eaf1da21 | --- package-lock.json
@@ -40,7 +40,7 @@
"@walmart/amp-mini-app": "1.1.48",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.13.4",
- "@walmart/attendance-mini-app": "1.29.0",
+ "@walmart/attendance-mini-app": "1.31.0",
"@walmart/compass-sdk-rn": "4.2.0",
"@walmart/config-components": "4.2.1",
"@walmart/copilot-mini-app": "1.77.9",
@@ -7991,9 +7991,9 @@
}
},
"node_modules/@walmart/attendance-mini-app": {
- "version": "1.29.0",
- "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-1.29.0.tgz",
- "integrity": "sha512-cgof0PK5lPRJymvMLvlNY1vC6ep9ZnyRDY+zQD5GPUSpGU/JvldomY1c4k8Zgt3+htfyfwZ0Y+dPdYisgG39kQ==",
+ "version": "1.31.0",
+ "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-1.31.0.tgz",
+ "integrity": "sha512-CBU2cVptDltq4AOIddBisEZXmCkPoshxhdKS62/oEW3tIMAbbQWR/q6yMI0AFm8zjF1HcBvOFb3/a2IJf6DJ1w==",
"dependencies": {
"@walmart/gta-react-native-calendars": "^0.0.16",
"@walmart/wfm-ui": "^0.2.26",
@@ -33515,9 +33515,9 @@
}
},
"@walmart/attendance-mini-app": {
- "version": "1.29.0",
- "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-1.29.0.tgz",
- "integrity": "sha512-cgof0PK5lPRJymvMLvlNY1vC6ep9ZnyRDY+zQD5GPUSpGU/JvldomY1c4k8Zgt3+htfyfwZ0Y+dPdYisgG39kQ==",
+ "version": "1.31.0",
+ "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-1.31.0.tgz",
+ "integrity": "sha512-CBU2cVptDltq4AOIddBisEZXmCkPoshxhdKS62/oEW3tIMAbbQWR/q6yMI0AFm8zjF1HcBvOFb3/a2IJf6DJ1w==",
"requires": {
"@walmart/gta-react-native-calendars": "^0.0.16",
"@walmart/wfm-ui": "^0.2.26",
--- package.json
@@ -81,7 +81,7 @@
"@walmart/amp-mini-app": "1.1.48",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.13.4",
- "@walmart/attendance-mini-app": "1.29.0",
+ "@walmart/attendance-mini-app": "1.31.0",
"@walmart/compass-sdk-rn": "4.2.0",
"@walmart/config-components": "4.2.1",
"@walmart/copilot-mini-app": "1.77.9",
| ama v1.31.0 | ama v1.31.0
|
b1cd0a70058a14ac26847c7948a478457390f349 | --- packages/allspark-foundation-hub/src/HubFeature/Hub/Container/Screens/HubDashboard.tsx
@@ -118,6 +118,7 @@ export const HubDashboard = ({
// After changing store, reload all the hub widgets with new store data.
useEffect(() => {
if (currentSiteId !== parentSiteID.current) {
+ hideOnboardingFlow();
telemetryLogHandler('Site change', loggerRef, {
message: `SiteId changed from ${parentSiteID.current} to ${currentSiteId}`,
});
| Update manager experience | Update manager experience
|
31d90789a6b528a5b347d6067779cff768ac73ae | --- package.json
@@ -245,7 +245,7 @@
"react-native-wm-telemetry": "6.3.17",
"react-native-wm-voice-text": "1.0.4",
"react-redux": "^8.1.3",
- "realm": "12.14.0",
+ "realm": "12.8.1",
"redux": "^4.2.1",
"redux-saga": "^1.2.3",
"redux-thunk": "^2.4.0",
--- yarn.lock
@@ -6822,7 +6822,7 @@ __metadata:
react-test-renderer: "npm:18.2.0"
reactotron-react-native: "npm:^5.1.12"
reactotron-redux: "npm:^3.1.11"
- realm: "npm:12.14.0"
+ realm: "npm:12.8.1"
redux: "npm:^4.2.1"
redux-saga: "npm:^1.2.3"
redux-thunk: "npm:^2.4.0"
@@ -17368,7 +17368,7 @@ __metadata:
languageName: node
linkType: hard
-"prebuild-install@npm:^7.1.2":
+"prebuild-install@npm:^7.1.1":
version: 7.1.3
resolution: "prebuild-install@npm:7.1.3"
dependencies:
@@ -18873,9 +18873,9 @@ __metadata:
languageName: node
linkType: hard
-"realm@npm:12.14.0":
- version: 12.14.0
- resolution: "realm@npm:12.14.0"
+"realm@npm:12.8.1":
+ version: 12.8.1
+ resolution: "realm@npm:12.8.1"
dependencies:
"@realm/fetch": "npm:^0.1.1"
bson: "npm:^4.7.2"
@@ -18883,13 +18883,13 @@ __metadata:
node-gyp: "npm:latest"
node-machine-id: "npm:^1.1.12"
path-browserify: "npm:^1.0.1"
- prebuild-install: "npm:^7.1.2"
+ prebuild-install: "npm:^7.1.1"
peerDependencies:
react-native: ">=0.71.0"
peerDependenciesMeta:
react-native:
optional: true
- checksum: 10c0/716efba5da28009fef78c2dcfb120b470541fed06f3722de5e12f36a5f72cb0d049f64041a0b8583e5c3cea8e874473762e57dc6b2f94c0d193e91ad4bcadc19
+ checksum: 10c0/a4ee1635fcebb1ee1ced0d630eec2a4a1ba5f8866c4bdcbde3f870f1c9f05e11272ac308f36bb2b6df19ec7dc5dca718696aa83db997f5d143b7fe024d41fb41
languageName: node
linkType: hard
| fix: downgrade realm to fix memory allocation error on install | fix: downgrade realm to fix memory allocation error on install
|
5bad0f2682a67650cf21f432b75c2173d165078b | --- index.js
@@ -1,6 +1,6 @@
import 'react-native-get-random-values';
import {AppRegistry, LogBox} from 'react-native';
-import App from './container';
+import MeAtWalmart from './container';
import {name as appName} from './app.json';
LogBox.ignoreAllLogs(true);
-AppRegistry.registerComponent(appName, () => App);
+AppRegistry.registerComponent(appName, MeAtWalmart.App);
| Update index file to fix the rendering | Update index file to fix the rendering
|
1b33777a5362523f991ce9b2d9f2113ac5f813f9 | --- package.json
@@ -99,9 +99,9 @@
"@walmart/react-native-shared-navigation": "6.1.4",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "3.7.0",
- "@walmart/roster-mini-app": "2.12.1-alpha.5",
+ "@walmart/roster-mini-app": "2.12.1-alpha.6",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "2.8.0-alpha.8",
+ "@walmart/wmconnect-mini-app": "2.8.0-alpha.7",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
--- yarn.lock
@@ -6400,7 +6400,7 @@ __metadata:
"@walmart/react-native-shared-navigation": "npm:6.1.4"
"@walmart/react-native-sumo-sdk": "npm:2.6.0"
"@walmart/redux-store": "npm:3.7.0"
- "@walmart/roster-mini-app": "npm:2.12.1-alpha.5"
+ "@walmart/roster-mini-app": "npm:2.12.1-alpha.6"
"@walmart/ui-components": "npm:1.15.1"
"@walmart/wmconnect-mini-app": "npm:2.8.0-alpha.7"
babel-jest: "npm:^29.2.1"
@@ -6582,9 +6582,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:2.12.1-alpha.5":
- version: 2.12.1-alpha.5
- resolution: "@walmart/roster-mini-app@npm:2.12.1-alpha.5"
+"@walmart/roster-mini-app@npm:2.12.1-alpha.6":
+ version: 2.12.1-alpha.6
+ resolution: "@walmart/roster-mini-app@npm:2.12.1-alpha.6"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6626,7 +6626,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/0c6d1c8e938cafd015ff74e8f119cae12ec919422c8305c2267072272724922bc2fa8d5b420e14b5fe78279ce5801046e16b6ab6f766592c2b641e7fe77d8dbd
+ checksum: 10c0/01218cbb9caecf66a2121f4a0faddee4f45f3efc23f65f7c327a341528c94c908286ea76d31dff6759db251225b4e7b1ef282bf6e472a356a980f5a73e163d4b
languageName: node
linkType: hard
| Update my team mini app version | Update my team mini app version
|
8cb1c4d347f68b7b3fc8c85ff701bcdad75d29bb | --- 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.10](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.24.9...@walmart/allspark-foundation-hub@1.24.10) (2025-11-20)
+
+**Note:** Version bump only for package @walmart/allspark-foundation-hub
+
## [1.24.9](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.24.8...@walmart/allspark-foundation-hub@1.24.9) (2025-11-19)
**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.9",
+ "version": "1.24.10",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/allspark-foundation/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [7.14.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.14.0...@walmart/allspark-foundation@7.14.1) (2025-11-20)
+
+**Note:** Version bump only for package @walmart/allspark-foundation
+
# [7.14.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.13.8...@walmart/allspark-foundation@7.14.0) (2025-11-19)
### Features
--- packages/allspark-foundation/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation",
- "version": "7.14.0",
+ "version": "7.14.1",
"description": "",
"main": "Core/index.js",
"types": "Core/index.d.ts",
--- packages/components-library/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.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/ax-components@1.2.0...@walmart/ax-components@1.2.1) (2025-11-20)
+
+**Note:** Version bump only for package @walmart/ax-components
+
# [1.2.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/ax-components@1.1.1...@walmart/ax-components@1.2.0) (2025-11-19)
### Features
--- packages/components-library/package.json
@@ -57,7 +57,7 @@
"test:coverage": "jest --coverage",
"expo:check": "expo install --check"
},
- "version": "1.2.0",
+ "version": "1.2.1",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"name": "@walmart/ax-components",
--- 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.13](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-geolocation@1.4.12...@walmart/me-at-walmart-geolocation@1.4.13) (2025-11-20)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-geolocation
+
## [1.4.12](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-geolocation@1.4.11...@walmart/me-at-walmart-geolocation@1.4.12) (2025-11-19)
**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.12",
+ "version": "1.4.13",
"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.13](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-location@1.2.12...@walmart/me-at-walmart-location@1.2.13) (2025-11-20)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-location
+
## [1.2.12](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-location@1.2.11...@walmart/me-at-walmart-location@1.2.12) (2025-11-19)
**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.12",
+ "version": "1.2.13",
"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.10](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/my-walmart-hub@1.4.9...@walmart/my-walmart-hub@1.4.10) (2025-11-20)
+
+**Note:** Version bump only for package @walmart/my-walmart-hub
+
## [1.4.9](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/my-walmart-hub@1.4.8...@walmart/my-walmart-hub@1.4.9) (2025-11-19)
**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.9",
+ "version": "1.4.10",
"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.14.1
- @walmart/allspark-foundation-hub@1.24.10
- @walmart/ax-components@1.2.1
- @walmart/me-at-walmart-geolocation@1.4.13
- @walmart/me-at-walmart-location@1.2.13
- @walmart/my-walmart-hub@1.4.10
|
a81c3036e37822e3f9e2f1de141cbbf07760f83a | --- core/__tests__/home/components/CelebrationCard/indexTest.tsx
@@ -178,7 +178,7 @@ describe('CelebrationCard', () => {
component.update(<CelebrationCard {...baseProps} />);
expect(component.toJSON()).toBe(null);
});
- xit('does render the card when associate is clocked in', () => {
+ it('does render the card when associate is clocked in', () => {
jest.clearAllMocks();
mockUseSelector.mockReturnValueOnce('100'); // siteId
mockUseSelector.mockReturnValueOnce('Store/Club'); // domain
| reverted the change added to create teh build | reverted the change added to create teh build
|
c62890aa33bd63ba05101f3141d516e82c6cde28 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.12.17",
+ "version": "2.12.18",
"main": "dist/index.js",
"files": [
"dist"
--- src/components/AssociateList/AssociateListItem.tsx
@@ -14,7 +14,6 @@ import {
transformWfmSchedule,
} from '../../utils';
import {useSelector} from 'react-redux';
-import {SiteSelectors} from '@walmart/allspark-foundation/Site';
import {
displayAssociateAvatar,
displayJobDescription,
@@ -37,7 +36,7 @@ export const AssociateListItem = ({
handleViewSchedule,
}: AssociateListItemProps) => {
const {t} = translationClient.useTranslation();
- const siteId = useSelector(SiteSelectors.getWorkingSiteSiteId);
+ const siteId = useSelector(UserSelectors.getSiteId);
const encryptedId = encryptUserId(associate?.associateId ?? '');
const isClockedIn = associateIsClockedIn(associate);
const associateName = namecase(associateDisplayName(associate).slice(0, 20));
--- src/hooks/roster.ts
@@ -14,15 +14,14 @@ import {logger} from '../common/logger';
import {useEnvironment} from '@walmart/allspark-foundation/Environment';
import {getGraphQLConfig} from '../services/config';
import {UserSelectors} from '@walmart/allspark-foundation/User';
-import {SiteSelectors} from '@walmart/allspark-foundation/Site';
export const useDailyRoster = (shouldSkipQuery: boolean = false) => {
const [error, setError] = useState<any>(undefined);
const storeId: string | undefined = useSelector(
- SiteSelectors.getWorkingSiteSiteId,
+ UserSelectors.getSiteId,
)?.toString();
const countryCode: string | undefined = useSelector(
- SiteSelectors.getWorkingSiteCountry,
+ UserSelectors.getCountryCode,
);
const envConfig = useEnvironment();
const response = useGetDailyRosterQuery({
--- src/hooks/teams.ts
@@ -6,18 +6,15 @@ import moment from 'moment-timezone';
import {useEnvironment} from '@walmart/allspark-foundation/Environment';
import {getGraphQLConfig} from '../services/config';
import {UserSelectors} from '@walmart/allspark-foundation/User';
-import {SiteSelectors} from '@walmart/allspark-foundation/Site';
import {
MY_TEAMS_TEAM_ID,
TOTAL_STORE_TEAM_ID,
} from '@walmart/allspark-foundation-hub';
export const useGetTeamById = (teamId: string) => {
- const storeNbr: string | undefined = useSelector(
- SiteSelectors.getWorkingSiteSiteId,
- )?.toString();
+ const storeNbr: string | undefined = useSelector(UserSelectors.getSiteId);
const countryCode: string | undefined = useSelector(
- SiteSelectors.getWorkingSiteCountry,
+ UserSelectors.getCountryCode,
);
const envConfig = useEnvironment();
return useGetTeamByIdQuery({
@@ -52,11 +49,9 @@ export const useGetTeamById = (teamId: string) => {
};
export const useGetTeamsByStore = () => {
- const storeNbr: string | undefined = useSelector(
- SiteSelectors.getWorkingSiteSiteId,
- )?.toString();
+ const storeNbr: string | undefined = useSelector(UserSelectors.getSiteId);
const countryCode: string | undefined = useSelector(
- SiteSelectors.getWorkingSiteCountry,
+ UserSelectors.getCountryCode,
);
const envConfig = useEnvironment();
return useGetTeamsByStoreQuery({
| Update roster mini app version | Update roster mini app version
|
ac43acf4f29ac8b5bb23239f5bf4793de81e644e | --- targets/US/package.json
@@ -113,7 +113,7 @@
"@walmart/ims-print-services-ui": "2.16.4",
"@walmart/inbox-mini-app": "0.97.13",
"@walmart/invue-react-native-sdk": "0.1.26-beta.3-w2",
- "@walmart/iteminfo-mini-app": "8.1.0",
+ "@walmart/iteminfo-mini-app": "8.1.1",
"@walmart/learning-mini-app": "20.0.39",
"@walmart/manager-approvals-miniapp": "0.3.2",
"@walmart/me-at-walmart-athena-queries": "6.27.0",
--- yarn.lock
@@ -6857,9 +6857,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/iteminfo-mini-app@npm:8.1.0":
- version: 8.1.0
- resolution: "@walmart/iteminfo-mini-app@npm:8.1.0"
+"@walmart/iteminfo-mini-app@npm:8.1.1":
+ version: 8.1.1
+ resolution: "@walmart/iteminfo-mini-app@npm:8.1.1"
peerDependencies:
"@apollo/client": ">=3.7.3"
"@react-native-community/art": 1.2.0
@@ -6904,7 +6904,7 @@ __metadata:
reselect: ">=4.1.0"
uuid: ">=3.3.2"
victory-native: ">=36.5.0"
- checksum: 10c0/efb3b10f4231044c173bffd209bab8678c193e007bf2434934cbc08c8e5748b0f89cd7c19db6eb64f7a6cf5d6b04918bb9a7cb93dedbe327f2e1e00838ec5f82
+ checksum: 10c0/cfa926eaeac8800f6c713d0d9eda9d52b4eb7a36d38ca3a4f716b0b52654b3adfeab513c17862ec63e38cfcf9f58bae56c73498e838bf1ee5308b4f9765dd718
languageName: node
linkType: hard
@@ -7350,7 +7350,7 @@ __metadata:
"@walmart/ims-print-services-ui": "npm:2.16.4"
"@walmart/inbox-mini-app": "npm:0.97.13"
"@walmart/invue-react-native-sdk": "npm:0.1.26-beta.3-w2"
- "@walmart/iteminfo-mini-app": "npm:8.1.0"
+ "@walmart/iteminfo-mini-app": "npm:8.1.1"
"@walmart/learning-mini-app": "npm:20.0.39"
"@walmart/manager-approvals-miniapp": "npm:0.3.2"
"@walmart/me-at-walmart-athena-queries": "npm:6.27.0"
| Chore: Item Information bump to 8.1.1 | Chore: Item Information bump to 8.1.1
|
a855cd72caec4319ac516c8687e8271f7eb74f3e | --- targets/US/package.json
@@ -123,7 +123,7 @@
"@walmart/myteam-mini-app": "1.12.0",
"@walmart/native-rfid-scanner": "3.10.10",
"@walmart/onewalmart-miniapp": "1.0.24",
- "@walmart/pay-stub-miniapp": "0.15.3",
+ "@walmart/pay-stub-miniapp": "0.15.4",
"@walmart/payrollsolution_miniapp": "0.141.17",
"@walmart/price-changes-mini-app": "1.10.18",
"@walmart/profile-feature-app": "patch:@walmart/profile-feature-app@npm%3A1.138.3#~/.yarn/patches/@walmart-profile-feature-app-npm-1.138.3-9802440ed6.patch",
--- yarn.lock
@@ -7030,7 +7030,7 @@ __metadata:
"@walmart/myteam-mini-app": "npm:1.12.0"
"@walmart/native-rfid-scanner": "npm:3.10.10"
"@walmart/onewalmart-miniapp": "npm:1.0.24"
- "@walmart/pay-stub-miniapp": "npm:0.15.3"
+ "@walmart/pay-stub-miniapp": "npm:0.15.4"
"@walmart/payrollsolution_miniapp": "npm:0.141.17"
"@walmart/price-changes-mini-app": "npm:1.10.18"
"@walmart/profile-feature-app": "patch:@walmart/profile-feature-app@npm%3A1.138.3#~/.yarn/patches/@walmart-profile-feature-app-npm-1.138.3-9802440ed6.patch"
@@ -7436,13 +7436,13 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/pay-stub-miniapp@npm:0.15.3":
- version: 0.15.3
- resolution: "@walmart/pay-stub-miniapp@npm:0.15.3"
+"@walmart/pay-stub-miniapp@npm:0.15.4":
+ version: 0.15.4
+ resolution: "@walmart/pay-stub-miniapp@npm:0.15.4"
dependencies:
crypto-js: "npm:^3.3.0"
expo-sharing: "npm:~11.5.0"
- checksum: 10c0/18d6391942aa0aba48e8c2d2a3d32f333dc9e1e5b104f1c3e2f04db6a2a3830647eb33cc7c2dd8c950d532259e479d2169647a2687bc7028dc27e6abffd542f7
+ checksum: 10c0/045fe867f02244c72bd4863a07e89e52195e7d8202fc573903901c2bf0c1d58c8985ae5f757ec3983f65762717cad333a1b4a8bd371db2ba66bf35e3fd5f9736
languageName: node
linkType: hard
| bump version | bump version
|
fe923578520e7ef209abffa586b2987296e10bcd | --- package-lock.json
@@ -80,7 +80,7 @@
"@walmart/schedule-mini-app": "0.37.0",
"@walmart/settings-mini-app": "1.18.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
- "@walmart/taskit-mini-app": "2.39.0",
+ "@walmart/taskit-mini-app": "2.34.6",
"@walmart/time-clock-mini-app": "2.98.0",
"@walmart/topstock-mini-app": "1.0.6",
"@walmart/ui-components": "1.15.0",
@@ -6002,9 +6002,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "2.39.0",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.39.0.tgz",
- "integrity": "sha512-sp0dKQGh0yvQth5Gw6zj9tzrRfeZtOxjwKkO5AsEcbr60jy1N0JEsKx3QMjB+7A6A0Pw+rj8zSzqBBEK7K4C1g==",
+ "version": "2.34.6",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.34.6.tgz",
+ "integrity": "sha512-GDmU5IzowGxYAAekJQs5ZfiWvsClAR1Dzp1ydc3wfB6X3OXbxGEA2KPo4odxTDCZcm785LY+IKzZQwjCWnLByw==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
@@ -17795,6 +17795,28 @@
"react-native": ">=0.56"
}
},
+ "node_modules/react-native-iphone-x-helper": {
+ "version": "1.3.1",
+ "resolved": "https://npme.walmart.com/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.3.1.tgz",
+ "integrity": "sha512-HOf0jzRnq2/aFUcdCJ9w9JGzN3gdEg0zFE4FyYlp4jtidqU03D5X7ZegGKfT1EWteR0gPBGp9ye5T5FvSWi9Yg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react-native": ">=0.42.0"
+ }
+ },
+ "node_modules/react-native-keyboard-aware-scroll-view": {
+ "version": "0.9.5",
+ "resolved": "https://npme.walmart.com/react-native-keyboard-aware-scroll-view/-/react-native-keyboard-aware-scroll-view-0.9.5.tgz",
+ "integrity": "sha512-XwfRn+T/qBH9WjTWIBiJD2hPWg0yJvtaEw6RtPCa5/PYHabzBaWxYBOl0usXN/368BL1XktnZPh8C2lmTpOREA==",
+ "license": "MIT",
+ "dependencies": {
+ "prop-types": "^15.6.2",
+ "react-native-iphone-x-helper": "^1.0.3"
+ },
+ "peerDependencies": {
+ "react-native": ">=0.48.4"
+ }
+ },
"node_modules/react-native-linear-gradient": {
"version": "2.6.2",
"license": "MIT",
@@ -25398,9 +25420,9 @@
"version": "1.5.16"
},
"@walmart/taskit-mini-app": {
- "version": "2.39.0",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.39.0.tgz",
- "integrity": "sha512-sp0dKQGh0yvQth5Gw6zj9tzrRfeZtOxjwKkO5AsEcbr60jy1N0JEsKx3QMjB+7A6A0Pw+rj8zSzqBBEK7K4C1g=="
+ "version": "2.34.6",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.34.6.tgz",
+ "integrity": "sha512-GDmU5IzowGxYAAekJQs5ZfiWvsClAR1Dzp1ydc3wfB6X3OXbxGEA2KPo4odxTDCZcm785LY+IKzZQwjCWnLByw=="
},
"@walmart/tcnumber": {
"version": "2.3.3",
@@ -32945,6 +32967,20 @@
"opencollective-postinstall": "^2.0.3"
}
},
+ "react-native-iphone-x-helper": {
+ "version": "1.3.1",
+ "resolved": "https://npme.walmart.com/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.3.1.tgz",
+ "integrity": "sha512-HOf0jzRnq2/aFUcdCJ9w9JGzN3gdEg0zFE4FyYlp4jtidqU03D5X7ZegGKfT1EWteR0gPBGp9ye5T5FvSWi9Yg=="
+ },
+ "react-native-keyboard-aware-scroll-view": {
+ "version": "0.9.5",
+ "resolved": "https://npme.walmart.com/react-native-keyboard-aware-scroll-view/-/react-native-keyboard-aware-scroll-view-0.9.5.tgz",
+ "integrity": "sha512-XwfRn+T/qBH9WjTWIBiJD2hPWg0yJvtaEw6RtPCa5/PYHabzBaWxYBOl0usXN/368BL1XktnZPh8C2lmTpOREA==",
+ "requires": {
+ "prop-types": "^15.6.2",
+ "react-native-iphone-x-helper": "^1.0.3"
+ }
+ },
"react-native-linear-gradient": {
"version": "2.6.2"
},
--- package.json
@@ -122,7 +122,7 @@
"@walmart/schedule-mini-app": "0.37.0",
"@walmart/settings-mini-app": "1.18.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
- "@walmart/taskit-mini-app": "2.39.0",
+ "@walmart/taskit-mini-app": "2.34.6",
"@walmart/time-clock-mini-app": "2.98.0",
"@walmart/topstock-mini-app": "1.0.6",
"@walmart/ui-components": "1.15.0",
| review comment | review comment
|
2bc428396eb8f4766c0a1dbc1574e2402ce0028a | --- lerna.json
@@ -7,7 +7,8 @@
"conventionalCommits": true,
"conventionalPrerelease": true,
"message": "chore(publish): publish package",
- "verifyAccess": false
+ "verifyAccess": false,
+ "registry": "https://npme.walmart.com"
},
"version": {
"message": "chore(version): updating package version",
| chore: lerna fix | chore: lerna fix
|
3588df58a2354d4a02ce18c0effef0b88528d383 | --- packages/allspark-utils/src/createGlobal.ts
@@ -24,7 +24,7 @@ export const valueToProxyPromise = (value: any) => {
export const createGlobalInstance = <T extends Record<string | symbol, any>>(
fallback: Promisify<Required<T>>,
ref: {
- readonly current: T | null;
+ readonly current: T | undefined | null;
}
) => {
return new Proxy(fallback, {
--- packages/allspark-utils/src/hooks/index.ts
@@ -8,5 +8,6 @@ export { useIsMounted } from './useIsMounted';
export { usePaginateList } from './usePaginateList';
export { usePrevious } from './usePrevious';
export { useQueue, useQueueManager } from './useQueue';
+export { useRenderOnChange } from './useRenderOnChange';
export { useSessionState } from './useSessionState';
export { useTimeout } from './useTimeout';
--- packages/allspark-utils/src/hooks/useRenderOnChange.ts
@@ -0,0 +1,28 @@
+import { useEffect, useState } from 'react';
+import { useIsMounted } from './useIsMounted';
+
+export const useRenderOnChange = <
+ T extends {
+ addChangeListener: (listener: () => void) => { remove: () => void };
+ }
+>(
+ value: T
+) => {
+ const [, setState] = useState<any>(null);
+ const isMounted = useIsMounted();
+
+ function reRender() {
+ // force re-render on registry change
+ if (isMounted) {
+ setState({});
+ }
+ }
+
+ useEffect(() => {
+ const { remove } = value.addChangeListener(reRender);
+ return () => remove();
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [value]);
+
+ return value;
+};
--- packages/allspark-utils/src/registries/useRegistry.ts
@@ -1,32 +1,14 @@
-import { useEffect, useState } from 'react';
import { Registry } from './Registry';
-import { useIsMounted } from '../hooks/useIsMounted';
import { WidgetRegistry } from './WidgetRegistry';
+import { useRenderOnChange } from '../hooks';
// --- Base 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();
-
- function reRender() {
- // force re-render on registry change
- if (isMounted) {
- setState({});
- }
- }
-
- useEffect(() => {
- const { remove } = registry.addChangeListener(reRender);
- return () => remove();
- // eslint-disable-next-line react-hooks/exhaustive-deps
- }, [registry]);
-
- return registry;
-};
+export const useRegistry = <R extends Registry>(registry: R) =>
+ useRenderOnChange(registry);
/**
* @description
| feat: add render on change hook and integrated to registry hook | feat: add render on change hook and integrated to registry hook
|
48cf275173fb8a20267bb89c7c50d017eae6a204 | --- ios/AllSpark/AppDelegate.mm
@@ -28,28 +28,28 @@
@end
#endif
-// #ifdef FB_SONARKIT_ENABLED
-// #import <FlipperKit/FlipperClient.h>
-// #import <FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h>
-// #import <FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h>
-// #import <FlipperKitReactPlugin/FlipperKitReactPlugin.h>
-// #import <FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h>
-// #import <SKIOSNetworkPlugin/SKIOSNetworkAdapter.h>
-
-// static void InitializeFlipper(UIApplication *application) {
-// FlipperClient *client = [FlipperClient sharedClient];
-// SKDescriptorMapper *layoutDescriptorMapper =
-// [[SKDescriptorMapper alloc] initWithDefaults];
-// [client addPlugin:[[FlipperKitLayoutPlugin alloc]
-// initWithRootNode:application
-// withDescriptorMapper:layoutDescriptorMapper]];
-// [client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]];
-// [client addPlugin:[FlipperKitReactPlugin new]];
-// [client addPlugin:[[FlipperKitNetworkPlugin alloc]
-// initWithNetworkAdapter:[SKIOSNetworkAdapter new]]];
-// [client start];
-// }
-// #endif
+#if DEBUG && TARGET_OS_SIMULATOR
+#import <FlipperKit/FlipperClient.h>
+#import <FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h>
+#import <FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h>
+#import <FlipperKitReactPlugin/FlipperKitReactPlugin.h>
+#import <FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h>
+#import <SKIOSNetworkPlugin/SKIOSNetworkAdapter.h>
+
+static void InitializeFlipper(UIApplication *application) {
+ FlipperClient *client = [FlipperClient sharedClient];
+ SKDescriptorMapper *layoutDescriptorMapper =
+ [[SKDescriptorMapper alloc] initWithDefaults];
+ [client addPlugin:[[FlipperKitLayoutPlugin alloc]
+ initWithRootNode:application
+ withDescriptorMapper:layoutDescriptorMapper]];
+ [client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]];
+ [client addPlugin:[FlipperKitReactPlugin new]];
+ [client addPlugin:[[FlipperKitNetworkPlugin alloc]
+ initWithNetworkAdapter:[SKIOSNetworkAdapter new]]];
+ [client start];
+}
+#endif
static void ClearKeychainIfNecessary() {
if ([[NSUserDefaults standardUserDefaults] boolForKey:@"HAS_RUN_BEFORE"] == NO) {
@@ -74,9 +74,9 @@ static void ClearKeychainIfNecessary() {
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
- // #ifdef FB_SONARKIT_ENABLED
- // InitializeFlipper(application);
- // #endif
+ #if DEBUG && TARGET_OS_SIMULATOR
+ InitializeFlipper(application);
+ #endif
ClearKeychainIfNecessary();
--- ios/Podfile
@@ -55,7 +55,26 @@ target 'AllSpark' do
pod 'CocoaAsyncSocket', :modular_headers => true
pod 'Realm', :modular_headers => true
+ # Post Install processing for Flipper
+ def flipper_post_install(installer)
+ installer.pods_project.targets.each do |target|
+ if target.name == 'YogaKit'
+ target.build_configurations.each do |config|
+ config.build_settings['SWIFT_VERSION'] = '4.1'
+ end
+ end
+
+ # Enable Flipper for simulators only
+ if target.name.start_with?('Flipper')
+ target.build_configurations.each do |config|
+ config.build_settings['VALID_ARCHS'] = 'arm64 arm64e'
+ end
+ end
+ end
+ end
+
post_install do |installer|
+ flipper_post_install(installer)
react_native_post_install(
installer,
# Set `mac_catalyst_enabled` to `true` in order to apply patches
--- ios/Podfile.lock
@@ -1272,6 +1272,6 @@ SPEC CHECKSUMS:
Yoga: eca980a5771bf114c41a754098cd85e6e0d90ed7
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
-PODFILE CHECKSUM: 365edcba52f8b2f4aa0a5ce3508ee987f1ec17c2
+PODFILE CHECKSUM: e0a389815e960356d842711f22a0f184dbeda782
COCOAPODS: 1.11.3
| Removing flipper from non-debug build on IOS | Removing flipper from non-debug build on IOS
|
b6c905bbf08219902b2cc53a54dd4d804ec95609 | --- package-lock.json
@@ -39,7 +39,7 @@
"@walmart/attendance-mini-app": "0.190.2",
"@walmart/compass-sdk-rn": "4.0.0",
"@walmart/config-components": "4.1.0-rc.4",
- "@walmart/copilot-mini-app": "^1.60.1",
+ "@walmart/copilot-mini-app": "^1.62.1",
"@walmart/core-services": "~2.0.19",
"@walmart/core-services-allspark": "~2.11.0",
"@walmart/core-utils": "~2.0.5",
@@ -4935,9 +4935,9 @@
}
},
"node_modules/@walmart/copilot-mini-app": {
- "version": "1.60.1",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.60.1.tgz",
- "integrity": "sha512-Lqg2S8YloFaAytB+7mOaTyLoIzU4VqV3qPAhNxdi2spJXfvdkRqMfN1I2mdp5EnrCk1cAZhKISjetjePABDCpQ==",
+ "version": "1.62.1",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.62.1.tgz",
+ "integrity": "sha512-3R2zI4rTHf0jP61vf3UjrOxwcHhyMt9U17OEXTHBWgNU4BK5q19xLjxUIEw5JXCXYShPhdKPvTLbvctN5dqZkA==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -25130,9 +25130,9 @@
}
},
"@walmart/copilot-mini-app": {
- "version": "1.60.1",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.60.1.tgz",
- "integrity": "sha512-Lqg2S8YloFaAytB+7mOaTyLoIzU4VqV3qPAhNxdi2spJXfvdkRqMfN1I2mdp5EnrCk1cAZhKISjetjePABDCpQ=="
+ "version": "1.62.1",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.62.1.tgz",
+ "integrity": "sha512-3R2zI4rTHf0jP61vf3UjrOxwcHhyMt9U17OEXTHBWgNU4BK5q19xLjxUIEw5JXCXYShPhdKPvTLbvctN5dqZkA=="
},
"@walmart/core-services": {
"version": "2.0.19",
--- package.json
@@ -81,7 +81,7 @@
"@walmart/attendance-mini-app": "0.190.2",
"@walmart/compass-sdk-rn": "4.0.0",
"@walmart/config-components": "4.1.0-rc.4",
- "@walmart/copilot-mini-app": "^1.60.1",
+ "@walmart/copilot-mini-app": "^1.62.1",
"@walmart/core-services": "~2.0.19",
"@walmart/core-services-allspark": "~2.11.0",
"@walmart/core-utils": "~2.0.5",
| chore: bump copilot@1.62.1 | chore: bump copilot@1.62.1
|
087cd9ac878b62b266966e367c935521bd0a3f79 | --- src/index.tsx
@@ -4,7 +4,7 @@ import {useSelector, useDispatch} from 'react-redux';
import {ThunkDispatch} from '@reduxjs/toolkit';
import {firebase} from '@react-native-firebase/app-check';
-import {SiteSelectors, reducerManager} from '@walmart/redux-store';
+import {SiteSelectors, reducerManager, addSagas} from '@walmart/redux-store';
import {useEnvironment} from '@walmart/core-services/Environment';
import {LoggerCloneProvider} from '@walmart/core-services/Logger';
import {HttpClientCloneProvider} from '@walmart/allspark-http-client';
--- src/presence/sagas.ts
@@ -0,0 +1,32 @@
+import {select, call, delay} from 'redux-saga/effects';
+import {
+ DNDAutoSwitchThreshold,
+ DNDOfflineTimeLimit,
+ getEncryptedUserId,
+} from '../redux/selectors';
+import {SiteSelectors} from '@walmart/redux-store';
+import {getLastOfflineTime, goOnlineForUser} from './service';
+
+export function* DoNotDisturbAutoResetSaga() {
+ const userId: string = yield select(getEncryptedUserId);
+ const storeId: string = yield select(SiteSelectors.getUserWorkingSite);
+ const dndOfflineTimeLimit: number = yield select(DNDOfflineTimeLimit);
+ const dndAutoSwitchThreshold: number = yield select(DNDAutoSwitchThreshold);
+ const lastOfflineTime: number = yield call(getLastOfflineTime);
+
+ if (lastOfflineTime) {
+ let currentTime = Math.round(Date.now() / 1000);
+ let timeSpentOffline = Math.round(currentTime - lastOfflineTime);
+ const timeRemaining = dndOfflineTimeLimit - timeSpentOffline;
+ const isDndOfflineLimitExpired = timeSpentOffline >= dndOfflineTimeLimit;
+ const isTimeRemainingLikelyWithinUserSession =
+ timeRemaining > 0 && timeRemaining <= dndAutoSwitchThreshold;
+
+ if (isDndOfflineLimitExpired) {
+ if (isTimeRemainingLikelyWithinUserSession) {
+ yield delay(timeRemaining);
+ }
+ yield call(goOnlineForUser, storeId, userId);
+ }
+ }
+}
--- src/presence/service.ts
@@ -13,7 +13,7 @@ export const goOnlineForUser = (storeId: string, userId: string) => {
.doc(userDocument)
.set(FIRESTORE_ONLINE_DATA, {merge: true})
.then(() => {
- clearLastOfflineTimeForAsyncStorage().catch((e: Error) => {
+ clearLastOfflineTime().catch((e: Error) => {
logger.error('unable to clear last offline time in async storage', {
message: e.message,
});
@@ -53,10 +53,19 @@ export const setLastOfflineTimeForAsyncStorage = async () => {
);
};
-export const clearLastOfflineTimeForAsyncStorage = async () => {
+export const clearLastOfflineTime = async () => {
await AsyncStorage.setItem(LAST_OFFLINE_CACHE_KEY, '');
};
+export const getLastOfflineTime = async (): Promise<number | null> => {
+ const lastOfflineTimeFromStorage = await AsyncStorage.getItem(
+ LAST_OFFLINE_CACHE_KEY,
+ );
+ return lastOfflineTimeFromStorage
+ ? parseInt(JSON.parse(lastOfflineTimeFromStorage), 10)
+ : null;
+};
+
export const goOnlineForUserIfOfflineTimeExpired = async (
storeId: string,
userId: string,
@@ -64,12 +73,7 @@ export const goOnlineForUserIfOfflineTimeExpired = async (
dndAutoSwitchThreshold: number,
) => {
try {
- const rawLastOfflineTime = await AsyncStorage.getItem(
- LAST_OFFLINE_CACHE_KEY,
- );
- const lastOfflineTime: number | null = rawLastOfflineTime
- ? parseInt(JSON.parse(rawLastOfflineTime), 10)
- : null;
+ const lastOfflineTime = await getLastOfflineTime();
if (lastOfflineTime) {
let currentTime = Math.round(Date.now() / 1000);
let timeSpentOffline = Math.round(currentTime - lastOfflineTime);
--- src/index.tsx
@@ -4,7 +4,7 @@ import {useSelector, useDispatch} from 'react-redux';
import {ThunkDispatch} from '@reduxjs/toolkit';
import {firebase} from '@react-native-firebase/app-check';
-import {SiteSelectors, reducerManager} from '@walmart/redux-store';
+import {SiteSelectors, reducerManager, addSagas} from '@walmart/redux-store';
import {useEnvironment} from '@walmart/core-services/Environment';
import {LoggerCloneProvider} from '@walmart/core-services/Logger';
import {HttpClientCloneProvider} from '@walmart/allspark-http-client';
--- src/presence/sagas.ts
@@ -0,0 +1,32 @@
+import {select, call, delay} from 'redux-saga/effects';
+import {
+ DNDAutoSwitchThreshold,
+ DNDOfflineTimeLimit,
+ getEncryptedUserId,
+} from '../redux/selectors';
+import {SiteSelectors} from '@walmart/redux-store';
+import {getLastOfflineTime, goOnlineForUser} from './service';
+
+export function* DoNotDisturbAutoResetSaga() {
+ const userId: string = yield select(getEncryptedUserId);
+ const storeId: string = yield select(SiteSelectors.getUserWorkingSite);
+ const dndOfflineTimeLimit: number = yield select(DNDOfflineTimeLimit);
+ const dndAutoSwitchThreshold: number = yield select(DNDAutoSwitchThreshold);
+ const lastOfflineTime: number = yield call(getLastOfflineTime);
+
+ if (lastOfflineTime) {
+ let currentTime = Math.round(Date.now() / 1000);
+ let timeSpentOffline = Math.round(currentTime - lastOfflineTime);
+ const timeRemaining = dndOfflineTimeLimit - timeSpentOffline;
+ const isDndOfflineLimitExpired = timeSpentOffline >= dndOfflineTimeLimit;
+ const isTimeRemainingLikelyWithinUserSession =
+ timeRemaining > 0 && timeRemaining <= dndAutoSwitchThreshold;
+
+ if (isDndOfflineLimitExpired) {
+ if (isTimeRemainingLikelyWithinUserSession) {
+ yield delay(timeRemaining);
+ }
+ yield call(goOnlineForUser, storeId, userId);
+ }
+ }
+}
--- src/presence/service.ts
@@ -13,7 +13,7 @@ export const goOnlineForUser = (storeId: string, userId: string) => {
.doc(userDocument)
.set(FIRESTORE_ONLINE_DATA, {merge: true})
.then(() => {
- clearLastOfflineTimeForAsyncStorage().catch((e: Error) => {
+ clearLastOfflineTime().catch((e: Error) => {
logger.error('unable to clear last offline time in async storage', {
message: e.message,
});
@@ -53,10 +53,19 @@ export const setLastOfflineTimeForAsyncStorage = async () => {
);
};
-export const clearLastOfflineTimeForAsyncStorage = async () => {
+export const clearLastOfflineTime = async () => {
await AsyncStorage.setItem(LAST_OFFLINE_CACHE_KEY, '');
};
+export const getLastOfflineTime = async (): Promise<number | null> => {
+ const lastOfflineTimeFromStorage = await AsyncStorage.getItem(
+ LAST_OFFLINE_CACHE_KEY,
+ );
+ return lastOfflineTimeFromStorage
+ ? parseInt(JSON.parse(lastOfflineTimeFromStorage), 10)
+ : null;
+};
+
export const goOnlineForUserIfOfflineTimeExpired = async (
storeId: string,
userId: string,
@@ -64,12 +73,7 @@ export const goOnlineForUserIfOfflineTimeExpired = async (
dndAutoSwitchThreshold: number,
) => {
try {
- const rawLastOfflineTime = await AsyncStorage.getItem(
- LAST_OFFLINE_CACHE_KEY,
- );
- const lastOfflineTime: number | null = rawLastOfflineTime
- ? parseInt(JSON.parse(rawLastOfflineTime), 10)
- : null;
+ const lastOfflineTime = await getLastOfflineTime();
if (lastOfflineTime) {
let currentTime = Math.round(Date.now() / 1000);
let timeSpentOffline = Math.round(currentTime - lastOfflineTime);
| adding original algo | adding original algo
|
af520f32b28af6b5cf85c88e043252f3b908efc8 | --- package.json
@@ -85,7 +85,7 @@
"@walmart/allspark-utils": "6.1.4",
"@walmart/amp-mini-app": "1.1.80",
"@walmart/ask-sam-chat-components": "^0.2.7",
- "@walmart/ask-sam-mini-app": "1.22.2",
+ "@walmart/ask-sam-mini-app": "1.22.3",
"@walmart/attendance-mini-app": "3.44.0",
"@walmart/avp-feature-app": "0.5.1",
"@walmart/avp-shared-library": "0.5.2",
--- yarn.lock
@@ -5611,9 +5611,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/ask-sam-mini-app@npm:1.22.2":
- version: 1.22.2
- resolution: "@walmart/ask-sam-mini-app@npm:1.22.2"
+"@walmart/ask-sam-mini-app@npm:1.22.3":
+ version: 1.22.3
+ resolution: "@walmart/ask-sam-mini-app@npm:1.22.3"
dependencies:
apisauce: "npm:^1.1.2"
axios-cache-adapter: "npm:>=2.7.3"
@@ -5660,7 +5660,7 @@ __metadata:
react-native-wm-voice-text: ">=0.3"
reselect: ">=4"
victory-native: ">=36.5"
- checksum: 10c0/c190b07d075b48fd6d6ae8162816bb2df46c9a69e19e555827e21701df34886e043ffce971689bf761775aa8e3bd3107b27673d59b596eefbe8bbb17080269bd
+ checksum: 10c0/9db5eec1c5808f881e13bffb4542f74cbb29a3a24161d58963fe7e799be599801341b70d7a20d5470f6d1ee8762eb5a02866597e70a217e836c846eff871a9b6
languageName: node
linkType: hard
@@ -7708,7 +7708,7 @@ __metadata:
"@walmart/allspark-utils": "npm:6.1.4"
"@walmart/amp-mini-app": "npm:1.1.80"
"@walmart/ask-sam-chat-components": "npm:^0.2.7"
- "@walmart/ask-sam-mini-app": "npm:1.22.2"
+ "@walmart/ask-sam-mini-app": "npm:1.22.3"
"@walmart/attendance-mini-app": "npm:3.44.0"
"@walmart/avp-feature-app": "npm:0.5.1"
"@walmart/avp-shared-library": "npm:0.5.2"
| ask sam - added missing expo files | ask sam - added missing expo files
|
a4893f1b0799ba7eb27390635cd4005307590cea | --- package-lock.json
@@ -4198,9 +4198,9 @@
"integrity": "sha512-EcUV5UbnNZBvacqLesY18XKO/o3G6/k61ocI/ydIIPOhLXRgkiztQqMBE75bYxU7lQkRYtqgxcK3SzvAKP0RoQ=="
},
"@walmart/counts-component-miniapp": {
- "version": "0.0.32",
- "resolved": "https://npme.walmart.com/@walmart/counts-component-miniapp/-/counts-component-miniapp-0.0.32.tgz",
- "integrity": "sha512-AymRaP39YXybYN3VHLVNFMoA8J4XYZbd9JUT+bQOuc5KGf5SQQFMOhrqSd9UENvnbqnTRrfDbBhn/ua7/E54WA=="
+ "version": "0.0.33",
+ "resolved": "https://npme.walmart.com/@walmart/counts-component-miniapp/-/counts-component-miniapp-0.0.33.tgz",
+ "integrity": "sha512-hb70CzmyiRoFe7Hxh50B0kHX8xYHZ0UYc0M4tDJBB/tHD/pmvKqwIGabKaz3N99MtRcAFd0DCfjUOAvTqgxWYg=="
},
"@walmart/exception-mini-app": {
"version": "0.39.10",
--- package.json
@@ -76,7 +76,7 @@
"@walmart/allspark-neon-core": "0.1.25",
"@walmart/ask-sam-mini-app": "0.40.8",
"@walmart/config-components": "1.0.35",
- "@walmart/counts-component-miniapp": "0.0.32",
+ "@walmart/counts-component-miniapp": "0.0.33",
"@walmart/exception-mini-app": "0.39.10",
"@walmart/feedback-all-spark-miniapp": "0.1.26",
"@walmart/functional-components": "1.0.34",
| Counts version bump | Counts version bump
|
41595fde5c167565e5ec0366e8026b3b99bcaa2e | --- package-lock.json
@@ -5027,8 +5027,8 @@
},
"@walmart/OneWalmart-MiniApp": {
"version": "1.0.12",
- "resolved": "https://npme.walmart.com/@walmart/OneWalmart-MiniApp/-/OneWalmart-MiniApp-1.0.11.tgz",
- "integrity": "sha512-+4z1KqCaKdstCSQNd5SVWz/7gWU7IZHSgboWHf8WFJxGM7habDHtGV322q+4HwEdnNwBbp/F8+Jp2+bXFz0ijg==",
+ "resolved": "https://npme.walmart.com/@walmart/OneWalmart-MiniApp/-/OneWalmart-MiniApp-1.0.12.tgz",
+ "integrity": "sha512-QW8uD3fnP0S1sI1SSaOOFdsRhLMrd+nV6VnCDh33s9eTHRiegyi2KYl51N6juKXI7zJXGUuehFla/IA2Ch+VWQ==",
"requires": {
"react-native-fast-image": "^8.5.11"
}
| lock file update | lock file update
|
c2d5b312e2b8edd35e1891d806c33047f1078570 | --- package-lock.json
@@ -5332,9 +5332,9 @@
"integrity": "sha512-7d62eBeJoUnnl5KOoDe+aOxU7C6VpkCM7Bl5iRgg1TMMqmUDM8iI2YDPRppU7hBr134Zbl5aVEGyR/IBQrPRxA=="
},
"@walmart/me-field-mini-app": {
- "version": "1.1.25",
- "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-1.1.25.tgz",
- "integrity": "sha512-+v1lRE+9D5WBcF6W/YPre2kIzcPvPtEp0LXF9BiR45g1bn+DEE871cCIFAQSknsHQsY8ylQoXqqMVVgQjNGZEg=="
+ "version": "1.1.26",
+ "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-1.1.26.tgz",
+ "integrity": "sha512-SmSBNNtoMqkKFkxHoSF3wvYBP52/KmSiP7rtZZKFQAxBi05wefqk4kMW4jl6Z+Y9TU9+7/70T/aL0CE9tbK8lw=="
},
"@walmart/metrics-mini-app": {
"version": "0.9.20",
--- package.json
@@ -98,7 +98,7 @@
"@walmart/inbox-mini-app": "0.57.0",
"@walmart/iteminfo-mini-app": "5.1.4",
"@walmart/manager-approvals-miniapp": "0.1.1",
- "@walmart/me-field-mini-app": "1.1.25",
+ "@walmart/me-field-mini-app": "1.1.26",
"@walmart/metrics-mini-app": "0.9.20",
"@walmart/mod-flex-mini-app": "1.2.2",
"@walmart/moment-walmart": "1.0.4",
| feat: :package: Bump learning mini app version | feat: :package: Bump learning mini app version
|
10b4f897698a6ecad7c70e66c13c18a0a4a3692a | --- .looper.multibranch.yml
@@ -492,9 +492,9 @@ flows:
# @param buildOutput - output file from build
# @param betacrashUrl - url for this build
# @param betacrashPIN - pin for this build
+ # @param BUILD_NUMBER - the build number / version code of the build
slack-success:
- exposeVars(./betacrash.json)
- - echo "Android version code from slack-success ${BUILD_NUMBER}"
- var(MESSAGE_TITLE):
echo "${slackIcon} ${osIcon} ${releaseType} ${version}"
- echo "betacrashUrl ${betacrash.url}"
@@ -548,8 +548,8 @@ flows:
# @param version - the version of the build
# @param buildType - release or snapshot
# @param releaseType
+ # @param BUILD_NUMBER - the build number / version code of the build
slack-failure:
- - echo "Android version code from slack-failure ${BUILD_NUMBER}"
- var(MESSAGE_TITLE):
|
echo ":x: ${osIcon} ${releaseType} BUILD FAILED"
| added comments | added comments
|
2bc7983daf60a60e3c77b5fb72295dd2f16008f9 | --- android/app/build.gradle
@@ -118,7 +118,6 @@ def enableProguardInReleaseBuilds = false
* this variant is about 6MiB larger per architecture than default.
*/
def jscFlavor = 'org.webkit:android-jsc:+'
-def useIntlJsc = false
/**
* Whether to enable the Hermes VM.
@@ -260,14 +259,9 @@ dependencies {
exclude group:'com.facebook.flipper'
}
- if (useIntlJsc) {
- implementation 'org.webkit:android-jsc-intl:+'
- } else {
- implementation 'org.webkit:android-jsc:+'
- }
if (enableHermes) {
- def hermesPath = "../../node_modules/hermesvm/android/";
+ def hermesPath = "../../node_modules/hermes-engine/android/";
debugImplementation files(hermesPath + "hermes-debug.aar")
releaseImplementation files(hermesPath + "hermes-release.aar")
} else {
@@ -292,12 +286,11 @@ apply from: file("../../node_modules/@react-native-community/cli-platform-androi
android {
packagingOptions {
- pickFirst '**/armeabi-v7a/libc++_shared.so'
- pickFirst '**/x86/libc++_shared.so'
- pickFirst '**/arm64-v8a/libc++_shared.so'
- pickFirst '**/x86_64/libc++_shared.so'
- pickFirst '**/x86/libjsc.so'
- pickFirst '**/armeabi-v7a/libjsc.so'
+ pickFirst 'lib/x86/libc++_shared.so'
+ pickFirst 'lib/arm64-v8a/libc++_shared.so'
+ pickFirst 'lib/armeabi-v7a/libc++_shared.so'
+ pickFirst 'lib/x86_64/libc++_shared.so'
+ exclude "**/libjsc.so"
exclude 'META-INF/gradle/incremental.annotation.processors'
}
}
--- android/build.gradle
@@ -18,7 +18,6 @@ buildscript {
maven {
url "https://repository.walmart.com/content/groups/public"
}
- jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
@@ -38,14 +37,7 @@ allprojects {
repositories {
mavenCentral()
mavenLocal()
- maven {
- url "$rootDir/../node_modules/react-native/android"
- }
- maven {
- // Android JSC is installed from npm
- // Android JSC is installed from npm
- url("$rootDir/../node_modules/jsc-android/dist")
- }
+
maven {
// Replace AAR from original RN with AAR from react-native-v8
url("$rootDir/../node_modules/react-native-v8/dist")
--- package-lock.json
@@ -8325,11 +8325,6 @@
}
}
},
- "hermesvm": {
- "version": "0.1.1",
- "resolved": "https://npme.walmart.com/hermesvm/-/hermesvm-0.1.1.tgz",
- "integrity": "sha512-EosSDeUqTTGvlc9vQiy5Y/9GBlucEyo6lYuxg/FnukHCD/CP3NYeDAGV54TyZ19FgSqMEoPgOH9cyxvv8epQ1g=="
- },
"hoist-non-react-statics": {
"version": "3.3.2",
"resolved": "https://npme.walmart.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
--- package.json
@@ -109,11 +109,9 @@
"axios-cache-adapter": "2.7.3",
"crypto-js": "^3.3.0",
"dayjs": "^1.10.5",
- "hermesvm": "^0.1.1",
"i18next": "^19.7.0",
"intl": "^1.2.5",
"javascript-time-ago": "2.3.3",
- "jsc-android": "^250230.2.1",
"jwt-decode": "^3.1.2",
"lodash": "^4.17.20",
"luxon": "^1.26.0",
| exclude some dependency | exclude some dependency
|
34f97419e22d629acb57b63ea823a83e65f5ddbe | --- package-lock.json
@@ -4952,22 +4952,26 @@
}
},
"node_modules/@walmart/feedback-all-spark-miniapp": {
- "version": "0.9.0",
+ "version": "0.9.6",
+ "resolved": "https://npme.walmart.com/@walmart/feedback-all-spark-miniapp/-/feedback-all-spark-miniapp-0.9.6.tgz",
+ "integrity": "sha512-Z3IhewnVPU4c9aGSHuQ8yGe+7Vmf449NX9f/TwH1jcbohpaQtVaYY7nmX25Tis8r7/4Z1Tie7EALvS8J43v7mw==",
+ "hasInstallScript": true,
"peerDependencies": {
"@react-native-community/async-storage": "^1.12.1",
"@react-native-community/datetimepicker": "^6.1.3",
"@react-native-picker/picker": "2.4.2",
"@react-navigation/native": "^6.0.0",
"@react-navigation/stack": "^6.1.0",
- "@walmart/gtp-shared-components": "1.8.5",
+ "@walmart/gtp-shared-components": "1.8.17",
"@walmart/react-native-logger": "^1.17.0",
"@walmart/react-native-shared-navigation": "^0.2.0",
"@walmart/redux-store": "^1.0.12",
- "@walmart/ui-components": "1.4.0-beta.8",
+ "@walmart/ui-components": "1.6.0-rc.1",
"crypto-js": "^3.3.0",
- "react": "^16.13.1",
- "react-native": "^0.67.0",
+ "react": "^18.2.0",
+ "react-native": "0.70.5",
"react-native-background-timer": "^2.4.1",
+ "react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-vector-icons": "^7.0.0",
"react-native-webview": "^11.18.2",
"react-native-wm-telemetry": "^0.2.0",
@@ -17476,6 +17480,28 @@
"react-native": ">=v0.40.0"
}
},
+ "node_modules/react-native-iphone-x-helper": {
+ "version": "1.3.1",
+ "resolved": "https://npme.walmart.com/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.3.1.tgz",
+ "integrity": "sha512-HOf0jzRnq2/aFUcdCJ9w9JGzN3gdEg0zFE4FyYlp4jtidqU03D5X7ZegGKfT1EWteR0gPBGp9ye5T5FvSWi9Yg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react-native": ">=0.42.0"
+ }
+ },
+ "node_modules/react-native-keyboard-aware-scroll-view": {
+ "version": "0.9.5",
+ "resolved": "https://npme.walmart.com/react-native-keyboard-aware-scroll-view/-/react-native-keyboard-aware-scroll-view-0.9.5.tgz",
+ "integrity": "sha512-XwfRn+T/qBH9WjTWIBiJD2hPWg0yJvtaEw6RtPCa5/PYHabzBaWxYBOl0usXN/368BL1XktnZPh8C2lmTpOREA==",
+ "license": "MIT",
+ "dependencies": {
+ "prop-types": "^15.6.2",
+ "react-native-iphone-x-helper": "^1.0.3"
+ },
+ "peerDependencies": {
+ "react-native": ">=0.48.4"
+ }
+ },
"node_modules/react-native-linear-gradient": {
"version": "2.6.2",
"license": "MIT",
--- package.json
@@ -88,7 +88,7 @@
"@walmart/emergency-mini-app": "1.2.0",
"@walmart/exception-mini-app": "0.43.1",
"@walmart/facilities-management-miniapp": "0.3.26",
- "@walmart/feedback-all-spark-miniapp": "0.9.0",
+ "@walmart/feedback-all-spark-miniapp": "0.9.6",
"@walmart/financial-wellbeing-feature-app": "1.0.29",
"@walmart/functional-components": "2.0.6",
"@walmart/gta-react-native-calendars": "0.0.15",
@@ -167,6 +167,7 @@
"react-native-image-pan-zoom": "^2.1.12",
"react-native-image-picker": "4.10.0",
"react-native-image-resizer": "1.4.5",
+ "react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-linear-gradient": "2.6.2",
"react-native-loudness": "^2.0.0",
"react-native-maps": "^1.3.2",
| Updated react native version to 70 and added peer dependency keyboard aware scrollview | Updated react native version to 70 and added peer dependency keyboard aware scrollview
|
da2ff19c7d3c6d65fb7a914c9d946acd48bb6a36 | --- app.config.US.ts
@@ -43,19 +43,13 @@ const CONFIG: ExpoConfig = {
adaptiveIcon: {
foregroundImage: AppVariant.select({
prod: `${__dirname}/assets/images/adaptive-icon-foreground.png`,
- beta: `${__dirname}/assets/images/adaptive-icon-foreground-beta.png`,
- teflon: `${__dirname}/assets/images/adaptive-icon-foreground-teflon.png`,
- dev: `${__dirname}/assets/images/adaptive-icon-foreground-dev.png`,
- default: `${__dirname}/assets/images/adaptive-icon-foreground-dev.png`,
+ default: `${__dirname}/assets/images/adaptive-icon-foreground-nonprod.png`,
}),
backgroundColor: '#FFFFFF',
},
icon: AppVariant.select({
prod: `${__dirname}/assets/images/icon.png`,
- beta: `${__dirname}/assets/images/icon-beta.png`,
- teflon: `${__dirname}/assets/images/icon-teflon.png`,
- dev: `${__dirname}/assets/images/icon-dev.png`,
- default: `${__dirname}/assets/images/icon-dev.png`,
+ default: `${__dirname}/assets/images/icon-nonprod.png`,
}),
versionCode: Number(buildNumber),
config: {
@@ -82,10 +76,7 @@ const CONFIG: ExpoConfig = {
},
icon: AppVariant.select({
prod: `${__dirname}/assets/images/icon.png`,
- beta: `${__dirname}/assets/images/icon-beta.png`,
- teflon: `${__dirname}/assets/images/icon-teflon.png`,
- dev: `${__dirname}/assets/images/icon-dev.png`,
- default: `${__dirname}/assets/images/icon-dev.png`,
+ default: `${__dirname}/assets/images/icon-nonprod.png`,
}),
ios: {
// appleTeamId: "F7HDEWM8SU", // Not supported until SDK 52. Requiring withDevelopmentTeam plugin for now.
@@ -246,10 +237,7 @@ const CONFIG: ExpoConfig = {
{
'image': AppVariant.select({
prod: `${__dirname}/assets/images/adaptive-icon-foreground.png`,
- beta: `${__dirname}/assets/images/adaptive-icon-foreground-beta.png`,
- teflon: `${__dirname}/assets/images/adaptive-icon-foreground-teflon.png`,
- dev: `${__dirname}/assets/images/adaptive-icon-foreground-dev.png`,
- default: `${__dirname}/assets/images/adaptive-icon-foreground-dev.png`,
+ default: `${__dirname}/assets/images/adaptive-icon-foreground-nonprod.png`,
}),
'resizeMode': 'contain',
'backgroundColor': '#002242',
--- assets/images/adaptive-icon-foreground-beta.png
Binary files a/assets/images/adaptive-icon-foreground-beta.png and /dev/null differ
--- assets/images/adaptive-icon-foreground-dev.png
Binary files a/assets/images/adaptive-icon-foreground-dev.png and /dev/null differ
--- assets/images/adaptive-icon-foreground-nonprod.png
Binary files /dev/null and b/assets/images/adaptive-icon-foreground-nonprod.png differ
--- assets/images/adaptive-icon-foreground-teflon.png
Binary files a/assets/images/adaptive-icon-foreground-teflon.png and /dev/null differ
--- assets/images/icon-beta.png
Binary files a/assets/images/icon-beta.png and /dev/null differ
--- assets/images/icon-dev.png
Binary files a/assets/images/icon-dev.png and /dev/null differ
--- assets/images/icon-nonprod.png
Binary files /dev/null and b/assets/images/icon-nonprod.png differ
--- assets/images/icon-teflon.png
Binary files a/assets/images/icon-teflon.png and /dev/null differ
| feat: add nonprod icons and replace with previous (#4631) | feat: add nonprod icons and replace with previous (#4631)
|
c1c45bebac25d1865b8032a65f7e2c941502735d | --- docs/docs/components/allspark foundation/services/foundation-location.md
@@ -1,118 +0,0 @@
----
-sidebar_position: 9
-title: Location Service
-custom_edit_url: null
----
-
-# Location Service
-
-The Allspark Location Service is a dynamic container service, meaning it's defined by the container app. It provides a set of APIs which can be used to retrieve information about device's location, such as coordinates and a timestamp. It also ensures that permission is recieved from the user before requesting location information from the device.
-
-## Container Usage
-
-A container should define the Location Service and connect it to the Allspark Ecosystem.
-
-### Define a Location Service
-
-A Location Service must match the `AllsparkLocationService` interface. You can define it as a class or an object, whichever you prefer.
-
-```typescript
-import { AllsparkLocationService } from '@walmart/allspark-foundation/Location';
-
-// As a class
-export class MyAppLocationService implements AllsparkLocationService {
- // ... implement methods
-}
-
-// As an object
-export const MyAppLocationService: AllsparkLocationService = {
- // ... implement methods
-};
-```
-
-### Connect a Location Service
-
-A "connected" Location Service means that its methods automatically update redux state and dispatch actions. Also, its methods can be called via redux by dispatching LocationActions from `@walmart/allspark-foundation/Location`.
-
-A Location Service can be connected to the Allspark Ecosystem in two ways.
-
-#### Using `LocationServiceCreator`
-
-The `LocationServiceCreator` method is a factory method that creates a Location Service. It ensures that the service matches the `AllsparkLocationService` interface and connects the service to the container.
-
-```typescript
-import { LocationServiceCreator } from '@walmart/allspark-foundation/Location';
-
-const MyAppLocationService = LocationServiceCreator(MyAppLocationService);
-```
-
-#### Using `AllsparkContainer`
-
-If a Location Service is not created using `LocationServiceCreator`, it will be connected by the container when the container is created.
-
-```typescript
-import { AllsparkContainer } from '@walmart/allspark-foundation';
-
-const MyAppContainer = new AllsparkContainer('my-app', {
- services: {
- location: MyAppLocationService,
- // ... remaining services
- }
-});
-```
-
-### Recommended Usage
-
-We recommend using the `LocationServiceCreator` method to create the Location Service when possible. This ensures the service matches the `AllsparkLocationService` interface and connects the service to the container.
-
-However, its possible you need access to the "raw" service instance within your container. In this case, you can define the "raw" service then create a "connected" service using `LocationServiceCreator`.
-
-Now you have options. You can use either type of service depending on your needs.
-
-```typescript
-import { LocationServiceCreator } from '@walmart/allspark-foundation/Location';
-
-export const MyAppLocationService = {
- // ... implement methods
-}
-
-export const MyAppConnectedLocationService = LocationServiceCreator(MyAppLocationService);
-```
-
-## Accessing Location Service
-
-The Location Service should only be directly used by the container. So with that in mind, the container can just directly use the service or connected service it defined in the previous step.
-
-```typescript
-import { MyAppLocationService, MyAppConnectedLocationService } from './LocationService';
-
-// "Raw service". Does not update redux.
-MyAppLocationService.refreshToken(...);
-
-// "Connected service". Updates redux.
-MyAppConnectedLocationService.refreshToken(...);
-```
-
-### Library Access
-
-Its possible that you need to access the Location Service from somewhere other than where the container is defined.
-
-In these cases, you can have two options:
-
-#### Global `LocationService`
-
-You can import the global `LocationService` directly from `@walmart/allspark-foundation/Location`. This is the "connected" service defined by the current container.
-
-Due to its global nature, this instance is not set until the container is created. Internally it will delay the method call until the service is defined. It should work as expected, but be aware of this behavior.
-
-#### `useContainerService` Hook
-
-The `useContainerService` hook from `@walmart/allspark-foundation/Container` can be used to access any dynamically defined service from the current container.
-
-This type of access is safer and more predictable since it's used within the component context. The service should always be defined by the time the hook is called.
-
-```typescript
-import { useContainerService } from '@walmart/allspark-foundation/Container';
-
-const LocationService = useContainerService('location');
-```
| Deleting location service docs. | Deleting location service docs.
|
62cf28e56fd73ec683045e55fec4f16cf6076434 | --- .looper-pr.yml
@@ -31,3 +31,4 @@ envs:
AUTHOR: temp
SLACK_CHANNEL: "smdv-miniapp"
+
| feat(ui): update looper | feat(ui): update looper
|
7ad9f1db123673693b8a886146c496d195f18fe5 | --- package-lock.json
@@ -4702,9 +4702,9 @@
"integrity": "sha512-kGPI7/o+3DiIAhMTyPco72J7ftlJLPO/Eh+W2aCnFEHlH6ngKIOUrX3xSK8Lm9rBVWL3q2ZGzqCqsJXjwJW5ww=="
},
"@walmart/inbox-mini-app": {
- "version": "0.39.0",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.39.0.tgz",
- "integrity": "sha512-A4ha9LfzNcDRdsD57QW1VZCtWY/mMGXZ3ft340AgJ0tvN0WibQaHV2GUlDLcNKt4RxnULYtXVa+B+tgAXbsbmw=="
+ "version": "0.40.0",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.40.0.tgz",
+ "integrity": "sha512-kxXb3Ol4xF1vvFOqgNxB7kis3gDAFZX/mwTHdMEkgv5f5LHPzRbueDalKkDKm/OGaMy7y6jHA6vxEXY73KgqxA=="
},
"@walmart/iteminfo-mini-app": {
"version": "4.2.3",
@@ -4828,7 +4828,7 @@
"@walmart/react-native-collapsible": {
"version": "1.5.3",
"resolved": "https://npme.walmart.com/@walmart/react-native-collapsible/-/react-native-collapsible-1.5.3.tgz",
- "integrity": "sha512-A/eHjceqHN2FJVaimSrKO/wIHgP5ymIoiyTMRa10ce8NZ7ejhPelIkCqzwjvQ328HG38y7HPelvu/6xlsiFlUQ==",
+ "integrity": "sha1-XoOvTwTbUqaib/9Ii//qp9yNBQk=",
"requires": {
"prop-types": "^15.6.2"
}
@@ -20104,7 +20104,7 @@
"squiggly-localization": {
"version": "0.0.2",
"resolved": "https://npme.walmart.com/squiggly-localization/-/squiggly-localization-0.0.2.tgz",
- "integrity": "sha512-9j/XUl0XvLk5wksN/nhOcRHmHesVHopX7v3Z1Hv398/656CLarKW0FAqL28zjKO68YH566s8PM1gflrAayBuMA=="
+ "integrity": "sha1-3ksz5Io53VPnUBiRSVDpxDaSGHU="
},
"sshpk": {
"version": "1.16.1",
@@ -21551,7 +21551,7 @@
"react-native-ssmp-sso-allspark": {
"version": "0.0.1-rc8",
"resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-0.0.1-rc8.tgz",
- "integrity": "sha512-4ZWTteIvddzP7Lg3EM0KP1fDfcN8nx7v5yvHASCLUpoZvhxHQUkjj8uTt4TkJxvTuEK16w7mTwHDauTrIC/BJg=="
+ "integrity": "sha1-/SHw48C+3muBMp2bynExhYPZl0s="
},
"reduxsauce": {
"version": "1.2.1",
@@ -21665,7 +21665,7 @@
"wm-react-native-vector-icons": {
"version": "1.0.33",
"resolved": "https://npme.walmart.com/wm-react-native-vector-icons/-/wm-react-native-vector-icons-1.0.33.tgz",
- "integrity": "sha512-pAcEq6iOVxzKM55qucKOkh2ML3kii4yGJ5YdmMEOcRAGH4fQ1lHa7BETIl+jzX5n1ZVKgWkzmAiH3vw0nkuklQ==",
+ "integrity": "sha1-vIAL0WOWBBaAsIuacYHnzsxTQxk=",
"requires": {
"lodash": "^4.0.0",
"prop-types": "^15.6.2",
--- package.json
@@ -86,7 +86,7 @@
"@walmart/gtp-shared-components": "1.6.0",
"@walmart/impersonation-mini-app": "1.1.0",
"@walmart/ims-print-services-ui": "0.1.34",
- "@walmart/inbox-mini-app": "0.39.0",
+ "@walmart/inbox-mini-app": "0.40.0",
"@walmart/iteminfo-mini-app": "4.2.3",
"@walmart/manager-approvals-miniapp": "0.0.60",
"@walmart/metrics-mini-app": "0.8.1",
| Badge issue fix for inbox | Badge issue fix for inbox
|
ccdaefc3be7b6cc7e58fa6251253a1a5ff6c843a | --- packages/allspark-foundation/src/User/types.ts
@@ -36,6 +36,7 @@ export interface User {
upn?: string;
teams?: Team[];
preferences?: Record<string, string | number | boolean>;
+ shift?: Record<string, string | number>;
// ??
displayName?: string;
emailId?: string;
| chore: update user type to include shift | chore: update user type to include shift
|
06c857ebe59984c89d0bd9f96a5a96ded0680a92 | --- packages/associate-exp-hub-hub/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [2.21.0](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-hub@2.20.0...@walmart/associate-exp-hub-hub@2.21.0) (2025-12-19)
+
+### Features
+
+- **ui:** update tests ([41db80a](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/commit/41db80a444f73e84b2c62bfd87a4f833c18bb524))
+
# [2.20.0](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-hub@2.19.1...@walmart/associate-exp-hub-hub@2.20.0) (2025-12-19)
### Features
--- packages/associate-exp-hub-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-hub",
- "version": "2.20.0",
+ "version": "2.21.0",
"description": "Hub Framework module for Associate Experience Hub - can be moved to @walmart/my-walmart-hub",
"packageManager": "yarn@4.6.0",
"engines": {
--- packages/associate-exp-hub-mini-app/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.13.3](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.13.2...@walmart/associate-exp-hub-mini-app@1.13.3) (2025-12-19)
+
+**Note:** Version bump only for package @walmart/associate-exp-hub-mini-app
+
## [1.13.2](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.13.1...@walmart/associate-exp-hub-mini-app@1.13.2) (2025-12-19)
**Note:** Version bump only for package @walmart/associate-exp-hub-mini-app
--- packages/associate-exp-hub-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-mini-app",
- "version": "1.13.2",
+ "version": "1.13.3",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/associate-exp-hub-team-switcher/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [2.23.0](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.22.2...@walmart/associate-exp-hub-team-switcher@2.23.0) (2025-12-19)
+
+### Features
+
+- **ui:** update tests ([41db80a](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/commit/41db80a444f73e84b2c62bfd87a4f833c18bb524))
+
## [2.22.2](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.22.1...@walmart/associate-exp-hub-team-switcher@2.22.2) (2025-12-19)
**Note:** Version bump only for package @walmart/associate-exp-hub-team-switcher
--- packages/associate-exp-hub-team-switcher/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-team-switcher",
- "version": "2.22.2",
+ "version": "2.23.0",
"description": "Team Switcher module for Associate Experience Hub",
"packageManager": "yarn@4.6.0",
"engines": {
| chore(version): updating package version | chore(version): updating package version
- @walmart/associate-exp-hub-hub@2.21.0
- @walmart/associate-exp-hub-mini-app@1.13.3
- @walmart/associate-exp-hub-team-switcher@2.23.0
|
fd629799045f5d07c6a247053353e8ab888c13d8 | --- src/containers/Message/index.tsx
@@ -23,11 +23,13 @@ const styles = StyleSheet.create({
message: {
maxWidth: MESSAGE_WIDTH,
},
- deletedMessageStyles: {
- color: '#74767C', // TODO - we have to use colors from the gtp-shared-components library
- fontSize: 12,
- lineHeight: 16,
- },
+ // TODO - Need to add style for deleted message bubble
+ // deletedMessageStyles: {
+ // color: '#74767C', // TODO - we have to use colors from the gtp-shared-components library
+ // color: 'red',
+ // fontSize: 12,
+ // lineHeight: 16,
+ // },
alignStart: {
alignItems: 'flex-start',
alignSelf: 'flex-start',
--- src/containers/Message/index.tsx
@@ -23,11 +23,13 @@ const styles = StyleSheet.create({
message: {
maxWidth: MESSAGE_WIDTH,
},
- deletedMessageStyles: {
- color: '#74767C', // TODO - we have to use colors from the gtp-shared-components library
- fontSize: 12,
- lineHeight: 16,
- },
+ // TODO - Need to add style for deleted message bubble
+ // deletedMessageStyles: {
+ // color: '#74767C', // TODO - we have to use colors from the gtp-shared-components library
+ // color: 'red',
+ // fontSize: 12,
+ // lineHeight: 16,
+ // },
alignStart: {
alignItems: 'flex-start',
alignSelf: 'flex-start',
| Saving as is | Saving as is
|
1333f4eba0bb03ffb9481bcbe5d4c3be45dc7fa2 | --- ios/Podfile
@@ -22,16 +22,6 @@ source 'https://github.com/CocoaPods/Specs.git'
Pod::UI.puts "Flipper enabed: #{ENV['NO_FLIPPER'] == '1' ? 'false' : 'true'}"
# production = ENV["PRODUCTION"] == "1"
-def fix_hermes(app_name)
- path = "Pods/Target Support Files/Pods-" + app_name + "/Pods-" + app_name + "-frameworks.sh"
- lines = File.readlines(path)
- lines.insert(181, ' install_framework "${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/hermes.framework"'+"\n")
- lines.insert(183, 'if [[ "$CONFIGURATION" == "Release" ]]; then'+"\n")
- lines.insert(184, ' install_framework "${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/hermes.framework"'+"\n")
- lines.insert(185, "fi\n")
- File.write(path, lines.join, mode: "w")
- puts "Hermes fixed"
-end
target 'AllSpark' do
config = use_native_modules!
@@ -85,6 +75,5 @@ target 'AllSpark' do
:mac_catalyst_enabled => false
)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
- fix_hermes('AllSpark')
end
end
--- src/index.tsx
@@ -26,8 +26,63 @@ import {CoreLoggerProvider} from './core/Logger';
import {TelemetryRef} from './core/Telemetry';
import {NavigationTheme} from './core/AllsparkTheme';
import {LocalStorageRef} from './core/LocalStorage';
+import { UserSelectors } from "@walmart/redux-store";
+import { useSelector } from "react-redux";
-const AllsparkRecipe = {env} as AllsparkInputRecipe;
+const AllsparkRecipe = { env } as AllsparkInputRecipe;
+
+const linking = {
+ prefixes: ["meatwmt://"],
+ config: {
+ screens: {
+ main: {
+ screens: {
+ mainStack: {
+ screens: {
+ Settings: {
+ screens: {
+ CellularDataSaver: "data/:off",
+ },
+ },
+ tabs: {
+ screens: {
+ home: {
+ path: "somehome",
+ screens: {
+ AnniversaryListScreen: "savan/:id",
+ "home.root": "homeroot",
+ },
+ },
+ },
+ },
+ },
+ },
+ },
+ },
+ },
+ },
+};
+
+const AllsparkNav = () => {
+ const userId = useSelector(UserSelectors.getOriginalUserId);
+ return (
+ <>
+ <NavigationContainer
+ {...navContainerProps}
+ linking={userId ? linking : undefined}
+ theme={NavigationTheme}
+ >
+ <StatusBar
+ translucent
+ backgroundColor="transparent"
+ barStyle="light-content"
+ />
+ <RootNav />
+ <UpdateVersionModal />
+ </NavigationContainer>
+ </>
+ );
+};
export const App = () => (
<SafeAreaProvider>
@@ -38,15 +93,7 @@ export const App = () => (
<LocalStorageConsumer ref={LocalStorageRef} />
<AuthConsumer ref={AuthRef} />
<CoreLoggerProvider>
- <NavigationContainer {...navContainerProps} theme={NavigationTheme}>
- <StatusBar
- translucent
- backgroundColor='transparent'
- barStyle='light-content'
- />
- <RootNav />
- <UpdateVersionModal />
- </NavigationContainer>
+ <AllsparkNav />
</CoreLoggerProvider>
</AllsparkCoreServices>
</LivingDesignProvider>
--- src/navigation/AssociateHallwayNav/Tabs/HomeStackNav.tsx
@@ -1,6 +1,6 @@
-import React from 'react';
+import React, {useEffect} from 'react';
import {useSelector} from 'react-redux';
-import {View, StyleSheet, TouchableOpacity} from 'react-native';
+import {View, StyleSheet, TouchableOpacity, Linking} from 'react-native';
import {createStackNavigator} from '@react-navigation/stack';
import {NavigationProp, useNavigation} from '@react-navigation/native';
@@ -86,6 +86,17 @@ export const HomeStackNav = () => {
const inboxHeaderEnabled = useSelector(getInboxHeaderEnabled);
const user = useSelector(UserSelectors.getUser);
+ useEffect(() => {
+ Linking.getInitialURL()
+ .then((data) => {
+ console.log("data savan", { data });
+ if (data && data.includes('meatwmt')) { // possibly check exact URi to avoid conflict with notification.
+ Linking.openURL(data);
+ }
+ })
+ .catch(console.log);
+ }, []);
+
if (!user) {
return (
<View style={styles.loadingView}>
| second commit | second commit
|
18f7fc793db4bb20cbd8a93dc50d504ac7fe2be7 | --- package.json
@@ -90,9 +90,9 @@
"@walmart/react-native-logger": "1.35.0",
"@walmart/react-native-scanner-3.0": "0.10.4",
"@walmart/react-native-sumo-sdk": "2.8.0",
- "@walmart/roster-mini-app": "3.11.0",
+ "@walmart/roster-mini-app": "3.16.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "3.8.0",
+ "@walmart/wmconnect-mini-app": "3.9.0",
"babel-jest": "^29.6.3",
"chance": "^1.1.11",
"crypto-js": "~4.2.0",
--- yarn.lock
@@ -7606,9 +7606,9 @@ __metadata:
"@walmart/react-native-logger": "npm:1.35.0"
"@walmart/react-native-scanner-3.0": "npm:0.10.4"
"@walmart/react-native-sumo-sdk": "npm:2.8.0"
- "@walmart/roster-mini-app": "npm:3.11.0"
+ "@walmart/roster-mini-app": "npm:3.16.0"
"@walmart/ui-components": "npm:1.15.1"
- "@walmart/wmconnect-mini-app": "npm:3.8.0"
+ "@walmart/wmconnect-mini-app": "npm:3.9.0"
babel-jest: "npm:^29.6.3"
chance: "npm:^1.1.11"
crypto-js: "npm:~4.2.0"
@@ -7714,9 +7714,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:3.11.0":
- version: 3.11.0
- resolution: "@walmart/roster-mini-app@npm:3.11.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2F%40walmart%2Froster-mini-app-3.11.0.tgz"
+"@walmart/roster-mini-app@npm:3.16.0":
+ version: 3.16.0
+ resolution: "@walmart/roster-mini-app@npm:3.16.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2F%40walmart%2Froster-mini-app-3.16.0.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=7.12.0"
"@walmart/gtp-shared-components-3": "*"
@@ -7728,7 +7728,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/2d18a78e1f2759143553b47ff99b53895d541c144b6685885c9b169116c4562a94332671dda6b7fd60d3f1da95372b3aa530e151683ddf5e85699e2a06f2f890
+ checksum: 10c0/8f6d05c3e373910195ef3849a2f2d7d752f97bc4eb8d251d031f6754a1cafda52d0438415e211be9c348b86d64252e9e16cb89aafb02b91bde2ad91b90e20b2b
languageName: node
linkType: hard
@@ -7752,9 +7752,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:3.8.0":
- version: 3.8.0
- resolution: "@walmart/wmconnect-mini-app@npm:3.8.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.8.0.tgz"
+"@walmart/wmconnect-mini-app@npm:3.9.0":
+ version: 3.9.0
+ resolution: "@walmart/wmconnect-mini-app@npm:3.9.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.9.0.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=7.12.0"
expo: ~53.0.20
@@ -7765,7 +7765,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/0248399c5505154292b79e49f46e8324f9c75b86649aa6359e15e2a5305d5d9fc2a995e60d63c88788bcd794ad912d6bafe10f9f90a767f49208d730ec7c2392
+ checksum: 10c0/4869bc24021a25ac355f2a1ff8a0e08016173a4d00e5d9c21c01037e268152a3369a52acfbcf464cbdcb617461f0c9a3cb270a04c89801feb391144f93dced6d
languageName: node
linkType: hard
| feat(ui): bumped roster and wmconnect versions | feat(ui): bumped roster and wmconnect versions
|
842bd7cb415bfa8178356ffca2e2a232f0a41745 | --- packages/expo-config-plugins/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.11.3](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/expo-config-plugins@0.11.2...@walmart/expo-config-plugins@0.11.3) (2025-12-30)
+
+### Bug Fixes
+
+- **ci:** remove android description from emm plugin ([#555](https://gecgithub01.walmart.com/allspark/allspark/issues/555)) ([3b0894a](https://gecgithub01.walmart.com/allspark/allspark/commit/3b0894ae6d6b42c93de617f0d87d5207a84f79e0))
+
## [0.11.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/expo-config-plugins@0.11.1...@walmart/expo-config-plugins@0.11.2) (2025-12-29)
### Bug Fixes
--- packages/expo-config-plugins/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/expo-config-plugins",
- "version": "0.11.2",
+ "version": "0.11.3",
"description": "Expo config plugins for me@apps",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
- @walmart/expo-config-plugins@0.11.3
|
2ac31cc74b6e1a63138da2e9c15ba6ac5ae7a03e | --- __tests__/AppTest.tsx
@@ -13,9 +13,6 @@ jest.mock('../env', () => ({
jest.mock('../src/core/Auth', () => ({
AuthRef: {current: {}},
}));
-// jest.mock('../src/core/Logger', () => ({
-// CoreLoggerProvider: 'CoreLoggerProvider',
-// }));
jest.mock('../src/core/Telemetry', () => ({
TelemetryRef: {current: {}},
}));
--- android/package-lock.json
@@ -0,0 +1,6 @@
+{
+ "name": "android",
+ "lockfileVersion": 2,
+ "requires": true,
+ "packages": {}
+}
--- ios/Podfile.lock
@@ -1609,7 +1609,6 @@ DEPENDENCIES:
- "RNFlashList (from `../node_modules/@shopify/flash-list`)"
- RNFS (from `../node_modules/react-native-fs`)
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
- - RNInAppBrowser (from `../node_modules/react-native-inappbrowser-reborn`)
- RNImageCropPicker (from `../node_modules/react-native-image-crop-picker`)
- RNInAppBrowser (from `../node_modules/react-native-inappbrowser-reborn`)
- RNPermissions (from `../node_modules/react-native-permissions`)
@@ -1623,7 +1622,6 @@ DEPENDENCIES:
- RNVectorIcons (from `../node_modules/react-native-vector-icons`)
- "topstock-mini-app (from `../node_modules/@walmart/topstock-mini-app`)"
- VisionCamera (from `../node_modules/react-native-vision-camera`)
- - "vizpick-mini-app (from `../node_modules/@walmart/topstock-mini-app`)"
- "walmart-react-native-sumo-sdk (from `../node_modules/@walmart/react-native-sumo-sdk`)"
- wifi-store-locator (from `../node_modules/wifi-store-locator`)
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
@@ -1900,8 +1898,6 @@ EXTERNAL SOURCES:
:path: "../node_modules/@walmart/topstock-mini-app"
VisionCamera:
:path: "../node_modules/react-native-vision-camera"
- vizpick-mini-app:
- :path: "../node_modules/@walmart/topstock-mini-app"
walmart-react-native-sumo-sdk:
:path: "../node_modules/@walmart/react-native-sumo-sdk"
wifi-store-locator:
--- src/index.tsx
@@ -58,7 +58,6 @@ export class BaseApp extends Component {
codePush
.getUpdateMetadata(codePush.UpdateState.PENDING)
.then((update) => {
- console.log('getUpdateMetadata called', update);
Logger.info('Codepush: Update installed', {
updateLabel: update?.label ?? '',
});
| cleanup | cleanup
|
e60e4ecd2cbc68dde9edd2bb3eb27db843dab701 | --- src/queries/schema.types.ts
@@ -2055,6 +2055,7 @@ export type Event = {
type?: Maybe<Scalars['String']>;
};
+// eslint-disable-next-line no-shadow
export enum EventType {
// eslint-disable-next-line no-shadow
Birthday = 'BIRTHDAY',
@@ -4649,6 +4650,7 @@ export type RelocationAreasResult = {
total?: Maybe<Scalars['Int']>;
};
+// eslint-disable-next-line no-shadow
export enum RelocationPreference {
No = 'NO',
Yes = 'YES',
--- src/queries/schema.types.ts
@@ -2055,6 +2055,7 @@ export type Event = {
type?: Maybe<Scalars['String']>;
};
+// eslint-disable-next-line no-shadow
export enum EventType {
// eslint-disable-next-line no-shadow
Birthday = 'BIRTHDAY',
@@ -4649,6 +4650,7 @@ export type RelocationAreasResult = {
total?: Maybe<Scalars['Int']>;
};
+// eslint-disable-next-line no-shadow
export enum RelocationPreference {
No = 'NO',
Yes = 'YES',
| suppress remaining lint warnings | suppress remaining lint warnings
|
4666eec4bae5c345b100eacd4ca242f8ff5700fe | --- package-lock.json
@@ -80,7 +80,7 @@
"@walmart/schedule-mini-app": "0.35.0",
"@walmart/settings-mini-app": "1.18.1",
"@walmart/shelfavailability-mini-app": "1.5.13",
- "@walmart/taskit-mini-app": "2.34.5",
+ "@walmart/taskit-mini-app": "2.34.6",
"@walmart/time-clock-mini-app": "2.85.2",
"@walmart/topstock-mini-app": "1.0.5",
"@walmart/ui-components": "1.11.1",
@@ -6044,9 +6044,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "2.34.5",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.34.5.tgz",
- "integrity": "sha512-IWoGddk9c80OZ/tE++GUPlkCfzkwUxg+2py0wT95spkW00P1+CXoPeiD5Ot0Qakt4oyMoENO60wOiv8WpjoT4g==",
+ "version": "2.34.6",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.34.6.tgz",
+ "integrity": "sha512-GDmU5IzowGxYAAekJQs5ZfiWvsClAR1Dzp1ydc3wfB6X3OXbxGEA2KPo4odxTDCZcm785LY+IKzZQwjCWnLByw==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
@@ -25490,9 +25490,9 @@
"version": "1.5.13"
},
"@walmart/taskit-mini-app": {
- "version": "2.34.5",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.34.5.tgz",
- "integrity": "sha512-IWoGddk9c80OZ/tE++GUPlkCfzkwUxg+2py0wT95spkW00P1+CXoPeiD5Ot0Qakt4oyMoENO60wOiv8WpjoT4g=="
+ "version": "2.34.6",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.34.6.tgz",
+ "integrity": "sha512-GDmU5IzowGxYAAekJQs5ZfiWvsClAR1Dzp1ydc3wfB6X3OXbxGEA2KPo4odxTDCZcm785LY+IKzZQwjCWnLByw=="
},
"@walmart/tcnumber": {
"version": "2.3.3",
--- package.json
@@ -122,7 +122,7 @@
"@walmart/schedule-mini-app": "0.35.0",
"@walmart/settings-mini-app": "1.18.1",
"@walmart/shelfavailability-mini-app": "1.5.13",
- "@walmart/taskit-mini-app": "2.34.5",
+ "@walmart/taskit-mini-app": "2.34.6",
"@walmart/time-clock-mini-app": "2.85.2",
"@walmart/topstock-mini-app": "1.0.5",
"@walmart/ui-components": "1.11.1",
| updated taskit version | updated taskit version
|
47819331e1ca89b4464dcf9ccb81039351352b42 | --- __tests__/PinAccess/PinAccessScreenTest.tsx
@@ -122,18 +122,6 @@ describe('PinAccess', () => {
expect(setStoredPin).toHaveBeenCalledWith(pinCode);
});
- it('renders as a Modal for PinScreenModal component', async () => {
- defaultStateMock();
-
- let component: ReactTestRenderer;
- await act(async () => {
- component = create(
- <PinAccess {...baseProps} route={{name: 'PinAccessModal'}} />,
- );
- expect(component.toJSON()).toMatchSnapshot();
- });
- });
-
describe('Events', () => {
defaultStateMock({dialogState: dialogConfig});
(EncryptedStorage.getItem as jest.Mock).mockResolvedValueOnce(pinCode);
--- __tests__/PinAccess/__snapshots__/PinAccessScreenTest.tsx.snap
@@ -89,5 +89,3 @@ exports[`PinAccess entry flow; no existing passcode 1`] = `
/>
</View>
`;
-
-exports[`PinAccess renders as a Modal for PinScreenModal component 1`] = `null`;
| Removing uneeded test | Removing uneeded test
|
9bb78260169cffc56e9d8300bdcb537b9629d725 | --- .looper.multibranch.yml
@@ -60,7 +60,7 @@ flows:
pr:
- call: mini-pr
- call: sonar-scan-pr
- - (name Scanning Walmart Packages) npm run scan:changed-walmart-libs
+ - (name Scanning Walmart Packages) ./scripts/mini-app-scan/scan-changed-walmart-libs.sh ${GITHUB_PR_TARGET_BRANCH}
- call: slack-notification-pr(slack-pr)
mini-pr: # overridden for new bundle js command
--- package.json
@@ -35,7 +35,6 @@
"prebuild": "ts-node scripts/runWithVariablePrompt.ts 'expo prebuild --clean' --skipContext",
"run:ios": "ts-node scripts/runWithVariablePrompt.ts 'expo run:ios'",
"run:android": "ts-node scripts/runWithVariablePrompt.ts 'expo run:android'",
- "scan:changed-walmart-libs": "bash ./scripts/mini-app-scan/scan-changed-walmart-libs.sh",
"test": "jest --no-watchman",
"update:snapshots": "jest --no-watchman -u",
"verifyBranchName": "bash ./scripts/verifyBranchName.sh",
--- scripts/mini-app-scan/scan-changed-walmart-libs.sh
@@ -4,8 +4,12 @@
cd "$(dirname "$0")/../.."
set -e
+# Use first argument as comparison branch, default to origin/main
+COMPARE_BRANCH="${1:-origin/main}"
+echo "Comparing package.json to $COMPARE_BRANCH..."
+
# Get changed lines in package.json (added/removed/modified)
-git diff package.json | grep '^[-+]\s*"@walmart/' | sed 's/[",]//g' | awk -F'@walmart/' '{print $2}' | awk -F: '{print $1}' | awk '{print $1}' | sort | uniq > /tmp/changed_walmart_libs.txt
+git diff "$COMPARE_BRANCH" -- package.json | grep '^[-+]\s*"@walmart/' | sed 's/[",]//g' | awk -F'@walmart/' '{print $2}' | awk -F: '{print $1}' | awk '{print $1}' | sort | uniq > /tmp/changed_walmart_libs.txt
changed_libs=()
while IFS= read -r lib; do
| fix: scan script was not detecting changes due to no branch specified for comparison | fix: scan script was not detecting changes due to no branch specified for comparison
|
500b4874eee2d603e4d89b6504e876136735e021 | --- container/i18nInit.ts
@@ -1,18 +0,0 @@
-import i18n from 'i18next';
-import {initReactI18next} from 'react-i18next';
-import 'intl-pluralrules'
-import {enUS} from "../src/translations/en-US";
-import {esMX} from "../src/translations/es-MX";
-
-export const initI18n = () => {
- i18n.use(initReactI18next).init({
- lng: 'en-US',
- fallbackLng: 'en-US',
- ns: ['common'],
- defaultNS: 'common',
- resources: {
- 'en-US': enUS,
- 'es-MX': esMX,
- },
- });
-};
--- container/index.tsx
@@ -1,5 +1,5 @@
-import React, { useEffect } from 'react';
-import {StatusBar, StyleSheet} from 'react-native';
+import React, {useEffect, useState} from 'react';
+import {StatusBar, StyleSheet, Text, View} from 'react-native';
import {SafeAreaView} from 'react-native-safe-area-context';
import {NavigationContainer, ParamListBase} from '@react-navigation/native';
import {navContainerProps} from '@walmart/react-native-shared-navigation';
@@ -18,22 +18,36 @@ import env from './env';
import {TextingMiniApp, initialize} from '../src';
import {APP_CONTAINER_SCREEN_NAME, ROOT_CONTAINER_SCREEN_NAME} from "../src/constants";
+import {useTranslation} from "react-i18next";
+import {initi18n} from "../src/translations";
const styles = StyleSheet.create({
container: {
flex: 1,
paddingBottom: 8,
},
+ languageToggleRow: {
+ flexDirection: 'row',
+ alignItems: 'center',
+ alignSelf: 'center',
+ margin: 16,
+ }
});
interface LauncherViewProps {
navigation: StackNavigationProp<ParamListBase>;
}
+initi18n();
+
const LauncherView: React.FC<LauncherViewProps> = (props) => {
const {navigation} = props;
const {signOut} = useAuth();
+ const { t, i18n } = useTranslation(['texting']);
+ const isEnglish = i18n.language === 'en-US';
+ const toggleLanguage = () =>
+ i18n.changeLanguage(isEnglish ? 'es-MX' : 'en-US');
const onStartTexting = () => navigation.navigate(ROOT_CONTAINER_SCREEN_NAME);
@@ -47,6 +61,7 @@ const LauncherView: React.FC<LauncherViewProps> = (props) => {
<PrimaryButton onPress={onStartTexting}>
Open Texting
</PrimaryButton>
+ <SecondaryButton style={{marginHorizontal: 20}} onPress={toggleLanguage} >Language: {t('container.languageName')}</SecondaryButton>
<SecondaryButton
onPress={signOut}>
Sign Out
--- container/i18nInit.ts
@@ -1,18 +0,0 @@
-import i18n from 'i18next';
-import {initReactI18next} from 'react-i18next';
-import 'intl-pluralrules'
-import {enUS} from "../src/translations/en-US";
-import {esMX} from "../src/translations/es-MX";
-
-export const initI18n = () => {
- i18n.use(initReactI18next).init({
- lng: 'en-US',
- fallbackLng: 'en-US',
- ns: ['common'],
- defaultNS: 'common',
- resources: {
- 'en-US': enUS,
- 'es-MX': esMX,
- },
- });
-};
--- container/index.tsx
@@ -1,5 +1,5 @@
-import React, { useEffect } from 'react';
-import {StatusBar, StyleSheet} from 'react-native';
+import React, {useEffect, useState} from 'react';
+import {StatusBar, StyleSheet, Text, View} from 'react-native';
import {SafeAreaView} from 'react-native-safe-area-context';
import {NavigationContainer, ParamListBase} from '@react-navigation/native';
import {navContainerProps} from '@walmart/react-native-shared-navigation';
@@ -18,22 +18,36 @@ import env from './env';
import {TextingMiniApp, initialize} from '../src';
import {APP_CONTAINER_SCREEN_NAME, ROOT_CONTAINER_SCREEN_NAME} from "../src/constants";
+import {useTranslation} from "react-i18next";
+import {initi18n} from "../src/translations";
const styles = StyleSheet.create({
container: {
flex: 1,
paddingBottom: 8,
},
+ languageToggleRow: {
+ flexDirection: 'row',
+ alignItems: 'center',
+ alignSelf: 'center',
+ margin: 16,
+ }
});
interface LauncherViewProps {
navigation: StackNavigationProp<ParamListBase>;
}
+initi18n();
+
const LauncherView: React.FC<LauncherViewProps> = (props) => {
const {navigation} = props;
const {signOut} = useAuth();
+ const { t, i18n } = useTranslation(['texting']);
+ const isEnglish = i18n.language === 'en-US';
+ const toggleLanguage = () =>
+ i18n.changeLanguage(isEnglish ? 'es-MX' : 'en-US');
const onStartTexting = () => navigation.navigate(ROOT_CONTAINER_SCREEN_NAME);
@@ -47,6 +61,7 @@ const LauncherView: React.FC<LauncherViewProps> = (props) => {
<PrimaryButton onPress={onStartTexting}>
Open Texting
</PrimaryButton>
+ <SecondaryButton style={{marginHorizontal: 20}} onPress={toggleLanguage} >Language: {t('container.languageName')}</SecondaryButton>
<SecondaryButton
onPress={signOut}>
Sign Out
| fixing language toggle | fixing language toggle
|
8160a60dd08970e4fe690881671297fa8bb30cd7 | --- packages/me-at-walmart-common/__tests__/redux/selectorsTest.ts
@@ -82,3 +82,9 @@ describe('Selector', () => {
})
});
+describe('ImageBaseUrl', () => {
+ it('should return the image base URL from the ImageBaseUrl constant', () => {
+ const result = IMAGE_BASE_URL;
+ expect(result).toBe('https://i5-me.walmartimages.com/images/');
+ });
+});
| test: ImageBaseUrl constant | test: ImageBaseUrl constant
|
5f5e62bb44fad95d499b2181910263f9e95e9181 | --- packages/allspark-foundation/__tests__/FeatureRunner/screens/__snapshots__/SideMenu.test.tsx.snap
@@ -39,7 +39,7 @@ exports[`SideMenu.tsx should render snapshot 1`] = `
}
size="small"
>
- An AllsparkFeature can interact with the Drawer using 'AllsparkDrawer' from
+ An AllsparkFeature can interact with the Drawer using 'NavigationModule.useDrawerService()'
</Body>
</View>
<RCTScrollView
@@ -572,7 +572,7 @@ exports[`SideMenu.tsx should render snapshot 1`] = `
</IconButton>
}
>
- Access developer tools
+ Accessible by swiping from the right edge
</ListItem>
</View>
<View
--- packages/allspark-foundation/__tests__/Scanner/__snapshots__/AllSparkScanner.test.tsx.snap
@@ -1,13 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`AllsparkScanner should render snapshot 1`] = `
-[
- <WmScannerView
- onScanError={[Function]}
- onScanReceived={[Function]}
- sdk="scandit"
- version="v1"
- />,
- " ",
-]
-`;
--- packages/allspark-foundation/src/FeatureRunner/screens/SideMenu.tsx
@@ -10,14 +10,11 @@ import {
colors,
} from '@walmart/gtp-shared-components';
import { SafeAreaView } from 'react-native-safe-area-context';
-import {
- DrawerActions,
- NavigationProp,
- useNavigation,
-} from '@react-navigation/native';
+import { NavigationProp, useNavigation } from '@react-navigation/native';
import { DynamicComponent } from '../../Components';
import { FeatureRunnerScreenParams } from './types';
-import { useAllsparkModal } from '../../Navigation';
+import { NavigationModule, useAllsparkModal } from '../../Navigation';
+import { DeveloperMenuModule } from '../../DeveloperMenu';
const styles = StyleSheet.create({
screen: { flex: 1 },
@@ -76,10 +73,10 @@ export const SideMenu = () => {
const navigation = useNavigation<NavigationProp<FeatureRunnerScreenParams>>();
const modal = useAllsparkModal();
- const closeDrawer = () => navigation.dispatch(DrawerActions.closeDrawer());
+ const drawer = NavigationModule.useDrawerService();
const resetTo = (screen: KnownKeys<FeatureRunnerScreenParams> | string) => {
- closeDrawer();
+ drawer.close();
navigation.reset({
index: 0,
routes: [{ name: screen }],
@@ -87,7 +84,7 @@ export const SideMenu = () => {
};
const openModal = (name: string) => {
- closeDrawer();
+ drawer.close();
// @ts-ignore
modal.openModal(name);
};
@@ -98,8 +95,8 @@ export const SideMenu = () => {
<Heading>Side Menu</Heading>
<Body>Content is controlled by the Container app.</Body>
<Body size='small' UNSAFE_style={styles.note}>
- An AllsparkFeature can interact with the Drawer using 'AllsparkDrawer'
- from
+ An AllsparkFeature can interact with the Drawer using
+ 'NavigationModule.useDrawerService()'
</Body>
</View>
@@ -136,8 +133,11 @@ export const SideMenu = () => {
/>
<SideMenuItem
title='Developer Menu'
- description='Access developer tools'
- onPress={() => navigation.navigate('DeveloperMenu')}
+ description='Accessible by swiping from the right edge'
+ onPress={() => {
+ drawer.close();
+ DeveloperMenuModule.menuManager.open();
+ }}
/>
<DynamicSideMenu.List limit={10} />
</List>
| fix(feature runner): developer menu link and close drawer was broken | fix(feature runner): developer menu link and close drawer was broken
|
1db8c4a5dac923489d35594f536e311784af9caf | --- example/src/teamHub/screens/screen.tsx
@@ -60,7 +60,8 @@ export const HomeScreen = TeamHub.createScreen(
]}
selectedTeams={[]}
primaryArea="Management"
- handleChange={() => {}}
+ handleSelectSingle={() => {}}
+ handleSelectAll={() => {}}
/>
</View>
);
--- example/src/teamHub/tempComponentForTesting/TeamSelectionList.tsx
@@ -48,14 +48,16 @@ interface TeamSelectionListProps {
areas: Area[];
selectedTeams: TeamName[];
primaryArea: Area;
- handleChange: (teamName: string) => void;
+ handleSelectSingle: (teamName: string) => void;
+ handleSelectAll: () => void;
}
export const TeamSelectionList = ({
areas,
selectedTeams,
primaryArea,
- handleChange,
+ handleSelectSingle,
+ handleSelectAll,
}: TeamSelectionListProps) => {
return (
<ScrollView style={styles.container}>
@@ -63,7 +65,9 @@ export const TeamSelectionList = ({
<Text style={styles.header}>Teams</Text>
</View>
<View style={styles.selectAllContainer}>
- <Text style={styles.selectTeamsText}>Select all teams</Text>
+ <Text style={styles.selectTeamsText} onPress={handleSelectAll}>
+ Select all teams
+ </Text>
<Checkbox />
</View>
<View style={styles.myAreaContainaer}>
@@ -78,7 +82,7 @@ export const TeamSelectionList = ({
isSelected={true}
isPrimaryTeam={true}
checkboxDisabled
- toggleSelection={() => handleChange(team)}
+ toggleSelection={() => handleSelectSingle(team)}
/>
))}
</View>
@@ -96,7 +100,7 @@ export const TeamSelectionList = ({
isLastListItem={index === areaTeams.length - 1}
isSelected={selectedTeams.includes(team)}
checkboxDisabled
- toggleSelection={() => handleChange(team)}
+ toggleSelection={() => handleSelectSingle(team)}
/>
))}
</View>
| feat: added select single and select all props | feat: added select single and select all props
|
f1329d2142b55fe4a0dcd2245dab999eda689f1a | --- patches/@walmart+ask-sam-mini-app+1.2.95.patch
@@ -1,3 +1,58 @@
+diff --git a/node_modules/@walmart/ask-sam-mini-app/dist/containers/ChatFooter/index.js b/node_modules/@walmart/ask-sam-mini-app/dist/containers/ChatFooter/index.js
+index e988fc5..425fc10 100644
+--- a/node_modules/@walmart/ask-sam-mini-app/dist/containers/ChatFooter/index.js
++++ b/node_modules/@walmart/ask-sam-mini-app/dist/containers/ChatFooter/index.js
+@@ -3,7 +3,7 @@ import { useSelector } from 'react-redux';
+ import { View, Platform, LayoutAnimation, } from 'react-native';
+ import { useSpeechToText } from 'react-native-wm-voice-text';
+ import { useNavigation } from '@react-navigation/native';
+-import { useScanEffect, useScanner, useScannerState, } from '@walmart/core-services/Scanner';
++import { useScanEffect } from '@walmart/core-services/Scanner';
+ import { ActionChipList, } from '../../components/core/ActionChips/ActionChipList';
+ import { useChatLayout } from '../../chat-layout-context';
+ import { ChatSourceTypes } from '../../components/chat/ChatTypes';
+@@ -16,38 +16,23 @@ import { DefaultAppConfig } from '../../config/appConfig';
+ import { SmartChatInput } from './ChatInput';
+ import { ChatControls } from './ChatControls';
+ import styles from './styles';
+-export const isNonCameraScanner = (scanner) => scanner !== 'Camera Scanner';
++
+ export const ChatFooter = (props) => {
+ const { showControls } = props;
+ const navigation = useNavigation();
+ const telemetry = useAskSamTelemetry();
+ const [renderControls, setRenderControls] = useState(showControls);
+ const suggestions = useSelector(ChatSelectors.getSuggestions);
+- const { enableMic, enableScan } = useSelector(getAskSamConfig);
++ const { enableMic, enableScan: scanEnabled } = useSelector(getAskSamConfig);
+ const micRemoteEnabled = useAppConfig('microphone', DefaultAppConfig.prod.microphone);
+ const { recording, finalResult, start: startRecording, cancel: cancelRecording, } = useSpeechToText();
+ const { chatInputVisible, setChatFooterHeight, setChatInputVisible, } = useChatLayout();
+ const sendChatRequest = useSendChatRequest();
+- const scanner = useScanner();
+- const { scanners } = useScannerState();
+- const nonCameraScanners = useMemo(() => scanners.filter(isNonCameraScanner), [
+- scanners.length,
+- ]);
+- const onScan = (data) => {
+- sendChatRequest(`Scanned ${data.value}`, ChatSourceTypes.BARCODE_SCAN, {
+- route: 'scan',
+- scan: data,
+- });
+- };
+- useEffect(() => {
+- const scanListener = scanner.addScanListener(onScan);
+- return scanListener.remove;
+- }, []);
++
+ // On Android we hide the controls when input is visible. So show controls
+ // based on prop unless Android and input is shown
+ const showControlsForPlatform = showControls && !(Platform.OS === 'android' && chatInputVisible);
+ const micEnabled = enableMic && micRemoteEnabled;
+- const scanEnabled = enableScan && nonCameraScanners.length === 0;
+ useEffect(() => {
+ if (Platform.OS === 'ios') {
+ LayoutAnimation.configureNext(LayoutAnimation.Presets.easeInEaseOut);
diff --git a/node_modules/@walmart/ask-sam-mini-app/dist/containers/ScannerScreen/index.js b/node_modules/@walmart/ask-sam-mini-app/dist/containers/ScannerScreen/index.js
index 4b76cec..bf63691 100644
--- a/node_modules/@walmart/ask-sam-mini-app/dist/containers/ScannerScreen/index.js
| fix: add more to ask sam patch | fix: add more to ask sam patch
|
df80da9a596b853540003e1b1a30c812d52f0b91 | --- packages/allspark-foundation-hub/src/HubFeature/Store/Hub/Container/Screens/HubDashboard.tsx
@@ -274,7 +274,12 @@ export const HubDashboard = ({
<AllsparkComponentContainers.Component
container={name}
id={componentOverrides.FloatingButton.id}
- props={componentOverrides.FloatingButton?.props || {}}
+ props={
+ {
+ ...componentOverrides.FloatingButton?.props,
+ selectedTeamIds: selectedTeamIds || teamState.teamIds,
+ } || {}
+ }
/>
</View>
)}
| Add the teamids for floating button | Add the teamids for floating button
|
b32292e32f7531a672a006c3670f375863358b00 | --- src/components/ChatInput.tsx
--- src/components/MessagesHeader.tsx
@@ -1,8 +1,8 @@
-import {useNavigation} from '@react-navigation/native';
-import {Body, CloseIcon, colors} from '@walmart/gtp-shared-components/dist';
import React from 'react';
import {TouchableOpacity, View, StyleSheet} from 'react-native';
-import {PresenceIndicator} from './PresenceIndicator';
+import {useNavigation} from '@react-navigation/native';
+import {Body, CloseIcon, colors} from '@walmart/gtp-shared-components';
+import {PresenceIndicator} from '../containers/PresenceIndicator';
const styles = StyleSheet.create({
header: {
--- src/components/index.ts
@@ -1,6 +1,8 @@
export * from './AssociateRosterItem';
export * from './Avatar';
+export * from './ChatInput';
export * from './MessageRow';
+export * from './MessagesHeader';
export * from './MessageTimeSectionHeader';
export * from './TeamChatCard';
export * from './TextBubble';
--- src/screens/MessagesScreen.tsx
@@ -13,9 +13,12 @@ import firestore, {
import {UserSelectors} from '@walmart/redux-store';
import {Body, colors} from '@walmart/gtp-shared-components';
-import {MessageRow, MessageTimeSectionHeader} from '../components';
-import {MessagesHeader} from '../containers/MessagesHeader';
-import {ChatInput} from '../containers/ChatInput';
+import {
+ ChatInput,
+ MessageRow,
+ MessageTimeSectionHeader,
+ MessagesHeader,
+} from '../components';
import {
LocalMessage,
MessageRequest,
--- src/screens/NewMessageScreen.tsx
@@ -1,24 +1,25 @@
import React, {useCallback, useState} from 'react';
-import {ParamListBase} from '@react-navigation/native';
-import {StackNavigationProp} from '@react-navigation/stack';
-import {useGetDailyRosterQuery} from '../queries/getDailyRoster';
+import moment from 'moment-timezone';
+import {debounce} from 'lodash';
+import {useSelector} from 'react-redux';
import {
NativeSyntheticEvent,
StyleSheet,
TextInput,
TextInputChangeEventData,
View,
+ TouchableOpacity,
} from 'react-native';
+import {ParamListBase} from '@react-navigation/native';
+import {StackNavigationProp} from '@react-navigation/stack';
+import {FlashList, ListRenderItem} from '@shopify/flash-list';
+
import {SiteSelectors} from '@walmart/redux-store';
import {Body, colors, Spinner} from '@walmart/gtp-shared-components';
-import {debounce} from 'lodash';
-import {FlashList, ListRenderItem} from '@shopify/flash-list';
+
import {Associate} from '../types';
-import {AssociateRosterItem} from '../components';
-import moment from 'moment-timezone';
-import {useSelector} from 'react-redux';
-import {MessagesHeader} from '../containers/MessagesHeader';
-import {TouchableOpacity} from 'react-native-gesture-handler';
+import {useGetDailyRosterQuery} from '../queries/getDailyRoster';
+import {AssociateRosterItem, MessagesHeader} from '../components';
import {useStartAssociateText} from '../hooks';
export type ChannelScreenProps = {
--- src/components/ChatInput.tsx
--- src/components/MessagesHeader.tsx
@@ -1,8 +1,8 @@
-import {useNavigation} from '@react-navigation/native';
-import {Body, CloseIcon, colors} from '@walmart/gtp-shared-components/dist';
import React from 'react';
import {TouchableOpacity, View, StyleSheet} from 'react-native';
-import {PresenceIndicator} from './PresenceIndicator';
+import {useNavigation} from '@react-navigation/native';
+import {Body, CloseIcon, colors} from '@walmart/gtp-shared-components';
+import {PresenceIndicator} from '../containers/PresenceIndicator';
const styles = StyleSheet.create({
header: {
--- src/components/index.ts
@@ -1,6 +1,8 @@
export * from './AssociateRosterItem';
export * from './Avatar';
+export * from './ChatInput';
export * from './MessageRow';
+export * from './MessagesHeader';
export * from './MessageTimeSectionHeader';
export * from './TeamChatCard';
export * from './TextBubble';
--- src/screens/MessagesScreen.tsx
@@ -13,9 +13,12 @@ import firestore, {
import {UserSelectors} from '@walmart/redux-store';
import {Body, colors} from '@walmart/gtp-shared-components';
-import {MessageRow, MessageTimeSectionHeader} from '../components';
-import {MessagesHeader} from '../containers/MessagesHeader';
-import {ChatInput} from '../containers/ChatInput';
+import {
+ ChatInput,
+ MessageRow,
+ MessageTimeSectionHeader,
+ MessagesHeader,
+} from '../components';
import {
LocalMessage,
MessageRequest,
--- src/screens/NewMessageScreen.tsx
@@ -1,24 +1,25 @@
import React, {useCallback, useState} from 'react';
-import {ParamListBase} from '@react-navigation/native';
-import {StackNavigationProp} from '@react-navigation/stack';
-import {useGetDailyRosterQuery} from '../queries/getDailyRoster';
+import moment from 'moment-timezone';
+import {debounce} from 'lodash';
+import {useSelector} from 'react-redux';
import {
NativeSyntheticEvent,
StyleSheet,
TextInput,
TextInputChangeEventData,
View,
+ TouchableOpacity,
} from 'react-native';
+import {ParamListBase} from '@react-navigation/native';
+import {StackNavigationProp} from '@react-navigation/stack';
+import {FlashList, ListRenderItem} from '@shopify/flash-list';
+
import {SiteSelectors} from '@walmart/redux-store';
import {Body, colors, Spinner} from '@walmart/gtp-shared-components';
-import {debounce} from 'lodash';
-import {FlashList, ListRenderItem} from '@shopify/flash-list';
+
import {Associate} from '../types';
-import {AssociateRosterItem} from '../components';
-import moment from 'moment-timezone';
-import {useSelector} from 'react-redux';
-import {MessagesHeader} from '../containers/MessagesHeader';
-import {TouchableOpacity} from 'react-native-gesture-handler';
+import {useGetDailyRosterQuery} from '../queries/getDailyRoster';
+import {AssociateRosterItem, MessagesHeader} from '../components';
import {useStartAssociateText} from '../hooks';
export type ChannelScreenProps = {
| fix: moving non container component to components folder | fix: moving non container component to components folder
|
dde8d3dc8dba2647f4c6274829f5a5675a66d286 | --- .looper.multibranch.yml
@@ -158,7 +158,7 @@ envs:
variables:
releaseType: "hotfix"
releaseTypeDesc: "build from hotfix branch; meant for wider testing"
- slackIcon: ":hotsprings:"
+ slackIcon: ":hotsprings"
slackChannel: "allspark-builds-developer"
buildType: "SNAPSHOT"
buildGABuilds: true
| multibranch file fix | multibranch file fix
|
a1533723ffcb616411cba02842719dba3024f4b5 | --- patches/@walmart+ui-components+1.5.0.patch
@@ -1,14 +0,0 @@
-diff --git a/node_modules/@walmart/ui-components/components/DataSaverCard/DataSaverCard.js b/node_modules/@walmart/ui-components/components/DataSaverCard/DataSaverCard.js
-index eb4ea3c..987cf97 100644
---- a/node_modules/@walmart/ui-components/components/DataSaverCard/DataSaverCard.js
-+++ b/node_modules/@walmart/ui-components/components/DataSaverCard/DataSaverCard.js
-@@ -1,7 +1,8 @@
- import React from 'react';
- import {
-- View, Text, TouchableOpacity, ViewPropTypes, Image,
-+ View, Text, TouchableOpacity, Image,
- } from 'react-native';
-+import { ViewPropTypes } from 'deprecated-react-native-prop-types';
- import PropTypes from 'prop-types';
- import { useTranslation } from 'react-i18next';
- import FontIcon from '../FontIcon/FontIcon';
| chore: remove ui components patch file | chore: remove ui components patch file
|
2b0c58039ffce98c3e20e3c690283ff4a35e86f3 | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 83
+ versionCode 84
versionName "1.0.6"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>83</string>
+ <string>84</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>invmgmt</string>
| Incrementing build number | Incrementing build number
|
607c4e7b87b4e9b0c5c71fabe51c68dcba5b23f0 | --- package-lock.json
@@ -4291,9 +4291,9 @@
"integrity": "sha512-6cO57SnVFT8MhLIajydD87lM7tLyNjS2N71It4x2ae8hCpyjHX+z8Bk7VrFqDAO/kGLyz8gA1C0xdm/MzpiMOw=="
},
"@walmart/ims-print-services-ui": {
- "version": "0.1.28",
- "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-0.1.28.tgz",
- "integrity": "sha512-4BfIUUhQ8cmG3+GPkbtEAdO0eAcgYPe2a6AcUSUh4+O6URLa1TpgYMzaA5vCIxRuv0SrEfwbmC06vMDtGkPsow=="
+ "version": "0.1.34",
+ "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-0.1.34.tgz",
+ "integrity": "sha512-kGPI7/o+3DiIAhMTyPco72J7ftlJLPO/Eh+W2aCnFEHlH6ngKIOUrX3xSK8Lm9rBVWL3q2ZGzqCqsJXjwJW5ww=="
},
"@walmart/inbox-mini-app": {
"version": "0.37.0",
@@ -4375,9 +4375,9 @@
"integrity": "sha512-wYvVJudexj4jLHJVAStx/Ukbn46w2oU/ZYG33snzHHUt55lcbw5KbsZvc59KrojNhMwbg4YcagfL53zr7dSWUw=="
},
"@walmart/price-changes-mini-app": {
- "version": "1.2.1",
- "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.2.1.tgz",
- "integrity": "sha512-rt56lVXxfj0DWIjqUqn3oXpAlbe7YrOi6/c5hcGByaFe/f42qmPsesxWK3xkKOMsJ7LUXZz50aCb1+lHlv2kog=="
+ "version": "1.2.3",
+ "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.2.3.tgz",
+ "integrity": "sha512-5VXiKOX6nl2OPte+FFWxAZbWi+aCW0o7rbzJldiMN7XewyTIxsyBMwWlUW5Y29WYa4ZaaVstjincL76EW5v2dA=="
},
"@walmart/push-to-talk-mini-app": {
"version": "1.7.5",
--- package.json
@@ -83,14 +83,14 @@
"@walmart/gta-react-native-calendars": "0.0.15",
"@walmart/gtp-shared-components": "1.2.0",
"@walmart/impersonation-mini-app": "1.0.28-beta.8",
- "@walmart/ims-print-services-ui": "0.1.28",
+ "@walmart/ims-print-services-ui": "0.1.34",
"@walmart/inbox-mini-app": "0.37.0",
"@walmart/iteminfo-mini-app": "4.1.8",
"@walmart/manager-approvals-miniapp": "0.0.59",
"@walmart/metrics-mini-app": "0.7.65",
"@walmart/moment-walmart": "1.0.4",
"@walmart/payrollsolution_miniapp": "0.121.0",
- "@walmart/price-changes-mini-app": "1.2.1",
+ "@walmart/price-changes-mini-app": "1.2.3",
"@walmart/push-to-talk-mini-app": "1.7.5",
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.28.0",
| release: price changes drop 7 | release: price changes drop 7
|
35375ef6c6b08bdd54939ecc08835d104576cf12 | --- __tests__/navigation/AssociateHallwayNav/__snapshots__/SideMenuContentTest.tsx.snap
@@ -18,10 +18,10 @@ exports[`SideMenuContent matches snapshot for undefined user info, and can imper
developersText="impersonation.developers"
deviceType="PERSONAL"
displayName="Sam Walton"
- displayPttAlert={0}
- displayTaskItAlert={false}
- displayTimeClock={true}
enableDevelopersOption={true}
+ enablePttAlert={0}
+ enableTaskItAlert={false}
+ enableTimeClock={true}
error={true}
errorText="menu.errorText"
globalNavConfig={
@@ -100,10 +100,10 @@ exports[`SideMenuContent matches snapshot with not user/clockstatus data 1`] = `
developersText="impersonation.developers"
deviceType="PERSONAL"
displayName="Sam Walton"
- displayPttAlert={0}
- displayTaskItAlert={false}
- displayTimeClock={true}
enableDevelopersOption={false}
+ enablePttAlert={0}
+ enableTaskItAlert={false}
+ enableTimeClock={true}
error={false}
errorText="menu.errorText"
globalNavConfig={
@@ -182,10 +182,10 @@ exports[`SideMenuContent matches snapshot with user/clockstatus data 1`] = `
developersText="impersonation.developers"
deviceType="PERSONAL"
displayName="Sam Walton"
- displayPttAlert={0}
- displayTaskItAlert={true}
- displayTimeClock={true}
enableDevelopersOption={false}
+ enablePttAlert={0}
+ enableTaskItAlert={true}
+ enableTimeClock={true}
error={false}
errorText="menu.errorText"
globalNavConfig={
--- src/navigation/AssociateHallwayNav/SideMenuContent.tsx
@@ -152,10 +152,10 @@ export const SideMenuContent: React.FC<DrawerContentComponentProps> = (
errorText={translate('menu.errorText')}
retryText={translate('menu.retryText')}
onRetry={onRetry}
- displayTaskItAlert={!!highPriorityCount}
+ enableTaskItAlert={!!highPriorityCount}
showInboxBadge={!!badgesCount}
- displayPttAlert={0}
- displayTimeClock={true}
+ enablePttAlert={0}
+ enableTimeClock={true}
/>
<Dialog
testID='signoutDialog'
--- src/types/ui-components.d.ts
@@ -73,9 +73,9 @@ declare module '@walmart/ui-components/containers' {
retryText?: string;
onRetry?: () => void;
showInboxBadge?: boolean;
- displayTaskItAlert?: boolean;
- displayTimeClock?: boolean;
- displayPttAlert?: number;
+ enableTaskItAlert?: boolean;
+ enableTimeClock?: boolean;
+ enablePttAlert?: number;
}
export const GlobalNavigation: FC<GlobalNavigationProps>;
| change flag name | change flag name
(cherry picked from commit cd4c5ef0ac35d1a7035e57df697233c69fafbee7)
|
14891a419cbc8c4f55657d819672a7ec0a22cd53 | --- ios/Podfile.lock
@@ -1591,7 +1591,7 @@ PODS:
- TOCropViewController (2.6.1)
- topstock-mini-app (1.4.8):
- React
- - VisionCamera (3.0.0):
+ - VisionCamera (3.6.13):
- React
- React-callinvoker
- React-Core
@@ -2206,7 +2206,7 @@ SPEC CHECKSUMS:
SumoSDK: 95c692d2e6644ca3c2cd1a856aa823e163acac45
TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863
topstock-mini-app: 087f72475c79e70547919002f5e8a7cd1e0a149c
- VisionCamera: c4f239ef0ce8fb13937966b814f57925560f5596
+ VisionCamera: 68e892a9d36105b59395cd3e9518c7828fa9d3e0
walmart-react-native-sumo-sdk: f596733b7121809fcc6366e3c858384f530d5868
wifi-store-locator: 501fca0a220c725ed93ab403635c0f246a8ce7e3
Yoga: b76f1acfda8212aa16b7e26bcce3983230c82603
| Updated podfile | Updated podfile
|
7cd4f8ae7497e62c89ea52e21e79f6f057a342d1 | --- src/home/components/GreetingRowV2/ClockComponent.tsx
@@ -19,6 +19,7 @@ const styles = StyleSheet.create({
backgroundColor: '#004F9A',
borderWidth: 1,
borderColor: '#2E2F32',
+ height: 48,
},
clockIconContainer: {
justifyContent: 'center',
| fix(header): clock component | fix(header): clock component
|
d1fb4ad071a3c2495c2b49e2b44ec6f4a1c9bd9a | --- packages/my-walmart-hub/src/HubFramework/Core/Hub.tsx
@@ -180,6 +180,25 @@ const HubContentState = React.memo((props: HubContentStateProps) => {
const { refreshOptions } = config;
+ // State to control visibility of refresh time indicator
+ const [showRefreshTime, setShowRefreshTime] = useState(false);
+
+ // Show refresh time for 10 seconds after lastRefreshTime changes
+ React.useEffect(() => {
+ if (lastRefreshTime && refreshOptions?.showLastRefreshTime) {
+ setShowRefreshTime(true);
+
+ const timer = setTimeout(() => {
+ setShowRefreshTime(false);
+ }, 10000);
+
+ return () => clearTimeout(timer);
+ }
+
+ setShowRefreshTime(false);
+ return undefined;
+ }, [lastRefreshTime, refreshOptions?.showLastRefreshTime]);
+
// Create a component container with the Hub's ID
const ComponentContainer = ComponentsModule.ComponentContainers.create(
config.id
@@ -259,8 +278,8 @@ const HubContentState = React.memo((props: HubContentStateProps) => {
/>
)}
- {/* Show refresh time indicator if enabled */}
- {formattedRefreshTime && (
+ {/* Show refresh time indicator if enabled and visible */}
+ {formattedRefreshTime && showRefreshTime && (
<View testID='hub-refresh-time' style={styles.refreshTimeIndicator}>
<Text style={styles.refreshTimeText}>{formattedRefreshTime}</Text>
</View>
| feat(ui): added timer to alert (#531) | feat(ui): added timer to alert (#531)
* feat(ui): added timer to alert
* feat(ui): added comment |
046fc68987309ca74dc3500258d3dbf00b3db332 | --- .looper-pr.yml
@@ -22,7 +22,7 @@ envs:
LINT: true
UNITTEST: false
BUILD: true
- SONAR_SCAN: true
+ SONAR_SCAN: false
ARTIFACT_PUBLISH: true
AUTO_PR_MONO: false
JIRAPREFIX: SSMP
| feat(ui): update the roster message button condition for total store and team | feat(ui): update the roster message button condition for total store and team
|
e4d29560b45a326da8ab1676170c156725c4c2fd | --- example/src/feature3/README.md
@@ -1,3 +1,3 @@
-# Feature 2
+# Feature 3
-Feature 2 is a repo where an AllsparkFeature is created and configured. It is managed as a seperate repo and published as its own npm module so multiple container apps are able to use it. Only 1 AllsparkFeature should be created per feature repo.
+Feature 3 is a repo where an AllsparkFeature is created and configured. It is managed as a seperate repo and published as its own npm module so multiple container apps are able to use it. Only 1 AllsparkFeature should be created per feature repo.
--- example/src/feature3/environment.ts
@@ -5,6 +5,6 @@ export const Feature3Environment = {
prod: {testing: false},
};
-export type IFeature1Environment = InferEnvironmentFromMap<
+export type IFeature3Environment = InferEnvironmentFromMap<
typeof Feature3Environment
>;
| Addressing PR comments | Addressing PR comments
|
1bc29483e84a4e34197cc11f2457d81a58fae495 | --- .yarn/patches/@walmart-ui-components-npm-1.18.7-9e23294b76.patch
@@ -1,79 +0,0 @@
-diff --git a/components/DrawerButton/index.js b/components/DrawerButton/index.js
-index 60301993d95e862c7bafcb74519609f031a81d03..d574b234eca634b75473817e5a7d8c1ee9a05454 100644
---- a/components/DrawerButton/index.js
-+++ b/components/DrawerButton/index.js
-@@ -1,56 +1,25 @@
--import React, { createContext, useContext } from 'react';
--import { TouchableOpacity } from 'react-native';
--import { DrawerActions, useNavigation } from '@react-navigation/native';
--import { debounce } from 'lodash';
--import i18next from 'i18next';
--import FontIcon from '../FontIcon/FontIcon';
--import styles from './styles';
--import { testID } from '../../utils';
-+import { createContext} from 'react';
-+import {DrawerButton as FoundationDrawerButton, AllsparkNavigationClient} from '@walmart/allspark-foundation/Navigation'
-
--const noop = () => {};
--const DRAWER_TAP_DELAY = 300;
--export const debounceTap = debounce(
-- (navigation) => navigation?.dispatch(DrawerActions.toggleDrawer()),
-- DRAWER_TAP_DELAY, { leading: true },
--);
--export const DrawerButtonContext = createContext({
-- renderBadge: null,
-- drawerLocked: false,
-- lockDrawer: noop,
-- unlockDrawer: noop,
-- toggleDrawerLocked: noop,
--});
-
--export const DrawerButton = (props) => {
-- const {
-- style, iconStyle, onPress,
-- } = props;
-- const navigation = useNavigation();
-- const { renderBadge } = useContext(DrawerButtonContext);
-+ export const DrawerButtonContext = createContext({
-+ lockDrawer: AllsparkNavigationClient.lockDrawer,
-+ unlockDrawer: AllsparkNavigationClient.unlockDrawer,
-+ toggleDrawerLocked: AllsparkNavigationClient.toggleDrawerLock,
-+ });
-
-- const createBadge = () => {
-- if (renderBadge) return renderBadge(props);
-- return null;
-- };
-+ /**
-+ * @deprecated use 'DrawerButton' from '@walmart/allspark-foundation/Navigation' instead
-+ */
-+export const DrawerButton = FoundationDrawerButton;
-
-- const toggleDrawer = () => {
-- debounceTap(navigation);
-- onPress?.();
-- };
-+/**
-+ * @deprecated Drawer button context is setup automatically. You should not need to use this.
-+ */
-+DrawerButton.Provider = DrawerButtonContext.Provider;
-
-- return (
-- <TouchableOpacity
-- {...testID('navigationMenu')}
-- onPress={toggleDrawer}
-- style={style}
-- accessibilityLabel={i18next.t('uicomponents:menu')}
-- accessibilityRole="button"
-- >
-- <FontIcon name="menu" style={[styles.menuIcon, iconStyle]} />
-- {createBadge()}
-- </TouchableOpacity>
-- );
--};
-+/**
-+ * @deprecated If needing access to the drawer context use `useAllsparkDrawer` from '@walmart/allspark-foundation/Navigation' instead
-+ */
-
--DrawerButton.Provider = DrawerButtonContext.Provider;
- DrawerButton.Context = DrawerButtonContext;
--- .yarn/patches/@walmart-ui-components-npm-1.19.0-8c7e633082.patch
Binary files a/.yarn/patches/@walmart-ui-components-npm-1.19.0-8c7e633082.patch and b/.yarn/patches/@walmart-ui-components-npm-1.19.0-8c7e633082.patch differ
--- yarn.lock
@@ -8432,7 +8432,7 @@ __metadata:
"@walmart/ui-components@patch:@walmart/ui-components@npm%3A1.19.0#~/.yarn/patches/@walmart-ui-components-npm-1.19.0-8c7e633082.patch":
version: 1.19.0
- resolution: "@walmart/ui-components@patch:@walmart/ui-components@npm%3A1.19.0#~/.yarn/patches/@walmart-ui-components-npm-1.19.0-8c7e633082.patch::version=1.19.0&hash=e2c52f"
+ resolution: "@walmart/ui-components@patch:@walmart/ui-components@npm%3A1.19.0#~/.yarn/patches/@walmart-ui-components-npm-1.19.0-8c7e633082.patch::version=1.19.0&hash=fb2fde"
dependencies:
"@walmart/ui-components": "npm:^1.15.11"
react-hook-form: "npm:^7.33.1"
@@ -8452,7 +8452,7 @@ __metadata:
react-native-safe-area-context: ">=3.1.3"
react-native-vector-icons: ">=7.0.0"
react-native-webview: ">=10.10.2"
- checksum: 10c0/e55359a8ea73365f682a84f2c18109c2402bad8d977d5e4a977369ec511d207258d166b131a5d028aefa9b9213dbce57e3275b8b1f83f3bba25e9cc744445ef0
+ checksum: 10c0/e71dc4ae998541db1def20c85d9be3fe92556f237f016769178236abd23f984d507bee0b959fe21142c4b1e657072b71856c1c0376aa582fa4c48205d7dfffc9
languageName: node
linkType: hard
| feat: ui-components patch for selected menu item | feat: ui-components patch for selected menu item
|
f841f1d1c461bb36f595f853ee45c35c5dae0182 | --- ios/Podfile.lock
@@ -178,10 +178,10 @@ PODS:
- RNPermissions
- PromisesObjC (2.1.0)
- Protobuf (3.21.1)
- - PTT (0.7.16-rc.1):
+ - PTT (0.7.17-rc.2):
- BinaryCodable (~> 0.2.1)
- CocoaAsyncSocket (~> 7.6.3)
- - RealmSwift (= 10.15.0)
+ - RealmSwift (= 10.25.1)
- Starscream (~> 3.0.2)
- TextServiceProto (= 0.0.12)
- RCT-Folly (2021.06.28.00-v2):
@@ -406,8 +406,8 @@ PODS:
- React-Core
- react-native-pdf (6.2.2):
- React-Core
- - react-native-ptt-module (1.5.94):
- - PTT (= 0.7.16-rc.1)
+ - react-native-ptt-module (1.5.96):
+ - PTT (= 0.7.17-rc.2)
- React
- react-native-safe-area-context (3.3.2):
- React-Core
@@ -493,14 +493,14 @@ PODS:
- React-perflogger (= 0.66.4)
- ReactNativeART (1.2.0):
- React
- - Realm (10.15.0):
- - Realm/Headers (= 10.15.0)
- - Realm/Headers (10.15.0)
+ - Realm (10.25.1):
+ - Realm/Headers (= 10.25.1)
+ - Realm/Headers (10.25.1)
- RealmJS (10.8.0):
- GCDWebServer
- React
- - RealmSwift (10.15.0):
- - Realm (= 10.15.0)
+ - RealmSwift (10.25.1):
+ - Realm (= 10.25.1)
- rn-fetch-blob (0.12.0):
- React-Core
- RNCAsyncStorage (1.12.1):
@@ -945,7 +945,7 @@ SPEC CHECKSUMS:
Permission-Notifications: 4325073de6e418cfbbdd8d296822c419d8ddc7ef
PromisesObjC: 99b6f43f9e1044bd87a95a60beff28c2c44ddb72
Protobuf: 9e88c1e667d75aa2491d211f26ccddde4e8ad4cf
- PTT: 0d3325acc561ed98990fcc5a3bf78221ffabe0af
+ PTT: ad0e445a1953114d2f5dd57b13de6fe1ed070fc5
RCT-Folly: a21c126816d8025b547704b777a2ba552f3d9fa9
RCTRequired: 4bf86c70714490bca4bf2696148638284622644b
RCTTypeSafety: c475a7059eb77935fa53d2c17db299893f057d5d
@@ -970,7 +970,7 @@ SPEC CHECKSUMS:
react-native-netinfo: 77d133105df525d4a11f10fcaa8d0b8883ea6429
react-native-pager-view: 311c10a4eead1be627cad59062aa059d8108b943
react-native-pdf: 4b5a9e4465a6a3b399e91dc4838eb44ddf716d1f
- react-native-ptt-module: fc32a17aee318ee9b1c487e07ed92d9e31eb657d
+ react-native-ptt-module: 8548d9a0d613fe775bc56b5cd83b5c024114f6b7
react-native-safe-area-context: 5cf05f49df9d17261e40e518481f2e334c6cd4b5
react-native-splash-screen: 200d11d188e2e78cea3ad319964f6142b6384865
react-native-video: 8d97379f3c2322a569f1e27542ad1a646cad9444
@@ -991,9 +991,9 @@ SPEC CHECKSUMS:
React-runtimeexecutor: dec32ee6f2e2a26e13e58152271535fadff5455a
ReactCommon: 57b69f6383eafcbd7da625bfa6003810332313c4
ReactNativeART: f003b07dfa7098aa419ed95b69560923440b1eee
- Realm: 13e805eb23d3eb8d8bb700d9cf9761f4b625b389
+ Realm: 1a6e9b4f6983711655d8c0bcb6d2d29c3afbb1f3
RealmJS: 7271bc9f8579716260511cb43b0fb6b0321ce206
- RealmSwift: 51b29bb4e19fe7322c8a599cf3494b8a08888ef1
+ RealmSwift: e72669550d27082aa4fad5d176f5076cfe806245
rn-fetch-blob: f065bb7ab7fb48dd002629f8bdcb0336602d3cba
RNCAsyncStorage: cb9a623793918c6699586281f0b51cbc38f046f9
RNCClipboard: 5e299c6df8e0c98f3d7416b86ae563d3a9f768a3
--- package-lock.json
@@ -4375,9 +4375,9 @@
"integrity": "sha512-rt56lVXxfj0DWIjqUqn3oXpAlbe7YrOi6/c5hcGByaFe/f42qmPsesxWK3xkKOMsJ7LUXZz50aCb1+lHlv2kog=="
},
"@walmart/push-to-talk-mini-app": {
- "version": "0.5.124",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.124.tgz",
- "integrity": "sha512-kZm4KamXIT8tlH9NtvTGaJfEkFu6GQKvGOXx2YRDB9l3gwWebLmW4+xZlNAh9W6hufDLotg7CsTEDHnDVxVWUQ=="
+ "version": "1.7.5",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-1.7.5.tgz",
+ "integrity": "sha512-B4Jx72bAZU0PyRx6b5/koxcoMEplOEDtPvDWXx1DsLhMfBmPl9hI6z6wIN4cDTLDdWGa45Nz5yZrvhgKyykIaw=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
@@ -17919,9 +17919,9 @@
"integrity": "sha512-PO99dptMocEfUSS3SM7gY6UqophaBxizKjnZ7FcEwa+H4ONVxTk310/JCXJ9vdNunomgpxHluKRXnApfm9Md1w=="
},
"react-native-ptt-module": {
- "version": "1.5.94",
- "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.5.94.tgz",
- "integrity": "sha512-cvh2jNSAYlQjfs4P7Z7iZgFvegt6pc6ZzCr6oUb4eCcDzKog5WeQQgv4MTCp8pWXtAfMHZ4/blNX9ZI0EmXdXg=="
+ "version": "1.5.96",
+ "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.5.96.tgz",
+ "integrity": "sha512-O2mRj8YGCVm/QFFhk9uRkNtYC0Odhd+9fG9SVL0hi4WkoM2g+eycroZs8KaQzfnt2rkgWO0OO/qzhlJpHjlsIQ=="
},
"react-native-qrcode-svg": {
"version": "6.0.6",
--- package.json
@@ -91,7 +91,7 @@
"@walmart/moment-walmart": "1.0.4",
"@walmart/payrollsolution_miniapp": "0.121.0",
"@walmart/price-changes-mini-app": "1.2.1",
- "@walmart/push-to-talk-mini-app": "0.5.124",
+ "@walmart/push-to-talk-mini-app": "1.7.5",
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.28.0",
"@walmart/react-native-shared-navigation": "^0.4.0",
@@ -145,7 +145,7 @@
"react-native-pdf": "^6.2.0",
"react-native-permissions": "3.0.0",
"react-native-popup-menu": "^0.15.9",
- "react-native-ptt-module": "1.5.94",
+ "react-native-ptt-module": "1.5.96",
"react-native-qrcode-svg": "^6.0.6",
"react-native-reanimated": "^1.10.2",
"react-native-safe-area-context": "^3.3.0",
| ptt drop 7 updates | ptt drop 7 updates
|
9df26a9ff64e306749704497833c33f3cab0e9d8 | --- targets/US/package.json
@@ -121,7 +121,7 @@
"@walmart/mod-flex-mini-app": "1.24.5",
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "2.3.4",
- "@walmart/myteam-mini-app": "1.17.1",
+ "@walmart/myteam-mini-app": "1.18.0",
"@walmart/native-rfid-scanner": "3.12.1",
"@walmart/onewalmart-miniapp": "1.0.24",
"@walmart/pay-stub-miniapp": "0.20.11",
@@ -142,7 +142,7 @@
"@walmart/returns-mini-app": "4.15.0",
"@walmart/rfid-scan-mini-app": "2.7.1",
"@walmart/rn-receiving-mini-app": "2.4.80",
- "@walmart/roster-mini-app": "2.14.2",
+ "@walmart/roster-mini-app": "2.15.0",
"@walmart/schedule-mini-app": "1.13.0",
"@walmart/shelfavailability-mini-app": "1.5.41",
"@walmart/shop-gnfr-mini-app": "1.0.137",
--- yarn.lock
@@ -7458,7 +7458,7 @@ __metadata:
"@walmart/mod-flex-mini-app": "npm:1.24.5"
"@walmart/moment-walmart": "npm:1.0.4"
"@walmart/money-auth-shared-components": "npm:2.3.4"
- "@walmart/myteam-mini-app": "npm:1.17.1"
+ "@walmart/myteam-mini-app": "npm:1.18.0"
"@walmart/native-rfid-scanner": "npm:3.12.1"
"@walmart/onewalmart-miniapp": "npm:1.0.24"
"@walmart/pay-stub-miniapp": "npm:0.20.11"
@@ -7479,7 +7479,7 @@ __metadata:
"@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.80"
- "@walmart/roster-mini-app": "npm:2.14.2"
+ "@walmart/roster-mini-app": "npm:2.15.0"
"@walmart/schedule-mini-app": "npm:1.13.0"
"@walmart/shelfavailability-mini-app": "npm:1.5.41"
"@walmart/shop-gnfr-mini-app": "npm:1.0.137"
@@ -7797,9 +7797,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/myteam-mini-app@npm:1.17.1":
- version: 1.17.1
- resolution: "@walmart/myteam-mini-app@npm:1.17.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fmyteam-mini-app%2F-%2F%40walmart%2Fmyteam-mini-app-1.17.1.tgz"
+"@walmart/myteam-mini-app@npm:1.18.0":
+ version: 1.18.0
+ resolution: "@walmart/myteam-mini-app@npm:1.18.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fmyteam-mini-app%2F-%2Fmyteam-mini-app-1.18.0.tgz"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -7841,7 +7841,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/4fdf202222ad0403ae8a5dc09f3c27da657a54c0415845fe200a15dad7349a02a7dbd9920d04a107468ced8342de94f25ae4694612a58bbb5176c0f5a7f7b037
+ checksum: 10c0/20f344f720bdedcc17ee6896b6f0da68087d675df5a75836c0eba6eeb0e1008c353abce74c404dca46194efe6202fd57e4f1c28c0dc9a5ad385c3be07e230f4a
languageName: node
linkType: hard
@@ -8225,9 +8225,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:2.14.2":
- version: 2.14.2
- resolution: "@walmart/roster-mini-app@npm:2.14.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2F%40walmart%2Froster-mini-app-2.14.2.tgz"
+"@walmart/roster-mini-app@npm:2.15.0":
+ version: 2.15.0
+ resolution: "@walmart/roster-mini-app@npm:2.15.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2Froster-mini-app-2.15.0.tgz"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -8269,7 +8269,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/c911fdee81f98cfc3d8d6ef27b163093675ae7fa004baa77e37416e190f99fa5c4851485295f2cb4e8666026c44990c327d6778e0e2f1aef54ae6fac84580f06
+ checksum: 10c0/0ccb050b17af15929a2eb567a68ccffa21434c35b48fa30294a64bfb10b223b25b4adad8208855f716fc363ffbf4c1274cb08a2e6806e590cdfb7258cf713884
languageName: node
linkType: hard
| feat(ui): update the myteam and roster mini app version | feat(ui): update the myteam and roster mini app version
|
f0287be6a891997c0928520550f284557842e1fc | --- targets/US/package.json
@@ -150,7 +150,7 @@
"@walmart/taskit-mini-app": "4.25.8",
"@walmart/time-clock-mini-app": "2.419.0",
"@walmart/topstock-mini-app": "1.17.11",
- "@walmart/translator-mini-app": "1.3.5",
+ "@walmart/translator-mini-app": "1.3.6",
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.17.1#~/.yarn/patches/@walmart-ui-components-npm-1.17.1-4a29feac03.patch",
"@walmart/walmart-fiscal-week": "^0.3.6",
"@walmart/welcomeme-mini-app": "0.96.0",
--- yarn.lock
@@ -7066,7 +7066,7 @@ __metadata:
"@walmart/taskit-mini-app": "npm:4.25.8"
"@walmart/time-clock-mini-app": "npm:2.419.0"
"@walmart/topstock-mini-app": "npm:1.17.11"
- "@walmart/translator-mini-app": "npm:1.3.5"
+ "@walmart/translator-mini-app": "npm:1.3.6"
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.17.1#~/.yarn/patches/@walmart-ui-components-npm-1.17.1-4a29feac03.patch"
"@walmart/walmart-fiscal-week": "npm:^0.3.6"
"@walmart/welcomeme-mini-app": "npm:0.96.0"
@@ -8090,9 +8090,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/translator-mini-app@npm:1.3.5":
- version: 1.3.5
- resolution: "@walmart/translator-mini-app@npm:1.3.5"
+"@walmart/translator-mini-app@npm:1.3.6":
+ version: 1.3.6
+ resolution: "@walmart/translator-mini-app@npm:1.3.6"
peerDependencies:
"@react-native-async-storage/async-storage": ^2.0.0
"@react-native-clipboard/clipboard": ^1.14.2
@@ -8107,7 +8107,7 @@ __metadata:
react-native-svg: ">=14.0.0"
react-native-wm-voice-text: ^1.0.4
uuid: ">=3.0.0"
- checksum: 10c0/02495ac85005cae93790b0eb3ed2687cf4cf33186af5734defe966d0ba6ffa9bba9331a418a6c9a9e62c372f73d827d6bc18f8a1f2328a24e3dbf7c0bbc99379
+ checksum: 10c0/080b2edd320f82b031eb5aa781326c07f9f2174e60267252ce09b51c3ecd348d5b1d239924cfd89c8bc8f8ac945236a5f43f1ed35121204a9c5a7a7d54182a5a
languageName: node
linkType: hard
| version bump | version bump
|
4e7a06891de184016ed33fd7e8d3931bcac7aac8 | --- ios/Podfile.lock
@@ -427,7 +427,7 @@ PODS:
- React
- react-native-safe-area-context (3.3.2):
- React-Core
- - react-native-scanner-3.0 (0.1.16):
+ - react-native-scanner-3.0 (0.1.18):
- Firebase/Analytics
- React
- ScanditBarcodeCapture (= 6.14.0)
@@ -1005,7 +1005,7 @@ SPEC CHECKSUMS:
react-native-pdf: 33c622cbdf776a649929e8b9d1ce2d313347c4fa
react-native-ptt-module: 03c55e2666382002ce515ab08941d81987a4b2e1
react-native-safe-area-context: 5cf05f49df9d17261e40e518481f2e334c6cd4b5
- react-native-scanner-3.0: 0f07110a0ed542ef7f9b5583a5648653c04e4ec4
+ react-native-scanner-3.0: 2e7f9fac35486c1babdccf0067e50764f7f49382
react-native-splash-screen: 200d11d188e2e78cea3ad319964f6142b6384865
react-native-video: 8d97379f3c2322a569f1e27542ad1a646cad9444
react-native-view-shot: 08c46c9e8e92f6681e8f2ffa55ac3d06e7e99070
--- package-lock.json
@@ -5480,9 +5480,9 @@
"integrity": "sha512-qxVserzdiG4xsZCLRIwYfRq/KuHsYSPkrl02tKHNhF5bhtWWo6oEUatBoSsY5BL8EVGOHk2ezsPWb2o5pg9Ryw=="
},
"@walmart/react-native-scanner-3.0": {
- "version": "0.1.16",
- "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.1.16.tgz",
- "integrity": "sha512-/GM5/K7YbX4lFM2+9oWsfXJHjociqSz4yIZIjo3FhBGbQ14NHXi6m1zIyYO3gk5VKWShiW66QckBfedpqO8mgQ=="
+ "version": "0.1.18",
+ "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.1.18.tgz",
+ "integrity": "sha512-yMXcpt7ZcIxQ2xGlRu9zuE5N9uwifs40cc5qsqYrR3ayt1wYuxYbcGmwLgMKQFV+5MPF8vCYrpDONaa/mM5eXA=="
},
"@walmart/react-native-shared-navigation": {
"version": "1.0.2",
--- package.json
@@ -110,7 +110,7 @@
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.29.0",
- "@walmart/react-native-scanner-3.0": "0.1.16",
+ "@walmart/react-native-scanner-3.0": "0.1.18",
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "^0.3.7",
"@walmart/react-native-sumo-sdk": "2.2.2-beta.2",
| Scanner3: Put in wakelock on android | Scanner3: Put in wakelock on android
|
6ff87b56d97535fe1910ad50f24a89f7be68bafd | --- ios/BuildSupport/MeAtWMBeta_InHouse_Provision.mobileprovision
Binary files a/ios/BuildSupport/MeAtWMBeta_InHouse_Provision.mobileprovision and b/ios/BuildSupport/MeAtWMBeta_InHouse_Provision.mobileprovision differ
| added updated provisioning profile (#511) | added updated provisioning profile (#511)
Co-authored-by: Hitesh Arora <> |
19cb818dcb323ee49cbcad477c48408da980d27e | --- src/components/AssociateRosterItem/index.tsx
@@ -19,6 +19,7 @@ import {
associateDisplayName,
associateIsClockedIn,
encryptUserId,
+ formatSchedule,
} from '../../utils';
import {
useIsSalariedOrTeamLead,
@@ -120,6 +121,9 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
<Body weight='400' size='small' numberOfLines={1}>
{namecase(associate?.jobCategoryCodeDesc)}
</Body>
+ <Body weight='400' size='small' numberOfLines={1}>
+ {namecase(formatSchedule(associate?.storeSchedule))}
+ </Body>
{isSalariedOrTeamLead && (
<Button
variant='tertiary'
--- src/utils/user.ts
@@ -58,12 +58,11 @@ export const formatSchedule = (scheduleInfo: any): String => {
if (!scheduleInfo || !scheduleInfo.length) {
return '';
}
-
const {schedStartTime, schedEndTime} =
getScheduleStartAndEndTime(scheduleInfo);
-
const scheduleText = schedStartTime + ' - ' + schedEndTime;
-
+ console.log('*** Format Schedule Output ***');
+ console.log(scheduleText);
return scheduleText;
};
--- src/components/AssociateRosterItem/index.tsx
@@ -19,6 +19,7 @@ import {
associateDisplayName,
associateIsClockedIn,
encryptUserId,
+ formatSchedule,
} from '../../utils';
import {
useIsSalariedOrTeamLead,
@@ -120,6 +121,9 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
<Body weight='400' size='small' numberOfLines={1}>
{namecase(associate?.jobCategoryCodeDesc)}
</Body>
+ <Body weight='400' size='small' numberOfLines={1}>
+ {namecase(formatSchedule(associate?.storeSchedule))}
+ </Body>
{isSalariedOrTeamLead && (
<Button
variant='tertiary'
--- src/utils/user.ts
@@ -58,12 +58,11 @@ export const formatSchedule = (scheduleInfo: any): String => {
if (!scheduleInfo || !scheduleInfo.length) {
return '';
}
-
const {schedStartTime, schedEndTime} =
getScheduleStartAndEndTime(scheduleInfo);
-
const scheduleText = schedStartTime + ' - ' + schedEndTime;
-
+ console.log('*** Format Schedule Output ***');
+ console.log(scheduleText);
return scheduleText;
};
| succesfully displaying store schedule data | succesfully displaying store schedule data
|
fb77ecb19f14371f0b1357467740b7523494817e | --- src/components/TeamList.tsx
@@ -239,9 +239,10 @@ const StoreTeamItem = (props: {style?: StyleProp<ViewStyle>}) => {
})}
leading={<Image style={styles.imageStyle} source={Images.totalStore} />}
trailing={
- <View testID='totalStoreMessageButton' style={styles.buttonsStyle}>
+ <View testID='totalStoreMessage' style={styles.buttonsStyle}>
{isPushToTalkEnabled && (
<Button
+ testID='totalStoreTalkButton'
variant='secondary'
UNSAFE_style={styles.pushToTalkBtn}
onPress={() => {
@@ -259,6 +260,7 @@ const StoreTeamItem = (props: {style?: StyleProp<ViewStyle>}) => {
)}
{isMessageButtonEnabled && (
<Button
+ testID='totalStoreMessageButton'
variant='secondary'
onPress={startStoreText}
size='small'
--- src/components/TeamList.tsx
@@ -239,9 +239,10 @@ const StoreTeamItem = (props: {style?: StyleProp<ViewStyle>}) => {
})}
leading={<Image style={styles.imageStyle} source={Images.totalStore} />}
trailing={
- <View testID='totalStoreMessageButton' style={styles.buttonsStyle}>
+ <View testID='totalStoreMessage' style={styles.buttonsStyle}>
{isPushToTalkEnabled && (
<Button
+ testID='totalStoreTalkButton'
variant='secondary'
UNSAFE_style={styles.pushToTalkBtn}
onPress={() => {
@@ -259,6 +260,7 @@ const StoreTeamItem = (props: {style?: StyleProp<ViewStyle>}) => {
)}
{isMessageButtonEnabled && (
<Button
+ testID='totalStoreMessageButton'
variant='secondary'
onPress={startStoreText}
size='small'
| latest comment is resolved | latest comment is resolved
|
48af38035574ea5b8dcd9eb9bd9d76a8319f8055 | --- .github/pull_request_template.md
@@ -0,0 +1,33 @@
+## Links to JIRA tickets:
+
+## Acceptance Criteria
+
+## Screenshots (if any):
+
+# Checklist
+- [ ] Have you written unit tests for this? If so, add the screenshots for the test coverage.
+- [ ] Has this been tested in the example app?
+- [ ] Telemetry Covered? If so, list events (splunk, firebase etc...)
+- [ ] Tested on iOS?
+- [ ] Tested on Android?
+
+
+Note:
+Please run following commands
+In the allspark dir
+ - yarn run build
+ - yarn run coverage
+ - yarn run lint:fix
+
+For Telemetry:
+
+import {TelemetryService} from '@walmart/allspark-foundation/Telemetry';
+
+export const Telemetry = TelemetryService.getContainerInstance();
+
+export const featureNameTelemetry =
+ TelemetryService.createFeatureInstance(feature_name);
+
+Usage:
+
+featureNameTelemetry.logEvent(event_name, params);
\ No newline at end of file
--- CODEOWNERS
@@ -1,19 +1 @@
-# allspark-admin-team will be the default owners of everything in
-
-# the repo. Unless a later match takes precedence they will be requested
-
-# for review when someone opens a pull request.
-
-- @allspark/allspark-admin-team
-
-# allspark-admin-team will own all changes in these directories and
-
-# subdirectories
-
-/packages/allspark-authentication/ @allspark/allspark-admin-team
-/packages/allspark-foundation/ @allspark/allspark-admin-team
-/packages/allspark-graphql-client/ @allspark/allspark-admin-team
-/packages/allspark-http-client/ @allspark/allspark-admin-team
-/packages/allspark-utils/ @allspark/allspark-admin-team
-/packages/core-services/ @allspark/allspark-admin-team
-/packages/core-utils/ @allspark/allspark-admin-team
+* @smdv/myTeam-devs
--- package.json
@@ -12,10 +12,12 @@
"clean": "yarn workspaces foreach --all --topological-dev run clean",
"commit": "commit",
"coverage": "jest --coverage",
+ "clear:jest": "jest --clearCache",
"lint": "yarn workspaces foreach --all -p run lint",
"lint:fix": "yarn workspaces foreach --all -p run lint:fix",
"prepare": "husky",
- "test": "jest --no-watchman"
+ "test": "jest --no-watchman",
+ "verifyBranchName": "sh ./scripts/verifyBranchName.sh"
},
"repository": {
"type": "git",
@@ -90,5 +92,10 @@
"babel-jest": "29.2.1",
"metro-react-native-babel-preset": "0.76.8"
},
+ "husky": {
+ "hooks": {
+ "pre-commit": "run-p lint verifyBranchName"
+ }
+ },
"packageManager": "yarn@4.2.2"
}
--- scripts/verifyBranchName.sh
@@ -0,0 +1,58 @@
+#!/bin/bash
+
+# Branch name here applies to what mini app team can make before pushing it to Github.
+# Please refer here for more:
+# https://confluence.walmart.com/pages/viewpage.action?pageId=655900878#AllSparkIntegrateaFeatureAppwithCore-SubmitaPRtomergetodevelop
+# https://confluence.walmart.com/pages/viewpage.action?pageId=582767002
+
+echo 'verifyBranch name script running';
+
+current_branch="$(git branch --show-current)"
+valid_branch_name='^((feat|fix|test|chore)\/[a-zA-Z0-9\-]+)$'
+
+develop_branch='^develop*'
+valid_child_branch_name_for_develop='^((feat|fix|test|chore)\/[a-zA-Z0-9\-]+)$'
+
+release_branch='^release*'
+valid_child_branch_name_for_release='^((feature)\/[a-zA-Z0-9\-]+)$'
+
+main_branch='^main*'
+valid_child_branch_name_for_main='^((feature)\/[a-zA-Z0-9\-]+)$'
+
+parent_branch="$(git show-branch | grep '*' | grep -v "$(git rev-parse --abbrev-ref HEAD)" | head -n1 | sed 's/.*\[\(.*\)\].*/\1/' | sed 's/[\^~].*//')"
+
+message="Branch name must be feat/<NAME>, fix/<NAME>, test/<NAME> or chore/<NAME>
+Any PR against develop should be named feat/<NAME>.
+Any PR against main should be named feature/<NAME>
+Any PR against release should be named feature/<NAME>
+Please refer regex in the file for more info.
+"
+
+if [[ ! $current_branch =~ $valid_branch_name ]]; then
+ echo "$message"
+ exit 1
+fi
+
+# Parent branch: Child branches that can be merged into parent
+# main : feature/<name> or hotfix/<name> -
+# release : feature/<name> or hotfix/<name>
+# develop : feat/<name>
+
+#develop
+if [[ ! $current_branch =~ $valid_child_branch_name_for_develop && $parent_branch =~ $develop_branch ]]; then
+ echo "The branch name for PR against develop branch is not valid"
+ exit 1
+fi
+
+#release
+if [[ ! $current_branch =~ $valid_child_branch_name_for_release && $parent_branch =~ $release_branch ]]; then
+ echo "The branch name for PR against release branch is not valid"
+ exit 1
+fi
+
+#main
+if [[ ! $current_branch =~ $valid_child_branch_name_for_main && $parent_branch =~ $main_branch ]]; then
+ echo "The branch name for PR against main branch is not valid"
+ exit 1
+fi
+
--- yarn.lock
@@ -5634,7 +5634,7 @@ __metadata:
typed-redux-saga: "npm:^1.5.0"
peerDependencies:
"@react-native-community/datetimepicker": "*"
- "@react-native-community/netinfo": 9.x
+ "@react-native-community/netinfo": 11.x
"@react-native-firebase/analytics": 17.x
"@react-native-firebase/app": 17.x
"@react-native-picker/picker": "*"
| chore(ui): Update pr guidelines | chore(ui): Update pr guidelines
|
2948a1eaab5fb995eb381073ffd5e3d6011beade | --- __tests__/screens/RosterScreenTest.tsx
@@ -16,9 +16,8 @@ describe('RosterScreen', () => {
/>,
);
screen.getByText('Show teams');
- //TODO: Need to mock getTeams Response for below assertions
- // screen.getByText('Stocking ON');
- // screen.getByRole('button', {name: 'Message'});
+ screen.getByText('Stocking ON');
+ screen.getByRole('button', {name: 'Message'});
});
it('should render the associate list', () => {});
it('Sort order should be in order of clockedin team leads, clockedout teamleads, clockedinusers then the rest sorted alphabetically by name', () => {});
--- __tests__/screens/RosterScreenTest.tsx
@@ -16,9 +16,8 @@ describe('RosterScreen', () => {
/>,
);
screen.getByText('Show teams');
- //TODO: Need to mock getTeams Response for below assertions
- // screen.getByText('Stocking ON');
- // screen.getByRole('button', {name: 'Message'});
+ screen.getByText('Stocking ON');
+ screen.getByRole('button', {name: 'Message'});
});
it('should render the associate list', () => {});
it('Sort order should be in order of clockedin team leads, clockedout teamleads, clockedinusers then the rest sorted alphabetically by name', () => {});
| fix render teams list test | fix render teams list test
|
872f578919e67ac861fd2b2a4dcec80e717a122f | --- package.json
@@ -112,7 +112,7 @@
"@walmart/ims-print-services-ui": "2.11.3",
"@walmart/inbox-mini-app": "0.94.6",
"@walmart/iteminfo-mini-app": "7.13.2",
- "@walmart/learning-mini-app": "20.0.29",
+ "@walmart/learning-mini-app": "20.0.30",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-at-walmart-athena-queries": "6.1.4",
"@walmart/me-at-walmart-common": "6.1.4",
--- yarn.lock
@@ -6341,9 +6341,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/learning-mini-app@npm:20.0.29":
- version: 20.0.29
- resolution: "@walmart/learning-mini-app@npm:20.0.29"
+"@walmart/learning-mini-app@npm:20.0.30":
+ version: 20.0.30
+ resolution: "@walmart/learning-mini-app@npm:20.0.30"
peerDependencies:
"@atmt/feedback-component-native": ^8.0.0
"@react-native-firebase/analytics": 17.4.2
@@ -6417,7 +6417,7 @@ __metadata:
reduxsauce: ^1.2.0
reselect: ^4.0.0
wifi-store-locator: ^1.0.0-alpha2
- checksum: 10c0/0a27048a65856c6293912c307552012cd5ddb3d2540a1862f6f8d5e16c57c950887497240269c2f84a43655b6b00317c9975ce2f8cafd7d36cff90891727a8a2
+ checksum: 10c0/013c9819120d303ddbf915bce5c3ca04553d16ff4bc1d5a98e7e0bdeb092ede58999ae74522dc528e9fdf9f4d2e650970c39631fb9465c6ef082445ec2b07d9e
languageName: node
linkType: hard
@@ -7729,7 +7729,7 @@ __metadata:
"@walmart/ims-print-services-ui": "npm:2.11.3"
"@walmart/inbox-mini-app": "npm:0.94.6"
"@walmart/iteminfo-mini-app": "npm:7.13.2"
- "@walmart/learning-mini-app": "npm:20.0.29"
+ "@walmart/learning-mini-app": "npm:20.0.30"
"@walmart/manager-approvals-miniapp": "npm:0.2.4"
"@walmart/me-at-walmart-athena-queries": "npm:6.1.4"
"@walmart/me-at-walmart-common": "npm:6.1.4"
| feat: :sparkles: Bump learning mini app version to 20.0.30 | feat: :sparkles: Bump learning mini app version to 20.0.30
|
2fa35dba216b043691f1a79c98e3fc03c6ff926f | --- src/index.tsx
@@ -1,8 +1,6 @@
-import React, {useMemo} from 'react';
+import React from 'react';
import {firebase} from '@react-native-firebase/app-check';
-import {useEnvironment} from '@walmart/core-services/Environment';
import {LoggerCloneProvider} from '@walmart/core-services/Logger';
-import {HttpClientCloneProvider} from '@walmart/allspark-http-client';
import {TextingNavigation} from './navigation';
import {initi18n} from './translations';
@@ -11,7 +9,6 @@ import {SafeAreaProvider} from 'react-native-safe-area-context';
import {analytics} from './logger/Analytics';
import {logger} from './logger/Logger';
import firestore from '@react-native-firebase/firestore';
-import {getHttpConfig, HTTP_CLIENT_KEY} from './services/config';
export const LOGGER_FIELDS = {id: 'myTeam-mini-app'};
@@ -58,17 +55,13 @@ firestore()
});
export const TextingMiniApp = () => {
- const envConfig = useEnvironment();
- const httpConfig = useMemo(() => getHttpConfig(envConfig), [envConfig]);
return (
<SafeAreaProvider>
<LoggerCloneProvider fields={LOGGER_FIELDS}>
- <HttpClientCloneProvider id={HTTP_CLIENT_KEY} config={httpConfig}>
- <ClockedOutScreenGuard>
- <TextingNavigation />
- </ClockedOutScreenGuard>
- </HttpClientCloneProvider>
+ <ClockedOutScreenGuard>
+ <TextingNavigation />
+ </ClockedOutScreenGuard>
</LoggerCloneProvider>
</SafeAreaProvider>
);
| Update associate clocked in for salaried associates | Update associate clocked in for salaried associates
|
9e158ca7398d10f30638ae02ece687512d814221 | --- ios/Podfile.lock
@@ -263,7 +263,7 @@ PODS:
- Permission-Notifications (3.6.1):
- RNPermissions
- PromisesObjC (2.1.1)
- - PTT (1.8.3):
+ - PTT (1.8.4):
- BinaryCodable (~> 0.2.1)
- CocoaAsyncSocket (~> 7.6.3)
- RealmSwift (= 10.32.3)
@@ -530,8 +530,8 @@ PODS:
- React-Core
- react-native-pdf (6.6.2):
- React-Core
- - react-native-ptt-module (1.8.4):
- - PTT (= 1.8.3)
+ - react-native-ptt-module (1.8.5):
+ - PTT (= 1.8.4)
- React
- react-native-render-html (6.3.4):
- React-Core
@@ -1133,7 +1133,7 @@ SPEC CHECKSUMS:
boost: a7c83b31436843459a1961bfd74b96033dc77234
BVLinearGradient: 34a999fda29036898a09c6a6b728b0b4189e1a44
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
- DoubleConversion: 831926d9b8bf8166fd87886c4abab286c2422662
+ DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
FBLazyVector: affa4ba1bfdaac110a789192f4d452b053a86624
FBReactNativeSpec: fe8b5f1429cfe83a8d72dc8ed61dc7704cac8745
Firebase: 4ba896cb8e5105d4b9e247e1c1b6222b548df55a
@@ -1159,7 +1159,7 @@ SPEC CHECKSUMS:
Flipper-RSocket: d9d9ade67cbecf6ac10730304bf5607266dd2541
FlipperKit: 02fd59af13a1465d04268cbffe3f93505f0a1dc2
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
- glog: 85ecdd10ee8d8ec362ef519a6a45ff9aa27b2e85
+ glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
GoogleAppMeasurement: 7a33224321f975d58c166657260526775d9c6b1a
GoogleDataTransport: 1c8145da7117bd68bbbed00cf304edb6a24de00f
GoogleUtilities: bad72cb363809015b1f7f19beb1f1cd23c589f95
@@ -1169,11 +1169,11 @@ SPEC CHECKSUMS:
libwebp: f62cb61d0a484ba548448a4bd52aabf150ff6eef
nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
- Permission-Camera: bf6791b17c7f614b6826019fcfdcc286d3a107f6
- Permission-LocationWhenInUse: 3ba99e45c852763f730eabecec2870c2382b7bd4
- Permission-Notifications: 150484ae586eb9be4e32217582a78350a9bb31c3
+ Permission-Camera: 4c0b610b46391c85d2d50f1446d98b4103b14b5a
+ Permission-LocationWhenInUse: 667dfff996a63375d7f2ba3522ae841aa1f7aaf3
+ Permission-Notifications: 49cae9775ac1e37c0e6cc28adca1d703527f1875
PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb
- PTT: ea5f9187d0be3094633434cbed7e227f50a7a061
+ PTT: 86944e876e1cedef14bcd800a66b89088d854624
RCT-Folly: 0080d0a6ebf2577475bda044aa59e2ca1f909cda
RCTRequired: 21229f84411088e5d8538f21212de49e46cc83e2
RCTTypeSafety: 62eed57a32924b09edaaf170a548d1fc96223086
@@ -1198,24 +1198,24 @@ SPEC CHECKSUMS:
react-native-flipper: 43ecd19174184c24aba5e1ef75ae13106af871e3
react-native-geolocation-service: 608e1da71a1ac31b4de64d9ef2815f697978c55b
react-native-get-random-values: a6ea6a8a65dc93e96e24a11105b1a9c8cfe1d72a
- react-native-image-picker: 4bc9ed38c8be255b515d8c88babbaf74973f91a8
+ react-native-image-picker: 35834940bc572ba914707c39b60e043a06f88178
react-native-image-resizer: 506412a2bdd70dde64a61e13505ce10f61a04369
react-native-logger: 16714d93e642a9553374bb56d7db98230beacbf3
react-native-loudness: fe12785700887bcfdb07abcf455c5df40e89183b
- react-native-maps: 085f614cf14d3637b2048bb9752da5b1c27c2886
- react-native-netinfo: f80db8cac2151405633324cb645c60af098ee461
- react-native-pager-view: 592421df0259bf7a7a4fe85b74c24f3f39905605
+ react-native-maps: ed6470f754c140c75aabff757e154cf52a1636a8
+ react-native-netinfo: 51b6a79a6f1729d853aa0bd5085e441f7ef32aa1
+ react-native-pager-view: f7238ec88a1e808f4ba09447d46e9bc8aef32aa4
react-native-pdf: 33c622cbdf776a649929e8b9d1ce2d313347c4fa
- react-native-ptt-module: 7c05dc1ade94a35622f3c544242314a9f0fef535
+ react-native-ptt-module: 15a7f196d3581b7249191b46277aa33012e73ab5
react-native-render-html: 5af9f6852f5e0cf9b74127537da3370984da51ee
- react-native-safe-area-context: 6c12e3859b6f27b25de4fee8201cfb858432d8de
- react-native-scanner-3.0: a2229bd1d328860358cb69d581c12f57f47db0c9
+ react-native-safe-area-context: d768fdafd416b4c0bdc7bef4240c9ee53909baf3
+ react-native-scanner-3.0: 0d35c6ca8f7f530cc892e068270221a457f19165
react-native-splash-screen: 4312f786b13a81b5169ef346d76d33bc0c6dc457
- react-native-video: c26780b224543c62d5e1b2a7244a5cd1b50e8253
- react-native-view-shot: 792829857bbb23a9c8acdad9a640554bdee397a3
- react-native-webview: d33e2db8925d090871ffeb232dfa50cb3a727581
+ react-native-video: 79a186e378d327b6c08bc3982c17ef455c6bd75c
+ react-native-view-shot: ef3ebacaacaefffcfd953d04b4304962fbe1fae2
+ react-native-webview: a192040320142d8f10d652a745c46e4f43e37f8c
react-native-wm-app-review: f3539e622411158d5f25926bcb505cfad87ea7a8
- react-native-wm-voice-text: ff635684cb0aa6845784a24bcfb1564fefebc037
+ react-native-wm-voice-text: d8a943f8881568e5a66e03091c8cd571576fa110
React-perflogger: e68d3795cf5d247a0379735cbac7309adf2fb931
React-RCTActionSheet: 05452c3b281edb27850253db13ecd4c5a65bc247
React-RCTAnimation: 578eebac706428e68466118e84aeacf3a282b4da
@@ -1235,8 +1235,8 @@ SPEC CHECKSUMS:
RNCAsyncStorage: cb9a623793918c6699586281f0b51cbc38f046f9
RNCClipboard: 5e299c6df8e0c98f3d7416b86ae563d3a9f768a3
RNCPicker: 0bf8ef8f7800524f32d2bb2a8bcadd53eda0ecd1
- RNDateTimePicker: 1dd15d7ed1ab7d999056bc77879a42920d139c12
- RNDeviceInfo: 4701f0bf2a06b34654745053db0ce4cb0c53ada7
+ RNDateTimePicker: cad741dac386f8178bf76e86f0a3c4b22173e0e4
+ RNDeviceInfo: e5dbe9fc01590f4bc5b9dda77e39ff6a39859224
RNFastImage: 5c9c9fed9c076e521b3f509fe79e790418a544e8
RNFBAnalytics: 1aff53fe7ebd26405ac5e4c99011ccd0a473bf77
RNFBApp: e3e4af6906a891d46af60340b4313b63eb082de9
@@ -1246,11 +1246,11 @@ SPEC CHECKSUMS:
RNFBRemoteConfig: 0e5306c3cc8a6d59d1544d5691ea31ab69d14603
RNFS: 4ac0f0ea233904cb798630b3c077808c06931688
RNGestureHandler: 62232ba8f562f7dea5ba1b3383494eb5bf97a4d3
- RNPermissions: dcdb7b99796bbeda6975a6e79ad519c41b251b1c
+ RNPermissions: 79d0c889562fd792329821bea3155fe6eb54d359
RNReactNativeHapticFeedback: 1e3efeca9628ff9876ee7cdd9edec1b336913f8c
RNReanimated: 2a91e85fcd343f8af3c58d3425b99fdd285590a5
RNScreens: 4a1af06327774490d97342c00aee0c2bafb497b7
- RNSha256: 80bea5b2e7005f813f6438cb41e573b3d531146c
+ RNSha256: 03d70c81d84084560180c1858dbf2c980a01c1b1
RNSketchCanvas: ee9e3d4bd7dbe46d309827bf2252817a0345ea1d
RNSoundPlayer: 369105c565b8fe6ea0a43fc882dc81eba444e842
RNSVG: 3a79c0c4992213e4f06c08e62730c5e7b9e4dc17
@@ -1266,9 +1266,9 @@ SPEC CHECKSUMS:
SumoSDK: 0151813702cc25cf3fd6fca7b03d4b46f1e014ac
SwiftProtobuf: b02b5075dcf60c9f5f403000b3b0c202a11b6ae1
TextServiceProto: 8af27cc52ab3421f79c94e7c7fdcd6f3579b5fdc
- VisionCamera: 4cfd685b1e671fea4aa0400905ab397f0e972210
- walmart-react-native-sumo-sdk: feaec91b81f185addbfacc80a21815ace682f8f1
- wifi-store-locator: ec624772f74b5b568dff3d63c10ba88a217c6495
+ VisionCamera: 8ad07dd68a6fb006be185e79ef82402064ec13ec
+ walmart-react-native-sumo-sdk: 7167433bfcb8c836ca273adbf47ad2cbe41de27d
+ wifi-store-locator: f74b112c804b9a2c6e856d2f49a91923d953af1d
Yoga: eca980a5771bf114c41a754098cd85e6e0d90ed7
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
| update lockfile | update lockfile
|
c021ac8c078f49abb86c390656f35c2b5d9774e7 | --- package-lock.json
@@ -62,7 +62,7 @@
"@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.22",
+ "@walmart/pay-stub-miniapp": "0.9.24",
"@walmart/payrollsolution_miniapp": "0.130.23",
"@walmart/price-changes-mini-app": "1.6.10",
"@walmart/profile-feature-app": "0.76.0",
@@ -5626,9 +5626,9 @@
}
},
"node_modules/@walmart/pay-stub-miniapp": {
- "version": "0.9.22",
- "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.9.22.tgz",
- "integrity": "sha512-5GynSMFK/Qs7sC2XjQJeuGX8OpK/cBgmdqXkJgP23J/Bc8YzxiNOuurkwcCwSVH6+XYNYHX1LeVQy4jchD3EDQ==",
+ "version": "0.9.24",
+ "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.9.24.tgz",
+ "integrity": "sha512-E1EajBc5SjIdNn3236bg7PA9FZ4ANf92JV5979ORvO73Qu48gyrDu52sZ4LccRHFNJlwKk7qKdMqU8fnQO9Kig==",
"dependencies": {
"crypto-js": "^3.3.0"
}
@@ -25301,9 +25301,9 @@
}
},
"@walmart/pay-stub-miniapp": {
- "version": "0.9.22",
- "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.9.22.tgz",
- "integrity": "sha512-5GynSMFK/Qs7sC2XjQJeuGX8OpK/cBgmdqXkJgP23J/Bc8YzxiNOuurkwcCwSVH6+XYNYHX1LeVQy4jchD3EDQ==",
+ "version": "0.9.24",
+ "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.9.24.tgz",
+ "integrity": "sha512-E1EajBc5SjIdNn3236bg7PA9FZ4ANf92JV5979ORvO73Qu48gyrDu52sZ4LccRHFNJlwKk7qKdMqU8fnQO9Kig==",
"requires": {
"crypto-js": "^3.3.0"
}
--- package.json
@@ -104,7 +104,7 @@
"@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.22",
+ "@walmart/pay-stub-miniapp": "0.9.24",
"@walmart/payrollsolution_miniapp": "0.130.23",
"@walmart/price-changes-mini-app": "1.6.10",
"@walmart/profile-feature-app": "0.76.0",
| bump version | bump version
|
91a73c3a19c221a81a96c20af8f94d990007b4ad | --- core/src/appReview/sagas.ts
@@ -40,7 +40,7 @@ export function* checkAppReviewRequest(appReviewConfig: FeatureConfig) {
STORAGE_KEY,
);
if (lastDateAppReviewPrompted) {
- const currentDate: any = new Date();
+ const currentDate = new Date();
const timeSinceLastPrompted = Math.abs(
currentDate - Date.parse(lastDateAppReviewPrompted),
);
| Update core/src/appReview/sagas.ts | Update core/src/appReview/sagas.ts
Co-authored-by: Dylan Lane - rlane1 <Russell.Lane@walmart.com> |
15d74e8615dde432e97fa6a74f9cbaa324e24c6d | --- src/services/PushNotificationApi.ts
@@ -45,7 +45,7 @@ export const PushNotificationApi: IPushNotificationApi = {
recipients: recipients,
storeNumber: storeNumber,
channelId: channelId,
- imageUrl: imageUrl,
+ image: imageUrl,
},
});
},
--- src/services/PushNotificationApi.ts
@@ -45,7 +45,7 @@ export const PushNotificationApi: IPushNotificationApi = {
recipients: recipients,
storeNumber: storeNumber,
channelId: channelId,
- imageUrl: imageUrl,
+ image: imageUrl,
},
});
},
| changing name of image field | changing name of image field
|
799dfdb464af60fdd71d88e07b7e936347e10d6e | --- package.json
@@ -92,14 +92,14 @@
"@walmart/calling-mini-app": "0.7.35",
"@walmart/checkout-mini-app": "4.8.12",
"@walmart/compass-sdk-rn": "6.2.2",
- "@walmart/config-components": "4.7.1",
+ "@walmart/config-components": "4.8.1",
"@walmart/core-services": "~6.5.2",
"@walmart/core-services-allspark": "workspace:^",
"@walmart/core-utils": "6.3.9",
"@walmart/core-widget-registry": "workspace:^",
"@walmart/counts-component-miniapp": "0.2.4",
"@walmart/digital-locks-mini-app": "1.2.5",
- "@walmart/emergency-mini-app": "1.31.4",
+ "@walmart/emergency-mini-app": "1.32.5",
"@walmart/exception-mini-app": "1.8.13",
"@walmart/expo-config-plugins": "^0.1.7",
"@walmart/facilities-management-miniapp": "patch:@walmart/facilities-management-miniapp@0.18.20#~/.yarn/patches/@walmart-facilities-management-miniapp-npm-0.18.20-50a670c24b.patch",
@@ -110,7 +110,7 @@
"@walmart/gta-react-native-calendars": "0.7.0",
"@walmart/gtp-shared-components": "2.2.7-rc.0",
"@walmart/ims-print-services-ui": "2.19.1",
- "@walmart/inbox-mini-app": "0.99.5",
+ "@walmart/inbox-mini-app": "0.100.4",
"@walmart/invue-react-native-sdk": "0.1.26-alpha.10-wt1",
"@walmart/iteminfo-mini-app": "8.3.2",
"@walmart/learning-mini-app": "20.0.41",
--- yarn.lock
@@ -7633,9 +7633,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/config-components@npm:4.7.1":
- version: 4.7.1
- resolution: "@walmart/config-components@npm:4.7.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fconfig-components%2F-%2F%40walmart%2Fconfig-components-4.7.1.tgz"
+"@walmart/config-components@npm:4.8.1":
+ version: 4.8.1
+ resolution: "@walmart/config-components@npm:4.8.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fconfig-components%2F-%2F%40walmart%2Fconfig-components-4.8.1.tgz"
peerDependencies:
"@react-native-firebase/app": ">=15.1.1"
"@react-native-firebase/database": ">=15.1.1"
@@ -7648,7 +7648,7 @@ __metadata:
redux: ">=4.2.0"
reduxsauce: ">=1"
reselect: ">=4"
- checksum: 10c0/ee65ffa8b1b33d762f1fd38321f4c726695b2fcc748e2f6c40b39f25c94358ef99a906d7b4ece3eab34e34035a8afdb9532ea79577bd16b1166cf2af9cacf48e
+ checksum: 10c0/a881038679a52c485f66908a15decc1983706eec47abecd8b3971892d6f1df0da17757a9888a08c8911f5580fd374d5f0e011c3c8428287a3944f12007a429d3
languageName: node
linkType: hard
@@ -7733,9 +7733,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/emergency-mini-app@npm:1.31.4":
- version: 1.31.4
- resolution: "@walmart/emergency-mini-app@npm:1.31.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Femergency-mini-app%2F-%2Femergency-mini-app-1.31.4.tgz"
+"@walmart/emergency-mini-app@npm:1.32.5":
+ version: 1.32.5
+ resolution: "@walmart/emergency-mini-app@npm:1.32.5::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Femergency-mini-app%2F-%2F%40walmart%2Femergency-mini-app-1.32.5.tgz"
peerDependencies:
"@walmart/allspark-foundation": "*"
"@walmart/allspark-utils": ">=1.6.5"
@@ -7744,7 +7744,7 @@ __metadata:
react-native: "*"
react-redux: "*"
redux: "*"
- checksum: 10c0/5b6748b135925c70080490b33f8bb6523570947f3bfa811a404d32572ce53ed2e20050ddf6bc8a534fe7e96c5823b79023e2a4ac4bcffd7dc82c11a343f86c23
+ checksum: 10c0/8541d5d854e6e4ca4aa5ccda85e9a28aeb08b76ac5dfc3980f8c1689150602d84aa222451a536f2eb3b5e76dacd16582315d603a1d59140e31d6226e78b38d2d
languageName: node
linkType: hard
@@ -7945,9 +7945,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/inbox-mini-app@npm:0.99.5":
- version: 0.99.5
- resolution: "@walmart/inbox-mini-app@npm:0.99.5::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Finbox-mini-app%2F-%2F%40walmart%2Finbox-mini-app-0.99.5.tgz"
+"@walmart/inbox-mini-app@npm:0.100.4":
+ version: 0.100.4
+ resolution: "@walmart/inbox-mini-app@npm:0.100.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Finbox-mini-app%2F-%2F%40walmart%2Finbox-mini-app-0.100.4.tgz"
peerDependencies:
"@walmart/allspark-foundation": "*"
"@walmart/allspark-utils": ">=1.6.4"
@@ -7958,7 +7958,7 @@ __metadata:
"@walmart/onewalmart-miniapp": "*"
"@walmart/schedule-mini-app": "*"
"@walmart/walmart-fiscal-week": "*"
- checksum: 10c0/991cd32f0d4a95fe30e32e68a0d3682a5bd7d463259f5563461fd60b0cdb3dfb6b4853e070be90471eb4277db8608cb61b13c7357cdb1072e0e42b573584c604
+ checksum: 10c0/ce8c9f8d634b21a854d2cae685bad47ef7135304595d14862ea8698303e5b96f73d5913ac6012d9e5d273022eb192b5e5a9ffe6f52ba419a41d4a0708e3805a6
languageName: node
linkType: hard
@@ -8325,14 +8325,14 @@ __metadata:
"@walmart/calling-mini-app": "npm:0.7.35"
"@walmart/checkout-mini-app": "npm:4.8.12"
"@walmart/compass-sdk-rn": "npm:6.2.2"
- "@walmart/config-components": "npm:4.7.1"
+ "@walmart/config-components": "npm:4.8.1"
"@walmart/core-services": "npm:~6.5.2"
"@walmart/core-services-allspark": "workspace:^"
"@walmart/core-utils": "npm:6.3.9"
"@walmart/core-widget-registry": "workspace:^"
"@walmart/counts-component-miniapp": "npm:0.2.4"
"@walmart/digital-locks-mini-app": "npm:1.2.5"
- "@walmart/emergency-mini-app": "npm:1.31.4"
+ "@walmart/emergency-mini-app": "npm:1.32.5"
"@walmart/exception-mini-app": "npm:1.8.13"
"@walmart/expo-config-plugins": "npm:^0.1.7"
"@walmart/facilities-management-miniapp": "patch:@walmart/facilities-management-miniapp@0.18.20#~/.yarn/patches/@walmart-facilities-management-miniapp-npm-0.18.20-50a670c24b.patch"
@@ -8343,7 +8343,7 @@ __metadata:
"@walmart/gta-react-native-calendars": "npm:0.7.0"
"@walmart/gtp-shared-components": "npm:2.2.7-rc.0"
"@walmart/ims-print-services-ui": "npm:2.19.1"
- "@walmart/inbox-mini-app": "npm:0.99.5"
+ "@walmart/inbox-mini-app": "npm:0.100.4"
"@walmart/invue-react-native-sdk": "npm:0.1.26-alpha.10-wt1"
"@walmart/iteminfo-mini-app": "npm:8.3.2"
"@walmart/learning-mini-app": "npm:20.0.41"
| fix(pkgs): SSMP-10385 updated mini-apps version to latest (#4153) | fix(pkgs): SSMP-10385 updated mini-apps version to latest (#4153)
* fix: SSMP-10385 updated mini-apps version to latest
* fix: SSMP-10565 updated config-component version
* fix(config-component): SSMP-10565 update version
* fix: SSMP-10536 updated emergency and inbox version
* fix: SSMP-10536 moved config-component version to previous
* fix: SSMP-10536 build the package.json changes
* fix(config component): SSMP-9546 updating version
* fix(config-component): SSMP-9546 testing device config
* fix(inbox): SSMP-10678 emergency message
* fix: SSMP-10678 updated emergency version
* fix: SSMP-10678 updated emergency version
---------
Co-authored-by: Deepanshu Rawat <deepanshu.rawat@walmart.com>
Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com> |
9ec2438d688cf947a12bcdfd83f22595a37d978d | --- packages/me-at-walmart-container/src/redux/site.ts
@@ -3,6 +3,7 @@ import { SiteSelectors, Site } from '@walmart/allspark-foundation/Site';
import {
UserSelectors,
USER_CHANGED_ACTIONS,
+ UserActionTypes,
} from '@walmart/allspark-foundation/User';
import { MeAtWalmartSiteService } from '../services/site';
@@ -35,4 +36,9 @@ export function* updateSiteInfo() {
yield all([call(updateWorkingSiteInfo), call(updateHomeSiteInfo)]);
}
-export const SiteSagas = [takeLeading(USER_CHANGED_ACTIONS, updateSiteInfo)];
+export const SiteSagas = [
+ takeLeading(
+ [...USER_CHANGED_ACTIONS, UserActionTypes.UPDATE],
+ updateSiteInfo
+ ),
+];
| fix: site info not fetched on user update action | fix: site info not fetched on user update action
|
d8a5da9a9749cadb782cdb2c26bd5f32d4e70fe4 | --- src/hooks/roster.ts
@@ -62,6 +62,10 @@ export const useIsWeeklyScheduleLinkVisible = () => {
const RMAViewPermission = 'VIEW';
const user: any = useSelector(UserSelectors.getUser);
const teamLeadJobDescriptions = useSelector(teamLeadJobDescriptionsSelector);
+ const isUserSalaried = toUpper(user?.employeeType) === payTypes.SALARIED;
+ const userHasRequiredJobCode = teamLeadJobDescriptions.some(
+ (jobDescription) => user?.title?.toLowerCase()?.includes(jobDescription),
+ );
if (!isNil(user.domain) && user.domain.toLowerCase() === 'homeoffice') {
return true;
@@ -83,13 +87,8 @@ export const useIsWeeklyScheduleLinkVisible = () => {
if (weeklyScheduleRBACPolicy.a === RMAViewPermission) {
return true;
}
- }
+ } else isUserSalaried || userHasRequiredJobCode;
}
- const isUserSalaried = toUpper(user?.employeeType) === payTypes.SALARIED;
- const userHasRequiredJobCode = teamLeadJobDescriptions.some(
- (jobDescription) => user?.title?.toLowerCase()?.includes(jobDescription),
- );
-
return RBACState?.error && (isUserSalaried || userHasRequiredJobCode);
};
--- src/hooks/roster.ts
@@ -62,6 +62,10 @@ export const useIsWeeklyScheduleLinkVisible = () => {
const RMAViewPermission = 'VIEW';
const user: any = useSelector(UserSelectors.getUser);
const teamLeadJobDescriptions = useSelector(teamLeadJobDescriptionsSelector);
+ const isUserSalaried = toUpper(user?.employeeType) === payTypes.SALARIED;
+ const userHasRequiredJobCode = teamLeadJobDescriptions.some(
+ (jobDescription) => user?.title?.toLowerCase()?.includes(jobDescription),
+ );
if (!isNil(user.domain) && user.domain.toLowerCase() === 'homeoffice') {
return true;
@@ -83,13 +87,8 @@ export const useIsWeeklyScheduleLinkVisible = () => {
if (weeklyScheduleRBACPolicy.a === RMAViewPermission) {
return true;
}
- }
+ } else isUserSalaried || userHasRequiredJobCode;
}
- const isUserSalaried = toUpper(user?.employeeType) === payTypes.SALARIED;
- const userHasRequiredJobCode = teamLeadJobDescriptions.some(
- (jobDescription) => user?.title?.toLowerCase()?.includes(jobDescription),
- );
-
return RBACState?.error && (isUserSalaried || userHasRequiredJobCode);
};
| update rma fallback value | update rma fallback value
|
6af50a103b554cafc1d705d12093ccea25602393 | --- packages/expo-config-plugins/src/index.ts
@@ -73,6 +73,7 @@ export default function getPlugins(additionalPlugins?: additionalPlugins[]) {
moduleBasePath + 'withWifiStoreLocator',
moduleBasePath + 'withWorkManagerInitializer',
moduleBasePath + 'withRuler',
+ moduleBasePath + 'withPodfileBuildOptimization',
moduleBasePath + 'withiOSStripBinarySymbols',
];
if (additionalPlugins && additionalPlugins.length > 0) {
@@ -130,4 +131,5 @@ export const withWebexSDK = moduleBasePath + 'withWebexSDK';
export const withWifiStoreLocator = moduleBasePath + 'withWifiStoreLocator';
export const withWorkManagerInitializer = moduleBasePath + 'withWorkManagerInitializer';
export const withRuler = moduleBasePath + 'withRuler';
+export const withPodfileBuildOptimization = moduleBasePath + 'withPodfileBuildOptimization';
export const withiOSStripBinarySymbols = moduleBasePath + 'withiOSStripBinarySymbols';
--- packages/expo-config-plugins/src/withPodfileBuildOptimization.ts
@@ -0,0 +1,38 @@
+import {
+ ConfigPlugin,
+ withPodfile,
+} from '@expo/config-plugins';
+import { mergeContents } from '@expo/config-plugins/build/utils/generateCode';
+
+/**
+ * Plugin to add build optimizations to the Podfile's post install step
+ */
+export const withPodfileBuildOptimization: ConfigPlugin = (config) => {
+ // Modify Podfile to add build optimizations
+ config = withPodfile(config, (config) => {
+ config.modResults.contents = mergeContents({
+ tag: "podfile-build-optimizations",
+ src: config.modResults.contents,
+ newSrc:
+ `installer.pods_project.build_configurations.each do |config|
+ if config.name == 'Release'
+ config.build_settings['LLVM_LTO'] = 'YES'
+ config.build_settings['GCC_OPTIMIZATION_LEVEL'] = 'z'
+ config.build_settings['COMPILER_INDEX_STORE_ENABLE'] = 'NO'
+ config.build_settings['ENABLE_BITCODE'] = 'NO'
+ config.build_settings['EXCLUDED_ARCHS'] = 'armv7'
+ config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Osize'
+ config.build_settings['OTHER_LDFLAGS'] = '$(inherited) -Wl,-mllvm,--enable-machine-outliner=always,-mllvm,--machine-outliner-reruns=2'
+ end
+ end`,
+ anchor: /post_install do \|installer/,
+ offset: 2,
+ comment: "#",
+ }).contents;
+ return config;
+ });
+
+ return config;
+};
+
+export default withPodfileBuildOptimization;
| chore(plugin): added new plugin for pods optimization | chore(plugin): added new plugin for pods optimization
|
7bb3c6866b1121b4c884fe2dac779157719d8753 | --- .looper.yml
@@ -2,6 +2,7 @@ inherit: 'job:///metropolis/metroloop/metroloop-parent'
tools:
nodejs: 20.10.0
+ npm: 10.9.2
jdk:
flavor: azul
version: 17
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.38.1",
+ "version": "2.47.0",
"main": "dist/index.js",
"files": [
"dist",
@@ -96,7 +96,7 @@
"@walmart/react-native-sumo-sdk": "2.7.4",
"@walmart/redux-store": "6.3.29",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "2.36.2",
+ "@walmart/wmconnect-mini-app": "2.42.0",
"babel-jest": "^29.6.3",
"chance": "^1.1.11",
"crypto-js": "~4.2.0",
--- yarn.lock
@@ -6653,7 +6653,7 @@ __metadata:
"@walmart/react-native-sumo-sdk": "npm:2.7.4"
"@walmart/redux-store": "npm:6.3.29"
"@walmart/ui-components": "npm:1.15.1"
- "@walmart/wmconnect-mini-app": "npm:2.36.2"
+ "@walmart/wmconnect-mini-app": "npm:2.42.0"
babel-jest: "npm:^29.6.3"
chance: "npm:^1.1.11"
crypto-js: "npm:~4.2.0"
@@ -6736,9 +6736,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:2.36.2":
- version: 2.36.2
- resolution: "@walmart/wmconnect-mini-app@npm:2.36.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-2.36.2.tgz"
+"@walmart/wmconnect-mini-app@npm:2.42.0":
+ version: 2.42.0
+ resolution: "@walmart/wmconnect-mini-app@npm:2.42.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-2.42.0.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=6.32.0"
expo: ^51.0.0
@@ -6749,7 +6749,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/d715fd08c3fcf74b3480896159cfb93b05e2100feac6c2e1773c66013015b1e515367c6fd30184c224edf6ccad5e22658a914e87d0403818cf0de011bd1dea47
+ checksum: 10c0/1964dcc6fd212228e1236dcfb69868711d282ca21709d301ddf9fa370a146d431d04dfa67c8455fa703e15144780717fe51b25d37dd337e441642da8dcba3117
languageName: node
linkType: hard
| fix: SMDV-8203 update version to 2.47.0 | fix: SMDV-8203 update version to 2.47.0
|
f53edb6245aef14786770ad900e6dd9a18170132 | --- src/home/components/GreetingRow/SiteInfo.tsx
@@ -8,7 +8,6 @@ import {useNavigation} from '@react-navigation/native';
import {useHomeAppConfig} from '../../../hooks/useAppConfig';
-
const styles = StyleSheet.create({
container: {
flexDirection: 'row',
| chore: lint fix | chore: lint fix
|
80eb045b34eecb551220d724837ff57319bed5ab | --- package.json
@@ -107,7 +107,7 @@
"@walmart/financial-wellbeing-feature-app": "1.23.2",
"@walmart/functional-components": "6.0.12",
"@walmart/gta-react-native-calendars": "0.6.0",
- "@walmart/gtp-shared-components": "2.1.10",
+ "@walmart/gtp-shared-components": "2.2.1-rc.0",
"@walmart/impersonation-mini-app": "1.20.8",
"@walmart/ims-print-services-ui": "2.10.3",
"@walmart/inbox-mini-app": "0.92.10",
| Upgraded GTP to 2.2.1-rc.0 | Upgraded GTP to 2.2.1-rc.0
|
c3227107f52fdc92dccf681fd834ea769c8d003c | --- package.json
@@ -467,7 +467,8 @@
"typescript": "~5.8.3",
"uuid": "^3.3.2",
"wfm-allspark-data-library": "^7.0.0",
- "pretty-format/react-is": "19.0.0"
+ "pretty-format/react-is": "19.0.0",
+ "react-server-dom-webpack": "~19.0.1"
},
"config": {
"commitizen": {
--- yarn.lock
@@ -20852,18 +20852,18 @@ __metadata:
languageName: node
linkType: hard
-"react-server-dom-webpack@npm:~19.0.0":
- version: 19.0.0
- resolution: "react-server-dom-webpack@npm:19.0.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Freact-server-dom-webpack%2F-%2Freact-server-dom-webpack-19.0.0.tgz"
+"react-server-dom-webpack@npm:~19.0.1":
+ version: 19.0.1
+ resolution: "react-server-dom-webpack@npm:19.0.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Freact-server-dom-webpack%2F-%2Freact-server-dom-webpack-19.0.1.tgz"
dependencies:
acorn-loose: "npm:^8.3.0"
neo-async: "npm:^2.6.1"
webpack-sources: "npm:^3.2.0"
peerDependencies:
- react: ^19.0.0
- react-dom: ^19.0.0
+ react: ^19.0.1
+ react-dom: ^19.0.1
webpack: ^5.59.0
- checksum: 10c0/08f15b5c21f4ec46ebf7578c1c6e8e080270274e81e969dea958d33938970d56dedbc7d598a9588bbc76ad37c1c7c0f61f8caff8ac8fb6725c94de0a9dc488fd
+ checksum: 10c0/19833a18466e24f36857bdc85da64b32e5140e866215fbd4f59f915470446a2cb064ef4f594952ac480c13d8c4b54d1385e9b19de726c88c5580bbcde707b26a
languageName: node
linkType: hard
| fix(ci): added transient dep version to fix build issues | fix(ci): added transient dep version to fix build issues
|
e296a3b20ba5c1c8275a9a4b0be46d7f9e51d486 | --- packages/myteam-mini-app/jest.config.js
@@ -12,10 +12,16 @@ module.exports = {
'<rootDir>/src/**/*.{js,jsx,ts,tsx}',
'!<rootDir>/src/queries/*',
'!<rootDir>/src/mocks/*',
- '!<rootDir>/src/**/index.{ts,tsx}',
- '!<rootDir>/src/**/types.{ts,tsx}',
'!<rootDir>/src/**/*.d.ts',
],
+ coveragePathIgnorePatterns: [
+ '/node_modules/',
+ '__tests__',
+ 'index\\.ts$',
+ 'index\\.tsx$',
+ 'types\\.ts$',
+ 'types\\.tsx$',
+ ],
coverageReporters: ['lcov', 'text'],
coverageThreshold: {
global: {
| chore: 100% test coverage reached | chore: 100% test coverage reached
|
2ea7065002e954cb6ae137732887702f625f628a | --- lerna.json
@@ -21,13 +21,7 @@
"**/__tests__/**"
],
"packages": [
- "packages/allspark-http-client",
- "packages/allspark-graphql-client",
"packages/allspark-utils",
- "packages/core-services",
- "packages/core-services-allspark",
- "packages/core-utils",
- "packages/core-widget-registry",
"packages/me-at-walmart-athena-queries",
"packages/allspark-foundation",
"packages/allspark-authentication",
--- packages/allspark-foundation/package.json
@@ -43,15 +43,18 @@
"@react-navigation/native": "^6.0.0",
"@react-navigation/stack": "^6.3.1",
"@types/react-redux": "^7.1.9",
+ "react": "^18.2.0",
+ "react-native": "~0.70.5",
"react-native-flipper": "^0.152.0",
"react-native-safe-area-context": "~4.4.1",
"redux-flipper": "^2.0.1"
},
"peerDependencies": {
- "@react-navigation/native": "^6.0.0",
- "@react-navigation/stack": "^6.3.1",
- "react": "^18.2.0",
- "react-native-safe-area-context": "~4.4.1",
- "redux-flipper": ">2"
+ "@react-navigation/native": ">=6",
+ "@react-navigation/stack": ">=6.3",
+ "react": ">=18.1",
+ "react-native": "~0.70.5",
+ "react-native-safe-area-context": ">=4.4",
+ "redux-flipper": ">=2"
}
}
--- packages/allspark-utils/package.json
@@ -38,10 +38,12 @@
"devDependencies": {
"@types/crypto-js": "^4.0.2",
"@types/lodash": "~4.14.178",
- "@types/uuid": "~8.3.4"
+ "@types/uuid": "~8.3.4",
+ "react": "^18.2.0",
+ "react-native": "~0.70.5"
},
"peerDependencies": {
- "react": "^18.2.0",
+ "react": ">=18.1",
"react-native": "~0.70.5"
}
}
| chore: update dependencies | chore: update dependencies
|
f8852a284cc59c854173fd78687efb588a40a00c | --- .looper.multibranch.yml
@@ -54,10 +54,10 @@ flows:
app-build-init:
- call: initialize
- - (name Set NPM Env) yarn run env:${ENV} # added to run before set-build-number
# - call: initialize-fastlane
- withcache('yarn-cache'):
- call: yarn-steps
+ - (name Set NPM Env) yarn run env:${ENV} # added to run before set-build-number
- if: ${MULTI_BUILD}
then:
- call: set-build-number
| chore: looper fix | chore: looper fix
|
23cefc99243a9f5b124d31d2a3b8c7003c1a5882 | --- .looper.yml
@@ -22,4 +22,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
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.15.0",
+ "version": "1.15.1",
"main": "dist/index.js",
"files": [
"dist"
@@ -97,9 +97,9 @@
"@walmart/react-native-shared-navigation": "6.1.4",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "3.7.0",
- "@walmart/roster-mini-app": "2.10.0",
+ "@walmart/roster-mini-app": "2.12.1",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "2.7.0",
+ "@walmart/wmconnect-mini-app": "2.11.1",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
--- yarn.lock
@@ -6276,9 +6276,9 @@ __metadata:
"@walmart/react-native-shared-navigation": "npm:6.1.4"
"@walmart/react-native-sumo-sdk": "npm:2.6.0"
"@walmart/redux-store": "npm:3.7.0"
- "@walmart/roster-mini-app": "npm:2.10.0"
+ "@walmart/roster-mini-app": "npm:2.12.1"
"@walmart/ui-components": "npm:1.15.1"
- "@walmart/wmconnect-mini-app": "npm:2.7.0"
+ "@walmart/wmconnect-mini-app": "npm:2.11.1"
babel-jest: "npm:^29.2.1"
chance: "npm:^1.1.11"
eslint: "npm:8.22.0"
@@ -6458,9 +6458,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:2.10.0":
- version: 2.10.0
- resolution: "@walmart/roster-mini-app@npm:2.10.0"
+"@walmart/roster-mini-app@npm:2.12.1":
+ version: 2.12.1
+ resolution: "@walmart/roster-mini-app@npm:2.12.1"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6502,7 +6502,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/33520e203c9df8d5606f47472838ba0f0135b415eab361b5b3f21db933067f109fcff029592d67c58f86a5491d6a4f75a3cc684627a4ffce945990d344333f29
+ checksum: 10c0/a69513b236ac2814992e431ea9327ae136f8b5a4953c2e2c2a4a9854ed17a3ef31d235cb9c31da6fd52b905c535f1d58e9171ed5e3d3a79c896ee7b4ce822a96
languageName: node
linkType: hard
@@ -6526,9 +6526,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:2.7.0":
- version: 2.7.0
- resolution: "@walmart/wmconnect-mini-app@npm:2.7.0"
+"@walmart/wmconnect-mini-app@npm:2.11.1":
+ version: 2.11.1
+ resolution: "@walmart/wmconnect-mini-app@npm:2.11.1"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6568,7 +6568,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/ce28cf7664920e6c76161a7537363d4018fff03ba73095dc215984bb74121d6db890ec95a25dc466be9036d91982e149ce94342953e7707c17aa04c38bd86248
+ checksum: 10c0/63172950f38704a6214542ee5ded0aecbb4bbe70439e2b2f11c25bbbe1e4fd3f449da0e2cb15bb78f01dbed2e9f7b4d8e007787090e85d7f44a612aae08e850b
languageName: node
linkType: hard
| feat(ui): update texting and roster | feat(ui): update texting and roster
|
76d5924a1e1bc05213fdec59dacb2f2b05e9e1cf | --- test-noninteractive.js
@@ -1,23 +0,0 @@
-#!/usr/bin/env node
-
-// Simple test to validate non-interactive mode detection
-const isNonInteractive = process.env.CI === 'true' ||
- process.env.NODE_ENV === 'test' ||
- !process.stdin.isTTY ||
- process.argv.includes('--nonInteractive') ||
- process.argv.includes('-ni');
-
-console.log('Environment variables:');
-console.log('CI:', process.env.CI);
-console.log('NODE_ENV:', process.env.NODE_ENV);
-console.log('stdin.isTTY:', process.stdin.isTTY);
-console.log('argv:', process.argv);
-console.log('Non-interactive mode:', isNonInteractive);
-
-if (isNonInteractive) {
- console.log('β
Non-interactive mode would be enabled');
- console.log('Would use defaults: variant=development, target=US');
- console.log('Command to run:', process.argv[2] || 'No command specified');
-} else {
- console.log('β Interactive mode would be used');
-}
--- validation-script.js
@@ -1,126 +0,0 @@
-#!/usr/bin/env node
-
-/**
- * Validation Script for Associate Experience Hub Mini-App Fixes
- *
- * This script validates:
- * 1. Non-interactive mode functionality in runWithVariablePrompt.ts
- * 2. TypeScript compilation of all modified files
- * 3. Code structure and implementation correctness
- */
-
-console.log('π§ͺ Associate Experience Hub Mini-App - Fix Validation');
-console.log('='.repeat(60));
-
-// Test 1: Validate non-interactive mode logic
-console.log('\n1. Testing Non-Interactive Mode Logic...');
-const isNonInteractive = process.env.CI === 'true' ||
- process.env.NODE_ENV === 'test' ||
- !process.stdin.isTTY ||
- process.argv.includes('--nonInteractive') ||
- process.argv.includes('-ni');
-
-console.log(` CI environment: ${process.env.CI || 'undefined'}`);
-console.log(` NODE_ENV: ${process.env.NODE_ENV || 'undefined'}`);
-console.log(` stdin.isTTY: ${process.stdin.isTTY}`);
-console.log(` Command line flags: ${process.argv.slice(2).join(', ') || 'none'}`);
-console.log(` β
Non-interactive mode detection: ${isNonInteractive}`);
-
-// Test 2: Validate file structure
-console.log('\n2. Validating File Structure...');
-const fs = require('fs');
-const path = require('path');
-
-const filesToCheck = [
- 'scripts/runWithVariablePrompt.ts',
- 'src/MyWalmartTeamSwitcher/MyWalmartTeamSwitcher.tsx',
- 'src/Screens/HomeScreen.tsx',
- 'src/Redux/selectors.ts',
- 'src/Redux/reducer.ts'
-];
-
-filesToCheck.forEach(file => {
- const filePath = path.join(process.cwd(), file);
- if (fs.existsSync(filePath)) {
- console.log(` β
${file} - EXISTS`);
- } else {
- console.log(` β ${file} - MISSING`);
- }
-});
-
-// Test 3: Validate key implementations
-console.log('\n3. Validating Key Implementations...');
-
-// Check runWithVariablePrompt.ts for non-interactive flag
-try {
- const scriptContent = fs.readFileSync('scripts/runWithVariablePrompt.ts', 'utf8');
-
- const hasNonInteractiveOption = scriptContent.includes('.option(\'nonInteractive\'');
- const hasEnvironmentDetection = scriptContent.includes('process.env.CI === \'true\'');
- const hasDefaultValues = scriptContent.includes('variant=\'development\'') ||
- scriptContent.includes('variant = buildContext?.EXPO_PUBLIC_APP_VARIANT || \'development\'');
-
- console.log(` β
Non-interactive option: ${hasNonInteractiveOption}`);
- console.log(` β
Environment detection: ${hasEnvironmentDetection}`);
- console.log(` β
Default values: ${hasDefaultValues}`);
-} catch (error) {
- console.log(` β Error reading runWithVariablePrompt.ts: ${error.message}`);
-}
-
-// Check HomeScreen.tsx for team initialization fix
-try {
- const homeScreenContent = fs.readFileSync('src/Screens/HomeScreen.tsx', 'utf8');
-
- const hasMockTeamsArray = homeScreenContent.includes('mockTeams');
- const hasSetSavedTeams = homeScreenContent.includes('setSavedTeams(mockTeams)');
- const hasMultipleTeams = homeScreenContent.includes('team-alpha') && homeScreenContent.includes('team-beta');
-
- console.log(` β
Mock teams array: ${hasMockTeamsArray}`);
- console.log(` β
setSavedTeams action: ${hasSetSavedTeams}`);
- console.log(` β
Multiple teams: ${hasMultipleTeams}`);
-} catch (error) {
- console.log(` β Error reading HomeScreen.tsx: ${error.message}`);
-}
-
-// Check MyWalmartTeamSwitcher.tsx for debug logging
-try {
- const teamSwitcherContent = fs.readFileSync('src/MyWalmartTeamSwitcher/MyWalmartTeamSwitcher.tsx', 'utf8');
-
- const hasDebugLogging = teamSwitcherContent.includes('TeamSwitcher Debug:');
- const hasAllTeamsSelector = teamSwitcherContent.includes('getAllTeams');
- const hasUserTeamSelectionCompleteSelector = teamSwitcherContent.includes('getUserTeamSelectionComplete');
-
- console.log(` β
Debug logging: ${hasDebugLogging}`);
- console.log(` β
getAllTeams selector: ${hasAllTeamsSelector}`);
- console.log(` β
getUserTeamSelectionComplete selector: ${hasUserTeamSelectionCompleteSelector}`);
-} catch (error) {
- console.log(` β Error reading MyWalmartTeamSwitcher.tsx: ${error.message}`);
-}
-
-console.log('\n4. Summary of Fixes...');
-console.log(' π§ Non-Interactive Mode:');
-console.log(' - Added --nonInteractive (-ni) command line flag');
-console.log(' - Automatic CI environment detection');
-console.log(' - Bypasses all inquirer prompts in CI/CD');
-console.log(' - Uses default values: variant=development, target=US');
-
-console.log('\n π§ TeamSwitchEnabled Fix:');
-console.log(' - Enhanced HomeScreen initialization');
-console.log(' - Created mock teams array with multiple teams');
-console.log(' - Added setSavedTeams dispatch to populate allTeams');
-console.log(' - Added debug logging to track selector values');
-
-console.log('\n⨠Validation Complete!');
-console.log('\nNext Steps:');
-console.log('1. Run the application to test teamSwitchEnabled functionality');
-console.log('2. Test non-interactive mode in CI/CD environment');
-console.log('3. Remove debug logging once confirmed working');
-
-// Test commands for manual execution
-console.log('\nπ Test Commands:');
-console.log('Non-interactive test:');
-console.log(' CI=true npm start');
-console.log(' NODE_ENV=test npm start');
-console.log(' npx ts-node scripts/runWithVariablePrompt.ts "echo test" --nonInteractive');
-console.log('\nNormal app start:');
-console.log(' npm start');
| feat(ui): update associate hub exp integration | feat(ui): update associate hub exp integration
|
b597d8f26bbda0695ba9d86839392da34082bc99 | --- .yarn/patches/react-native-npm-0.72.12-e28f3b183e.patch
@@ -0,0 +1,13 @@
+diff --git a/third-party-podspecs/boost.podspec b/third-party-podspecs/boost.podspec
+index bbbb7380e51a12d1b2994c8ab8e8f682c5e6d83d..3d9331c95d1217682a0b820a0d9440fdff074ae0 100644
+--- a/third-party-podspecs/boost.podspec
++++ b/third-party-podspecs/boost.podspec
+@@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
+ spec.homepage = 'http://www.boost.org'
+ spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
+ spec.authors = 'Rene Rivera'
+- spec.source = { :http => 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2',
++ spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2',
+ :sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41' }
+
+ # Pinning to the same version as React.podspec.
--- package.json
@@ -174,7 +174,7 @@
"react-dom": "^18.2.0",
"react-hook-form": "^7.51.0",
"react-i18next": "^13.3.1",
- "react-native": "^0.72.12",
+ "react-native": "patch:react-native@npm%3A0.72.12#~/.yarn/patches/react-native-npm-0.72.12-e28f3b183e.patch",
"react-native-app-auth": "^6.4.3",
"react-native-audio-recorder-player": "3.5.3",
"react-native-background-timer": "^2.4.1",
@@ -397,7 +397,7 @@
},
"resolutions": {
"react": "^18.2.0",
- "react-native": "0.72.12",
+ "react-native": "patch:react-native@npm%3A0.72.12#~/.yarn/patches/react-native-npm-0.72.12-e28f3b183e.patch",
"axios-cache-adapter": "patch:axios-cache-adapter@npm%3A2.7.3#~/.yarn/patches/axios-cache-adapter-npm-2.7.3-26c357b785.patch",
"@react-native-community/datetimepicker": "^6.7.5",
"@walmart/allspark-utils": "6.0.12",
| chore: patch react native for boost ios build fix | chore: patch react native for boost ios build fix
|
d01d466bb23dbacdbcc899e00d46f13f1b75c3c8 | --- packages/allspark-graphql-client/CHANGELOG.md
@@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [0.1.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-graphql-client@0.0.11...@walmart/allspark-graphql-client@0.1.0) (2023-01-18)
+
+
+### Features
+
+* add links prop to apollo provider. removed allspark specific link. update policies ([78ebf5e](https://gecgithub01.walmart.com/allspark/allspark/commit/78ebf5e85c7e393e49d6a83c29e806996b88c1cd))
+* remove allspark policies and helper types. update provider to accept more configurations ([c0e5489](https://gecgithub01.walmart.com/allspark/allspark/commit/c0e5489d9ca82729b3ac6198a07a05d86c535309))
+
+
+
+
+
## [0.0.11](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-graphql-client@0.0.10...@walmart/allspark-graphql-client@0.0.11) (2023-01-16)
**Note:** Version bump only for package @walmart/allspark-graphql-client
--- packages/allspark-graphql-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-graphql-client",
- "version": "0.0.11",
+ "version": "0.1.0",
"description": "> TODO: description",
"license": "ISC",
"main": "lib/index.js",
@@ -32,8 +32,8 @@
},
"devDependencies": {
"@graphql-codegen/cli": "^2.16.3",
- "@graphql-codegen/typescript": "^2.8.7",
"@graphql-codegen/near-operation-file-preset": "^2.5.0",
+ "@graphql-codegen/typescript": "^2.8.7",
"@graphql-codegen/typescript-operations": "^2.5.10",
"@graphql-codegen/typescript-react-apollo": "^3.3.7",
"@types/crypto-js": "^3.1.43",
@@ -47,8 +47,8 @@
},
"peerDependencies": {
"@graphql-codegen/cli": "^2.16.3",
- "@graphql-codegen/typescript": "^2.8.7",
"@graphql-codegen/near-operation-file-preset": "^2.5.0",
+ "@graphql-codegen/typescript": "^2.8.7",
"@graphql-codegen/typescript-operations": "^2.5.10",
"@graphql-codegen/typescript-react-apollo": "^3.3.7",
"json-to-pretty-yaml": "^1.2.2"
--- packages/allspark-http-client/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.0.5](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-http-client@2.0.4...@walmart/allspark-http-client@2.0.5) (2023-01-18)
+
+**Note:** Version bump only for package @walmart/allspark-http-client
+
+
+
+
+
## [2.0.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-http-client@2.0.3...@walmart/allspark-http-client@2.0.4) (2022-12-16)
**Note:** Version bump only for package @walmart/allspark-http-client
--- packages/allspark-http-client/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-http-client",
- "version": "2.0.4",
+ "version": "2.0.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
--- packages/allspark-http-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-http-client",
- "version": "2.0.4",
+ "version": "2.0.5",
"description": "",
"author": "rlane1 <russell.lane@walmart.com>",
"license": "ISC",
--- packages/allspark-redux-store/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.1.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-redux-store@1.0.10...@walmart/allspark-redux-store@1.1.0) (2023-01-18)
+
+
+### Features
+
+* add links prop to apollo provider. removed allspark specific link. update policies ([78ebf5e](https://gecgithub01.walmart.com/allspark/allspark/commit/78ebf5e85c7e393e49d6a83c29e806996b88c1cd))
+
+
+
+
+
## [1.0.10](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-redux-store@1.0.9...@walmart/allspark-redux-store@1.0.10) (2023-01-16)
**Note:** Version bump only for package @walmart/allspark-redux-store
--- packages/allspark-redux-store/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-redux-store",
- "version": "1.0.10",
+ "version": "1.1.0",
"description": "Common redux store for allspark platform",
"author": "rlane1 <russell.lane@walmart.com>",
"homepage": "",
@@ -39,7 +39,7 @@
},
"dependencies": {
"@reduxjs/toolkit": "^1.9.1",
- "@walmart/allspark-http-client": "^2.0.4",
+ "@walmart/allspark-http-client": "^2.0.5",
"lodash": "~4.17.21",
"namecase": "^1.1.2",
"react-redux": "^8.0.5",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-graphql-client@0.1.0
- @walmart/allspark-http-client@2.0.5
- @walmart/allspark-redux-store@1.1.0
|
83f629436d3edb80329e4b80270a58a7e6e23ebc | --- packages/allspark-foundation-hub/src/Shared/Components/PageHeader/style.ts
@@ -12,7 +12,7 @@ export default (
container: {
width: '100%',
paddingTop: 16,
- paddingLeft: 10,
+ paddingLeft: 16,
paddingBottom: subText ? 10 : 8,
display: 'flex',
flexDirection: 'row',
| Updating styles | Updating styles
|
848ab355de0ad3d5a69677c45048855ef4c428a9 | --- package-lock.json
@@ -36,7 +36,7 @@
"@walmart/allspark-neon-core": "0.1.31",
"@walmart/amp-mini-app": "1.1.30",
"@walmart/ask-sam-chat-components": "^0.2.7",
- "@walmart/ask-sam-mini-app": "1.12.2",
+ "@walmart/ask-sam-mini-app": "1.13.4",
"@walmart/attendance-mini-app": "0.190.2",
"@walmart/compass-sdk-rn": "4.2.0",
"@walmart/config-components": "4.2.1",
@@ -4837,7 +4837,9 @@
}
},
"node_modules/@walmart/ask-sam-mini-app": {
- "version": "1.12.2",
+ "version": "1.13.4",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.13.4.tgz",
+ "integrity": "sha512-N8xaaLdJAc+MY8Djq+hLV+cFTj0mOpje5wnOzgQAFE/8fNSsL0cmgnlIkt1BDQFnrGkkSqqm5759spG6hnWX3A==",
"license": "NONE",
"dependencies": {
"apisauce": "^1.1.2",
@@ -25176,7 +25178,9 @@
}
},
"@walmart/ask-sam-mini-app": {
- "version": "1.12.2",
+ "version": "1.13.4",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.13.4.tgz",
+ "integrity": "sha512-N8xaaLdJAc+MY8Djq+hLV+cFTj0mOpje5wnOzgQAFE/8fNSsL0cmgnlIkt1BDQFnrGkkSqqm5759spG6hnWX3A==",
"requires": {
"apisauce": "^1.1.2",
"axios-cache-adapter": "^2.7.3",
--- package.json
@@ -78,7 +78,7 @@
"@walmart/allspark-neon-core": "0.1.31",
"@walmart/amp-mini-app": "1.1.30",
"@walmart/ask-sam-chat-components": "^0.2.7",
- "@walmart/ask-sam-mini-app": "1.12.2",
+ "@walmart/ask-sam-mini-app": "1.13.4",
"@walmart/attendance-mini-app": "0.190.2",
"@walmart/compass-sdk-rn": "4.2.0",
"@walmart/config-components": "4.2.1",
| Updated askSam by removing ptt references | Updated askSam by removing ptt references
|
4c576d5e7d50566bd51bbac18e705775cb4dc612 | --- packages/components-library/components/Icon/__snapshots__/Icon.test.tsx.snap
@@ -5,7 +5,7 @@ exports[`Icon Component matches snapshot with default props 1`] = `
accessibilityLabel="shuffle"
accessibilityRole="image"
accessible={true}
- color="black"
+ color="#000"
name="shuffle"
size={24}
testID="icon"
@@ -29,7 +29,7 @@ exports[`Icon Component matches snapshot with size="small" 1`] = `
accessibilityLabel="shuffle"
accessibilityRole="image"
accessible={true}
- color="black"
+ color="#000"
name="shuffle"
size={16}
testID="icon"
| fix: snapshots updated | fix: snapshots updated
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.