commit_hash stringlengths 40 40 | input stringlengths 13 7.99k | output stringlengths 5 155 | full_message stringlengths 6 8.96k |
|---|---|---|---|
36b6155b19d57004ae7af3facdf948b3f70a5f52 | --- package.json
@@ -80,7 +80,7 @@
"@walmart/allspark-authentication": "6.4.10",
"@walmart/allspark-cope-key-listener": "0.0.18",
"@walmart/allspark-foundation": "6.50.0",
- "@walmart/allspark-foundation-hub": "1.16.0",
+ "@walmart/allspark-foundation-hub": "1.17.0",
"@walmart/allspark-graphql-client": "~6.3.28",
"@walmart/allspark-http-client": "~6.3.28",
"@walmart/allspark-neon-core": "0.1.31",
--- yarn.lock
@@ -7000,9 +7000,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation-hub@npm:1.16.0":
- version: 1.16.0
- resolution: "@walmart/allspark-foundation-hub@npm:1.16.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation-hub%2F-%2F%40walmart%2Fallspark-foundation-hub-1.16.0.tgz"
+"@walmart/allspark-foundation-hub@npm:1.17.0":
+ version: 1.17.0
+ resolution: "@walmart/allspark-foundation-hub@npm:1.17.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation-hub%2F-%2F%40walmart%2Fallspark-foundation-hub-1.17.0.tgz"
peerDependencies:
"@react-navigation/native": 7.x
"@walmart/allspark-foundation": ">=6.27"
@@ -7012,7 +7012,7 @@ __metadata:
react: "*"
react-native: "*"
react-native-safe-area-context: 4.x
- checksum: 10c0/11094bed935afc51c1c574307411ac290e65dc5e663c1d50093d362a04299a82978cc843628c5604dda137e9a7e271a5b524a06c1d6da8bfb7258d17f29227ac
+ checksum: 10c0/3b66d1f1effc6a1698fa8154c9b5457360f7463c8abb94c29d9e2d74ceceda6c35ed6f89ccda046eddd146f203a1461359bfd34e9173bf31594d53a36e32335b
languageName: node
linkType: hard
@@ -8321,7 +8321,7 @@ __metadata:
"@walmart/allspark-authentication": "npm:6.4.10"
"@walmart/allspark-cope-key-listener": "npm:0.0.18"
"@walmart/allspark-foundation": "npm:6.50.0"
- "@walmart/allspark-foundation-hub": "npm:1.16.0"
+ "@walmart/allspark-foundation-hub": "npm:1.17.0"
"@walmart/allspark-graphql-client": "npm:~6.3.28"
"@walmart/allspark-http-client": "npm:~6.3.28"
"@walmart/allspark-neon-core": "npm:0.1.31"
| feat(ui): bumped allspark-foundation-hub version (#4835) | feat(ui): bumped allspark-foundation-hub version (#4835)
Co-authored-by: Aroushi Sharma - a0s11tw <Aroushi.Sharma@walmart.com> |
8f38b2707abd62bbc6d0c70df9b5c3ae0d402abf | --- graphql.yml
@@ -8,12 +8,10 @@ applications:
- name: 'dev'
persistedQueries:
- name: 'GetAssociateClockStatus'
- hash: 'b4080db4f80721f28469fdce6584ae8afe567ee4c200d77b6889912ec1c0d214'
queryTemplate: 'src/queries/getAssociateClockStatus.graphql'
tags:
- 'v1'
- name: 'GetDailyRoster'
- hash: 'a91589d0ee9424fabe377345d9994068d07fb8781417b94ef77575d3fdd3f8f3'
queryTemplate: 'src/queries/getDailyRoster.graphql'
tags:
- 'v3'
@@ -31,12 +29,10 @@ applications:
- name: 'stage'
persistedQueries:
- name: 'GetAssociateClockStatus'
- hash: 'b4080db4f80721f28469fdce6584ae8afe567ee4c200d77b6889912ec1c0d214'
queryTemplate: 'src/queries/getAssociateClockStatus.graphql'
tags:
- 'v1'
- name: 'GetDailyRoster'
- hash: 'a91589d0ee9424fabe377345d9994068d07fb8781417b94ef77575d3fdd3f8f3'
queryTemplate: 'src/queries/getDailyRoster.graphql'
tags:
- 'v3'
| Removing hash values | Removing hash values
|
afa42dc92a386856fb6ab5d2b0e6cc521c00e401 | --- targets/US/package.json
@@ -93,14 +93,14 @@
"@walmart/calling-mini-app": "0.3.5",
"@walmart/checkout-mini-app": "3.22.0",
"@walmart/compass-sdk-rn": "5.19.13",
- "@walmart/config-components": "4.4.2",
+ "@walmart/config-components": "4.4.4",
"@walmart/copilot-mini-app": "3.92.14",
"@walmart/core-services": "~6.4.1",
"@walmart/core-services-allspark": "workspace:^",
"@walmart/core-utils": "6.3.9",
"@walmart/core-widget-registry": "workspace:^",
"@walmart/counts-component-miniapp": "0.1.11",
- "@walmart/emergency-mini-app": "1.29.6",
+ "@walmart/emergency-mini-app": "1.29.7",
"@walmart/exception-mini-app": "1.8.4",
"@walmart/facilities-management-miniapp": "0.11.15",
"@walmart/feedback-all-spark-miniapp": "0.9.66",
@@ -109,7 +109,7 @@
"@walmart/gta-react-native-calendars": "0.7.0",
"@walmart/gtp-shared-components": "2.2.4-rc.3",
"@walmart/ims-print-services-ui": "2.12.0",
- "@walmart/inbox-mini-app": "0.96.4",
+ "@walmart/inbox-mini-app": "0.96.5",
"@walmart/iteminfo-mini-app": "7.15.11",
"@walmart/learning-mini-app": "20.0.32",
"@walmart/manager-approvals-miniapp": "0.2.4",
@@ -238,7 +238,7 @@
"react-native-view-shot": "^3.4.0",
"react-native-vision-camera": "patch:react-native-vision-camera@npm%3A3.7.1#~/.yarn/patches/react-native-vision-camera-npm-3.7.1-a55884f46c.patch",
"react-native-webview": "11.23.1",
- "react-native-wm-app-review": "0.5.4",
+ "react-native-wm-app-review": "0.7.1",
"react-native-wm-config": "0.1.1",
"react-native-wm-network": "~6.3.20",
"react-native-wm-notification": "~6.3.20",
--- yarn.lock
@@ -6160,23 +6160,26 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/config-components@npm:4.4.2":
- version: 4.4.2
- resolution: "@walmart/config-components@npm:4.4.2"
- dependencies:
- reduxsauce: "npm:^1.2.1"
- reselect: "npm:^4.1.5"
+"@walmart/config-components@npm:4.4.4":
+ version: 4.4.4
+ resolution: "@walmart/config-components@npm:4.4.4"
peerDependencies:
"@react-native-firebase/app": ">=15.1.1"
"@react-native-firebase/database": ">=15.1.1"
+ "@react-native-firebase/perf": ">15.1.1"
+ "@walmart/allspark-foundation": "*"
"@walmart/core-services": ">=2.0.15"
"@walmart/core-services-allspark": ">=2.10.3"
"@walmart/core-utils": ">=1.1.2"
+ jwt-decode: ">=3.0"
react: "*"
react-native: "*"
react-native-check-app-install: ">=0.0.5"
- react-native-device-info: ^10.3.0
- checksum: 10c0/4ef9cd2c581f5e346e5d9fb0381b0ad0d95d2e4b341fafa4f1f44ec198f8fcc79e97fd725ad8e8791eaaf4b1d569520f4945662ebef827e3a28482d93090a66f
+ react-native-device-info: ">=10.1.0"
+ redux: ">=4.2.0"
+ reduxsauce: ">=1"
+ reselect: ">=4"
+ checksum: 10c0/e299d21ae0b5a06852dd4001989a0c5aee4804eba59a77c6769f3c4e0b6af6dbe85626c3ea0b0bb42ad2f3689c4bd999f61c7a04ad5fd87fe2a43441654ad508
languageName: node
linkType: hard
@@ -6267,9 +6270,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/emergency-mini-app@npm:1.29.6":
- version: 1.29.6
- resolution: "@walmart/emergency-mini-app@npm:1.29.6"
+"@walmart/emergency-mini-app@npm:1.29.7":
+ version: 1.29.7
+ resolution: "@walmart/emergency-mini-app@npm:1.29.7"
dependencies:
"@walmart/allspark-utils": "npm:^1.6.5"
"@walmart/core-widget-registry": "npm:^0.6.6"
@@ -6284,7 +6287,7 @@ __metadata:
react-native: "*"
react-redux: ^7.2.1
redux: ^4.1.2
- checksum: 10c0/71bc3a0c6cb1889894239cab0b0fd5b7413e6f5d67df9282ec5987dfa1543d845838870cbf4476033d8d117e07e41c4932104fa194380fe7d76c5166d4edf053
+ checksum: 10c0/4603518e7938888026021efe2639d9c57aef990b239cebf11979befe723de4b6dc1a0e74bab97562a8a5eebdd45effa4f721aef915110b73910a38065982d53d
languageName: node
linkType: hard
@@ -6462,9 +6465,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/inbox-mini-app@npm:0.96.4":
- version: 0.96.4
- resolution: "@walmart/inbox-mini-app@npm:0.96.4"
+"@walmart/inbox-mini-app@npm:0.96.5":
+ version: 0.96.5
+ resolution: "@walmart/inbox-mini-app@npm:0.96.5"
peerDependencies:
"@walmart/allspark-foundation": "*"
"@walmart/allspark-utils": ">=1.6.4"
@@ -6472,7 +6475,7 @@ __metadata:
"@walmart/moment-walmart": ">=1.0.4"
"@walmart/schedule-mini-app": ">=0.2.66"
"@walmart/walmart-fiscal-week": ">=0.3.6"
- checksum: 10c0/8f66197e25212cadf69800d9be0c4c7a17b62b17708b67e242f392eab6584e8bd3d88cf93e2a35e5f66d2270846b6b9d8b8b931620878d726659051c22b202ea
+ checksum: 10c0/9e97623afb1c40406006326f9ac6f359ebbbcc3cbf6e79e3c8b533670b44b2d833f8f238287a0852ebda9daad3447c7122830e30594bcf4c12b6e597a7ec83ef
languageName: node
linkType: hard
@@ -6955,14 +6958,14 @@ __metadata:
"@walmart/calling-mini-app": "npm:0.3.5"
"@walmart/checkout-mini-app": "npm:3.22.0"
"@walmart/compass-sdk-rn": "npm:5.19.13"
- "@walmart/config-components": "npm:4.4.2"
+ "@walmart/config-components": "npm:4.4.4"
"@walmart/copilot-mini-app": "npm:3.92.14"
"@walmart/core-services": "npm:~6.4.1"
"@walmart/core-services-allspark": "workspace:^"
"@walmart/core-utils": "npm:6.3.9"
"@walmart/core-widget-registry": "workspace:^"
"@walmart/counts-component-miniapp": "npm:0.1.11"
- "@walmart/emergency-mini-app": "npm:1.29.6"
+ "@walmart/emergency-mini-app": "npm:1.29.7"
"@walmart/exception-mini-app": "npm:1.8.4"
"@walmart/facilities-management-miniapp": "npm:0.11.15"
"@walmart/feedback-all-spark-miniapp": "npm:0.9.66"
@@ -6971,7 +6974,7 @@ __metadata:
"@walmart/gta-react-native-calendars": "npm:0.7.0"
"@walmart/gtp-shared-components": "npm:2.2.4-rc.3"
"@walmart/ims-print-services-ui": "npm:2.12.0"
- "@walmart/inbox-mini-app": "npm:0.96.4"
+ "@walmart/inbox-mini-app": "npm:0.96.5"
"@walmart/iteminfo-mini-app": "npm:7.15.11"
"@walmart/learning-mini-app": "npm:20.0.32"
"@walmart/manager-approvals-miniapp": "npm:0.2.4"
@@ -7109,7 +7112,7 @@ __metadata:
react-native-view-shot: "npm:^3.4.0"
react-native-vision-camera: "patch:react-native-vision-camera@npm%3A3.7.1#~/.yarn/patches/react-native-vision-camera-npm-3.7.1-a55884f46c.patch"
react-native-webview: "npm:11.23.1"
- react-native-wm-app-review: "npm:0.5.4"
+ react-native-wm-app-review: "npm:0.7.1"
react-native-wm-config: "npm:0.1.1"
react-native-wm-network: "npm:~6.3.20"
react-native-wm-notification: "npm:~6.3.20"
| platform version updated | platform version updated
|
a7d3e832ce87d5a61c340af78d09bd115d0aecaa | --- packages/allspark-foundation-hub/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.6.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.6.1...@walmart/allspark-foundation-hub@1.6.2) (2025-04-04)
+
+### Bug Fixes
+
+- **ui:** manager experience hub bug fixes ([#197](https://gecgithub01.walmart.com/allspark/allspark/issues/197)) ([2b06bc2](https://gecgithub01.walmart.com/allspark/allspark/commit/2b06bc2ea75929c13d4ebdb3fc62c2cc7174b861))
+
## [1.6.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.6.0...@walmart/allspark-foundation-hub@1.6.1) (2025-04-01)
**Note:** Version bump only for package @walmart/allspark-foundation-hub
--- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.6.1",
+ "version": "1.6.2",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-foundation-hub@1.6.2
|
6f95161d1f429ee7a67ec04253497323ec06d1b8 | --- container/ReactotronConfig.js
@@ -1,4 +1,4 @@
-import {AllsparkGraphQLClient, ReduxModule} from '@walmart/allspark-foundation';
+import {GraphQLModule, ReduxModule} from '@walmart/allspark-foundation';
import Reactotron from 'reactotron-react-native';
import {reactotronRedux} from 'reactotron-redux'
@@ -20,7 +20,7 @@ Reactotron.onCustomCommand({
Reactotron.display({
name: 'Apollo Cache',
preview: 'Cache Snapshot',
- value: AllsparkGraphQLClient.cache.extract(),
+ value: GraphQLModule.client.cache.extract(),
});
},
});
| fix: update env and logger modules | fix: update env and logger modules
|
c74e290d74015192554bed20cff74cf3752c2ca2 | --- src/containers/UserHeader.tsx
@@ -3,18 +3,14 @@ import {useSelector} from 'react-redux';
import {StyleSheet} from 'react-native';
import {
UserSelectors,
- SiteSelectors,
ClockStatusSelectors,
} from '@walmart/redux-store';
-import {Body, colors, ListItem, Switch} from '@walmart/gtp-shared-components';
+import {Body, colors, ListItem} from '@walmart/gtp-shared-components';
-import {useUserPresence} from '../presence/hooks';
-import {Avatar} from '../components/Avatar';
-import {goOfflineForUser, goOnlineForUser} from '../presence/service';
+import {Avatar} from '../components';
import {getEncryptedUserId} from '../redux/selectors';
import {useTranslation} from 'react-i18next';
import {TEXTING_I18N_NAMESPACE} from '../translations';
-import {doNotDisturbRef} from '../notification';
const styles = StyleSheet.create({
item: {
@@ -31,36 +27,16 @@ const styles = StyleSheet.create({
},
});
-export const UserHeader = () => {
+interface UserHeaderProps {
+ rightPanel: React.ReactElement
+}
+
+export const UserHeader: React.FC<UserHeaderProps> = ({ rightPanel = (<></>) }) => {
const userId: string = useSelector(getEncryptedUserId);
- const storeId: string = useSelector(SiteSelectors.getUserWorkingSite);
const name: string = useSelector(UserSelectors.getUserName) ?? '';
const isClockedIn = useSelector(ClockStatusSelectors.getIsClockedIn) ?? false;
const {t} = useTranslation([TEXTING_I18N_NAMESPACE]);
- const presence = useUserPresence(userId);
-
- const onStatusChange = (online: boolean) => {
- if (online) {
- goOnlineForUser(storeId, userId);
- doNotDisturbRef.current = false;
- } else {
- goOfflineForUser(storeId, userId);
- doNotDisturbRef.current = true;
- }
- };
-
- const renderDoNotDisturbToggle = () => {
- return (
- <>
- <Switch isOn={presence === 'offline'} onValueChange={onStatusChange} />
- <Body weight='400' size='small'>
- {t('userHeader.dndPresence')}
- </Body>
- </>
- );
- };
-
return (
<ListItem
UNSAFE_style={styles.item}
@@ -73,7 +49,7 @@ export const UserHeader = () => {
isClockedIn={isClockedIn}
/>
}
- trailing={isClockedIn && renderDoNotDisturbToggle()}>
+ trailing={rightPanel}>
<Body weight='400' size='small'>
{isClockedIn ? t('userHeader.clockedIn') : ''}
</Body>
| shelling out user header for texting mini app integration point | shelling out user header for texting mini app integration point
|
786995e71fa0fe6e9fc8f72bc346e1906fa1f07d | --- package-lock.json
@@ -1103,9 +1103,9 @@
"dev": true
},
"@callstack/react-theme-provider": {
- "version": "3.0.6",
- "resolved": "https://npme.walmart.com/@callstack/react-theme-provider/-/react-theme-provider-3.0.6.tgz",
- "integrity": "sha512-wwKMXfmklfogpalNZT0W+jh76BIquiYUiQHOaPmt/PCyCEP/E6rP+e7Uie6mBZrfkea9WJYJ+mus6r+45JAEhg==",
+ "version": "3.0.7",
+ "resolved": "https://npme.walmart.com/@callstack/react-theme-provider/-/react-theme-provider-3.0.7.tgz",
+ "integrity": "sha512-Ab6rbD2w4u9W3yf7LQQ8evx9m8fZNsoWxt+MFm3AyZnyKQNCJf4K7ip9tHHZgSs+HTdoj38lEqPehvFOVQKvAg==",
"requires": {
"deepmerge": "^3.2.0",
"hoist-non-react-statics": "^3.3.0"
@@ -3574,9 +3574,9 @@
"integrity": "sha512-PhbwXZYIduJImUrywvm+tqhFgV2qwNk2xhXjbaoBBOF8d0vHDjNElNEUvayM+9Nj25hFciAg/kYvFxXYpoelNQ=="
},
"@walmart/shelfavailability-mini-app": {
- "version": "0.3.89",
- "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-0.3.89.tgz",
- "integrity": "sha512-XaDNSrxlqioci0AY+Se7ssG5Fp2pPfJqYKncbYgSTvcg9jguIGO8NXc3T7QzbpGToycPwaAshJoVP7JgYVUyKQ==",
+ "version": "0.3.90",
+ "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-0.3.90.tgz",
+ "integrity": "sha512-B0DNvDih/RS74eUovgwpGtdA76s7pSRIcptKOS7Xd4kUjD7BojHNLf+Hzdq6paJUXA3DHh1ZXWfjVTYgWgVlLQ==",
"requires": {
"@types/uuid": "^8.3.0",
"@types/xdate": "^0.8.31",
--- package.json
@@ -96,7 +96,7 @@
"@walmart/redux-store": "^1.0.15",
"@walmart/schedule-mini-app": "0.3.1",
"@walmart/settings-mini-app": "1.3.7",
- "@walmart/shelfavailability-mini-app": "0.3.89",
+ "@walmart/shelfavailability-mini-app": "0.3.90",
"@walmart/time-clock-mini-app": "0.4.18",
"@walmart/ui-components": "1.1.57",
"@walmart/welcomeme-mini-app": "0.30.4",
| 0.3.90 SA | 0.3.90 SA
|
71f2195e3fa7556447414377fdd7b5a1a4b1742a | --- example/src/teamHub/screens/teamSelection.tsx
@@ -7,7 +7,6 @@ import {TeamSelection} from '@walmart/allspark-foundation/Components/Onboarding/
export const TeamSelectionScreen = TeamHub.createScreen(
() => {
const navigation = useNavigation();
-
useEffect(() => {
TeamHubLogger.info('test feature log - team selection screen loaded');
TeamHubTelemetry.logEvent('test_event', {
--- packages/allspark-foundation/__tests__/Hub/TeamOnboardingCard.test.tsx
@@ -1,6 +1,6 @@
import React from 'react';
import { render } from '../utils';
-import { TeamOnboardingCard } from '../../src/Components/TeamOnboarding/Component/TeamOnboardingCard';
+import { TeamOnboardingCard } from '../../src/Components/Onboarding/TeamOnboarding/Component/TeamOnboardingCard';
import { teamOnboardingCardsMockData } from '../../__mocks__/data/teamOnboardingCards';
const props = teamOnboardingCardsMockData[0];
--- packages/allspark-foundation/__tests__/Hub/TeamOnboardingCards.test.tsx
@@ -1,6 +1,6 @@
import React from 'react';
import { render } from '../utils';
-import { TeamOnboardingCards } from '../../src/Components/TeamOnboarding/Component/TeamOnboardingCards';
+import { TeamOnboardingCards } from '../../src/Components/Onboarding/TeamOnboarding/Component/TeamOnboardingCards';
import { teamOnboardingCardsMockData } from '../../__mocks__/data/teamOnboardingCards';
const props = {
--- packages/allspark-foundation/__tests__/Hub/TeamOnboardingScreen.test.tsx
@@ -3,7 +3,7 @@ import { render, fireEvent, userEvent } from '../utils';
import {
TeamOnboardingScreen,
TeamOnboardingScreenProps,
-} from '../../src/Components/TeamOnboarding/Screens/TeamOnboardingScreen';
+} from '../../src/Components/Onboarding/TeamOnboarding/Screens/TeamOnboardingScreen';
import { teamOnboardingCardsMockData } from '../../__mocks__/data/teamOnboardingCards';
const props: TeamOnboardingScreenProps = {
--- packages/allspark-foundation/__tests__/TeamOnboarding/SelectionBanner.test.tsx
@@ -0,0 +1,37 @@
+import React from 'react';
+import { render } from '@testing-library/react-native';
+import { SelectionBanner } from '../../src/Components/Onboarding/TeamSelection/Component/SelectionBanner';
+
+describe('SelectionBanner Rendering Tests', () => {
+ test('renders SelectionBanner with one team selected', () => {
+ const { getByText } = render(<SelectionBanner selectedTeams={1} />);
+ const bannerContentText = getByText('1 team selected');
+ expect(bannerContentText).toBeDefined();
+ expect(bannerContentText.props.children).toBe('1 team selected');
+ });
+
+ test('renders SelectionBanner with multiple teams selected', () => {
+ const { getByText } = render(<SelectionBanner selectedTeams={3} />);
+ const bannerContentText = getByText('3 teams selected');
+ expect(bannerContentText).toBeDefined();
+ expect(bannerContentText.props.children).toBe('3 teams selected');
+ });
+
+ test('does not render when selected teams is zero', () => {
+ const { queryByText } = render(<SelectionBanner selectedTeams={0} />);
+ const title = queryByText('0 Teams Selected');
+ expect(title).toBeNull();
+ });
+
+ test('renders with correct styles', () => {
+ const { getByText } = render(<SelectionBanner selectedTeams={1} />);
+ const bannerContentText = getByText('1 team selected');
+ expect(bannerContentText.props.style).toMatchObject({
+ fontFamily: 'Bogle',
+ fontSize: 14,
+ fontWeight: '700',
+ lineHeight: 20,
+ textAlign: 'center',
+ });
+ });
+});
--- packages/allspark-foundation/src/Components/Onboarding/TeamSelection/Component/SelectionBanner.tsx
@@ -0,0 +1,39 @@
+import React from 'react';
+import { Text, View, StyleSheet } from 'react-native';
+import { selectionBannerType } from '../types';
+import { colors } from '@walmart/gtp-shared-components';
+import {
+ TeamSelected,
+ TeamsSelected,
+} from '../Constants/TeamSelectionConstants';
+
+const selectionBannerStyles = StyleSheet.create({
+ container: {
+ flexDirection: 'row',
+ height: 36,
+ width: '100%',
+ padding: 8,
+ backgroundColor: colors.blue['10'],
+ },
+ title: {
+ fontFamily: 'Bogle',
+ fontSize: 14,
+ fontWeight: '700',
+ lineHeight: 20,
+ textAlign: 'center',
+ },
+});
+
+export const SelectionBanner = ({ selectedTeams }: selectionBannerType) => {
+ if (selectedTeams === 0) {
+ return null;
+ }
+ const teamLabel = selectedTeams === 1 ? TeamSelected : TeamsSelected;
+ return (
+ <View style={selectionBannerStyles.container}>
+ <Text style={selectionBannerStyles.title}>
+ {`${selectedTeams} ${teamLabel}`}
+ </Text>
+ </View>
+ );
+};
--- packages/allspark-foundation/src/Components/Onboarding/TeamSelection/Component/TeamSelectionList.tsx
@@ -1,6 +1,7 @@
import React, { useMemo } from 'react';
import { View, Text, SectionList } from 'react-native';
import { RenderTeamSelectionListItems } from './RenderTeamSelectionListItem';
+import { SelectionBanner } from './SelectionBanner';
import { teamSelectionListStyles as styles } from '../styles';
import { Team, TeamSelectionListProps } from '../types';
import { areaTeamMap } from '../mockData';
@@ -105,6 +106,11 @@ export const TeamSelectionList = ({
</View>
)}
stickySectionHeadersEnabled={false}
+ ListFooterComponent={
+ <>
+ <SelectionBanner selectedTeams={selectedTeams.length} />
+ </>
+ }
/>
</View>
);
--- packages/allspark-foundation/src/Components/Onboarding/TeamSelection/Constants/TeamSelectionConstants.ts
@@ -5,3 +5,5 @@ export const MyArea = 'My area';
export const PrimaryTeam = 'Primary Team';
export const Teams = 'Teams';
export const SelectAllTeams = 'Select all teams';
+export const TeamSelected = 'team selected';
+export const TeamsSelected = 'teams selected';
--- packages/allspark-foundation/src/Components/Onboarding/TeamSelection/types.ts
@@ -84,3 +84,6 @@ export interface TeamSelectionProps {
handleSelectSingle: (teamName: Team) => void;
handleSelectAll: () => void;
}
+export type selectionBannerType = {
+ selectedTeams: number;
+};
| Adding selection banner component | Adding selection banner component
|
2738fcc4a021f9fb56adb227afbc8808a2fa3f54 | --- package-lock.json
@@ -5340,9 +5340,9 @@
"integrity": "sha512-/2CjaIpac1s3kOUHVYvfzDOXW0AJp96tuKT1TNj3GDYX68HUOztjrYsOlZz1/WEG55iNMAJrfENcnTNguf5s9w=="
},
"@walmart/push-to-talk-mini-app": {
- "version": "1.7.22",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-1.7.22.tgz",
- "integrity": "sha512-R3W3o3jeONaU0B8aC9MdpaAwyDAabos0HYVClXc66ZF3NcIxawdnfX5aIbgs6VE8aRhVCM/Gh4p877ATkwViNg=="
+ "version": "1.7.23",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-1.7.23.tgz",
+ "integrity": "sha512-1PAiozkvSlXGd6LYVtv0+kmXuINulBu+DSvFddyuOrEBQ5ZNIxb4SjIqSQo0700ugLCxqXNfMqeHnl6mIAxEcg=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
--- package.json
@@ -96,7 +96,7 @@
"@walmart/payrollsolution_miniapp": "^0.123.2",
"@walmart/price-changes-mini-app": "1.2.3",
"@walmart/profile-feature-app": "0.0.39",
- "@walmart/push-to-talk-mini-app": "1.7.22",
+ "@walmart/push-to-talk-mini-app": "1.7.23",
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.29.0",
"@walmart/react-native-shared-navigation": "1.0.2",
| adding change store fix attempt | adding change store fix attempt
|
958c3447f6f9652145a2ca8aef39b4668bc9fa09 | --- docs/docusaurus.config.ts
@@ -17,7 +17,7 @@ const config: Config = {
// If you aren't using GitHub pages, you don't need these.
organizationName: 'smdv', // Usually your GitHub org/user name.
projectName: 'allspark', // Usually your repo name.
- deploymentBranch: 'gh-pages'
+ deploymentBranch: 'gh-pages',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
| added deployment branch to config file | added deployment branch to config file
|
992b0f50ded26cb1df95b99a44e3865569f77717 | --- docs/CHANGELOG.md
@@ -1,3 +1,10 @@
+# [3.13.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v3.12.0...v3.13.0) (2025-12-19)
+
+
+### Features
+
+* SMDV-9015 optimized query calls on widget ([f925cb0](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/f925cb071a40981815f611a0581055a1b8624389))
+
# [3.12.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v3.11.0...v3.12.0) (2025-12-19)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "3.12.0",
+ "version": "3.13.0",
"main": "dist/index.js",
"files": [
"dist",
| chore(release): 3.13.0 [skip ci] | chore(release): 3.13.0 [skip ci]
# [3.13.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v3.12.0...v3.13.0) (2025-12-19)
### Features
* SMDV-9015 optimized query calls on widget ([f925cb0](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/f925cb071a40981815f611a0581055a1b8624389))
|
e564090faccf329c97bff98a743d3db772a7b3da | --- package-lock.json
@@ -56,7 +56,7 @@
"@walmart/inbox-mini-app": "0.68.0",
"@walmart/iteminfo-mini-app": "6.0.1",
"@walmart/manager-approvals-miniapp": "0.1.1",
- "@walmart/me-field-mini-app": "1.1.31",
+ "@walmart/me-field-mini-app": "1.1.30",
"@walmart/metrics-mini-app": "0.9.28",
"@walmart/mod-flex-mini-app": "1.2.7",
"@walmart/moment-walmart": "1.0.4",
@@ -5197,7 +5197,9 @@
}
},
"node_modules/@walmart/me-field-mini-app": {
- "version": "1.1.31",
+ "version": "1.1.30",
+ "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-1.1.30.tgz",
+ "integrity": "sha512-kfe2Ao9LJAG8ynOJ4jU4qAv1uYiy81jatVlYG9Vhqm+AFsT8WjCPJ4yAiY5efH960G6WN341RNZ71+8g81ubeQ==",
"peerDependencies": {
"@atmt/feedback-component-native": "^8.0.0",
"@react-native-firebase/analytics": "14.11.0",
@@ -5210,15 +5212,14 @@
"@react-navigation/stack": "^6.1.0",
"@types/graphql": "^14.5.0",
"@walmart/config-components": "^3.0.1",
- "@walmart/core-services": "~1.3.7",
- "@walmart/core-services-allspark": "~1.7.36",
+ "@walmart/core-services": "1.2.11",
+ "@walmart/core-services-allspark": "~1.7.18",
"@walmart/core-utils": "1.0.10",
"@walmart/functional-components": "^2.0.2",
- "@walmart/gtp-shared-components": "1.8.17",
+ "@walmart/gtp-shared-components": "1.8.9",
"@walmart/impersonation-mini-app": "^1.1.0",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-logger": "^1.29.0",
- "@walmart/react-native-scanner-3.0": "0.1.20",
"@walmart/react-native-shared-navigation": "^1.0.2",
"@walmart/react-native-sumo-sdk": "^2.2.2-beta.2",
"@walmart/redux-store": "^2.0.4",
@@ -5235,7 +5236,7 @@
"react": "^17.0.2",
"react-error-boundary": "^3.1.4",
"react-i18next": "^11.15.1",
- "react-native": "0.68.2",
+ "react-native": "0.67.4",
"react-native-app-auth": "^6.4.3",
"react-native-background-timer": "^2.4.1",
"react-native-exception-handler": "^2.10.10",
@@ -24836,7 +24837,9 @@
"version": "0.1.1"
},
"@walmart/me-field-mini-app": {
- "version": "1.1.31"
+ "version": "1.1.30",
+ "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-1.1.30.tgz",
+ "integrity": "sha512-kfe2Ao9LJAG8ynOJ4jU4qAv1uYiy81jatVlYG9Vhqm+AFsT8WjCPJ4yAiY5efH960G6WN341RNZ71+8g81ubeQ=="
},
"@walmart/metrics-mini-app": {
"version": "0.9.28",
--- package.json
@@ -99,7 +99,7 @@
"@walmart/inbox-mini-app": "0.68.0",
"@walmart/iteminfo-mini-app": "6.0.1",
"@walmart/manager-approvals-miniapp": "0.1.1",
- "@walmart/me-field-mini-app": "1.1.31",
+ "@walmart/me-field-mini-app": "1.1.30",
"@walmart/metrics-mini-app": "0.9.28",
"@walmart/mod-flex-mini-app": "1.2.7",
"@walmart/moment-walmart": "1.0.4",
--- patches/@walmart+returns-mini-app+0.3.2.patch
@@ -0,0 +1,40 @@
+diff --git a/node_modules/@walmart/returns-mini-app/dist/returns/components/ScannerView/index.js b/node_modules/@walmart/returns-mini-app/dist/returns/components/ScannerView/index.js
+index ef660d9..2cc8d90 100644
+--- a/node_modules/@walmart/returns-mini-app/dist/returns/components/ScannerView/index.js
++++ b/node_modules/@walmart/returns-mini-app/dist/returns/components/ScannerView/index.js
+@@ -1,23 +1,23 @@
+ import React from 'react';
+ import { View, NativeModules } from 'react-native';
+-import { WMScannerView } from 'react-native-wm-barcode';
++// import { WMScannerView } from 'react-native-wm-barcode';
+ import { ANALYTICS_EVENTS, logEvent } from '../../utils/telemetry';
+ import { styles } from './styles';
+-const WMBarcodeScanner = NativeModules.WMBarcodeScanner;
+-export const disableScanning = () => {
+- logEvent(ANALYTICS_EVENTS.DISABLE_SCANNER);
+- WMBarcodeScanner.disable();
+-};
+-export const enableScanning = () => {
+- logEvent(ANALYTICS_EVENTS.ENABLE_SCANNER);
+- WMBarcodeScanner.enable();
+-};
++// const WMBarcodeScanner = NativeModules.WMBarcodeScanner;
++// export const disableScanning = () => {
++// logEvent(ANALYTICS_EVENTS.DISABLE_SCANNER);
++// WMBarcodeScanner.disable();
++// };
++// export const enableScanning = () => {
++// logEvent(ANALYTICS_EVENTS.ENABLE_SCANNER);
++// WMBarcodeScanner.enable();
++// };
+ export const ScannerView = ({ isTorchOn, onScanReceived, onScanError, }) => (<>
+ <View style={styles.setUpScannerContainer}>
+- <WMScannerView feedback={{ enabled: true }} isTorchOn={isTorchOn} onScanError={onScanError} onScanReceived={onScanReceived} style={styles.wmScannerView} config={{
++ {/* <WMScannerView feedback={{ enabled: true }} isTorchOn={isTorchOn} onScanError={onScanError} onScanReceived={onScanReceived} style={styles.wmScannerView} config={{
+ guidanceViewEnabled: true,
+ crossHairEnabled: true,
+ throttleIntervalInMillis: 3000,
+- }}/>
++ }}/> */}
+ </View>
+ </>);
| patching returns mini app | patching returns mini app
|
8673ec0f661414f484d496cea266ca45654be360 | --- android/app/build.gradle
@@ -151,6 +151,7 @@ android {
defaultConfig {
applicationId "com.walmart.stores.allspark.beta"
+ missingDimensionStrategy 'react-native-camera', 'general'
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 886
--- android/app/src/main/AndroidManifest.xml
@@ -4,6 +4,8 @@
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
+ <uses-permission android:name="android.permission.VIBRATE"/>
+ <uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
--- ios/AllSpark/Info.plist
@@ -67,7 +67,7 @@
</dict>
</dict>
<key>NSCameraUsageDescription</key>
- <string>We use your camera for scanning images of barcodes</string>
+ <string>We use your camera for scanning images of barcodes or to take photos to attach to work orders</string>
<key>NSFaceIDUsageDescription</key>
<string>Use to confirm your identity</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
--- package.json
@@ -87,7 +87,7 @@
"@walmart/core-widget-registry": "0.3.2",
"@walmart/counts-component-miniapp": "0.0.39",
"@walmart/exception-mini-app": "0.42.3",
- "@walmart/facilities-management-miniapp": "0.2.2",
+ "@walmart/facilities-management-miniapp": "0.2.3-1",
"@walmart/feedback-all-spark-miniapp": "0.6.0",
"@walmart/functional-components": "2.0.6",
"@walmart/gta-react-native-calendars": "0.0.15",
@@ -170,6 +170,9 @@
"react-native-safe-area-context": "^3.3.0",
"react-native-screens": "^3.10.0",
"react-native-segmented-control-tab": "^3.4.1",
+ "react-native-canvas": "^0.1.38",
+ "react-native-render-html": "^6.3.4",
+ "xdate": "^0.8.2",
"react-native-sha256": "^1.3.6",
"react-native-snap-carousel": "^3.9.1",
"react-native-sound-player": "0.10.9",
| Updated app permissions, updated fm miniapp version | Updated app permissions, updated fm miniapp version
|
9075b00772f69e08f6a3338cfc78140e4ba88035 | --- packages/allspark-foundation-hub/src/Store/Modules/Hub/HubDashboard.tsx
@@ -161,8 +161,14 @@ export const HubDashboard = ({
const navigateBack = () => AllsparkNavigationClient.goBack();
useEffect(() => {
- const allowedWidgets = Object.keys(widgets).includes(teamState.teamLabel)
- ? widgets[teamState.teamLabel].widgets.map((widgetData: string) => {
+ const widgetkeys = Object.keys(widgets);
+ const hasWigets =
+ widgetkeys.includes(teamState.teamLabel) ||
+ widgetkeys.includes(teamState.teamIds[0]);
+ const mappedWidgets =
+ widgets[teamState.teamLabel] || widgets[teamState.teamIds[0]];
+ const allowedWidgets = hasWigets
+ ? mappedWidgets.widgets.map((widgetData: string) => {
let layoutConfig = { componentId: '' };
let layoutConfigList: [] = [];
layoutConfig.componentId = widgetData;
| feat(ui): updated logic for allowed widgets | feat(ui): updated logic for allowed widgets
|
7c0e583eb0a49529b31e1f001c1faca15237f247 | --- docs/CHANGELOG.md
@@ -1,3 +1,11 @@
+## [2.36.2](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/compare/v2.36.1...v2.36.2) (2025-05-21)
+
+
+### Bug Fixes
+
+* **ui:** update package ([08141b0](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/08141b004b73dc5e3c866b9d64092d047c638279))
+* **ui:** update package ([8cd3ec0](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/8cd3ec05b0c0ac45a1ca1dbed01c50c6440e8950))
+
## [2.36.1](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/compare/v2.36.0...v2.36.1) (2025-05-21)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/wmconnect-mini-app",
- "version": "2.36.1",
+ "version": "2.36.2",
"main": "dist/index.js",
"files": [
"dist",
| chore(release): 2.36.2 [skip ci] | chore(release): 2.36.2 [skip ci]
## [2.36.2](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/compare/v2.36.1...v2.36.2) (2025-05-21)
### Bug Fixes
* **ui:** update package ([08141b0](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/08141b004b73dc5e3c866b9d64092d047c638279))
* **ui:** update package ([8cd3ec0](https://gecgithub01.walmart.com/smdv/wmconnect-miniapp/commit/8cd3ec05b0c0ac45a1ca1dbed01c50c6440e8950))
|
afc7a516d1861b693a2052da159b6c80df0a8c4e | --- src/index.tsx
@@ -3,7 +3,7 @@ import {StatusBar} from 'react-native';
import {SafeAreaProvider} from 'react-native-safe-area-context';
import {NavigationContainer} from '@react-navigation/native';
-import {ThemeProvider} from '@walmart/gtp-shared-components';
+import {LivingDesignProvider} from '@walmart/gtp-shared-components';
import {navContainerProps} from '@walmart/react-native-shared-navigation';
import {
AllsparkCoreServices,
@@ -24,14 +24,14 @@ import {AuthRef} from './core/Auth';
import {CoreLoggerProvider} from './core/Logger';
import {TelemetryRef} from './core/Telemetry';
import {HttpClientRef} from './core/HttpClient';
-import {AllsparkTheme, NavigationTheme} from './core/AllsparkTheme';
+import {NavigationTheme} from './core/AllsparkTheme';
import {LocalStorageRef} from './core/LocalStorage';
const AllsparkRecipe = {env} as AllsparkInputRecipe;
export const App = () => (
<SafeAreaProvider>
- <ThemeProvider theme={AllsparkTheme}>
+ <LivingDesignProvider>
<AllsparkCoreServices recipe={AllsparkRecipe}>
<TelemetryConsumer ref={TelemetryRef} />
<TranslationConsumer ref={TranslationRef} />
@@ -50,6 +50,6 @@ export const App = () => (
</NavigationContainer>
</CoreLoggerProvider>
</AllsparkCoreServices>
- </ThemeProvider>
+ </LivingDesignProvider>
</SafeAreaProvider>
);
| removing deprecated ThemeProvider | removing deprecated ThemeProvider
|
7dc35a55f5800637dc4e0c847373d026fc5cc83f | --- package-lock.json
@@ -4343,9 +4343,9 @@
"integrity": "sha512-qJaaKPSs5rNbukmidrZoqqWylzPX1nos0NwavGpgMjfCIvRuAE83yxNgNMV2KNP8y42YfNhEQlMJ5dCnsg/vWw=="
},
"@walmart/push-to-talk-mini-app": {
- "version": "0.5.104",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.104.tgz",
- "integrity": "sha512-A14bV1csohaj+i0wvUwCcEuvwHJyatpE9moO9D0u+060piGyVrpAXDzlhke/JyPP5gs0Qk1s3WwfOTHOWxZVnQ=="
+ "version": "0.5.105",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.105.tgz",
+ "integrity": "sha512-oWgk2bDnI6dsDaoxLf5wlENOTbPpb3ATV7zRqEzgyChp6473wPavLz3cyyWfu595e6OlnZh5i/aOWt9xEIv7Vg=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
--- package.json
@@ -91,7 +91,7 @@
"@walmart/moment-walmart": "1.0.4",
"@walmart/payrollsolution_miniapp": "0.101.0",
"@walmart/price-changes-mini-app": "1.0.6",
- "@walmart/push-to-talk-mini-app": "0.5.104",
+ "@walmart/push-to-talk-mini-app": "0.5.105",
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.28.0",
"@walmart/react-native-shared-navigation": "^0.4.0",
| using ptt mini app v0.5.104 | using ptt mini app v0.5.104
|
88d19969b49e0fe92ef9f55b185d800aad06e9e7 | --- package-lock.json
@@ -66,7 +66,7 @@
"@walmart/metrics-mini-app": "0.17.9",
"@walmart/mod-flex-mini-app": "1.13.6",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/money-auth-shared-components": "0.0.12",
+ "@walmart/money-auth-shared-components": "0.0.13",
"@walmart/onewalmart-miniapp": "1.0.16",
"@walmart/pay-stub-miniapp": "0.13.5",
"@walmart/payrollsolution_miniapp": "0.134.3",
@@ -9195,6 +9195,31 @@
"wifi-store-locator": "^1.0.0-alpha2"
}
},
+ "node_modules/@walmart/manager-approvals-miniapp": {
+ "version": "0.2.4",
+ "resolved": "https://npme.walmart.com/@walmart/manager-approvals-miniapp/-/manager-approvals-miniapp-0.2.4.tgz",
+ "integrity": "sha512-IjgpoS1xzZAm8jtEI5fpTqpwRHQXC8FORd2OpRD5vCpJ2QIKVUzhH3iCEhyjZSOWQ5rmc9miUxt5HGtLABYhTg==",
+ "hasInstallScript": true,
+ "peerDependencies": {
+ "@react-navigation/native": "^6.0.0",
+ "@react-navigation/stack": "^6.1.0",
+ "@walmart/core-services-allspark": "~1.10.11",
+ "@walmart/core-utils": "~1.3.0",
+ "@walmart/gtp-shared-components": "2.0.2",
+ "@walmart/react-native-logger": "1.31.0-rc.1",
+ "@walmart/react-native-shared-navigation": "1.0.2",
+ "i18next": "^22.0.1",
+ "jwt-decode": "^3.1.2",
+ "react": "^18.2.0",
+ "react-i18next": "^12.0.0",
+ "react-native": "0.70.5",
+ "react-native-app-auth": "^6.4.3",
+ "react-native-device-info": "^10.3.0",
+ "react-native-wm-telemetry": "0.3.0",
+ "react-redux": "^8.0.4",
+ "reselect": "^4.1.0"
+ }
+ },
"node_modules/@walmart/me-at-homeoffice-ui-components": {
"version": "1.2.140",
"resolved": "https://npme.walmart.com/@walmart/me-at-homeoffice-ui-components/-/me-at-homeoffice-ui-components-1.2.140.tgz",
@@ -9215,6 +9240,15 @@
"react-native-webview": "^11.23.1"
}
},
+ "node_modules/@walmart/me-at-walmart-athena-queries": {
+ "version": "1.7.3",
+ "resolved": "https://npme.walmart.com/@walmart/me-at-walmart-athena-queries/-/me-at-walmart-athena-queries-1.7.3.tgz",
+ "integrity": "sha512-3ioO6FPcVDOxb609WaxlpeaOn4ojiV/htuzzTPKM5ygQb0R58LwdpypVj0oAx7OVHiKidERYWN/952+YGXlqtg==",
+ "license": "ISC",
+ "dependencies": {
+ "@walmart/allspark-graphql-client": "^1.4.12"
+ }
+ },
"node_modules/@walmart/metrics-mini-app": {
"version": "0.17.9",
"resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.17.9.tgz",
@@ -9312,9 +9346,9 @@
}
},
"node_modules/@walmart/money-auth-shared-components": {
- "version": "0.0.12",
- "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.12.tgz",
- "integrity": "sha512-Y9K7SnrS/c0bERFFguXMFJ2NsMDXHOsVErYy3tqkva2S4VMGssmwWkSK5TFT5t9h5R5UEnuCK9F8u6aXG1+uZg==",
+ "version": "0.0.13",
+ "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.13.tgz",
+ "integrity": "sha512-2HX5KdpM2yqeRo/E78jxDFy5HyDT4s6yzE3I5UrVeC2zH67u9J4pW2tTQzRW4hyrURIPcOcH9GgIAbaG9o8kaQ==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -33346,7 +33380,9 @@
}
},
"@walmart/manager-approvals-miniapp": {
- "version": "0.2.4"
+ "version": "0.2.4",
+ "resolved": "https://npme.walmart.com/@walmart/manager-approvals-miniapp/-/manager-approvals-miniapp-0.2.4.tgz",
+ "integrity": "sha512-IjgpoS1xzZAm8jtEI5fpTqpwRHQXC8FORd2OpRD5vCpJ2QIKVUzhH3iCEhyjZSOWQ5rmc9miUxt5HGtLABYhTg=="
},
"@walmart/me-at-homeoffice-ui-components": {
"version": "1.2.140",
@@ -33378,9 +33414,9 @@
"version": "1.0.4"
},
"@walmart/money-auth-shared-components": {
- "version": "0.0.12",
- "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.12.tgz",
- "integrity": "sha512-Y9K7SnrS/c0bERFFguXMFJ2NsMDXHOsVErYy3tqkva2S4VMGssmwWkSK5TFT5t9h5R5UEnuCK9F8u6aXG1+uZg=="
+ "version": "0.0.13",
+ "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.13.tgz",
+ "integrity": "sha512-2HX5KdpM2yqeRo/E78jxDFy5HyDT4s6yzE3I5UrVeC2zH67u9J4pW2tTQzRW4hyrURIPcOcH9GgIAbaG9o8kaQ=="
},
"@walmart/onewalmart-miniapp": {
"version": "1.0.16",
--- package.json
@@ -107,7 +107,7 @@
"@walmart/metrics-mini-app": "0.17.9",
"@walmart/mod-flex-mini-app": "1.13.6",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/money-auth-shared-components": "0.0.12",
+ "@walmart/money-auth-shared-components": "0.0.13",
"@walmart/onewalmart-miniapp": "1.0.16",
"@walmart/pay-stub-miniapp": "0.13.5",
"@walmart/payrollsolution_miniapp": "0.134.3",
| bump version | bump version
|
2a6de7632a1e41c32ceaa0ad06eb415af586e649 | --- packages/allspark-foundation/src/Components/TeamOnboarding/TeamSelection/TeamSelectionListItem.tsx
@@ -30,6 +30,7 @@ export const TeamSelectionListItem = ({
</View>
<View style={styles.checkboxContainer}>
{isPrimaryTeam && (
+ //TODO: use chip component from gtp
<View style={styles.primaryTeamContainer}>
<Text style={styles.primaryTeamText}>Primary Team</Text>
</View>
| feat: added todo for chip component | feat: added todo for chip component
|
ba30d09e620f3a6f16986864f5caddc383ff93c2 | --- android/app/src/main/java/com/walmart/stores/allspark/beta/IntentWakeupReceiver.kt
@@ -12,7 +12,7 @@ class IntentWakeupReceiver : BroadcastReceiver() {
override fun onReceive(context: Context, intent: Intent) {
val intentAction = intent.action
Log.d("PTT Core", intent.action ?: "")
- if (intentAction == BuildConfig.APPLICATION_ID + ".intent.action.PTT_PRESS") {
+ if (intentAction == context.getPackageName() + ".intent.action.PTT_PRESS") {
val starterIntent = Intent(context, MainActivity::class.java)
starterIntent.flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
context.startActivity(starterIntent)
--- android/app/src/main/java/com/walmart/stores/allspark/beta/MainActivity.kt
@@ -10,6 +10,7 @@ import com.facebook.react.defaults.DefaultReactActivityDelegate
import expo.modules.ReactActivityDelegateWrapper
import org.devio.rn.splashscreen.SplashScreen
import com.google.android.play.core.splitcompat.SplitCompat
+import com.walmart.stores.allspark.beta.BuildConfig
class MainActivity: ReactActivity() {
--- android/app/src/main/java/com/walmart/stores/allspark/beta/MainApplication.kt
@@ -19,6 +19,7 @@ import expo.modules.ReactNativeHostWrapper
import com.microsoft.codepush.react.CodePush
import com.walmart.ssmp.platform.core.PlatformCoreApplication
import java.util.ArrayList
+import com.walmart.stores.allspark.beta.BuildConfig
class MainApplication : PlatformCoreApplication(), ReactApplication {
private lateinit var intentWakeupReceiver: IntentWakeupReceiver
--- scripts/updateAndroidProjectConfig.sh
@@ -11,8 +11,7 @@ env=$1
APP_GRADLE="android/app/build.gradle"
APP_MANIFEST="android/app/src/main/AndroidManifest.xml"
MAIN_APPLICATION="android/app/src/main/java/com/walmart/stores/allspark/beta/MainApplication.kt"
-INTENT_WAKEUP_RECEIVER="android/app/src/main/java/com/walmart/stores/allspark/beta/IntentWakeupReceiver.kt"
-MAIN_ACTIVITY="android/app/src/main/java/com/walmart/stores/allspark/beta/MainActivity.java"
+MAIN_ACTIVITY="android/app/src/main/java/com/walmart/stores/allspark/beta/MainActivity.kt"
STRINGS_XML="android/app/src/main/res/values/strings.xml"
RN_CONFIG_JS="react-native.config.js"
@@ -56,9 +55,6 @@ BUILD_CONFIG="${PACKAGE}.BuildConfig"
echo "Updating BuildConfig import to ${BUILD_CONFIG} in ${MAIN_APPLICATION}"
sed -Ei '' "s/import ${BETA_BUILD_CONFIG};|import ${PROD_BUILD_CONFIG};/import ${BUILD_CONFIG};/" ${MAIN_APPLICATION}
-echo "Updating BuildConfig import to ${BUILD_CONFIG} in ${INTENT_WAKEUP_RECEIVER}"
-sed -Ei '' "s/import ${BETA_BUILD_CONFIG};|import ${PROD_BUILD_CONFIG};/import ${BUILD_CONFIG};/" ${INTENT_WAKEUP_RECEIVER}
-
echo "Updating BuildConfig import to ${BUILD_CONFIG} in ${MAIN_ACTIVITY}"
sed -Ei '' "s/import ${BETA_BUILD_CONFIG};|import ${PROD_BUILD_CONFIG};/import ${BUILD_CONFIG};/" ${MAIN_ACTIVITY}
| fixing BuildConfig imports and using context | fixing BuildConfig imports and using context
|
7991100377475d728c0de289b25fd30ea2937bd5 | --- targets/US/package.json
@@ -145,7 +145,7 @@
"@walmart/schedule-mini-app": "0.118.2",
"@walmart/shelfavailability-mini-app": "1.5.37",
"@walmart/shop-gnfr-mini-app": "1.0.137",
- "@walmart/sidekick-mini-app": "4.84.13",
+ "@walmart/sidekick-mini-app": "4.84.14",
"@walmart/store-feature-orders": "1.27.1",
"@walmart/taskit-mini-app": "4.17.21",
"@walmart/time-clock-mini-app": "2.419.0",
--- yarn.lock
@@ -7052,7 +7052,7 @@ __metadata:
"@walmart/schedule-mini-app": "npm:0.118.2"
"@walmart/shelfavailability-mini-app": "npm:1.5.37"
"@walmart/shop-gnfr-mini-app": "npm:1.0.137"
- "@walmart/sidekick-mini-app": "npm:4.84.13"
+ "@walmart/sidekick-mini-app": "npm:4.84.14"
"@walmart/store-feature-orders": "npm:1.27.1"
"@walmart/taskit-mini-app": "npm:4.17.21"
"@walmart/time-clock-mini-app": "npm:2.419.0"
@@ -7939,9 +7939,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/sidekick-mini-app@npm:4.84.13":
- version: 4.84.13
- resolution: "@walmart/sidekick-mini-app@npm:4.84.13"
+"@walmart/sidekick-mini-app@npm:4.84.14":
+ version: 4.84.14
+ resolution: "@walmart/sidekick-mini-app@npm:4.84.14"
peerDependencies:
"@apollo/client": "*"
"@react-navigation/native": ^6.0.0
@@ -7954,7 +7954,7 @@ __metadata:
expo-linear-gradient: ~12.3.0
react: ^18.2.0
react-native: ^0.73.7
- checksum: 10c0/36ca70c682de97eef3fbb66abccf722a374a851018c86b5f390e7a0cae21b6e5889cbf8815802953edf8f3990e840d8bd807070c6de8c3e68e02711a6b55f53a
+ checksum: 10c0/71ee97bd23462e9f637194ebcd95669e06100e82b116e143dc5bab1e2104da941c9e64108f60ecc625921d34ccdf1dac7863ff0e728737b41d353f8f4aed5f37
languageName: node
linkType: hard
| chore: bump sidekick@4.84.14 | chore: bump sidekick@4.84.14
|
da15e7530ff8b9e084fd3e41eaf5a0f839a65180 | --- package-lock.json
@@ -3059,9 +3059,9 @@
"integrity": "sha512-fBTFqpmw2IBYncf+2w7AdfVJeJb1BCpFcWLxV0KH1Xpg9YoWXmH3hVzJY1fxLm9OUFdpV5z0sNSljtp+Y3olrA=="
},
"@walmart/feedback-all-spark-miniapp": {
- "version": "0.0.35",
- "resolved": "https://npme.walmart.com/@walmart/feedback-all-spark-miniapp/-/feedback-all-spark-miniapp-0.0.35.tgz",
- "integrity": "sha512-2HDW97hZOQTYMYc+jNyq5JK05WwVu/6DHMkE7wDa1tj3eqWdpj4VrXMpLTk3vcg2oTnHAO7Ka7Qw2ajsvzZwMg=="
+ "version": "0.0.36",
+ "resolved": "https://npme.walmart.com/@walmart/feedback-all-spark-miniapp/-/feedback-all-spark-miniapp-0.0.36.tgz",
+ "integrity": "sha512-jeDACIRARSHZZCbWEperlSp+HQuIpGxD1zpfwdBGxS2JBcj6goCzoRBDXzgKo5hVUseuI1Eet0ikqVNBhLhTnQ=="
},
"@walmart/functional-components": {
"version": "1.0.23",
--- package.json
@@ -52,7 +52,7 @@
"@walmart/allspark-me-mini-app": "0.0.22",
"@walmart/ask-sam-mini-app": "0.10.1",
"@walmart/config-components": "1.0.12",
- "@walmart/feedback-all-spark-miniapp": "0.0.35",
+ "@walmart/feedback-all-spark-miniapp": "0.0.36",
"@walmart/functional-components": "1.0.23",
"@walmart/gtp-shared-components": "^0.2.2",
"@walmart/impersonation-mini-app": "1.0.12",
| Version bump for feedback fixing a UI issue on android when pressing the dropdown box (#346) | Version bump for feedback fixing a UI issue on android when pressing the dropdown box (#346)
Co-authored-by: Hitesh Arora - h0a006n <Hitesh.Arora@walmart.com> |
607b6131648857fd1374814feb39f822641e4fb8 | --- scripts/updateiOSProjectConfig.sh
@@ -135,6 +135,3 @@ sed -i.bak -e "s/$PROD_DEV_PROVISIONING;/$DEV_PROVISION;/" -e "s/$BETA_DEV_PROVI
echo "Copying contents of App Entitlements file with \"$ENTITLEMENTS\""
cp $entitlementsPath/$ENTITLEMENTS $entitlementsPath/$DEFAULT_ENTITLEMENTS
-
-echo "Printing ${plist}"
-cat ${plist}
\ No newline at end of file
| Removing extra steps from iOSProject config script | Removing extra steps from iOSProject config script
|
0d30156b6def71cf1a82fdec25816bde8bda92b7 | --- src/hooks/index.ts
@@ -1 +1,2 @@
export * from './user';
+export * from './useMyTeamHeader';
--- src/hooks/useMyTeamHeader.ts
@@ -0,0 +1,24 @@
+import {useLayoutEffect} from 'react';
+import {useNavigation} from '@react-navigation/native';
+import {translationClient} from '../common/translation';
+import {renderDrawerButton} from '@walmart/allspark-foundation/Navigation';
+
+/**
+ * Custom hook to configure the MyTeam screen header.
+ * Uses useLayoutEffect to synchronously set the title and left header button,
+ * preventing flickering and ensuring dynamic language updates.
+ */
+export const useMyTeamHeader = () => {
+ const navigation = useNavigation();
+ const {t} = translationClient.useTranslation();
+
+ useLayoutEffect(() => {
+ navigation.setOptions({
+ title: t('myTeam.title', {
+ defaultValue: 'Team',
+ fallbackLng: 'en-US',
+ }),
+ headerLeft: renderDrawerButton,
+ });
+ }, [navigation, t]);
+};
--- src/myteam-hub/screens/MyTeamHubWithBanner.tsx
@@ -3,13 +3,11 @@
* @description MyTeam Hub Screen with Warning Banner on top
*/
-import React, {useLayoutEffect} from 'react';
+import React from 'react';
import {View, StyleSheet} from 'react-native';
-import {useNavigation} from '@react-navigation/native';
-import {renderDrawerButton} from '@walmart/allspark-foundation/Navigation';
import {WarningBanner} from '../../components/WarningBanner';
import {MyTeamHubScreen} from './MyTeamHubScreen';
-import {translationClient} from '../../common/translation';
+import {useMyTeamHeader} from '../../hooks';
/**
* MyTeam Hub Screen with Warning Banner
@@ -18,21 +16,7 @@ import {translationClient} from '../../common/translation';
* to provide a complete hub experience with contextual warnings when needed.
*/
export const MyTeamHubWithBanner: React.FC = () => {
- const navigation = useNavigation();
- const {t} = translationClient.useTranslation();
-
- // Use useLayoutEffect to synchronously set the header title.
- // This prevents the title from flickering (showing the default value briefly) during screen transitions
- // and ensures immediate updates when the user changes the language.
- useLayoutEffect(() => {
- navigation.setOptions({
- title: t('myTeam.title', {
- defaultValue: 'Team',
- fallbackLng: 'en-US',
- }),
- headerLeft: renderDrawerButton,
- });
- }, [navigation, t]);
+ useMyTeamHeader();
return (
<View style={styles.container}>
--- src/navigation/index.tsx
@@ -1,6 +1,5 @@
-import React, {useLayoutEffect} from 'react';
+import React from 'react';
import {SafeAreaProvider} from 'react-native-safe-area-context';
-import {useNavigation} from '@react-navigation/native';
import {initializeWidgets} from './utils';
import {
AllsparkHubContainer,
@@ -10,27 +9,12 @@ import {
DEFAULT_WIDGET_IDS,
} from '@walmart/allspark-foundation-hub';
import {WarningBanner} from '../components/WarningBanner';
-import {translationClient} from '../common/translation';
-import {renderDrawerButton} from '@walmart/allspark-foundation/Navigation';
+import {useMyTeamHeader} from '../hooks';
export * from './types';
export const MyTeamMiniApp = () => {
- const navigation = useNavigation();
- const {t} = translationClient.useTranslation();
-
- // Use useLayoutEffect to synchronously set the header title.
- // This prevents the title from flickering (showing the default value briefly) during screen transitions
- // and ensures immediate updates when the user changes the language.
- useLayoutEffect(() => {
- navigation.setOptions({
- title: t('myTeam.title', {
- defaultValue: 'Team',
- fallbackLng: 'en-US',
- }),
- headerLeft: renderDrawerButton,
- });
- }, [navigation, t]);
+ useMyTeamHeader();
return (
<>
| refactor: extract dynamic header logic to useMyTeamHeader hook | refactor: extract dynamic header logic to useMyTeamHeader hook
|
6160960de80a59f9279813f1ba651863002c2461 | --- __tests__/navigation/AssociateHallwayNav/Tabs/__snapshots__/HomeStackNavTest.tsx.snap
@@ -39,9 +39,6 @@ exports[`HomeStackNav matches snapshot 1`] = `
}
}
/>
- <Screen
- name="timeClockTabs"
- />
<Screen
component={
Object {
@@ -198,9 +195,6 @@ exports[`HomeStackNav matches snapshot when user is not present 1`] = `
}
}
/>
- <Screen
- name="timeClockTabs"
- />
<Screen
component={
Object {
--- __tests__/navigation/AssociateHallwayNav/Tabs/__snapshots__/MyTeamStackNavTest.tsx.snap
@@ -21,10 +21,6 @@ exports[`MyTeamStackNav matches snapshot - attendanceminiapp false 1`] = `
}
}
/>
- <Screen
- component="TimeClockScreen"
- name="timeClock"
- />
<Screen
component={
Object {
@@ -82,10 +78,6 @@ exports[`MyTeamStackNav matches snapshot 1`] = `
}
}
/>
- <Screen
- component="TimeClockScreen"
- name="timeClock"
- />
<Screen
component={
Object {
| Update snapshots | Update snapshots
|
fecbde2391a9e5832b487533e68b1ae644d7a75b | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/translation.ts
@@ -162,11 +162,11 @@ export const esMX: typeof enUS = {
skipLink: 'Skip for now and go to my hub',
},
updateTeamsModal: {
- screenTitle: 'Update team and shift',
- title: 'Update teams',
+ screenTitle: 'Actualizar equipo y turno',
+ title: 'Actualizar equipos',
button: {
- apply: 'Apply',
- cancel: 'Cancel',
+ apply: 'Aplicar',
+ cancel: 'Cancelar',
},
shiftFailureAlert: {
error: 'No se pueden cargar turnos. Elegiremos A1 por ahora.',
@@ -179,8 +179,8 @@ export const esMX: typeof enUS = {
},
editTeamsModal: {
button: {
- save: 'Save',
- cancel: 'Cancel',
+ save: 'Salvar',
+ cancel: 'Cancelar',
},
},
errorScreen: {
| Adding translation updates | Adding translation updates
|
cfa199c91458f2bd3c378e38e97f0bd8b08a6016 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.15.1-alpha.19",
+ "version": "1.15.2-alpha.1",
"main": "dist/index.js",
"files": [
"dist"
@@ -99,7 +99,7 @@
"@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.18",
+ "@walmart/roster-mini-app": "2.12.2-alpha.1",
"@walmart/ui-components": "1.15.1",
"@walmart/wmconnect-mini-app": "2.8.0-alpha.12",
"babel-jest": "^29.2.1",
--- yarn.lock
@@ -6424,7 +6424,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.18"
+ "@walmart/roster-mini-app": "npm:2.12.2-alpha.1"
"@walmart/ui-components": "npm:1.15.1"
"@walmart/wmconnect-mini-app": "npm:2.8.0-alpha.12"
babel-jest: "npm:^29.2.1"
@@ -6606,9 +6606,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:2.12.1-alpha.18":
- version: 2.12.1-alpha.18
- resolution: "@walmart/roster-mini-app@npm:2.12.1-alpha.18"
+"@walmart/roster-mini-app@npm:2.12.2-alpha.1":
+ version: 2.12.2-alpha.1
+ resolution: "@walmart/roster-mini-app@npm:2.12.2-alpha.1"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6650,7 +6650,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/7636a173f35683358e4e76719a2fa90a0f95a97875d87d729ec7bac88651240fb812a4f6cedf58779772857a83982d81358122592db5beacb9720fc4394df013
+ checksum: 10c0/be66ccf1ac90c60153870fafb0c1c1277dfd8d31a77224cd0cc2d3d1164325885246e2d461489b5041b006d64f476ba0ea99873d247cebb677575fcaea2177a6
languageName: node
linkType: hard
| Update my team mini app version | Update my team mini app version
|
6f7a7c3c5bb40aff9642a701dafd9fd14eb49f13 | --- src/managerExperience/components/AssociateList/styles.ts
@@ -17,7 +17,6 @@ export const associateListStyles = StyleSheet.create({
associateListContainer: {
backgroundColor: colors.white,
paddingHorizontal: 16,
- width: '100%',
},
footerSpacing: {
height: 104,
--- src/managerExperience/components/AssociateListItem/AssociateListItem.tsx
@@ -38,7 +38,7 @@ export const AssociateListItem = ({
const siteId = data?.siteId;
const encryptedId = encryptUserId(associate?.win?.toString() ?? '');
const isClockedIn = associateIsClockedIn(associate);
- const associateName = associateDisplayName(associate);
+ const associateName = namecase(associateDisplayName(associate).slice(0, 20));
const associateJobDescription = associate.jobCategoryCodeDesc;
const associateHourlySchedule = namecase(
formatSchedule(associate.storeSchedule),
--- src/managerExperience/components/AssociateListItem/styles.ts
@@ -15,8 +15,7 @@ export const associateListItemStyles = (hasBorder: boolean) =>
display: 'flex',
flexDirection: 'row',
width: '100%',
- paddingTop: 16,
- paddingBottom: 10,
+ paddingVertical: 16,
borderBottomColor: colors.gray['20'],
borderBottomWidth: hasBorder ? 1 : 0,
},
@@ -53,7 +52,6 @@ export const associateListItemStyles = (hasBorder: boolean) =>
flexDirection: 'column',
justifyContent: 'space-between',
marginLeft: 'auto',
- marginBottom: 6,
},
tag: {
alignSelf: 'flex-end',
--- src/managerExperience/components/RosterDetailPageHeader/RosterDetailPageHeader.tsx
@@ -4,7 +4,7 @@ import {Text, View} from 'react-native';
import {Heading, Link} from '@walmart/gtp-shared-components';
import {getRosterDetailPageHeaderStyles} from './style';
import {useAllsparkImage} from '@walmart/allspark-foundation/Components/context';
-import {teamImageIcon} from '@walmart/allspark-foundation/Components/Hub/Container/mockData';
+import {teamImageIcon} from '@walmart/allspark-foundation/HubFeature/Hub/Container/mockData';
import {useTranslation} from 'react-i18next';
import {ROSTER_I18N_NAMESPACE} from '../../../translations';
--- src/managerExperience/components/RosterDetailPageHeader/style.ts
@@ -6,11 +6,13 @@ export const getRosterDetailPageHeaderStyles = (subText?: string) => {
container: {
width: '100%',
paddingTop: 16,
- paddingLeft: 16,
+ paddingLeft: 18,
paddingBottom: subText ? 24 : 8,
display: 'flex',
flexDirection: 'row',
justifyContent: 'space-between',
+ borderBottomWidth: 8,
+ borderBottomColor: colors.gray['5'],
},
contentWrapper: {
width: 214,
@@ -20,7 +22,7 @@ export const getRosterDetailPageHeaderStyles = (subText?: string) => {
header: {
fontSize: 24,
lineHeight: 32,
- marginBottom: 16,
+ marginBottom: 10,
},
subText: {
fontFamily: 'Bogle-Regular',
@@ -33,8 +35,8 @@ export const getRosterDetailPageHeaderStyles = (subText?: string) => {
color: colors.gray['160'],
},
teamImage: {
- width: 88,
- height: 118,
+ width: 118,
+ height: 88,
},
});
};
--- src/managerExperience/components/RosterFiltersAndInfo/RosterFiltersAndInfo.tsx
@@ -47,15 +47,12 @@ export const RosterFiltersAndInfo = ({
/>
</View>
{isWeeklyScheduleVisible && (
- <Button
- variant='tertiary'
- size='small'
+ <Link
onPress={viewWeeklySchedule}
disabled={!associateWINs.length}
- UNSAFE_style={styles.weeklyScheduleButton}
+ UNSAFE_style={styles.weeklyScheduleLink}
testID='viewWeeklyScheduleButton'>
- {t('rosterScreen.weeklySchedule')}
- </Button>
+ </Link>
)}
</View>
<View testID='filterChipGroupContainer'>
--- src/managerExperience/components/RosterFiltersAndInfo/style.ts
@@ -4,15 +4,15 @@ import {colors} from '@walmart/gtp-shared-components/dist';
export const RosterFiltersAndInfoStyles = StyleSheet.create({
container: {
width: '100%',
- padding: 12,
+ paddingHorizontal: 16,
+ paddingVertical: 10,
},
headerContainer: {
flexDirection: 'row',
alignItems: 'center',
- marginLeft: 4,
- marginTop: 4,
+ marginBottom: 16,
},
- weeklyScheduleButton: {
+ weeklyScheduleLink: {
marginLeft: 'auto',
fontSize: 14,
color: colors.gray['160'],
--- src/managerExperience/components/RosterMessageButton/style.ts
@@ -5,26 +5,9 @@ export const RosterMessageButtonStyles = StyleSheet.create({
position: 'absolute',
bottom: 40,
right: 20,
- },
- messageButton: {
- justifyContent: 'center',
- paddingHorizontal: 16,
- height: 48,
shadowOffset: {width: 0, height: 3},
shadowOpacity: 0.15,
shadowRadius: 5,
elevation: 200,
},
- content: {
- flexDirection: 'row',
- alignItems: 'center',
- justifyContent: 'center',
- },
- buttonLabel: {
- fontFamily: 'Bogle-Bold',
- fontSize: 16,
- lineHeight: 24,
-
- paddingLeft: 8,
- },
});
--- src/managerExperience/screens/RosterDetailScreen/styles.tsx
@@ -1,8 +1,17 @@
-import {StyleSheet} from 'react-native';
+import {colors} from '@walmart/gtp-shared-components/dist';
+import {Dimensions, StyleSheet} from 'react-native';
export const rosterDetailScreenStyles = StyleSheet.create({
container: {
- display: 'flex',
- flexDirection: 'column',
+ backgroundColor: colors.white,
+ },
+ associateListContainer: {
+ paddingHorizontal: 16,
+ },
+ footerSpacing: {
+ height: 104,
+ backgroundColor: '#F5F6FA',
+ width: Dimensions.get('window').width,
+ alignSelf: 'center',
},
});
| feat: adjusted styles for roster detail screen | feat: adjusted styles for roster detail screen
|
752eac5e53c2c92b6d1f739fab09255c4cbeb531 | --- __tests__/components/AssociateRosterItem.test.tsx
@@ -88,7 +88,7 @@ describe('AssociateRosterItem', () => {
fireEvent.press(messageButton);
expect(mockDispatch).toBeCalledWith({
payload: 'Testfirst Testlast',
- type: 'texting/SET_SEARCH_TEXT',
+ type: 'roster/SET_SEARCH_TEXT',
});
});
--- __tests__/components/RecentSearchHistory.test.tsx
@@ -105,7 +105,7 @@ describe('RecentSearchHistory', () => {
renderItem.props.associateLinkHandler('Test Item');
expect(mockDispatch).toHaveBeenCalledWith({
payload: 'Test Item',
- type: 'texting/SET_SEARCH_TEXT',
+ type: 'roster/SET_SEARCH_TEXT',
});
});
});
--- __tests__/components/SearchHeaderTest.tsx
@@ -112,7 +112,7 @@ describe('SearchHeader tests', () => {
await waitFor(() => {
expect(mockDispatch).toHaveBeenCalledWith({
payload: '',
- type: 'texting/SET_SEARCH_TEXT',
+ type: 'roster/SET_SEARCH_TEXT',
});
});
});
--- __tests__/screens/ViewTeamScreen/__snapshots__/ViewTeamScreenTest.tsx.snap
@@ -5,7 +5,6 @@ exports[`ViewTeamScreen should render view team screen with expected elements 1`
style={
{
"flex": 1,
- "padding": 20,
}
}
>
| Update roster tests | Update roster tests
|
cd0896527dc71f31d9a0e4d9ef448e4a96ac689c | --- src/components/AssociateRosterItem/index.tsx
@@ -23,6 +23,9 @@ import {AssociateItemProps, StatusColors} from './types';
import {styles} from './style';
import {Associate} from '../../types';
import {ListRenderItem} from '@shopify/flash-list';
+import {goToIndividualSchedule} from '../../navigation/utils';
+import {useSelector} from 'react-redux';
+import {SiteSelectors} from '@walmart/redux-store';
const StatusChip = (props: {associate: Associate}) => {
const {associate} = props;
@@ -54,6 +57,9 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
const {associate, first, last, style} = props;
const startAssociateText = useStartAssociateText();
+ const siteId: string | undefined = useSelector(
+ SiteSelectors.getUserWorkingSite,
+ );
if (!associate) {
return null;
@@ -94,6 +100,20 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
<Body weight='400' size='small' numberOfLines={1}>
{namecase(associate?.jobCategoryCodeDesc)}
</Body>
+ <Button
+ variant='tertiary'
+ size='small'
+ onPress={() => {
+ goToIndividualSchedule(
+ associate.userId,
+ associate.fullName,
+ siteId,
+ );
+ }}
+ disabled={!associate.userId}
+ UNSAFE_style={styles.viewScheduleButton}>
+ View schedule
+ </Button>
</ListItem>
</CardContent>
</Card>
--- src/components/AssociateRosterItem/style.ts
@@ -34,4 +34,9 @@ export const styles = StyleSheet.create({
alignSelf: 'flex-end',
marginBottom: 8,
},
+ viewScheduleButton: {
+ marginTop: 6,
+ alignSelf: 'flex-start',
+ marginLeft: -14,
+ },
});
--- src/navigation/utils.ts
@@ -88,3 +88,21 @@ export const goToWeeklySchedule = (wins: string[], teamName?: string) => {
params: {wins, teamName},
});
};
+
+export const goToIndividualSchedule = (
+ userId?: string | undefined | null,
+ displayName?: string | undefined | null,
+ storeNumber?: string | undefined,
+) => {
+ navigate('scheduleScreen', {
+ // @ts-ignore
+ screen: 'scheduleNav.associateView',
+ params: {
+ userInfo: {
+ userId: userId,
+ displayName: displayName,
+ site: storeNumber,
+ },
+ },
+ });
+};
--- src/components/AssociateRosterItem/index.tsx
@@ -23,6 +23,9 @@ import {AssociateItemProps, StatusColors} from './types';
import {styles} from './style';
import {Associate} from '../../types';
import {ListRenderItem} from '@shopify/flash-list';
+import {goToIndividualSchedule} from '../../navigation/utils';
+import {useSelector} from 'react-redux';
+import {SiteSelectors} from '@walmart/redux-store';
const StatusChip = (props: {associate: Associate}) => {
const {associate} = props;
@@ -54,6 +57,9 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
const {associate, first, last, style} = props;
const startAssociateText = useStartAssociateText();
+ const siteId: string | undefined = useSelector(
+ SiteSelectors.getUserWorkingSite,
+ );
if (!associate) {
return null;
@@ -94,6 +100,20 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
<Body weight='400' size='small' numberOfLines={1}>
{namecase(associate?.jobCategoryCodeDesc)}
</Body>
+ <Button
+ variant='tertiary'
+ size='small'
+ onPress={() => {
+ goToIndividualSchedule(
+ associate.userId,
+ associate.fullName,
+ siteId,
+ );
+ }}
+ disabled={!associate.userId}
+ UNSAFE_style={styles.viewScheduleButton}>
+ View schedule
+ </Button>
</ListItem>
</CardContent>
</Card>
--- src/components/AssociateRosterItem/style.ts
@@ -34,4 +34,9 @@ export const styles = StyleSheet.create({
alignSelf: 'flex-end',
marginBottom: 8,
},
+ viewScheduleButton: {
+ marginTop: 6,
+ alignSelf: 'flex-start',
+ marginLeft: -14,
+ },
});
--- src/navigation/utils.ts
@@ -88,3 +88,21 @@ export const goToWeeklySchedule = (wins: string[], teamName?: string) => {
params: {wins, teamName},
});
};
+
+export const goToIndividualSchedule = (
+ userId?: string | undefined | null,
+ displayName?: string | undefined | null,
+ storeNumber?: string | undefined,
+) => {
+ navigate('scheduleScreen', {
+ // @ts-ignore
+ screen: 'scheduleNav.associateView',
+ params: {
+ userInfo: {
+ userId: userId,
+ displayName: displayName,
+ site: storeNumber,
+ },
+ },
+ });
+};
| View schedule link | View schedule link
|
d13abbfd63643623edf59c48dcde6fa0c8d4d402 | --- package-lock.json
@@ -51,7 +51,7 @@
"@walmart/financial-wellbeing-feature-app": "1.0.64",
"@walmart/functional-components": "2.0.6",
"@walmart/gta-react-native-calendars": "0.0.15",
- "@walmart/gtp-shared-components": "^2.0.0",
+ "@walmart/gtp-shared-components": "2.0.2",
"@walmart/impersonation-mini-app": "1.10.0",
"@walmart/ims-print-services-ui": "1.2.2",
"@walmart/inbox-mini-app": "0.81.3",
@@ -64,7 +64,7 @@
"@walmart/OneWalmart-MiniApp": "1.0.12",
"@walmart/pay-stub-miniapp": "0.9.21",
"@walmart/payrollsolution_miniapp": "0.130.23",
- "@walmart/price-changes-mini-app": "1.7.3",
+ "@walmart/price-changes-mini-app": "1.7.4",
"@walmart/profile-feature-app": "0.76.0",
"@walmart/push-to-talk-mini-app": "1.8.59",
"@walmart/react-native-encrypted-storage": "1.1.3",
@@ -5235,9 +5235,9 @@
}
},
"node_modules/@walmart/gtp-shared-components": {
- "version": "2.0.0",
- "resolved": "https://npme.walmart.com/@walmart/gtp-shared-components/-/gtp-shared-components-2.0.0.tgz",
- "integrity": "sha512-8uSt2lOq4HaZNUu12cO0zspwJMg2yFjaa8OMpxUytA9n98CngqAKYUome+gALSHQbuUVFrfFhQ0oOZHzJ2388w==",
+ "version": "2.0.2",
+ "resolved": "https://npme.walmart.com/@walmart/gtp-shared-components/-/gtp-shared-components-2.0.2.tgz",
+ "integrity": "sha512-nT2gYK4BKZ7fzlIJZYGQJ7FoQGdOPJa7TyFL1F/9qIGX42Ar+R4bK0SSN0Ha3PHdKnP5x0R3OsB8KrVTgrQDAg==",
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {
@@ -5660,16 +5660,16 @@
}
},
"node_modules/@walmart/price-changes-mini-app": {
- "version": "1.7.3",
- "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.7.3.tgz",
- "integrity": "sha512-wc2XWTJVM9JHs/eiF65k9MDb3/Cy2Q+MoWSkChFicgC+UWDwtM+SIxRn3i+zz0UBTAkXDxYfNeMjv3Ct94ql+w==",
+ "version": "1.7.4",
+ "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.7.4.tgz",
+ "integrity": "sha512-es6vHx+hDCOJbsvLEQEQ5CcpmGzRYXOrw53w/hSBwkweAunQTOgITEwXclbyYjnxAGpbTxb7fpNn5T133Jnm/g==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
"@react-navigation/stack": "^6.1.0",
- "@walmart/counts-component-miniapp": "0.1.1",
- "@walmart/gtp-shared-components": "^2.0.0-rc.2",
- "@walmart/ims-print-services-ui": "^1.2.0",
+ "@walmart/counts-component-miniapp": "0.1.2",
+ "@walmart/gtp-shared-components": "2.0.2",
+ "@walmart/ims-print-services-ui": "^1.2.2",
"@walmart/react-native-scanner-3.0": "^0.1.27",
"@walmart/redux-store": "3.1.3",
"@walmart/ui-components": "^1.6.0",
@@ -25190,9 +25190,9 @@
}
},
"@walmart/gtp-shared-components": {
- "version": "2.0.0",
- "resolved": "https://npme.walmart.com/@walmart/gtp-shared-components/-/gtp-shared-components-2.0.0.tgz",
- "integrity": "sha512-8uSt2lOq4HaZNUu12cO0zspwJMg2yFjaa8OMpxUytA9n98CngqAKYUome+gALSHQbuUVFrfFhQ0oOZHzJ2388w==",
+ "version": "2.0.2",
+ "resolved": "https://npme.walmart.com/@walmart/gtp-shared-components/-/gtp-shared-components-2.0.2.tgz",
+ "integrity": "sha512-nT2gYK4BKZ7fzlIJZYGQJ7FoQGdOPJa7TyFL1F/9qIGX42Ar+R4bK0SSN0Ha3PHdKnP5x0R3OsB8KrVTgrQDAg==",
"requires": {
"@livingdesign/tokens": "0.61.0",
"@walmart/gtp-shared-icons": "1.0.5",
@@ -25315,9 +25315,9 @@
}
},
"@walmart/price-changes-mini-app": {
- "version": "1.7.3",
- "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.7.3.tgz",
- "integrity": "sha512-wc2XWTJVM9JHs/eiF65k9MDb3/Cy2Q+MoWSkChFicgC+UWDwtM+SIxRn3i+zz0UBTAkXDxYfNeMjv3Ct94ql+w=="
+ "version": "1.7.4",
+ "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.7.4.tgz",
+ "integrity": "sha512-es6vHx+hDCOJbsvLEQEQ5CcpmGzRYXOrw53w/hSBwkweAunQTOgITEwXclbyYjnxAGpbTxb7fpNn5T133Jnm/g=="
},
"@walmart/profile-feature-app": {
"version": "0.76.0",
--- package.json
@@ -93,7 +93,7 @@
"@walmart/financial-wellbeing-feature-app": "1.0.64",
"@walmart/functional-components": "2.0.6",
"@walmart/gta-react-native-calendars": "0.0.15",
- "@walmart/gtp-shared-components": "^2.0.0",
+ "@walmart/gtp-shared-components": "2.0.2",
"@walmart/impersonation-mini-app": "1.10.0",
"@walmart/ims-print-services-ui": "1.2.2",
"@walmart/inbox-mini-app": "0.81.3",
@@ -106,7 +106,7 @@
"@walmart/OneWalmart-MiniApp": "1.0.12",
"@walmart/pay-stub-miniapp": "0.9.21",
"@walmart/payrollsolution_miniapp": "0.130.23",
- "@walmart/price-changes-mini-app": "1.7.3",
+ "@walmart/price-changes-mini-app": "1.7.4",
"@walmart/profile-feature-app": "0.76.0",
"@walmart/push-to-talk-mini-app": "1.8.59",
"@walmart/react-native-encrypted-storage": "1.1.3",
| Bump PC and GTP versions | Bump PC and GTP versions
|
e7098a8bac496446cb7ccff6ef4453ab1b0a708c | --- src/components/Roster/Roster.tsx
@@ -1,5 +1,10 @@
-import React from 'react';
+import React, {useEffect, useState} from 'react';
import {RosterProps} from './types';
+import {View, Text} from 'react-native';
+import {styles} from './styles';
+import {FlashList} from '@shopify/flash-list';
+import {useDailyRoster} from '../../hooks';
+import {isNil} from 'lodash';
//TODO: States to verify: No Data, Loading, Error (identify all types of errors), Success
export const Roster: React.FC<RosterProps> = (props) => {
@@ -8,8 +13,42 @@ export const Roster: React.FC<RosterProps> = (props) => {
associateActionButtons,
teamActionButtons,
associateListSearchQuery,
- dataOverride,
+ dataOverride = null,
} = props;
+ const shouldSkipQuery = !isNil(dataOverride);
+ const [associates, setAssociates] = useState([]);
+ const {
+ loading: loadingDailyRoster = false,
+ data: getDailyRosterResponse = null,
+ error: rosterDataFetchError = null,
+ refetch: refetchDailyRoster = null,
+ } = useDailyRoster(shouldSkipQuery);
+
+ const renderAssociateRosterItem = () => {
+ return (
+ <View>
+ <Text>Associate Roster Item Placeholder</Text>
+ </View>
+ );
+ };
+
+ useEffect(() => {
+ if (shouldSkipQuery) {
+ setAssociates([]); //TODO: Use the dataOverride information and define type
+ }
+ if (
+ !shouldSkipQuery &&
+ getDailyRosterResponse?.getDailyRoster &&
+ !loadingDailyRoster &&
+ !rosterDataFetchError
+ ) {
+ setAssociates([]); //TODO: set the associates based on the getDailyRoster response
+ }
+ }, [shouldSkipQuery, getDailyRosterResponse?.getDailyRoster, dataOverride]); //TODO: Give more specific dependency with correct type
- return <></>;
+ return (
+ <View style={styles.screen}>
+ <FlashList data={[0, 1, 2]} renderItem={renderAssociateRosterItem} />
+ </View>
+ );
};
--- src/components/Roster/types.ts
@@ -1,17 +1,25 @@
-interface ActionButton {
+interface RosterActionButton {
label: string;
action: (event: any) => void;
}
+export interface RosterData {
+ [key: string]: any; //TODO: Define a strict type for the shape of the roster data
+ // associateList: any; //TODO: Define standard shape for AssociateItem[] type
+ // teamList: any; //TODO: Define standard shape for TeamItem[] type
+}
export interface RosterProps {
featureFlagMap?: {
[key: string]: boolean; //TODO: Identify exact features to flag and specify those fields for this type
};
- associateActionButtons?: ActionButton;
- teamActionButtons?: ActionButton;
+ associateActionButtons?: RosterActionButton;
+ teamActionButtons?: RosterActionButton;
associateListSearchQuery?: string;
- dataOverride?: {
- associateList: any; //TODO: Define standard shape for AssociateItem[] type
- teamList: any; //TODO: Define standard shape for TeamItem[] type
- };
+ dataOverride?: RosterData;
}
+
+//TODO: Refine type to only include fields needed to render an AssociateItem
+export type AssociateRosterItem = any;
+// NonNullable<
+// ArrayValue<NonNullable<GetDailyRosterQuery['getDailyRoster']>>
+// >;
--- src/hooks/roster.ts
@@ -19,7 +19,7 @@ import {useEnvironment} from '@walmart/core-services/Environment';
import {getGraphQLConfig} from '../services/config';
import {useIsSalariedOrTeamLead} from '../hooks';
-export const useDailyRoster = () => {
+export const useDailyRoster = (shouldSkipQuery: boolean = false) => {
const storeId: string | undefined = useSelector(
SiteSelectors.getUserWorkingSite,
);
@@ -39,7 +39,7 @@ export const useDailyRoster = () => {
notifyOnNetworkStatusChange: true,
fetchPolicy: 'cache-first', // For the first query execution
nextFetchPolicy: 'cache-and-network', // For the subsequent query execution
- skip: !storeId || !countryCode,
+ skip: !storeId || !countryCode || shouldSkipQuery,
context: getGraphQLConfig(envConfig),
});
};
--- src/screens/RosterScreen.tsx
@@ -27,6 +27,7 @@ import {
associateIsAbsent,
} from '../utils';
import {analytics} from '../logger/Analytics';
+import { Roster } from "../components/Roster/Roster";
const styles = StyleSheet.create({
screen: {
@@ -156,6 +157,8 @@ export const RosterScreen: React.FC<RosterScreenProps> = () => {
);
};
+ return <Roster />;
+
return (
<View style={styles.screen}>
<FlashList
--- src/utils/assoicateList.ts
@@ -55,6 +55,7 @@ const checkUserOnPPTO = (associate: Associate) =>
const sortByAssociateName = (associateA: Associate, associateB: Associate) =>
associateA?.firstName?.localeCompare(associateB.firstName || '') || NO_SORT;
+//TODO: Ensure this method has all business requirements unit tested
export const sortedAssociateList = (
associatesList: Associate[],
teamLeads: string[],
| setting up query control flow for data overrides | setting up query control flow for data overrides
|
8cf47c4a9b297025319d2ae36ab6c7067cda5909 | --- package-lock.json
@@ -53,7 +53,7 @@
"@walmart/exception-mini-app": "1.6.10",
"@walmart/facilities-management-miniapp": "0.6.93",
"@walmart/feedback-all-spark-miniapp": "0.9.52",
- "@walmart/financial-wellbeing-feature-app": "1.19.1",
+ "@walmart/financial-wellbeing-feature-app": "1.19.2",
"@walmart/functional-components": "~4.0.3",
"@walmart/gta-react-native-calendars": "0.1.0",
"@walmart/gtp-shared-components": "2.1.3",
@@ -8896,9 +8896,9 @@
}
},
"node_modules/@walmart/financial-wellbeing-feature-app": {
- "version": "1.19.1",
- "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.19.1.tgz",
- "integrity": "sha512-+iIOv2h7NCewcYE4o2kGwsm/btSz0D45hNnWaIBx6wxJWIC3KUjbP4sEQcK67mffeAhGb/qfMBFEc7abWmhUQA==",
+ "version": "1.19.2",
+ "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.19.2.tgz",
+ "integrity": "sha512-LyY9BlSzI0qtFbCGTkbJ0TiBs/cvWrawvcpCoJ9tMfrtFZBR0XHo+z6cQnyXt+5rXM0ww6bUx57TRT6OkYkp4w==",
"hasInstallScript": true,
"engines": {
"node": ">=16"
@@ -33296,9 +33296,9 @@
"integrity": "sha512-5fGRa3rbOps48Y8nCRl9iFbRQaLU35zpmWN4x/2c7Ip8D7Pd+8QHUQNlaLL+Bdx4OTBACCQ2G+pNIPPqhZRUTw=="
},
"@walmart/financial-wellbeing-feature-app": {
- "version": "1.19.1",
- "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.19.1.tgz",
- "integrity": "sha512-+iIOv2h7NCewcYE4o2kGwsm/btSz0D45hNnWaIBx6wxJWIC3KUjbP4sEQcK67mffeAhGb/qfMBFEc7abWmhUQA=="
+ "version": "1.19.2",
+ "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.19.2.tgz",
+ "integrity": "sha512-LyY9BlSzI0qtFbCGTkbJ0TiBs/cvWrawvcpCoJ9tMfrtFZBR0XHo+z6cQnyXt+5rXM0ww6bUx57TRT6OkYkp4w=="
},
"@walmart/functional-components": {
"version": "4.0.3",
--- package.json
@@ -94,7 +94,7 @@
"@walmart/exception-mini-app": "1.6.10",
"@walmart/facilities-management-miniapp": "0.6.93",
"@walmart/feedback-all-spark-miniapp": "0.9.52",
- "@walmart/financial-wellbeing-feature-app": "1.19.1",
+ "@walmart/financial-wellbeing-feature-app": "1.19.2",
"@walmart/functional-components": "~4.0.3",
"@walmart/gta-react-native-calendars": "0.1.0",
"@walmart/gtp-shared-components": "2.1.3",
--- patches/@walmart+financial-wellbeing-feature-app+1.19.1.patch
@@ -1,17 +0,0 @@
-diff --git a/node_modules/@walmart/financial-wellbeing-feature-app/dist/assets/images/.DS_Store b/node_modules/@walmart/financial-wellbeing-feature-app/dist/assets/images/.DS_Store
-new file mode 100644
-index 0000000..e69de29
-diff --git a/node_modules/@walmart/financial-wellbeing-feature-app/dist/components/MoneyHintsCarousel/index.js b/node_modules/@walmart/financial-wellbeing-feature-app/dist/components/MoneyHintsCarousel/index.js
-index a8e2858..c971017 100644
---- a/node_modules/@walmart/financial-wellbeing-feature-app/dist/components/MoneyHintsCarousel/index.js
-+++ b/node_modules/@walmart/financial-wellbeing-feature-app/dist/components/MoneyHintsCarousel/index.js
-@@ -16,7 +16,8 @@ export const MoneyHintsCarousel = () => {
- const module = await import(avpPackageName);
- const TotalRewards = module.TotalRewards;
- if (TotalRewards) {
-- setAvpMoneyComponent(<TotalRewards />);
-+ const AVPSharedProvider = module.AVPSharedProvider;
-+ setAvpMoneyComponent(<AVPSharedProvider><TotalRewards /></AVPSharedProvider>);
- }
- }
- catch (e) {
| removed the patch file and bumped the version | removed the patch file and bumped the version
|
e2f73c123fb82beceff040391725b13ca129fca4 | --- ios/Podfile.lock
@@ -763,7 +763,7 @@ PODS:
- React
- React-callinvoker
- React-Core
- - vizpick-mini-app (1.0.10):
+ - vizpick-mini-app (1.0.11):
- React
- walmart-react-native-sumo-sdk (2.5.1):
- React
@@ -1302,7 +1302,7 @@ SPEC CHECKSUMS:
TextServiceProto: 8af27cc52ab3421f79c94e7c7fdcd6f3579b5fdc
TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863
VisionCamera: 4cfd685b1e671fea4aa0400905ab397f0e972210
- vizpick-mini-app: b99ddeea071dbc1a5940d166cc0e752e62274395
+ vizpick-mini-app: e2ead89f5669651d94aa59e231318d56e077b8a4
walmart-react-native-sumo-sdk: 0c9a5bd5f514bce7eed9f4a31b5d7b76ad6749a8
wifi-store-locator: 56782767136ebc63eeafa5b8a368a0321d8e1969
Yoga: dc109b79db907f0f589fc423e991b09ec42d2295
--- package-lock.json
@@ -82,7 +82,7 @@
"@walmart/shelfavailability-mini-app": "1.5.16",
"@walmart/taskit-mini-app": "2.34.6",
"@walmart/time-clock-mini-app": "2.98.0",
- "@walmart/topstock-mini-app": "1.0.10",
+ "@walmart/topstock-mini-app": "1.0.11",
"@walmart/ui-components": "1.15.0",
"@walmart/welcomeme-mini-app": "0.77.0",
"@walmart/wfm-ui": "0.2.26",
@@ -6103,9 +6103,9 @@
"license": "GPL-3.0-or-later"
},
"node_modules/@walmart/topstock-mini-app": {
- "version": "1.0.10",
- "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.0.10.tgz",
- "integrity": "sha512-N5jEPlQgGN2JVBQiiaJG9QpoHz8pCumpXrDsJYj5+yGnS4uwqQ/QDjo8Vkah/Z4zhNiK5D3vpZs/S5SDABuQgQ==",
+ "version": "1.0.11",
+ "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.0.11.tgz",
+ "integrity": "sha512-xgfNHP+dyUpIcf/wuRGbQ8BSPg17EuVwMJ7NeXpC3P3V6ICxWDv+fpnKmDsWuBqoABavHfKSX7gpQ0oMuuNTgw==",
"dependencies": {
"javascript-time-ago": "^2.5.7"
},
@@ -25427,9 +25427,9 @@
"version": "1.0.4"
},
"@walmart/topstock-mini-app": {
- "version": "1.0.10",
- "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.0.10.tgz",
- "integrity": "sha512-N5jEPlQgGN2JVBQiiaJG9QpoHz8pCumpXrDsJYj5+yGnS4uwqQ/QDjo8Vkah/Z4zhNiK5D3vpZs/S5SDABuQgQ==",
+ "version": "1.0.11",
+ "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.0.11.tgz",
+ "integrity": "sha512-xgfNHP+dyUpIcf/wuRGbQ8BSPg17EuVwMJ7NeXpC3P3V6ICxWDv+fpnKmDsWuBqoABavHfKSX7gpQ0oMuuNTgw==",
"requires": {
"javascript-time-ago": "^2.5.7"
}
--- package.json
@@ -124,7 +124,7 @@
"@walmart/shelfavailability-mini-app": "1.5.16",
"@walmart/taskit-mini-app": "2.34.6",
"@walmart/time-clock-mini-app": "2.98.0",
- "@walmart/topstock-mini-app": "1.0.10",
+ "@walmart/topstock-mini-app": "1.0.11",
"@walmart/ui-components": "1.15.0",
"@walmart/welcomeme-mini-app": "0.77.0",
"@walmart/wfm-ui": "0.2.26",
| build(1.0.11): update the version 1.0.11 | build(1.0.11): update the version 1.0.11
|
5a3c58a9d0927a75b0d3d087b990b23187b0c8c8 | --- targets/US/package.json
@@ -99,7 +99,7 @@
"@walmart/core-services-allspark": "workspace:^",
"@walmart/core-utils": "6.3.9",
"@walmart/core-widget-registry": "workspace:^",
- "@walmart/counts-component-miniapp": "0.1.12",
+ "@walmart/counts-component-miniapp": "0.1.13",
"@walmart/emergency-mini-app": "1.27.7",
"@walmart/exception-mini-app": "1.8.4",
"@walmart/facilities-management-miniapp": "0.11.15",
--- yarn.lock
@@ -6352,9 +6352,9 @@ __metadata:
languageName: unknown
linkType: soft
-"@walmart/counts-component-miniapp@npm:0.1.12":
- version: 0.1.12
- resolution: "@walmart/counts-component-miniapp@npm:0.1.12"
+"@walmart/counts-component-miniapp@npm:0.1.13":
+ version: 0.1.13
+ resolution: "@walmart/counts-component-miniapp@npm:0.1.13"
peerDependencies:
"@react-navigation/native": ^6.0.8
"@react-navigation/stack": ^6.2.0
@@ -6376,7 +6376,7 @@ __metadata:
react-native-wm-telemetry: 0.3.0
react-redux: ^8.0.4
reselect: ^4.1.0
- checksum: 10c0/1272d2100bdb03989fa7a8b6f17300bcd5629c92b4be434e6cf360c3c44be564cf5b461f31924a7693ff64f7a03d1a1795698bff49c369a01960813c0029d7a5
+ checksum: 10c0/eb3a210c36503533cb63c00f1d276db6b4df6a70fd82de59fdd1cdb1002a1ac7e1c0b3e27ba7983ee64471cb306fcfdeaf20014be9f556910c64c521abd2f032
languageName: node
linkType: hard
@@ -7075,7 +7075,7 @@ __metadata:
"@walmart/core-services-allspark": "workspace:^"
"@walmart/core-utils": "npm:6.3.9"
"@walmart/core-widget-registry": "workspace:^"
- "@walmart/counts-component-miniapp": "npm:0.1.12"
+ "@walmart/counts-component-miniapp": "npm:0.1.13"
"@walmart/emergency-mini-app": "npm:1.27.7"
"@walmart/exception-mini-app": "npm:1.8.4"
"@walmart/facilities-management-miniapp": "npm:0.11.15"
| chore: updating counts mini app | chore: updating counts mini app
|
3cee5b8d275955996aad6347ec381f3ab38ee35b | --- package-lock.json
@@ -54,7 +54,7 @@
"@walmart/gtp-shared-components": "1.8.17",
"@walmart/impersonation-mini-app": "1.2.0",
"@walmart/ims-print-services-ui": "1.1.4",
- "@walmart/inbox-mini-app": "0.68.0",
+ "@walmart/inbox-mini-app": "v0.70.0-gtaDrop8.3.2",
"@walmart/iteminfo-mini-app": "6.0.1",
"@walmart/manager-approvals-miniapp": "0.1.1",
"@walmart/me-field-mini-app": "1.1.35",
@@ -5204,11 +5204,14 @@
}
},
"node_modules/@walmart/inbox-mini-app": {
- "version": "0.68.0",
+ "version": "0.70.0-gtaDrop8.3.2",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.70.0-gtaDrop8.3.2.tgz",
+ "integrity": "sha512-KGCLUchTqAWQdusxkW1qUTZc89yTs6zxfnftty/Q6l3jWbW/Qw2DejEPs5zWSOoHsU9iHdisS0bPjP0RU2uhNA==",
"dependencies": {
"@walmart/walmart-fiscal-week": "^0.3.6"
},
"peerDependencies": {
+ "@walmart/attendance-mini-app": "0.28.0",
"@walmart/feedback-all-spark-miniapp": ">=0.1.5",
"@walmart/schedule-mini-app": "^0.2.66",
"@walmart/time-clock-mini-app": "0.13.0",
@@ -25071,7 +25074,9 @@
"version": "1.1.4"
},
"@walmart/inbox-mini-app": {
- "version": "0.68.0",
+ "version": "0.70.0-gtaDrop8.3.2",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.70.0-gtaDrop8.3.2.tgz",
+ "integrity": "sha512-KGCLUchTqAWQdusxkW1qUTZc89yTs6zxfnftty/Q6l3jWbW/Qw2DejEPs5zWSOoHsU9iHdisS0bPjP0RU2uhNA==",
"requires": {
"@walmart/walmart-fiscal-week": "^0.3.6"
}
--- package.json
@@ -97,7 +97,7 @@
"@walmart/gtp-shared-components": "1.8.17",
"@walmart/impersonation-mini-app": "1.2.0",
"@walmart/ims-print-services-ui": "1.1.4",
- "@walmart/inbox-mini-app": "0.68.0",
+ "@walmart/inbox-mini-app": "v0.70.0-gtaDrop8.3.2",
"@walmart/iteminfo-mini-app": "6.0.1",
"@walmart/manager-approvals-miniapp": "0.1.1",
"@walmart/me-field-mini-app": "1.1.35",
| Inbox mini app test version | Inbox mini app test version
|
88dde02beae4acd3a24a086a6a5d1afdefd1682d | --- targets/US/package.json
@@ -110,7 +110,7 @@
"@walmart/ims-print-services-ui": "2.15.3",
"@walmart/inbox-mini-app": "0.96.8",
"@walmart/iteminfo-mini-app": "7.16.2",
- "@walmart/learning-mini-app": "20.0.38",
+ "@walmart/learning-mini-app": "20.0.40",
"@walmart/manager-approvals-miniapp": "0.3.0",
"@walmart/me-at-walmart-athena-queries": "6.27.0",
"@walmart/me-at-walmart-common": "workspace:^",
--- yarn.lock
@@ -6873,9 +6873,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/learning-mini-app@npm:20.0.38":
- version: 20.0.38
- resolution: "@walmart/learning-mini-app@npm:20.0.38"
+"@walmart/learning-mini-app@npm:20.0.40":
+ version: 20.0.40
+ resolution: "@walmart/learning-mini-app@npm:20.0.40"
peerDependencies:
"@atmt/feedback-component-native": ^8.0.0
"@react-native-firebase/analytics": 17.4.2
@@ -6901,15 +6901,15 @@ __metadata:
"@walmart/react-native-logger": 1.34.8
"@walmart/react-native-scanner-3.0": 0.4.2
"@walmart/react-native-shared-navigation": ^1.0.2
- "@walmart/react-native-sumo-sdk": ^2.6.0
+ "@walmart/react-native-sumo-sdk": ^2.7.2
"@walmart/redux-store": ~3.1.3
"@walmart/time-clock-mini-app": 2.175.2
"@walmart/ui-components": 1.15.11
"@walmart/wfm-ui": 0.2.25
base-64: ^1.0.0
- expo: 49.0.13
- expo-image: ~1.3.5
- expo-sharing: ~11.7.0
+ expo: ~50.0.21
+ expo-image: ~1.10.6
+ expo-sharing: ~11.10.0
graphql: ^16.1.0
i18next: ^21.6.3
javascript-time-ago: ^2.3.4
@@ -6949,7 +6949,7 @@ __metadata:
reduxsauce: ^1.2.0
reselect: ^4.0.0
wifi-store-locator: ^1.0.0-alpha2
- checksum: 10c0/4c34554bda765ea6c49f2966b03b75f08057afe05ad7607fa9927efec73424c41b666f56ff1c7b707bd31e073861fbbb6f93a690d80d19be0e79b882f052e3a8
+ checksum: 10c0/652df3f26785166338a42049d0df566e76d209da6988ba636744bff8ef70c002bc4f5ee8c18e131bc16d629e38cb707e59787bb7827dc246cf9ca4f6393e358e
languageName: node
linkType: hard
@@ -7312,7 +7312,7 @@ __metadata:
"@walmart/ims-print-services-ui": "npm:2.15.3"
"@walmart/inbox-mini-app": "npm:0.96.8"
"@walmart/iteminfo-mini-app": "npm:7.16.2"
- "@walmart/learning-mini-app": "npm:20.0.38"
+ "@walmart/learning-mini-app": "npm:20.0.40"
"@walmart/manager-approvals-miniapp": "npm:0.3.0"
"@walmart/me-at-walmart-athena-queries": "npm:6.27.0"
"@walmart/me-at-walmart-common": "workspace:^"
| feat: :sparkles: Bump learning mini app version to 20.0.40 | feat: :sparkles: Bump learning mini app version to 20.0.40
|
3dd3690292d890986dea9f6636ad1171bd650fe2 | --- package.json
@@ -119,7 +119,7 @@
"jwt-decode": "^3.1.2",
"lodash": "^4.17.20",
"luxon": "^1.28.0",
- "moment": "^2.29.1",
+ "moment": "^2.29.4",
"namecase": "^1.1.2",
"react": "17.0.2",
"react-hook-form": "^7.31.3",
| fix: package.json & package-lock.json to reduce vulnerabilities | fix: package.json & package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-MOMENT-2944238 |
88396bf614458cffcd0707af8762d5d99ebbf5f1 | --- graphql.yml
@@ -13,7 +13,7 @@ applications:
tags:
- 'v1'
- name: 'GetDailyRoster'
- hash: '2f431047f6d0d15defc8b29a7b391debaf872e2ea1a8e30faa4d063cce345ec5'
+ hash: 'b23a8a25aca29e0f6604379e9ed3f7d28c6ba796a86f8b3b1a35af380f4c81db'
queryTemplate: 'src/queries/getDailyRoster.graphql'
tags:
- 'v1'
@@ -25,7 +25,7 @@ applications:
tags:
- 'v1'
- name: 'GetDailyRoster'
- hash: '2f431047f6d0d15defc8b29a7b391debaf872e2ea1a8e30faa4d063cce345ec5'
+ hash: 'b23a8a25aca29e0f6604379e9ed3f7d28c6ba796a86f8b3b1a35af380f4c81db'
queryTemplate: 'src/queries/getDailyRoster.graphql'
tags:
- 'v1'
@@ -37,7 +37,7 @@ applications:
tags:
- 'v1'
- name: 'GetDailyRoster'
- hash: '2f431047f6d0d15defc8b29a7b391debaf872e2ea1a8e30faa4d063cce345ec5'
+ hash: 'b23a8a25aca29e0f6604379e9ed3f7d28c6ba796a86f8b3b1a35af380f4c81db'
queryTemplate: 'src/queries/getDailyRoster.graphql'
tags:
- 'v1'
--- src/queries/getDailyRoster.graphql
@@ -7,6 +7,10 @@ query GetDailyRoster($countryCode: String!, $days: Int!, $startDate: Date!, $sto
storeId: $storeId
) {
__typename
+ absentData(countryCode: $countryCode, date: $startDate) {
+ __typename
+ absenceTypeCode
+ }
associateId
firstName
fullName
--- src/queries/getDailyRoster.ts
@@ -22,6 +22,10 @@ export type GetDailyRosterQuery = {
lastName?: string | null;
userId?: string | null;
win?: number | null;
+ absentData?: {
+ __typename: 'AbsentData';
+ absenceTypeCode?: number | null;
+ } | null;
punch?: {
__typename: 'Punch';
clockStatus?: string | null;
@@ -45,6 +49,10 @@ export const GetDailyRosterDocument = gql`
storeId: $storeId
) {
__typename
+ absentData(countryCode: $countryCode, date: $startDate) {
+ __typename
+ absenceTypeCode
+ }
associateId
firstName
fullName
--- graphql.yml
@@ -13,7 +13,7 @@ applications:
tags:
- 'v1'
- name: 'GetDailyRoster'
- hash: '2f431047f6d0d15defc8b29a7b391debaf872e2ea1a8e30faa4d063cce345ec5'
+ hash: 'b23a8a25aca29e0f6604379e9ed3f7d28c6ba796a86f8b3b1a35af380f4c81db'
queryTemplate: 'src/queries/getDailyRoster.graphql'
tags:
- 'v1'
@@ -25,7 +25,7 @@ applications:
tags:
- 'v1'
- name: 'GetDailyRoster'
- hash: '2f431047f6d0d15defc8b29a7b391debaf872e2ea1a8e30faa4d063cce345ec5'
+ hash: 'b23a8a25aca29e0f6604379e9ed3f7d28c6ba796a86f8b3b1a35af380f4c81db'
queryTemplate: 'src/queries/getDailyRoster.graphql'
tags:
- 'v1'
@@ -37,7 +37,7 @@ applications:
tags:
- 'v1'
- name: 'GetDailyRoster'
- hash: '2f431047f6d0d15defc8b29a7b391debaf872e2ea1a8e30faa4d063cce345ec5'
+ hash: 'b23a8a25aca29e0f6604379e9ed3f7d28c6ba796a86f8b3b1a35af380f4c81db'
queryTemplate: 'src/queries/getDailyRoster.graphql'
tags:
- 'v1'
--- src/queries/getDailyRoster.graphql
@@ -7,6 +7,10 @@ query GetDailyRoster($countryCode: String!, $days: Int!, $startDate: Date!, $sto
storeId: $storeId
) {
__typename
+ absentData(countryCode: $countryCode, date: $startDate) {
+ __typename
+ absenceTypeCode
+ }
associateId
firstName
fullName
--- src/queries/getDailyRoster.ts
@@ -22,6 +22,10 @@ export type GetDailyRosterQuery = {
lastName?: string | null;
userId?: string | null;
win?: number | null;
+ absentData?: {
+ __typename: 'AbsentData';
+ absenceTypeCode?: number | null;
+ } | null;
punch?: {
__typename: 'Punch';
clockStatus?: string | null;
@@ -45,6 +49,10 @@ export const GetDailyRosterDocument = gql`
storeId: $storeId
) {
__typename
+ absentData(countryCode: $countryCode, date: $startDate) {
+ __typename
+ absenceTypeCode
+ }
associateId
firstName
fullName
| fix: add absent data to roster query | fix: add absent data to roster query
|
fb7f5f3ddc0c53ff32dbe5fef09bcc2046dbbd4c | --- src/components/RecentSearchHistory/index.tsx
@@ -60,7 +60,7 @@ export const RecentSearchHistory = (props: RecentSearchHistoryProps) => {
title={item}
index={index}
associateRemoveHandler={associateRemoveHandler}
- associateLinkHandler={{associateLinkHandler}}
+ associateLinkHandler={associateLinkHandler}
/>
);
--- src/constants.ts
@@ -1,6 +1,6 @@
export const ROOT_CONTAINER_SCREEN_NAME = 'myTeam';
export const APP_CONTAINER_SCREEN_NAME = 'myTeam.root';
-export const LOCAL_STORAGE_KEY_PREFIX = 'texting-';
+export const LOCAL_STORAGE_KEY_PREFIX = 'roster-';
export const ASC_SORT = -1;
export const DESC_SORT = 1;
export const NO_SORT = 0;
--- src/redux/reducer.tsx
@@ -1,7 +1,7 @@
import {createSlice, PayloadAction} from '@reduxjs/toolkit';
export const rosterSlice = createSlice({
- name: 'roster',
+ name: 'texting', //Todo: Update it to roster and make changes in the initial state as well
initialState: {
searchText: '',
},
--- src/screens/SearchScreen.tsx
@@ -129,7 +129,7 @@ export const SearchScreen: React.FC<SearchScreenProps> = (props) => {
{
i18nLabel: t('rosterScreen.associateRosterItem.messageBtn'),
action: (associateRosterItem) => {
- const name = associateDisplayName(associateRosterItem);
+ const name = associateDisplayName(associate);
const associateName = namecase(name.slice(0, 20));
dispatch(rosterSlice.actions.SET_SEARCH_TEXT(''));
storeAssociateName(associateName);
| Update search history inputs | Update search history inputs
|
c8935707ca7e5a008327671f740dba9d0962bed9 | --- package-lock.json
@@ -46,8 +46,8 @@
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.19.5",
"@walmart/attendance-mini-app": "3.24.0",
- "@walmart/avp-feature-app": "0.2.3",
- "@walmart/avp-shared-library": "0.2.7",
+ "@walmart/avp-feature-app": "0.2.5",
+ "@walmart/avp-shared-library": "0.2.8",
"@walmart/calling-mini-app": "0.1.13",
"@walmart/compass-sdk-rn": "5.18.15",
"@walmart/config-components": "4.2.17",
@@ -80,7 +80,7 @@
"@walmart/myteam-mini-app": "1.0.17",
"@walmart/onewalmart-miniapp": "1.0.24",
"@walmart/pay-stub-miniapp": "0.15.2",
- "@walmart/payrollsolution_miniapp": "0.138.4",
+ "@walmart/payrollsolution_miniapp": "0.138.5",
"@walmart/price-changes-mini-app": "1.10.6",
"@walmart/profile-feature-app": "1.138.2",
"@walmart/react-native-encrypted-storage": "~1.1.3",
@@ -10978,9 +10978,9 @@
}
},
"node_modules/@walmart/avp-feature-app": {
- "version": "0.2.3",
- "resolved": "https://npme.walmart.com/@walmart/avp-feature-app/-/avp-feature-app-0.2.3.tgz",
- "integrity": "sha512-d0mL6Imj+ZCy+tqTbLsC+n7110OymDYplnuAMC5J+deGE3AAWwfvJEyDY3+Ii8TaH9jYrV2/+PX3zVSLW5wXCQ==",
+ "version": "0.2.5",
+ "resolved": "https://npme.walmart.com/@walmart/avp-feature-app/-/avp-feature-app-0.2.5.tgz",
+ "integrity": "sha512-WaIt+ELbmx7zruS/mQlMStnNNebn1OM0fk7KLs7DVw569Pd6NnRxrPc39hD3zbrQ0NE1uV7ouZ7kPPpzhuqhdw==",
"hasInstallScript": true,
"engines": {
"node": ">=16"
@@ -10996,9 +10996,9 @@
}
},
"node_modules/@walmart/avp-shared-library": {
- "version": "0.2.7",
- "resolved": "https://npme.walmart.com/@walmart/avp-shared-library/-/avp-shared-library-0.2.7.tgz",
- "integrity": "sha512-4nRo0cGOEwKoie3/Pqgtc7Kp/VaWgxMs+CmkuwaDqc4990hIL/tYgT+DNSdQZbot3sG+x/twfnsqIAnLAtaETw==",
+ "version": "0.2.8",
+ "resolved": "https://npme.walmart.com/@walmart/avp-shared-library/-/avp-shared-library-0.2.8.tgz",
+ "integrity": "sha512-/6MBZ840OfP4CeF6ES/WBrU/An4J7l8Sa1aZB8oEsB6bZ6U4A6hiApdXWzgAyhEIywYP439WzM8bFIVqAUqjpQ==",
"license": "ISC",
"peerDependencies": {
"axios": "^1.3.4",
@@ -11998,9 +11998,9 @@
}
},
"node_modules/@walmart/payrollsolution_miniapp": {
- "version": "0.138.4",
- "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.138.4.tgz",
- "integrity": "sha512-WcRGvQn7mIyyLBUJfOSzjLyYC4I/csxt7bRnVOWj06g1enI3ImdmiiSpwMVA6XkYR+yvUauaaYYhu4AMI5xM5Q==",
+ "version": "0.138.5",
+ "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.138.5.tgz",
+ "integrity": "sha512-Gvv26Fw7hRG7ay7Zrjg7IvAouxK1SJgzj5biQblpLfgl2nzAVznq9FRvP4wJE27keG1KzjcvhuuIQkCMSffL6Q==",
"hasInstallScript": true,
"dependencies": {
"crypto-js": "^3.3.0",
--- package.json
@@ -87,8 +87,8 @@
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.19.5",
"@walmart/attendance-mini-app": "3.24.0",
- "@walmart/avp-feature-app": "0.2.3",
- "@walmart/avp-shared-library": "0.2.7",
+ "@walmart/avp-feature-app": "0.2.5",
+ "@walmart/avp-shared-library": "0.2.8",
"@walmart/calling-mini-app": "0.1.13",
"@walmart/compass-sdk-rn": "5.18.15",
"@walmart/config-components": "4.2.17",
@@ -121,7 +121,7 @@
"@walmart/myteam-mini-app": "1.0.17",
"@walmart/onewalmart-miniapp": "1.0.24",
"@walmart/pay-stub-miniapp": "0.15.2",
- "@walmart/payrollsolution_miniapp": "0.138.4",
+ "@walmart/payrollsolution_miniapp": "0.138.5",
"@walmart/price-changes-mini-app": "1.10.6",
"@walmart/profile-feature-app": "1.138.2",
"@walmart/react-native-encrypted-storage": "~1.1.3",
@@ -348,8 +348,8 @@
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.19.5",
"@walmart/attendance-mini-app": "3.24.0",
- "@walmart/avp-feature-app": "0.2.3",
- "@walmart/avp-shared-library": "0.2.7",
+ "@walmart/avp-feature-app": "0.2.5",
+ "@walmart/avp-shared-library": "0.2.8",
"@walmart/calling-mini-app": "0.1.13",
"@walmart/compass-sdk-rn": "5.18.15",
"@walmart/config-components": "4.2.17",
@@ -380,7 +380,7 @@
"@walmart/money-auth-shared-components": "0.1.4",
"@walmart/onewalmart-miniapp": "1.0.24",
"@walmart/pay-stub-miniapp": "0.15.2",
- "@walmart/payrollsolution_miniapp": "0.138.4",
+ "@walmart/payrollsolution_miniapp": "0.138.5",
"@walmart/price-changes-mini-app": "1.10.6",
"@walmart/profile-feature-app": "1.138.2",
"@walmart/react-native-encrypted-storage": "~1.1.3",
| bumped the avp version and payroll mini app version | bumped the avp version and payroll mini app version
|
3a6d6aca55406cf881e989923aa60ad0716a8829 | --- android/app/build.gradle
@@ -158,8 +158,8 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 914
- versionName "1.15.1"
+ versionCode 917
+ versionName "1.15.10"
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
if (isNewArchitectureEnabled()) {
// We configure the CMake build only if you decide to opt-in for the New Architecture.
--- ios/AllSpark/Info.plist
@@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.15.1</string>
+ <string>1.15.10</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -42,7 +42,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>914</string>
+ <string>917</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
--- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "allspark-main",
- "version": "1.15.1",
+ "version": "1.15.10",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "allspark-main",
- "version": "1.15.1",
+ "version": "1.15.10",
"hasInstallScript": true,
"dependencies": {
"@firebase/firestore-types": "^2.5.1",
--- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.15.1",
+ "version": "1.15.10",
"private": true,
"scripts": {
"android": "react-native run-android",
| v1.5.10 for drop 15.x | v1.5.10 for drop 15.x
|
fdbe6d3857df5fbd43f54c943eca2e04a32589d4 | --- 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.3",
+ "@walmart/taskit-mini-app": "2.34.4",
"@walmart/time-clock-mini-app": "2.85.0",
"@walmart/topstock-mini-app": "1.0.5",
"@walmart/ui-components": "1.11.1",
@@ -2505,6 +2505,8 @@
},
"node_modules/@livingdesign/tokens": {
"version": "0.61.0",
+ "resolved": "https://npme.walmart.com/@livingdesign/tokens/-/tokens-0.61.0.tgz",
+ "integrity": "sha512-1toJVl+umZ/9SDmnSbXoIx298dw0R++SO0QaNvy2wE6xjJLvoSDiLbjnZcusBf47vhBC01rLhFNkeoTYSs8zpw==",
"license": "UNLICENSED"
},
"node_modules/@microsoft/recognizers-text-data-types-timex-expression": {
@@ -6042,9 +6044,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "2.34.3",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.34.3.tgz",
- "integrity": "sha512-JzIipZJ5Pjts55FDTX/DTVc3mp+BFQJc/tkDd2GbKeT7EssdM0CZkx1W0zhJN4pQg9SZs0swcXor2EYg/nodmA==",
+ "version": "2.34.4",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.34.4.tgz",
+ "integrity": "sha512-F4DHz1OsCfHGsFjCAwt7w3d4IVs1NSFAqHoM2ym+bVM3fZ05Y+Owo/N7V4sZ+Pps+xcj7xdUr0wW9SVrm9ugUg==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
@@ -23795,7 +23797,9 @@
}
},
"@livingdesign/tokens": {
- "version": "0.61.0"
+ "version": "0.61.0",
+ "resolved": "https://npme.walmart.com/@livingdesign/tokens/-/tokens-0.61.0.tgz",
+ "integrity": "sha512-1toJVl+umZ/9SDmnSbXoIx298dw0R++SO0QaNvy2wE6xjJLvoSDiLbjnZcusBf47vhBC01rLhFNkeoTYSs8zpw=="
},
"@microsoft/recognizers-text-data-types-timex-expression": {
"version": "1.3.0",
@@ -25484,9 +25488,9 @@
"version": "1.5.13"
},
"@walmart/taskit-mini-app": {
- "version": "2.34.3",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.34.3.tgz",
- "integrity": "sha512-JzIipZJ5Pjts55FDTX/DTVc3mp+BFQJc/tkDd2GbKeT7EssdM0CZkx1W0zhJN4pQg9SZs0swcXor2EYg/nodmA=="
+ "version": "2.34.4",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.34.4.tgz",
+ "integrity": "sha512-F4DHz1OsCfHGsFjCAwt7w3d4IVs1NSFAqHoM2ym+bVM3fZ05Y+Owo/N7V4sZ+Pps+xcj7xdUr0wW9SVrm9ugUg=="
},
"@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.3",
+ "@walmart/taskit-mini-app": "2.34.4",
"@walmart/time-clock-mini-app": "2.85.0",
"@walmart/topstock-mini-app": "1.0.5",
"@walmart/ui-components": "1.11.1",
| updated taskit version | updated taskit version
|
a2342ed790954925f004ffa3b05298cd50191021 | --- __tests__/navigation/AssociateHallwayNav/Tabs/__snapshots__/HomeStackNavTest.tsx.snap
@@ -18,7 +18,6 @@ exports[`HomeStackNav matches snapshot 1`] = `
screenOptions={
Object {
"header": [Function],
- "headerMode": "float",
"headerShown": true,
}
}
@@ -190,7 +189,6 @@ exports[`HomeStackNav matches snapshot when user is not present 1`] = `
screenOptions={
Object {
"header": [Function],
- "headerMode": "float",
"headerShown": true,
}
}
--- src/navigation/AssociateHallwayNav/Tabs/HomeStackNav.tsx
@@ -121,8 +121,7 @@ export const HomeStackNav = () => {
}
return (
- <HomeStack.Navigator
- screenOptions={{headerMode: 'float', headerShown: true, header: Header}}>
+ <HomeStack.Navigator screenOptions={{headerShown: true, header: Header}}>
<HomeStack.Screen
name='home.root'
component={HomeScreen}
| feat(drop15): changes related to ssmp drop 15 | feat(drop15): changes related to ssmp drop 15
|
266f8c627dce966cbac8cef38df5d06124319360 | --- package-lock.json
@@ -3124,9 +3124,9 @@
}
},
"@walmart/push-to-talk-mini-app": {
- "version": "0.5.1",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.1.tgz",
- "integrity": "sha512-a19+F+cIETTVPFYckjZpTtNEBMtpJGFVKOg9mb4qQMv6FqG0VjKgqo4Y6q1SuvZOE/cszb5dCua7z4JCGIntNw=="
+ "version": "0.5.2",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.2.tgz",
+ "integrity": "sha512-Ssp3CPaMtWk4EHf2z1EhYuwZsxByEOmq+hkvrMyczyAIMtwX7+xEic19wXAvZ6qFSY06RjD7MNwXKeILPLeuZw=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
--- package.json
@@ -73,7 +73,7 @@
"@walmart/impersonation-mini-app": "1.0.15",
"@walmart/inbox-mini-app": "0.0.92",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/push-to-talk-mini-app": "0.5.1",
+ "@walmart/push-to-talk-mini-app": "0.5.2",
"@walmart/react-native-env": "^0.1.0",
"@walmart/react-native-logger": "^1.25.0",
"@walmart/react-native-shared-navigation": "^0.4.0",
| PTT version bump (#547) | PTT version bump (#547)
* PTT Version bump
* PTT bump for Voice Messaging |
591412e9d9b800daa1eed037df4f707fc4c3a924 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.12.39",
+ "version": "2.12.40",
"main": "dist/index.js",
"files": [
"dist"
--- src/screens/RosterDetailScreen/StoreRosterDetailScreen.tsx
@@ -173,6 +173,7 @@ export const StoreRosterDetailScreen = ({route}: RosterDetailScreenProps) => {
const dataLoading = teamLoading || rosterLoading;
const dataError = teamError || rosterError;
+ const currentTeam = currentTeamData?.getTeamById;
const allTeams = useMemo(
() => (allTeamsData?.getTeamsByStore || []) as Team[],
@@ -210,7 +211,6 @@ export const StoreRosterDetailScreen = ({route}: RosterDetailScreenProps) => {
}
}, [teamState]);
- const currentTeam = currentTeamData?.getTeamById;
const currentTeamName = getCurrentTeamName();
const headerAndSubtext = getHeaderAndSubtext();
--- src/screens/RosterDetailScreen/SupplyChainRosterDetailScreen.tsx
@@ -211,10 +211,7 @@ export const SupplyChainRosterDetailScreen = ({
?.teams as SupplyChainTeam;
const getHeaderAndSubtext = useCallback(() => {
- if (
- teamState.teamLabel === TOTAL_STORE_TEAM_LABEL ||
- teamState.teamLabel === TOTAL_SITE_TEAM_LABEL
- ) {
+ if (teamState.teamLabel === TOTAL_SITE_TEAM_LABEL) {
return {
header: siteTranslationContext,
subText: '',
@@ -233,12 +230,14 @@ export const SupplyChainRosterDetailScreen = ({
}, [teamState, siteTranslationContext, isPrimaryTeam, currentTeam]);
const getCurrentTeamName = useCallback(() => {
- if (isPrimaryTeam) {
- return t('rosterScreen.primaryTeamRosterName', {
- teamName: `${loggedInUserTeamName} | ${loggedInUserShift}`,
- });
+ if (currentTeam?.teamName) {
+ return currentTeam?.teamName;
} else {
- return t('rosterScreen.rosterName');
+ if (teamState.teamIds.includes(TOTAL_STORE_TEAM_ID)) {
+ return siteTranslationContext;
+ } else {
+ return t('rosterScreen.rosterName');
+ }
}
}, [teamState, availableShifts]);
@@ -624,7 +623,15 @@ export const SupplyChainRosterDetailScreen = ({
totalScheduleCount={filterCount.scheduledCount}
associates={filteredAssociates}
filterChips={filterChips}
- headerText={dataLoading ? '' : currentTeamName}
+ headerText={
+ dataLoading
+ ? ''
+ : !isSalariedOrLead && isPrimaryTeam
+ ? t('rosterScreen.primaryTeamRosterName', {
+ teamName: `${teamState.teamLabel} | ${loggedInUserShift}`,
+ })
+ : t('rosterScreen.rosterName')
+ }
loading={dataLoading}
teamName={currentTeamName}
handleFilter={(
| Update roster mini app version | Update roster mini app version
|
f24df1b457abc5f8df505caa7a27e6a4448bed24 | --- __tests__/__mocks__/@walmart/redux-store.js
@@ -59,8 +59,8 @@ module.exports = {
START_IMPERSONATION: 'START_IMPERSONATION',
GET_USER_SUCCESS: 'GET_USER_SUCCESS',
},
- STORE_CONFIG_SUCCESS: 'STORE_CONFIG_SUCCESS',
- STORE_CONFIG_ERROR: 'STORE_CONFIG_ERROR',
- CONFIG_FETCH_SUCCESS: 'CONFIG_FETCH_SUCCESS',
- CONFIG_BACKGROUND_REFRESH: 'CONFIG_BACKGROUND_REFRESH',
+ STORE_CONFIG_SUCCESS: 'global/STORE_CONFIG_SUCCESS',
+ STORE_CONFIG_ERROR: 'global/STORE_CONFIG_ERROR',
+ CONFIG_FETCH_SUCCESS: 'global/CONFIG_FETCH_SUCCESS',
+ CONFIG_BACKGROUND_REFRESH: 'global/CONFIG_BACKGROUND_REFRESH',
};
| Updating redux store mock | Updating redux store mock
|
9e06781202288ed76f324af1d6ea8af94b735486 | --- __tests__/changeStore/__snapshots__/ChangeStorePromptTest.tsx.snap
@@ -187,7 +187,7 @@ Array [
<View
style={Object {}}
>
- <Caption
+ <Title
style={
Object {
"color": "#2e2f32",
@@ -198,7 +198,7 @@ Array [
>
Store
100
- </Caption>
+ </Title>
<Caption
style={
Object {
@@ -561,11 +561,7 @@ Array [
}
/>
<View
- style={
- Object {
- "marginTop": 8,
- }
- }
+ style={Object {}}
>
<AnimatedLoaderFill
color="#e3e4e5"
@@ -843,7 +839,7 @@ Array [
<View
style={Object {}}
>
- <Caption
+ <Title
style={
Object {
"color": "#2e2f32",
@@ -854,7 +850,7 @@ Array [
>
Store
100
- </Caption>
+ </Title>
<Caption
style={
Object {
@@ -1138,7 +1134,7 @@ Array [
<View
style={Object {}}
>
- <Caption
+ <Title
style={
Object {
"color": "#2e2f32",
@@ -1149,7 +1145,7 @@ Array [
>
Store
100
- </Caption>
+ </Title>
<Caption
style={
Object {
@@ -1298,11 +1294,7 @@ Bentonville, AR 72716-7761
exports[`StoreInfoLoader 1`] = `
<View
- style={
- Object {
- "marginTop": 8,
- }
- }
+ style={Object {}}
>
<AnimatedLoaderFill
color="#e3e4e5"
--- __tests__/core/appConfigInitTest.ts
@@ -276,11 +276,11 @@ describe('watchForSuccessToSetupListener', () => {
});
test('setupAppStateListener', () => {
+ const AppStateSpy = jest.spyOn(AppState, 'addEventListener');
const iterator = setupAppStateListener();
expect(iterator.next().value).toEqual(call(waitForAppConfig));
- expect(iterator.next().value).toEqual(
- call(AppState.addEventListener, 'change', onAppStateChanged),
- );
+ expect(iterator.next().done).toEqual(true);
+ expect(AppStateSpy).toHaveBeenCalledWith('change', onAppStateChanged);
});
describe('appConfigSagas', () => {
--- __tests__/navigation/UserRootNavTest.tsx
@@ -3,7 +3,6 @@ import {create} from 'react-test-renderer';
import {useSelector, useDispatch} from 'react-redux';
import {UserRootNav} from '../../src/navigation/UserRootNav';
-import {usePrevious} from '../../src/hooks/usePrevious';
import {StartupActionCreators} from '../../src/startup/StartupRedux';
import {addMiniAppI18nResources} from '../../src/translations';
@@ -35,7 +34,6 @@ jest.mock('../../src/hooks/usePrevious', () => ({
const mockUseRef = useRef as jest.Mock;
const mockUseSelector = useSelector as jest.Mock;
-const mockUsePrevious = usePrevious as jest.Mock;
describe('UserRootNav', () => {
afterEach(() => {
@@ -43,7 +41,6 @@ describe('UserRootNav', () => {
});
mockUseSelector.mockReturnValueOnce(undefined); // userType
- mockUsePrevious.mockReturnValueOnce(undefined); // previous userType
const component = create(<UserRootNav />);
it('matches snapshot when no userType', () => {
@@ -52,7 +49,6 @@ describe('UserRootNav', () => {
it('matches snapshot when userType present and not pre hire', () => {
mockUseSelector.mockReturnValueOnce('ASSOCIATE'); // userType
- mockUsePrevious.mockReturnValueOnce(undefined); // previous userType
component.update(<UserRootNav />);
expect(component.toJSON()).toMatchSnapshot();
@@ -64,7 +60,6 @@ describe('UserRootNav', () => {
it('matches snapshot when userType present and pre hire; no dispatch on matching type', () => {
mockUseSelector.mockReturnValueOnce('PRE_HIRE'); // userType
- mockUsePrevious.mockReturnValueOnce('ASSOCIATE'); // previous userType
mockUseRef.mockReturnValueOnce({current: 'PRE_HIRE'});
component.update(<UserRootNav />);
--- __tests__/navigation/__snapshots__/UserRootNavTest.tsx.snap
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`UserRootNav matches snapshot when no userType 1`] = `<View />`;
+exports[`UserRootNav matches snapshot when no userType 1`] = `<AssociateHallwayNav />`;
exports[`UserRootNav matches snapshot when userType present and not pre hire 1`] = `<AssociateHallwayNav />`;
--- src/changeStore/ChangeStorePrompt.tsx
@@ -231,9 +231,9 @@ export const ChangeStorePrompt = (props: StackScreenProps<any>) => {
) : (
<>
<View style={styles.storeInfo}>
- <Caption style={styles.storeInfoText}>
+ <Title style={styles.storeInfoText}>
Store {workingSite}
- </Caption>
+ </Title>
<Caption style={styles.storeInfoText}>{address}</Caption>
</View>
<TouchableOpacity
--- src/changeStore/styles.ts
@@ -75,9 +75,7 @@ export default StyleSheet.create({
lineHeight: 24,
color: '#2e2f32',
},
- textLoaderContainer: {
- marginTop: 8,
- },
+ textLoaderContainer: {},
textLoaders: {
flex: 1,
width: 230,
--- src/core/appConfigInit.ts
@@ -157,7 +157,7 @@ export function* watchForSuccessToSetupListener(): any {
export function* setupAppStateListener() {
yield call(waitForAppConfig);
- yield call(AppState.addEventListener, 'change', onAppStateChanged);
+ AppState.addEventListener('change', onAppStateChanged);
}
export function* appConfigSagas() {
--- src/navigation/UserRootNav.tsx
@@ -1,23 +1,14 @@
import React, {useRef} from 'react';
-import {View} from 'react-native';
import {useDispatch, useSelector} from 'react-redux';
import {UserSelectors} from '@walmart/redux-store';
import {addMiniAppI18nResources} from '../translations';
-import {usePrevious} from '../hooks/usePrevious';
import {StartupActionCreators} from '../startup/StartupRedux';
export const UserRootNav = () => {
const dispatch = useDispatch();
const currentyType = useRef<string>();
- const currentUserType = useSelector(UserSelectors.getUserType);
- const previousUserType = usePrevious<string>(currentUserType);
-
- const userType = currentUserType || previousUserType;
-
- if (!userType) {
- return <View />;
- }
+ const userType = useSelector(UserSelectors.getUserType) || 'Associate';
const Root = UserSelectors.getIsPreHire(userType)
? require('./PreHireHallwayNav').default
| Fixing impersonation bug, change store ux, and app config app state logic. | Fixing impersonation bug, change store ux, and app config app state logic.
|
cb61b95720fb7867127bec1af09e78e70b1c40ec | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 147
+ versionCode 148
versionName "1.1.0"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>147</string>
+ <string>148</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
| bumping version code | bumping version code
|
b216a7898fd7ade8e346570e12467ef633c2053c | --- packages/me-at-walmart-common/src/components/Sidekick.ts
@@ -4,12 +4,25 @@ import { AllsparkComponentContainers } from '@walmart/allspark-foundation/Compon
export type PayloadType = 'ok' | 'stale' | 'failed';
export interface SidekickWidgetProps {
- onNetworkCallback?: (payloadStatus: PayloadType) => void;
+ /** Will be called when the truck freight list is done loading. Provides 3 states:
+ * * 'ok': Fetched truck freight data successfully
+ * * 'error': API failed
+ * * 'stale': Was unable to fetch latest data, but was able to use cached data
+ */
+ onNetworkCallback?: (fetchResult: PayloadType) => void;
+ /** Limit how many truck freights to show. Will show all, if not specified. */
maxItems?: number;
+ /**
+ * Filter the truck freight list by certain options
+ * * trailerIds: Only show truck freights with these trailer IDs
+ */
filterBy?: {
trailerIds?: string[];
};
+ /** Container style */
style?: StyleProp<ViewStyle>;
+ /** Individual card style */
+ cardStyle?: StyleProp<ViewStyle>;
}
const SIDEKICK_KEY = 'sidekick';
| chore: update sideick container typing for upstream branch | chore: update sideick container typing for upstream branch
|
b243c0997c4447f48fdb683ca6bc6e2a64546c89 | --- package-lock.json
@@ -52,9 +52,9 @@
"@walmart/gta-react-native-calendars": "0.0.16",
"@walmart/gtp-shared-components": "2.0.4",
"@walmart/impersonation-mini-app": "1.17.2",
- "@walmart/ims-print-services-ui": "2.2.3",
+ "@walmart/ims-print-services-ui": "2.1.2",
"@walmart/inbox-mini-app": "0.82.3",
- "@walmart/iteminfo-mini-app": "7.2.2",
+ "@walmart/iteminfo-mini-app": "7.1.4",
"@walmart/manager-approvals-miniapp": "0.2.2",
"@walmart/me-field-mini-app": "1.3.0",
"@walmart/metrics-mini-app": "0.9.61",
@@ -69,7 +69,7 @@
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
"@walmart/react-native-logger": "1.33.0",
- "@walmart/react-native-scanner-3.0": "0.2.1",
+ "@walmart/react-native-scanner-3.0": "0.1.32",
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.5.1",
@@ -5305,9 +5305,9 @@
}
},
"node_modules/@walmart/ims-print-services-ui": {
- "version": "2.2.3",
- "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-2.2.3.tgz",
- "integrity": "sha512-6OETmP38kKWeWRHMPVuEXbO5U9f+/PEpQo5ebl1blucUc8XVeTFuAwES/vqT39574nzUAjrsQUEGab8sMp784Q==",
+ "version": "2.1.2",
+ "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-2.1.2.tgz",
+ "integrity": "sha512-wLgzD/a0hpXo+hL9tgH860T5faXgbqWdjEFULLbpiNJds/tmltjBS4SfNPbzkifPc/sIkALbZZ+12g8znNvQcQ==",
"peerDependencies": {
"@react-native-firebase/analytics": ">=10.5.1",
"@react-native-firebase/app": ">=10.5.0",
@@ -5348,9 +5348,9 @@
}
},
"node_modules/@walmart/iteminfo-mini-app": {
- "version": "7.2.2",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.2.2.tgz",
- "integrity": "sha512-9TXQLMuZhoLKo2UKcMQ38qkb2CoV+f4Vz7iids/hvM2mR8VQwb8sQZn55M+jrmw3kBaFGfE0Cb4mfGbu6nmaWQ==",
+ "version": "7.1.4",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.1.4.tgz",
+ "integrity": "sha512-QHq9YvcJtLez/f9a8/0OvZ7BCQ+anUO8Mp5YvIadK122YBPzfMdxuzxBaszcl4yU388SXbof8fDjlhdQucuFSw==",
"peerDependencies": {
"@react-native-community/async-storage": ">=1.12.1",
"@react-native-community/netinfo": ">=9.3.6",
@@ -5370,7 +5370,7 @@
"@walmart/counts-component-miniapp": ">=0.0.21",
"@walmart/functional-components": ">=2.0.6",
"@walmart/gtp-shared-components": ">=2.0.2",
- "@walmart/ims-print-services-ui": ">=2.2.2",
+ "@walmart/ims-print-services-ui": ">=2.1.1",
"@walmart/price-changes-mini-app": ">=1.4.5",
"@walmart/react-native-env": ">=0.2.0",
"@walmart/react-native-logger": ">=1.29.0",
@@ -5805,9 +5805,9 @@
}
},
"node_modules/@walmart/react-native-scanner-3.0": {
- "version": "0.2.1",
- "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.2.1.tgz",
- "integrity": "sha512-1b8IJIj2yRxWbIR/bGGAjgDEJjxAo/LEDvcgQ/kkniO7ZCVBy9i8MQqJP5rgwPQorY0e78Rqiu29i+Dtdi5Myg==",
+ "version": "0.1.32",
+ "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.1.32.tgz",
+ "integrity": "sha512-eTnQ4DX9rb8YNbj7tfn4iqRuiQotY3YNEJXDOm17/F4IbQ3/raWQgRArVvFAXswMz/pnSfIN7cqJEgUKlYX66Q==",
"license": "ISC",
"peerDependencies": {
"react-native": ">=0.47.1"
@@ -25277,9 +25277,9 @@
"integrity": "sha512-IDynuXjrS0zBA66Fq8ZAHj6xx4Hllx1cS8xLpDFvon/29MB84aO/pY2QKTXmldOP5/GbW+buGk89mtsQ6jYUJQ=="
},
"@walmart/ims-print-services-ui": {
- "version": "2.2.3",
- "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-2.2.3.tgz",
- "integrity": "sha512-6OETmP38kKWeWRHMPVuEXbO5U9f+/PEpQo5ebl1blucUc8XVeTFuAwES/vqT39574nzUAjrsQUEGab8sMp784Q=="
+ "version": "2.1.2",
+ "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-2.1.2.tgz",
+ "integrity": "sha512-wLgzD/a0hpXo+hL9tgH860T5faXgbqWdjEFULLbpiNJds/tmltjBS4SfNPbzkifPc/sIkALbZZ+12g8znNvQcQ=="
},
"@walmart/inbox-mini-app": {
"version": "0.82.3",
@@ -25291,9 +25291,9 @@
}
},
"@walmart/iteminfo-mini-app": {
- "version": "7.2.2",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.2.2.tgz",
- "integrity": "sha512-9TXQLMuZhoLKo2UKcMQ38qkb2CoV+f4Vz7iids/hvM2mR8VQwb8sQZn55M+jrmw3kBaFGfE0Cb4mfGbu6nmaWQ=="
+ "version": "7.1.4",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.1.4.tgz",
+ "integrity": "sha512-QHq9YvcJtLez/f9a8/0OvZ7BCQ+anUO8Mp5YvIadK122YBPzfMdxuzxBaszcl4yU388SXbof8fDjlhdQucuFSw=="
},
"@walmart/manager-approvals-miniapp": {
"version": "0.2.2",
@@ -25386,9 +25386,9 @@
"version": "1.33.0"
},
"@walmart/react-native-scanner-3.0": {
- "version": "0.2.1",
- "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.2.1.tgz",
- "integrity": "sha512-1b8IJIj2yRxWbIR/bGGAjgDEJjxAo/LEDvcgQ/kkniO7ZCVBy9i8MQqJP5rgwPQorY0e78Rqiu29i+Dtdi5Myg=="
+ "version": "0.1.32",
+ "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.1.32.tgz",
+ "integrity": "sha512-eTnQ4DX9rb8YNbj7tfn4iqRuiQotY3YNEJXDOm17/F4IbQ3/raWQgRArVvFAXswMz/pnSfIN7cqJEgUKlYX66Q=="
},
"@walmart/react-native-shared-navigation": {
"version": "1.0.2",
--- package.json
@@ -94,9 +94,9 @@
"@walmart/gta-react-native-calendars": "0.0.16",
"@walmart/gtp-shared-components": "2.0.4",
"@walmart/impersonation-mini-app": "1.17.2",
- "@walmart/ims-print-services-ui": "2.2.3",
+ "@walmart/ims-print-services-ui": "2.1.2",
"@walmart/inbox-mini-app": "0.82.3",
- "@walmart/iteminfo-mini-app": "7.2.2",
+ "@walmart/iteminfo-mini-app": "7.1.4",
"@walmart/manager-approvals-miniapp": "0.2.2",
"@walmart/me-field-mini-app": "1.3.0",
"@walmart/metrics-mini-app": "0.9.61",
@@ -111,7 +111,7 @@
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
"@walmart/react-native-logger": "1.33.0",
- "@walmart/react-native-scanner-3.0": "0.2.1",
+ "@walmart/react-native-scanner-3.0": "0.1.32",
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.5.1",
| chore: updating PC version | chore: updating PC version
|
c2ea2f4dd6247dd45d67ed82da0dcd15d404936d | --- package-lock.json
@@ -36,7 +36,7 @@
"@walmart/amp-mini-app": "1.0.11",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.3.56",
- "@walmart/attendance-mini-app": "0.76.0",
+ "@walmart/attendance-mini-app": "0.77.0",
"@walmart/config-components": "4.1.0-rc.4",
"@walmart/core-services": "~1.4.15",
"@walmart/core-services-allspark": "~1.10.18",
@@ -4696,9 +4696,9 @@
}
},
"node_modules/@walmart/attendance-mini-app": {
- "version": "0.76.0",
- "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.76.0.tgz",
- "integrity": "sha512-E1DbwRFYdEKa4SOUafI5sOuBrTIgFuUIGvu3aqx87sl0g1Z7no/qJr7Bhoj7fgWD4k0CJD80UD5sKC7vwUcViA==",
+ "version": "0.77.0",
+ "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.77.0.tgz",
+ "integrity": "sha512-PqNu5viOltR1QP0A1c4DM18TTMTa3NVIJ+J9Vmb5V+8RwD7M8Md6lcq8NCMdiiWGuVed0TeMgNvrAtouNZ7y1Q==",
"dependencies": {
"@walmart/gta-react-native-calendars": "0.0.16",
"moment-timezone": "0.5.40",
@@ -24920,9 +24920,9 @@
}
},
"@walmart/attendance-mini-app": {
- "version": "0.76.0",
- "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.76.0.tgz",
- "integrity": "sha512-E1DbwRFYdEKa4SOUafI5sOuBrTIgFuUIGvu3aqx87sl0g1Z7no/qJr7Bhoj7fgWD4k0CJD80UD5sKC7vwUcViA==",
+ "version": "0.77.0",
+ "resolved": "https://npme.walmart.com/@walmart/attendance-mini-app/-/attendance-mini-app-0.77.0.tgz",
+ "integrity": "sha512-PqNu5viOltR1QP0A1c4DM18TTMTa3NVIJ+J9Vmb5V+8RwD7M8Md6lcq8NCMdiiWGuVed0TeMgNvrAtouNZ7y1Q==",
"requires": {
"@walmart/gta-react-native-calendars": "0.0.16",
"moment-timezone": "0.5.40",
--- package.json
@@ -78,7 +78,7 @@
"@walmart/amp-mini-app": "1.0.11",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.3.56",
- "@walmart/attendance-mini-app": "0.76.0",
+ "@walmart/attendance-mini-app": "0.77.0",
"@walmart/config-components": "4.1.0-rc.4",
"@walmart/core-services": "~1.4.15",
"@walmart/core-services-allspark": "~1.10.18",
| attendance-mini-app 0.77.0 | attendance-mini-app 0.77.0
|
73a07ce3946999ce26672c7ea00dffa3c1778e92 | --- __tests__/navigation/__snapshots__/MyTeamNavigation.test.tsx.snap
@@ -18,7 +18,7 @@ exports[`MyTeamNavigation should corretly render MyTeamNavigation 1`] = `
options={
{
"headerLeft": "DrawerButton",
- "headerRight": [Function],
+ "headerRight": [MockFunction],
"title": "My Team",
}
}
--- __tests__/redux/selectors.test.ts
@@ -98,7 +98,7 @@ describe('Selectors', () => {
it('displayDND selector', () => {
const displayDND = selectors.displayDND(mockState);
- expect(displayDND).toStrictEqual(false);
+ expect(displayDND).toStrictEqual(true);
});
it('displayDND selector should fall back to config to get value if state is null', () => {
@@ -108,12 +108,12 @@ describe('Selectors', () => {
null,
);
const displayDND = selectors.displayDND(updatedState);
- expect(displayDND).toStrictEqual(false);
+ expect(displayDND).toStrictEqual(true);
});
it('displayClockStatus selector', () => {
const displayClockStatusMock = selectors.displayClockStatus(mockState);
- expect(displayClockStatusMock).toStrictEqual(false);
+ expect(displayClockStatusMock).toStrictEqual(true);
});
it('displayAvatar selector', () => {
@@ -128,7 +128,7 @@ describe('Selectors', () => {
null,
);
const displayAvatarMock = selectors.displayAvatar(updatedState);
- expect(displayAvatarMock).toStrictEqual(false);
+ expect(displayAvatarMock).toStrictEqual(true);
});
it('displaySearchIcon selector', () => {
--- __tests__/screens/TabsScreen/__snapshots__/TabsScreen.test.tsx.snap
@@ -128,6 +128,25 @@ exports[`TabScreenTest should render renderDNDSwitch screen when showDNDSwitch i
>
Darlene M Jones
</Text>
+ <Text
+ accessibilityRole="text"
+ style={
+ [
+ {
+ "color": "#2e2f32",
+ "fontFamily": "Bogle",
+ "fontSize": 14,
+ "fontStyle": "normal",
+ "fontWeight": "400",
+ "lineHeight": 20,
+ },
+ {},
+ ]
+ }
+ testID="Body"
+ >
+ Clocked in
+ </Text>
</View>
<View
style={
@@ -270,6 +289,25 @@ exports[`TabScreenTest should render tabs screen with expected elements 1`] = `
>
Darlene M Jones
</Text>
+ <Text
+ accessibilityRole="text"
+ style={
+ [
+ {
+ "color": "#2e2f32",
+ "fontFamily": "Bogle",
+ "fontSize": 14,
+ "fontStyle": "normal",
+ "fontWeight": "400",
+ "lineHeight": 20,
+ },
+ {},
+ ]
+ }
+ testID="Body"
+ >
+ Clocked in
+ </Text>
</View>
<View
style={
| fix tests | fix tests
|
28a70fbdb34fb6b81b0d872359d9876d33c30445 | --- packages/allspark-foundation-hub/src/Store/Modules/Hub/HubDashboard.tsx
@@ -168,7 +168,7 @@ export const HubDashboard = ({
const mappedWidgets =
widgets[teamState.teamLabel] || widgets[teamState.teamIds[0]];
const allowedWidgets = hasWigets
- ? mappedWidgets.widgets.map((widgetData: string) => {
+ ? mappedWidgets.widgets?.map((widgetData: string) => {
let layoutConfig = { componentId: '' };
let layoutConfigList: [] = [];
layoutConfig.componentId = widgetData;
| feat(ui): added null check | feat(ui): added null check
|
579353c6286394c8d8aacbb219409eb568b584f5 | --- ios/Podfile.lock
@@ -555,14 +555,16 @@ PODS:
- React-cxxreact (= 0.63.2)
- React-jsi (= 0.63.2)
- React-jsinspector (0.63.2)
- - react-native-logger (1.9.0):
+ - react-native-get-random-values (1.5.0):
- React
- - react-native-netinfo (5.9.6):
+ - react-native-logger (1.14.0):
- React
- - react-native-pdf (6.2.0):
+ - react-native-netinfo (5.9.6):
- React
- - react-native-safe-area-context (3.1.7):
+ - react-native-pdf (6.2.1):
- React
+ - react-native-safe-area-context (3.1.8):
+ - React-Core
- react-native-sumo-sdk (2.7.1):
- React
- react-native-video (5.1.0-alpha8):
@@ -574,9 +576,9 @@ PODS:
- React
- react-native-webview (10.9.0):
- React
- - react-native-wm-barcode (1.1.6):
+ - react-native-wm-barcode (1.1.11):
- React
- - react-native-wm-voice-text (0.1.3):
+ - react-native-wm-voice-text (0.2.1):
- React
- React-RCTActionSheet (0.63.2):
- React-Core/RCTActionSheetHeaders (= 0.63.2)
@@ -709,6 +711,7 @@ DEPENDENCIES:
- React-jsi (from `../node_modules/react-native/ReactCommon/jsi`)
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
+ - react-native-get-random-values (from `../node_modules/react-native-get-random-values`)
- "react-native-logger (from `../node_modules/@walmart/react-native-logger`)"
- "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)"
- react-native-pdf (from `../node_modules/react-native-pdf`)
@@ -810,6 +813,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/jsiexecutor"
React-jsinspector:
:path: "../node_modules/react-native/ReactCommon/jsinspector"
+ react-native-get-random-values:
+ :path: "../node_modules/react-native-get-random-values"
react-native-logger:
:path: "../node_modules/@walmart/react-native-logger"
react-native-netinfo:
@@ -930,16 +935,17 @@ SPEC CHECKSUMS:
React-jsi: 54245e1d5f4b690dec614a73a3795964eeef13a8
React-jsiexecutor: 8ca588cc921e70590820ce72b8789b02c67cce38
React-jsinspector: b14e62ebe7a66e9231e9581279909f2fc3db6606
- react-native-logger: 656996966a48c6a0d96c0888bae8689ddcd70172
+ react-native-get-random-values: 1404bd5cc0ab0e287f75ee1c489555688fc65f89
+ react-native-logger: 3bcc179347707f13df82f8b00eec0d6d6cc29271
react-native-netinfo: d2c312fa4b151214e1d5c8456ddb5f28ff24a576
- react-native-pdf: 909cd849e6a806731b2135263189fea39494b55e
- react-native-safe-area-context: fcece23844742b6f7f0627c3715b806a7deff946
+ react-native-pdf: 2fc624841b3628db8df318c803874152b33580f5
+ react-native-safe-area-context: 01158a92c300895d79dee447e980672dc3fb85a6
react-native-sumo-sdk: 8a034fe724417d8c9465951630e229edef2f738f
react-native-video: 8d97379f3c2322a569f1e27542ad1a646cad9444
react-native-view-shot: 08c46c9e8e92f6681e8f2ffa55ac3d06e7e99070
react-native-webview: 6ee7868ca8eba635dbf7963986d1ab7959da0391
- react-native-wm-barcode: ed8492890e3f3bbdd5f05a318a3781f5a986532c
- react-native-wm-voice-text: 68c88e0b4fda5007f86259c743e5c8b8f5d54c0b
+ react-native-wm-barcode: 6f3c36b234bd550c0f9a7ca4c471fdd9c064e7a2
+ react-native-wm-voice-text: d24e48d55bca5fd0f16935d136c4dbba82dc82f7
React-RCTActionSheet: 910163b6b09685a35c4ebbc52b66d1bfbbe39fc5
React-RCTAnimation: 9a883bbe1e9d2e158d4fb53765ed64c8dc2200c6
React-RCTBlob: 39cf0ece1927996c4466510e25d2105f67010e13
--- package-lock.json
@@ -1916,6 +1916,11 @@
}
}
},
+ "@walmart/push-to-talk-mini-app": {
+ "version": "0.0.2",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.0.2.tgz",
+ "integrity": "sha512-yJ9Xi2bxb28HrWHCMMnNsvaCSh4Z3SNPbZkljhr3tWRWZZLnm8hVOAYT+HCfY8ZtjNwfDzviY5hbEz4vBMFxwA=="
+ },
"@walmart/react-native-logger": {
"version": "1.14.0",
"resolved": "https://npme.walmart.com/@walmart/react-native-logger/-/react-native-logger-1.14.0.tgz",
--- package.json
@@ -41,6 +41,7 @@
"@walmart/config-components": "^1.0.4",
"@walmart/functional-components": "^1.0.21",
"@walmart/gtp-shared-components": "^0.2.1",
+ "@walmart/push-to-talk-mini-app": "0.0.2",
"@walmart/react-native-logger": "^1.14.0",
"@walmart/react-native-shared-navigation": "^0.2.0",
"@walmart/redux-store": "^1.0.3",
--- src/navigation/Navigation.tsx
@@ -7,6 +7,7 @@ import {createDrawerNavigator} from '@react-navigation/drawer';
import {createStackNavigator} from '@react-navigation/stack';
import {HomeMiniApp} from '@walmart/allspark-home-mini-app';
import {AskSamMiniApp} from '@walmart/ask-sam-mini-app';
+import {PushToTalkMiniApp} from '@walmart/push-to-talk-mini-app';
import {Icon} from '../images';
import {TabBar} from './TabBar';
@@ -60,7 +61,7 @@ const MainTabsNav = () => {
/>
<MainTabs.Screen
name='myTeam'
- component={ContentPlaceholder('My Team')}
+ component={PushToTalkMiniApp}
options={{
title: translate('navigation.myTeam'),
tabBarIcon: ({focused}) => (
| PTT mini app | PTT mini app
|
198dbae7f4accc1eb5bca72135ccb1595dec827c | --- core/src/core/FeatureToggleGuard.tsx
@@ -43,7 +43,7 @@ export const FeatureToggleGuard = (
const {children, featureId} = props;
const [translate] = useAllsparkTranslation();
const oneClick = useOneClick(featureId);
-
+
/**
* Adding this hook because `featureId` is only accessible within this component scope.
* Beyond this component, `featureId` is not directly available, so we're calling `useScannerSdkType(featureId)` here.
--- core/src/scanner/useScannerSdkType.tsx
@@ -16,11 +16,11 @@ export const useScannerSdkType = (featureId: string) => {
useEffect(() => {
let scannerType = 'scandit';
const scannerConfig = appConfigData?.scanner;
-
+
if (scannerConfig) {
scannerType = getScannerType(featureId, scannerConfig);
}
enableConstellationSDK(scannerType?.toLowerCase() === CONSTELLATION);
- }, [featureId]);
+ }, [appConfigData?.scanner, featureId]);
};
| Scanner 3.0 - Fixed lint issues | Scanner 3.0 - Fixed lint issues
|
a509b56f24a37b95c02647daca344e27a0d01eaa | --- package-lock.json
@@ -73,7 +73,7 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.5.1",
- "@walmart/receipt-check-miniapp": "1.10.3",
+ "@walmart/receipt-check-miniapp": "1.10.4",
"@walmart/redux-store": "3.1.3",
"@walmart/returns-mini-app": "0.12.0",
"@walmart/schedule-mini-app": "0.33.0",
@@ -5739,9 +5739,9 @@
}
},
"node_modules/@walmart/receipt-check-miniapp": {
- "version": "1.10.3",
- "resolved": "https://npme.walmart.com/@walmart/receipt-check-miniapp/-/receipt-check-miniapp-1.10.3.tgz",
- "integrity": "sha512-GiZMILv2/RGQcCLFRCEMHMDJk/R/l81ZnYInDaw43ORY9AEtrDJZHb7t7KS8Q1AAporzA+CcdNcUyfktRxoKAw==",
+ "version": "1.10.4",
+ "resolved": "https://npme.walmart.com/@walmart/receipt-check-miniapp/-/receipt-check-miniapp-1.10.4.tgz",
+ "integrity": "sha512-jkTq7mDKJ2cefpOc4g+8NkIq2GiB4OF+9QgFeqFsL9DCgsHwFY5dXcqtypRtZU6Vd80MTHbF6Kjozy4cMGjjow==",
"dependencies": {
"@walmart/tcnumber": "^2.3.3",
"@xstate/react": "^3.0.1",
@@ -25240,9 +25240,9 @@
"integrity": "sha512-CxtyZsPMfyN6081C10uIPoP93aWLl4gHGRgiI8p7bwhIJLl8NiuOl/bqdvE3N7pAZYTeKG7lSxtc88++uvJKWA=="
},
"@walmart/receipt-check-miniapp": {
- "version": "1.10.3",
- "resolved": "https://npme.walmart.com/@walmart/receipt-check-miniapp/-/receipt-check-miniapp-1.10.3.tgz",
- "integrity": "sha512-GiZMILv2/RGQcCLFRCEMHMDJk/R/l81ZnYInDaw43ORY9AEtrDJZHb7t7KS8Q1AAporzA+CcdNcUyfktRxoKAw==",
+ "version": "1.10.4",
+ "resolved": "https://npme.walmart.com/@walmart/receipt-check-miniapp/-/receipt-check-miniapp-1.10.4.tgz",
+ "integrity": "sha512-jkTq7mDKJ2cefpOc4g+8NkIq2GiB4OF+9QgFeqFsL9DCgsHwFY5dXcqtypRtZU6Vd80MTHbF6Kjozy4cMGjjow==",
"requires": {
"@walmart/tcnumber": "^2.3.3",
"@xstate/react": "^3.0.1",
--- package.json
@@ -115,7 +115,7 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.5.1",
- "@walmart/receipt-check-miniapp": "1.10.3",
+ "@walmart/receipt-check-miniapp": "1.10.4",
"@walmart/redux-store": "3.1.3",
"@walmart/returns-mini-app": "0.12.0",
"@walmart/schedule-mini-app": "0.33.0",
| update for log fix | update for log fix
|
7783eabd91206747d98bdc7ba928b3caf3fd67a5 | --- package.json
@@ -102,7 +102,7 @@
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "6.1.4",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "2.4.1",
+ "@walmart/wmconnect-mini-app": "2.5.0",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
--- yarn.lock
@@ -6256,7 +6256,7 @@ __metadata:
"@walmart/react-native-sumo-sdk": "npm:2.6.0"
"@walmart/redux-store": "npm:6.1.4"
"@walmart/ui-components": "npm:1.15.1"
- "@walmart/wmconnect-mini-app": "npm:2.4.1"
+ "@walmart/wmconnect-mini-app": "npm:2.5.0"
babel-jest: "npm:^29.2.1"
chance: "npm:^1.1.11"
eslint: "npm:8.22.0"
@@ -6389,9 +6389,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:2.4.1":
- version: 2.4.1
- resolution: "@walmart/wmconnect-mini-app@npm:2.4.1"
+"@walmart/wmconnect-mini-app@npm:2.5.0":
+ version: 2.5.0
+ resolution: "@walmart/wmconnect-mini-app@npm:2.5.0"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6431,7 +6431,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/97a9b527b354b61bd532f03ef8868cca3043d45d921823954027d60194af53943dee3b65fa812fd2a4c9c6b3f48ec7532037e925ace48063ff299ed75296b56b
+ checksum: 10c0/11b2ced5fcf7f9e1c0e0506013a682ce9df92e42fad73b1ed606cb173200e83609e2e6b3dbce6a6e875bf8823b0b0434380953c65461c2b40a5ce07c12022fd8
languageName: node
linkType: hard
| feat(ui): update version SMDV-5955 | feat(ui): update version SMDV-5955
|
ae6eb743920470a438b9f8b2027b74e1daeefbd1 | --- targets/US/package.json
@@ -131,7 +131,7 @@
"@walmart/react-native-encrypted-storage": "~1.1.3",
"@walmart/react-native-env": "~6.3.20",
"@walmart/react-native-logger": "1.34.8",
- "@walmart/react-native-scanner-3.0": "0.6.8",
+ "@walmart/react-native-scanner-3.0": "0.8.0",
"@walmart/react-native-shared-navigation": "~6.3.20",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.7.0",
--- yarn.lock
@@ -6857,7 +6857,7 @@ __metadata:
"@walmart/react-native-encrypted-storage": "npm:~1.1.3"
"@walmart/react-native-env": "npm:~6.3.20"
"@walmart/react-native-logger": "npm:1.34.8"
- "@walmart/react-native-scanner-3.0": "npm:0.6.8"
+ "@walmart/react-native-scanner-3.0": "npm:0.8.0"
"@walmart/react-native-shared-navigation": "npm:~6.3.20"
"@walmart/react-native-store-map": "npm:0.3.7"
"@walmart/react-native-sumo-sdk": "npm:2.7.0"
@@ -7433,12 +7433,12 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/react-native-scanner-3.0@npm:0.6.8":
- version: 0.6.8
- resolution: "@walmart/react-native-scanner-3.0@npm:0.6.8"
+"@walmart/react-native-scanner-3.0@npm:0.8.0":
+ version: 0.8.0
+ resolution: "@walmart/react-native-scanner-3.0@npm:0.8.0"
peerDependencies:
react-native: ">=0.47.1"
- checksum: 10c0/9a0d10ae13055d505f8c208daa83097f9fd3d3de47404838b38d3789d9e411d580103a4dddc7b67b1c111e273947f8c8e58500144ddc4e4d74fd46ff6f0a0602
+ checksum: 10c0/a0c0d0b21d452b93e0fb98c0b05c58b9105348408353e42f7fc24706bb13a655a8d5d4b95a9cff76fd5ea65933d272adaeee1a82a5afe80e61d0c980cd7a63a7
languageName: node
linkType: hard
| VS-5311 : Scanner version upgrade to 0.8.0 | VS-5311 : Scanner version upgrade to 0.8.0
|
973b7244294716ef8025da25b58f8a2496659a72 | --- .looper.multibranch.yml
@@ -328,6 +328,8 @@ flows:
# Create a build for each of the applicable deployments; dev, beta, prod
build-deployments:
- echo "BuildType === $buildType"
+ - declare(APPCENTER_API_TOKEN)
+ - declare(APPCENTER_APP_NAME)
- if: |
%{ buildType == "SNAPSHOT" }
then:
@@ -430,6 +432,8 @@ flows:
ios-process:
- call: set-buildOutput
- var(sourceMap = "/tmp/index.ios.js.map")
+ - var(APPCENTER_API_TOKEN = $APPCENTER_API_KEY_iOS)
+ - var(APPCENTER_APP_NAME = "AllSpark-Me-Walmart")
- call: setup-ios
- call: build-ios
@@ -437,6 +441,8 @@ flows:
android-process:
- var(buildOutput = "./android/app/build/outputs/apk/${env}/release/app-${env}-release-signed.apk")
- var(sourceMap = "./android/app/build/generated/sourcemaps/react/${env}/release/index.android.bundle.map")
+ - var(APPCENTER_API_TOKEN = $APPCENTER_API_KEY_ANDROID)
+ - var(APPCENTER_APP_NAME = "AllSpark-Android")
- echo "starting building Android release build ${env}"
- call: build-android
@@ -506,32 +512,19 @@ flows:
- if: |
%{ env == "prod" }
then:
- - var(fastlaneJson): toJson(FASTLANE)
- - echo $fastlaneJson > ./fastlane/fastlane-session.json
- - echo "Skipping uploading AppStore/PlayStore builds to MS App Center and publishing it to Slack."
+ - echo "Skipping uploading AppStore/PlayStore builds to MS App Center and publishing to Slack."
else:
- echo "Uploading builds to App Center"
+ - call: setup-fastlane
- call: appcenter-upload
# uploads iOS and android builds to Ms App Center
#
# @param APPCENTER_API_TOKEN - Encrypted API token to leverage MS APIs
- # @param APPCENTER_APP_NAME - AllSpark-Me-Walmart
+ # @param APPCENTER_APP_NAME - AllSpark-Me-Walmart or AllSpark-Android
#
appcenter-upload:
- - shell: ruby --version
- - shell: gem --version
- - (name Bundle) https_proxy=http://sysproxy.wal-mart.com:8080 http_proxy=http://sysproxy.wal-mart.com:8080 bundle
- - if: |
- %{os == "ios"}
- then:
- - var(APPCENTER_API_TOKEN = $APPCENTER_API_KEY_iOS)
- - var(APPCENTER_APP_NAME = "AllSpark-Me-Walmart")
- - (name Upload to App Center iOS) bundle exec fastlane submit_to_appcenter BUILD_OUTPUT:${buildOutput}
- else:
- - var(APPCENTER_API_TOKEN = $APPCENTER_API_KEY_ANDROID)
- - var(APPCENTER_APP_NAME = "AllSpark-Android")
- - (name Upload to App Center Android) bundle exec fastlane submit_to_appcenter BUILD_OUTPUT:${buildOutput}
+ - (name Upload to App Center iOS) bundle exec fastlane submit_to_appcenter BUILD_OUTPUT:${buildOutput}
# sends success message to slack channel
#
| code cleanup | code cleanup
|
0b5b3c3ea68e48be58193403dc282818324e68d4 | --- __tests__/harness/redux/mockState/mockUsers/salariedUser.ts
@@ -1,2 +1,94 @@
-//TODO: Impersonate salaried user and hydrate data fields
-export const salariedUserData = {};
+import {Team} from '@walmart/redux-store';
+
+export const teamState: Team[] = [
+ {
+ members: [
+ '112916172',
+ '207052094',
+ '220580167',
+ '222038908',
+ '222509288',
+ '223384442',
+ '224632465',
+ '225603371',
+ '226369067',
+ '227225171',
+ '210011318',
+ '211580352',
+ '221050428',
+ ],
+ site: '100',
+ teamId: '1111111',
+ teamName: 'Management',
+ membership: [
+ {
+ win: '112916172',
+ // @ts-ignore
+ role: 'SALARIED',
+ baseTeam: true,
+ },
+ {
+ win: '207052094',
+ // @ts-ignore
+ role: 'SALARIED',
+ baseTeam: true,
+ },
+ {
+ win: '225603371',
+ // @ts-ignore
+ role: 'SALARIED',
+ baseTeam: true,
+ },
+ ],
+ },
+];
+
+export const salariedUserData = {
+ userId: 'werober',
+ domain: 'Store',
+ countryCode: 'US',
+ employeeType: 'S',
+ win: '112916172',
+ fullTimePartTime: undefined,
+ division: '1',
+ displayName: 'WILLIAM ROBERTS',
+ email: 'werober.s00100.us@wal-mart.com',
+ emailId: 'werober.s00100.us@wal-mart.com',
+ siteId: '100',
+ title: 'StoreMgr>= $80MM-WM',
+ regionNumber: '42',
+ jobCode: '["1@993@01001@"]',
+ secondaryJobCode: undefined,
+ homeSite: '100',
+ workingSite: '100',
+ streetAddress: undefined,
+ city: undefined,
+ state: 'AR',
+ postalCode: undefined,
+ hireDate: '2005-06-08',
+ jobDescription: undefined,
+ mdseDivNumber: '1',
+ geographicCategoryCode: 'FL',
+ employeeID: undefined,
+ userType: 'Associate',
+ dateOfBirth: '1984-04-24',
+ jobCategoryCode: '001001',
+ department: '993',
+ userInfoVersion: undefined,
+ fullyQualifiedUserID: 'WEROBER.S00100',
+ memberOf: [
+ 'mock-membership-one',
+ 'mock-membership-two',
+ 'mock-membership-three',
+ ],
+ preferredFirstName: 'William',
+ preferredLastName: 'Roberts',
+ preferredMiddleName: 'E',
+ preferredNameTitle: null,
+ preferredNameSocialSuffix: null,
+ preferredFullName: 'William E Roberts',
+ clockStatus: undefined,
+ teams: teamState,
+ employmentStatus: 'A',
+ upn: undefined,
+};
--- __tests__/harness/redux/mockState/mockUsers/salariedUser.ts
@@ -1,2 +1,94 @@
-//TODO: Impersonate salaried user and hydrate data fields
-export const salariedUserData = {};
+import {Team} from '@walmart/redux-store';
+
+export const teamState: Team[] = [
+ {
+ members: [
+ '112916172',
+ '207052094',
+ '220580167',
+ '222038908',
+ '222509288',
+ '223384442',
+ '224632465',
+ '225603371',
+ '226369067',
+ '227225171',
+ '210011318',
+ '211580352',
+ '221050428',
+ ],
+ site: '100',
+ teamId: '1111111',
+ teamName: 'Management',
+ membership: [
+ {
+ win: '112916172',
+ // @ts-ignore
+ role: 'SALARIED',
+ baseTeam: true,
+ },
+ {
+ win: '207052094',
+ // @ts-ignore
+ role: 'SALARIED',
+ baseTeam: true,
+ },
+ {
+ win: '225603371',
+ // @ts-ignore
+ role: 'SALARIED',
+ baseTeam: true,
+ },
+ ],
+ },
+];
+
+export const salariedUserData = {
+ userId: 'werober',
+ domain: 'Store',
+ countryCode: 'US',
+ employeeType: 'S',
+ win: '112916172',
+ fullTimePartTime: undefined,
+ division: '1',
+ displayName: 'WILLIAM ROBERTS',
+ email: 'werober.s00100.us@wal-mart.com',
+ emailId: 'werober.s00100.us@wal-mart.com',
+ siteId: '100',
+ title: 'StoreMgr>= $80MM-WM',
+ regionNumber: '42',
+ jobCode: '["1@993@01001@"]',
+ secondaryJobCode: undefined,
+ homeSite: '100',
+ workingSite: '100',
+ streetAddress: undefined,
+ city: undefined,
+ state: 'AR',
+ postalCode: undefined,
+ hireDate: '2005-06-08',
+ jobDescription: undefined,
+ mdseDivNumber: '1',
+ geographicCategoryCode: 'FL',
+ employeeID: undefined,
+ userType: 'Associate',
+ dateOfBirth: '1984-04-24',
+ jobCategoryCode: '001001',
+ department: '993',
+ userInfoVersion: undefined,
+ fullyQualifiedUserID: 'WEROBER.S00100',
+ memberOf: [
+ 'mock-membership-one',
+ 'mock-membership-two',
+ 'mock-membership-three',
+ ],
+ preferredFirstName: 'William',
+ preferredLastName: 'Roberts',
+ preferredMiddleName: 'E',
+ preferredNameTitle: null,
+ preferredNameSocialSuffix: null,
+ preferredFullName: 'William E Roberts',
+ clockStatus: undefined,
+ teams: teamState,
+ employmentStatus: 'A',
+ upn: undefined,
+};
| adding salaried user mock | adding salaried user mock
|
d047a4b146fec7dcc52e57d3202f67207e4d9dd7 | --- android/app/build.gradle
@@ -97,7 +97,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 921
- versionName "1.18.0"
+ versionName "1.18.1"
}
signingConfigs {
--- ios/AllSpark/Info.plist
@@ -21,7 +21,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.18.0</string>
+ <string>1.18.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -44,7 +44,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>920</string>
+ <string>921</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
--- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "allspark-main",
- "version": "1.18.0",
+ "version": "1.18.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "allspark-main",
- "version": "1.18.0",
+ "version": "1.18.1",
"hasInstallScript": true,
"dependencies": {
"@firebase/firestore-types": "^2.5.1",
@@ -44,7 +44,7 @@
"@walmart/attendance-mini-app": "3.10.0",
"@walmart/avp-feature-app": "0.0.35",
"@walmart/avp-shared-library": "0.0.54",
- "@walmart/calling-mini-app": "0.1.8",
+ "@walmart/calling-mini-app": "0.1.10",
"@walmart/compass-sdk-rn": "5.18.15",
"@walmart/config-components": "4.2.16",
"@walmart/copilot-mini-app": "3.42.3",
@@ -83,7 +83,7 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.6.4",
- "@walmart/react-native-webex-sdk": "0.1.0",
+ "@walmart/react-native-webex-sdk": "0.1.4",
"@walmart/receipt-check-miniapp": "1.18.7",
"@walmart/redux-store": "3.7.0",
"@walmart/returns-mini-app": "3.13.0",
@@ -8589,13 +8589,13 @@
}
},
"node_modules/@walmart/calling-mini-app": {
- "version": "0.1.8",
- "resolved": "https://npme.walmart.com/@walmart/calling-mini-app/-/calling-mini-app-0.1.8.tgz",
- "integrity": "sha512-5Yxu/STGT1eeRoD4M4c8Qotxv4H1prR+fSUNWsI4+mi8Lw9i52vrkWJxB2lXAC3mKjm8YhEO6muJCi/MhJ8kOg==",
+ "version": "0.1.10",
+ "resolved": "https://npme.walmart.com/@walmart/calling-mini-app/-/calling-mini-app-0.1.10.tgz",
+ "integrity": "sha512-dk6EGU+HYUM8ttCmMoSUBvvyEtOUqbJ1FMgx1dqnNuum9xm8LC6Fp56MlLNO2nPckiyPhJRUfXQCfXe7H+XMng==",
"dependencies": {
"@react-native-cookies/cookies": "^6.2.1",
"@reduxjs/toolkit": "^1.9.3",
- "@walmart/react-native-webex-sdk": "0.1.0",
+ "@walmart/react-native-webex-sdk": "0.1.4",
"@walmart/texting-mini-app": "^2.0.34",
"apisauce": "^1.1.2",
"axios-cache-adapter": "^2.7.3",
@@ -9666,9 +9666,9 @@
}
},
"node_modules/@walmart/react-native-webex-sdk": {
- "version": "0.1.0",
- "resolved": "https://npme.walmart.com/@walmart/react-native-webex-sdk/-/react-native-webex-sdk-0.1.0.tgz",
- "integrity": "sha512-ywC7bsNeZJCWM2HXfZ0CrF24yf21h3Hm+KWKLTJbT/f34i43HA4yDQp30Bf5mUx/NSZEV7IBuZnxRsiP+svz4Q==",
+ "version": "0.1.4",
+ "resolved": "https://npme.walmart.com/@walmart/react-native-webex-sdk/-/react-native-webex-sdk-0.1.4.tgz",
+ "integrity": "sha512-b5rRRLE499RAaJLrC8MpxWquYbIrfHaE07reEhl59U3ww9sXqjf9EgudOvYzGy4aiYpeD3WS7eSlM2IxKe0qaA==",
"license": "MIT",
"engines": {
"node": ">= 16.0.0"
@@ -33257,13 +33257,13 @@
"integrity": "sha512-K3MxeX2RGGw6HOJ4N2KzuJlcYbrhgzWl5XW/BHAZjK/uLc1m9V3qdQDFzwe4WEWC9fLMxF6Q3DpUNaPasoQMqg=="
},
"@walmart/calling-mini-app": {
- "version": "0.1.8",
- "resolved": "https://npme.walmart.com/@walmart/calling-mini-app/-/calling-mini-app-0.1.8.tgz",
- "integrity": "sha512-5Yxu/STGT1eeRoD4M4c8Qotxv4H1prR+fSUNWsI4+mi8Lw9i52vrkWJxB2lXAC3mKjm8YhEO6muJCi/MhJ8kOg==",
+ "version": "0.1.10",
+ "resolved": "https://npme.walmart.com/@walmart/calling-mini-app/-/calling-mini-app-0.1.10.tgz",
+ "integrity": "sha512-dk6EGU+HYUM8ttCmMoSUBvvyEtOUqbJ1FMgx1dqnNuum9xm8LC6Fp56MlLNO2nPckiyPhJRUfXQCfXe7H+XMng==",
"requires": {
"@react-native-cookies/cookies": "^6.2.1",
"@reduxjs/toolkit": "^1.9.3",
- "@walmart/react-native-webex-sdk": "0.1.0",
+ "@walmart/react-native-webex-sdk": "0.1.4",
"@walmart/texting-mini-app": "^2.0.34",
"apisauce": "^1.1.2",
"axios-cache-adapter": "^2.7.3",
@@ -33591,9 +33591,9 @@
"integrity": "sha512-LAYjTeAZhYu6X8pHgK57A6WGomALwuz25KHFzVIt8j3TB7vtKa7dzQRE5b3tOf18mnXmbLyniyG6M75EVV2UaA=="
},
"@walmart/react-native-webex-sdk": {
- "version": "0.1.0",
- "resolved": "https://npme.walmart.com/@walmart/react-native-webex-sdk/-/react-native-webex-sdk-0.1.0.tgz",
- "integrity": "sha512-ywC7bsNeZJCWM2HXfZ0CrF24yf21h3Hm+KWKLTJbT/f34i43HA4yDQp30Bf5mUx/NSZEV7IBuZnxRsiP+svz4Q=="
+ "version": "0.1.4",
+ "resolved": "https://npme.walmart.com/@walmart/react-native-webex-sdk/-/react-native-webex-sdk-0.1.4.tgz",
+ "integrity": "sha512-b5rRRLE499RAaJLrC8MpxWquYbIrfHaE07reEhl59U3ww9sXqjf9EgudOvYzGy4aiYpeD3WS7eSlM2IxKe0qaA=="
},
"@walmart/receipt-check-miniapp": {
"version": "1.18.7",
--- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.18.0",
+ "version": "1.18.1",
"private": true,
"scripts": {
"android": "react-native run-android",
@@ -85,7 +85,7 @@
"@walmart/attendance-mini-app": "3.10.0",
"@walmart/avp-feature-app": "0.0.35",
"@walmart/avp-shared-library": "0.0.54",
- "@walmart/calling-mini-app": "0.1.8",
+ "@walmart/calling-mini-app": "0.1.10",
"@walmart/compass-sdk-rn": "5.18.15",
"@walmart/config-components": "4.2.16",
"@walmart/copilot-mini-app": "3.42.3",
@@ -124,7 +124,7 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.6.4",
- "@walmart/react-native-webex-sdk": "0.1.0",
+ "@walmart/react-native-webex-sdk": "0.1.4",
"@walmart/receipt-check-miniapp": "1.18.7",
"@walmart/redux-store": "3.7.0",
"@walmart/returns-mini-app": "3.13.0",
| Fix for crashalytics bugs impacting calling | Fix for crashalytics bugs impacting calling
|
a943b8f08cf8df6b142cc0dd303e30916f12c1d7 | --- package.json
@@ -108,7 +108,7 @@
"@walmart/global-vpi-mini-app": "1.1.20",
"@walmart/gta-react-native-calendars": "0.7.0",
"@walmart/gtp-shared-components": "2.2.7-rc.2",
- "@walmart/ims-print-services-ui": "2.19.2",
+ "@walmart/ims-print-services-ui": "2.20.0",
"@walmart/inbox-mini-app": "0.100.4",
"@walmart/invue-react-native-sdk": "0.1.26-alpha.12",
"@walmart/iteminfo-mini-app": "patch:@walmart/iteminfo-mini-app@npm%3A8.3.2#~/.yarn/patches/@walmart-iteminfo-mini-app-npm-8.3.2-2934bc96e9.patch",
--- yarn.lock
@@ -8302,9 +8302,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/ims-print-services-ui@npm:2.19.2":
- version: 2.19.2
- resolution: "@walmart/ims-print-services-ui@npm:2.19.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fims-print-services-ui%2F-%2F%40walmart%2Fims-print-services-ui-2.19.2.tgz"
+"@walmart/ims-print-services-ui@npm:2.20.0":
+ version: 2.20.0
+ resolution: "@walmart/ims-print-services-ui@npm:2.20.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fims-print-services-ui%2F-%2F%40walmart%2Fims-print-services-ui-2.20.0.tgz"
peerDependencies:
"@react-native-firebase/analytics": ">=10.5.1"
"@react-native-firebase/app": ">=10.5.0"
@@ -8324,7 +8324,7 @@ __metadata:
react-native: "*"
react-native-wm-telemetry: ">=0.2.0"
uuid: ">=3.3.2"
- checksum: 10c0/058f7494314f41fe80cdf42f4189ddafb3065c8df77244d058e3669bb88e4da346978ee37eed70a1b4e32ab0fc7ff8dad2bd74e1dc3487c5f10b608d77c07e97
+ checksum: 10c0/a4a4cd21651f46b72d60a8b898e46a600fe2d10fb231639a7d930e88d3f8aedc28f8305bbd98f4cb12730d0fe297b5da5cf7d842a912b926c49c2d7de8daa049
languageName: node
linkType: hard
@@ -8751,7 +8751,7 @@ __metadata:
"@walmart/global-vpi-mini-app": "npm:1.1.20"
"@walmart/gta-react-native-calendars": "npm:0.7.0"
"@walmart/gtp-shared-components": "npm:2.2.7-rc.2"
- "@walmart/ims-print-services-ui": "npm:2.19.2"
+ "@walmart/ims-print-services-ui": "npm:2.20.0"
"@walmart/inbox-mini-app": "npm:0.100.4"
"@walmart/invue-react-native-sdk": "npm:0.1.26-alpha.12"
"@walmart/iteminfo-mini-app": "patch:@walmart/iteminfo-mini-app@npm%3A8.3.2#~/.yarn/patches/@walmart-iteminfo-mini-app-npm-8.3.2-2934bc96e9.patch"
| fix(print): SSLS-10924 Bump Print UI to v2.20.0 (#4306) | fix(print): SSLS-10924 Bump Print UI to v2.20.0 (#4306)
Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com> |
2c33a95394ac5c37f1e01263054a056f8a5d034d | --- package-lock.json
@@ -56,7 +56,7 @@
"@walmart/financial-wellbeing-feature-app": "1.13.7",
"@walmart/functional-components": "~4.0.3",
"@walmart/gta-react-native-calendars": "0.1.0",
- "@walmart/gtp-shared-components": "2.1.3",
+ "@walmart/gtp-shared-components": "2.1.5",
"@walmart/impersonation-mini-app": "1.20.6",
"@walmart/ims-print-services-ui": "2.5.8",
"@walmart/inbox-mini-app": "0.88.9",
@@ -83,7 +83,7 @@
"@walmart/returns-mini-app": "3.9.0",
"@walmart/schedule-mini-app": "0.55.0",
"@walmart/shelfavailability-mini-app": "1.5.17",
- "@walmart/taskit-mini-app": "2.47.9",
+ "@walmart/taskit-mini-app": "2.51.0",
"@walmart/texting-mini-app": "2.0.40",
"@walmart/time-clock-mini-app": "2.175.2",
"@walmart/topstock-mini-app": "1.3.3",
@@ -8900,9 +8900,9 @@
}
},
"node_modules/@walmart/gtp-shared-components": {
- "version": "2.1.3",
- "resolved": "https://npme.walmart.com/@walmart/gtp-shared-components/-/gtp-shared-components-2.1.3.tgz",
- "integrity": "sha512-/wB0vaVPXi8WWkpg8dx8avEuPURd2ynZblQ7VrJFx4UlkH46SMEgasCMBZRoWs/UWpjVE4mjuQ9Sz9p/oF87UA==",
+ "version": "2.1.5",
+ "resolved": "https://npme.walmart.com/@walmart/gtp-shared-components/-/gtp-shared-components-2.1.5.tgz",
+ "integrity": "sha512-1FTGDUKiy7T3KVMyF/M0z3lxu5CYb9xNBNY/k43f2Li9+9Gb+WGx5HoUvW/gpe52zN5lvrUDeZ5r1As6QWiKhA==",
"license": "Apache-2.0",
"dependencies": {
"@livingdesign/tokens": "0.63.0",
@@ -9659,9 +9659,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "2.47.9",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.47.9.tgz",
- "integrity": "sha512-c8KoBAJH23fJc9WrhCcfu+51uRJU0+I2FzSptJcRCq70rL2Xtgy/U8UZTGVye4FlrnZN2WgsCAFfDfkArPVSeA==",
+ "version": "2.51.0",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.51.0.tgz",
+ "integrity": "sha512-hK/+QtWk7K9CXMmJFYTZI0s6Uou+P+pfHP+UYt1K/urtE+E2sqPjPHcAHkGc3+mMIAECQHF+3/iMUzt6yytFTQ==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
@@ -33295,9 +33295,9 @@
}
},
"@walmart/gtp-shared-components": {
- "version": "2.1.3",
- "resolved": "https://npme.walmart.com/@walmart/gtp-shared-components/-/gtp-shared-components-2.1.3.tgz",
- "integrity": "sha512-/wB0vaVPXi8WWkpg8dx8avEuPURd2ynZblQ7VrJFx4UlkH46SMEgasCMBZRoWs/UWpjVE4mjuQ9Sz9p/oF87UA==",
+ "version": "2.1.5",
+ "resolved": "https://npme.walmart.com/@walmart/gtp-shared-components/-/gtp-shared-components-2.1.5.tgz",
+ "integrity": "sha512-1FTGDUKiy7T3KVMyF/M0z3lxu5CYb9xNBNY/k43f2Li9+9Gb+WGx5HoUvW/gpe52zN5lvrUDeZ5r1As6QWiKhA==",
"requires": {
"@livingdesign/tokens": "0.63.0",
"@walmart/gtp-shared-icons": "1.0.7",
@@ -33525,9 +33525,9 @@
"integrity": "sha512-8QEs//QA9txDVmgmIFhk+9mUSZw3zn2b+9PVGB0xyyAyKZn8+LbzpMqZTuzawF1PmFqfy/UAnMdhsuS80fikIg=="
},
"@walmart/taskit-mini-app": {
- "version": "2.47.9",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.47.9.tgz",
- "integrity": "sha512-c8KoBAJH23fJc9WrhCcfu+51uRJU0+I2FzSptJcRCq70rL2Xtgy/U8UZTGVye4FlrnZN2WgsCAFfDfkArPVSeA=="
+ "version": "2.51.0",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.51.0.tgz",
+ "integrity": "sha512-hK/+QtWk7K9CXMmJFYTZI0s6Uou+P+pfHP+UYt1K/urtE+E2sqPjPHcAHkGc3+mMIAECQHF+3/iMUzt6yytFTQ=="
},
"@walmart/tcnumber": {
"version": "2.3.3",
--- package.json
@@ -97,7 +97,7 @@
"@walmart/financial-wellbeing-feature-app": "1.13.7",
"@walmart/functional-components": "~4.0.3",
"@walmart/gta-react-native-calendars": "0.1.0",
- "@walmart/gtp-shared-components": "2.1.3",
+ "@walmart/gtp-shared-components": "2.1.5",
"@walmart/impersonation-mini-app": "1.20.6",
"@walmart/ims-print-services-ui": "2.5.8",
"@walmart/inbox-mini-app": "0.88.9",
@@ -124,7 +124,7 @@
"@walmart/returns-mini-app": "3.9.0",
"@walmart/schedule-mini-app": "0.55.0",
"@walmart/shelfavailability-mini-app": "1.5.17",
- "@walmart/taskit-mini-app": "2.47.9",
+ "@walmart/taskit-mini-app": "2.51.0",
"@walmart/texting-mini-app": "2.0.40",
"@walmart/time-clock-mini-app": "2.175.2",
"@walmart/topstock-mini-app": "1.3.3",
| updated notes and gtp version | updated notes and gtp version
|
e3e76c127249255502a5617962a8daf9e5ed7197 | --- package.json
@@ -100,7 +100,7 @@
"@walmart/counts-component-miniapp": "0.2.7",
"@walmart/digital-locks-mini-app": "1.4.6",
"@walmart/emergency-mini-app": "1.32.5",
- "@walmart/exception-mini-app": "1.8.17",
+ "@walmart/exception-mini-app": "1.8.18",
"@walmart/expo-config-plugins": "^0.2.0",
"@walmart/facilities-management-miniapp": "0.18.30",
"@walmart/feedback-all-spark-miniapp": "0.9.75",
--- yarn.lock
@@ -7064,9 +7064,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/exception-mini-app@npm:1.8.17":
- version: 1.8.17
- resolution: "@walmart/exception-mini-app@npm:1.8.17::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fexception-mini-app%2F-%2F%40walmart%2Fexception-mini-app-1.8.17.tgz"
+"@walmart/exception-mini-app@npm:1.8.18":
+ version: 1.8.18
+ resolution: "@walmart/exception-mini-app@npm:1.8.18::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fexception-mini-app%2F-%2F%40walmart%2Fexception-mini-app-1.8.18.tgz"
peerDependencies:
"@walmart/allspark-foundation": "*"
"@walmart/allspark-utils": ">=6.5.0"
@@ -7089,7 +7089,7 @@ __metadata:
reselect: ">=4.1.0"
uuid: ">=3.3.2"
xdate: ">=0.8.2"
- checksum: 10c0/eedefe208d9b890cc9618e614baad41a982e70835ef7c1a2e0a588150482ed354b593c7f26ba8c392c515dd35152588ecf32e35a63d91ccbbd5058d1409baaf3
+ checksum: 10c0/942d135caff07272bc57cf550e63d565081d2c17b4abfd8d683c0f2eaea13a5648642f0939dd9edf827c658e857a7ac5aab9944a8ed51f10c3add06d73376809
languageName: node
linkType: hard
@@ -7613,7 +7613,7 @@ __metadata:
"@walmart/counts-component-miniapp": "npm:0.2.7"
"@walmart/digital-locks-mini-app": "npm:1.4.6"
"@walmart/emergency-mini-app": "npm:1.32.5"
- "@walmart/exception-mini-app": "npm:1.8.17"
+ "@walmart/exception-mini-app": "npm:1.8.18"
"@walmart/expo-config-plugins": "npm:^0.2.0"
"@walmart/facilities-management-miniapp": "npm:0.18.30"
"@walmart/feedback-all-spark-miniapp": "npm:0.9.75"
| fix(pinpoint): restore clockCheckRequired flag (#4529) | fix(pinpoint): restore clockCheckRequired flag (#4529)
|
a6fae79dced7b8e7fab38359e826b7bd9dc3b0da | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 66
+ versionCode 67
versionName "1.0.5"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>66</string>
+ <string>67</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>invmgmt</string>
--- ios/AllSparkTests/Info.plist
@@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>66</string>
+ <string>67</string>
</dict>
</plist>
| Incrementing build number | Incrementing build number
|
c0c83bd92ca8a43fe38da3414e6960851e59d34d | --- 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.
+## [6.25.1-alpha.0](https://gecgithub01.walmart.com/allspark/allspark-core/compare/v6.24.1-alpha.0...v6.25.1-alpha.0) (2024-09-19)
+
+**Note:** Version bump only for package @walmart/me-at-walmart
+
+
+
+
+
## [6.24.1-alpha.0](https://gecgithub01.walmart.com/allspark/allspark-core/compare/v6.26.0-alpha.1...v6.24.1-alpha.0) (2024-09-19)
**Note:** Version bump only for package @walmart/me-at-walmart
--- lerna.json
@@ -1,5 +1,5 @@
{
- "version": "6.25.0",
+ "version": "6.25.1-alpha.0",
"npmClient": "yarn",
"changelogPreset": "angular",
"command": {
--- packages/core-services-allspark/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.25.1-alpha.0](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/v6.24.1-alpha.0...v6.25.1-alpha.0) (2024-09-19)
+
+**Note:** Version bump only for package @walmart/core-services-allspark
+
+
+
+
+
## [6.24.1-alpha.0](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/v6.26.0-alpha.1...v6.24.1-alpha.0) (2024-09-19)
**Note:** Version bump only for package @walmart/core-services-allspark
--- packages/core-services-allspark/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "6.25.0",
+ "version": "6.25.1-alpha.0",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/core-widget-registry/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.
+## [6.25.1-alpha.0](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/v6.24.1-alpha.0...v6.25.1-alpha.0) (2024-09-19)
+
+**Note:** Version bump only for package @walmart/core-widget-registry
+
+
+
+
+
## [6.24.1-alpha.0](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/v6.26.0-alpha.1...v6.24.1-alpha.0) (2024-09-19)
**Note:** Version bump only for package @walmart/core-widget-registry
--- packages/core-widget-registry/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-widget-registry",
- "version": "6.24.1-alpha.0",
+ "version": "6.25.1-alpha.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- packages/core-widget-registry/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-widget-registry",
- "version": "6.25.0",
+ "version": "6.25.1-alpha.0",
"description": "Repo for Me@Walmart related widget registries",
"author": "rlane1 <russell.lane@walmart.com>",
"license": "ISC",
--- packages/me-at-walmart-common/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.
+## [6.25.1-alpha.0](https://gecgithub01.walmart.com/allspark/allspark/compare/v6.24.1-alpha.0...v6.25.1-alpha.0) (2024-09-19)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-common
+
+
+
+
+
## [6.24.1-alpha.0](https://gecgithub01.walmart.com/allspark/allspark/compare/v6.26.0-alpha.1...v6.24.1-alpha.0) (2024-09-19)
**Note:** Version bump only for package @walmart/me-at-walmart-common
--- packages/me-at-walmart-common/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-common",
- "version": "6.25.0",
+ "version": "6.25.1-alpha.0",
"description": "Common utilities and components for Me@Walmat mini apps",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/me-at-walmart-container/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.
+## [6.25.1-alpha.0](https://gecgithub01.walmart.com/allspark/allspark-core/compare/v6.24.1-alpha.0...v6.25.1-alpha.0) (2024-09-19)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-container
+
+
+
+
+
## [6.24.1-alpha.0](https://gecgithub01.walmart.com/allspark/allspark-core/compare/v6.26.0-alpha.1...v6.24.1-alpha.0) (2024-09-19)
**Note:** Version bump only for package @walmart/me-at-walmart-container
--- packages/me-at-walmart-container/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-container",
- "version": "6.25.0",
+ "version": "6.25.1-alpha.0",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
|
9c05859565da265373d1aaacef4026663ba07325 | --- packages/me-at-walmart-athena-queries/src/getForYouHeaderAssociateDetails.graphql
@@ -1,4 +1,4 @@
-query GetForYouHeaderAssociateDetails(
+query getForYouHeaderAssociateDetails(
$userId: String!,
$idType: idType = USERID,
$startDate: String!,
--- packages/me-at-walmart-athena-queries/src/getForYouHeaderAssociateDetails.ts
@@ -66,7 +66,7 @@ export type GetForYouHeaderAssociateDetailsQuery = {
};
export const GetForYouHeaderAssociateDetailsDocument = gql`
- query GetForYouHeaderAssociateDetails(
+ query getForYouHeaderAssociateDetails(
$userId: String!
$idType: idType = USERID
$startDate: String!
--- packages/me-at-walmart-athena-queries/src/schema.graphql
@@ -7733,7 +7733,7 @@ type Query {
getAssociateById(id: String!, idType: idType = WIN): Associate
getAssociateByIds(associateIds: [String!]!): [WorkdayAssociate]!
getAssociateByWinAndSSN(id: String!, ssn: String!): ProfileDetails
- GetForYouHeaderAssociateDetails(id: String!, idType: idType = USERID, startDate: String!, endDate: String!, businessUnitNumber: Int!, country: String!): Associate
+ getForYouHeaderAssociateDetails(id: String!, idType: idType = USERID, startDate: String!, endDate: String!, businessUnitNumber: Int!, country: String!): Associate
getAssociateFilters(associateFilterInput: GetAssociateFiltersInput): GetAssociateFiltersResponse!
getAssociateProfilePic(associateId: String!, size: ProfilePictureSize): ProfilePicture
getAssociateTimeOffRequests(input: TimeOffRequestListInput): [TimeOffRequestDetail]
--- packages/me-at-walmart-athena-queries/src/schema.types.ts
@@ -7014,7 +7014,7 @@ export type Query = {
getAssociateById?: Maybe<Associate>;
getAssociateByIds: Array<Maybe<WorkdayAssociate>>;
getAssociateByWinAndSSN?: Maybe<ProfileDetails>;
- GetForYouHeaderAssociateDetails?: Maybe<Associate>;
+ getForYouHeaderAssociateDetails?: Maybe<Associate>;
getAssociateFilters: GetAssociateFiltersResponse;
getAssociateProfilePic?: Maybe<ProfilePicture>;
getAssociateTimeOffRequests?: Maybe<Array<Maybe<TimeOffRequestDetail>>>;
@@ -7204,8 +7204,8 @@ export type QueryGetForYouHeaderAssociateDetailsArgs = {
idType?: InputMaybe<IdType>;
startDate: Scalars['Date']['input'];
endDate: Scalars['Date']['input'];
- businessUnitNumber: InputMaybe<Scalars['Int']['input']>;
- country: InputMaybe<Scalars['String']['input']>;
+ businessUnitNumber: Scalars['Int']['input'];
+ country: Scalars['String']['input'];
};
export type QueryGetAssociateByWinAndSsnArgs = {
| fix(graphql): query name | fix(graphql): query name
|
d57be8bf5c2d4a3669f84713138170902e4af9a4 | --- package-lock.json
@@ -3184,9 +3184,9 @@
}
},
"@walmart/push-to-talk-mini-app": {
- "version": "0.5.12",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.12.tgz",
- "integrity": "sha512-kz11mbjaOHc7gidjVGQBNczLCafVr4GP83+UvcoNkRtkr+VYW0ZyTXkh9fUI1nqa9oFW5m74fiEr7Imf2HyO6Q=="
+ "version": "0.5.21",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.21.tgz",
+ "integrity": "sha512-byTE/rzy8h4p7zIFRwvjJ6C/emtj2VdKA9Rt5MucyvDINTxOpQ9vpBTdOX/8oNalSE7E2Ns1ttKJi5gBqiFByQ=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
--- package.json
@@ -77,7 +77,7 @@
"@walmart/ims-print-services-ui": "0.0.16",
"@walmart/inbox-mini-app": "0.0.94",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/push-to-talk-mini-app": "0.5.12",
+ "@walmart/push-to-talk-mini-app": "0.5.21",
"@walmart/react-native-env": "^0.1.0",
"@walmart/react-native-logger": "^1.26.0",
"@walmart/react-native-shared-navigation": "^0.4.0",
| PTT Version Bump for 2.5 fixes | PTT Version Bump for 2.5 fixes
|
08abeab0e3b41febc0abed413fe198f064249eb1 | --- packages/celebration-mini-app-graphql/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.16.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.15.0...@walmart/celebration-mini-app-graphql@1.16.0) (2025-11-10)
+
+### Features
+
+- **ui:** update fetch and error policy for all the queries ([2214f4a](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/2214f4acab332f90a5e3bba658cc91dc3a70453f))
+
# [1.15.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.14.1...@walmart/celebration-mini-app-graphql@1.15.0) (2025-11-08)
### Features
--- packages/celebration-mini-app-graphql/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app-graphql",
- "version": "1.15.0",
+ "version": "1.16.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/celebration-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.24.1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.24.0...@walmart/celebration-mini-app@1.24.1) (2025-11-10)
+
+**Note:** Version bump only for package @walmart/celebration-mini-app
+
# [1.24.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.23.1...@walmart/celebration-mini-app@1.24.0) (2025-11-08)
### Features
--- packages/celebration-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app",
- "version": "1.24.0",
+ "version": "1.24.1",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/celebration-mini-app@1.24.1
- @walmart/celebration-mini-app-graphql@1.16.0
|
3c6fbcd551389324e21306f35fae3a55743e95ea | --- __tests__/setup.ts
@@ -33,7 +33,6 @@ jest.mock('react-native-reanimated', () => {
jest.mock('@react-native-community/netinfo', () => mockRNCNetInfo);
-jest.mock('react-native/Libraries/Animated/NativeAnimatedHelper');
jest.mock('@walmart/me-at-walmart-common', () => ({
ImpersonationFormContainer: {
| removing deprecated libraries from setup.ts | removing deprecated libraries from setup.ts
|
3a381e7253f160337e80e48dadf0bd8b977a52b7 | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 8
+ versionCode 9
versionName "1.0.1"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>$(CURRENT_PROJECT_VERSION)</string>
+ <string>9</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>invmgmt</string>
@@ -42,7 +42,7 @@
<string>awbs</string>
</array>
<key>LSRequiresIPhoneOS</key>
- <true/>
+ <true />
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
@@ -50,14 +50,14 @@
<key>i5.walmartimages.com</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
- <true/>
+ <true />
<key>NSIncludesSubdomains</key>
- <true/>
+ <true />
</dict>
<key>localhost</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
- <true/>
+ <true />
</dict>
</dict>
</dict>
@@ -112,6 +112,6 @@
<key>UIUserInterfaceStyle</key>
<string>Light</string>
<key>UIViewControllerBasedStatusBarAppearance</key>
- <false/>
+ <false />
</dict>
</plist>
--- ios/AllSparkTests/Info.plist
@@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>7</string>
+ <string>9</string>
</dict>
</plist>
--- package-lock.json
@@ -3189,9 +3189,9 @@
"integrity": "sha512-SsYeWcxxTEepE6j5VXuLED8z5GrloWsUXcF9+G8vq3pZz12x8zCsADRdCT/nXVGhWvgbN8IxJ0f3J1AoihtqDA=="
},
"@walmart/time-clock-mini-app": {
- "version": "0.1.27",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-0.1.27.tgz",
- "integrity": "sha512-Z7pmDXi2zLB2/gbG2sMcHc48kXlajGO8lmFZHMZpHAiSpW4WnnRjhPNM+swN23VpzCwHH7B6/JBqq7uP2tNYWg==",
+ "version": "0.1.29",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-0.1.29.tgz",
+ "integrity": "sha512-x9LjsOIWb0jlOJVX65i/TgEbZg4ea/l8C7/jnuuqQFB603JsJFMycL6Y0yfj5ZR7no/t8q9rWVr2lgXo47412g==",
"requires": {
"@react-native-community/datetimepicker": "^3.0.3",
"javascript-time-ago": "^2.3.4",
--- package.json
@@ -63,7 +63,7 @@
"@walmart/redux-store": "^1.0.12",
"@walmart/schedule-mini-app": "0.2.56",
"@walmart/settings-mini-app": "1.1.14",
- "@walmart/time-clock-mini-app": "0.1.27",
+ "@walmart/time-clock-mini-app": "0.1.29",
"@walmart/ui-components": "1.0.94",
"@walmart/welcomeme-mini-app": "0.5.27",
"i18next": "^19.7.0",
| Fixed clocking rules timezone bug (#333) | Fixed clocking rules timezone bug (#333)
* Fixed clocking rules timezone bug
* Bump time clock mini app
* bump build number
Co-authored-by: Anthony Helms - awhelms <awhelms@wal-mart.com> |
19e6c5738e91e258399af2caa74537f2baf58126 | --- package-lock.json
@@ -50,7 +50,7 @@
"@walmart/avp-feature-app": "0.1.5",
"@walmart/avp-shared-library": "0.1.6",
"@walmart/calling-mini-app": "0.1.13",
- "@walmart/checkout-mini-app": "3.9.305",
+ "@walmart/checkout-mini-app": "3.9.306",
"@walmart/compass-sdk-rn": "5.18.19",
"@walmart/config-components": "4.2.17",
"@walmart/copilot-mini-app": "3.50.6",
@@ -11077,9 +11077,9 @@
}
},
"node_modules/@walmart/checkout-mini-app": {
- "version": "3.9.305",
- "resolved": "https://npme.walmart.com/@walmart/checkout-mini-app/-/checkout-mini-app-3.9.305.tgz",
- "integrity": "sha512-pTcRdGQgHjZbwe7q9Sc60rrepy6n3SEgYbLH8BcQzcas2xPpzOqg8+RE2WueX4+vffgYjZP+oNUELXgBJ3hnBw==",
+ "version": "3.9.306",
+ "resolved": "https://npme.walmart.com/@walmart/checkout-mini-app/-/checkout-mini-app-3.9.306.tgz",
+ "integrity": "sha512-pDaUDNK7eI9KOnzmLn492AZsMlVh+sZUyLR4oRH/agLBAMu6NZJrrntvyYMWabRDbXTcc1QLEaDoVUbDd0Gbvg==",
"dependencies": {
"@stomp/stompjs": "^7.0.0",
"cpc-input": "^1.7.28",
--- package.json
@@ -91,7 +91,7 @@
"@walmart/avp-feature-app": "0.1.5",
"@walmart/avp-shared-library": "0.1.6",
"@walmart/calling-mini-app": "0.1.13",
- "@walmart/checkout-mini-app": "3.9.305",
+ "@walmart/checkout-mini-app": "3.9.306",
"@walmart/compass-sdk-rn": "5.18.19",
"@walmart/config-components": "4.2.17",
"@walmart/copilot-mini-app": "3.50.6",
| Updated CO version to 306, logger and sng fix | Updated CO version to 306, logger and sng fix
|
19328e8fcaabafe6fe1418fce910a18cea4c2807 | --- __tests__/settings/dataSaver/sagasTest.ts
@@ -54,6 +54,9 @@ describe('syncDataSaverSetting', () => {
expect(iterator.next('true').value).toEqual(
put(SettingsActionCreators.DATA_SAVER_CHANGE(true)),
);
+ expect(iterator.next('true').value).toEqual(
+ put(SettingsActionCreators.SHOW_CONNECTIVITY_WARNING(true)),
+ );
expect(iterator.next().done).toEqual(true);
});
@@ -69,6 +72,9 @@ describe('syncDataSaverSetting', () => {
expect(iterator.next('false').value).toEqual(
put(SettingsActionCreators.DATA_SAVER_CHANGE(false)),
);
+ expect(iterator.next('false').value).toEqual(
+ put(SettingsActionCreators.SHOW_CONNECTIVITY_WARNING(false)),
+ );
expect(iterator.next().done).toEqual(true);
});
--- src/settings/dataSaver/sagas.ts
@@ -36,6 +36,9 @@ export function* syncDataSaverSetting() {
createDataSaverKey(user),
);
yield put(SettingsActionCreators.DATA_SAVER_CHANGE(value === 'true'));
+ yield put(
+ SettingsActionCreators.SHOW_CONNECTIVITY_WARNING(value === 'true'),
+ );
} catch (error) {
const logger: LoggerInstance = yield call(getDeferredLoggerContext);
yield call(logger.error, 'Error reading setting from local storage', {
| Dispatch banner data on startup. | Dispatch banner data on startup.
|
875275d4f87784c7c1b690fce242f05d166f997c | --- packages/allspark-foundation/src/Environment/types.ts
@@ -3,7 +3,13 @@ import { PartialBy, RecursivePartial } from '@walmart/allspark-utils';
/**
* Possible environment types.
*/
-export type EnvironmentType = 'dev' | 'prod' | 'teflon' | 'local' | 'beta';
+export type EnvironmentType =
+ | 'dev'
+ | 'prod'
+ | 'teflon'
+ | 'local'
+ | 'beta'
+ | ({} & string);
/**
* Base environment for Allspark.
| fix: custom environment types were not allowed in the environment client but was required by other containers | fix: custom environment types were not allowed in the environment client but was required by other containers
|
fa7e6530b05a5ea0175c8a0af1d523559277734a | --- src/screens/MessagesScreen.tsx
@@ -14,7 +14,7 @@ import {Body, colors} from '@walmart/gtp-shared-components';
import {MessagesHeader, MessageTimeSectionHeader} from '../components';
import {FirebaseMessage, LocalMessage, MessageRequest} from '../types';
import {TextingNavParamsMap} from '../navigation';
-import {createMessageList, decryptUserId, encryptUserId} from '../utils';
+import {createMessageList, decryptUserId} from '../utils';
import {ChatInput} from '../containers/ChatInput';
import {Message} from '../containers/Message';
import {useChannelData, useChannelDocument} from '../channels/hooks';
@@ -244,7 +244,11 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => {
};
const recipients = channelData?.participants
- .filter((recipient) => recipient !== viewerId)
+ .filter((recipient) => {
+ const recipientNotSelf = recipient !== viewerId;
+ const recipientIsOnline = onlineIds.includes(recipient);
+ return recipientNotSelf && recipientIsOnline;
+ })
.map((encyptedUser) => {
const decryptedWIN = decryptUserId(encyptedUser);
return (
@@ -252,11 +256,7 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => {
win: parseInt(decryptedWIN, 10),
})?.userId || ''
);
- })
- .filter((recipient) => {
- return onlineIds.includes(encryptUserId(recipient));
});
-
const getMessageType = () => {
if (message?.audio?.uri) {
return messageTypes.AUDIO;
--- src/screens/MessagesScreen.tsx
@@ -14,7 +14,7 @@ import {Body, colors} from '@walmart/gtp-shared-components';
import {MessagesHeader, MessageTimeSectionHeader} from '../components';
import {FirebaseMessage, LocalMessage, MessageRequest} from '../types';
import {TextingNavParamsMap} from '../navigation';
-import {createMessageList, decryptUserId, encryptUserId} from '../utils';
+import {createMessageList, decryptUserId} from '../utils';
import {ChatInput} from '../containers/ChatInput';
import {Message} from '../containers/Message';
import {useChannelData, useChannelDocument} from '../channels/hooks';
@@ -244,7 +244,11 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => {
};
const recipients = channelData?.participants
- .filter((recipient) => recipient !== viewerId)
+ .filter((recipient) => {
+ const recipientNotSelf = recipient !== viewerId;
+ const recipientIsOnline = onlineIds.includes(recipient);
+ return recipientNotSelf && recipientIsOnline;
+ })
.map((encyptedUser) => {
const decryptedWIN = decryptUserId(encyptedUser);
return (
@@ -252,11 +256,7 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => {
win: parseInt(decryptedWIN, 10),
})?.userId || ''
);
- })
- .filter((recipient) => {
- return onlineIds.includes(encryptUserId(recipient));
});
-
const getMessageType = () => {
if (message?.audio?.uri) {
return messageTypes.AUDIO;
| fixing online userId filter logic | fixing online userId filter logic
|
cf87747bdf5186fdff4ba9de8c72412216fbeeb6 | --- __tests__/__mocks__/react-native-linear-gradient.js
@@ -1,4 +0,0 @@
-module.exports = {
- __esModule: true,
- default: 'LinearGradient',
-};
--- package.json
@@ -206,7 +206,6 @@
"react-native-image-picker": "4.10.0",
"react-native-image-resizer": "1.4.5",
"react-native-inappbrowser-reborn": "^3.7.0",
- "react-native-linear-gradient": "2.6.2",
"react-native-location-enabler": "^4.1.1",
"react-native-loudness": "patch:react-native-loudness@npm%3A2.0.0#~/.yarn/patches/react-native-loudness-npm-2.0.0-79e221dbd2.patch",
"react-native-maps": "~1.3.2",
@@ -453,7 +452,6 @@
"react-native-image-picker": "4.10.0",
"react-native-image-resizer": "1.4.5",
"react-native-inappbrowser-reborn": "^3.7.0",
- "react-native-linear-gradient": "2.6.2",
"react-native-loudness": "patch:react-native-loudness@npm%3A2.0.0#~/.yarn/patches/react-native-loudness-npm-2.0.0-79e221dbd2.patch",
"react-native-maps": "~1.3.2",
"react-native-modal": "^13.0.1",
--- yarn.lock
@@ -7832,7 +7832,6 @@ __metadata:
react-native-image-picker: "npm:4.10.0"
react-native-image-resizer: "npm:1.4.5"
react-native-inappbrowser-reborn: "npm:^3.7.0"
- react-native-linear-gradient: "npm:2.6.2"
react-native-location-enabler: "npm:^4.1.1"
react-native-loudness: "patch:react-native-loudness@npm%3A2.0.0#~/.yarn/patches/react-native-loudness-npm-2.0.0-79e221dbd2.patch"
react-native-maps: "npm:~1.3.2"
@@ -18080,16 +18079,6 @@ __metadata:
languageName: node
linkType: hard
-"react-native-linear-gradient@npm:2.6.2":
- version: 2.6.2
- resolution: "react-native-linear-gradient@npm:2.6.2"
- peerDependencies:
- react: "*"
- react-native: "*"
- checksum: 10c0/0157b286f85a9b2e5e4495d75d47d73164966ed30e82a1bf26ada859c8a50223c1e4f85e00490a9552d17e73370ac6317bb0ffaf63a9ce20e92a99c7734fd590
- languageName: node
- linkType: hard
-
"react-native-location-enabler@npm:^4.1.1":
version: 4.1.1
resolution: "react-native-location-enabler@npm:4.1.1"
| remove react-native-linear-gradient | remove react-native-linear-gradient
|
9f6048f5116a7f8ad4e407d583da47cca451ce55 | --- package-lock.json
@@ -3398,9 +3398,9 @@
"integrity": "sha512-XIe9NBjtk/zGaLjqebff1Rlg00DaorQvmmzcCZ52ADC7keuhy9AoZahOw83qR3w1B+d9aImaciBoov0FrwOtwQ=="
},
"@walmart/iteminfo-mini-app": {
- "version": "2.0.7",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-2.0.7.tgz",
- "integrity": "sha512-6iRSAkzC1xK8UGq+kkoiDKLP5nUdbaiRw4zWgwtIpzxZtFPSxcUTq4BRcwCmB4JVPniTYamkZpvJBr55zFmIYw==",
+ "version": "2.0.9",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-2.0.9.tgz",
+ "integrity": "sha512-yNCoqCfwUJTn+EifCnb1dWidyya4BdmZtgPu8jVN/jXQdhiTjnK4zx1Hx9tGfKSwIYBmgl0Nf+ePqaZh959mjA==",
"requires": {
"react-native-chart-kit": "6.6.1"
}
--- package.json
@@ -84,7 +84,7 @@
"@walmart/impersonation-mini-app": "1.0.18",
"@walmart/ims-print-services-ui": "0.0.36",
"@walmart/inbox-mini-app": "0.8.0",
- "@walmart/iteminfo-mini-app": "2.0.7",
+ "@walmart/iteminfo-mini-app": "2.0.9",
"@walmart/manager-approvals-miniapp": "0.0.49",
"@walmart/metrics-mini-app": "0.4.11",
"@walmart/moment-walmart": "1.0.4",
| itemInfo-2-0-9 | itemInfo-2-0-9
|
ade6fcc2df9b51d94523ccb1051d899cf905cc02 | --- __tests__/hooks/useCanImpersonateTest.ts
@@ -24,7 +24,7 @@ describe('useCanImpersonate', () => {
},
};
- mockUseSelector.mockImplementation((selector: (state: any) => any) => {
+ mockUseSelector.mockImplementation((selector: (s: any) => any) => {
return selector(state);
});
@@ -45,7 +45,7 @@ describe('useCanImpersonate', () => {
},
};
- mockUseSelector.mockImplementation((selector: (state: any) => any) => {
+ mockUseSelector.mockImplementation((selector: (s: any) => any) => {
return selector(state);
});
@@ -71,7 +71,7 @@ describe('useCanImpersonate', () => {
},
};
- mockUseSelector.mockImplementation((selector: (state: any) => any) => {
+ mockUseSelector.mockImplementation((selector: (s: any) => any) => {
return selector(state);
});
--- package.json
@@ -33,7 +33,7 @@
"iosConfig:prod": "sh scripts/updateiOSProjectConfig.sh Prod",
"iosConfig:teflon": "sh scripts/updateiOSProjectConfig.sh Teflon",
"jetifier": "jetifier",
- "lint": "eslint ./src ./__tests__ --ext .js,.jsx,.ts,.tsx --max-warnings 0",
+ "lint": "eslint ./src ./__tests__ --ext .js,.jsx,.ts,.tsx --max-warnings 3",
"lint:fix": "eslint ./src ./__tests__ --ext .js,.jsx,.ts,.tsx --fix",
"postinstall": "patch-package && npm run fixDependencies && npm run stubFirestore && npx sort-npm-scripts",
"postversion": "react-native-version -A",
| chore: lint fixes | chore: lint fixes
|
c00f20efa4542dec279868bb3d935aa7b6bcb664 | --- docs/CHANGELOG.md
@@ -1,3 +1,11 @@
+# [1.7.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.6.0...v1.7.0) (2024-07-08)
+
+
+### Features
+
+* **ui:** update version SMDV-5955 ([f5ab13c](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/f5ab13c8a68c568897cce2316902419e7b69e37c))
+* **ui:** update version SMDV-5955 ([978e802](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/978e802c73057e376c4c2fb8b6dcf7dd37bc012e))
+
# [1.6.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.5.0...v1.6.0) (2024-06-26)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.6.0",
+ "version": "1.7.0",
"main": "dist/index.js",
"files": [
"dist"
| chore(release): 1.7.0 [skip ci] | chore(release): 1.7.0 [skip ci]
# [1.7.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.6.0...v1.7.0) (2024-07-08)
### Features
* **ui:** update version SMDV-5955 ([f5ab13c](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/f5ab13c8a68c568897cce2316902419e7b69e37c))
* **ui:** update version SMDV-5955 ([978e802](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/978e802c73057e376c4c2fb8b6dcf7dd37bc012e))
|
9d198df5515aa89476b0fa643bdb93585f7a75f6 | --- __tests__/screens/SearchScreen/SearchScreenTest.tsx
@@ -34,6 +34,7 @@ describe('SearchScreen', () => {
);
searchScreen.getByTestId('flashlist');
searchScreen.getByTestId('associateListItem');
+ expect(searchScreen.toJSON()).toMatchSnapshot();
});
it('should show expected results when searching for an associate name', () => {
| update test | update test
|
ec52d34abfaa15f61ca2934ade4a6f8a58144067 | --- package-lock.json
@@ -92,7 +92,7 @@
"@walmart/schedule-mini-app": "0.93.0",
"@walmart/shelfavailability-mini-app": "1.5.20",
"@walmart/store-feature-orders": "1.26.3",
- "@walmart/taskit-mini-app": "2.62.3",
+ "@walmart/taskit-mini-app": "2.64.2",
"@walmart/time-clock-mini-app": "2.338.1",
"@walmart/topstock-mini-app": "1.7.1",
"@walmart/ui-components": "1.15.9",
@@ -9843,9 +9843,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "2.62.3",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.62.3.tgz",
- "integrity": "sha512-cWl6Ac6NE3awa4rbGsarPU5kBlGS+ax84wTciGaV1w28HvfbjEHHNCIOzwswHBNw6FB+9Le489P4iTIE7MMugg==",
+ "version": "2.64.2",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.64.2.tgz",
+ "integrity": "sha512-lyWXqUpPQvleA3KNoBzHd6394zLSNeZm0BImGnudanYFijbg7ZuPYlzIfhqBOtKI2DEjdLwB2D3YF90wz2y/hw==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
@@ -33530,9 +33530,9 @@
"integrity": "sha512-jnAsIoL/X/qtXPA1WHdziTjadPajgfzpdmoScMfTFoi3CTjpcnJ/4JCIPbWAawLNbHMDGBXE6J7Xj9wt/eqcww=="
},
"@walmart/taskit-mini-app": {
- "version": "2.62.3",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.62.3.tgz",
- "integrity": "sha512-cWl6Ac6NE3awa4rbGsarPU5kBlGS+ax84wTciGaV1w28HvfbjEHHNCIOzwswHBNw6FB+9Le489P4iTIE7MMugg=="
+ "version": "2.64.2",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.64.2.tgz",
+ "integrity": "sha512-lyWXqUpPQvleA3KNoBzHd6394zLSNeZm0BImGnudanYFijbg7ZuPYlzIfhqBOtKI2DEjdLwB2D3YF90wz2y/hw=="
},
"@walmart/tcnumber": {
"version": "2.3.3",
--- package.json
@@ -133,7 +133,7 @@
"@walmart/schedule-mini-app": "0.93.0",
"@walmart/shelfavailability-mini-app": "1.5.20",
"@walmart/store-feature-orders": "1.26.3",
- "@walmart/taskit-mini-app": "2.62.3",
+ "@walmart/taskit-mini-app": "2.64.2",
"@walmart/time-clock-mini-app": "2.338.1",
"@walmart/topstock-mini-app": "1.7.1",
"@walmart/ui-components": "1.15.9",
| Updated taskit version | Updated taskit version
|
32e8b43da5c7405e121c20c258625ad33f9c75bd | --- src/navigation/AssociateHallwayNav/MainStackNav.tsx
@@ -127,9 +127,6 @@ export const MainStackNav = () => {
useAssociateStartup();
const width = useWindowDimensions().width;
- const height = useWindowDimensions().height;
-
- const screenWidth = width < height ? width : height;
return (
<>
@@ -218,7 +215,7 @@ export const MainStackNav = () => {
headerShown: false,
...TransitionPresets.ModalSlideFromBottomIOS,
cardStyle: {
- paddingTop: screenWidth / 2,
+ paddingTop: width / 2,
backgroundColor: 'rgba(0, 0, 0, 0.3)',
},
}}
--- src/navigation/AssociateHallwayNav/Tabs/MyTeamStackNav.tsx
@@ -21,9 +21,7 @@ const MyTeamStack = createStackNavigator();
export const MyTeamStackNav = () => {
const width = useWindowDimensions().width;
- const height = useWindowDimensions().height;
- const screenWidth = width < height ? width : height;
const [t] = useTranslation('common');
return (
<MyTeamStack.Navigator
@@ -49,7 +47,7 @@ export const MyTeamStackNav = () => {
headerShown: false,
...TransitionPresets.ModalSlideFromBottomIOS,
cardStyle: {
- paddingTop: screenWidth / 2,
+ paddingTop: width / 2,
backgroundColor: 'rgba(0, 0, 0, 0.3)',
},
}}
| Use just width | Use just width
|
ecb21b26d2d7dc8103a2e48fd1ac4de0d698054d | --- package.json
@@ -90,7 +90,7 @@
"@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.12.0",
"@walmart/ui-components": "1.15.1",
"@walmart/wmconnect-mini-app": "3.8.0",
"babel-jest": "^29.6.3",
--- yarn.lock
@@ -7606,7 +7606,7 @@ __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.12.0"
"@walmart/ui-components": "npm:1.15.1"
"@walmart/wmconnect-mini-app": "npm:3.8.0"
babel-jest: "npm:^29.6.3"
@@ -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.12.0":
+ version: 3.12.0
+ resolution: "@walmart/roster-mini-app@npm:3.12.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.12.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/559365a1823d5517eb3cac421493523e2a2f5d963ae8ae53ac46caa143aab03952685bbdf761058e9133759e4fb8304441e1d1da5c6b8e96ab2102916484a9cb
languageName: node
linkType: hard
| feat(ui): update hub versions | feat(ui): update hub versions
|
a0864016d5ddf6467a20f8392f42697a4632c1e3 | --- __tests__/components/AssociateRosterItemTest.tsx
@@ -6,7 +6,7 @@ import {generateMockAssociate} from '../harness/mockData/associate';
describe('AssociateRosterItem', () => {
it('should not display message button if item is for the current user', () => {
//Current user is default user in mock redux store
- const mockAssociate = generateMockAssociate({win: 225253267});
+ const mockAssociate = generateMockAssociate({win: 999991234});
const component = renderWithProviders(
<AssociateRosterItem
associate={mockAssociate}
--- __tests__/components/AssociateRosterItemTest.tsx
@@ -6,7 +6,7 @@ import {generateMockAssociate} from '../harness/mockData/associate';
describe('AssociateRosterItem', () => {
it('should not display message button if item is for the current user', () => {
//Current user is default user in mock redux store
- const mockAssociate = generateMockAssociate({win: 225253267});
+ const mockAssociate = generateMockAssociate({win: 999991234});
const component = renderWithProviders(
<AssociateRosterItem
associate={mockAssociate}
| fix broken test case | fix broken test case
|
2054ba6ba7b84bc2111f78a9622e952ce4b2eb08 | --- core/__tests__/__mocks__/@walmart/exception-mini-app.js
@@ -1,3 +1,6 @@
module.exports = {
- ExceptionMiniApp: 'ExceptionMiniApp',
+ __esModule: true,
+ default: {
+ buildAllScreens: () => 'ExceptionMiniApp',
+ },
};
--- core/__tests__/navigation/USHallway/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap
@@ -20,15 +20,6 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
}
}
/>
- <Screen
- component={[Function]}
- name="Pinpoint"
- options={
- {
- "headerShown": false,
- }
- }
- />
<Screen
component={[Function]}
name="Topstock"
@@ -577,6 +568,7 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
PaymentSelectionScreen
PaystubScreen
AuthScreen
+ ExceptionMiniApp
</Navigator>
`;
@@ -600,15 +592,6 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
}
}
/>
- <Screen
- component={[Function]}
- name="Pinpoint"
- options={
- {
- "headerShown": false,
- }
- }
- />
<Screen
component={[Function]}
name="Topstock"
@@ -1157,5 +1140,6 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects
PaymentSelectionScreen
PaystubScreen
AuthScreen
+ ExceptionMiniApp
</Navigator>
`;
--- core/src/manifest.ts
@@ -84,6 +84,7 @@ export const getAssociateFeatures = (): AllsparkFeatureModule[] => {
require('@walmart/payrollsolution_miniapp').default,
require('@walmart/pay-stub-miniapp').default,
require('@walmart/money-auth-shared-components').default,
+ require('@walmart/exception-mini-app').default,
);
}
--- core/src/navigation/USHallway/AssociateHallwayNav/MainStackNav.tsx
@@ -13,7 +13,7 @@ import {AvailableSurveysNav} from '@walmart/associate-listening-mini-app';
import {AVPNav, AVP_NAV_SCREEN_NAME} from '@walmart/avp-feature-app';
import BackroomMiniApp from '@walmart/backroom-mini-app';
import {EmergencyBannerScreen} from '@walmart/emergency-mini-app';
-import {ExceptionMiniApp as PinpointMiniApp} from '@walmart/exception-mini-app';
+import ExceptionMiniApp from '@walmart/exception-mini-app';
import {FacilitiesMaintainanceStack} from '@walmart/facilities-management-miniapp';
import {
FeedbackMiniApp,
@@ -87,15 +87,6 @@ const MainStack = createStackNavigator<MainStackMap>();
// Add guards to mini app screen
const MiniAppScreens = createMiniAppScreens(MainStack, [
- {
- featureId: MINI_APPS.PIN_POINT,
- name: 'Pinpoint',
- component: PinpointMiniApp,
- options: {
- headerShown: false,
- },
- clockCheckEnabled: true,
- },
{
featureId: MINI_APPS.TOPSTOCK,
name: 'Topstock',
@@ -558,6 +549,10 @@ export const MainStackNav = () => {
{MoneyAuth.buildAllScreens({
Navigator: MainStack as any,
})}
+
+ {ExceptionMiniApp.buildAllScreens({
+ Navigator: MainStack as any,
+ })}
</MainStack.Navigator>
</>
);
--- targets/US/package.json
@@ -100,7 +100,7 @@
"@walmart/core-widget-registry": "workspace:^",
"@walmart/counts-component-miniapp": "0.1.14",
"@walmart/emergency-mini-app": "1.30.5",
- "@walmart/exception-mini-app": "1.8.11",
+ "@walmart/exception-mini-app": "1.8.13",
"@walmart/facilities-management-miniapp": "0.17.0",
"@walmart/feedback-all-spark-miniapp": "0.9.72",
"@walmart/financial-wellbeing-feature-app": "1.29.2",
--- yarn.lock
@@ -6745,28 +6745,33 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/exception-mini-app@npm:1.8.11":
- version: 1.8.11
- resolution: "@walmart/exception-mini-app@npm:1.8.11"
+"@walmart/exception-mini-app@npm:1.8.13":
+ version: 1.8.13
+ resolution: "@walmart/exception-mini-app@npm:1.8.13"
peerDependencies:
"@walmart/allspark-foundation": "*"
- "@walmart/core-services": ">=6.3.6"
- "@walmart/core-services-allspark": ">=6.4.0"
- "@walmart/functional-components": ">=2.0.6"
+ "@walmart/allspark-utils": ">=6.5.0"
+ "@walmart/functional-components": ">=4.0.3"
"@walmart/gtp-shared-components": ">=2.1.3"
"@walmart/ims-print-services-ui": ">=2.11.3"
- "@walmart/react-native-logger": ">=1.31.0-rc.0"
- "@walmart/redux-store": ">=3.4.0"
- "@walmart/ui-components": ">=1.6.0"
+ "@walmart/react-native-logger": ">=1.34.8"
+ "@walmart/react-native-scanner-3.0": ">=0.8.6"
+ "@walmart/ui-components": ">=1.17.1"
luxon: ">=1.28.0"
+ react: ">=18.2.0"
react-i18next: ">=12.0.0"
- react-native: ">=0.72.0"
+ react-native: "*"
react-native-device-info: ">=10.3.0"
+ react-native-gesture-handler: ">=2.14.0"
react-native-new-snap-carousel: ">=3.9.3"
- react-native-ssmp-sso-allspark: ">=1.1.0"
react-native-webview: ">=11.23.1"
+ react-redux: ">=8.0.4"
+ redux: ">=4.1.2"
+ reduxsauce: ">=1.2.0"
+ reselect: ">=4.1.0"
uuid: ">=3.3.2"
- checksum: 10c0/fa1c23b39aa89502727834e56085abcdad371e5c5acda910ffcc77ae3b2295060e05d6e2d02062b11ebd5fb3817a434fbcbb93b78a093a17a26fa57613922647
+ xdate: ">=0.8.2"
+ checksum: 10c0/51f79d213da89ae5e0eeb3d39bc6431b60b60619fc8f191b8bc734056a7b2aa1a844aa6cb06d133dd2c16eed44f5b2c0cadd0935ae372522cf1720de170553f0
languageName: node
linkType: hard
@@ -7435,7 +7440,7 @@ __metadata:
"@walmart/core-widget-registry": "workspace:^"
"@walmart/counts-component-miniapp": "npm:0.1.14"
"@walmart/emergency-mini-app": "npm:1.30.5"
- "@walmart/exception-mini-app": "npm:1.8.11"
+ "@walmart/exception-mini-app": "npm:1.8.13"
"@walmart/facilities-management-miniapp": "npm:0.17.0"
"@walmart/feedback-all-spark-miniapp": "npm:0.9.72"
"@walmart/financial-wellbeing-feature-app": "npm:1.29.2"
| Exception mni-app 1.8.13 | Exception mni-app 1.8.13
|
18bf4e342e25671440a60f0d0bff139984e767ac | --- packages/celebration-mini-app/CHANGELOG.md
@@ -3,6 +3,16 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.22.1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.22.0...@walmart/celebration-mini-app@1.22.1) (2025-11-08)
+
+### Bug Fixes
+
+- lint errors updates ([413cc6c](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/413cc6cafd5ce4462ea63ffc513a3e82c3e5e00a))
+- lint failure ([3ef58f7](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/3ef58f70e4fcfae1e0314617cb6e532c5e360d17))
+- lint fix ([789e9dc](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/789e9dc5fe05ec09d497e12cfe4fcda88159f8b5))
+- looper job failure ([68f16a7](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/68f16a7ac950b49c11809a06a7b0875004c53b00))
+- missing line ([711fcb1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/711fcb15a9eb1e76a84f2d36946ad84cea3db9fa))
+
# [1.22.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.21.0...@walmart/celebration-mini-app@1.22.0) (2025-11-08)
### Bug Fixes
--- packages/celebration-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app",
- "version": "1.22.0",
+ "version": "1.22.1",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/celebration-mini-app@1.22.1
|
95da79459f1b8d20be820c26dbad40af44372916 | --- 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.17.0",
+ "@walmart/roster-mini-app": "2.21.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "2.12.3",
+ "@walmart/wmconnect-mini-app": "2.16.0",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
--- yarn.lock
@@ -6597,9 +6597,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.17.0"
+ "@walmart/roster-mini-app": "npm:2.21.0"
"@walmart/ui-components": "npm:1.15.1"
- "@walmart/wmconnect-mini-app": "npm:2.12.3"
+ "@walmart/wmconnect-mini-app": "npm:2.16.0"
babel-jest: "npm:^29.2.1"
chance: "npm:^1.1.11"
eslint: "npm:8.22.0"
@@ -6781,9 +6781,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:2.17.0":
- version: 2.17.0
- resolution: "@walmart/roster-mini-app@npm:2.17.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.17.0.tgz"
+"@walmart/roster-mini-app@npm:2.21.0":
+ version: 2.21.0
+ resolution: "@walmart/roster-mini-app@npm:2.21.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.21.0.tgz"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6825,7 +6825,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/3f35a6fe1fdbdbcd64834eeefae8a741d0162834f7d39346dc2e0483b9add23c04d17a822d06e99a7e519ca626606a83fd3a161f584b00c9c819b51dd75c7e22
+ checksum: 10c0/ab2ca78134754ba4d8d09f49e751835ab0aed93a8231bf3597d24d15a8652dedc98ab56d7cda3bfe5500e5aea7329d2856eead72a32878f4257cfae04df2ad1d
languageName: node
linkType: hard
@@ -6849,9 +6849,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:2.12.3":
- version: 2.12.3
- resolution: "@walmart/wmconnect-mini-app@npm:2.12.3::__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.12.3.tgz"
+"@walmart/wmconnect-mini-app@npm:2.16.0":
+ version: 2.16.0
+ resolution: "@walmart/wmconnect-mini-app@npm:2.16.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2Fwmconnect-mini-app-2.16.0.tgz"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6891,7 +6891,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/1b502d03c3a694c92ccd3ad94d5ab60cab0186cf862b0dfbe9bcf7a38d99e7b03e0505c828571490dbd966cbbd02f7bf955d73a651359f0cc842984ae2e86f0e
+ checksum: 10c0/83cc6b52ede043873f51166919468fa9c011b0ef69c4f20555aead856a44323e6588d85dcfa2704c9a7c4eda4c993885513bfd6da282467ee9b286c467e09167
languageName: node
linkType: hard
| feat(ui): update roster and wmconnect mini app version | feat(ui): update roster and wmconnect mini app version
|
36978275e1105667502f6dbb9516443e7032d478 | --- package-lock.json
@@ -5537,9 +5537,9 @@
}
},
"@walmart/settings-mini-app": {
- "version": "1.8.0",
- "resolved": "https://npme.walmart.com/@walmart/settings-mini-app/-/settings-mini-app-1.8.0.tgz",
- "integrity": "sha512-oLRBAU+H58nrZuOa4nMD6XP6Vio2jn1+w589K/WoLSy1+5ppnatYoVb3e3i6kfQ81S0FjgSt5G3Lfj9YseD+hw=="
+ "version": "1.8.0-beta.1",
+ "resolved": "https://npme.walmart.com/@walmart/settings-mini-app/-/settings-mini-app-1.8.0-beta.1.tgz",
+ "integrity": "sha512-mL1NuQGjVXs/HBliF5R/epxTo3+lnuJ+fSZYxv2zKVjt3WE901m0xwqFyoT1b0PKGyUDDO4OCMCVFqL1K2W7fA=="
},
"@walmart/shelfavailability-mini-app": {
"version": "1.2.3",
--- package.json
@@ -115,7 +115,7 @@
"@walmart/redux-store": "2.0.4",
"@walmart/refrigeration-alarms-mini-app": "1.35.0",
"@walmart/schedule-mini-app": "0.24.0",
- "@walmart/settings-mini-app": "1.8.0",
+ "@walmart/settings-mini-app": "1.8.0-beta.1",
"@walmart/shelfavailability-mini-app": "1.2.3",
"@walmart/taskit-mini-app": "0.34.5",
"@walmart/time-clock-mini-app": "0.13.1",
| settings connection type print | settings connection type print
|
3d11fd3c3ce1839bb2d2878833c0a9e0100efc9e | --- __tests__/screens/MessagesScreen/OneToOneChatTest.tsx
@@ -203,18 +203,35 @@ describe('1-1 chat', () => {
// // //TODO: Resolve dispatch reference in closure issue in order to continue this test. Next step is to verify message send
// // });
// // it('should remove image attachment from chat input after it was added', () => {});
- it('should receive a text message', async () => {
- const messagesScreen = renderWithProviders(
+ it('should attach firestore listener for message changes', async () => {
+ renderWithProviders(
<MessagesScreen navigation={navigation} route={mockRoute} />,
);
await finishPendingRequests();
expect(mockOnSnapShot).toHaveBeenNthCalledWith(1, expect.any(Function), expect.any(Function));
});
- // // it('should receive an image message', () => {});
- // // it('should scroll messages', () => {}); // How?
- // // // it('should check ListEmptyComponent', () => {
- // // // });
+ it('should see messages loaded onto the screen', () => {
+ //TODO
+ });
+
+ it('should display an image message as expected', () => {
+ //TODO
+ });
+
+ it('should display a photo message as expected', () => {
+ //TODO
+ });
- // // it('should reach to end', async () => {});
+ it('should display an audio message as expected', () => {
+ //TODO
+ });
+
+ it('should show segmented timestamps', () => {
+ //TODO
+ });
+
+ it('scrolling screen loads more messages once scroll end is reached', () => {
+ //TODO
+ });
});
--- __tests__/screens/MessagesScreen/OneToOneChatTest.tsx
@@ -203,18 +203,35 @@ describe('1-1 chat', () => {
// // //TODO: Resolve dispatch reference in closure issue in order to continue this test. Next step is to verify message send
// // });
// // it('should remove image attachment from chat input after it was added', () => {});
- it('should receive a text message', async () => {
- const messagesScreen = renderWithProviders(
+ it('should attach firestore listener for message changes', async () => {
+ renderWithProviders(
<MessagesScreen navigation={navigation} route={mockRoute} />,
);
await finishPendingRequests();
expect(mockOnSnapShot).toHaveBeenNthCalledWith(1, expect.any(Function), expect.any(Function));
});
- // // it('should receive an image message', () => {});
- // // it('should scroll messages', () => {}); // How?
- // // // it('should check ListEmptyComponent', () => {
- // // // });
+ it('should see messages loaded onto the screen', () => {
+ //TODO
+ });
+
+ it('should display an image message as expected', () => {
+ //TODO
+ });
+
+ it('should display a photo message as expected', () => {
+ //TODO
+ });
- // // it('should reach to end', async () => {});
+ it('should display an audio message as expected', () => {
+ //TODO
+ });
+
+ it('should show segmented timestamps', () => {
+ //TODO
+ });
+
+ it('scrolling screen loads more messages once scroll end is reached', () => {
+ //TODO
+ });
});
| todo for unit tests | todo for unit tests
|
31862bb5dda462f45b8c0973d7e9777b39ec9ca2 | --- package-lock.json
@@ -64,7 +64,7 @@
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-field-mini-app": "14.0.2",
"@walmart/metrics-mini-app": "0.15.14",
- "@walmart/mod-flex-mini-app": "1.13.3",
+ "@walmart/mod-flex-mini-app": "1.13.6",
"@walmart/moment-walmart": "1.0.4",
"@walmart/onewalmart-miniapp": "1.0.16",
"@walmart/pay-stub-miniapp": "0.10.15",
@@ -9214,9 +9214,9 @@
"license": "MIT"
},
"node_modules/@walmart/mod-flex-mini-app": {
- "version": "1.13.3",
- "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.13.3.tgz",
- "integrity": "sha512-pYMru9But//d0RFo25TmBVFTgU4lxZljD5h0Lac6A1nY2U5KQnm1wH1HCCK4Me79l3i2s7d1N7SIokvhP1FOJA==",
+ "version": "1.13.6",
+ "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.13.6.tgz",
+ "integrity": "sha512-9NnvbXebvPD5xxCbAW0DI2skwGxKgqn1g1e/tDv+wRLhl+TNQDCg+era9Fs1hYxLcPnctWtZdNKSp6B0cdQODQ==",
"hasInstallScript": true,
"peerDependencies": {
"@react-native-async-storage/async-storage": "^1.19.0",
@@ -9230,8 +9230,8 @@
"@walmart/gtp-shared-components": "^2.1.3",
"@walmart/ims-print-services-ui": "^2.7.1",
"@walmart/react-native-env": "^0.2.0",
- "@walmart/react-native-logger": "^1.31.0-rc.0",
- "@walmart/react-native-scanner-3.0": "^0.1.30-rc.1",
+ "@walmart/react-native-logger": "^1.34.8",
+ "@walmart/react-native-scanner-3.0": "^0.4.2",
"@walmart/react-native-shared-navigation": "^1.0.2",
"@walmart/react-native-sumo-sdk": "^2.5.0",
"@walmart/redux-store": "^3.1.3",
@@ -9245,12 +9245,12 @@
"react-native-app-auth": "^6.4.3",
"react-native-blob-util": "^0.16.3",
"react-native-device-info": "^10.3.0",
- "react-native-gesture-handler": "^2.8.0",
+ "react-native-gesture-handler": "^2.9.0",
"react-native-get-random-values": "^1.5.1",
"react-native-haptic-feedback": "^1.14.0",
"react-native-image-pan-zoom": "^2.1.12",
"react-native-pdf": "^6.6.2",
- "react-native-reanimated": "^1.10.2",
+ "react-native-reanimated": "^3.5.1",
"react-native-safe-area-context": "^3.1.3",
"react-native-screens": "^2.10.1",
"react-native-sound-player": "^0.10.9",
@@ -33382,9 +33382,9 @@
}
},
"@walmart/mod-flex-mini-app": {
- "version": "1.13.3",
- "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.13.3.tgz",
- "integrity": "sha512-pYMru9But//d0RFo25TmBVFTgU4lxZljD5h0Lac6A1nY2U5KQnm1wH1HCCK4Me79l3i2s7d1N7SIokvhP1FOJA=="
+ "version": "1.13.6",
+ "resolved": "https://npme.walmart.com/@walmart/mod-flex-mini-app/-/mod-flex-mini-app-1.13.6.tgz",
+ "integrity": "sha512-9NnvbXebvPD5xxCbAW0DI2skwGxKgqn1g1e/tDv+wRLhl+TNQDCg+era9Fs1hYxLcPnctWtZdNKSp6B0cdQODQ=="
},
"@walmart/moment-walmart": {
"version": "1.0.4"
--- package.json
@@ -105,7 +105,7 @@
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-field-mini-app": "14.0.2",
"@walmart/metrics-mini-app": "0.15.14",
- "@walmart/mod-flex-mini-app": "1.13.3",
+ "@walmart/mod-flex-mini-app": "1.13.6",
"@walmart/moment-walmart": "1.0.4",
"@walmart/onewalmart-miniapp": "1.0.16",
"@walmart/pay-stub-miniapp": "0.10.15",
| bump modflex to 1.13.6 | bump modflex to 1.13.6
|
cf890d90cfa56dfaf3abe9bdeab7adbce2bc3839 | --- .looper.multibranch.yml
@@ -127,7 +127,7 @@ envs:
buildTeflon: true
teamsReleaseTypeIcon: 'https://ih1.redbubble.net/image.1355946808.4705/flat,128x128,075,t.u1.jpg'
teamsWebhookUrl: 'https://walmart.webhook.office.com/webhookb2/f0470775-130f-4a42-9531-d0511cf632aa@3cbcc3d3-094d-4006-9849-0d11d61f484d/IncomingWebhook/36aedf59babe497b8b4edd5920d0dd9f/f02e8323-deff-42c4-85df-613f84ca35ff'
- APPCENTER_DISTRIBUTION_GROUP_URL_SEGMENT: 'allsparktestersfeature'
+ APPCENTER_DISTRIBUTION_GROUP_URL_SEGMENT: 'allsparktestersfeaturedrop8'
develop:
variables:
| Update .looper.multibranch.yml | Update .looper.multibranch.yml |
1381d954e27898e98850cba4ebaec46d8b35e977 | --- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.1.0",
+ "version": "1.1.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/myteam-mini-app",
- "version": "1.1.0",
+ "version": "1.1.1",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.20.0",
@@ -66,9 +66,9 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "3.7.0",
- "@walmart/roster-mini-app": "1.1.0",
+ "@walmart/roster-mini-app": "1.1.1",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.1.0",
+ "@walmart/wmconnect-mini-app": "1.1.1",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
@@ -11817,9 +11817,9 @@
}
},
"node_modules/@walmart/roster-mini-app": {
- "version": "1.1.0",
- "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.1.0.tgz",
- "integrity": "sha512-Bj6ZGQS8ifHsDX4hrLybstUImmOEodlAZA//8QmD5rN/TTW+SW6npjvrRxeiuyijeOdCnATaHcbVeuE4Tu2JbQ==",
+ "version": "1.1.1",
+ "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.1.1.tgz",
+ "integrity": "sha512-Ft39Q68yIm3yezbg7S+bzkTsJLOoiI1mA9H+sYax2XQcmPhYGxHCZo4EKcFPChnPrEer2j7x1ZfaC/Fzg3T5kA==",
"dev": true,
"hasInstallScript": true
},
@@ -11846,9 +11846,9 @@
}
},
"node_modules/@walmart/wmconnect-mini-app": {
- "version": "1.1.0",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.1.0.tgz",
- "integrity": "sha512-i/IGIF4tp/zoe6z0+orMRiRI10Lre6GsQqBuS9Jl+GojaaAE3VFn2yWRUl3k2ZZFfesZEnz5GBpgjc+KnmCRng==",
+ "version": "1.1.1",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.1.1.tgz",
+ "integrity": "sha512-r7Gkf2L57LcmDea/T9bQ2oWNsKnUFGQQzXT5MytFhf8eI47UmHtG9IfPODIMICz0ld+VvXLGiFLPNsaQ7JvA4Q==",
"dev": true,
"hasInstallScript": true
},
@@ -40901,9 +40901,9 @@
}
},
"@walmart/roster-mini-app": {
- "version": "1.1.0",
- "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.1.0.tgz",
- "integrity": "sha512-Bj6ZGQS8ifHsDX4hrLybstUImmOEodlAZA//8QmD5rN/TTW+SW6npjvrRxeiuyijeOdCnATaHcbVeuE4Tu2JbQ==",
+ "version": "1.1.1",
+ "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.1.1.tgz",
+ "integrity": "sha512-Ft39Q68yIm3yezbg7S+bzkTsJLOoiI1mA9H+sYax2XQcmPhYGxHCZo4EKcFPChnPrEer2j7x1ZfaC/Fzg3T5kA==",
"dev": true
},
"@walmart/ui-components": {
@@ -40918,9 +40918,9 @@
}
},
"@walmart/wmconnect-mini-app": {
- "version": "1.1.0",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.1.0.tgz",
- "integrity": "sha512-i/IGIF4tp/zoe6z0+orMRiRI10Lre6GsQqBuS9Jl+GojaaAE3VFn2yWRUl3k2ZZFfesZEnz5GBpgjc+KnmCRng==",
+ "version": "1.1.1",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.1.1.tgz",
+ "integrity": "sha512-r7Gkf2L57LcmDea/T9bQ2oWNsKnUFGQQzXT5MytFhf8eI47UmHtG9IfPODIMICz0ld+VvXLGiFLPNsaQ7JvA4Q==",
"dev": true
},
"@whatwg-node/events": {
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.1.0",
+ "version": "1.1.1",
"private": false,
"main": "dist/index.js",
"files": [
@@ -89,8 +89,8 @@
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "3.7.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.1.0",
- "@walmart/roster-mini-app": "1.1.0",
+ "@walmart/wmconnect-mini-app": "1.1.1",
+ "@walmart/roster-mini-app": "1.1.1",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
--- src/index.tsx
@@ -46,7 +46,9 @@ export const TextingMiniApp = () => {
<LoggerCloneProvider fields={LOGGER_FIELDS}>
<HttpClientCloneProvider id={HTTP_CLIENT_KEY} config={httpConfig}>
<ClockedOutScreenGuard>
+ <PresenceProvider>
<TextingNavigation />
+ </PresenceProvider>
</ClockedOutScreenGuard>
</HttpClientCloneProvider>
</LoggerCloneProvider>
| Update version | Update version
|
5c0b449b7d408e42e60cc24cd4e3e598909c47e7 | --- package-lock.json
@@ -3064,9 +3064,9 @@
"integrity": "sha512-PR7oEfCeQt6Uo7HqkBJA9vybGk86CXGuUx/9G/Y4IObSn8WxA1U2PyEu0piYALUstK0E6NA7joBVCujAhS8MWA=="
},
"@walmart/functional-components": {
- "version": "1.0.23",
- "resolved": "https://npme.walmart.com/@walmart/functional-components/-/functional-components-1.0.23.tgz",
- "integrity": "sha512-D+8Qz3V4pjGWuGXEvtbplnSWgsszbiQ2qQwneC2uiu8nlv++Zv6N7B8tJDld5NhDhn0tvPLNlJwL0Vk7XdX0Hw==",
+ "version": "1.0.24",
+ "resolved": "https://npme.walmart.com/@walmart/functional-components/-/functional-components-1.0.24.tgz",
+ "integrity": "sha512-pIlxCv4Eyo1i6ecLEyRsVRDeMJ7iYyydW0QVhtcyP24r5tKN5i4Taz2rh6OMvlqdk+nmQq+eI1ncScLi+xqyGA==",
"requires": {
"axios": "^0.19.2"
}
--- package.json
@@ -53,7 +53,7 @@
"@walmart/ask-sam-mini-app": "0.10.22",
"@walmart/config-components": "1.0.12",
"@walmart/feedback-all-spark-miniapp": "0.0.37",
- "@walmart/functional-components": "1.0.23",
+ "@walmart/functional-components": "1.0.24",
"@walmart/gtp-shared-components": "^0.2.2",
"@walmart/impersonation-mini-app": "1.0.12",
"@walmart/inbox-mini-app": "0.0.53",
| updated functional component version to fix feedback create api failure (#358) | updated functional component version to fix feedback create api failure (#358)
|
547b2438b1b716d4448e6b4656d9d15b1221e4e7 | --- .yarn/patches/react-native-geolocation-service-npm-5.3.1-4a62ced778.patch
@@ -0,0 +1,13 @@
+diff --git a/android/build.gradle b/android/build.gradle
+index cf167cf0bfff194d657ab114ee54363288f10235..47fd5ae52c86e12d5a81e1dc77c58e8c05d1c375 100644
+--- a/android/build.gradle
++++ b/android/build.gradle
+@@ -4,7 +4,7 @@ def DEFAULT_COMPILE_SDK_VERSION = 29
+ def DEFAULT_BUILD_TOOLS_VERSION = "29.0.2"
+ def DEFAULT_MIN_SDK_VERSION = 16
+ def DEFAULT_TARGET_SDK_VERSION = 29
+-def DEFAULT_GOOGLE_PLAY_SERVICES_VERSION = "18.0.0"
++def DEFAULT_GOOGLE_PLAY_SERVICES_VERSION = "21.0.1"
+
+ def safeExtGet(prop, fallback) {
+ rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
--- targets/US/package.json
@@ -197,7 +197,7 @@
"react-native-error-boundary": "^1.1.6",
"react-native-flipper": "0.212.0",
"react-native-fs": "^2.18.0",
- "react-native-geolocation-service": "^5.3.1",
+ "react-native-geolocation-service": "patch:react-native-geolocation-service@npm%3A5.3.1#~/.yarn/patches/react-native-geolocation-service-npm-5.3.1-4a62ced778.patch",
"react-native-gesture-handler": "^2.14.0",
"react-native-get-random-values": "~1.10.0",
"react-native-haptic-feedback": "^1.14.0",
| add patch | add patch
|
d78513cfe6cc9617e68f46cd4fc59b5af1f7b085 | --- README.md
@@ -1,6 +1,6 @@
# Allspark
-Allspark is a framework used to build container and mini apps in React Native. Allspark is a collection of libraries that work together to provide a seamless integration between mini app modules and their container apps.
+Allspark is the framework Me@Walmart uses to build container and feature apps in React Native. This mono repo manages the libraries used by the framework and maintains backwards compatability with the previous solutions.
## Packages
@@ -18,7 +18,7 @@ Allspark is a framework used to build container and mini apps in React Native. A
**Authentication** library wrapping react-native-app-auth. Used by Me@Walmart.
-### Deprecated (Integrated into Foundation)
+### Deprecated
These packages are obsolete once an app has transitioned to the Allspark framework packages. They have been marked deprecated and have been updated to point to their counterparts in the Allspark framework packages.
| docs: update root readme | docs: update root readme
|
e4e676f28b2f38be22ca6ebb681677c0eb1d3ce5 | --- src/home/translations.ts
@@ -170,6 +170,7 @@ export const esMX = {
taskStockingOvernight: 'Equipo de Almacenamiento Nocturno',
taskVision: 'Equipo de Visión',
taskVisionCenter: 'Equipo del Centro de Visión',
+ taskFashion: 'Equipo de Ropa',
},
teamTaskTitle: 'My equipo',
teamTaskTitle_site: 'My sitio',
--- src/images/assets/index.ts
@@ -36,6 +36,7 @@ const Images: {[key: string]: ImageURISource} = {
RefrigerationBadge: require('./refrigeration-alarm-badge.png'),
StoreLocationPin: require('./store-location-pin.png'),
taskApparel: require('./tasks/task-image-apparel.png'),
+ taskFashion: require('./tasks/task-image-apparel.png'),
taskAssetProtection: require('./tasks/task-image-assetprotection.png'),
taskAutoCareCenter: require('./tasks/task-image-autocare.png'),
taskDeliBakery: require('./tasks/task-image-delibakery.png'),
@@ -211,6 +212,10 @@ export const i5Images: {[key: string]: i5ImageType} = {
uri: 'https://i5-me.walmartimages.com/images/teams/task-image-apparel-8c318b96d1.png',
placeholderImageHash: 'KuQlzhtn~pb{nNV?.7axD*',
},
+ taskFashion: {
+ uri: 'https://i5-me.walmartimages.com/images/teams/task-image-apparel-8c318b96d1.png',
+ placeholderImageHash: 'KuQlzhtn~pb{nNV?.7axD*',
+ },
taskAssetProtection: {
uri: 'https://i5-me.walmartimages.com/images/teams/task-image-assetprotection-667834ffc0.png',
placeholderImageHash: 'KhSYmiyE*0s*WYWE%$ROIT',
| feat(ui): ALLSPARK-5609 map apparel to fashion (#3989) | feat(ui): ALLSPARK-5609 map apparel to fashion (#3989)
Co-authored-by: Maksym Novakh <maksym.novakh@walmart.com>
Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com> |
8c715e8c9082eb3cc1674a0dddd0e840b1e56799 | --- package-lock.json
@@ -3219,9 +3219,9 @@
}
},
"@walmart/ui-components": {
- "version": "1.1.13",
- "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.1.13.tgz",
- "integrity": "sha512-N6Q5Y2AbE0chcImMMcjKtTY7FprKBZ9OIQKF8R2t92bA/FrOLTRFF31Sknppn/g+QHQuWQ1J8ZcHI4ntKiZLQA==",
+ "version": "1.1.14",
+ "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.1.14.tgz",
+ "integrity": "sha512-KqHt3rsZG6gZ4vO46itMdynDh8O9g2JjcJwLcAl/vGNbg12eWsu24/VUY0NC6doo9UlWbs0yFVGHwe+tj5btbA==",
"requires": {
"react-native-calendars": "1.299.0"
}
--- package.json
@@ -81,7 +81,7 @@
"@walmart/schedule-mini-app": "0.2.74",
"@walmart/settings-mini-app": "1.2.3",
"@walmart/time-clock-mini-app": "0.2.5",
- "@walmart/ui-components": "1.1.13",
+ "@walmart/ui-components": "1.1.14",
"@walmart/welcomeme-mini-app": "0.5.27",
"@walmart/wfm-ui": "^0.1.50",
"axios-cache-adapter": "2.7.3",
| confirm cta pin vqa fix | confirm cta pin vqa fix
|
ddc6b6a4511224f6a07a96b77b3cbe1d311cc7ea | --- packages/core-services-allspark/src/utils.ts
@@ -41,5 +41,11 @@ export const transformLegacyEnv = (
rmaMegaNavId: env.rmaMegaNavId,
// @ts-ignore
productId: env.productId,
+ // @ts-ignore
+ productIdAssociate: env.productIdAssociate,
+ // @ts-ignore
+ productIdCandidate: env.productIdCandidate,
+ // @ts-ignore
+ productIdSupplyChain: env.productIdSupplyChain,
};
};
| chore: fix missing fields in legacy env transform | chore: fix missing fields in legacy env transform
|
e6d35b6ddb15aa55ffb605cbe60b46ab5697fdd6 | --- src/startup/StartupSaga.ts
@@ -132,7 +132,7 @@ export function* loginFlow(): any {
SIGN_IN_ERROR,
]);
- if (signInAction.type === SIGN_IN_ERROR) {
+ if (signInAction.type !== SIGN_IN_ERROR) {
yield fork(handleSignIn);
const pinPromptTask = yield spawn(pinPromptFlow);
| undo not equal to | undo not equal to
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.